/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAnimUtils.java | 88 AnimatorSet anim = new AnimatorSet(); local 89 cancelOnDestroyActivity(anim); 90 return anim; 94 ValueAnimator anim = new ValueAnimator(); local 95 anim.setFloatValues(values); 96 cancelOnDestroyActivity(anim); 97 return anim; 101 ObjectAnimator anim = new ObjectAnimator(); local 102 anim.setTarget(target); 103 anim.setPropertyName(propertyName) 112 ObjectAnimator anim = new ObjectAnimator(); local 122 ObjectAnimator anim = new ObjectAnimator(); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAnimUtils.java | 89 AnimatorSet anim = new AnimatorSet(); local 90 cancelOnDestroyActivity(anim); 91 return anim; 95 ValueAnimator anim = new ValueAnimator(); local 96 anim.setFloatValues(values); 97 cancelOnDestroyActivity(anim); 98 return anim; 102 ObjectAnimator anim = new ObjectAnimator(); local 103 anim.setTarget(target); 104 anim.setPropertyName(propertyName) 113 ObjectAnimator anim = new ObjectAnimator(); local 123 ObjectAnimator anim = new ObjectAnimator(); local 133 Animator anim = ViewAnimationUtils.createCircularReveal(view, centerX, local [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
DecelerateInterpolatorTest.java | 44 /** It is defined in R.anim.decelerate_alpha */ 62 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.decelerate_alpha); 70 // XML file of R.anim.decelerate_alpha 72 // android:interpolator="@android:anim/decelerate_interpolator" 76 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 78 assertEquals(DECELERATE_ALPHA_DURATION, anim.getDuration()); 79 assertTrue(anim instanceof AlphaAnimation); 83 anim.setInterpolator(interpolator); 84 assertFalse(anim.hasStarted()) 86 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 120 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
AnimationTest.java | 44 /** It is defined in R.anim.accelerate_alpha */ 47 /** It is defined in R.anim.decelerate_alpha */ 64 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.alpha); 88 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); 93 animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); 108 // XML file of R.anim.accelerate_alpha 110 // android:interpolator="@android:anim/accelerate_interpolator" 114 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); 174 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); 194 // XML file of R.anim.decelerate_alph 200 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); local 205 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 388 Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local 391 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 403 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); local [all...] |
CycleInterpolatorTest.java | 43 /** It is defined in R.anim.cycle_alpha */ 60 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.cycle_alpha); 67 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.cycle_alpha); local 68 assertEquals(CYCLE_ALPHA_DURATION, anim.getDuration()); 69 assertTrue(anim instanceof AlphaAnimation); 73 anim.setInterpolator(interpolator); 74 assertFalse(anim.hasStarted()); 76 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local 79 long startTime = anim.getStartTime() 115 AnimationTestUtils.assertRunAnimation(getInstrumentation(), animWindow, anim); local [all...] |
/frameworks/base/core/java/android/transition/ |
Crossfade.java | 197 ObjectAnimator anim; local 200 anim = ObjectAnimator.ofInt(startDrawable, "alpha", 255, 0, 0); 202 anim = ObjectAnimator.ofInt(startDrawable, "alpha", 0); 204 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 219 Log.d(LOG_TAG, "Crossfade: created anim " + anim + " for start, end values " + 222 anim.addListener(new AnimatorListenerAdapter() { 234 set.playTogether(anim);
|
ChangeText.java | 190 Animator anim; local 193 anim = ValueAnimator.ofFloat(0, 1); 194 anim.addListener(new AnimatorListenerAdapter() { 198 // Only set if it hasn't been changed since anim started 226 // Only set if it hasn't been changed since anim started 258 anim = new AnimatorSet(); 259 ((AnimatorSet) anim).playSequentially(outAnim, inAnim); 261 anim = outAnim; 264 anim = inAnim; 299 Log.d(LOG_TAG, "createAnimator returning " + anim); [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
Tweener.java | 40 public Tweener(ObjectAnimator anim) { 41 animator = anim; 100 ObjectAnimator anim = null; local 102 anim = ObjectAnimator.ofPropertyValuesHolder(object, 104 tween = new Tweener(anim); 108 anim = sTweens.get(object).animator; 113 anim.setInterpolator(interpolator); 117 anim.setStartDelay(delay); 118 anim.setDuration(duration); 120 anim.removeAllUpdateListeners(); // There should be only on [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardMessageArea.java | 201 Animator anim = ObjectAnimator.ofFloat(this, "alpha", 0f); local 202 anim.setDuration(duration); 204 anim.addListener(new AnimatorListenerAdapter() { 211 anim.start(); 222 Animator anim = ObjectAnimator.ofFloat(this, "alpha", 1f); local 223 anim.setDuration(duration); 224 anim.start();
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
Tweener.java | 40 public Tweener(ObjectAnimator anim) { 41 animator = anim; 101 ObjectAnimator anim = null; local 103 anim = ObjectAnimator.ofPropertyValuesHolder(object, 105 tween = new Tweener(anim); 109 anim = sTweens.get(object).animator; 114 anim.setInterpolator(interpolator); 118 anim.setStartDelay(delay); 119 anim.setDuration(duration); 121 anim.removeAllUpdateListeners(); // There should be only on [all...] |
/frameworks/base/core/java/android/animation/ |
LayoutTransition.java | 855 final Animator anim = baseAnimator.clone(); local 1173 Animator anim = mAppearingAnim.clone(); local 1221 Animator anim = mDisappearingAnim.clone(); local [all...] |
AnimatorInflater.java | 253 * @param anim The animator, must not be null 260 private static void parseAnimatorFromTypeArray(ValueAnimator anim, 283 evaluator = setupAnimatorForPath(anim, arrayAnimator); 294 setupValues(anim, arrayAnimator, getFloats, hasFrom, fromType, hasTo, toType); 297 anim.setDuration(duration); 298 anim.setStartDelay(startDelay); 301 anim.setRepeatCount( 305 anim.setRepeatMode( 310 anim.setEvaluator(evaluator); 314 setupObjectAnimator(anim, arrayObjectAnimator, getFloats, pixelSize) 512 Animator anim = null; local 575 ObjectAnimator anim = new ObjectAnimator(); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
DrawableHolder.java | 75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue); local 76 anim.setDuration(duration); 77 anim.setStartDelay(delay); 78 anim.setInterpolator(EASE_OUT_INTERPOLATOR); 79 this.addAnimation(anim, replace); 81 return anim; 111 * @param anim 115 private DrawableHolder addAnimation(ObjectAnimator anim, boolean overwrite) { 116 if (anim != null) 117 mAnimators.add(anim); 149 ObjectAnimator anim = mNeedToStart.get(i); local [all...] |
/external/chromium_org/third_party/skia/src/views/animated/ |
SkImageView.cpp | 271 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/ |
SkImageView.cpp | 271 SkAnimator* anim = new SkAnimator; local 273 if (!anim->decodeURI(fUri.c_str())) 275 delete anim; 279 anim->setHostEventSink(this); 281 fData.fAnim = anim;
|
/frameworks/base/core/java/android/widget/ |
ZoomControls.java | 93 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha); local 94 anim.setDuration(500); 95 startAnimation(anim);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 128 ObjectAnimator anim = ObjectAnimator.ofFloat(v, local 130 return anim; 339 ObjectAnimator anim = createTranslationAnimation(animView, newPos); local 341 anim.setInterpolator(mFastOutLinearInInterpolator); 343 anim.setInterpolator(sLinearInterpolator); 345 anim.setDuration(duration); 347 anim.setStartDelay(delay); 349 anim.addListener(new AnimatorListenerAdapter() { 358 anim.addUpdateListener(new AnimatorUpdateListener() { 363 anim.start() 369 ObjectAnimator anim = createTranslationAnimation(animView, 0); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
SwipeHelper.java | 125 ObjectAnimator anim = ObjectAnimator.ofFloat(v, local 127 return anim; 241 ValueAnimator anim = createTranslationAnimation(view, newPos); local 242 anim.setInterpolator(sLinearInterpolator); 243 anim.setDuration(duration); 244 anim.addListener(new AnimatorListenerAdapter() { 253 anim.addUpdateListener(new AnimatorUpdateListener() { 261 anim.start(); 266 ValueAnimator anim = createTranslationAnimation(view, 0); local 268 anim.setDuration(duration) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
ScrimController.java | 282 ValueAnimator anim = ValueAnimator.ofInt(current, target); local 283 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 290 anim.setInterpolator(mAnimateKeyguardFadingOut 293 anim.setStartDelay(mAnimationDelay); 294 anim.setDuration(mDurationOverride != -1 ? mDurationOverride : ANIMATION_DURATION); 295 anim.addListener(new AnimatorListenerAdapter() { 305 anim.start(); 306 scrim.setTag(TAG_KEY_ANIM, anim);
|
/hardware/libhardware/tests/hwc/ |
test-arrows.c | 123 static float anim = 0.0; variable 126 anim += 0.1; 127 if (anim >= 16.0) anim = 0.0; 133 glUniform1f(uAnim, anim);
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
Animation.java | 17 package com.android.gallery3d.anim;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SwipeHelper.java | 116 ObjectAnimator anim = ObjectAnimator.ofFloat(v, local 118 return anim; 122 ObjectAnimator anim = createTranslationAnimation(v, newPos); local 123 anim.setInterpolator(sDecelerateInterpolator); 124 anim.setDuration(duration); 125 return anim; 273 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); local 274 anim.addListener(new AnimatorListenerAdapter() { 281 anim.addUpdateListener(new AnimatorUpdateListener() { 290 anim.start() 321 final ObjectAnimator anim = createTranslationAnimation(animView, 0); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationLoading.java | 87 ObjectAnimator anim = (ObjectAnimator) AnimatorInflater. local 88 loadAnimator(appContext, R.anim.object_animator); 89 anim.addUpdateListener(this); 90 anim.setTarget(balls.get(0)); 93 loadAnimator(appContext, R.anim.animator); 102 R.anim.animator_set); 106 loadAnimator(appContext, R.anim.color_animator); 110 ((AnimatorSet) animation).playTogether(anim, fader, seq, colorizer);
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 333 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, startX, endX); local 334 anim.setDuration(MOVE_DURATION); 335 anim.start(); 336 setAnimatorEndAction(anim, endAction); 340 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, startY, endY); local 341 anim.setDuration(MOVE_DURATION); 342 anim.start(); 343 setAnimatorEndAction(anim, endAction);
|
/frameworks/base/core/java/android/app/ |
ListFragment.java | 349 getActivity(), android.R.anim.fade_out)); 351 getActivity(), android.R.anim.fade_in)); 361 getActivity(), android.R.anim.fade_in)); 363 getActivity(), android.R.anim.fade_out));
|