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

/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java322 * @param menuWidth The width of this menu to assume for positioning
325 private void positionChildren(int menuWidth, int menuHeight) { argument
355 itemWidth = (menuWidth - mVerticalDividerWidth * (numItemsForRow[row] - 1))
390 childLayoutParams.right = menuWidth;
397 mHorizontalDividerRects.add(new Rect(0, (int) itemTop, menuWidth,
/frameworks/base/core/java/android/widget/
H A DToolbar.java1277 int menuWidth = 0;
1281 menuWidth = mMenuView.getMeasuredWidth() + getHorizontalMargins(mMenuView);
1288 width += Math.max(contentInsetEnd, menuWidth);
1289 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DToolbar.java1291 int menuWidth = 0;
1295 menuWidth = mMenuView.getMeasuredWidth() + getHorizontalMargins(mMenuView);
1303 width += Math.max(contentInsetEnd, menuWidth);
1304 collapsingMargins[marginEndIndex] = Math.max(0, contentInsetEnd - menuWidth);

Completed in 558 milliseconds