Home
last modified time | relevance | path

Searched refs:Animator (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
DAnimatorExtensions.kt19 import androidx.core.animation.Animator
27 inline fun Animator.doOnEnd( in doOnEnd()
28 crossinline action: (animator: Animator) -> Unit in doOnEnd()
29 ): Animator.AnimatorListener = addListener(onEnd = action) in doOnEnd()
37 inline fun Animator.doOnStart( in doOnEnd()
38 crossinline action: (animator: Animator) -> Unit in doOnEnd()
39 ): Animator.AnimatorListener = addListener(onStart = action) in doOnEnd()
47 inline fun Animator.doOnCancel( in doOnEnd()
48 crossinline action: (animator: Animator) -> Unit in doOnEnd()
49 ): Animator.AnimatorListener = addListener(onCancel = action) in doOnEnd()
[all …]
/frameworks/base/core/java/android/animation/
DAnimator.java35 public abstract class Animator implements Cloneable { class
234 public abstract Animator setDuration(long duration); in setDuration()
442 public ConstantState<Animator> createConstantState() { in createConstantState()
447 public Animator clone() { in clone()
449 final Animator anim = (Animator) super.clone(); in clone()
606 AnimatorCaller<AnimatorListener, Animator> notification, in notifyListeners()
618 void notifyPauseListeners(AnimatorCaller<AnimatorPauseListener, Animator> notification) { in notifyPauseListeners()
691 default void onAnimationStart(@NonNull Animator animation, boolean isReverse) { in onAnimationStart()
707 default void onAnimationEnd(@NonNull Animator animation, boolean isReverse) { in onAnimationEnd()
716 void onAnimationStart(@NonNull Animator animation); in onAnimationStart()
[all …]
DAnimatorListenerAdapter.java24 public abstract class AnimatorListenerAdapter implements Animator.AnimatorListener,
25 Animator.AnimatorPauseListener {
31 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
38 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
45 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
52 public void onAnimationStart(Animator animation) { in onAnimationStart()
59 public void onAnimationPause(Animator animation) { in onAnimationPause()
66 public void onAnimationResume(Animator animation) { in onAnimationResume()
DLayoutTransition.java151 private Animator mDisappearingAnim = null;
152 private Animator mAppearingAnim = null;
153 private Animator mChangingAppearingAnim = null;
154 private Animator mChangingDisappearingAnim = null;
155 private Animator mChangingAnim = null;
229 private final HashMap<View, Animator> pendingAnimations =
230 new HashMap<View, Animator>();
231 private final LinkedHashMap<View, Animator> currentChangingAnimations =
232 new LinkedHashMap<View, Animator>();
233 private final LinkedHashMap<View, Animator> currentAppearingAnimations =
[all …]
DStateListAnimator.java53 private Animator mRunningAnimator = null;
66 public void onAnimationEnd(Animator animation) { in initAnimatorListener()
82 public void addState(int[] specs, Animator animator) { in addState()
96 public Animator getRunningAnimator() { in getRunningAnimator()
148 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
280 final Animator mAnimator;
282 private Tuple(int[] specs, Animator animator) { in Tuple()
297 public Animator getAnimator() { in getAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java18 import android.animation.Animator;
19 import android.animation.Animator.AnimatorListener;
113 public void onAnimationStart(Animator animation) { in startExitAnimation()
117 public void onAnimationRepeat(Animator animation) { in startExitAnimation()
121 public void onAnimationEnd(Animator animation) { in startExitAnimation()
131 public void onAnimationCancel(Animator animation) { in startExitAnimation()
145 public void onAnimationStart(Animator animation) { in startAccelSpin()
149 public void onAnimationRepeat(Animator animation) { in startAccelSpin()
153 public void onAnimationEnd(Animator animation) { in startAccelSpin()
158 public void onAnimationCancel(Animator animation) { in startAccelSpin()
DKeyguardIndicationTextView.java19 import android.animation.Animator;
53 private Animator mLastAnimator;
139 Animator inAnimator = getInAnimator(); in switchIndication()
142 public void onAnimationEnd(Animator animation) { in switchIndication()
151 Animator outAnimator = getOutAnimator(); in switchIndication()
154 public void onAnimationEnd(Animator animation) { in switchIndication()
192 Animator fadeOut = ObjectAnimator.ofFloat(this, View.ALPHA, 0f); in getOutAnimator()
198 public void onAnimationEnd(Animator animator) { in getOutAnimator()
206 public void onAnimationCancel(Animator animator) { in getOutAnimator()
213 Animator yTranslate = in getOutAnimator()
[all …]
DTapAgainView.java19 import android.animation.Animator;
71 Animator yTranslate = in animateIn()
76 public void onAnimationCancel(Animator animation) { in animateIn()
96 Animator yTranslate = in animateOut()
101 public void onAnimationEnd(Animator animation) { in animateOut()
106 public void onAnimationCancel(Animator animation) { in animateOut()
/frameworks/base/libs/dream/lowlight/src/com/android/dream/lowlight/
DLowLightTransitionCoordinator.kt18 import android.animation.Animator in <lambda>()
40 fun onBeforeEnterLowLight(): Animator? in <lambda>()
52 fun onBeforeExitLowLight(): Animator? in <lambda>()
89 var animator: Animator? = null in <lambda>()
104 override fun onAnimationEnd(animator: Animator) { in <lambda>()
108 override fun onAnimationCancel(animation: Animator) { in <lambda>()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java19 import android.animation.Animator;
102 private Animator.AnimatorListener mListener = null;
221 private HashMap<Animator, PropertyBundle> mAnimatorMap =
222 new HashMap<Animator, PropertyBundle>();
223 private HashMap<Animator, Runnable> mAnimatorSetupMap;
224 private HashMap<Animator, Runnable> mAnimatorCleanupMap;
225 private HashMap<Animator, Runnable> mAnimatorOnStartMap;
226 private HashMap<Animator, Runnable> mAnimatorOnEndMap;
374 public @NonNull ViewPropertyAnimator setListener(@Nullable Animator.AnimatorListener listener) { in setListener()
379 @Nullable Animator.AnimatorListener getListener() { in getListener()
[all …]
DViewAnimationHostBridge.java19 import android.animation.Animator;
42 public void registerAnimatingRenderNode(RenderNode renderNode, Animator animator) { in registerAnimatingRenderNode()
59 public void onAnimationStart(@NonNull Animator animation) { in onAnimationStart()
67 public void onAnimationEnd(@NonNull Animator animation) { in onAnimationEnd()
DViewAnimationUtils.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
69 public static Animator createCircularReveal(View view, in createCircularReveal()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleAnimationSession.java19 import android.animation.Animator;
55 private Animator mLoopAnimation;
56 private Animator mCurrentAnimation;
90 private void onAnimationEnd(Animator anim) { in onAnimationEnd()
123 public void onAnimationEnd(Animator animation) { in exitSoftware()
158 public void onAnimationEnd(Animator animation) { in exitHardware()
188 private void startAnimation(Animator expand, Animator loop) { in startAnimation()
196 public void onAnimationEnd(Animator animation) { in startAnimation()
251 private static class AnimatorListener implements Animator.AnimatorListener {
259 public void onAnimationStart(Animator animation) { in onAnimationStart()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DRadiiAnimator.java19 import android.animation.Animator;
54 mAnimationDriver.addListener(new Animator.AnimatorListener() { in RadiiAnimator()
56 public void onAnimationStart(@NonNull Animator animation) { in RadiiAnimator()
62 public void onAnimationEnd(@NonNull Animator animation) { in RadiiAnimator()
67 public void onAnimationCancel(@NonNull Animator animation) { in RadiiAnimator()
74 public void onAnimationRepeat(@NonNull Animator animation) {} in RadiiAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationScheduler.kt20 import androidx.core.animation.Animator
47 fun onSystemEventAnimationBegin(): Animator? { return null } in getAnimationState()
49 fun onSystemEventAnimationFinish(hasPersistentDot: Boolean): Animator? { return null } in getAnimationState()
52 fun onSystemStatusAnimationTransitionToPersistentDot(contentDescription: String?): Animator? { in getAnimationState()
55 fun onHidePersistentDot(): Animator? { return null } in getAnimationState()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DRevealActivity.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
45 public void onAnimationStart(Animator animation) {
50 public void onAnimationRepeat(Animator animation) {
55 public void onAnimationEnd(Animator animation) {
60 public void onAnimationCancel(Animator animation) {
84 Animator animator = ViewAnimationUtils.createCircularReveal(view, in onClick()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DFixedTimingTransitionProgressProvider.kt18 import android.animation.Animator
89 private inner class AnimatorListener : Animator.AnimatorListener { in get()
91 override fun onAnimationStart(animator: Animator) { in get()
96 override fun onAnimationEnd(animator: Animator) { in get()
100 override fun onAnimationRepeat(animator: Animator) {} in get()
102 override fun onAnimationCancel(animator: Animator) {} in get()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt18 import android.animation.Animator in <lambda>()
61 private var unlockedRippleAnimator: Animator? = null in <lambda>()
62 private var fadeDwellAnimator: Animator? = null in <lambda>()
63 private var retractDwellAnimator: Animator? = null in <lambda>()
64 private var dwellPulseOutAnimator: Animator? = null in <lambda>()
150 override fun onAnimationStart(animation: Animator) { in <lambda>()
155 override fun onAnimationEnd(animation: Animator) { in <lambda>()
185 override fun onAnimationStart(animation: Animator) { in <lambda>()
191 override fun onAnimationEnd(animation: Animator) { in <lambda>()
242 override fun onAnimationStart(animation: Animator) { in <lambda>()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetCallsTest.java332 public void onAnimationCancel(Animator animation) { in endInCancel()
365 public void onAnimationStart(Animator animation, boolean isReverse) { in reentrantStart()
385 public void onAnimationEnd(Animator animation, boolean isReverse) { in reentrantEnd()
408 public void onAnimationPause(Animator animation) { in reentrantPause()
431 public void onAnimationResume(Animator animation) { in reentrantResume()
458 private static class CountListener implements Animator.AnimatorListener,
459 Animator.AnimatorPauseListener {
494 public void onAnimationStart(Animator animation, boolean isReverse) { in onAnimationStart()
503 public void onAnimationEnd(Animator animation, boolean isReverse) { in onAnimationEnd()
512 public void onAnimationStart(Animator animation) { in onAnimationStart()
[all …]
DAnimatorSetActivityTest.java55 static class MyListener implements Animator.AnimatorListener {
61 public void onAnimationStart(Animator animation) { in onAnimationStart()
66 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
71 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
76 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
109 ArrayList<Animator> children = s1.getChildAnimations(); in testGetChildAnimations()
125 ArrayList<Animator> s3Children = s3.getChildAnimations(); in testGetChildAnimations()
136 ArrayList<Animator> s4Children = s4.getChildAnimations(); in testGetChildAnimations()
140 Animator child = s3Children.get(i); in testGetChildAnimations()
147 ArrayList<Animator> list = getAnimatorList(); in testTotalDuration()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationDozeHelper.java19 import android.animation.Animator;
50 boolean dark, long delay, Animator.AnimatorListener listener) { in startIntensityAnimation()
72 public void onAnimationEnd(Animator animation) { in setDozing()
80 public void onAnimationStart(Animator animation) { in setDozing()
85 Animator animator = (Animator) view.getTag(DOZE_ANIMATOR_TAG); in setDozing()
/frameworks/base/core/java/android/transition/
DVisibility.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.Animator.AnimatorPauseListener;
249 public Animator createAnimator(@NonNull ViewGroup sceneRoot, in createAnimator()
285 public Animator onAppear(ViewGroup sceneRoot, in onAppear()
321 public Animator onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onAppear()
360 public Animator onDisappear(ViewGroup sceneRoot, in onDisappear()
458 Animator animator = onDisappear(sceneRoot, overlayView, startValues, endValues); in onDisappear()
496 Animator animator = onDisappear(sceneRoot, viewToKeep, startValues, endValues); in onDisappear()
544 public Animator onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onDisappear()
[all …]
DFade.java19 import android.animation.Animator;
119 private Animator createAnimation(final View view, float startAlpha, final float endAlpha) { in createAnimation()
141 public Animator onAppear(ViewGroup sceneRoot, View view, in onAppear()
157 public Animator onDisappear(ViewGroup sceneRoot, final View view, TransitionValues startValues, in onDisappear()
183 public void onAnimationStart(Animator animator) { in onAnimationStart()
191 public void onAnimationEnd(Animator animator) { in onAnimationEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/animation/
DMetadataAnimationHandler.kt19 import android.animation.Animator
30 private val exitAnimator: Animator,
31 private val enterAnimator: Animator
54 override fun onAnimationEnd(anim: Animator) { in onAnimationEnd()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimation.java22 import android.animation.Animator;
38 public class SplashScreenExitAnimation implements Animator.AnimatorListener {
126 public void onAnimationStart(Animator animation) { in onAnimationStart()
131 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
137 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
143 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()

12345678910>>...13