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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /external/chromium_org/ui/gfx/animation/
slide_animation_unittest.cc 5 #include "ui/gfx/animation/slide_animation.h"
10 #include "ui/gfx/animation/test_animation_delegate.h"
17 explicit TestApi(SlideAnimation* animation) : animation_(animation) {}
40 // Tests animation construction.
42 SlideAnimation animation(NULL);
45 EXPECT_EQ(1000 / 60, animation.timer_interval().InMilliseconds());
47 EXPECT_EQ(120, animation.GetSlideDuration());
49 EXPECT_FALSE(animation.IsShowing());
50 EXPECT_FALSE(animation.IsClosing())
    [all...]
animation_delegate.h 12 class Animation;
17 // state of an animation.
22 // Called when an animation has completed.
23 virtual void AnimationEnded(const Animation* animation) {}
25 // Called when an animation has progressed.
26 virtual void AnimationProgressed(const Animation* animation) {}
28 // Called when an animation has been canceled.
29 virtual void AnimationCanceled(const Animation* animation) {
    [all...]
animation.cc 5 #include "ui/gfx/animation/animation.h"
7 #include "ui/gfx/animation/animation_container.h"
8 #include "ui/gfx/animation/animation_delegate.h"
9 #include "ui/gfx/animation/tween.h"
18 Animation::Animation(base::TimeDelta timer_interval)
24 Animation::~Animation() {
31 void Animation::Start()
    [all...]
slide_animation.h 8 #include "ui/gfx/animation/linear_animation.h"
9 #include "ui/gfx/animation/tween.h"
13 // Slide Animation
17 // #include "ui/gfx/animation/slide_animation.h"
31 // void AnimationProgressed(const Animation* animation) {
32 // if (animation == animation_.get()) {
35 // } else if (animation == other_animation_.get()) {
52 // Set the animation back to the 0 state.
56 // Begin a showing animation or reverse a hiding animation in progress
    [all...]
  /external/chromium_org/content/renderer/compositor_bindings/
web_animation_unittest.cc 19 scoped_ptr<WebAnimation> animation(
23 EXPECT_EQ(1, animation->iterations());
24 EXPECT_EQ(0, animation->startTime());
25 EXPECT_EQ(0, animation->timeOffset());
27 EXPECT_EQ(WebAnimation::DirectionNormal, animation->direction());
29 EXPECT_FALSE(animation->alternatesDirection());
35 scoped_ptr<WebAnimation> animation(
37 animation->setIterations(2);
38 animation->setStartTime(2);
39 animation->setTimeOffset(2)
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/request/
ViewAnimation.java 6 import android.view.animation.Animation;
7 import android.view.animation.AnimationUtils;
13 private Animation animation; field in class:ViewAnimation.ViewAnimationFactory
18 public ViewAnimationFactory(Animation animation) {
19 this.animation = animation;
34 if (animation == null)
44 private Animation animation; field in class:ViewAnimation
    [all...]
DrawableCrossFadeViewAnimation.java 7 import android.view.animation.AlphaAnimation;
8 import android.view.animation.Animation;
9 import android.view.animation.AnimationUtils;
15 private Animation defaultAnimation;
18 private static Animation getDefaultAnimation() {
19 AlphaAnimation animation = new AlphaAnimation(0f, 1f); local
20 animation.setDuration(DEFAULT_DURATION / 2);
21 return animation;
27 private Animation defaultAnimation
29 private DrawableCrossFadeViewAnimation animation; field in class:DrawableCrossFadeViewAnimation.DrawableCrossFadeFactory
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAnimationSet.java 6 import android.view.animation.Animation;
7 import android.view.animation.AnimationSet;
15 private ArrayList<Animation> animationList = new ArrayList<Animation>();
22 public void addAnimation(Animation anim) {
27 public List<Animation> getAnimations() {
ShadowAnimationUtils.java 4 import android.view.animation.Animation;
5 import android.view.animation.AnimationUtils;
6 import android.view.animation.TranslateAnimation;
17 public static Animation loadAnimation(Context context, int id) {
18 Animation anim = new TranslateAnimation(0, 0, 30, 0);
  /external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
constrained_window_animation_unittest.mm 11 // This class runs an animation for exactly two frames then end it.
19 - (void)runAnimation:(NSAnimation*)animation;
31 - (float)animation:(NSAnimation*)animation
35 [animation setDuration:0.0];
39 - (void)animationDidEnd:(NSAnimation*)animation {
44 - (void)runAnimation:(NSAnimation*)animation {
45 // This class will end the animation after 2 frames. Set a large duration to
47 [animation setDuration:600];
48 [animation setDelegate:self]
    [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...]
  /external/chromium_org/third_party/WebKit/ManualTests/
animate-none.html 7 <title>Testing animation-name: none</title>
14 -webkit-animation-name: 'fail';
15 -webkit-animation-duration: 3.5s;
16 -webkit-animation-iteration-count: infinite;
17 -webkit-animation-direction: alternate;
18 -webkit-animation-timing-function: linear;
33 -webkit-animation-name: 'sway1';
34 -webkit-animation-duration: 2.5s;
35 -webkit-animation-iteration-count: infinite;
36 -webkit-animation-direction: alternate
    [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...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
SampledEffect.h 8 #include "core/animation/Animation.h"
9 #include "core/animation/AnimationPlayer.h"
10 #include "core/animation/interpolation/Interpolation.h"
18 static PassOwnPtrWillBeRawPtr<SampledEffect> create(Animation* animation, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > interpolations)
20 return adoptPtrWillBeNoop(new SampledEffect(animation, interpolations));
29 Animation* animation() const { return m_animation; } function in class:WebCore::SampledEffect
31 Animation::Priority priority() const { return m_priority;
    [all...]
  /cts/tests/tests/view/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...]
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...]
  /frameworks/base/core/java/android/animation/
package.html 4 These classes provide functionality for the property animation system, which allows you
7 to calculate the values for that given type with a custom {@link android.animation.TypeEvaluator}.
11 <a href="{@docRoot}guide/topics/graphics/prop-animation.html">Animation</a> guide.</p>
15 You can set many different types of interpolators (contained in {@link android.view.animation}),
16 specify {@link android.animation.Keyframe keyframes}, or group animations to play sequentially
17 or simultaneously (with {@link android.animation.AnimatorSet}) to further control your animation
  /external/robolectric/src/main/java/android/view/animation/
ShadowAnimationBridge.java 1 package android.view.animation;
9 private Animation realAnimation;
11 public ShadowAnimationBridge(Animation realAnimation) {
  /external/chromium_org/ui/views/animation/
bounds_animator.cc 5 #include "ui/views/animation/bounds_animator.h"
8 #include "ui/gfx/animation/animation_container.h"
9 #include "ui/gfx/animation/slide_animation.h"
10 #include "ui/views/animation/bounds_animator_observer.h"
16 using gfx::Animation;
49 // Don't immediatly delete the animation, that might trigger a callback from
64 data.animation = CreateAnimation();
66 animation_to_view_[data.animation] = view;
68 data.animation->Show();
89 SlideAnimation* animation) {
160 SlideAnimation* animation = new SlideAnimation(this); local
    [all...]
bounds_animator.h 13 #include "ui/gfx/animation/animation_container_observer.h"
14 #include "ui/gfx/animation/animation_delegate.h"
15 #include "ui/gfx/animation/tween.h"
33 // BoundsAnimator internally creates an animation for each view. If you need
34 // a specific animation invoke SetAnimationForView after invoking AnimateViewTo.
35 // You can attach an AnimationDelegate to the individual animation for a view
45 // already an animation running for the view it's stopped and a new one
47 // (after being notified that the animation was canceled).
50 // Similar to |AnimateViewTo|, but does not reset the animation, only the
59 // Sets the animation for the specified view. BoundsAnimator takes ownershi
113 gfx::SlideAnimation* animation; member in struct:views::BoundsAnimator::Data
    [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...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
anim1-expected-completion56.txt 4 android:interpolator : Defines the interpolator used to smooth the animation movement in time. [reference]
6 android:fillBefore : When set to true or when fillEnabled is not set to true, the animation transformation is applied before the animation has started. [boolean]
7 android:fillAfter : When set to true, the animation transformation is applied after the animation is over. [boolean]
8 android:duration : Amount of time (in milliseconds) for the animation to run. [integer]
9 android:startOffset : Delay in milliseconds before the animation runs, once start time is reached. [integer]
10 android:repeatCount : Defines how many times the animation should repeat. [integer, enum]
11 android:repeatMode : Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. [enum]
12 android:zAdjustment : Allows for an adjustment of the Z ordering of the content being animated for the duration of the animation. [enum
    [all...]
animator1-expected-completion59.txt 3 android:interpolator : Defines the interpolator used to smooth the animation movement in time. [reference]
4 android:duration : Amount of time (in milliseconds) for the animation to run. [integer]
5 android:startOffset : Delay in milliseconds before the animation runs, once start time is reached. [integer]
6 android:repeatCount : Defines how many times the animation should repeat. [integer, enum]
7 android:repeatMode : Defines the animation behavior when it reaches the end and the repeat count is greater than 0 or infinite. [enum]
8 android:valueFrom : Value the animation starts from. [integer, float, color, dimension]
9 android:valueTo : Value the animation animates to. [integer, float, color, dimension]
  /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...]

Completed in 1019 milliseconds

1 2 3 4 5 6 7 8 91011>>