Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/java/android/animation/
DAnimator.java30 public abstract class Animator implements Cloneable { class
184 public abstract Animator setDuration(long duration); in setDuration()
392 public ConstantState<Animator> createConstantState() { in createConstantState()
397 public Animator clone() { in clone()
399 final Animator anim = (Animator) super.clone(); in clone()
537 default void onAnimationStart(Animator animation, boolean isReverse) { in onAnimationStart()
553 default void onAnimationEnd(Animator animation, boolean isReverse) { in onAnimationEnd()
562 void onAnimationStart(Animator animation); in onAnimationStart()
570 void onAnimationEnd(Animator animation); in onAnimationEnd()
578 void onAnimationCancel(Animator animation); in onAnimationCancel()
[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/CarSystemUI/src/com/android/systemui/car/hvac/
DTemperatureBackgroundAnimator.java24 import android.animation.Animator;
59 private Animator mCircularReveal;
141 List<Animator> animators = new ArrayList<>(); in animateOpen()
146 Animator startCircle = createEnterAnimator(); in animateOpen()
149 Animator holdOvershoot = ViewAnimationUtils in animateOpen()
155 Animator rest = ViewAnimationUtils in animateOpen()
160 Animator holdRest = ViewAnimationUtils in animateOpen()
166 Animator exit = createExitAnimator(mRestingRadius); in animateOpen()
177 Animator bump = ViewAnimationUtils in animateOpen()
186 Animator holdBump = ViewAnimationUtils in animateOpen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java18 import android.animation.Animator;
19 import android.animation.Animator.AnimatorListener;
111 public void onAnimationStart(Animator animation) { in startExitAnimation()
115 public void onAnimationRepeat(Animator animation) { in startExitAnimation()
119 public void onAnimationEnd(Animator animation) { in startExitAnimation()
126 public void onAnimationCancel(Animator animation) { in startExitAnimation()
140 public void onAnimationStart(Animator animation) { in startAccelSpin()
144 public void onAnimationRepeat(Animator animation) { in startAccelSpin()
148 public void onAnimationEnd(Animator animation) { in startAccelSpin()
153 public void onAnimationCancel(Animator animation) { in startAccelSpin()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java19 import android.animation.Animator;
99 private Animator.AnimatorListener mListener = null;
218 private HashMap<Animator, PropertyBundle> mAnimatorMap =
219 new HashMap<Animator, PropertyBundle>();
220 private HashMap<Animator, Runnable> mAnimatorSetupMap;
221 private HashMap<Animator, Runnable> mAnimatorCleanupMap;
222 private HashMap<Animator, Runnable> mAnimatorOnStartMap;
223 private HashMap<Animator, Runnable> mAnimatorOnEndMap;
371 public ViewPropertyAnimator setListener(Animator.AnimatorListener listener) { in setListener()
376 Animator.AnimatorListener getListener() { in getListener()
[all …]
DViewAnimationUtils.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
69 public static Animator createCircularReveal(View view, in createCircularReveal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleViewController.java19 import android.animation.Animator;
133 Animator getHandleAnimator(View view, float start, float end, boolean isLeft, long durationMs, in getHandleAnimator()
138 Animator scaleX = ObjectAnimator.ofFloat(view, View.SCALE_X, scaleStart, scaleEnd); in getHandleAnimator()
139 Animator scaleY = ObjectAnimator.ofFloat(view, View.SCALE_Y, scaleStart, scaleEnd); in getHandleAnimator()
143 Animator translateX = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, in getHandleAnimator()
146 Animator translateY = ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, in getHandleAnimator()
169 Animator first = getHandleAnimator(view, 0, 1.1f, isLeft, 750, in fade()
172 Animator second = getHandleAnimator(view, 1.1f, 0.97f, isLeft, 400, in fade()
174 Animator third = getHandleAnimator(view, 0.97f, 1.02f, isLeft, 400, in fade()
176 Animator fourth = getHandleAnimator(view, 1.02f, 1f, isLeft, 400, in fade()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationDozeHelper.java19 import android.animation.Animator;
45 public void onAnimationEnd(Animator animation) { in fadeGrayscale()
68 boolean dark, long delay, Animator.AnimatorListener listener) { in startIntensityAnimation()
90 public void onAnimationEnd(Animator animation) { in setDozing()
95 public void onAnimationStart(Animator animation) { in setDozing()
100 Animator animator = (Animator) view.getTag(DOZE_ANIMATOR_TAG); in setDozing()
/frameworks/base/tests/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/core/java/android/transition/
DVisibility.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.Animator.AnimatorPauseListener;
246 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator()
281 public Animator onAppear(ViewGroup sceneRoot, in onAppear()
317 public Animator onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onAppear()
356 public Animator onDisappear(ViewGroup sceneRoot, in onDisappear()
454 Animator animator = onDisappear(sceneRoot, overlayView, startValues, endValues); in onDisappear()
492 Animator animator = onDisappear(sceneRoot, viewToKeep, startValues, endValues); in onDisappear()
540 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()
DTranslationAnimationCreator.java18 import android.animation.Animator;
51 static Animator createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, in createAnimation()
113 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
123 public void onAnimationEnd(Animator animator) { in onAnimationEnd()
127 public void onAnimationPause(Animator animator) { in onAnimationPause()
135 public void onAnimationResume(Animator animator) { in onAnimationResume()
DChangeScroll.java19 import android.animation.Animator;
67 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator()
77 Animator scrollXAnimator = null; in createAnimator()
78 Animator scrollYAnimator = null; in createAnimator()
DTransition.java19 import android.animation.Animator;
201 private static ThreadLocal<ArrayMap<Animator, AnimationInfo>> sRunningAnimators =
202 new ThreadLocal<ArrayMap<Animator, AnimationInfo>>();
217 private ArrayList<Animator> mCurrentAnimators = new ArrayList<Animator>();
235 ArrayList<Animator> mAnimators = new ArrayList<Animator>();
472 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator()
695 ArrayMap<Animator, AnimationInfo> runningAnimators = getRunningAnimators(); in createAnimators()
733 Animator animator = createAnimator(sceneRoot, start, end); in createAnimators()
752 Animator anim = runningAnimators.keyAt(j); in createAnimators()
786 Animator animator = mAnimators.get(index); in createAnimators()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
32 private Animator mAnimator;
86 public void onAnimationStart(Animator animation) {
90 public void onAnimationEnd(Animator animation) {
97 public void onAnimationEnd(Animator animation) {
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java51 static class MyListener implements Animator.AnimatorListener {
57 public void onAnimationStart(Animator animation) { in onAnimationStart()
62 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
67 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
72 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
105 ArrayList<Animator> children = s1.getChildAnimations(); in testGetChildAnimations()
121 ArrayList<Animator> s3Children = s3.getChildAnimations(); in testGetChildAnimations()
132 ArrayList<Animator> s4Children = s4.getChildAnimations(); in testGetChildAnimations()
136 Animator child = s3Children.get(i); in testGetChildAnimations()
143 ArrayList<Animator> list = getAnimatorList(); in testTotalDuration()
[all …]
DEventsTest.java67 protected Animator.AnimatorListener mFutureListener; // mechanism for delaying end of the test
70 protected Animator mAnimator; // The animator used in the tests. Must be set in subclass
78 Animator mAnim;
81 public Canceler(Animator anim, FutureWaiter future) { in Canceler()
108 Animator mAnim;
111 public Ender(Animator anim, FutureWaiter future) { in Ender()
131 Animator mAnim;
134 public Pauser(Animator anim, FutureWaiter future) { in Pauser()
154 Animator mAnim;
157 public Resumer(Animator anim, FutureWaiter future) { in Resumer()
[all …]
DAutoCancelTest.java47 HashMap<Animator, Boolean> mCanceledMap = new HashMap<Animator, Boolean>();
81 public void onAnimationStart(Animator animation) { in setupAnimators()
96 public void onAnimationStart(Animator animation) { in setupAnimators()
108 public void onAnimationEnd(Animator animation) { in setupAnimators()
187 public void onAnimationCancel(Animator animation) {
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java21 import android.animation.Animator;
24 import android.animation.Animator.AnimatorListener;
210 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
214 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
218 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
222 public void onAnimationStart(Animator animation) { in onAnimationStart()
DAbsActionBarView.java18 import android.animation.Animator;
55 protected Animator mVisibilityAnim;
194 public Animator setupAnimatorToVisibility(int visibility, long duration) { in setupAnimatorToVisibility()
239 Animator anim = setupAnimatorToVisibility(visibility, FADE_DURATION); in animateToVisibility()
333 protected class VisibilityAnimListener implements Animator.AnimatorListener {
343 public void onAnimationStart(Animator animation) { in onAnimationStart()
350 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
361 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
366 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlButtonView.java19 import android.animation.Animator;
42 private Animator mTextFocusGainAnimator;
43 private Animator mButtonFocusGainAnimator;
44 private Animator mTextFocusLossAnimator;
45 private Animator mButtonFocusLossAnimator;
160 private static void cancelAnimator(Animator animator) { in cancelAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsAnimations.kt19 import android.animation.Animator in <lambda>()
99 fun enterAnimation(view: View): Animator { in <lambda>()
130 fun exitAnimation(view: View, onEnd: Runnable? = null): Animator { in <lambda>()
148 override fun onAnimationEnd(animation: Animator) { in <lambda>()
172 val animator: (view: View) -> Animator
186 ): Animator? = animator(startValues!!.view)
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DPlayAnimationThread.java24 import android.animation.Animator;
28 private final Animator mAnimator;
30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, in PlayAnimationThread()

1234567