Searched refs:anim (Results 1 - 25 of 57) sorted by relevance

123

/external/chromium_org/cc/animation/
H A Danimation_unittest.cc30 scoped_ptr<Animation> anim(CreateAnimation(0));
31 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(-1.0));
32 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(0.0));
33 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(1.0));
37 scoped_ptr<Animation> anim(CreateAnimation(1));
38 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(-1.0));
39 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(0.0));
40 EXPECT_EQ(1, anim->TrimTimeToCurrentIteration(1.0));
41 EXPECT_EQ(1, anim->TrimTimeToCurrentIteration(2.0));
45 scoped_ptr<Animation> anim(CreateAnimatio
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAnimationUtils.java18 Animation anim = new TranslateAnimation(0, 0, 30, 0);
19 Robolectric.shadowOf(anim).setLoadedFromResourceId(id);
20 return anim;
H A DShadowAnimationSet.java22 public void addAnimation(Animation anim) { argument
23 animationList.add(anim);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DAnimationUtilsTest.java27 Animation anim = AnimationUtils.loadAnimation(new Activity(), R.anim.fade_in);
28 assertThat(Robolectric.shadowOf(anim).getLoadedFromResourceId(), equalTo(R.anim.fade_in));
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
H A DTestR.java11 public static final class anim { class in class:TestR
/external/replicaisland/src/com/replica/replicaisland/
H A DDiaryActivity.java39 UIConstants.mOverridePendingTransition.invoke(DiaryActivity.this, R.anim.activity_fade_in, R.anim.activity_fade_out);
57 image.startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade));
67 okArrow.setBackgroundResource(R.anim.ui_button);
68 AnimationDrawable anim = (AnimationDrawable) okArrow.getBackground();
69 anim.start();
H A DAnimationPlayerActivity.java56 UIConstants.mOverridePendingTransition.invoke(AnimationPlayerActivity.this, R.anim.activity_fade_in, R.anim.activity_fade_out);
82 canvasImage.setImageResource(R.anim.kyle_fall);
104 // the display and just generate the anim in code. The Rokudou animation
116 Animation foregroundAnim = AnimationUtils.loadAnimation(this, R.anim.horizontal_layer2_slide);
117 Animation backgroundAnim = AnimationUtils.loadAnimation(this, R.anim.horizontal_layer1_slide);
133 Animation backgroundAnim = AnimationUtils.loadAnimation(this, R.anim.rokudou_slide_bg);
134 Animation sphereAnim = AnimationUtils.loadAnimation(this, R.anim.rokudou_slide_sphere);
135 Animation cliffsAnim = AnimationUtils.loadAnimation(this, R.anim.rokudou_slide_cliffs);
136 Animation rokudouAnim = AnimationUtils.loadAnimation(this, R.anim
[all...]
H A DMainMenuActivity.java134 mButtonFlickerAnimation = AnimationUtils.loadAnimation(this, R.anim.button_flicker);
135 mFadeOutAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_out);
136 mAlternateFadeOutAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_out);
137 mFadeInAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_in);
308 mStartButton.startAnimation(AnimationUtils.loadAnimation(this, R.anim.button_slide));
311 Animation anim = AnimationUtils.loadAnimation(this, R.anim.button_slide);
312 anim.setStartOffset(500L);
313 mExtrasButton.startAnimation(anim);
317 Animation anim
[all...]
H A DExtrasMenuActivity.java105 mButtonFlickerAnimation = AnimationUtils.loadAnimation(this, R.anim.button_flicker);
106 mFadeOutAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_out);
107 mAlternateFadeOutAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_out);
116 mLockedAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_in_out);
139 UIConstants.mOverridePendingTransition.invoke(ExtrasMenuActivity.this, R.anim.activity_fade_in, R.anim.activity_fade_out);
214 UIConstants.mOverridePendingTransition.invoke(ExtrasMenuActivity.this, R.anim.activity_fade_in, R.anim.activity_fade_out);
H A DDifficultyMenuActivity.java102 mButtonFlickerAnimation = AnimationUtils.loadAnimation(this, R.anim.button_flicker);
103 mFadeOutAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_out);
104 mAlternateFadeOutAnimation = AnimationUtils.loadAnimation(this, R.anim.fade_out);
118 UIConstants.mOverridePendingTransition.invoke(DifficultyMenuActivity.this, R.anim.activity_fade_in, R.anim.activity_fade_out);
151 UIConstants.mOverridePendingTransition.invoke(DifficultyMenuActivity.this, R.anim.activity_fade_in, R.anim.activity_fade_out);
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
H A DCompositeAnimation.cpp64 KeyframeAnimation* anim = it->value.get(); local
65 animationController()->animationWillBeRemoved(anim);
66 anim->clear();
88 const CSSAnimationData* anim = targetStyle.transitions()->animation(i); local
89 bool isActiveTransition = anim->duration() || anim->delay() > 0;
91 CSSAnimationData::AnimationMode mode = anim->animationMode();
95 CSSPropertyID prop = anim->property();
162 m_transitions.set(prop, ImplicitAnimation::create(const_cast<CSSAnimationData*>(anim), prop, renderer, this, modifiedCurrentStyle ? modifiedCurrentStyle.get() : fromStyle));
176 ImplicitAnimation* anim local
217 const CSSAnimationData* anim = targetStyle.animations()->animation(i); local
405 RefPtr<KeyframeAnimation> anim = it->value; local
419 ImplicitAnimation* anim = it->value.get(); local
431 ImplicitAnimation* anim = it->value.get(); local
443 KeyframeAnimation* anim = it->value.get(); local
452 ImplicitAnimation* anim = it->value.get(); local
492 KeyframeAnimation* anim = it->value.get(); local
501 ImplicitAnimation* anim = it->value.get(); local
[all...]
H A DCSSPropertyAnimation.cpp73 static inline BorderImageLength blendFunc(const AnimationBase* anim, const BorderImageLength& from, const BorderImageLength& to, double progress) argument
76 return BorderImageLength(blendFunc(anim, from.number(), to.number(), progress));
79 return BorderImageLength(blendFunc(anim, from.length(), to.length(), progress));
88 static inline BorderImageLengthBox blendFunc(const AnimationBase* anim, const BorderImageLengthBox& from, argument
91 return BorderImageLengthBox(blendFunc(anim, from.top(), to.top(), progress),
92 blendFunc(anim, from.right(), to.right(), progress),
93 blendFunc(anim, from.bottom(), to.bottom(), progress),
94 blendFunc(anim, from.left(), to.left(), progress));
97 static inline LengthSize blendFunc(const AnimationBase* anim, const LengthSize& from, const LengthSize& to, double progress) argument
99 return LengthSize(blendFunc(anim, fro
103 blendFunc(const AnimationBase* anim, const LengthPoint& from, const LengthPoint& to, double progress) argument
108 blendFunc(const AnimationBase* anim, const TransformOperations& from, const TransformOperations& to, double progress) argument
145 blendFunc(const AnimationBase* anim, const FilterOperations& from, const FilterOperations& to, double progress) argument
172 blendFunc(const AnimationBase* anim, EVisibility from, EVisibility to, double progress) argument
184 blendFunc(const AnimationBase* anim, const LengthBox& from, const LengthBox& to, double progress) argument
250 blendFunc(const AnimationBase* anim, StyleImage* from, StyleImage* to, double progress) argument
345 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
361 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
378 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
434 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
452 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
470 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
485 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
511 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
545 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
587 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
644 blend(const AnimationBase* anim, FillLayer* dst, const FillLayer* a, const FillLayer* b, double progress) const argument
662 blend(const AnimationBase* anim, FillLayer* dst, const FillLayer* a, const FillLayer* b, double progress) const argument
742 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
787 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
819 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
862 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
1102 blendProperties(const AnimationBase* anim, CSSPropertyID prop, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/animation/
H A DCSSAnimationDataList.h52 void append(PassRefPtr<CSSAnimationData> anim) { m_animations.append(anim); } argument
/external/chromium_org/third_party/skia/src/views/animated/
H A DSkWidgetViews.cpp42 void init_skin_anim(const char path[], SkAnimator* anim) { argument
43 SkASSERT(path && anim);
51 if (!anim->decodeStream(stream)) {
57 void init_skin_anim(SkinEnum se, SkAnimator* anim) argument
59 init_skin_anim(get_skin_enum_path(se), anim); local
66 SkAnimator anim; local
69 init_skin_anim(se, &anim);
70 anim.draw(&canvas, paint, 0);
77 SkAnimator anim; local
80 if (!anim
[all...]
H A DSkImageView.cpp271 SkAnimator* anim = new SkAnimator; local
273 if (!anim->decodeURI(fUri.c_str()))
275 delete anim;
279 anim->setHostEventSink(this);
281 fData.fAnim = anim;
/external/skia/src/views/animated/
H A DSkWidgetViews.cpp42 void init_skin_anim(const char path[], SkAnimator* anim) { argument
43 SkASSERT(path && anim);
51 if (!anim->decodeStream(stream)) {
57 void init_skin_anim(SkinEnum se, SkAnimator* anim) argument
59 init_skin_anim(get_skin_enum_path(se), anim); local
66 SkAnimator anim; local
69 init_skin_anim(se, &anim);
70 anim.draw(&canvas, paint, 0);
77 SkAnimator anim; local
80 if (!anim
[all...]
H A DSkImageView.cpp271 SkAnimator* anim = new SkAnimator; local
273 if (!anim->decodeURI(fUri.c_str()))
275 delete anim;
279 anim->setHostEventSink(this);
281 fData.fAnim = anim;
/external/chromium_org/third_party/skia/src/animator/
H A DSkDisplayPost.cpp211 SkAnimator* anim = maker.getAnimator(); local
215 targetID = anim->getSinkID();
221 anim = fTargetMaker->getAnimator();
226 anim->onEventPost(new SkEvent(fEvent), targetID);
228 anim->onEventPostTime(new SkEvent(fEvent), targetID, futureTime);
260 SkAnimator* anim = fTargetMaker->getAnimator(); local
261 fSinkID = anim->getSinkID();
H A DSkDisplayApply.cpp170 SkAnimateBase* anim = (SkAnimateBase*) (*animPtr)->deepCopy(maker); local
171 *result->fAnimators.append() = anim;
172 maker->helperAdd(anim);
671 SkAnimateBase* anim = *animPtr; local
673 if (anim->fTarget == NULL || anim->fTargetIsScope) {
674 anim->fTargetIsScope = true;
676 anim->fTarget = scope;
678 anim->setTarget(maker);
679 anim
[all...]
/external/skia/src/animator/
H A DSkDisplayPost.cpp211 SkAnimator* anim = maker.getAnimator(); local
215 targetID = anim->getSinkID();
221 anim = fTargetMaker->getAnimator();
226 anim->onEventPost(new SkEvent(fEvent), targetID);
228 anim->onEventPostTime(new SkEvent(fEvent), targetID, futureTime);
260 SkAnimator* anim = fTargetMaker->getAnimator(); local
261 fSinkID = anim->getSinkID();
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
H A DTestOgreAnim.java33 package jme3test.model.anim;
78 for (String anim : control.getAnimationNames())
79 System.out.println(anim);
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DAnimControl.java155 * @param anim The animation to add.
157 public void addAnim(Animation anim) { argument
161 animationMap.put(anim.getName(), anim);
166 * @param anim The animation to remove.
168 public void removeAnim(Animation anim) { argument
169 if (!animationMap.containsKey(anim.getName())) {
174 animationMap.remove(anim.getName());
H A DAnimChannel.java214 Animation anim = control.animationMap.get(name);
215 if (anim == null)
230 animation = anim;
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DDocumentTimelineTest.cpp136 RefPtr<Animation> anim = Animation::create(element.get(), effect, timing); local
138 timeline->play(anim.get());
143 EXPECT_TRUE(anim->compositableValues()->isEmpty());
269 RefPtr<Animation> anim = Animation::create(element.get(), 0, timing); local
271 timeline->play(anim.get());
/external/chromium_org/third_party/WebKit/Source/core/rendering/animation/
H A DWebAnimationProvider.cpp119 WebAnimations WebAnimationProvider::startAnimation(double timeOffset, const CSSAnimationData* anim, const KeyframeList& keyframes, bool hasTransform, const IntSize& boxSize) argument
156 resultAnimations.m_transformAnimation = createWebAnimationAndStoreId(transformVector, boxSize, anim, keyframes.animationName(), timeOffset);
158 resultAnimations.m_opacityAnimation = createWebAnimationAndStoreId(opacityVector, IntSize(), anim, keyframes.animationName(), timeOffset);
160 resultAnimations.m_filterAnimation = createWebAnimationAndStoreId(filterVector, IntSize(), anim, keyframes.animationName(), timeOffset);

Completed in 690 milliseconds

123