HomeSort by relevance Sort by last modified time
    Searched refs:anim (Results 51 - 75 of 432) sorted by null

1 23 4 5 6 7 8 91011>>

  /development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
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;
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();
  /development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/
ViewAnimations.java 83 setupAnimation(alphaButton, alphaAnimation, R.anim.alpha_anim);
84 setupAnimation(translateButton, translateAnimation, R.anim.translate_anim);
85 setupAnimation(rotateButton, rotateAnimation, R.anim.rotate_anim);
86 setupAnimation(scaleButton, scaleAnimation, R.anim.scale_anim);
87 setupAnimation(setButton, setAnimation, R.anim.set_anim);
  /packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
TranslationAnimationCreator.java 55 ObjectAnimator anim = local
61 anim.addListener(listener);
62 anim.addPauseListener(listener);
63 anim.setInterpolator(interpolator);
64 return anim;
  /frameworks/base/graphics/java/android/graphics/drawable/
RippleComponent.java 299 public void add(RenderNodeAnimator anim) {
300 mAnimators.add(anim);
315 final RenderNodeAnimator anim = animators.get(i); local
316 anim.setTarget(target);
317 anim.start();
325 final RenderNodeAnimator anim = animators.get(i); local
326 anim.cancel();
334 final RenderNodeAnimator anim = animators.get(i); local
335 anim.end();
343 final RenderNodeAnimator anim = animators.get(i) local
    [all...]
  /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();
  /cts/tests/tests/animation/src/android/animation/cts/
ObjectAnimatorTest.java 240 ValueAnimator.AnimatorUpdateListener updateListener = ((anim) -> {
241 Integer animatedValue = (Integer) anim.getAnimatedValue();
269 final ObjectAnimator anim = ObjectAnimator.ofFloat(null, "dummyValue", 0f, 1f); local
270 anim.setDuration(300);
273 anim.addUpdateListener(updateListener);
275 anim.addListener(listener);
277 mActivityRule.runOnUiThread(anim::start);
278 verify(listener, within(500)).onAnimationEnd(anim, false);
280 verify(listener, times(0)).onAnimationCancel(anim);
282 verify(updateListener, atLeast(8)).onAnimationUpdate(anim);
389 final ObjectAnimator anim = ObjectAnimator.ofFloat(target, "x", "y", path); local
443 final ObjectAnimator anim = ObjectAnimator.ofInt(target, "x", "y", path); local
499 final ObjectAnimator anim = ObjectAnimator.ofMultiFloat(target, "position", path); local
559 final ObjectAnimator anim = ObjectAnimator.ofMultiFloat(target, "position", data); local
600 final ObjectAnimator anim = ObjectAnimator.ofMultiInt(target, "position", path); local
660 final ObjectAnimator anim = ObjectAnimator.ofMultiInt(target, "position", data); local
850 final ObjectAnimator anim = ObjectAnimator.ofFloat(target, "testValue", 100); local
    [all...]
ValueAnimatorTest.java 145 final ValueAnimator anim = ValueAnimator.ofFloat(0f, 1f); local
146 anim.setStartDelay(300);
147 anim.setDuration(300);
149 anim.addListener(listener);
151 anim.start();
154 verify(listener, timeout(450).times(1)).onAnimationStart(anim, false);
155 verify(listener, timeout(450).times(1)).onAnimationEnd(anim, false);
168 final ValueAnimator anim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration); local
173 anim.setCurrentPlayTime(mDuration / 2);
174 long currentPlayTime = anim.getCurrentPlayTime()
256 final ValueAnimator anim = ValueAnimator.ofFloat(0, 1).setDuration(duration); local
289 final ValueAnimator anim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration); local
315 final ValueAnimator anim = ValueAnimator.ofFloat(0, 100).setDuration(mDuration); local
    [all...]
  /frameworks/base/core/java/android/view/animation/
AnimationUtils.java 133 Animation anim = null; local
149 anim = new AnimationSet(c, attrs);
150 createAnimationFromXml(c, parser, (AnimationSet)anim, attrs);
152 anim = new AlphaAnimation(c, attrs);
154 anim = new ScaleAnimation(c, attrs);
156 anim = new RotateAnimation(c, attrs);
158 anim = new TranslateAnimation(c, attrs);
164 parent.addAnimation(anim);
168 return anim;
248 a = AnimationUtils.loadAnimation(c, com.android.internal.R.anim.slide_in_left)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
AbsActionBarView.java 206 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 1); local
207 anim.setDuration(duration);
208 anim.setInterpolator(sAlphaInterpolator);
214 set.play(anim).with(splitAnim);
217 anim.addListener(mVisAnimListener.withFinalVisibility(visibility));
218 return anim;
221 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 0); local
222 anim.setDuration(duration);
223 anim.setInterpolator(sAlphaInterpolator);
229 set.play(anim).with(splitAnim)
239 Animator anim = setupAnimatorToVisibility(visibility, FADE_DURATION); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/fingerprint/
FingerprintEnrollEnrolling.java 235 ObjectAnimator anim = ObjectAnimator.ofInt(mProgressBar, "progress", local
237 anim.addListener(mProgressAnimationListener);
238 anim.setInterpolator(mFastOutSlowInInterpolator);
239 anim.setDuration(250);
240 anim.start();
241 mProgressAnim = anim;
245 ValueAnimator anim = ValueAnimator.ofArgb(mIndicatorBackgroundRestingColor, local
254 anim.addUpdateListener(listener);
255 anim.addListener(new AnimatorListenerAdapter() {
258 ValueAnimator anim = ValueAnimator.ofArgb(mIndicatorBackgroundActivatedColor
    [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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DragDownHelper.java 192 ObjectAnimator anim = ObjectAnimator.ofInt(child, "actualHeight", local
194 anim.setInterpolator(Interpolators.FAST_OUT_SLOW_IN);
195 anim.setDuration(SPRING_BACK_ANIMATION_LENGTH_MS);
196 anim.addListener(new AnimatorListenerAdapter() {
202 anim.start();
206 ValueAnimator anim = ValueAnimator.ofFloat(mLastHeight, 0); local
207 anim.setInterpolator(Interpolators.FAST_OUT_SLOW_IN);
208 anim.setDuration(SPRING_BACK_ANIMATION_LENGTH_MS);
209 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
215 anim.start()
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/folder/
PreviewItemManager.java 222 FolderPreviewItemAnim anim = new FolderPreviewItemAnim(this, p, i, prevNumItems, i,
225 if (p.anim != null) {
226 if (p.anim.hasEqualFinalState(anim)) {
230 p.anim.cancel();
232 p.anim = anim;
233 p.anim.start();
336 if (params.get(i).anim != null) {
337 params.get(i).anim.start()
    [all...]
  /frameworks/base/core/java/android/widget/
ZoomControls.java 91 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha); local
92 anim.setDuration(500);
93 startAnimation(anim);
  /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();
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentCustomAnimationSupport.java 77 ft.setCustomAnimations(R.anim.fragment_slide_left_enter,
78 R.anim.fragment_slide_left_exit,
79 R.anim.fragment_slide_right_enter,
80 R.anim.fragment_slide_right_exit);
  /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;
  /packages/apps/Launcher3/src/com/android/launcher3/anim/
CircleRevealOutlineProvider.java 17 package com.android.launcher3.anim;
PropertyResetListener.java 17 package com.android.launcher3.anim;
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
ColorMatcher.java 16 package com.android.managedprovisioning.preprovisioning.anim;
  /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
225 // Only set if it hasn't been changed since anim started
256 anim = new AnimatorSet();
257 ((AnimatorSet) anim).playSequentially(outAnim, inAnim);
259 anim = outAnim;
262 anim = inAnim;
302 Log.d(LOG_TAG, "createAnimator returning " + anim);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SwipeHelper.java 152 ObjectAnimator anim = ObjectAnimator.ofFloat(v, local
154 return anim;
164 ObjectAnimator anim = createTranslationAnimation(v, target); local
166 anim.addUpdateListener(listener);
168 return anim;
416 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener); local
417 if (anim == null) {
421 anim.setInterpolator(Interpolators.FAST_OUT_LINEAR_IN);
422 anim.setDuration(duration);
424 mFlingAnimationUtils.applyDismissing(anim, getTranslation(animView)
480 Animator anim = getViewTranslationAnimator(animView, targetLeft, updateListener); local
    [all...]

Completed in 691 milliseconds

1 23 4 5 6 7 8 91011>>