Home
last modified time | relevance | path

Searched refs:menuView (Results 1 – 8 of 8) 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.java254 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local
256 actionItemView.setItemInvoker(menuView); in bindItemView()
278 final ViewGroup menuView = (ViewGroup) mMenuView; in computeMenuItemAnimationInfo() local
279 final int count = menuView.getChildCount(); in computeMenuItemAnimationInfo()
282 View child = menuView.getChildAt(i); in computeMenuItemAnimationInfo()
477 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local
478 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()
797 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument
798 if (menuView != mMenuView) { in setMenuView()
802 mMenuView = menuView; in setMenuView()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java212 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local
214 actionItemView.setItemInvoker(menuView); in bindItemView()
266 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local
267 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()
598 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument
599 mMenuView = menuView; in setMenuView()
600 menuView.initialize(mMenu); in setMenuView()
804 final View menuView = (View) mMenuView; in run() local
805 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java411 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);
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationPresenter.java43 public void setBottomNavigationMenuView(BottomNavigationMenuView menuView) { in setBottomNavigationMenuView() argument
44 mMenuView = menuView; in setBottomNavigationMenuView()
/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/
DAppCompatDelegateImplV9.java1312 MenuView menuView = st.getListMenuView(mPanelMenuPresenterCallback);
1314 st.shownPanelView = (View) menuView;
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1423 MenuView menuView = st.isInListMode() in initializePanelContent() local
1427 st.shownPanelView = (View) menuView; in initializePanelContent()
1431 final int defaultAnimations = menuView.getWindowAnimations(); in initializePanelContent()