Home
last modified time | relevance | path

Searched refs:mMenuAnimationController (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuAnimationControllerTest.java68 private TestMenuAnimationController mMenuAnimationController; field in MenuAnimationControllerTest
88 mMenuAnimationController = new TestMenuAnimationController(mMenuView); in setUp()
105 mMenuAnimationController.moveToPosition(destination); in moveToPosition_matchPosition()
120 mMenuAnimationController.startShrinkAnimation(/* endAction= */ null); in startGrowAnimation_menuCompletelyOpaque()
122 mMenuAnimationController.startGrowAnimation(); in startGrowAnimation_menuCompletelyOpaque()
132 mMenuAnimationController.moveToEdgeAndHide(); in moveToEdgeAndHide_untucked_expectedSharedPreferenceValue()
144 mMenuAnimationController.moveOutEdgeAndShow(); in moveOutEdgeAndShow_tucked_expectedSharedPreferenceValue()
155 mMenuAnimationController.startTuckedAnimationPreview(); in startTuckedAnimationPreview_hasAnimation()
191 mMenuAnimationController.mPositionAnimations.values() in flingThenSpringAnimationsAreEnded_triggerEndAction()
209 mMenuAnimationController.mPositionAnimations.values() in existFlingIsRunningAndTheOtherAreEnd_notTriggerEndAction()
[all …]
H A DMenuItemAccessibilityDelegateTest.java70 private MenuAnimationController mMenuAnimationController; field in MenuItemAccessibilityDelegateTest
88 mMenuAnimationController = spy(new MenuAnimationController(mMenuView)); in setUp()
91 mStubListView), mMenuAnimationController); in setUp()
156 verify(mMenuAnimationController).moveToEdgeAndHide(); in performMoveToEdgeAndHideAction_success()
166 verify(mMenuAnimationController).moveOutEdgeAndShow(); in performMoveOutFromEdgeAction_success()
171 mMenuAnimationController.setDismissCallback(mStubDismissCallback); in performRemoveMenuAction_success()
177 verify(mMenuAnimationController).removeMenu(); in performRemoveMenuAction_success()
185 verify(mMenuAnimationController).fadeInNowIfEnabled(); in performFocusAction_fadeIn()
193 verify(mMenuAnimationController).fadeOutIfEnabled(); in performClearFocusAction_fadeOut()
H A DMenuListViewTouchHandlerTest.java69 private MenuAnimationController mMenuAnimationController; field in MenuListViewTouchHandlerTest
90 mMenuAnimationController = spy(new MenuAnimationController(mStubMenuView)); in setUp()
95 mTouchHandler = new MenuListViewTouchHandler(mMenuAnimationController, in setUp()
111 verify(mMenuAnimationController).cancelAnimations(); in onActionDownEvent_shouldCancelAnimations()
173 verify(mMenuAnimationController).flingMenuThenSpringToEdge(anyFloat(), anyFloat(), in dragAndDrop_shouldFlingMenuThenSpringToEdge()
196 verify(mMenuAnimationController).moveToEdgeAndHide(); in dragMenuOutOfBoundsAndDrop_moveToLeftEdge_shouldMoveToEdgeAndHide()
H A DMenuViewLayerTest.java94 private MenuAnimationController mMenuAnimationController; field in MenuViewLayerTest
122 mMenuAnimationController = mMenuView.getMenuAnimationController(); in setUp()
211 mMenuAnimationController.moveAndPersistPosition(new PointF(0, menuTop)); in showingImeInsetsChange_notOverlapOnIme_menuKeepOriginalPosition()
222 mMenuAnimationController.moveAndPersistPosition(new PointF(0, menuTop)); in showingImeInsetsChange_overlapOnIme_menuShownAboveIme()
234 mMenuAnimationController.moveAndPersistPosition(new PointF(0, menuTop)); in hidingImeInsetsChange_overlapOnIme_menuBackToOriginalPosition()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuListViewTouchHandler.java38 private final MenuAnimationController mMenuAnimationController; field in MenuListViewTouchHandler
48 mMenuAnimationController = menuAnimationController; in MenuListViewTouchHandler()
64 mMenuAnimationController.fadeInNowIfEnabled(); in onInterceptTouchEvent()
69 mMenuAnimationController.cancelAnimations(); in onInterceptTouchEvent()
78 mMenuAnimationController.onDraggingStart(); in onInterceptTouchEvent()
84 mMenuAnimationController.moveToPositionX(mMenuTranslationDown.x + dx); in onInterceptTouchEvent()
85 mMenuAnimationController.moveToPositionYIfNeeded( in onInterceptTouchEvent()
96 if (mMenuAnimationController.maybeMoveToEdgeAndHide(endX)) { in onInterceptTouchEvent()
98 mMenuAnimationController.fadeOutIfEnabled(); in onInterceptTouchEvent()
105 mMenuAnimationController.flingMenuThenSpringToEdge(endX, in onInterceptTouchEvent()
[all …]
H A DMenuView.java90 mMenuAnimationController); in MenuView()
145 return mMenuAnimationController; in getMenuAnimationController()
200 mMenuAnimationController.moveToPosition(position); in onPositionChanged()
204 mMenuAnimationController.moveToEdgeAndHide(); in onPositionChanged()
210 mMenuAnimationController.fadeInNowIfEnabled(); in onSizeTypeChanged()
222 mMenuAnimationController.fadeOutIfEnabled(); in onSizeTypeChanged()
226 mMenuAnimationController.fadeInNowIfEnabled(); in onTargetFeaturesChanged()
245 mMenuAnimationController.fadeOutIfEnabled(); in onTargetFeaturesChanged()
309 mMenuAnimationController.fadeInNowIfEnabled(); in maybeMoveOutEdgeAndShow()
311 mMenuAnimationController.moveOutEdgeAndShow(); in maybeMoveOutEdgeAndShow()
[all …]
H A DMenuViewLayer.java90 private final MenuAnimationController mMenuAnimationController; field in MenuViewLayer
184 mMenuAnimationController = mMenuView.getMenuAnimationController(); in MenuViewLayer()
185 mMenuAnimationController.setDismissCallback(this::hideMenuAndShowMessage); in MenuViewLayer()
186 mMenuAnimationController.setSpringAnimationsEndAction(this::onSpringAnimationsEndAction); in MenuViewLayer()
210 mMenuListViewTouchHandler = new MenuListViewTouchHandler(mMenuAnimationController, in MenuViewLayer()
363 mMenuAnimationController.startTuckedAnimationPreview(); in onSpringAnimationsEndAction()
421 mMenuAnimationController.startShrinkAnimation(() -> mMenuView.setVisibility(GONE)); in hideMenuAndShowMessage()
430 mMenuAnimationController.startGrowAnimation(); in undo()