/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 20 import android.animation.ValueAnimator; 21 import android.animation.ValueAnimator.AnimatorUpdateListener; 80 public void onAnimationUpdate(final ValueAnimator animation) { in onAnimationUpdate() argument 87 final long currentPlayTime = animation.getCurrentPlayTime(); in onAnimationUpdate() 88 boolean isFinalFrame = Float.compare(1f, animation.getAnimatedFraction()) == 0; in onAnimationUpdate() 96 currentPlayTime < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate() 107 animation.setCurrentPlayTime(0); in onAnimationUpdate() 117 animation.setCurrentPlayTime(singleFrameMS); in onAnimationUpdate() 121 mRootView.post(() -> animation.removeUpdateListener(this)); in onAnimationUpdate() 123 if (DEBUG) print(animation); in onAnimationUpdate() [all …]
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | TemperatureBarOverlay.java | 18 import android.animation.Animator; 19 import android.animation.AnimatorSet; 20 import android.animation.ObjectAnimator; 21 import android.animation.ValueAnimator; 183 AnimatorSet animation = new AnimatorSet(); in getExpandAnimatons() local 185 return animation; in getExpandAnimatons() 211 animation.playTogether(list); in getExpandAnimatons() 212 animation.addListener(mStateListener); in getExpandAnimatons() 214 return animation; in getExpandAnimatons() 220 AnimatorSet animation = new AnimatorSet(); in getCollapseAnimations() local [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | CheckmarkSelectionAnimator.java | 18 import android.animation.Animator; 19 import android.animation.Animator.AnimatorListener; 20 import android.animation.AnimatorSet; 21 import android.animation.ObjectAnimator; 62 public void onAnimationStart(Animator animation) { 66 public void onAnimationEnd(Animator animation) { 71 public void onAnimationCancel(Animator animation) { 75 public void onAnimationRepeat(Animator animation) { 90 public void onAnimationStart(Animator animation) { 94 public void onAnimationEnd(Animator animation) { [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | SpringObjectAnimator.java | 18 import static androidx.dynamicanimation.animation.FloatPropertyCompat.createFloatPropertyCompat; 22 import android.animation.Animator; 23 import android.animation.AnimatorListenerAdapter; 24 import android.animation.ObjectAnimator; 25 import android.animation.TimeInterpolator; 26 import android.animation.ValueAnimator; 34 import androidx.dynamicanimation.animation.DynamicAnimation.OnAnimationEndListener; 35 import androidx.dynamicanimation.animation.SpringAnimation; 36 import androidx.dynamicanimation.animation.SpringForce; 76 public void onAnimationStart(Animator animation) { in SpringObjectAnimator() [all …]
|
D | AnimatorPlaybackController.java | 21 import android.animation.Animator; 22 import android.animation.Animator.AnimatorListener; 23 import android.animation.AnimatorListenerAdapter; 24 import android.animation.AnimatorSet; 25 import android.animation.TimeInterpolator; 26 import android.animation.ValueAnimator; 29 import androidx.dynamicanimation.animation.DynamicAnimation; 30 import androidx.dynamicanimation.animation.SpringAnimation; 101 public void onAnimationCancel(Animator animation) { in AnimatorPlaybackController() 110 public void onAnimationEnd(Animator animation) { in AnimatorPlaybackController() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/animation/ |
D | AnimUtils.java | 17 package com.android.dialer.animation; 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 24 import android.view.animation.Interpolator; 25 import android.view.animation.PathInterpolator; 55 public void onAnimationEnd(Animator animation) { in fadeOut() 63 public void onAnimationCancel(Animator animation) { in fadeOut() 94 public void onAnimationStart(Animator animation) { in fadeIn() 99 public void onAnimationCancel(Animator animation) { in fadeIn() [all …]
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | ModeOptions.java | 20 import android.animation.Animator; 21 import android.animation.AnimatorListenerAdapter; 22 import android.animation.AnimatorSet; 23 import android.animation.ValueAnimator; 253 public void onAnimationUpdate(ValueAnimator animation) { in setupAnimators() 254 mRadius = (Float) animation.getAnimatedValue(); in setupAnimators() 261 public void onAnimationEnd(Animator animation) { in setupAnimators() 271 public void onAnimationUpdate(ValueAnimator animation) { in setupAnimators() 272 mActiveBar.setAlpha((Float) animation.getAnimatedValue()); in setupAnimators() 277 public void onAnimationEnd(Animator animation) { in setupAnimators() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TouchCircleDrawable.java | 19 import android.animation.Animator; 20 import android.animation.Animator.AnimatorListener; 21 import android.animation.ValueAnimator; 195 public void onAnimationUpdate(ValueAnimator animation) { in animate() 196 mColorRadius = (Integer) animation.getAnimatedValue(); in animate() 199 mUpdateListener.onAnimationUpdate(animation); in animate() 206 public void onAnimationStart(Animator animation) { in animate() 210 mAnimatorListener.onAnimationStart(animation); in animate() 215 public void onAnimationEnd(Animator animation) { in animate() 219 mAnimatorListener.onAnimationEnd(animation); in animate() [all …]
|
D | ModeListView.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.AnimatorSet; 22 import android.animation.ObjectAnimator; 23 import android.animation.TimeInterpolator; 24 import android.animation.ValueAnimator; 392 public void onAnimationStart(Animator animation) { in snapOpenAndShow() 397 public void onAnimationEnd(Animator animation) { in snapOpenAndShow() 403 public void onAnimationCancel(Animator animation) { in snapOpenAndShow() 408 public void onAnimationRepeat(Animator animation) { in snapOpenAndShow() [all …]
|
D | CaptureAnimationOverlay.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorSet; 21 import android.animation.ValueAnimator; 29 import android.view.animation.Interpolator; 30 import android.view.animation.LinearInterpolator; 64 public void onAnimationUpdate(ValueAnimator animation) { in CaptureAnimationOverlay() 65 float alpha = 255.0f * (Float) animation.getAnimatedValue(); in CaptureAnimationOverlay() 72 public void onAnimationStart(Animator animation) { in CaptureAnimationOverlay() 77 public void onAnimationEnd(Animator animation) { in CaptureAnimationOverlay() 83 public void onAnimationCancel(Animator animation) { in CaptureAnimationOverlay() [all …]
|
D | ModeTransitionView.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorSet; 21 import android.animation.ObjectAnimator; 22 import android.animation.ValueAnimator; 245 public void onAnimationUpdate(ValueAnimator animation) { in startPeepHoleAnimation() 264 public void onAnimationStart(Animator animation) { in startPeepHoleAnimation() 270 public void onAnimationEnd(Animator animation) { in startPeepHoleAnimation() 286 public void onAnimationCancel(Animator animation) { in startPeepHoleAnimation() 291 public void onAnimationRepeat(Animator animation) { in startPeepHoleAnimation() 347 public void onAnimationStart(Animator animation) { in snapShadeTo() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/ |
D | SearchBarView.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 34 import com.android.dialer.animation.AnimUtils; 123 animator.addUpdateListener(animation -> setMargins((Float) animation.getAnimatedValue())); in expand() 128 public void onAnimationStart(Animator animation) { in expand() 129 super.onAnimationStart(animation); in expand() 135 public void onAnimationEnd(Animator animation) { in expand() 136 super.onAnimationEnd(animation); in expand() 160 animator.addUpdateListener(animation -> setMargins((Float) animation.getAnimatedValue())); in collapse() [all …]
|
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
D | AnimUtils.java | 17 package com.android.phone.common.animation; 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 24 import android.view.animation.Interpolator; 62 public void onAnimationEnd(Animator animation) { in fadeOut() 70 public void onAnimationCancel(Animator animation) { in fadeOut() 97 public void onAnimationStart(Animator animation) { in fadeIn() 102 public void onAnimationCancel(Animator animation) { in fadeIn() 110 public void onAnimationEnd(Animator animation) { in fadeIn() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
D | SwipeButtonView.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ArgbEvaluator; 22 import android.animation.PropertyValuesHolder; 23 import android.animation.ValueAnimator; 34 import android.view.animation.Interpolator; 76 public void onAnimationEnd(Animator animation) { 83 public void onAnimationEnd(Animator animation) { 90 public void onAnimationEnd(Animator animation) { 97 public void onAnimationEnd(Animator animation) { [all …]
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieRenderer.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 34 import android.view.animation.Animation; 35 import android.view.animation.Animation.AnimationListener; 36 import android.view.animation.LinearInterpolator; 37 import android.view.animation.Transformation; 47 private ScaleAnimation animation = new ScaleAnimation(); field in PieRenderer 255 public void onAnimationStart(Animation animation) {} in fadeIn() 258 public void onAnimationEnd(Animation animation) { in fadeIn() 263 public void onAnimationRepeat(Animation animation) {} in fadeIn() [all …]
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintLocationAnimationView.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 29 import android.view.animation.AnimationUtils; 30 import android.view.animation.Interpolator; 128 public void onAnimationUpdate(ValueAnimator animation) { in startRadiusAnimation() 129 mPulseRadius = (float) animation.getAnimatedValue(); in startRadiusAnimation() 138 public void onAnimationCancel(Animator animation) { in startRadiusAnimation() 143 public void onAnimationEnd(Animator animation) { in startRadiusAnimation() 161 public void onAnimationUpdate(ValueAnimator animation) { in startAlphaAnimation() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/ |
D | FingerprintLocationAnimationView.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 29 import android.view.animation.AnimationUtils; 30 import android.view.animation.Interpolator; 128 public void onAnimationUpdate(ValueAnimator animation) { in startRadiusAnimation() 129 mPulseRadius = (float) animation.getAnimatedValue(); in startRadiusAnimation() 138 public void onAnimationCancel(Animator animation) { in startRadiusAnimation() 143 public void onAnimationEnd(Animator animation) { in startRadiusAnimation() 161 public void onAnimationUpdate(ValueAnimator animation) { in startAlphaAnimation() [all …]
|
/packages/apps/StorageManager/src/com/android/storagemanager/utils/ |
D | Utils.java | 20 import android.view.animation.Animation; 21 import android.view.animation.Animation.AnimationListener; 22 import android.view.animation.AnimationUtils; 34 Animation animation = in setViewShown() local 41 animation.setAnimationListener( in setViewShown() 44 public void onAnimationStart(Animation animation) {} in setViewShown() 47 public void onAnimationRepeat(Animation animation) {} in setViewShown() 50 public void onAnimationEnd(Animation animation) { in setViewShown() 55 view.startAnimation(animation); in setViewShown()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | PseudoEmergencyAnimator.java | 19 import android.animation.Animator; 20 import android.animation.Animator.AnimatorListener; 21 import android.animation.ArgbEvaluator; 22 import android.animation.ValueAnimator; 74 public void onAnimationCancel(Animator animation) {} in start() 77 public void onAnimationRepeat(Animator animation) { in start() 81 animation.cancel(); in start() 86 public void onAnimationStart(Animator animation) {} in start() 89 public void onAnimationEnd(Animator animation) { in start() 106 animation.cancel(); in start()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | TwoButtonMethod.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.AnimatorSet; 22 import android.animation.ObjectAnimator; 23 import android.animation.PropertyValuesHolder; 24 import android.animation.ValueAnimator; 25 import android.animation.ValueAnimator.AnimatorUpdateListener; 193 public void onAnimationCancel(Animator animation) { in answerCall() 198 public void onAnimationEnd(Animator animation) { in answerCall() 217 public void onAnimationCancel(Animator animation) { in rejectCall() [all …]
|
D | FlingUpDownMethod.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.AnimatorSet; 22 import android.animation.ObjectAnimator; 23 import android.animation.PropertyValuesHolder; 24 import android.animation.ValueAnimator; 39 import android.support.v4.view.animation.FastOutLinearInInterpolator; 40 import android.support.v4.view.animation.FastOutSlowInInterpolator; 41 import android.support.v4.view.animation.LinearOutSlowInInterpolator; 42 import android.support.v4.view.animation.PathInterpolatorCompat; [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | CrossFadeHelper.java | 18 import android.animation.Animator; 19 import android.animation.AnimatorListenerAdapter; 20 import android.animation.AnimatorSet; 21 import android.animation.ValueAnimator; 22 import android.animation.ValueAnimator.AnimatorUpdateListener; 46 public void onAnimationUpdate(ValueAnimator animation) { 47 final float alpha = (float) animation.getAnimatedValue(); 74 public void onAnimationEnd(Animator animation) { in getFadeInAnimator() 89 public void onAnimationEnd(Animator animation) { in getFadeOutAnimator()
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | PageIndicatorDots.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.AnimatorSet; 22 import android.animation.ObjectAnimator; 23 import android.animation.ValueAnimator; 24 import android.animation.ValueAnimator.AnimatorUpdateListener; 35 import android.view.animation.Interpolator; 36 import android.view.animation.OvershootInterpolator; 195 public void onAnimationUpdate(ValueAnimator animation) { in playEntryAnimation() 196 mEntryAnimationRadiusFactors[index] = (Float) animation.getAnimatedValue(); in playEntryAnimation() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | LoadingViewController.java | 22 import android.view.animation.Animation; 23 import android.view.animation.AnimationUtils; 80 Animation animation = AnimationUtils.loadAnimation(view.getContext(), in setViewShown() local 85 animation.setAnimationListener(new Animation.AnimationListener() { in setViewShown() 87 public void onAnimationStart(Animation animation) { in setViewShown() 91 public void onAnimationRepeat(Animation animation) { in setViewShown() 95 public void onAnimationEnd(Animation animation) { in setViewShown() 100 view.startAnimation(animation); in setViewShown()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | LoadingViewController.java | 22 import android.view.animation.Animation; 23 import android.view.animation.AnimationUtils; 80 Animation animation = AnimationUtils.loadAnimation(view.getContext(), in setViewShown() local 85 animation.setAnimationListener(new Animation.AnimationListener() { in setViewShown() 87 public void onAnimationStart(Animation animation) { in setViewShown() 91 public void onAnimationRepeat(Animation animation) { in setViewShown() 95 public void onAnimationEnd(Animation animation) { in setViewShown() 100 view.startAnimation(animation); in setViewShown()
|