Home
last modified time | relevance | path

Searched refs:Animator (Results 1 – 25 of 164) 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/statusbar/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/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()
89 public void onAnimationEnd(Animator animation) { in setIntensityDark()
94 public void onAnimationStart(Animator animation) { in setIntensityDark()
99 Animator animator = (Animator) view.getTag(DOZE_ANIMATOR_TAG); in setIntensityDark()
/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()
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/legacy/recents/src/com/android/systemui/recents/utilities/
DAnimationProps.java19 import android.animation.Animator;
58 private Animator.AnimatorListener mListener;
78 Animator.AnimatorListener listener) { in AnimationProps()
95 Animator.AnimatorListener listener) { in AnimationProps()
106 public AnimatorSet createAnimator(List<Animator> animators) { in createAnimator()
205 public AnimationProps setListener(Animator.AnimatorListener listener) { in setListener()
213 public Animator.AnimatorListener getListener() { in getListener()
/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/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarQSFragment.java19 import android.animation.Animator;
233 List<Animator> allAnimators = new ArrayList<>(); in animateHeightChange()
242 Animator nameAnimator = AnimatorInflater.loadAnimator(getContext(), in animateHeightChange()
248 Animator iconAnimator = AnimatorInflater.loadAnimator(getContext(), in animateHeightChange()
257 public void onAnimationEnd(Animator animation) { in animateHeightChange()
261 mAnimatorSet.playTogether(allAnimators.toArray(new Animator[0])); in animateHeightChange()
270 private void setupInitialValues(Animator anim) { in setupInitialValues()
272 for (Animator a : ((AnimatorSet) anim).getChildAnimations()) { in setupInitialValues()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageRevealHelper.java19 import android.animation.Animator;
53 public void onAnimationCancel(Animator animation) { in ImageRevealHelper()
58 public void onAnimationEnd(Animator animation) { in ImageRevealHelper()
66 public void onAnimationStart(Animator animation) { in ImageRevealHelper()
/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.java26 import android.animation.Animator;
56 protected Animator mVisibilityAnim;
195 public Animator setupAnimatorToVisibility(int visibility, long duration) { in setupAnimatorToVisibility()
240 Animator anim = setupAnimatorToVisibility(visibility, FADE_DURATION); in animateToVisibility()
334 protected class VisibilityAnimListener implements Animator.AnimatorListener {
344 public void onAnimationStart(Animator animation) { in onAnimationStart()
351 public void onAnimationEnd(Animator animation) { in onAnimationEnd()
362 public void onAnimationCancel(Animator animation) { in onAnimationCancel()
367 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/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