Searched refs:barCenter (Results 1 – 2 of 2) sorted by relevance
241 int barCenter; in onLayout() local243 barCenter = (right - left) / 2; in onLayout()249 barCenter = workspaceCenter + cellLayoutCenterOffset - left; in onLayout()254 button.layout(barCenter - (button.getMeasuredWidth() / 2), 0, in onLayout()255 barCenter + (button.getMeasuredWidth() / 2), button.getMeasuredHeight()); in onLayout()262 leftButton.layout(barCenter - leftButton.getMeasuredWidth() - (buttonGap / 2), 0, in onLayout()263 barCenter - (buttonGap / 2), leftButton.getMeasuredHeight()); in onLayout()264 rightButton.layout(barCenter + (buttonGap / 2), 0, in onLayout()265 barCenter + (buttonGap / 2) + rightButton.getMeasuredWidth(), in onLayout()274 int leftButtonStart = barCenter - (scaledPanelWidth / 2) + extraSpace / 2; in onLayout()
377 float barCenter = mBarViewController.getBubbleBarCollapsedHeight() / 2f; in getDiffBetweenHandleAndBarCenters() local378 return mHandleCenterFromScreenBottom - barCenter; in getDiffBetweenHandleAndBarCenters()