Home
last modified time | relevance | path

Searched refs:menuView (Results 1 – 5 of 5) 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.java255 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local
257 actionItemView.setItemInvoker(menuView); in bindItemView()
279 final ViewGroup menuView = (ViewGroup) mMenuView; in computeMenuItemAnimationInfo() local
280 final int count = menuView.getChildCount(); in computeMenuItemAnimationInfo()
283 View child = menuView.getChildAt(i); in computeMenuItemAnimationInfo()
478 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local
479 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()
802 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument
803 if (menuView != mMenuView) { in setMenuView()
807 mMenuView = menuView; in setMenuView()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java448 View menuView = item.getMenuView(); in setAppName() local
449 if (menuView != null) { in setAppName()
450 menuView.setContentDescription(description); in setAppName()
694 View menuView = item.getMenuView(); in addMenuView() local
695 if (menuView != null) { in addMenuView()
696 menuView.setAlpha(mAlpha); in addMenuView()
697 parent.addView(menuView); in addMenuView()
698 menuView.setOnClickListener(this); in addMenuView()
699 FrameLayout.LayoutParams lp = (LayoutParams) menuView.getLayoutParams(); in addMenuView()
702 menuView.setLayoutParams(lp); in addMenuView()
[all …]
/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/base/core/java/com/android/internal/policy/
DPhoneWindow.java1444 MenuView menuView = st.isInListMode() in initializePanelContent() local
1448 st.shownPanelView = (View) menuView; in initializePanelContent()
1452 final int defaultAnimations = menuView.getWindowAnimations(); in initializePanelContent()