Searched refs:menuView (Results 1 – 8 of 8) sorted by relevance
106 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());
254 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local256 actionItemView.setItemInvoker(menuView); in bindItemView()278 final ViewGroup menuView = (ViewGroup) mMenuView; in computeMenuItemAnimationInfo() local279 final int count = menuView.getChildCount(); in computeMenuItemAnimationInfo()282 View child = menuView.getChildAt(i); in computeMenuItemAnimationInfo()477 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local478 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()797 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument798 if (menuView != mMenuView) { in setMenuView()802 mMenuView = menuView; in setMenuView()[all …]
212 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local214 actionItemView.setItemInvoker(menuView); in bindItemView()266 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local267 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()598 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument599 mMenuView = menuView; in setMenuView()600 menuView.initialize(mMenu); in setMenuView()804 final View menuView = (View) mMenuView; in run() local805 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
411 View menuView = item.getMenuView();412 if (menuView != null) {413 menuView.setContentDescription(description);607 View menuView = item.getMenuView();608 if (menuView != null) {609 parent.addView(menuView);610 menuView.setOnClickListener(this);611 FrameLayout.LayoutParams lp = (LayoutParams) menuView.getLayoutParams();614 menuView.setLayoutParams(lp);
43 public void setBottomNavigationMenuView(BottomNavigationMenuView menuView) { in setBottomNavigationMenuView() argument44 mMenuView = menuView; in setBottomNavigationMenuView()
395 ActionMenuView menuView; in setMenu() local403 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 …]
1312 MenuView menuView = st.getListMenuView(mPanelMenuPresenterCallback);1314 st.shownPanelView = (View) menuView;
1423 MenuView menuView = st.isInListMode() in initializePanelContent() local1427 st.shownPanelView = (View) menuView; in initializePanelContent()1431 final int defaultAnimations = menuView.getWindowAnimations(); in initializePanelContent()