Searched refs:mMenuView (Results 1 – 9 of 9) sorted by relevance
114 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); in setSplitToolbar()115 mMenuView.setBackground(null); in setSplitToolbar()116 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar()117 if (oldParent != null) oldParent.removeView(mMenuView); in setSplitToolbar()118 addView(mMenuView, layoutParams); in setSplitToolbar()128 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); in setSplitToolbar()129 mMenuView.setBackground(mSplitBackground); in setSplitToolbar()130 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar()131 if (oldParent != null) oldParent.removeView(mMenuView); in setSplitToolbar()132 mSplitView.addView(mMenuView, layoutParams); in setSplitToolbar()[all …]
49 protected ActionMenuView mMenuView; field in AbsActionBarView203 if (mSplitView != null && mMenuView != null) { in setupAnimatorToVisibility()204 mMenuView.setAlpha(0); in setupAnimatorToVisibility()210 if (mSplitView != null && mMenuView != null) { in setupAnimatorToVisibility()212 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 1); in setupAnimatorToVisibility()225 if (mSplitView != null && mMenuView != null) { in setupAnimatorToVisibility()227 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 0); in setupAnimatorToVisibility()356 if (mSplitView != null && mMenuView != null) { in onAnimationEnd()357 mMenuView.setVisibility(mFinalVisibility); in onAnimationEnd()
302 if (mMenuView != null) { in setSplitToolbar()303 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar()305 oldParent.removeView(mMenuView); in setSplitToolbar()309 mSplitView.addView(mMenuView); in setSplitToolbar()311 mMenuView.getLayoutParams().width = LayoutParams.MATCH_PARENT; in setSplitToolbar()313 addView(mMenuView); in setSplitToolbar()314 mMenuView.getLayoutParams().width = LayoutParams.WRAP_CONTENT; in setSplitToolbar()316 mMenuView.requestLayout(); in setSplitToolbar()382 if (mMenuView != null) { in setMenu()383 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setMenu()[all …]
45 ExpandedMenuView mMenuView; field in ListMenuPresenter99 if (mMenuView == null) { in getMenuView()100 mMenuView = (ExpandedMenuView) mInflater.inflate( in getMenuView()105 mMenuView.setAdapter(mAdapter); in getMenuView()106 mMenuView.setOnItemClickListener(this); in getMenuView()108 return mMenuView; in getMenuView()160 if (mMenuView != null) { in setItemIndexOffset()185 if (mMenuView != null) { in saveHierarchyState()186 ((View) mMenuView).saveHierarchyState(viewStates); in saveHierarchyState()194 ((View) mMenuView).restoreHierarchyState(viewStates); in restoreHierarchyState()[all …]
44 protected MenuView mMenuView; field in BaseMenuPresenter71 if (mMenuView == null) { in getMenuView()72 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false); in getMenuView()73 mMenuView.initialize(mMenu); in getMenuView()77 return mMenuView; in getMenuView()84 final ViewGroup parent = (ViewGroup) mMenuView; in updateMenuView()131 ((ViewGroup) mMenuView).addView(itemView, childIndex); in addItemView()
82 final IconMenuView parent = (IconMenuView) mMenuView;106 final IconMenuView menuView = (IconMenuView) mMenuView;134 return ((IconMenuView) mMenuView).getNumActualItemsShown();139 if (mMenuView != null) {140 ((View) mMenuView).saveHierarchyState(viewStates);148 ((View) mMenuView).restoreHierarchyState(viewStates);161 if (mMenuView == null) {
106 ((View) mMenuView).getViewTreeObserver().removeOnPreDrawListener(this);119 ((View) mMenuView).getViewTreeObserver().removeOnPreDrawListener(223 MenuView oldMenuView = mMenuView; in getMenuView()255 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView()279 final ViewGroup menuView = (ViewGroup) mMenuView; in computeMenuItemAnimationInfo()368 ((ViewGroup) mMenuView).getOverlay().add(menuItemLayoutInfoPre.view); in runItemAnimations()382 ((ViewGroup) mMenuView).getOverlay().remove(menuItemLayoutInfoPre.view); in runItemAnimations()431 ((View) mMenuView).getViewTreeObserver(). in setupItemAnimations()437 final ViewGroup menuViewParent = (ViewGroup) ((View) mMenuView).getParent(); in updateMenuView()443 ((View) mMenuView).requestLayout(); in updateMenuView()[all …]
138 private ActionMenuView mMenuView; field in Toolbar529 return getVisibility() == VISIBLE && mMenuView != null && mMenuView.isOverflowReserved(); in canShowOverflowMenu()539 return mMenuView != null && mMenuView.isOverflowMenuShowing(); in isOverflowMenuShowing()544 return mMenuView != null && mMenuView.isOverflowMenuShowPending(); in isOverflowMenuShowPending()553 return mMenuView != null && mMenuView.showOverflowMenu(); in showOverflowMenu()562 return mMenuView != null && mMenuView.hideOverflowMenu(); in hideOverflowMenu()567 if (menu == null && mMenuView == null) { in setMenu()572 final MenuBuilder oldMenu = mMenuView.peekMenu(); in setMenu()596 mMenuView.setPopupTheme(mPopupTheme); in setMenu()597 mMenuView.setPresenter(outerPresenter); in setMenu()[all …]
776 View mMenuView; field in NotificationMenuRow.NotificationMenuItem796 mMenuView = iv; in NotificationMenuItem()805 return mMenuView; in getMenuView()