/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/ |
CustomPropertyAnimationActivity.java | 19 ObjectAnimator anim = ObjectAnimator.ofFloat(view, "foo", 1); local 20 anim.start();
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSecurityViewHelper.java | 37 Animator anim = ObjectAnimator.ofFloat(ecaView, "alpha", 0f); local 38 anim.setDuration(duration); 39 anim.addListener(new AnimatorListenerAdapter() { 52 anim.start(); 60 Animator anim = ObjectAnimator.ofInt(bouncerFrame, "alpha", 0, 255); local 61 anim.setDuration(duration); 62 anim.start(); 77 Animator anim = ObjectAnimator.ofFloat(ecaView, "alpha", 1f); local 78 anim.setDuration(duration); 79 anim.start() 86 Animator anim = ObjectAnimator.ofInt(bouncerFrame, "alpha", 255, 0); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAnimationUtils.java | 18 Animation anim = new TranslateAnimation(0, 0, 30, 0); local 19 Robolectric.shadowOf(anim).setLoadedFromResourceId(id); 20 return anim;
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
CanvasAnimation.java | 17 package com.android.gallery3d.anim;
|
FloatAnimation.java | 17 package com.android.gallery3d.anim;
|
AlphaAnimation.java | 17 package com.android.gallery3d.anim;
|
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/ |
TextFragment.java | 48 final Animator anim = AnimatorInflater.loadAnimator(getActivity(), id); local 50 anim.addListener(new AnimatorListenerAdapter() { 57 return anim;
|
/development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/ |
MultiPropertyAnimations.java | 53 ValueAnimator anim = ValueAnimator.ofFloat(0, 400); local 54 anim.addUpdateListener(new AnimatorUpdateListener() { 62 anim.start();
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
HitRectBug.java | 63 ObjectAnimator anim = ObjectAnimator.ofFloat(mImageView, View.ROTATION, 0, 360); local 64 anim.setRepeatCount(ValueAnimator.INFINITE); 65 anim.setDuration(5000); 66 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 72 anim.start();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
TrimControllerOverlay.java | 56 ObjectAnimator anim = ObjectAnimator.ofFloat(mPlayPauseReplayView, "alpha", 1f, 0f); local 57 anim.setDuration(200); 58 anim.start(); 59 anim.addListener(new AnimatorListener() {
|
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/ |
Bouncer2.java | 108 ValueAnimator anim = getValueAnimator(); local 109 anim.setRepeatCount(ValueAnimator.INFINITE); 110 anim.setRepeatMode(ValueAnimator.REVERSE); 115 anim.setInterpolator(new AccelerateInterpolator()); 116 anim.start(); 120 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); local 121 anim.addUpdateListener(new AnimatorUpdateListener() { 127 return anim;
|
Bouncer.java | 127 ValueAnimator anim = getValueAnimator(); local 128 anim.start(); 132 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); local 133 anim.addUpdateListener(new AnimatorUpdateListener() { 140 return anim;
|
Bouncer1.java | 107 ValueAnimator anim = getValueAnimator(); local 111 anim.setRepeatCount(ValueAnimator.INFINITE); 112 anim.setRepeatMode(ValueAnimator.REVERSE); 113 anim.start(); 117 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); local 118 anim.addUpdateListener(new AnimatorUpdateListener() { 124 return anim;
|
Bouncer3.java | 112 ObjectAnimator anim = getObjectAnimator(); local 113 anim.setRepeatCount(ValueAnimator.INFINITE); 114 anim.setRepeatMode(ValueAnimator.REVERSE); 115 anim.setInterpolator(new AccelerateInterpolator()); 116 anim.start();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
CirclePropActivity.java | 126 RenderNodeAnimator anim = mRunningAnimations.get(i); local 127 anim.setDuration(1000); 128 anim.setTarget(this); 131 anim.setStartValue(64.0f); 132 anim.setStartDelay(anim.getDuration()); 134 anim.start();
|
ViewPropertyAlphaActivity.java | 106 ObjectAnimator anim = ObjectAnimator.ofFloat(target, View.ALPHA, 0); local 107 anim.setRepeatCount(ValueAnimator.INFINITE); 108 anim.setRepeatMode(ValueAnimator.REVERSE); 109 anim.setDuration(1000); 110 anim.start();
|
/external/replicaisland/src/com/replica/replicaisland/ |
DiaryActivity.java | 39 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(); local 69 anim.start();
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AccelerateDecelerateInterpolatorTest.java | 40 /** It is defined in R.anim.accelarate_decelerate_alpha */ 57 R.anim.accelerate_decelerate_alpha); 65 // XML file of R.anim.accelerate_decelerate_alpha 67 // android:interpolator="@android:anim/accelerate_decelerate_interpolator" 71 final Animation anim = AnimationUtils.loadAnimation(mActivity, local 72 R.anim.accelerate_decelerate_alpha); 73 assertEquals(ALPHA_DURATION, anim.getDuration()); 74 assertTrue(anim instanceof AlphaAnimation); 75 assertFalse(anim.hasStarted()); 77 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
AccelerateInterpolatorTest.java | 45 /** It is defined in R.anim.accelerate_alpha */ 59 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.accelerate_alpha); 67 // XML file of R.anim.accelerate_alpha 69 // android:interpolator="@android:anim/accelerate_interpolator" 73 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local 75 assertEquals(ACCELERATE_ALPHA_DURATION, anim.getDuration()); 76 assertTrue(anim instanceof AlphaAnimation); 80 anim.setInterpolator(interpolator); 81 assertFalse(anim.hasStarted()) 83 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
LinearInterpolatorTest.java | 40 /** It is defined in R.anim.alpha */ 73 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.alpha); local 74 assertEquals(LINEAR_ALPHA_DURATION, anim.getDuration()); 75 assertTrue(anim instanceof AlphaAnimation); 78 anim.setInterpolator(interpolator); 79 assertFalse(anim.hasStarted()); 81 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 84 final long startTime = anim.getStartTime(); 85 anim.getTransformation(startTime, transformation) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskViewTransform.java | 84 ViewPropertyAnimator anim = v.animate(); local 89 anim.translationY(translationY); 92 anim.translationZ(translationZ); 95 anim.scaleX(scale) 101 anim.alpha(alpha); 105 anim.withLayer(); 108 anim.setUpdateListener(updateCallback); 110 anim.setUpdateListener(null); 112 anim.setStartDelay(startDelay)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AnimationUtilsTest.java | 27 Animation anim = AnimationUtils.loadAnimation(new Activity(), R.anim.fade_in); local 28 assertThat(Robolectric.shadowOf(anim).getLoadedFromResourceId(), equalTo(R.anim.fade_in));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
TestR.java | 11 public static final class anim { class in class:TestR
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
DragDownHelper.java | 176 ObjectAnimator anim = ObjectAnimator.ofInt(child, "actualHeight", local 178 anim.setInterpolator(mInterpolator); 179 anim.setDuration(SPRING_BACK_ANIMATION_LENGTH_MS); 180 anim.addListener(new AnimatorListenerAdapter() { 186 anim.start(); 190 ValueAnimator anim = ValueAnimator.ofFloat(mLastHeight, 0); local 191 anim.setInterpolator(mInterpolator); 192 anim.setDuration(SPRING_BACK_ANIMATION_LENGTH_MS); 193 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 199 anim.start() [all...] |
/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(
|