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

1 2 3 4 5 6 7

  /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/core/java/android/transition/
Slide.java 47 ObjectAnimator anim = ObjectAnimator.ofFloat(endView, View.TRANSLATION_Y, local
49 anim.setInterpolator(sDecelerator);
50 return anim;
59 ObjectAnimator anim = ObjectAnimator.ofFloat(startView, View.TRANSLATION_Y, 0, local
61 anim.setInterpolator(sAccelerator);
62 return anim;
  /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...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
DocumentTimelineTest.cpp 65 RefPtr<Animation> anim = Animation::create(element.get(), effect, timing); local
69 timeline->play(anim.get());
74 EXPECT_TRUE(anim->compositableValues()->isEmpty());
  /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/core/java/android/animation/
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...]
  /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();
  /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(

Completed in 741 milliseconds

1 2 3 4 5 6 7