/external/webkit/WebCore/platform/graphics/android/ |
AndroidAnimation.cpp | 55 AndroidAnimation::AndroidAnimation(AndroidAnimation* anim) : 56 m_beginTime(anim->m_beginTime), 57 m_duration(anim->m_duration), 58 m_iterationCount(anim->m_iterationCount), 60 m_direction(anim->m_direction), 61 m_timingFunction(anim->m_timingFunction) 134 AndroidOpacityAnimation::AndroidOpacityAnimation(AndroidOpacityAnimation* anim) 135 : AndroidAnimation(anim), 136 m_fromValue(anim->m_fromValue), 137 m_toValue(anim->m_toValue [all...] |
AndroidAnimation.h | 39 AndroidAnimation(AndroidAnimation* anim); 71 AndroidOpacityAnimation(AndroidOpacityAnimation* anim); 89 AndroidTransformAnimation(AndroidTransformAnimation* anim);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Animation2.java | 57 R.anim.push_up_in)); 59 R.anim.push_up_out)); 63 R.anim.push_left_in)); 65 R.anim.push_left_out)); 69 android.R.anim.fade_in)); 71 android.R.anim.fade_out)); 75 R.anim.hyperspace_in)); 77 R.anim.hyperspace_out));
|
Animation3.java | 68 android.R.anim.accelerate_interpolator)); 72 android.R.anim.decelerate_interpolator)); 76 android.R.anim.accelerate_decelerate_interpolator)); 80 android.R.anim.anticipate_interpolator)); 84 android.R.anim.overshoot_interpolator)); 88 android.R.anim.anticipate_overshoot_interpolator)); 92 android.R.anim.bounce_interpolator));
|
TextSwitcher1.java | 52 android.R.anim.fade_in); 54 android.R.anim.fade_out);
|
/external/webkit/WebCore/page/animation/ |
CompositeAnimation.cpp | 63 KeyframeAnimation* anim = it->second.get(); local 64 anim->clearRenderer(); 86 const Animation* anim = targetStyle->transitions()->animation(i); local 87 bool isActiveTransition = anim->duration() || anim->delay() > 0; 89 int prop = anim->property(); 160 m_transitions.set(prop, ImplicitAnimation::create(const_cast<Animation*>(anim), prop, renderer, this, modifiedCurrentStyle ? modifiedCurrentStyle.get() : fromStyle)); 174 ImplicitAnimation* anim = it->second.get(); local 175 if (!anim->active()) 176 toBeRemoved.append(anim->animatingProperty()) 213 const Animation* anim = targetStyle->animations()->animation(i); local 327 KeyframeAnimation* anim = it->second.get(); local 376 RefPtr<KeyframeAnimation> anim = it->second; local 403 ImplicitAnimation* anim = it->second.get(); local 421 KeyframeAnimation* anim = it->second.get(); local 430 ImplicitAnimation* anim = it->second.get(); local 442 ImplicitAnimation* anim = it->second.get(); local 454 ImplicitAnimation* anim = it->second.get(); local 467 KeyframeAnimation* anim = it->second.get(); local 476 ImplicitAnimation* anim = it->second.get(); local 529 KeyframeAnimation* anim = it->second.get(); local 538 ImplicitAnimation* anim = it->second.get(); local [all...] |
AnimationBase.cpp | 89 static inline Color blendFunc(const AnimationBase* anim, const Color& from, const Color& to, double progress) 100 Color premultBlended(blendFunc(anim, premultFrom.red(), premultTo.red(), progress), 101 blendFunc(anim, premultFrom.green(), premultTo.green(), progress), 102 blendFunc(anim, premultFrom.blue(), premultTo.blue(), progress), 103 blendFunc(anim, premultFrom.alpha(), premultTo.alpha(), progress)); 113 static inline LengthSize blendFunc(const AnimationBase* anim, const LengthSize& from, const LengthSize& to, double progress) 115 return LengthSize(blendFunc(anim, from.width(), to.width(), progress), 116 blendFunc(anim, from.height(), to.height(), progress)); 119 static inline IntSize blendFunc(const AnimationBase* anim, const IntSize& from, const IntSize& to, double progress) 121 return IntSize(blendFunc(anim, from.width(), to.width(), progress) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AccelerateInterpolatorTest.java | 50 /** It is defined in R.anim.accelerate_alpha */ 81 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.accelerate_alpha); 96 // XML file of R.anim.accelerate_alpha 98 // android:interpolator="@android:anim/accelerate_interpolator" 102 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local 104 assertEquals(ACCELERATE_ALPHA_DURATION, anim.getDuration()); 105 assertTrue(anim instanceof AlphaAnimation); 109 anim.setInterpolator(interpolator); 110 assertFalse(anim.hasStarted()) 112 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
DecelerateInterpolatorTest.java | 49 /** It is defined in R.anim.decelerate_alpha */ 87 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.decelerate_alpha); 102 // XML file of R.anim.decelerate_alpha 104 // android:interpolator="@android:anim/decelerate_interpolator" 108 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 110 assertEquals(DECELERATE_ALPHA_DURATION, anim.getDuration()); 111 assertTrue(anim instanceof AlphaAnimation); 115 anim.setInterpolator(interpolator); 116 assertFalse(anim.hasStarted()) 118 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 152 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
LinearInterpolatorTest.java | 45 /** It is defined in R.anim.alpha */ 95 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.alpha); local 96 assertEquals(LINEAR_ALPHA_DURATION, anim.getDuration()); 97 assertTrue(anim instanceof AlphaAnimation); 100 anim.setInterpolator(interpolator); 101 assertFalse(anim.hasStarted()); 103 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 106 final long startTime = anim.getStartTime(); 107 anim.getTransformation(startTime, transformation) [all...] |
AccelerateDecelerateInterpolatorTest.java | 45 /** It is defined in R.anim.accelarate_decelerate_alpha */ 74 R.anim.accelerate_decelerate_alpha); 90 // XML file of R.anim.accelerate_decelerate_alpha 92 // android:interpolator="@android:anim/accelerate_decelerate_interpolator" 96 final Animation anim = AnimationUtils.loadAnimation(mActivity, local 97 R.anim.accelerate_decelerate_alpha); 98 assertEquals(ALPHA_DURATION, anim.getDuration()); 99 assertTrue(anim instanceof AlphaAnimation); 100 assertFalse(anim.hasStarted()); 102 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
CycleInterpolatorTest.java | 48 /** It is defined in R.anim.cycle_alpha */ 77 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.cycle_alpha); 84 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.cycle_alpha); local 85 assertEquals(CYCLE_ALPHA_DURATION, anim.getDuration()); 86 assertTrue(anim instanceof AlphaAnimation); 90 anim.setInterpolator(interpolator); 91 assertFalse(anim.hasStarted()); 93 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 96 long startTime = anim.getStartTime() 132 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
AnimationTest.java | 49 /** It is defined in R.anim.accelerate_alpha */ 52 /** It is defined in R.anim.decelerate_alpha */ 83 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.alpha); 136 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); 141 animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); 212 // XML file of R.anim.accelerate_alpha 214 // android:interpolator="@android:anim/accelerate_interpolator" 218 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); 284 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); 342 // XML file of R.anim.decelerate_alph 348 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 353 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 594 Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local 598 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 627 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local [all...] |
AnimationUtilsTest.java | 70 // XML file of com.android.cts.stub.R.anim.anim_alpha 72 // android:interpolator="@android:anim/accelerate_interpolator" 77 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha); 81 // Load Interpolator from android.R.anim.accelerate_interpolator 83 android.R.anim.accelerate_interpolator); 86 // Load LayoutAnimationController from com.android.cts.stub.R.anim.anim_gridlayout 91 // android:animation="@anim/anim_alpha" /> 93 R.anim.anim_gridlayout);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
AnimateDrawable.java | 43 public void setAnimation(Animation anim) { 44 mAnimation = anim; 60 Animation anim = mAnimation; local 61 if (anim != null) { 62 anim.getTransformation(
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
Animation.java | 61 overridePendingTransition(R.anim.fade, R.anim.hold); 74 overridePendingTransition(R.anim.zoom_enter, R.anim.zoom_exit);
|
/external/webkit/WebCore/platform/animation/ |
AnimationList.h | 48 void append(PassRefPtr<Animation> anim) { m_animations.append(anim); }
|
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 221 Animation anim; local 224 anim = new TranslateAnimation(0, -view.getWidth(), 0, 0); 227 anim = new TranslateAnimation(0, view.getWidth(), 0, 0); 230 anim = new TranslateAnimation(0, 0, 0, -view.getHeight()); 233 anim = new TranslateAnimation(0, 0, 0, view.getHeight()); 238 anim.setDuration(500); 239 view.startAnimation(anim); 240 return anim; 245 Animation anim; local 248 anim = new TranslateAnimation(-view.getWidth(), 0, 0, 0) [all...] |
/external/skia/src/views/ |
SkWidgetViews.cpp | 45 void init_skin_anim(const char path[], SkAnimator* anim) 47 SkASSERT(path && anim); 57 if (!anim->decodeStream(&stream)) 64 void init_skin_anim(SkinEnum se, SkAnimator* anim) 66 init_skin_anim(get_skin_enum_path(se), anim); local 73 SkAnimator anim; local 76 init_skin_anim(se, &anim); 77 anim.draw(&canvas, paint, 0); 84 SkAnimator anim; local 87 if (!anim.decodeDOM(dom, node) [all...] |
/frameworks/base/core/java/android/view/animation/ |
AnimationUtils.java | 89 Animation anim = null; local 105 anim = new AnimationSet(c, attrs); 106 createAnimationFromXml(c, parser, (AnimationSet)anim, attrs); 108 anim = new AlphaAnimation(c, attrs); 110 anim = new ScaleAnimation(c, attrs); 112 anim = new RotateAnimation(c, attrs); 114 anim = new TranslateAnimation(c, attrs); 120 parent.addAnimation(anim); 124 return anim; 196 a = AnimationUtils.loadAnimation(c, com.android.internal.R.anim.slide_in_left) [all...] |
/frameworks/base/core/java/android/widget/ |
ZoomControls.java | 91 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha); local 92 anim.setDuration(500); 93 startAnimation(anim);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
AbstractIndicator.java | 77 AlphaAnimation anim = new AlphaAnimation(0.2f, 1); local 78 anim.setDuration(200); 79 startAnimation(anim);
|
/packages/apps/Browser/src/com/android/browser/ |
WebDialog.java | 52 R.anim.dialog_exit)); 75 R.anim.dialog_enter));
|
/external/skia/src/animator/ |
SkDisplayPost.cpp | 227 SkAnimator* anim = maker.getAnimator(); local 231 targetID = anim->getSinkID(); 237 anim = fTargetMaker->getAnimator(); 242 anim->onEventPost(new SkEvent(fEvent), targetID); 244 anim->onEventPostTime(new SkEvent(fEvent), targetID, futureTime); 276 SkAnimator* anim = fTargetMaker->getAnimator(); local 277 fSinkID = anim->getSinkID();
|
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/ |
SyncStateCheckBoxPreference.java | 66 final AnimationDrawable anim = (AnimationDrawable) syncActiveView.getDrawable(); local 72 anim.start(); 78 anim.stop();
|