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

123

/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));
H A DViewTest.java218 Animation anim = new TestAnimation();
219 view.setAnimation(anim);
220 assertThat(view.getAnimation(), sameInstance(anim));
225 Animation anim = new TestAnimation();
227 anim.setAnimationListener(listener);
231 view.startAnimation(anim);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
H A DTestR.java11 public static final class anim { class in class:TestR
/external/webkit/Source/WebCore/page/animation/
H A DCompositeAnimation.cpp70 KeyframeAnimation* anim = it->second.get(); local
71 animationController()->animationWillBeRemoved(anim);
72 anim->clear();
94 const Animation* anim = targetStyle->transitions()->animation(i); local
95 bool isActiveTransition = anim->duration() || anim->delay() > 0;
97 int prop = anim->property();
169 m_transitions.set(prop, ImplicitAnimation::create(const_cast<Animation*>(anim), prop, renderer, this, modifiedCurrentStyle ? modifiedCurrentStyle.get() : fromStyle));
183 ImplicitAnimation* anim = it->second.get(); local
184 if (!anim
226 const Animation* anim = targetStyle->animations()->animation(i); local
343 KeyframeAnimation* anim = it->second.get(); local
392 RefPtr<KeyframeAnimation> anim = it->second; local
419 ImplicitAnimation* anim = it->second.get(); local
437 KeyframeAnimation* anim = it->second.get(); local
446 ImplicitAnimation* anim = it->second.get(); local
458 ImplicitAnimation* anim = it->second.get(); local
470 ImplicitAnimation* anim = it->second.get(); local
483 KeyframeAnimation* anim = it->second.get(); local
492 ImplicitAnimation* anim = it->second.get(); local
558 KeyframeAnimation* anim = it->second.get(); local
567 ImplicitAnimation* anim = it->second.get(); local
584 RefPtr<WebKitAnimation> anim = WebKitAnimation::create(keyframeAnimation); local
[all...]
H A DAnimationBase.cpp95 static inline Color blendFunc(const AnimationBase* anim, const Color& from, const Color& to, double progress) argument
106 Color premultBlended(blendFunc(anim, premultFrom.red(), premultTo.red(), progress),
107 blendFunc(anim, premultFrom.green(), premultTo.green(), progress),
108 blendFunc(anim, premultFrom.blue(), premultTo.blue(), progress),
109 blendFunc(anim, premultFrom.alpha(), premultTo.alpha(), progress));
119 static inline LengthSize blendFunc(const AnimationBase* anim, const LengthSize& from, const LengthSize& to, double progress) argument
121 return LengthSize(blendFunc(anim, from.width(), to.width(), progress),
122 blendFunc(anim, from.height(), to.height(), progress));
125 static inline IntSize blendFunc(const AnimationBase* anim, const IntSize& from, const IntSize& to, double progress) argument
127 return IntSize(blendFunc(anim, fro
131 blendFunc(const AnimationBase* anim, ShadowStyle from, ShadowStyle to, double progress) argument
142 blendFunc(const AnimationBase* anim, const ShadowData* from, const ShadowData* to, double progress) argument
157 blendFunc(const AnimationBase* anim, const TransformOperations& from, const TransformOperations& to, double progress) argument
196 blendFunc(const AnimationBase* anim, EVisibility from, EVisibility to, double progress) argument
208 blendFunc(const AnimationBase* anim, const LengthBox& from, const LengthBox& to, double progress) argument
286 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
305 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
323 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
420 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
486 blend(const AnimationBase* anim, FillLayer* dst, const FillLayer* a, const FillLayer* b, double progress) const argument
539 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
584 blend(const AnimationBase* anim, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) const argument
849 blendProperties(const AnimationBase* anim, int prop, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress) argument
[all...]
H A DAnimationBase.h140 void setAnimation(const Animation* anim) { m_animation = const_cast<Animation*>(anim); } argument
218 static bool blendProperties(const AnimationBase* anim, int prop, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress);
/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/webkit/Source/WebCore/platform/animation/
H A DAnimationList.h52 void append(PassRefPtr<Animation> anim) { m_animations.append(anim); } argument
/external/skia/legacy/src/views/
H A DSkWidgetViews.cpp52 void init_skin_anim(const char path[], SkAnimator* anim) argument
54 SkASSERT(path && anim);
64 if (!anim->decodeStream(&stream))
71 void init_skin_anim(SkinEnum se, SkAnimator* anim) argument
73 init_skin_anim(get_skin_enum_path(se), anim); local
80 SkAnimator anim; local
83 init_skin_anim(se, &anim);
84 anim.draw(&canvas, paint, 0);
91 SkAnimator anim; local
94 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/legacy/src/animator/
H A DSkDisplayPost.cpp219 SkAnimator* anim = maker.getAnimator(); local
223 targetID = anim->getSinkID();
229 anim = fTargetMaker->getAnimator();
234 anim->onEventPost(new SkEvent(fEvent), targetID);
236 anim->onEventPostTime(new SkEvent(fEvent), targetID, futureTime);
268 SkAnimator* anim = fTargetMaker->getAnimator(); local
269 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();
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/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/webkit/Source/WebCore/platform/graphics/qt/
H A DGraphicsLayerQt.cpp370 if (QAbstractAnimation* anim = it->data())
371 delete anim;
1384 AnimationQtBase(GraphicsLayerQtImpl* layer, const KeyframeValueList& values, const IntSize& boxSize, const Animation* anim, const QString & name) argument
1388 , m_duration(anim->duration() * 1000)
1389 , m_isAlternate(anim->direction() == Animation::AnimationDirectionAlternate)
1391 , m_webkitAnimation(anim)
1427 AnimationQt(GraphicsLayerQtImpl* layer, const KeyframeValueList& values, const IntSize& boxSize, const Animation* anim, const QString & name) argument
1428 : AnimationQtBase(layer, values, boxSize, anim, name)
1437 keyframeValue.timingFunction = anim->timingFunction().get();
1519 TransformAnimationQt(GraphicsLayerQtImpl* layer, const KeyframeValueList& values, const IntSize& boxSize, const Animation* anim, cons argument
1590 OpacityAnimationQt(GraphicsLayerQtImpl* layer, const KeyframeValueList& values, const IntSize& boxSize, const Animation* anim, const QString& name) argument
1630 addAnimation(const KeyframeValueList& values, const IntSize& boxSize, const Animation* anim, const String& keyframesName, double timeOffset) argument
1691 AnimationQtBase* anim = static_cast<AnimationQtBase*>(it->data()); local
1709 AnimationQtBase* anim = static_cast<AnimationQtBase*>(it->data()); local
1727 AnimationQtBase* anim = static_cast<AnimationQtBase*>(it->data()); local
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGraphicsLayerAndroid.cpp887 const Animation* anim,
891 if (!anim || anim->isEmptyOrZeroDuration() || valueList.size() < 2)
897 anim,
903 anim,
936 RefPtr<AndroidOpacityAnimation> anim = AndroidOpacityAnimation::create(animation, local
940 anim->setName(propertyIdToString(valueList.property()));
942 anim->setName(keyframesName);
944 m_contentLayer->addAnimation(anim.release());
978 RefPtr<AndroidTransformAnimation> anim local
885 addAnimation(const KeyframeValueList& valueList, const IntSize& boxSize, const Animation* anim, const String& keyframesName, double beginTime) argument
[all...]

Completed in 348 milliseconds

123