HomeSort by relevance Sort by last modified time
    Searched refs:anim (Results 1 - 25 of 263) sorted by null

1 2 3 4 5 6 7 8 91011

  /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...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/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...]
  /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...]
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...]
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...]
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...]
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...]
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/animation/
ObjectAnimator.java 179 ObjectAnimator anim = new ObjectAnimator(target, propertyName); local
180 anim.setIntValues(values);
181 return anim;
197 ObjectAnimator anim = new ObjectAnimator(target, property); local
198 anim.setIntValues(values);
199 return anim;
217 ObjectAnimator anim = new ObjectAnimator(target, propertyName); local
218 anim.setFloatValues(values);
219 return anim;
236 ObjectAnimator anim = new ObjectAnimator(target, property) local
260 ObjectAnimator anim = new ObjectAnimator(target, propertyName); local
283 ObjectAnimator anim = new ObjectAnimator(target, property); local
308 ObjectAnimator anim = new ObjectAnimator(); local
402 ObjectAnimator anim = (ObjectAnimator) handler.mAnimations.get(i); local
411 ObjectAnimator anim = (ObjectAnimator) handler.mPendingAnimations.get(i); local
420 ObjectAnimator anim = (ObjectAnimator) handler.mDelayedAnims.get(i); local
549 final ObjectAnimator anim = (ObjectAnimator) super.clone(); local
    [all...]
AnimatorInflater.java 100 Animator anim = null; local
117 anim = loadObjectAnimator(c, attrs);
119 anim = loadAnimator(c, attrs, null);
121 anim = new AnimatorSet();
126 createAnimatorFromXml(c, parser, attrs, (AnimatorSet) anim, ordering);
136 childAnims.add(anim);
152 return anim;
159 ObjectAnimator anim = new ObjectAnimator(); local
161 loadAnimator(context, attrs, anim);
168 anim.setPropertyName(propertyName)
    [all...]
ValueAnimator.java 263 ValueAnimator anim = new ValueAnimator(); local
264 anim.setIntValues(values);
265 return anim;
280 ValueAnimator anim = new ValueAnimator(); local
281 anim.setFloatValues(values);
282 return anim;
294 ValueAnimator anim = new ValueAnimator(); local
295 anim.setValues(values);
296 return anim;
317 ValueAnimator anim = new ValueAnimator() local
586 ValueAnimator anim = pendingCopy.get(i); local
599 ValueAnimator anim = mDelayedAnims.get(i); local
607 ValueAnimator anim = mReadyAnims.get(i); local
622 ValueAnimator anim = mTmpAnimations.get(i); local
1186 final ValueAnimator anim = (ValueAnimator) super.clone(); local
    [all...]
Animator.java 197 final Animator anim = (Animator) super.clone(); local
200 anim.mListeners = new ArrayList<AnimatorListener>();
203 anim.mListeners.add(oldListeners.get(i));
206 return anim;
  /development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/
AnimatedSubActivity.java 39 overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_right);
  /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;
  /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
  /packages/apps/Gallery2/src/com/android/gallery3d/anim/
CanvasAnimation.java 17 package com.android.gallery3d.anim;
FloatAnimation.java 17 package com.android.gallery3d.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));
  /external/webkit/Source/WebCore/page/animation/
CompositeAnimation.cpp 70 KeyframeAnimation* anim = it->second.get(); local
71 animationController()->animationWillBeRemoved(anim);
72 anim->clear();
94 const Animation* anim = targetStyle->transitions()->animation(i); local
95 bool isActiveTransition = anim->duration() || anim->delay() > 0;
97 int prop = anim->property();
169 m_transitions.set(prop, ImplicitAnimation::create(const_cast<Animation*>(anim), prop, renderer, this, modifiedCurrentStyle ? modifiedCurrentStyle.get() : fromStyle));
183 ImplicitAnimation* anim = it->second.get(); local
184 if (!anim->active())
226 const Animation* anim = targetStyle->animations()->animation(i); local
343 KeyframeAnimation* anim = it->second.get(); local
392 RefPtr<KeyframeAnimation> anim = it->second; local
419 ImplicitAnimation* anim = it->second.get(); local
437 KeyframeAnimation* anim = it->second.get(); local
446 ImplicitAnimation* anim = it->second.get(); local
458 ImplicitAnimation* anim = it->second.get(); local
470 ImplicitAnimation* anim = it->second.get(); local
483 KeyframeAnimation* anim = it->second.get(); local
492 ImplicitAnimation* anim = it->second.get(); local
558 KeyframeAnimation* anim = it->second.get(); local
567 ImplicitAnimation* anim = it->second.get(); local
584 RefPtr<WebKitAnimation> anim = WebKitAnimation::create(keyframeAnimation); 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...]
  /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(
  /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();
  /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;
  /sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/
CustomPropertyAnimationActivity.java 19 ObjectAnimator anim = ObjectAnimator.ofFloat(view, "foo", 1); local
20 anim.start();

Completed in 327 milliseconds

1 2 3 4 5 6 7 8 91011