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.java65 private AnimatorPlaybackController mCurrentAnimation; field in TaskViewTouchController
93 if (mCurrentAnimation != null) { in canInterceptTouch()
94 mCurrentAnimation.getAnimationPlayer().end(); in canInterceptTouch()
98 if (mCurrentAnimation != null) { in canInterceptTouch()
99 mCurrentAnimation.forceFinishIfCloseToEnd(); in canInterceptTouch()
101 if (mCurrentAnimation != null) { in canInterceptTouch()
121 if (mCurrentAnimation != null && animation == mCurrentAnimation.getTarget()) { in onAnimationCancel()
129 && mCurrentAnimation == null) { in onControllerInterceptTouchEvent()
142 if (mCurrentAnimation != null) { in onControllerInterceptTouchEvent()
208 if (mCurrentAnimation != null && mCurrentAnimationIsGoingUp == goingUp) { in reInitAnimationController()
[all …]
DPortraitStatesTouchController.java83 if (mCurrentAnimation != null) { in canInterceptTouch()
177 if (mCurrentAnimation != null) { in initCurrentAnimation()
178 mCurrentAnimation.getTarget().removeListener(mClearStateOnCancelListener); in initCurrentAnimation()
179 mCurrentAnimation.dispatchOnCancel(); in initCurrentAnimation()
188 mCurrentAnimation = mOverviewPortraitStateTouchHelper in initCurrentAnimation()
191 mLauncher.getStateManager().setCurrentUserControlledAnimation(mCurrentAnimation); in initCurrentAnimation()
196 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
199 mCurrentAnimation.getTarget().addListener(mClearStateOnCancelListener); in initCurrentAnimation()
DNavBarToHomeTouchController.java73 private AnimatorPlaybackController mCurrentAnimation; field in NavBarToHomeTouchController
165 mCurrentAnimation = builder.createPlaybackController(); in initCurrentAnimation()
166 mCurrentAnimation.getTarget().addListener(newCancelListener(this::clearState)); in initCurrentAnimation()
170 mCurrentAnimation = null; in clearState()
180 mCurrentAnimation.setPlayFraction(progress); in onDrag()
187 float progress = mCurrentAnimation.getProgressFraction(); in onDragEnd()
215 ValueAnimator anim = mCurrentAnimation.getAnimationPlayer(); in onDragEnd()
DQuickSwitchTouchController.java72 if (mCurrentAnimation != null) { in canInterceptTouch()
117 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
119 mCurrentAnimation.getTarget().addListener(mClearStateOnCancelListener); in initCurrentAnimation()
120 mCurrentAnimation.getAnimationPlayer().addUpdateListener(valueAnimator -> in initCurrentAnimation()
DNoButtonNavbarToOverviewTouchController.java171 if (mCurrentAnimation == null) { in onMotionPauseDetected()
175 mCurrentAnimation.getTarget().addListener(newCancelListener(() -> in onMotionPauseDetected()
184 mCurrentAnimation.getTarget().removeListener(mClearStateOnCancelListener); in onMotionPauseDetected()
185 mCurrentAnimation.dispatchOnCancel(); in onMotionPauseDetected()
DTwoButtonNavbarTouchController.java72 if (mCurrentAnimation != null) { in canInterceptTouchInternal()
74 mCurrentAnimation.getAnimationPlayer().end(); in canInterceptTouchInternal()
139 mCurrentAnimation = mLauncher.getStateManager().createAnimationToNewWorkspace(mToState, in initCurrentAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java66 protected AnimatorPlaybackController mCurrentAnimation; field in AbstractStateChangeTouchController
99 if (mCurrentAnimation != null) { in onControllerInterceptTouchEvent()
166 if (mCurrentAnimation != null) { in reinitCurrentAnimation()
167 mCurrentAnimation.getTarget().removeListener(mClearStateOnCancelListener); in reinitCurrentAnimation()
170 mCurrentAnimation.dispatchOnStart(); in reinitCurrentAnimation()
185 if (mCurrentAnimation == null) { in onDragStart()
192 mCurrentAnimation.pause(); in onDragStart()
193 mStartProgress = mCurrentAnimation.getProgressFraction(); in onDragStart()
250 if (mCurrentAnimation == null) { in updateProgress()
253 mCurrentAnimation.setPlayFraction(fraction); in updateProgress()
[all …]
DAllAppsSwipeController.java38 if (mCurrentAnimation != null) { in canInterceptTouch()
69 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java93 private ObjectAnimator mCurrentAnimation; field in ItemFocusIndicatorHelper
177 mCurrentAnimation = ObjectAnimator.ofPropertyValuesHolder(this, in changeFocus()
180 mCurrentAnimation.addListener(new ViewSetListener(item, true)); in changeFocus()
184 mCurrentAnimation = ObjectAnimator.ofPropertyValuesHolder(this, in changeFocus()
193 mCurrentAnimation = ObjectAnimator.ofPropertyValuesHolder(this, in changeFocus()
195 mCurrentAnimation.addListener(new ViewSetListener(null, false)); in changeFocus()
203 if (mCurrentAnimation != null) { in changeFocus()
204 mCurrentAnimation.addUpdateListener(this); in changeFocus()
205 mCurrentAnimation.setDuration(ANIM_DURATION).start(); in changeFocus()
210 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.java59 private ViewPropertyAnimator mCurrentAnimation; field in DropTargetBar
219 if (mCurrentAnimation != null) { in animateToVisibility()
220 mCurrentAnimation.cancel(); in animateToVisibility()
221 mCurrentAnimation = null; in animateToVisibility()
227 mCurrentAnimation = animate().alpha(finalAlpha) in animateToVisibility()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DAllAppsEduView.java303 return mCurrentAnimation; in initAllAppsAnimation()