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

1 2 3 4 5 6 7 8 9

  /frameworks/base/core/java/android/view/animation/
Interpolator.java 17 package android.view.animation;
20 * An interpolator defines the rate of change of an animation. This allows
21 * the basic animation effects (alpha, scale, translate, rotate) to be
28 * transformations of an animation.
31 * in the animation where 0 represents the start and 1.0 represents
LinearInterpolator.java 17 package android.view.animation;
AccelerateDecelerateInterpolator.java 17 package 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...]
  /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...]
Animation1.java 26 import android.view.animation.Animation;
27 import android.view.animation.AnimationUtils;
41 Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake);
  /cts/tests/src/android/view/animation/cts/
AnimationTestUtils.java 17 package android.view.animation.cts;
22 import android.view.animation.Animation;
23 import android.view.animation.LayoutAnimationController;
26 * The utility methods for animation test.
40 * Assert run an animation successfully. Timeout is duration of animation.
42 * @param instrumentation to run animation.
43 * @param view view window to run animation.
44 * @param animation will be run
    [all...]
AnimationTestStubActivity.java 17 package android.view.animation.cts;
DelayedCheck.java 17 package android.view.animation.cts;
LayoutAnimStubActivity.java 17 package android.view.animation.cts;
  /cts/tests/tests/view/src/android/view/animation/cts/
GridLayoutAnimationController_AnimationParametersTest.java 17 package android.view.animation.cts;
24 import android.view.animation.GridLayoutAnimationController;
25 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;
63 " returns false, a alpha animation will not affect the bounds",
69 AlphaAnimation animation = new AlphaAnimation(mContext, null); local
70 assertFalse(animation.willChangeBounds());
76 " always returns false, a alpha animation will not affect the matrix",
81 AlphaAnimation animation = new AlphaAnimation(0.0f, 0.5f); local
82 assertFalse(animation.willChangeTransformationMatrix());
89 args = {float.class, android.view.animation.Transformation.class
92 MyAlphaAnimation animation = new MyAlphaAnimation(0.0f, 1.0f); local
    [all...]
AnimationTest.java 17 package android.view.animation.cts;
33 import android.view.animation.AccelerateDecelerateInterpolator;
34 import android.view.animation.AccelerateInterpolator;
35 import android.view.animation.Animation;
36 import android.view.animation.AnimationUtils;
37 import android.view.animation.DecelerateInterpolator;
38 import android.view.animation.Interpolator;
39 import android.view.animation.Transformation;
40 import android.view.animation.Animation.AnimationListener
136 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local
162 Animation animation = new Animation() { local
218 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local
223 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local
244 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local
262 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, animation); local
284 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local
336 Animation animation = new Animation() { local
492 Animation animation = new Animation() { local
508 animation, ACCELERATE_ALPHA_DURATION + startOffset); local
578 Animation animation = new Animation() { local
    [all...]
AnimationUtilsTest.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.AnimationUtils;
32 import android.view.animation.GridLayoutAnimationController;
33 import android.view.animation.Interpolator;
34 import android.view.animation.LayoutAnimationController;
77 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha) local
    [all...]
LayoutAnimationController_AnimationParametersTest.java 17 package android.view.animation.cts;
24 import android.view.animation.LayoutAnimationController;
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListWithDisappearingItemBug.java 25 import android.view.animation.AlphaAnimation;
26 import android.view.animation.Animation;
27 import android.view.animation.AnimationSet;
28 import android.view.animation.LayoutAnimationController;
29 import android.view.animation.TranslateAnimation;
63 Animation animation = new AlphaAnimation(0.0f, 1.0f); local
64 animation.setDuration(50);
65 set.addAnimation(animation);
    [all...]
  /external/webkit/WebCore/platform/animation/
AnimationList.cpp 28 for (i = 0; i < size() && animation(i)->test(); ++i) { } \
31 animation(i)->propSet(animation(j)->propGet()); \
52 if (*animation(i) != *o.animation(i))
AnimationList.h 28 #include "Animation.h"
48 void append(PassRefPtr<Animation> anim) { m_animations.append(anim); }
50 Animation* animation(size_t i) { return m_animations[i].get(); } function in class:WebCore::AnimationList
51 const Animation* animation(size_t i) const { return m_animations[i].get(); } function in class:WebCore::AnimationList
54 Vector<RefPtr<Animation> > m_animations;
  /external/webkit/WebCore/page/animation/
AnimationController.cpp 68 RefPtr<CompositeAnimation> animation = m_compositeAnimations.get(renderer); local
69 if (!animation) {
70 animation = CompositeAnimation::create(this);
71 m_compositeAnimations.set(renderer, animation);
73 return animation;
80 PassRefPtr<CompositeAnimation> animation = m_compositeAnimations.take(renderer); local
81 if (!animation)
83 animation->clearRenderer();
84 return animation->isSuspended();
200 RefPtr<CompositeAnimation> animation = m_compositeAnimations.get(renderer) local
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ChooseLockPatternExample.java 87 protected void startAnimation(final AnimationDrawable animation) {
88 if (animation != null && !animation.isRunning()) {
89 animation.run();
93 protected void stopAnimation(final AnimationDrawable animation) {
94 if (animation != null && animation.isRunning()) animation.stop();
  /external/webkit/WebCore/svg/animation/
SMILTimeContainer.cpp 65 void SMILTimeContainer::schedule(SVGSMILElement* animation)
67 ASSERT(animation->timeContainer() == this);
68 SMILTime nextFireTime = animation->nextProgressTime();
71 m_scheduledAnimations.add(animation);
75 void SMILTimeContainer::unschedule(SVGSMILElement* animation)
77 ASSERT(animation->timeContainer() == this);
79 m_scheduledAnimations.remove(animation);
194 // Currently animation overwrites them so we need to save them somewhere.
235 SVGSMILElement* animation = toAnimate[n]; local
236 ASSERT(animation->timeContainer() == this)
260 SVGSMILElement* animation = toAnimate[n]; local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
AnimateDrawable.java 21 import android.view.animation.Animation;
22 import android.view.animation.AnimationUtils;
23 import android.view.animation.Transformation;
27 private Animation mAnimation;
34 public AnimateDrawable(Drawable target, Animation animation) {
36 mAnimation = animation;
39 public Animation getAnimation() {
43 public void setAnimation(Animation anim)
    [all...]
  /external/webkit/WebCore/platform/graphics/android/
AndroidAnimation.h 37 AndroidAnimation(const Animation* animation,
66 const Animation* animation,
69 const Animation* animation,
85 const Animation* animation,
87 AndroidTransformAnimation(const Animation* animation, double beginTime)
    [all...]
AndroidAnimation.cpp 22 #include "Animation.h"
40 AndroidAnimation::AndroidAnimation(const Animation* animation,
43 m_duration(animation->duration()),
44 m_iterationCount(animation->iterationCount()),
46 m_direction(animation->direction()),
47 m_timingFunction(animation->timingFunction())
81 if (m_elapsedTime < 0) // animation not yet started.
93 if (m_direction == Animation::AnimationDirectionAlternate)
100 && (m_iterationCount != Animation::IterationCountInfinite)
    [all...]
  /build/tools/droiddoc/templates/assets/
carousel.js 180 var animation = {};
181 animation.time = 0.5; // in seconds
182 animation.fps = 60;
183 animation.goal = goal;
185 animation.origin = Math.abs(origin);
186 animation.frames = (animation.time * animation.fps) - 1.0;
188 var motions = Math.abs(animation.goal - animation.origin)
    [all...]

Completed in 429 milliseconds

1 2 3 4 5 6 7 8 9