/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TaskViewTouchController.java | 73 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 …]
|
D | PortraitStatesTouchController.java | 61 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()
|
D | NavBarToHomeTouchController.java | 77 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()
|
D | QuickSwitchTouchController.java | 73 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()
|
D | TwoButtonNavbarTouchController.java | 70 if (mCurrentAnimation != null) { in canInterceptTouchInternal() 72 mCurrentAnimation.getAnimationPlayer().end(); in canInterceptTouchInternal() 137 mCurrentAnimation = mLauncher.getStateManager().createAnimationToNewWorkspace(mToState, in initCurrentAnimation()
|
D | NoButtonNavbarToOverviewTouchController.java | 225 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/ |
D | AbstractStateChangeTouchController.java | 68 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 …]
|
D | AllAppsSwipeController.java | 150 if (mCurrentAnimation != null) { in canInterceptTouch() 183 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | ItemFocusIndicatorHelper.java | 94 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/ |
D | SlideshowView.java | 41 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/ |
D | DropTargetBar.java | 60 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/ |
D | AllAppsEduView.java | 305 return mCurrentAnimation; in initAllAppsAnimation()
|