Searched refs:menuWidth (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 325 private void positionChildren(int menuWidth, int menuHeight) { in positionChildren() argument 355 itemWidth = (menuWidth - mVerticalDividerWidth * (numItemsForRow[row] - 1)) in positionChildren() 390 childLayoutParams.right = menuWidth; in positionChildren() 397 mHorizontalDividerRects.add(new Rect(0, (int) itemTop, menuWidth, in positionChildren()
|
D | CascadingMenuPopup.java | 366 final int menuWidth = measureIndividualMenuWidth(adapter, null, mContext, mMenuMaxWidth); in showMenu() local 369 popupWindow.setContentWidth(menuWidth); in showMenu() 388 final @HorizPosition int nextMenuPosition = getNextMenuPosition(menuWidth); in showMenu() 399 x = menuWidth; in showMenu() 407 x = -menuWidth; in showMenu()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | CascadingMenuPopup.java | 382 final int menuWidth = measureIndividualMenuWidth(adapter, null, mContext, mMenuMaxWidth); in showMenu() local 385 popupWindow.setContentWidth(menuWidth); in showMenu() 403 final @HorizPosition int nextMenuPosition = getNextMenuPosition(menuWidth); in showMenu() 444 x = parentOffsetLeft + menuWidth; in showMenu() 452 x = parentOffsetLeft - menuWidth; in showMenu()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | Toolbar.java | 1612 int menuWidth = 0; in onMeasure() local 1616 menuWidth = mMenuView.getMeasuredWidth() + getHorizontalMargins(mMenuView); in onMeasure() 1624 width += Math.max(contentInsetEnd, menuWidth); in onMeasure() 1625 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | Toolbar.java | 1612 int menuWidth = 0; in onMeasure() local 1616 menuWidth = mMenuView.getMeasuredWidth() + getHorizontalMargins(mMenuView); in onMeasure() 1623 width += Math.max(contentInsetEnd, menuWidth); in onMeasure() 1624 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure()
|