/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusRingView.java | 49 private final DynamicAnimator mAnimator; field in FocusRingView 71 mAnimator = new DynamicAnimator(this, new SystemTimeClock()); in FocusRingView() 73 mAutoFocusRing = new AutoFocusRing(mAnimator, paint, in FocusRingView() 76 mManualFocusRing = new ManualFocusRing(mAnimator, paint, in FocusRingView() 79 mAnimator.animations.add(mAutoFocusRing); in FocusRingView() 80 mAnimator.animations.add(mManualFocusRing); in FocusRingView() 98 mAnimator.invalidate(); in startPassiveFocus() 99 long tMs = mAnimator.getTimeMillis(); in startPassiveFocus() 111 mAnimator.invalidate(); in startActiveFocus() 112 long tMs = mAnimator.getTimeMillis(); in startActiveFocus() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InterruptibleInOutAnimator.java | 53 private ValueAnimator mAnimator; field in InterruptibleInOutAnimator 69 mAnimator = ObjectAnimator.ofFloat(this, VALUE, fromValue, toValue).setDuration(duration); in InterruptibleInOutAnimator() 74 mAnimator.addListener(new AnimatorListenerAdapter() { in InterruptibleInOutAnimator() 83 final long currentPlayTime = mAnimator.getCurrentPlayTime(); in animate() 96 mAnimator.setDuration(Math.max(0, Math.min(duration, mOriginalDuration))); in animate() 98 mAnimator.setFloatValues(startValue, toValue); in animate() 99 mAnimator.start(); in animate() 104 mAnimator.cancel(); in cancel() 109 mAnimator.end(); in end() 148 return mAnimator; in getAnimator()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ButteryProgressBar.java | 48 private final ValueAnimator mAnimator; field in ButteryProgressBar 102 mAnimator = new ValueAnimator(); in ButteryProgressBar() 103 mAnimator.setFloatValues(1.0f, 2.0f); in ButteryProgressBar() 104 mAnimator.setRepeatCount(ValueAnimator.INFINITE); in ButteryProgressBar() 105 mAnimator.setInterpolator(new ExponentialInterpolator()); in ButteryProgressBar() 106 mAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in ButteryProgressBar() 132 mAnimator.setDuration((int) (BASE_DURATION_MS * durationMult)); in onLayout() 139 if (!mAnimator.isStarted()) { in onDraw() 145 final float val = (Float) mAnimator.getAnimatedValue(); in onDraw() 190 mAnimator.start(); in start() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageBubbleView.java | 40 private ObjectAnimator mAnimator; field in ConversationMessageBubbleView 92 if (mAnimator == null) { in bind() 98 if (mAnimator != null) { in kickOffMorphAnimation() 99 mAnimator.setIntValues(mRunningStartWidth, newWidth); in kickOffMorphAnimation() 103 mAnimator = ObjectAnimator.ofInt(this, "morphWidth", oldWidth, newWidth); in kickOffMorphAnimation() 104 mAnimator.setDuration(UiUtils.MEDIAPICKER_TRANSITION_DURATION); in kickOffMorphAnimation() 105 mAnimator.addListener(new AnimatorListener() { in kickOffMorphAnimation() 112 mAnimator = null; in kickOffMorphAnimation() 130 mAnimator.start(); in kickOffMorphAnimation()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | TransitionAnimationView.java | 31 private ObjectAnimator mAnimator; field in TransitionAnimationView 77 if (mAnimator != null && mAnimator.isRunning()) { in startMaskTransition() 78 mAnimator.end(); in startMaskTransition() 82 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 0.0f, 1.0f); in startMaskTransition() 85 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 1.0f, 0.0f); in startMaskTransition() 88 mAnimator.setDuration(duration); in startMaskTransition() 90 mAnimator.start(); in startMaskTransition()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | LauncherAnimationRunner.java | 96 private AnimatorSet mAnimator; field in LauncherAnimationRunner.AnimationResult 118 mAnimator = animation; in setAnimation() 119 if (mAnimator == null) { in setAnimation() 123 mAnimator.start(); in setAnimation() 124 mAnimator.end(); in setAnimation() 127 mAnimator.addListener(new AnimatorListenerAdapter() { in setAnimation() 133 mAnimator.start(); in setAnimation() 137 mAnimator.setCurrentPlayTime(SINGLE_FRAME_MS); in setAnimation()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 326 private Animator mAnimator = null; field in ModeListView.FullyHiddenState 364 if (mAnimator != null) { in onMenuPressed() 373 if (mAnimator != null) { in shouldHandleVisibilityChange() 388 mAnimator = snapToFullScreen(); in snapOpenAndShow() 389 if (mAnimator != null) { in snapOpenAndShow() 390 mAnimator.addListener(new Animator.AnimatorListener() { in snapOpenAndShow() 398 mAnimator = null; in snapOpenAndShow() 433 private Animator mAnimator = null; field in ModeListView.FullyShownState 448 if (mAnimator != null && mAnimator.isRunning()) { in shouldHandleTouchEvent() 502 mAnimator = snapBack(true); in snapBackAndHide() [all …]
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | ProgressDrawable.java | 75 private final ObjectAnimator mAnimator; field in ProgressDrawable 82 mAnimator = ObjectAnimator.ofInt(this, LEVEL, 0, MAX_LEVEL); in ProgressDrawable() 83 mAnimator.setRepeatCount(ValueAnimator.INFINITE); in ProgressDrawable() 84 mAnimator.setRepeatMode(ValueAnimator.RESTART); in ProgressDrawable() 85 mAnimator.setDuration(ANIMATION_DURATION); in ProgressDrawable() 86 mAnimator.setInterpolator(new LinearInterpolator()); in ProgressDrawable() 98 mAnimator.start(); in startAnimation() 102 mAnimator.cancel(); in stopAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | PageIndicatorDots.java | 96 private ObjectAnimator mAnimator; field in PageIndicatorDots 152 if (mAnimator == null && Float.compare(mCurrentPosition, mFinalPosition) != 0) { in animateToPosition() 155 mAnimator = ObjectAnimator.ofFloat(this, CURRENT_POSITION, positionForThisAnim); in animateToPosition() 156 mAnimator.addListener(new AnimationCycleListener()); in animateToPosition() 157 mAnimator.setDuration(ANIMATION_DURATION); in animateToPosition() 158 mAnimator.start(); in animateToPosition() 163 if (mAnimator != null) { in stopAllAnimations() 164 mAnimator.cancel(); in stopAllAnimations() 165 mAnimator = null; in stopAllAnimations() 335 mAnimator = null; in onAnimationEnd()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPreviewItemAnim.java | 50 private final ObjectAnimator mAnimator; field in FolderPreviewItemAnim 77 mAnimator = ObjectAnimator.ofObject(this, PARAMS, new FloatArrayEvaluator(), in FolderPreviewItemAnim() 79 mAnimator.addListener(new AnimatorListenerAdapter() { in FolderPreviewItemAnim() 88 mAnimator.setDuration(duration); in FolderPreviewItemAnim() 99 mAnimator.start(); in start() 103 mAnimator.cancel(); in cancel()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | MasterImage.java | 89 private ValueAnimator mAnimator = null; field in MasterImage 415 if (mAnimator != null) { in onNewLook() 416 mAnimator.cancel(); in onNewLook() 426 mAnimator = ValueAnimator.ofFloat(0, 1); in onNewLook() 427 mAnimator.setDuration(650); in onNewLook() 431 mAnimator = ValueAnimator.ofFloat(0, 90); in onNewLook() 432 mAnimator.setDuration(500); in onNewLook() 436 mAnimator = ValueAnimator.ofFloat(1, 0, -1); in onNewLook() 437 mAnimator.setDuration(500); in onNewLook() 439 mAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in onNewLook() [all …]
|
D | ImageStraighten.java | 60 private ValueAnimator mAnimator = null; field in ImageStraighten 92 mAnimator = ValueAnimator.ofFloat(1, 0); in hidesGrid() 93 mAnimator.setStartDelay(delay); in hidesGrid() 94 mAnimator.setDuration(mAnimDelay); in hidesGrid() 95 mAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in hidesGrid() 102 mAnimator.start(); in hidesGrid()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | FloatingHeaderView.java | 52 private final ValueAnimator mAnimator = ValueAnimator.ofInt(0, 0); field in FloatingHeaderView 65 if (mAnimator.isStarted()) { 66 mAnimator.cancel(); 305 if (mAnimator.isStarted()) { in reset() 306 mAnimator.cancel(); in reset() 309 mAnimator.setIntValues(mTranslationY, 0); in reset() 310 mAnimator.addUpdateListener(this); in reset() 311 mAnimator.setDuration(150); in reset() 312 mAnimator.start(); in reset()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 76 private ValueAnimator mAnimator; field in MultiToggleImageButton 188 mAnimator.setFloatValues(-offset, 0.0f); in setStateAnimatedInternal() 190 s.play(mAnimator); in setStateAnimatedInternal() 262 mAnimator = ValueAnimator.ofFloat(0.0f, 0.0f); in init() 263 mAnimator.setDuration(ANIM_DURATION_MS); in init() 264 mAnimator.setInterpolator(Gusterpolator.INSTANCE); in init() 265 mAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in init()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvTransitionManager.java | 293 private final Animator mAnimator; field in TvTransitionManager.SceneTransition 296 mAnimator = mode == ENTER ? mEnterAnimator : mExitAnimator; in SceneTransition() 308 Animator animator = mAnimator.clone(); in createAnimator()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.java | 182 private volatile Animator mAnimator = null; field in MonthWeekEventsView.TodayAnimatorListener 188 if (mAnimator != animation) { in onAnimationEnd() 200 mAnimator = mTodayAnimator; in onAnimationEnd() 208 mAnimator.removeAllListeners(); in onAnimationEnd() 209 mAnimator = null; in onAnimationEnd() 217 mAnimator = animation; in setAnimator()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | WelcomeFragment.java | 592 private Animator mAnimator; field in WelcomeFragment 840 if (mAnimator != null) { in onPageChanged() 841 mAnimator.cancel(); in onPageChanged() 911 mAnimator = SetupAnimationHelper.applyAnimationTimeScale(animatorSet); in onPageChanged() 912 mAnimator.start(); in onPageChanged()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 235 private volatile Animator mAnimator = null; field in DayView.TodayAnimatorListener 241 if (mAnimator != animation) { in onAnimationEnd() 253 mAnimator = mTodayAnimator; in onAnimationEnd() 261 mAnimator.removeAllListeners(); in onAnimationEnd() 262 mAnimator = null; in onAnimationEnd() 270 mAnimator = animation; in setAnimator()
|