Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 660) sorted by relevance

12345678910>>...27

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DScalingWorkspaceRevealAnim.kt19 import android.animation.Animator
20 import android.animation.AnimatorListenerAdapter
21 import android.animation.AnimatorSet
27 import android.view.animation.PathInterpolator
29 import com.android.app.animation.Animations
30 import com.android.app.animation.Interpolators
31 import com.android.app.animation.Interpolators.LINEAR
82 private val animation = PendingAnimation(SCALE_DURATION_MS) constant
121 animation.addFloat(
128 animation.addFloat(
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java20 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/Launcher3/quickstep/src/com/android/quickstep/interaction/
DAnimatedTaskbarView.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
115 public void onAnimationEnd(Animator animation) { in animateDisappearanceToHotseat()
116 super.onAnimationEnd(animation); in animateDisappearanceToHotseat()
121 public void onAnimationStart(Animator animation) { in animateDisappearanceToHotseat()
122 super.onAnimationStart(animation); in animateDisappearanceToHotseat()
156 public void onAnimationStart(Animator animation) { in animateAppearanceFromHotseat()
157 super.onAnimationStart(animation); in animateAppearanceFromHotseat()
[all …]
DAnimatedTaskView.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
22 import android.animation.ValueAnimator;
112 public void onAnimationStart(Animator animation) { in createAnimationToMultiRowLayout()
113 super.onAnimationStart(animation); in createAnimationToMultiRowLayout()
118 public void onAnimationEnd(Animator animation) { in createAnimationToMultiRowLayout()
119 super.onAnimationEnd(animation); in createAnimationToMultiRowLayout()
124 public void onAnimationCancel(Animator animation) { in createAnimationToMultiRowLayout()
[all …]
DBackGestureTutorialFragment.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
70 public void onAnimationStart(Animator animation) { in createGestureAnimation()
71 super.onAnimationStart(animation); in createGestureAnimation()
80 public void onAnimationEnd(Animator animation) { in createGestureAnimation()
81 super.onAnimationEnd(animation); in createGestureAnimation()
91 public void onAnimationEnd(Animator animation) { in createGestureAnimation()
92 super.onAnimationEnd(animation); in createGestureAnimation()
[all …]
DOverviewGestureTutorialFragment.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
69 public void onAnimationStart(Animator animation) { in createGestureAnimation()
70 super.onAnimationStart(animation); in createGestureAnimation()
80 public void onAnimationStart(Animator animation) { in createGestureAnimation()
81 super.onAnimationStart(animation); in createGestureAnimation()
89 public void onAnimationEnd(Animator animation) { in createGestureAnimation()
90 super.onAnimationEnd(animation); in createGestureAnimation()
105 public void onAnimationCancel(Animator animation) { in createGestureAnimation()
[all …]
DHomeGestureTutorialFragment.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
69 public void onAnimationStart(Animator animation) { in createGestureAnimation()
70 super.onAnimationStart(animation); in createGestureAnimation()
78 public void onAnimationEnd(Animator animation) { in createGestureAnimation()
79 super.onAnimationEnd(animation); in createGestureAnimation()
93 public void onAnimationCancel(Animator animation) { in createGestureAnimation()
94 super.onAnimationCancel(animation); in createGestureAnimation()
/packages/apps/Dialer/java/com/android/dialer/animation/
DAnimUtils.java17 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 …]
DAnimationListenerAdapter.java17 package com.android.dialer.animation;
19 import android.view.animation.Animation;
20 import android.view.animation.Animation.AnimationListener;
30 public void onAnimationStart(Animation animation) {} in onAnimationStart() argument
34 public void onAnimationEnd(Animation animation) {} in onAnimationEnd() argument
38 public void onAnimationRepeat(Animation animation) {} in onAnimationRepeat() argument
/packages/apps/Camera2/src/com/android/camera/ui/
DTouchCircleDrawable.java19 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 …]
DCaptureAnimationOverlay.java19 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 …]
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DUtils.java20 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/Launcher3/quickstep/src/com/android/launcher3/desktop/
DDesktopAppLaunchAnimatorHelper.kt19 import android.animation.Animator in <lambda>()
20 import android.animation.AnimatorSet in <lambda>()
21 import android.animation.ValueAnimator in <lambda>()
33 import androidx.core.animation.addListener in <lambda>()
35 import com.android.app.animation.Interpolators in <lambda>()
41 import com.android.wm.shell.shared.animation.MinimizeAnimator in <lambda>()
42 import com.android.wm.shell.shared.animation.WindowAnimator in <lambda>()
153 addUpdateListener { animation -> in <lambda>() method
155 .setAlpha(change.leash, animation.animatedValue as Float) in <lambda>()
174 onEnd = { animation -> in <lambda>() method
[all …]
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DSearchBarView.java19 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/
DAnimUtils.java17 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 …]
DAnimationListenerAdapter.java17 package com.android.phone.common.animation;
19 import android.view.animation.Animation;
20 import android.view.animation.Animation.AnimationListener;
32 public void onAnimationStart(Animation animation) { in onAnimationStart() argument
39 public void onAnimationEnd(Animation animation) { in onAnimationEnd() argument
46 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat() argument
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java20 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/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintLocationAnimationView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
28 import android.view.animation.AnimationUtils;
29 import android.view.animation.Interpolator;
129 public void onAnimationUpdate(ValueAnimator animation) { in startRadiusAnimation()
130 mPulseRadius = (float) animation.getAnimatedValue(); in startRadiusAnimation()
139 public void onAnimationCancel(Animator animation) { in startRadiusAnimation()
144 public void onAnimationEnd(Animator animation) { in startRadiusAnimation()
162 public void onAnimationUpdate(ValueAnimator animation) { in startAlphaAnimation()
[all …]
DUdfpsEnrollDrawable.java20 import android.animation.Animator;
21 import android.animation.AnimatorSet;
22 import android.animation.ValueAnimator;
36 import android.view.animation.AccelerateDecelerateInterpolator;
114 public void onAnimationStart(Animator animation) { in UdfpsEnrollDrawable()
118 public void onAnimationEnd(Animator animation) { in UdfpsEnrollDrawable()
123 public void onAnimationCancel(Animator animation) { in UdfpsEnrollDrawable()
127 public void onAnimationRepeat(Animator animation) { in UdfpsEnrollDrawable()
173 x.addUpdateListener(animation -> { in onEnrollmentProgress()
174 mCurrentX = (float) animation.getAnimatedValue(); in onEnrollmentProgress()
[all …]
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java19 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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DCrossFadeHelper.java18 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/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java19 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/
DPieRenderer.java19 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/Launcher3/src/com/android/launcher3/anim/
DKeyboardInsetAnimationCallback.java69 public void onPrepare(WindowInsetsAnimation animation) { in onPrepare() argument
75 public WindowInsetsAnimation.Bounds onStart(WindowInsetsAnimation animation, in onStart() argument
85 return super.onStart(animation, bounds); in onStart()
94 WindowInsetsAnimation animation = list.get(0); in onProgress() local
96 if (animation.getDurationMillis() > -1) { in onProgress()
97 float progress = animation.getInterpolatedFraction(); in onProgress()
111 ((KeyboardInsetListener) mView).onKeyboardAlphaChanged(animation.getAlpha()); in onProgress()
118 public void onEnd(WindowInsetsAnimation animation) { in onEnd() argument
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DLauncherAnimationRunner.java24 import android.animation.Animator;
25 import android.animation.AnimatorListenerAdapter;
26 import android.animation.AnimatorSet;
37 import com.android.systemui.animation.RemoteAnimationDelegate;
38 import com.android.systemui.animation.RemoteAnimationRunnerCompat;
161 public void setAnimation(AnimatorSet animation, Context context) { in setAnimation() argument
162 setAnimation(animation, context, null, true); in setAnimation()
171 public void setAnimation(AnimatorSet animation, Context context, in setAnimation() argument
177 mAnimator = animation; in setAnimation()
192 public void onAnimationEnd(Animator animation) { in setAnimation()

12345678910>>...27