Home
last modified time | relevance | path

Searched refs:mCurrentAnimation (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java73 private AnimatorPlaybackController mCurrentAnimation; field in TaskViewTouchController
104 if (mCurrentAnimation != null) { in canInterceptTouch()
105 mCurrentAnimation.getAnimationPlayer().end(); in canInterceptTouch()
109 if (mCurrentAnimation != null) { in canInterceptTouch()
110 mCurrentAnimation.forceFinishIfCloseToEnd(); in canInterceptTouch()
112 if (mCurrentAnimation != null) { in canInterceptTouch()
133 if (mCurrentAnimation != null && animation == mCurrentAnimation.getTarget()) { in onAnimationCancel()
141 && mCurrentAnimation == null) { in onControllerInterceptTouchEvent()
154 if (mCurrentAnimation != null) { in onControllerInterceptTouchEvent()
215 if (mCurrentAnimation != null && mCurrentAnimationIsGoingUp == goingUp) { in reInitAnimationController()
[all …]
DPortraitStatesTouchController.java61 if (mCurrentAnimation != null) { in canInterceptTouch()
132 if (mCurrentAnimation != null) { in initCurrentAnimation()
133 mCurrentAnimation.getTarget().removeListener(mClearStateOnCancelListener); in initCurrentAnimation()
134 mCurrentAnimation.dispatchOnCancel(); in initCurrentAnimation()
143 mCurrentAnimation = mOverviewPortraitStateTouchHelper in initCurrentAnimation()
146 mLauncher.getStateManager().setCurrentUserControlledAnimation(mCurrentAnimation); in initCurrentAnimation()
151 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
154 mCurrentAnimation.getTarget().addListener(mClearStateOnCancelListener); in initCurrentAnimation()
DNavBarToHomeTouchController.java77 private AnimatorPlaybackController mCurrentAnimation; field in NavBarToHomeTouchController
167 mCurrentAnimation = builder.createPlaybackController(); in initCurrentAnimation()
168 mCurrentAnimation.getTarget().addListener(newSingleUseCancelListener(this::clearState)); in initCurrentAnimation()
172 mCurrentAnimation = null; in clearState()
182 mCurrentAnimation.setPlayFraction(progress); in onDrag()
189 float progress = mCurrentAnimation.getProgressFraction(); in onDragEnd()
231 ValueAnimator anim = mCurrentAnimation.getAnimationPlayer(); in onDragEnd()
DQuickSwitchTouchController.java73 if (mCurrentAnimation != null) { in canInterceptTouch()
118 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
120 mCurrentAnimation.getTarget().addListener(mClearStateOnCancelListener); in initCurrentAnimation()
121 mCurrentAnimation.getAnimationPlayer().addUpdateListener(valueAnimator -> in initCurrentAnimation()
DTwoButtonNavbarTouchController.java70 if (mCurrentAnimation != null) { in canInterceptTouchInternal()
72 mCurrentAnimation.getAnimationPlayer().end(); in canInterceptTouchInternal()
137 mCurrentAnimation = mLauncher.getStateManager().createAnimationToNewWorkspace(mToState, in initCurrentAnimation()
DNoButtonNavbarToOverviewTouchController.java225 if (mCurrentAnimation == null) { in onMotionPauseDetected()
229 mCurrentAnimation.getTarget().addListener(newSingleUseCancelListener(() -> in onMotionPauseDetected()
238 mCurrentAnimation.getTarget().removeListener(mClearStateOnCancelListener); in onMotionPauseDetected()
239 mCurrentAnimation.dispatchOnCancel(); in onMotionPauseDetected()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java68 protected AnimatorPlaybackController mCurrentAnimation; field in AbstractStateChangeTouchController
105 if (mCurrentAnimation != null) { in onControllerInterceptTouchEvent()
172 if (mCurrentAnimation != null) { in reinitCurrentAnimation()
173 mCurrentAnimation.getTarget().removeListener(mClearStateOnCancelListener); in reinitCurrentAnimation()
176 mCurrentAnimation.dispatchOnStart(); in reinitCurrentAnimation()
191 if (mCurrentAnimation == null) { in onDragStart()
198 mCurrentAnimation.pause(); in onDragStart()
199 mStartProgress = mCurrentAnimation.getProgressFraction(); in onDragStart()
265 if (mCurrentAnimation == null) { in updateProgress()
268 mCurrentAnimation.setPlayFraction(fraction); in updateProgress()
[all …]
DAllAppsSwipeController.java150 if (mCurrentAnimation != null) { in canInterceptTouch()
183 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java94 private ObjectAnimator mCurrentAnimation; field in ItemFocusIndicatorHelper
208 mCurrentAnimation = ObjectAnimator.ofPropertyValuesHolder(this, in changeFocus()
211 mCurrentAnimation.addListener(new ViewSetListener(item, true)); in changeFocus()
215 mCurrentAnimation = ObjectAnimator.ofPropertyValuesHolder(this, in changeFocus()
224 mCurrentAnimation = ObjectAnimator.ofPropertyValuesHolder(this, in changeFocus()
226 mCurrentAnimation.addListener(new ViewSetListener(null, false)); in changeFocus()
234 if (mCurrentAnimation != null) { in changeFocus()
235 mCurrentAnimation.addUpdateListener(this); in changeFocus()
236 mCurrentAnimation.setDuration(ANIM_DURATION).start(); in changeFocus()
241 if (mCurrentAnimation != null) { in endCurrentAnimation()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlideshowView.java41 private SlideshowAnimation mCurrentAnimation; field in SlideshowView
62 mPrevAnimation = mCurrentAnimation; in next()
68 mCurrentAnimation = new SlideshowAnimation( in next()
72 mCurrentAnimation = new SlideshowAnimation( in next()
76 mCurrentAnimation.start(); in next()
109 requestRender |= mCurrentAnimation.calculate(animTime); in render()
112 mCurrentAnimation.apply(canvas); in render()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java60 private ViewPropertyAnimator mCurrentAnimation; field in DropTargetBar
303 if (mCurrentAnimation != null) { in animateToVisibility()
304 mCurrentAnimation.cancel(); in animateToVisibility()
305 mCurrentAnimation = null; in animateToVisibility()
311 mCurrentAnimation = animate().alpha(finalAlpha) in animateToVisibility()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DAllAppsEduView.java305 return mCurrentAnimation; in initAllAppsAnimation()