/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/ |
ViewAnimations.java | 22 import android.view.animation.AlphaAnimation; 23 import android.view.animation.Animation; 24 import android.view.animation.AnimationSet; 25 import android.view.animation.AnimationUtils; 26 import android.view.animation.RotateAnimation; 27 import android.view.animation.ScaleAnimation; 28 import android.view.animation.TranslateAnimation; 33 * This example shows how to use pre-3.0 view Animation classes to create various animated UI 62 new TranslateAnimation(Animation.ABSOLUTE, 0 [all...] |
/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);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
CandidatesContainer.java | 27 import android.view.animation.AlphaAnimation; 28 import android.view.animation.Animation; 29 import android.view.animation.AnimationSet; 30 import android.view.animation.TranslateAnimation; 31 import android.view.animation.Animation.AnimationListener; 43 * view, animation is used to dismiss the current candidate view and show a new 63 * Animation time to show a new candidate view and dismiss the old one. 89 * The animation view used to show candidates. It contains two views [all...] |
/external/robolectric/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);
|
/external/webkit/Source/WebCore/bindings/js/ |
JSWebKitAnimationCustom.cpp | 39 if (count == Animation::IterationCountInfinite)
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
FloatAnimation.java | 19 public class FloatAnimation extends Animation {
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationUtilsTest.java | 17 package android.view.animation.cts; 24 import android.view.animation.AccelerateInterpolator; 25 import android.view.animation.AlphaAnimation; 26 import android.view.animation.Animation; 27 import android.view.animation.AnimationUtils; 28 import android.view.animation.GridLayoutAnimationController; 29 import android.view.animation.Interpolator; 30 import android.view.animation.LayoutAnimationController; 55 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha) local [all...] |
TranslateAnimationTest.java | 17 package android.view.animation.cts; 26 import android.view.animation.Animation; 27 import android.view.animation.LinearInterpolator; 28 import android.view.animation.Transformation; 29 import android.view.animation.TranslateAnimation; 79 new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f, 80 Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f) [all...] |
AnimationSetTest.java | 17 package android.view.animation.cts; 28 import android.view.animation.AccelerateInterpolator; 29 import android.view.animation.AlphaAnimation; 30 import android.view.animation.Animation; 31 import android.view.animation.AnimationSet; 32 import android.view.animation.ScaleAnimation; 33 import android.view.animation.Transformation; 34 import android.view.animation.TranslateAnimation; 78 List<Animation> children = animationSet.getAnimations() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
Animation.java | 35 * <p>Example of using a custom animation when transitioning between activities.</p> 37 public class Animation extends Activity { 69 startActivity(new Intent(Animation.this, AlertDialogSamples.class)); 70 // Supply a custom animation. This one will just fade the new 71 // activity on top. Note that we need to also supply an animation 81 startActivity(new Intent(Animation.this, AlertDialogSamples.class)); 82 // This is a more complicated animation, involving transformations 84 // the duration of the animation we force the exiting activity 93 // Create the desired custom animation, involving transformations 95 // the duration of the animation we force the exiting activit [all...] |
/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 17 package android.view.animation; 28 * A layout animation controller is used to animated a layout's, or a view 29 * group's, children. Each child uses the same animation but for every one of 30 * them, the animation starts at a different time. A layout animation controller 32 * child's animation start must be offset. The delay is computed by using 40 * {@link android.view.animation.GridLayoutAnimationController} will compute the 44 * Information used to compute the animation delay of each child are stored 46 * {@link android.view.animation.LayoutAnimationController.AnimationParameters}, 56 * Distributes the animation delays in the order in which view were adde 325 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...] |
/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...] |
/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,
|
/external/chromium/chrome/browser/chromeos/ |
setting_level_bubble.h | 12 #include "ui/base/animation/animation_delegate.h" 13 #include "ui/base/animation/slide_animation.h" 41 // If we didn't update our internal state to 25% after 2), then the animation 61 virtual void AnimationEnded(const ui::Animation* animation); 62 virtual void AnimationProgressed(const ui::Animation* animation);
|
/external/chromium/chrome/browser/ui/gtk/ |
slide_animator_gtk.h | 22 #include "ui/base/animation/animation_delegate.h" 47 // |linear| controls how the animation progresses. If true, the 71 // End the current animation. 80 // Returns whether the widget is currently showing the close animation. 84 // animation. 88 virtual void AnimationProgressed(const ui::Animation* animation); 89 virtual void AnimationEnded(const ui::Animation* animation);
|
/external/chromium/chrome/browser/ui/views/ |
fullscreen_exit_bubble.h | 12 #include "ui/base/animation/animation_delegate.h" 46 static const int kSlideInDurationMs; // Duration of slide-in animation 47 static const int kSlideOutDurationMs; // Duration of slide-out animation 53 virtual void AnimationProgressed(const ui::Animation* animation); 54 virtual void AnimationEnded(const ui::Animation* animation); 81 // Animation controlling sliding into/out of the top of the screen.
|
page_info_bubble_view.h | 11 #include "ui/base/animation/animation_delegate.h" 12 #include "ui/base/animation/slide_animation.h" 54 virtual void AnimationEnded(const ui::Animation* animation); 55 virtual void AnimationProgressed(const ui::Animation* animation); 76 // Animation that helps us change size smoothly as more data comes in. 79 // The height of the info bubble at the start of the resize animation.
|
/external/chromium/chrome/browser/chromeos/status/ |
network_dropdown_button.h | 12 #include "ui/base/animation/animation_delegate.h" 13 #include "ui/base/animation/throb_animation.h" 29 virtual void AnimationProgressed(const ui::Animation* animation); 47 // The throb animation that does the wifi connecting animation.
|
/cts/tests/src/android/view/animation/cts/ |
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...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
dragged_tab_gtk.h | 14 #include "ui/base/animation/animation_delegate.h" 15 #include "ui/base/animation/slide_animation.h" 67 virtual void AnimationProgressed(const ui::Animation* animation); 68 virtual void AnimationEnded(const ui::Animation* animation); 69 virtual void AnimationCanceled(const ui::Animation* animation); 134 // The animation used to slide the attached tab to its final location. 137 // A callback notified when the animation is complete [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/ |
TestSpatialAnim.java | 3 import com.jme3.animation.AnimControl;
4 import com.jme3.animation.Animation;
5 import com.jme3.animation.SpatialTrack;
48 //animation parameters
71 //creating the animation
72 Animation spatialAnimation = new Animation("anim", animTime);
75 //create spatial animation control
77 HashMap<String, Animation> animations = new HashMap<String, Animation>(); [all...] |