Home
last modified time | relevance | path

Searched refs:menuView (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuPresenter.java106 final IconMenuView menuView = (IconMenuView) mMenuView;
107 if (mMaxItems < 0) mMaxItems = menuView.getMaxItems();
112 if (needsMore && (mMoreView == null || mMoreView.getParent() != menuView)) {
114 mMoreView = menuView.createMoreItemView();
115 mMoreView.setBackgroundDrawable(menuView.getItemBackgroundDrawable());
117 menuView.addView(mMoreView);
119 menuView.removeView(mMoreView);
122 menuView.setNumActualItemsShown(needsMore ? mMaxItems - 1 : itemsToShow.size());
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java253 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local
255 actionItemView.setItemInvoker(menuView); in bindItemView()
277 final ViewGroup menuView = (ViewGroup) mMenuView; in computeMenuItemAnimationInfo() local
278 final int count = menuView.getChildCount(); in computeMenuItemAnimationInfo()
281 View child = menuView.getChildAt(i); in computeMenuItemAnimationInfo()
476 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local
477 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()
796 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument
797 if (menuView != mMenuView) { in setMenuView()
801 mMenuView = menuView; in setMenuView()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java213 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local
215 actionItemView.setItemInvoker(menuView); in bindItemView()
271 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local
272 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()
601 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument
602 mMenuView = menuView; in setMenuView()
603 menuView.initialize(mMenu); in setMenuView()
799 final View menuView = (View) mMenuView; in run() local
800 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java395 ActionMenuView menuView; in setMenu() local
403 menuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); in setMenu()
404 final ViewGroup oldParent = (ViewGroup) menuView.getParent(); in setMenu()
406 oldParent.removeView(menuView); in setMenu()
408 addView(menuView, layoutParams); in setMenu()
420 menuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); in setMenu()
422 final ViewGroup oldParent = (ViewGroup) menuView.getParent(); in setMenu()
424 oldParent.removeView(menuView); in setMenu()
426 menuView.setVisibility(getAnimatedVisibility()); in setMenu()
427 mSplitView.addView(menuView, layoutParams); in setMenu()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV7.java1290 MenuView menuView = st.getListMenuView(mPanelMenuPresenterCallback); in initializePanelContent() local
1292 st.shownPanelView = (View) menuView; in initializePanelContent()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1405 MenuView menuView = st.isInListMode() in initializePanelContent() local
1409 st.shownPanelView = (View) menuView; in initializePanelContent()
1413 final int defaultAnimations = menuView.getWindowAnimations(); in initializePanelContent()