Home
last modified time | relevance | path

Searched refs:mMenuViewAppearance (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuView.java68 private final MenuViewAppearance mMenuViewAppearance; field in MenuView
82 mMenuViewAppearance = menuViewAppearance; in MenuView()
114 mTargetFeaturesView.setOverScrollMode(mMenuViewAppearance.getMenuScrollMode()); in onConfigurationChanged()
154 mAdapter.setItemPadding(mMenuViewAppearance.getMenuPadding()); in onItemSizeChanged()
155 mAdapter.setIconWidthHeight(mMenuViewAppearance.getMenuIconSize()); in onItemSizeChanged()
161 mBoundsInParent.left + mMenuViewAppearance.getMenuWidth(), in onSizeChanged()
162 mBoundsInParent.top + mMenuViewAppearance.getMenuHeight()); in onSizeChanged()
165 layoutParams.height = mMenuViewAppearance.getMenuHeight(); in onSizeChanged()
170 final Rect draggableBounds = mMenuViewAppearance.getMenuDraggableBounds(); in onEdgeChangedIfNeeded()
180 final int[] insets = mMenuViewAppearance.getMenuInsets(); in onEdgeChanged()
[all …]
DMenuEduTooltipView.java65 private final MenuViewAppearance mMenuViewAppearance; field in MenuEduTooltipView
70 mMenuViewAppearance = menuViewAppearance; in MenuEduTooltipView()
111 final boolean isTooltipOnRightOfAnchor = mMenuViewAppearance.isMenuOnLeftSide(); in updateLocationAndVisibility()
124 final PointF position = mMenuViewAppearance.getMenuPosition(); in getMenuBoundsInParent()
127 (int) position.x + mMenuViewAppearance.getMenuWidth(), in getMenuBoundsInParent()
128 (int) position.y + mMenuViewAppearance.getMenuHeight()); in getMenuBoundsInParent()
233 final PointF position = mMenuViewAppearance.getMenuPosition(); in getAvailableTextViewWidth()
235 ? mMenuViewAppearance.getMenuDraggableBounds().width() - (int) position.x in getAvailableTextViewWidth()
DMenuViewLayer.java124 private final MenuViewAppearance mMenuViewAppearance; field in MenuViewLayer
234 mMenuViewAppearance = menuViewAppearance; in MenuViewLayer()
428 mMenuViewAppearance.onImeVisibilityChanged(windowInsets.isVisible(ime()), imeTop); in onWindowInsetsApplied()
443 mEduTooltipView = Optional.of(new MenuEduTooltipView(mContext, mMenuViewAppearance)); in onMigrationTooltipVisibilityChanged()
455 final Rect bounds = mMenuViewAppearance.getWindowAvailableBounds(); in onMoveToTuckedChanged()
470 mEduTooltipView = Optional.of(new MenuEduTooltipView(mContext, mMenuViewAppearance)); in onSpringAnimationsEndAction()
DMenuAnimationController.java70 private final MenuViewAppearance mMenuViewAppearance; field in MenuAnimationController
87 mMenuViewAppearance = menuViewAppearance; in MenuAnimationController()
94 mRadiiAnimator = new RadiiAnimator(mMenuViewAppearance.getMenuRadii(), in MenuAnimationController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuEduTooltipViewTest.java41 private MenuViewAppearance mMenuViewAppearance; field in MenuEduTooltipViewTest
47 mMenuViewAppearance = new MenuViewAppearance(mContext, windowManager); in setUp()
48 mMenuEduTooltipView = new MenuEduTooltipView(mContext, mMenuViewAppearance); in setUp()
63 mMenuViewAppearance.setPercentagePosition( in show_menuOnLeft_onRightOfAnchor()
68 final int tooltipViewX = (int) (mMenuViewAppearance.getMenuPosition().x in show_menuOnLeft_onRightOfAnchor()
69 + mMenuViewAppearance.getMenuWidth()); in show_menuOnLeft_onRightOfAnchor()
76 mMenuViewAppearance.setPercentagePosition( in show_menuCloseToLeftOfCenter_onLeftOfAnchor()
81 final int tooltipViewX = (int) (mMenuViewAppearance.getMenuPosition().x in show_menuCloseToLeftOfCenter_onLeftOfAnchor()
82 + mMenuViewAppearance.getMenuWidth()); in show_menuCloseToLeftOfCenter_onLeftOfAnchor()
89 mMenuViewAppearance.setPercentagePosition( in show_menuOnRight_onLeftOfAnchor()
[all …]