Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 117) sorted by relevance

12345

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAnimationTest.java4 import android.view.animation.Animation;
5 import android.view.animation.LinearInterpolator;
6 import android.view.animation.Transformation;
20 private TestAnimation animation; field in AnimationTest
26 animation = new TestAnimation(); in setUp()
27 shadow = shadowOf(animation); in setUp()
29 animation.setAnimationListener(listener); in setUp()
35 animation.start(); in startShouldInvokeStartCallback()
44 animation.cancel(); in cancelShouldInvokeEndCallback()
70 assertThat(animation.interpolatedTime, equalTo(0f)); in simulateAnimationEndShouldInvokeApplyTransformationWith1()
[all …]
DTranslateAnimationTest.java3 import android.view.animation.Animation;
4 import android.view.animation.TranslateAnimation;
17 private TranslateAnimation animation; field in TranslateAnimationTest
22 animation = new TranslateAnimation(1, 2, 3, 4, 5, 6, 7, 8); in setUp()
23 shadow = shadowOf(animation); in setUp()
DImageViewTest.java81 Drawable animation = imageView.getDrawable(); in testSetAnimatedImage_drawable() local
82 assertTrue(animation instanceof Drawable); in testSetAnimatedImage_drawable()
83 assertTrue(animation instanceof AnimationDrawable); in testSetAnimatedImage_drawable()
89 AnimationDrawable animation = (AnimationDrawable) imageView.getDrawable(); in testSetAnimationItem() local
90 assertEquals(3, animation.getNumberOfFrames()); in testSetAnimationItem()
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/
DViewAnimationFactory.java1 package com.bumptech.glide.request.animation;
4 import android.view.animation.Animation;
5 import android.view.animation.AnimationUtils;
17 public ViewAnimationFactory(Animation animation) { in ViewAnimationFactory() argument
18 this(new ConcreteAnimationFactory(animation)); in ViewAnimationFactory()
52 private final Animation animation; field in ViewAnimationFactory.ConcreteAnimationFactory
54 public ConcreteAnimationFactory(Animation animation) { in ConcreteAnimationFactory() argument
55 this.animation = animation; in ConcreteAnimationFactory()
60 return animation; in build()
DDrawableCrossFadeFactory.java1 package com.bumptech.glide.request.animation;
5 import android.view.animation.AlphaAnimation;
6 import android.view.animation.Animation;
26 private DrawableCrossFadeViewAnimation<T> animation; field in DrawableCrossFadeFactory
55 if (animation == null) { in build()
57 animation = new DrawableCrossFadeViewAnimation<T>(defaultAnimation, duration); in build()
60 return animation; in build()
67 AlphaAnimation animation = new AlphaAnimation(0f, 1f); in build() local
68 animation.setDuration(DEFAULT_DURATION_MS / 2); in build()
69 return animation; in build()
DViewPropertyAnimationFactory.java1 package com.bumptech.glide.request.animation;
10 private ViewPropertyAnimation<R> animation; field in ViewPropertyAnimationFactory
28 if (animation == null) { in build()
29 animation = new ViewPropertyAnimation<R>(animator); in build()
32 return animation; in build()
DViewAnimation.java1 package com.bumptech.glide.request.animation;
4 import android.view.animation.Animation;
39 Animation animation = animationFactory.build(); in animate() local
40 view.startAnimation(animation); in animate()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Danimation-constructor.js9 var animation = new Animation(document.body, [], 1000);
12 var player = document.timeline.play(animation);
58 var animation = new Animation(target, keyframes, 200);
59 assert.equal(animation.timing.duration, 200);
61 animation = new Animation(target, keyframes);
62 assert.isDefined(animation.timing);
64 animation = new Animation(target, keyframes, {duration: 200});
65 var group = new AnimationGroup([animation]);
70 var animation = new Animation(null, function(tf) {
74 var player = document.timeline.play(animation);
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DAnimation3DTest.java53 AnimationController animation; field in Animation3DTest
121 animation.update(Gdx.graphics.getDeltaTime()); in render()
123 if (!animation.inAction) { in render()
124 … trTmp.idt().lerp(trForward, Gdx.graphics.getDeltaTime() / animation.current.animation.duration); in render()
128 animation.animate("Walk", -1, 1f, null, 0.2f); in render()
132 if (!animation.inAction) { in render()
133 … trTmp.idt().lerp(trBackward, Gdx.graphics.getDeltaTime() / animation.current.animation.duration); in render()
137 animation.animate("Walk", -1, -1f, null, 0.2f); in render()
141 animation.animate("Idle", -1, 1f, null, 0.2f); in render()
144 …if (Gdx.input.isKeyPressed(Keys.RIGHT) && (status == walk || status == back) && !animation.inActio… in render()
[all …]
/external/clang/test/Analysis/
Dpr_2542_rdar_6793404.m38 // of the animation or when it receives stopAnimation.
41 - (void)animationDidEnd:(NSAnimation *)animation;
47 // 'animation' when it is sent the message 'setDelegate:'.
48 NSAnimation *animation = [[NSAnimation alloc] // no-warning
52 [animation setDelegate:self];
53 [animation startAnimation];
57 NSAnimation *animation = [[NSAnimation alloc] // expected-warning{{leak}}
61 [animation startAnimation];
64 - (void)animationDidEnd:(NSAnimation *)animation {
65 [animation release];
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Danimation.js21 var animation = function() { function in scope.Animation
26 animation._update = function(localTime) {
30 animation._clear = function() {
33 animation._hasSameTarget = function(otherTarget) {
36 animation._isCurrent = animationNode._isCurrent;
37 animation._totalDuration = animationNode._totalDuration;
38 return animation;
/external/chromium-trace/catapult/third_party/polymer/components/paper-spinner/
Dpaper-spinner.css43 -webkit-animation: container-rotate 1568ms linear infinite;
44 animation: container-rotate 1568ms linear infinite;
81 * iOS Safari (tested on iOS 8.1) does not handle animation-delay very well - it doesn't
82 * guarantee that the animation will start _exactly_ after that value. So we avoid using
83 * animation-delay and instead set custom keyframes for each color (as redundant as it
86 * We write out each animation in full (instead of separating animation-name,
87 * animation-duration, etc.) because under the polyfill, Safari does not recognize those
88 * specific properties properly, treats them as -webkit-animation, and overrides the
89 * other animation rules. See https://github.com/Polymer/platform/issues/53.
93 …-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, blue-fa…
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DAnimationController.java44 void onEnd (final AnimationDesc animation); in onEnd() argument
49 void onLoop (final AnimationDesc animation); in onLoop() argument
59 public Animation animation; field in AnimationController.AnimationDesc
76 if (loopCount != 0 && animation != null) { in update()
144 result.animation = anim; in obtain()
163 …return obtain(anim.animation, anim.offset, anim.duration, anim.loopCount, anim.speed, anim.listene…
171 removeAnimation(previous.animation);
180 if (current == null || current.loopCount == 0 || current.animation == null) return;
190 …applyAnimations(previous.animation, previous.offset + previous.time, current.animation, current.of…
193 applyAnimation(current.animation, current.offset + current.time);
[all …]
DBaseAnimationController.java118 protected void apply (final Animation animation, final float time, final float weight) { in apply() argument
120 applyAnimation(transforms, transformPool, weight, animation, time); in apply()
136 protected void applyAnimation (final Animation animation, final float time) { in applyAnimation() argument
138 applyAnimation(null, null, 1.f, animation, time); in applyAnimation()
257 final Animation animation, final float time) { in applyAnimation() argument
260 for (final NodeAnimation nodeAnim : animation.nodeAnimations) in applyAnimation()
265 for (final NodeAnimation nodeAnim : animation.nodeAnimations) in applyAnimation()
278 protected void removeAnimation (final Animation animation) { in removeAnimation() argument
279 for (final NodeAnimation nodeAnim : animation.nodeAnimations) { in removeAnimation()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DTestAnimationListener.java3 import android.view.animation.Animation;
4 import android.view.animation.Animation.AnimationListener;
13 public void onAnimationStart(Animation animation) { in onAnimationStart() argument
18 public void onAnimationEnd(Animation animation) { in onAnimationEnd() argument
23 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat() argument
/external/skia/experimental/docs/
DanimationCommon.js37 var animation = animationState.timeline[index];
38 if (animation.time > animationState.time) {
42 if (animation.time + animation.duration < animationState.time) {
43 if (animation.finalized) {
46 animation.finalized = true;
49 var actions = animation.actions;
156 if (!('start' in action) || action.start < animation.time) {
170 action.start = animation.time;
175 var value = Math.min(1, (animationState.time - animation.time) / animation.duration);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
DModel.java115 Animation animation = new Animation(); in loadAnimations() local
116 animation.id = anim.id; in loadAnimations()
127 if (kf.keytime > animation.duration) animation.duration = kf.keytime; in loadAnimations()
137 if (kf.keytime > animation.duration) animation.duration = kf.keytime; in loadAnimations()
147 if (kf.keytime > animation.duration) animation.duration = kf.keytime; in loadAnimations()
155 …|| (nodeAnim.scaling != null && nodeAnim.scaling.size > 0)) animation.nodeAnimations.add(nodeAnim); in loadAnimations()
157 if (animation.nodeAnimations.size > 0) animations.add(animation); in loadAnimations()
403 Animation animation; in getAnimation() local
406 if ((animation = animations.get(i)).id.equalsIgnoreCase(id)) return animation; in getAnimation()
409 if ((animation = animations.get(i)).id.equals(id)) return animation; in getAnimation()
DModelInstance.java289 Animation animation = new Animation(); in copyAnimations() local
290 animation.id = anim.id; in copyAnimations()
291 animation.duration = anim.duration; in copyAnimations()
319 animation.nodeAnimations.add(nodeAnim); in copyAnimations()
321 if (animation.nodeAnimations.size > 0) animations.add(animation); in copyAnimations()
417 Animation animation; in getAnimation() local
420 if ((animation = animations.get(i)).id.equalsIgnoreCase(id)) return animation; in getAnimation()
423 if ((animation = animations.get(i)).id.equals(id)) return animation; in getAnimation()
/external/ImageMagick/Magick++/demo/
Dgravity.cpp39 list<Image> animation; in main() local
69 animation.push_back( pic ); in main()
72 writeImages( animation.begin(), animation.end(), "gravity_out.miff" ); in main()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAnimationUtils.java4 import android.view.animation.Animation;
5 import android.view.animation.AnimationUtils;
6 import android.view.animation.TranslateAnimation;
DShadowAnimation.java3 import android.view.animation.Animation;
4 import android.view.animation.Interpolator;
5 import android.view.animation.ShadowAnimationBridge;
6 import android.view.animation.Transformation;
/external/glide/library/src/main/java/com/bumptech/glide/
DGifRequestBuilder.java5 import android.view.animation.Animation;
19 import com.bumptech.glide.request.animation.DrawableCrossFadeFactory;
20 import com.bumptech.glide.request.animation.ViewPropertyAnimation;
251 public GifRequestBuilder<ModelType> crossFade(Animation animation, int duration) { in crossFade() argument
252 super.animate(new DrawableCrossFadeFactory<GifDrawable>(animation, duration)); in crossFade()
290 public GifRequestBuilder<ModelType> animate(Animation animation) { in animate() argument
291 super.animate(animation); in animate()
DDrawableRequestBuilder.java6 import android.view.animation.Animation;
25 import com.bumptech.glide.request.animation.DrawableCrossFadeFactory;
26 import com.bumptech.glide.request.animation.ViewPropertyAnimation;
262 public DrawableRequestBuilder<ModelType> crossFade(Animation animation, int duration) { in crossFade() argument
263 super.animate(new DrawableCrossFadeFactory<GlideDrawable>(animation, duration)); in crossFade()
309 public DrawableRequestBuilder<ModelType> animate(Animation animation) { in animate() argument
310 super.animate(animation); in animate()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DGlideDrawableImageViewTarget.java6 import com.bumptech.glide.request.animation.GlideAnimation;
51 …lic void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> animation) { in onResourceReady() argument
66 super.onResourceReady(resource, animation); in onResourceReady()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
DREADME.md13 By unifying the animation features of SVG and CSS, Web Animations unlocks
15 high-performance animation capabilities to developers.
30 Here's a simple example of an animation that scales and changes the opacity of
31 a `<div>` over 0.5 seconds. The animation alternates producing a pulsing
49 generation of animations and fine-grained control of animation playback. See
94 |Additive animation | �� | ��\* | �� |
96 |Modifiable animation timing| �� | ��\* | ��\* |
127 var animation = new Animation(elem, {"transform": "translate(100px, 100px)"}, 2000);
131 var animation = new Animation(elem, {"-webkit-transform": "translate(100px, 100px)"}, 2000);

12345