Home
last modified time | relevance | path

Searched refs:menuView (Results 1 – 13 of 13) 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/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java85 MenuAnimationController(MenuView menuView, MenuViewAppearance menuViewAppearance) { in MenuAnimationController() argument
86 mMenuView = menuView; in MenuAnimationController()
93 (animation) -> menuView.setAlpha((float) animation.getAnimatedValue())); in MenuAnimationController()
266 FlingAnimation createFlingAnimation(MenuView menuView,
268 return new FlingAnimation(menuView, menuPositionProperty);
525 public float getValue(MenuView menuView) {
526 return mProperty.getValue(menuView);
530 public void setValue(MenuView menuView, float value) {
531 mProperty.setValue(menuView, value);
DMenuListViewTouchHandler.java58 final View menuView = (View) recyclerView.getParent(); in onInterceptTouchEvent() local
69 mMenuTranslationDown.set(menuView.getTranslationX(), menuView.getTranslationY()); in onInterceptTouchEvent()
DDragToInteractAnimationController.java63 DragToInteractAnimationController(DragToInteractView interactView, MenuView menuView) { in DragToInteractAnimationController() argument
68 mMenuView = menuView; in DragToInteractAnimationController()
79 DragToInteractAnimationController(DismissView dismissView, MenuView menuView) { in DragToInteractAnimationController() argument
84 mMenuView = menuView; in DragToInteractAnimationController()
DMenuViewLayer.java220 MenuViewAppearance menuViewAppearance, MenuView menuView, in MenuViewLayer() argument
235 mMenuView = menuView; in MenuViewLayer()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java256 final ActionMenuView menuView = (ActionMenuView) mMenuView; in bindItemView() local
258 actionItemView.setItemInvoker(menuView); in bindItemView()
280 final ViewGroup menuView = (ViewGroup) mMenuView; in computeMenuItemAnimationInfo() local
281 final int count = menuView.getChildCount(); in computeMenuItemAnimationInfo()
284 View child = menuView.getChildAt(i); in computeMenuItemAnimationInfo()
479 ActionMenuView menuView = (ActionMenuView) mMenuView; in updateMenuView() local
480 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()); in updateMenuView()
803 public void setMenuView(ActionMenuView menuView) { in setMenuView() argument
804 if (menuView != mMenuView) { in setMenuView()
808 mMenuView = menuView; in setMenuView()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java453 View menuView = item.getMenuView(); in setAppName() local
454 if (menuView != null) { in setAppName()
455 menuView.setContentDescription(description); in setAppName()
708 View menuView = item.getMenuView(); in addMenuView() local
709 if (menuView != null) { in addMenuView()
710 menuView.setAlpha(mAlpha); in addMenuView()
711 parent.addView(menuView); in addMenuView()
712 menuView.setOnClickListener(this); in addMenuView()
713 FrameLayout.LayoutParams lp = (LayoutParams) menuView.getLayoutParams(); in addMenuView()
716 menuView.setLayoutParams(lp); in addMenuView()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationControllerTest.java274 TestMenuAnimationController(MenuView menuView, MenuViewAppearance menuViewAppearance) { in TestMenuAnimationController() argument
275 super(menuView, menuViewAppearance); in TestMenuAnimationController()
279 FlingAnimation createFlingAnimation(MenuView menuView, in createFlingAnimation() argument
281 return spy(super.createFlingAnimation(menuView, menuPositionProperty)); in createFlingAnimation()
DMenuViewLayerTest.java210 final View menuView = mMenuViewLayer.getChildAt(LayerIndex.MENU_VIEW); in onAttachedToWindow_menuIsVisible() local
211 assertThat(menuView.getVisibility()).isEqualTo(VISIBLE); in onAttachedToWindow_menuIsVisible()
218 final View menuView = mMenuViewLayer.getChildAt(LayerIndex.MENU_VIEW); in onDetachedFromWindow_menuIsGone() local
219 assertThat(menuView.getVisibility()).isEqualTo(GONE); in onDetachedFromWindow_menuIsGone()
/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DHandleMenuTest.kt103 val menuView = LayoutInflater.from(context).inflate( in setUp() constant
108 whenever(mockAdditionalViewHostViewContainer.view).thenReturn(menuView) in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DMaximizeMenu.kt152 ).also { menuView -> in createMaximizeMenu() method
153 menuView.bind(taskInfo) in createMaximizeMenu()
154 viewHost.setView(menuView.rootView, lp) in createMaximizeMenu()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1557 MenuView menuView = st.isInListMode() in initializePanelContent() local
1561 st.shownPanelView = (View) menuView; in initializePanelContent()
1565 final int defaultAnimations = menuView.getWindowAnimations(); in initializePanelContent()