/external/chromium_org/third_party/polymer/components-chromium/paper-ripple/ |
paper-ripple-extracted.js | 9 function waveRadiusFn(touchDownMs, touchUpMs, anim) { 14 var ww = anim.width, hh = anim.height; 24 function waveOpacityFn(td, tu, anim) { 31 return anim.initialOpacity; 33 return Math.max(0, anim.initialOpacity - touchUp * anim.opacityDecayVelocity); 36 function waveOuterOpacityFn(td, tu, anim) { 44 var waveOpacity = waveOpacityFn(td, tu, anim); 49 function waveDidFinish(wave, radius, anim) { [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
AnimationPlayerActivity.java | 56 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.rokudou_slide_rokudou) [all...] |
MainMenuActivity.java | 134 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); local 312 anim.setStartOffset(500L); 313 mExtrasButton.startAnimation(anim); 317 Animation anim = AnimationUtils.loadAnimation(this, R.anim.button_slide) local [all...] |
ExtrasMenuActivity.java | 105 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);
|
/frameworks/base/core/java/android/animation/ |
AnimatorSet.java | 158 for (Animator anim : items) { 160 builder = play(anim); 162 builder.with(anim); 296 * @param anim The animation that is the dependency used in later calls to the 303 public Builder play(Animator anim) { 304 if (anim != null) { 306 return new Builder(anim); 593 public void onAnimationCancel(Animator anim) { 596 public void onAnimationEnd(Animator anim) { 635 final AnimatorSet anim = (AnimatorSet) super.clone() local 1240 ValueAnimator anim = ValueAnimator.ofFloat(0f, 1f); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
DragDownHelper.java | 177 ObjectAnimator anim = ObjectAnimator.ofInt(child, "actualHeight", local 179 anim.setInterpolator(mInterpolator); 180 anim.setDuration(SPRING_BACK_ANIMATION_LENGTH_MS); 181 anim.addListener(new AnimatorListenerAdapter() { 187 anim.start(); 191 ValueAnimator anim = ValueAnimator.ofFloat(mLastHeight, 0); local 192 anim.setInterpolator(mInterpolator); 193 anim.setDuration(SPRING_BACK_ANIMATION_LENGTH_MS); 194 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 200 anim.start() [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationUtilsTest.java | 48 // XML file of com.android.cts.view.R.anim.anim_alpha 50 // android:interpolator="@android:anim/accelerate_interpolator" 55 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha); 59 // Load Interpolator from android.R.anim.accelerate_interpolator 61 android.R.anim.accelerate_interpolator); 64 // Load LayoutAnimationController from com.android.cts.view.R.anim.anim_gridlayout 69 // android:animation="@anim/anim_alpha" /> 71 R.anim.anim_gridlayout);
|
/frameworks/base/core/java/android/widget/ |
ZoomControls.java | 93 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha); local 94 anim.setDuration(500); 95 startAnimation(anim);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentCustomAnimationSupport.java | 75 ft.setCustomAnimations(R.anim.fragment_slide_left_enter, 76 R.anim.fragment_slide_left_exit, 77 R.anim.fragment_slide_right_enter, 78 R.anim.fragment_slide_right_exit);
|
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/ |
ListViewAnimations.java | 80 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.ALPHA, 0); 81 anim.setDuration(1000); 90 anim.addListener(new AnimatorListenerAdapter() { 101 anim.start();
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
AlphaAnimation.java | 17 package com.android.gallery3d.anim;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLRoot.java | 22 import com.android.gallery3d.anim.CanvasAnimation;
|
/frameworks/base/core/java/android/transition/ |
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...] |
TranslationAnimationCreator.java | 71 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, View.TRANSLATION_Y, local 76 anim.addListener(listener); 77 anim.addPauseListener(listener); 78 anim.setInterpolator(interpolator); 79 return anim;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 128 ObjectAnimator anim = ObjectAnimator.ofFloat(v, local 130 return anim; 342 ObjectAnimator anim = createTranslationAnimation(animView, newPos); local 344 anim.setInterpolator(mFastOutLinearInInterpolator); 346 anim.setInterpolator(sLinearInterpolator); 348 anim.setDuration(duration); 350 anim.setStartDelay(delay); 352 anim.addListener(new AnimatorListenerAdapter() { 361 anim.addUpdateListener(new AnimatorUpdateListener() { 366 anim.start() 372 ObjectAnimator anim = createTranslationAnimation(animView, 0); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
SwipeHelper.java | 138 ObjectAnimator anim = ObjectAnimator.ofFloat(v, local 140 return anim; 144 ObjectAnimator anim = createTranslationAnimation(v, newPos); local 145 anim.setInterpolator(sLinearInterpolator); 146 anim.setDuration(duration); 147 return anim; 280 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); local 281 anim.addListener(new AnimatorListenerAdapter() { 288 anim.addUpdateListener(new AnimatorUpdateListener() { 297 anim.start() 328 ObjectAnimator anim = createTranslationAnimation(animView, 0); local [all...] |
/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);
|
LayoutAnimationsHideShow.java | 131 public void onAnimationEnd(Animator anim) { 132 View view = (View) ((ObjectAnimator) anim).getTarget(); 149 public void onAnimationEnd(Animator anim) { 150 View view = (View) ((ObjectAnimator) anim).getTarget(); 160 public void onAnimationEnd(Animator anim) { 161 View view = (View) ((ObjectAnimator) anim).getTarget(); 171 public void onAnimationEnd(Animator anim) { 172 View view = (View) ((ObjectAnimator) anim).getTarget();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TextSwitcher1.java | 52 android.R.anim.fade_in); 54 android.R.anim.fade_out);
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
AnimatorInflaterTest.java | 46 R.anim.test_state_anim); 49 R.anim.test_state_anim);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
DozeScrimController.java | 155 ValueAnimator anim = ValueAnimator.ofFloat(getDozeAlpha(inFront), target); local 156 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 163 anim.setInterpolator(interpolator); 164 anim.setDuration(duration); 165 anim.setStartDelay(delay); 166 anim.addListener(new AnimatorListenerAdapter() { 175 anim.start(); 176 setCurrentAnimator(inFront, anim);
|
ScrimController.java | 259 ValueAnimator anim = ValueAnimator.ofFloat(current, target); local 260 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 268 anim.setInterpolator(getInterpolator()); 269 anim.setStartDelay(mAnimationDelay); 270 anim.setDuration(mDurationOverride != -1 ? mDurationOverride : ANIMATION_DURATION); 271 anim.addListener(new AnimatorListenerAdapter() { 281 anim.start(); 282 scrim.setTag(TAG_KEY_ANIM, anim);
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
AnimatorInflater_Delegate.java | 55 AttributeSet attrs, ValueAnimator anim, float pathErrorScale) 57 return AnimatorInflater.loadAnimator_Original(res, theme, attrs, anim, pathErrorScale);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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();
|