Home
last modified time | relevance | path

Searched refs:barCenter (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java241 int barCenter; in onLayout() local
243 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()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleStashController.java377 float barCenter = mBarViewController.getBubbleBarCollapsedHeight() / 2f; in getDiffBetweenHandleAndBarCenters() local
378 return mHandleCenterFromScreenBottom - barCenter; in getDiffBetweenHandleAndBarCenters()