/external/replicaisland/src/com/replica/replicaisland/ |
DoorAnimationComponent.java | 23 public static final class Animation { 49 setPhase(ComponentPhases.ANIMATION.ordinal()); 66 final float openAnimationLength = mSprite.findAnimation(Animation.OPENING).getLength(); 72 mSprite.playAnimation(Animation.OPEN); 92 mSprite.playAnimation(Animation.OPENING); 107 final float closeAnimationLength = mSprite.findAnimation(Animation.CLOSING).getLength(); 111 mSprite.playAnimation(Animation.CLOSED); 123 mSprite.playAnimation(Animation.CLOSING); 158 mSprite.playAnimation(Animation.OPEN); 161 mSprite.playAnimation(Animation.CLOSED) [all...] |
ButtonAnimationComponent.java | 22 public static final class Animation { 34 setPhase(ComponentPhases.ANIMATION.ordinal()); 54 if (mSprite.getCurrentAnimation() == Animation.UP) { 60 mSprite.playAnimation(Animation.DOWN); 68 mSprite.playAnimation(Animation.UP);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AnimationSetTest.java | 9 import android.view.animation.*; 31 Animation alpha = new AlphaAnimation(1f, 2f); 32 Animation translate = new TranslateAnimation(1f, 2f, 3f, 4f); 33 Animation rotate = new RotateAnimation(1f, 2f); 38 List<Animation> list = shadow.getAnimations();
|
AnimationUtilsTest.java | 5 import android.view.animation.Animation; 6 import android.view.animation.AnimationUtils; 27 Animation anim = AnimationUtils.loadAnimation(new Activity(), R.anim.fade_in);
|
/frameworks/base/cmds/bootanimation/iot/ |
iotbootanimation_main.cpp | 36 typedef android::BootAnimation::Animation Animation; 41 void init(const Vector<Animation::Part>&) override { 55 void playPart(int partNumber, const Animation::Part&, int playNumber) override { 80 ALOGI("boot animation disabled");
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
FloatAnimation.java | 19 public class FloatAnimation extends Animation {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
Animation.java | 36 * <p>Example of using a custom animation when transitioning between activities.</p> 38 public class Animation extends Activity { 39 private static final String TAG = "Animation"; 78 Log.i(TAG, "Starting fade-in animation..."); 80 startActivity(new Intent(Animation.this, AlertDialogSamples.class)); 81 // Supply a custom animation. This one will just fade the new 82 // activity on top. Note that we need to also supply an animation 91 Log.i(TAG, "Starting zoom-in animation..."); 93 startActivity(new Intent(Animation.this, AlertDialogSamples.class)); 94 // This is a more complicated animation, involving transformation [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTest.java | 17 package android.view.animation.cts; 46 import android.view.animation.AccelerateDecelerateInterpolator; 47 import android.view.animation.AccelerateInterpolator; 48 import android.view.animation.Animation; 49 import android.view.animation.Animation.AnimationListener; 50 import android.view.animation.AnimationUtils; 51 import android.view.animation.DecelerateInterpolator; 52 import android.view.animation.Interpolator 122 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 135 Animation animation = new Animation() { local 150 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local 214 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 229 Animation animation = new Animation() { local 344 Animation animation = new Animation() { local 387 Animation animation = new Animation() { local [all...] |
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...] |
AnimationSetTest.java | 17 package android.view.animation.cts; 35 import android.view.animation.AccelerateInterpolator; 36 import android.view.animation.AlphaAnimation; 37 import android.view.animation.Animation; 38 import android.view.animation.AnimationSet; 39 import android.view.animation.ScaleAnimation; 40 import android.view.animation.Transformation; 41 import android.view.animation.TranslateAnimation; 94 List<Animation> children = animationSet.getAnimations() [all...] |
AnimationUtilsTest.java | 17 package android.view.animation.cts; 27 import android.view.animation.AccelerateInterpolator; 28 import android.view.animation.AlphaAnimation; 29 import android.view.animation.Animation; 30 import android.view.animation.AnimationUtils; 31 import android.view.animation.GridLayoutAnimationController; 32 import android.view.animation.Interpolator; 33 import android.view.animation.LayoutAnimationController; 64 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha) local [all...] |
/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 17 package android.view.animation; 30 * A layout animation controller is used to animated a layout's, or a view 31 * group's, children. Each child uses the same animation but for every one of 32 * them, the animation starts at a different time. A layout animation controller 34 * child's animation start must be offset. The delay is computed by using 42 * {@link android.view.animation.GridLayoutAnimationController} will compute the 46 * Information used to compute the animation delay of each child are stored 48 * {@link android.view.animation.LayoutAnimationController.AnimationParameters}, 58 * Distributes the animation delays in the order in which view were adde 327 final Animation animation = mAnimation.clone(); local [all...] |
AnimationSet.java | 17 package android.view.animation; 30 * The transformation of each individual animation are composed 36 * <p>The way that AnimationSet inherits behavior from Animation is important to 37 * understand. Some of the Animation attributes applied to AnimationSet affect the 52 public class AnimationSet extends Animation { 66 private ArrayList<Animation> mAnimations = new ArrayList<Animation>(); 118 * Pass false if each animation should use its own interpolator. 127 final AnimationSet animation = (AnimationSet) super.clone(); local 128 animation.mTempTransformation = new Transformation() [all...] |
/frameworks/base/cmds/bootanimation/ |
bootanimation_main.cpp | 43 typedef android::BootAnimation::Animation Animation; 101 void init(const Vector<Animation::Part>& parts) override { 102 const Animation::Part* partWithAudio = nullptr; 103 for (const Animation::Part& part : parts) { 119 void playPart(int partNumber, const Animation::Part& part, int playNumber) override { 150 ALOGI_IF(noBootAnimation, "boot animation disabled"); 158 // create the boot animation object 160 ALOGV("Boot animation set up. Joining pool."); 164 ALOGV("Boot animation exit") [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MovieControllerOverlay.java | 24 import android.view.animation.Animation; 25 import android.view.animation.Animation.AnimationListener; 26 import android.view.animation.AnimationUtils; 39 private final Animation hideAnimation; 112 public void onAnimationStart(Animation animation) { 117 public void onAnimationRepeat(Animation animation) { [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
PermissionsFrameFragment.java | 24 import android.view.animation.Animation; 25 import android.view.animation.Animation.AnimationListener; 26 import android.view.animation.AnimationUtils; 95 Animation animation = AnimationUtils.loadAnimation(getContext(), local 100 animation.setAnimationListener(new AnimationListener() { 102 public void onAnimationStart(Animation animation) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Animation1.java | 26 import android.view.animation.Animation; 27 import android.view.animation.AnimationUtils; 41 Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake);
|
TextSwitcher1.java | 25 import android.view.animation.Animation; 26 import android.view.animation.AnimationUtils; 51 Animation in = AnimationUtils.loadAnimation(this, 53 Animation out = AnimationUtils.loadAnimation(this,
|
/packages/apps/Car/Media/src/com/android/car/media/ |
CrossfadeImageView.java | 27 import android.view.animation.Animation; 28 import android.view.animation.AnimationUtils; 29 import android.view.animation.DecelerateInterpolator; 55 private Animation mImageInAnimation; 56 private Animation mImageOutAnimation; 138 private final Animation.AnimationListener mAnimationListener = 139 new Animation.AnimationListener() { 141 public void onAnimationEnd(Animation animation) { [all...] |
/developers/build/prebuilts/gradle/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/ |
MainActivity.java | 27 import android.view.animation.Animation; 28 import android.view.animation.ScaleAnimation; 57 * Animates the layout when clicked. The animation used depends on whether the 63 Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); 66 scaleAnimation.setRepeatMode(Animation.REVERSE);
|
/developers/samples/android/wearable/wear/WatchViewStub/Wearable/src/main/java/com/example/android/google/wearable/watchviewstub/ |
MainActivity.java | 27 import android.view.animation.Animation; 28 import android.view.animation.ScaleAnimation; 57 * Animates the layout when clicked. The animation used depends on whether the 63 Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); 66 scaleAnimation.setRepeatMode(Animation.REVERSE);
|
/development/samples/browseable/WatchViewStub/src/com.example.android.google.wearable.watchviewstub/ |
MainActivity.java | 27 import android.view.animation.Animation; 28 import android.view.animation.ScaleAnimation; 57 * Animates the layout when clicked. The animation used depends on whether the 63 Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); 66 scaleAnimation.setRepeatMode(Animation.REVERSE);
|
/external/glide/library/src/main/java/com/bumptech/glide/request/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/vulkan-validation-layers/demos/smoke/ |
Simulation.h | 28 class Animation { 30 Animation(unsigned rng_seed, float scale); 86 Animation animation; member in struct:Simulation::Object
|
/developers/samples/android/ui/transition/FragmentTransition/Application/src/main/java/com/example/android/fragmenttransition/ |
DetailFragment.java | 29 import android.view.animation.Animation; 30 import android.view.animation.AnimationUtils; 35 public class DetailFragment extends Fragment implements Animation.AnimationListener { 124 public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) { 125 Animation animation = AnimationUtils.loadAnimation(getActivity(), local 129 if (animation != null && enter) { 130 animation.setAnimationListener(this); 132 return animation; [all...] |