HomeSort by relevance Sort by last modified time
    Searched refs:animation (Results 1 - 25 of 1005) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/support/v4/donut/android/support/v4/animation/
AnimatorUpdateListenerCompat.java 17 package android.support.v4.animation;
21 * to a <code>ValueAnimator</code> instance to receive callbacks on every animation
30 * <p>Notifies the occurrence of another frame of the animation.</p>
32 * @param animation The animation which was repeated.
34 void onAnimationUpdate(ValueAnimatorCompat animation);
AnimatorListenerCompat.java 17 package android.support.v4.animation;
20 * <p>An animation listener that receives notifications from an animation.
21 * Notifications indicate animation related events, such as the end or the
22 * repetition of the animation.</p>
29 * <p>Notifies the start of the animation.</p>
31 * @param animation The started animation.
33 void onAnimationStart(ValueAnimatorCompat animation);
36 * <p>Notifies the end of the animation. This callback is not invoke
    [all...]
  /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/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/jmonkeyengine/engine/src/core/com/jme3/animation/
LoopMode.java 33 package com.jme3.animation;
41 * The animation will play repeatedly, when it reaches the end
42 * the animation will play again from the beginning, and so on.
47 * The animation will not loop. It will play until the last frame, and then
48 * freeze at that frame. It is possible to decide to play a new animation
54 * The animation will cycle back and forth. When reaching the end, the
55 * animation will play backwards from the last frame until it reaches
  /frameworks/base/core/java/com/android/internal/view/animation/
NativeInterpolatorFactory.java 17 package com.android.internal.view.animation;
  /packages/apps/Camera/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/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/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...]
  /cts/tests/tests/view/src/android/view/animation/cts/
LayoutAnimationController_AnimationParametersTest.java 17 package android.view.animation.cts;
21 import android.view.animation.LayoutAnimationController;
AnimationTest.java 17 package android.view.animation.cts;
29 import android.view.animation.AccelerateDecelerateInterpolator;
30 import android.view.animation.AccelerateInterpolator;
31 import android.view.animation.Animation;
32 import android.view.animation.AnimationUtils;
33 import android.view.animation.DecelerateInterpolator;
34 import android.view.animation.Interpolator;
35 import android.view.animation.Transformation;
36 import android.view.animation.Animation.AnimationListener
88 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local
100 Animation animation = new Animation() { local
114 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local
119 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local
140 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local
158 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local
174 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local
188 Animation animation = new Animation() { local
330 Animation animation = new Animation() { local
346 animation, ACCELERATE_ALPHA_DURATION + startOffset); local
372 Animation animation = new Animation() { local
    [all...]
GridLayoutAnimationController_AnimationParametersTest.java 17 package android.view.animation.cts;
21 import android.view.animation.GridLayoutAnimationController;
22 import android.view.animation.GridLayoutAnimationController.AnimationParameters;
AlphaAnimationTest.java 17 package android.view.animation.cts;
23 import android.view.animation.AlphaAnimation;
24 import android.view.animation.Transformation;
41 AlphaAnimation animation = new AlphaAnimation(mContext, null); local
42 assertFalse(animation.willChangeBounds());
46 AlphaAnimation animation = new AlphaAnimation(0.0f, 0.5f); local
47 assertFalse(animation.willChangeTransformationMatrix());
51 MyAlphaAnimation animation = new MyAlphaAnimation(0.0f, 1.0f); local
55 animation.applyTransformation(0.0f, transformation);
58 animation.applyTransformation(0.5f, transformation)
    [all...]
AnimationTestUtils.java 17 package android.view.animation.cts;
23 import android.view.animation.Animation;
24 import android.view.animation.LayoutAnimationController;
27 * The utility methods for animation test.
41 * Assert run an animation successfully. Timeout is duration of animation.
43 * @param instrumentation to run animation.
44 * @param view view window to run animation.
45 * @param animation will be run
    [all...]
  /frameworks/support/design/base/android/support/design/widget/
AnimationUtils.java 19 import android.support.v4.view.animation.FastOutSlowInInterpolator;
20 import android.view.animation.Animation;
21 import android.view.animation.DecelerateInterpolator;
22 import android.view.animation.Interpolator;
23 import android.view.animation.LinearInterpolator;
42 static class AnimationListenerAdapter implements Animation.AnimationListener {
44 public void onAnimationStart(Animation animation) {
48 public void onAnimationEnd(Animation animation)
    [all...]
  /external/robolectric/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
  /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;
30 * This is a helper class that listens to updates from the corresponding animation.
31 * For the first two frames, it adjusts the current play time of the animation to
32 * prevent jank at the beginning of the animation
60 public void onAnimationStart(Animator animation) {
61 final ValueAnimator va = (ValueAnimator) animation;
89 public void onAnimationUpdate(final ValueAnimator animation) {
96 final long currentPlayTime = animation.getCurrentPlayTime()
    [all...]

Completed in 625 milliseconds

1 2 3 4 5 6 7 8 91011>>