Home
last modified time | relevance | path

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

123456

/frameworks/base/core/java/android/animation/
DAnimator.java27 public abstract class Animator implements Cloneable { class
177 public abstract Animator setDuration(long duration); in setDuration()
368 public ConstantState<Animator> createConstantState() { in createConstantState()
373 public Animator clone() { in clone()
375 final Animator anim = (Animator) super.clone(); in clone()
451 void onAnimationStart(Animator animation); in onAnimationStart()
459 void onAnimationEnd(Animator animation); in onAnimationEnd()
467 void onAnimationCancel(Animator animation); in onAnimationCancel()
474 void onAnimationRepeat(Animator animation); in onAnimationRepeat()
490 void onAnimationPause(Animator animation); in onAnimationPause()
[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.java145 private Animator mDisappearingAnim = null;
146 private Animator mAppearingAnim = null;
147 private Animator mChangingAppearingAnim = null;
148 private Animator mChangingDisappearingAnim = null;
149 private Animator mChangingAnim = null;
223 private final HashMap<View, Animator> pendingAnimations =
224 new HashMap<View, Animator>();
225 private final LinkedHashMap<View, Animator> currentChangingAnimations =
226 new LinkedHashMap<View, Animator>();
227 private final LinkedHashMap<View, Animator> currentAppearingAnimations =
[all …]
DAnimatorSet.java51 public final class AnimatorSet extends Animator {
64 private ArrayList<Animator> mPlayingSet = new ArrayList<Animator>();
72 private ArrayMap<Animator, Node> mNodeMap = new ArrayMap<Animator, Node>();
140 public void playTogether(Animator... items) { in playTogether()
155 public void playTogether(Collection<Animator> items) { in playTogether()
159 for (Animator anim : items) { in playTogether()
175 public void playSequentially(Animator... items) { in playSequentially()
195 public void playSequentially(List<Animator> items) { in playSequentially()
217 public ArrayList<Animator> getChildAnimations() { in getChildAnimations()
218 ArrayList<Animator> childList = new ArrayList<Animator>(); in getChildAnimations()
[all …]
DStateListAnimator.java52 private Animator mRunningAnimator = null;
65 public void onAnimationEnd(Animator animation) { in initAnimatorListener()
81 public void addState(int[] specs, Animator animator) { in addState()
95 public Animator getRunningAnimator() { in getRunningAnimator()
147 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
279 final Animator mAnimator;
281 private Tuple(int[] specs, Animator animator) { in Tuple()
296 public Animator getAnimator() { in getAnimator()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFragmentAnimationProvider.java16 import android.animation.Animator;
32 public abstract void onActivityEnter(@NonNull List<Animator> animators); in onActivityEnter()
38 public abstract void onActivityExit(@NonNull List<Animator> animators); in onActivityExit()
46 public abstract void onFragmentEnter(@NonNull List<Animator> animators); in onFragmentEnter()
54 public abstract void onFragmentExit(@NonNull List<Animator> animators); in onFragmentExit()
62 public abstract void onFragmentReenter(@NonNull List<Animator> animators); in onFragmentReenter()
70 public abstract void onFragmentReturn(@NonNull List<Animator> animators); in onFragmentReturn()
DGuidanceStylist.java16 import android.animation.Animator;
226 public void onActivityEnter(@NonNull List<Animator> animators) { in onActivityEnter()
237 public void onActivityExit(@NonNull List<Animator> animators) {} in onActivityExit()
243 public void onFragmentEnter(@NonNull List<Animator> animators) { in onFragmentEnter()
254 public void onFragmentExit(@NonNull List<Animator> animators) { in onFragmentExit()
265 public void onFragmentReenter(@NonNull List<Animator> animators) { in onFragmentReenter()
276 public void onFragmentReturn(@NonNull List<Animator> animators) { in onFragmentReturn()
283 private void addAnimator(List<Animator> animators, View v, int attrId) { in addAnimator()
288 Animator animator = AnimatorInflater.loadAnimator(ctx, typedValue.resourceId); in addAnimator()
DGuidedActionsStylist.java16 import android.animation.Animator;
417 Animator animator = createAnimator(checkView, in onAnimateItemChecked()
421 public void onAnimationEnd(Animator animation) { in onAnimateItemChecked()
440 public void onActivityEnter(@NonNull List<Animator> animators) { in onActivityEnter()
448 public void onActivityExit(@NonNull List<Animator> animators) {} in onActivityExit()
454 public void onFragmentEnter(@NonNull List<Animator> animators) { in onFragmentEnter()
463 public void onFragmentExit(@NonNull List<Animator> animators) { in onFragmentExit()
472 public void onFragmentReenter(@NonNull List<Animator> animators) { in onFragmentReenter()
481 public void onFragmentReturn(@NonNull List<Animator> animators) { in onFragmentReturn()
517 private static Animator createAnimator(View v, int attrId) { in createAnimator()
[all …]
/frameworks/support/v4/honeycomb_mr1/android/support/v4/animation/
DHoneycombMr1AnimatorCompatProvider.java19 import android.animation.Animator;
44 final Animator mWrapped;
46 public HoneycombValueAnimatorCompat(Animator wrapped) { in HoneycombValueAnimatorCompat()
95 static class AnimatorListenerCompatWrapper implements Animator.AnimatorListener {
108 public void onAnimationStart(Animator animation) { in onAnimationStart()
113 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
118 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
123 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java18 import android.animation.Animator;
19 import android.animation.Animator.AnimatorListener;
109 public void onAnimationStart(Animator animation) { in startExitAnimation()
113 public void onAnimationRepeat(Animator animation) { in startExitAnimation()
117 public void onAnimationEnd(Animator animation) { in startExitAnimation()
124 public void onAnimationCancel(Animator animation) { in startExitAnimation()
138 public void onAnimationStart(Animator animation) { in startAccelSpin()
142 public void onAnimationRepeat(Animator animation) { in startAccelSpin()
146 public void onAnimationEnd(Animator animation) { in startAccelSpin()
151 public void onAnimationCancel(Animator animation) { in startAccelSpin()
DTrustDrawable.java21 import android.animation.Animator;
59 private Animator mCurAnimator;
70 private final Animator mVisibleAnimator;
212 private Animator makeVisibleAnimator() { in makeVisibleAnimator()
219 private Animator makeEnterAnimator(float radius, int alpha) { in makeEnterAnimator()
225 private Animator makeExitAnimator(float radius, int alpha) { in makeExitAnimator()
231 private Animator makeAnimators(float startRadius, float endRadius, in makeAnimators()
284 public void onAnimationStart(Animator animation) { in onAnimationStart()
289 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
294 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java19 import android.animation.Animator;
97 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 ViewPropertyAnimator setListener(Animator.AnimatorListener listener) { in setListener()
379 Animator.AnimatorListener getListener() { in getListener()
[all …]
DViewAnimationUtils.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
53 public static Animator createCircularReveal(View view, in createCircularReveal()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/animation/
DUntargetableAnimatorSet.java16 import android.animation.Animator;
33 public class UntargetableAnimatorSet extends Animator {
42 public void addListener(Animator.AnimatorListener listener) { in addListener()
52 public Animator clone() { in clone()
67 public ArrayList<Animator.AnimatorListener> getListeners() { in getListeners()
92 public void removeListener(Animator.AnimatorListener listener) { in removeListener()
97 public Animator setDuration(long duration) { in setDuration()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatedVectorDrawableCompat.java17 import android.animation.Animator;
336 Animator objectAnimator = AnimatorInflater.loadAnimator(mContext, id); in inflate()
360 ArrayList<Animator> mAnimators;
361 ArrayMap<Animator, String> mTargetNameMap;
382 mAnimators = new ArrayList<Animator>(numAnimators); in AnimatedVectorDrawableCompatState()
383 mTargetNameMap = new ArrayMap<Animator, String>(numAnimators); in AnimatedVectorDrawableCompatState()
385 Animator anim = copy.mAnimators.get(i); in AnimatedVectorDrawableCompatState()
386 Animator animClone = anim.clone(); in AnimatedVectorDrawableCompatState()
420 private void setupAnimatorsForTarget(String name, Animator animator) { in setupAnimatorsForTarget()
424 mAnimatedVectorState.mAnimators = new ArrayList<Animator>(); in setupAnimatorsForTarget()
[all …]
/frameworks/base/core/java/android/transition/
DFade.java21 import android.animation.Animator;
111 private Animator createAnimation(final View view, float startAlpha, final float endAlpha) { in createAnimation()
133 public Animator onAppear(ViewGroup sceneRoot, View view, in onAppear()
145 public Animator onDisappear(ViewGroup sceneRoot, final View view, TransitionValues startValues, in onDisappear()
160 public void onAnimationStart(Animator animator) { in onAnimationStart()
168 public void onAnimationEnd(Animator animator) { in onAnimationEnd()
176 public void onAnimationPause(Animator animator) { in onAnimationPause()
182 public void onAnimationResume(Animator animator) { in onAnimationResume()
DVisibility.java21 import android.animation.Animator;
22 import android.animation.Animator.AnimatorListener;
23 import android.animation.Animator.AnimatorPauseListener;
238 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator()
273 public Animator onAppear(ViewGroup sceneRoot, in onAppear()
315 public Animator onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onAppear()
354 public Animator onDisappear(ViewGroup sceneRoot, in onDisappear()
424 Animator animator = onDisappear(sceneRoot, overlayView, startValues, endValues); in onDisappear()
447 Animator animator = onDisappear(sceneRoot, viewToKeep, startValues, endValues); in onDisappear()
495 public Animator onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onDisappear()
[all …]
/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/support/design/honeycomb-mr1/android/support/design/widget/
DFloatingActionButtonHoneycombMr1.java19 import android.animation.Animator;
51 public void onAnimationStart(Animator animation) { in hide()
57 public void onAnimationCancel(Animator animation) { in hide()
62 public void onAnimationEnd(Animator animation) { in hide()
85 public void onAnimationStart(Animator animation) { in show()
/frameworks/support/v4/jellybean/android/support/v4/view/
DViewPropertyAnimatorCompatJB.java18 import android.animation.Animator;
41 public void onAnimationCancel(Animator animation) { in setListener()
46 public void onAnimationEnd(Animator animation) { in setListener()
51 public void onAnimationStart(Animator animation) { in setListener()
/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/support/v17/preference-leanback/api21/android/support/v17/preference/
DLeanbackPreferenceFragmentTransitionHelperApi21.java19 import android.animation.Animator;
142 public Animator onAppear(ViewGroup sceneRoot, View view, in onAppear()
150 final Animator slideAnimator = TranslationAnimationCreator in onAppear()
161 public Animator onDisappear(ViewGroup sceneRoot, View view, in onDisappear()
169 final Animator slideAnimator = TranslationAnimationCreator in onDisappear()
221 static Animator createAnimation(View view, TransitionValues values, int viewPosX, in createAnimation()
275 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
281 public void onAnimationEnd(Animator animator) { in onAnimationEnd()
285 public void onAnimationPause(Animator animator) { in onAnimationPause()
291 public void onAnimationResume(Animator animator) { in onAnimationResume()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java25 import android.animation.Animator;
54 protected Animator mVisibilityAnim;
139 public Animator setupAnimatorToVisibility(int visibility, long duration) { in setupAnimatorToVisibility()
184 Animator anim = setupAnimatorToVisibility(visibility, FADE_DURATION); in animateToVisibility()
277 protected class VisibilityAnimListener implements Animator.AnimatorListener {
287 public void onAnimationStart(Animator animation) { in onAnimationStart()
294 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
305 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
310 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat()
/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java54 protected Animator.AnimatorListener mFutureListener; // mechanism for delaying end of the test
56 private Animator.AnimatorListener mListener; // Listener that handles/tests the events
58 protected Animator mAnimator; // The animator used in the tests. Must be set in subclass
66 Animator mAnim;
68 public Canceler(Animator anim, FutureWaiter future) { in Canceler()
94 Animator mAnim;
96 public Ender(Animator anim, FutureWaiter future) { in Ender()
115 Animator mAnim;
117 public Pauser(Animator anim, FutureWaiter future) { in Pauser()
136 Animator mAnim;
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java17 import android.animation.Animator;
21 import android.animation.Animator.AnimatorListener;
337 final Animator objectAnimator = AnimatorInflater.loadAnimator( in inflate()
395 ArrayList<Animator> mAnimators;
398 ArrayMap<Animator, String> mTargetNameMap;
463 public void addTargetAnimator(String targetName, Animator animator) { in addTargetAnimator()
508 final Animator firstAnim = prepareLocalAnimator(0); in prepareLocalAnimators()
511 final Animator nextAnim = prepareLocalAnimator(i); in prepareLocalAnimators()
523 private Animator prepareLocalAnimator(int index) { in prepareLocalAnimator()
524 final Animator animator = mAnimators.get(index); in prepareLocalAnimator()
[all …]

123456