Searched refs:mMenuAnimationController (Results 1 – 7 of 7) sorted by relevance
68 private TestMenuAnimationController mMenuAnimationController; field in MenuAnimationControllerTest88 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 …]
70 private MenuAnimationController mMenuAnimationController; field in MenuItemAccessibilityDelegateTest88 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()
69 private MenuAnimationController mMenuAnimationController; field in MenuListViewTouchHandlerTest90 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()
94 private MenuAnimationController mMenuAnimationController; field in MenuViewLayerTest122 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()
38 private final MenuAnimationController mMenuAnimationController; field in MenuListViewTouchHandler48 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 …]
90 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 …]
90 private final MenuAnimationController mMenuAnimationController; field in MenuViewLayer184 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()