Home
last modified time | relevance | path

Searched refs:menuWidth (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java367 final int menuWidth = measureIndividualMenuWidth(adapter, null, mContext, mMenuMaxWidth); in showMenu() local
370 popupWindow.setContentWidth(menuWidth); in showMenu()
389 final @HorizPosition int nextMenuPosition = getNextMenuPosition(menuWidth); in showMenu()
400 x = menuWidth; in showMenu()
408 x = -menuWidth; in showMenu()
DIconMenuView.java330 private void positionChildren(int menuWidth, int menuHeight) { in positionChildren() argument
360 itemWidth = (menuWidth - mVerticalDividerWidth * (numItemsForRow[row] - 1)) in positionChildren()
395 childLayoutParams.right = menuWidth; in positionChildren()
402 mHorizontalDividerRects.add(new Rect(0, (int) itemTop, menuWidth, in positionChildren()
/frameworks/base/core/java/android/widget/
DToolbar.java1734 int menuWidth = 0; in onMeasure() local
1738 menuWidth = mMenuView.getMeasuredWidth() + getHorizontalMargins(mMenuView); in onMeasure()
1745 width += Math.max(contentInsetEnd, menuWidth); in onMeasure()
1746 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth); in onMeasure()