Home
last modified time | relevance | path

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

12345678910>>...46

/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentAnimationSpec.java29 import android.view.animation.AlphaAnimation;
30 import android.view.animation.Animation;
31 import android.view.animation.AnimationSet;
32 import android.view.animation.AnimationUtils;
33 import android.view.animation.ClipRectAnimation;
34 import android.view.animation.Interpolator;
36 import android.view.animation.ScaleAnimation;
100 return animation; in createChangeBoundsOpenAnimation()
116 return animation; in createChangeBoundsCloseAnimation()
189 return animation; in loadOpenAnimation()
[all …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A 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()
96 currentPlayTime < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate()
107 animation.setCurrentPlayTime(0); in onAnimationUpdate()
117 animation.setCurrentPlayTime(singleFrameMS); in onAnimationUpdate()
123 if (DEBUG) print(animation); in onAnimationUpdate()
128 if (DEBUG) print(animation); in onAnimationUpdate()
132 public void print(ValueAnimator animation) { in print() argument
[all …]
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
H A DAnimatedTaskbarView.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
118 super.onAnimationEnd(animation); in animateDisappearanceToHotseat()
124 super.onAnimationStart(animation); in animateDisappearanceToHotseat()
161 super.onAnimationStart(animation); in animateAppearanceFromHotseat()
189 super.onAnimationEnd(animation); in animateDisappearanceToBottom()
236 super.onAnimationEnd(animation); in animateAppearanceFromBottom()
275 super.onAnimationEnd(animation); in start()
[all …]
H A 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;
115 super.onAnimationStart(animation); in createAnimationToMultiRowLayout()
131 super.onAnimationEnd(animation); in createAnimationToMultiRowLayout()
137 super.onAnimationCancel(animation); in createAnimationToMultiRowLayout()
152 super.onAnimationStart(animation); in createAnimationToMultiRowLayout()
160 super.onAnimationEnd(animation); in createAnimationToMultiRowLayout()
[all …]
H A DBackGestureTutorialFragment.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
54 public void onAnimationStart(Animator animation) { in createGestureAnimation()
55 super.onAnimationStart(animation); in createGestureAnimation()
64 public void onAnimationEnd(Animator animation) { in createGestureAnimation()
65 super.onAnimationEnd(animation); in createGestureAnimation()
75 public void onAnimationEnd(Animator animation) { in createGestureAnimation()
76 super.onAnimationEnd(animation); in createGestureAnimation()
[all …]
H A DOverviewGestureTutorialFragment.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
53 public void onAnimationStart(Animator animation) { in createGestureAnimation()
54 super.onAnimationStart(animation); in createGestureAnimation()
64 public void onAnimationStart(Animator animation) { in createGestureAnimation()
65 super.onAnimationStart(animation); in createGestureAnimation()
73 public void onAnimationEnd(Animator animation) { in createGestureAnimation()
74 super.onAnimationEnd(animation); in createGestureAnimation()
89 public void onAnimationCancel(Animator animation) { in createGestureAnimation()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListWithDisappearingItemBug.java23 import android.view.animation.AlphaAnimation;
24 import android.view.animation.Animation;
25 import android.view.animation.AnimationSet;
26 import android.view.animation.LayoutAnimationController;
27 import android.view.animation.TranslateAnimation;
63 Animation animation = new AlphaAnimation(0.0f, 1.0f); in onCreate() local
64 animation.setDuration(50); in onCreate()
65 set.addAnimation(animation); in onCreate()
67 animation = new TranslateAnimation( in onCreate()
71 animation.setDuration(100); in onCreate()
[all …]
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/animation/
H A DNativeInterpolatorFactory_Delegate.java17 package android.graphics.animation;
25 import android.view.animation.AccelerateInterpolator;
26 import android.view.animation.AnticipateInterpolator;
28 import android.view.animation.BaseInterpolator;
29 import android.view.animation.BounceInterpolator;
30 import android.view.animation.CycleInterpolator;
31 import android.view.animation.DecelerateInterpolator;
32 import android.view.animation.Interpolator;
33 import android.view.animation.LinearInterpolator;
34 import android.view.animation.OvershootInterpolator;
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DUdfpsEnrollDrawable.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ValueAnimator;
32 import android.view.animation.LinearInterpolator;
149 mTipHintColorUpdateListener = animation -> { in UdfpsEnrollDrawable()
153 mTipHintWidthUpdateListener = animation -> { in UdfpsEnrollDrawable()
186 mEdgeHintColorUpdateListener = animation -> { in UdfpsEnrollDrawable()
190 mEdgeHintWidthUpdateListener = animation -> { in UdfpsEnrollDrawable()
250 x.addUpdateListener(animation -> { in onEnrollmentProgress()
256 y.addUpdateListener(animation -> { in onEnrollmentProgress()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSettingsButton.java18 import android.animation.Animator;
19 import android.animation.Animator.AnimatorListener;
20 import android.animation.ObjectAnimator;
27 import android.view.animation.Animation;
28 import android.view.animation.AnimationUtils;
31 import com.android.systemui.animation.Interpolators;
119 public void onAnimationEnd(Animator animation) { in startExitAnimation()
143 public void onAnimationStart(Animator animation) { in startAccelSpin()
147 public void onAnimationRepeat(Animator animation) { in startAccelSpin()
151 public void onAnimationEnd(Animator animation) { in startAccelSpin()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/dialer/animation/
H A 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()
130 public void onAnimationStart(Animator animation) { in scaleIn()
135 public void onAnimationCancel(Animator animation) { in scaleIn()
160 public void onAnimationEnd(Animator animation) { in scaleOut()
[all …]
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DTouchCircleDrawable.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.ValueAnimator;
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()
224 public void onAnimationCancel(Animator animation) { in animate()
228 mAnimatorListener.onAnimationCancel(animation); in animate()
[all …]
H A 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 …]
/aosp12/packages/apps/StorageManager/src/com/android/storagemanager/utils/
H A 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()
/aosp12/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
H A DTemperatureBarOverlay.java18 import android.animation.Animator;
19 import android.animation.AnimatorSet;
20 import android.animation.ObjectAnimator;
21 import android.animation.ValueAnimator;
185 return animation; in getExpandAnimatons()
211 animation.playTogether(list); in getExpandAnimatons()
212 animation.addListener(mStateListener); in getExpandAnimatons()
214 return animation; in getExpandAnimatons()
223 return animation; in getCollapseAnimations()
250 animation.playTogether(list); in getCollapseAnimations()
[all …]
/aosp12/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
H A DChatActivity.java24 import android.animation.Animator;
25 import android.animation.AnimatorListenerAdapter;
26 import android.animation.ValueAnimator;
41 import android.view.animation.LinearInterpolator;
187 public void onEnd(WindowInsetsAnimation animation) { in onCreate()
202 anim.addUpdateListener(animation in onCreate()
244 void onPrepare(WindowInsetsAnimation animation) { in onPrepare() argument
245 if ((animation.getTypeMask() & ime()) != 0) { in onPrepare()
246 mInsetsAnimation = animation; in onPrepare()
261 void onFinish(WindowInsetsAnimation animation) { in onFinish() argument
[all …]
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleAnimationSession.java19 import android.animation.Animator;
20 import android.animation.TimeInterpolator;
21 import android.animation.ValueAnimator;
30 import android.view.animation.AnimationUtils;
31 import android.view.animation.Interpolator;
32 import android.view.animation.LinearInterpolator;
33 import android.view.animation.PathInterpolator;
124 super.onAnimationEnd(animation); in exitSoftware()
159 super.onAnimationEnd(animation); in exitHardware()
197 super.onAnimationEnd(animation); in startAnimation()
[all …]
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DRevealActivity.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorSet;
45 public void onAnimationStart(Animator animation) {
46 Log.d("Reveal", "onAnimatorStart " + animation);
50 public void onAnimationRepeat(Animator animation) {
51 Log.d("Reveal", "onAnimationRepeat " + animation);
55 public void onAnimationEnd(Animator animation) {
56 Log.d("Reveal", "onAnimationEnd " + animation);
60 public void onAnimationCancel(Animator animation) {
[all …]
/aosp12/frameworks/base/core/java/android/animation/
H A DAnimatorListenerAdapter.java17 package android.animation;
31 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
38 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
45 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
52 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
59 public void onAnimationPause(Animator animation) { in onAnimationPause() argument
66 public void onAnimationResume(Animator animation) { in onAnimationResume() argument
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
H A 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()
110 public void onAnimationEnd(Animator animation) { in fadeIn()
131 public void onAnimationStart(Animator animation) { in scaleIn()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimationSpec.java30 import android.view.animation.Animation;
31 import android.view.animation.AnimationSet;
32 import android.view.animation.Interpolator;
33 import android.view.animation.Transformation;
34 import android.view.animation.TranslateAnimation;
64 mAnimation = animation; in WindowAnimationSpec()
177 private static TranslateAnimation findTranslateAnimation(Animation animation) { in findTranslateAnimation() argument
178 if (animation instanceof TranslateAnimation) { in findTranslateAnimation()
179 return (TranslateAnimation) animation; in findTranslateAnimation()
180 } else if (animation instanceof AnimationSet) { in findTranslateAnimation()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
H A DKeepAwakeAnimationListener.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
22 import android.view.animation.Animation;
41 public void onAnimationStart(Animation animation) { in onAnimationStart() argument
46 public void onAnimationEnd(Animation animation) { in onAnimationEnd() argument
51 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat() argument
56 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
61 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
/aosp12/build/make/tools/droiddoc/templates-pdk/assets/
H A Dcarousel.js180 var animation = {};
181 animation.time = 0.5; // in seconds
182 animation.fps = 60;
183 animation.goal = goal;
185 animation.origin = Math.abs(origin);
186 animation.frames = (animation.time * animation.fps) - 1.0;
188 var motions = Math.abs(animation.goal - animation.origin);
195 …var left = (ease(current_frame/animation.frames) * Math.abs(animation.goal - animation.origin)) - …
203 if (current_frame == animation.frames) {
208 var timeoutId = window.setInterval(animate, animation.time/animation.fps * 1000);
/aosp12/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
H A 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()
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()
167 super.onAnimationStart(animation); in collapse()
[all …]
/aosp12/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
H A DAutoDismissHvacPanelOverlayViewController.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ObjectAnimator;
35 import com.android.wm.shell.animation.FlingAnimationUtils;
116 ObjectAnimator animation = ObjectAnimator in animate() local
121 public void onAnimationEnd(Animator animation) { in animate()
122 super.onAnimationEnd(animation); in animate()
137 animation.start(); in animate()
195 ObjectAnimator animation = ObjectAnimator in onScroll() local
201 animation.start(); in onScroll()
[all …]

12345678910>>...46