/frameworks/base/core/java/android/view/animation/ |
Interpolator.java | 17 package android.view.animation; 19 import android.animation.TimeInterpolator; 22 * An interpolator defines the rate of change of an animation. This allows 23 * the basic animation effects (alpha, scale, translate, rotate) to be 27 // A new interface, TimeInterpolator, was introduced for the new android.animation
|
/frameworks/base/core/java/android/animation/ |
AnimatorListenerAdapter.java | 17 package android.animation; 20 * This adapter class provides empty implementations of the methods from {@link android.animation.Animator.AnimatorListener}. 31 public void onAnimationCancel(Animator animation) { 38 public void onAnimationEnd(Animator animation) { 45 public void onAnimationRepeat(Animator animation) { 52 public void onAnimationStart(Animator animation) { 59 public void onAnimationPause(Animator animation) { 66 public void onAnimationResume(Animator animation) {
|
TimeInterpolator.java | 17 package android.animation; 20 * A time interpolator defines the rate of change of an animation. This allows animations 26 * Maps a value representing the elapsed fraction of an animation to a value that represents 28 * value of an animation to derive the animated value at the current elapsed animation time. 31 * in the animation where 0 represents the start and 1.0 represents
|
/packages/apps/Dialer/java/com/android/dialer/animation/ |
AnimationListenerAdapter.java | 17 package com.android.dialer.animation; 19 import android.view.animation.Animation; 20 import android.view.animation.Animation.AnimationListener; 30 public void onAnimationStart(Animation animation) {} 34 public void onAnimationEnd(Animation animation) {} 38 public void onAnimationRepeat(Animation animation) { [all...] |
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
AnimationListenerAdapter.java | 17 package com.android.phone.common.animation; 19 import android.view.animation.Animation; 20 import android.view.animation.Animation.AnimationListener; 32 public void onAnimationStart(Animation animation) { 39 public void onAnimationEnd(Animation animation) { 46 public void onAnimationRepeat(Animation animation) [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
TestAnimationListener.java | 3 import android.view.animation.Animation; 4 import android.view.animation.Animation.AnimationListener; 13 public void onAnimationStart(Animation animation) { 18 public void onAnimationEnd(Animation animation) { 23 public void onAnimationRepeat(Animation animation) { [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
TestAnimatorListener.java | 3 import android.animation.Animator; 10 public void onAnimationStart(Animator animation) { 15 public void onAnimationEnd(Animator animation) { 20 public void onAnimationCancel(Animator animation) { 24 public void onAnimationRepeat(Animator animation) {
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
AnimationSuccessListener.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 30 public void onAnimationCancel(Animator animation) { 35 public void onAnimationEnd(Animator animation) { 37 onAnimationSuccess(animation);
|
PropertyResetListener.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ObjectAnimator; 25 * An AnimatorListener that sets the given property to the given value at the end of the animation. 38 public void onAnimationEnd(Animator animation) { 39 mPropertyToReset.set((T) ((ObjectAnimator) animation).getTarget(), mResetToValue);
|
/frameworks/base/core/java/com/android/internal/view/animation/ |
NativeInterpolatorFactory.java | 17 package com.android.internal.view.animation;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
Rotatable.java | 20 // Set parameter 'animation' to true to have animation when rotation. 21 public void setOrientation(int orientation, boolean animation);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAnimatorUpdateListener.java | 19 import android.animation.ValueAnimator; 20 import android.animation.ValueAnimator.AnimatorUpdateListener; 23 public void onAnimationUpdate(ValueAnimator animation) { 24 final float b = (Float) animation.getAnimatedValue();
|
FirstFrameAnimatorHelper.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 28 * This is a helper class that listens to updates from the corresponding animation. 29 * For the first two frames, it adjusts the current play time of the animation to 30 * prevent jank at the beginning of the animation 58 public void onAnimationStart(Animator animation) { 59 final ValueAnimator va = (ValueAnimator) animation; 87 public void onAnimationUpdate(final ValueAnimator animation) { 94 boolean isFinalFrame = Float.compare(1f, animation.getAnimatedFraction()) == 0 [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/ |
ViewPropertyAnimationFactory.java | 1 package com.bumptech.glide.request.animation; 10 private ViewPropertyAnimation<R> animation; field in class:ViewPropertyAnimationFactory 21 * {@link com.bumptech.glide.request.animation.ViewPropertyAnimation.Animator} provided in the constructor. 28 if (animation == null) { 29 animation = new ViewPropertyAnimation<R>(animator); 32 return animation;
|
DrawableCrossFadeFactory.java | 1 package com.bumptech.glide.request.animation; 5 import android.view.animation.AlphaAnimation; 6 import android.view.animation.Animation; 9 * A factory class that produces a new {@link com.bumptech.glide.request.animation.GlideAnimation} that varies depending 16 * typically does not expect to see an animation. As a result, when the resource is loaded from the memory 17 * cache this factory produces an {@link com.bumptech.glide.request.animation.NoAnimation}. 26 private DrawableCrossFadeViewAnimation<T> animation; field in class:DrawableCrossFadeFactory 40 public DrawableCrossFadeFactory(Animation defaultAnimation, int duration) { 55 if (animation == null) 67 AlphaAnimation animation = new AlphaAnimation(0f, 1f); local [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
TestAnimationListener.java | 3 import android.view.animation.Animation; 4 import android.view.animation.Animation.AnimationListener; 13 public void onAnimationStart(Animation animation) { 18 public void onAnimationEnd(Animation animation) { 23 public void onAnimationRepeat(Animation animation) { [all...] |
/system/core/healthd/ |
healthd_draw.h | 23 #include "animation.h" 29 // Configures font using given animation. 30 HealthdDraw(animation* anim); 34 void redraw_screen(const animation* batt_anim, GRSurface* surf_unknown); 49 virtual void determine_xy(const animation::text_field& field, 52 // Draws battery animation, if it exists. 53 virtual void draw_battery(const animation* anim); 54 // Draws clock text, if animation contains text_field data. 55 virtual void draw_clock(const animation* anim); 56 // Draws battery percentage text if animation contains text_field data [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
KeepAwakeAnimationListener.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 22 import android.view.animation.Animation; 28 implements Animation.AnimationListener { 35 sWakeLock = WakeLock.createPartial(context, "animation"); 40 public void onAnimationStart(Animation animation) { 45 public void onAnimationEnd(Animation animation) { [all...] |
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/ |
Force.java | 17 package androidx.dynamicanimation.animation;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AnimationTest.java | 4 import android.view.animation.Animation; 5 import android.view.animation.LinearInterpolator; 6 import android.view.animation.Transformation; 20 private TestAnimation animation; field in class:AnimationTest 26 animation = new TestAnimation(); 27 shadow = shadowOf(animation); 29 animation.setAnimationListener(listener); 35 animation.start(); 44 animation.cancel() [all...] |
/frameworks/base/core/java/android/view/ |
ViewAnimationUtils.java | 19 import android.animation.Animator; 20 import android.animation.Animator.AnimatorListener; 21 import android.animation.RevealAnimator; 35 * Views clipped by a circular reveal animation take priority over 38 * Note that the animation returned here is a one-shot animation. It cannot 40 * an asynchronous animation that automatically runs off of the UI thread. 42 * will occur after the animation has ended, but it may be delayed depending
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
CurvedTranslateAnimation.java | 17 package com.android.server.wm.animation; 19 import android.animation.KeyframeSet; 20 import android.animation.PathKeyframes; 23 import android.view.animation.Animation; 24 import android.view.animation.Transformation; 27 * Translate animation which follows a curved path. 29 public class CurvedTranslateAnimation extends Animation {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LayoutAnimation2.java | 21 import android.view.animation.AlphaAnimation; 22 import android.view.animation.Animation; 23 import android.view.animation.AnimationSet; 24 import android.view.animation.LayoutAnimationController; 25 import android.view.animation.TranslateAnimation; 39 Animation animation = new AlphaAnimation(0.0f, 1.0f); local 40 animation.setDuration(50); 41 set.addAnimation(animation); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
FirstFrameAnimatorHelper.java | 19 import android.animation.Animator; 20 import android.animation.AnimatorListenerAdapter; 21 import android.animation.ValueAnimator; 31 * This is a helper class that listens to updates from the corresponding animation. 32 * For the first two frames, it adjusts the current play time of the animation to 33 * prevent jank at the beginning of the animation 61 public void onAnimationStart(Animator animation) { 62 final ValueAnimator va = (ValueAnimator) animation; 81 public void onAnimationUpdate(final ValueAnimator animation) { 88 final long currentPlayTime = animation.getCurrentPlayTime() [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTestUtils.java | 17 package android.view.animation.cts; 24 import android.view.animation.Animation; 25 import android.view.animation.LayoutAnimationController; 30 * The utility methods for animation test. 44 * Assert run an animation successfully. Timeout is duration of animation. 46 * @param instrumentation to run animation. 47 * @param activityTestRule to run animation. 48 * @param view view window to run animation [all...] |