Home
last modified time | relevance | path

Searched refs:Animation (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTest.java45 import android.view.animation.Animation;
46 import android.view.animation.Animation.AnimationListener;
110 new Animation(mActivity, attrs) { in testConstructor() method
113 new Animation() { in testConstructor() method
133 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testAccessInterpolator()
146 Animation animation = new Animation() { in testDefaultFill()
161 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); in testAccessFill()
225 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testComputeDurationHint()
240 Animation animation = new Animation() { in testRepeatAnimation()
242 assertEquals(Animation.RESTART, animation.getRepeatMode()); in testRepeatAnimation()
[all …]
DAnimationSetTest.java35 import android.view.animation.Animation;
106 List<Animation> children = animationSet.getAnimations(); in testInitialize()
124 Animation animation1 = new AlphaAnimation(0.0f, 1.0f); in createAnimationSet()
128 Animation animation2 = new ScaleAnimation(1.0f, 2.0f, 1.0f, 3.0f); in createAnimationSet()
132 Animation animation3 = new TranslateAnimation(0.0f, 50.0f, 0.0f, 5.0f); in createAnimationSet()
144 List<Animation> children = animationSet.getAnimations(); in testSetFillAfter()
162 List<Animation> children = animationSet.getAnimations(); in testSetFillBefore()
184 final List<Animation> children = animationSet.getAnimations(); in testAccessDuration()
193 Animation child = null; in testRestrictDuration()
208 final List<Animation> children = animationSet.getAnimations(); in testRestrictDuration()
[all …]
DLayoutAnimationControllerTest.java32 import android.view.animation.Animation;
70 private Animation mDefaultAnimation;
101 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessOrder()
102 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessOrder()
103 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessOrder()
191 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessDelay()
192 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessDelay()
193 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessDelay()
254 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha);
264 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation();
[all …]
DTranslateAnimationTest.java35 import android.view.animation.Animation;
107 new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f, in testConstructors()
108 Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f); in testConstructors()
110 new TranslateAnimation(Animation.RELATIVE_TO_SELF, -0.6f, Animation.RELATIVE_TO_SELF, -0.6f, in testConstructors()
111 Animation.RELATIVE_TO_SELF, -0.6f, Animation.RELATIVE_TO_SELF, -0.6f); in testConstructors()
186 new TranslateAnimation(Animation.RELATIVE_TO_SELF, RELATIVE_FROM_X_DELTA, in testInitialize()
187 Animation.RELATIVE_TO_SELF, RELATIVE_TO_X_DELTA, in testInitialize()
188 Animation.RELATIVE_TO_PARENT, RELATIVE_FROM_Y_DELTA, in testInitialize()
189 Animation.RELATIVE_TO_PARENT, RELATIVE_TO_Y_DELTA); in testInitialize()
DGridLayoutAnimationControllerTest.java30 import android.view.animation.Animation;
70 private Animation mDefaultAnimation;
118 Animation childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessDelay()
119 Animation childAnimation4 = mGridView.getChildAt(INDEX_OF_CHILD4).getAnimation(); in testAccessDelay()
120 Animation childAnimation7 = mGridView.getChildAt(INDEX_OF_CHILD7).getAnimation(); in testAccessDelay()
129 Animation childAnimation2 = mGridView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessDelay()
130 Animation childAnimation3 = mGridView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessDelay()
142 private void assertChildrenDelay(Animation child1, Animation child2, Animation child3) { in assertChildrenDelay()
207 Animation childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation();
208 Animation childAnimation4 = mGridView.getChildAt(INDEX_OF_CHILD4).getAnimation();
[all …]
DAnimationTestUtils.java23 import android.view.animation.Animation;
54 final ActivityTestRule activityTestRule, final View view, final Animation animation) in assertRunAnimation()
71 final ActivityTestRule activityTestRule, final View view, final Animation animation, in assertRunAnimation()
DAnimationUtilsTest.java33 import android.view.animation.Animation;
87 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha); in testLoad()
111 Animation inAnimation = AnimationUtils.makeInAnimation(mActivity, true); in testMakeAnimation()
113 Animation outAnimation = AnimationUtils.makeOutAnimation(mActivity, true); in testMakeAnimation()
115 Animation bottomAnimation = AnimationUtils.makeInChildBottomAnimation(mActivity); in testMakeAnimation()
DRotateAnimationTest.java33 import android.view.animation.Animation;
102 new RotateAnimation(0.6f, 0.6f, Animation.ABSOLUTE, 0.6f, Animation.ABSOLUTE, 0.6f); in testConstructors()
104 new RotateAnimation(-0.6f, -0.6f, Animation.ABSOLUTE, -0.6f, Animation.ABSOLUTE, -0.6f); in testConstructors()
171 Animation.RELATIVE_TO_PARENT, pivotX, Animation.RELATIVE_TO_SELF, pivotY); in testRotateAgainstPoint()
DScaleAnimationTest.java32 import android.view.animation.Animation;
93 new ScaleAnimation(FROM_X, TO_X, FROM_Y, TO_Y, Animation.RELATIVE_TO_SELF, PIVOT_X, in testConstructors()
94 Animation.RELATIVE_TO_SELF, PIVOT_Y); in testConstructors()
DAccelerateDecelerateInterpolatorTest.java33 import android.view.animation.Animation;
98 final Animation anim = AnimationUtils.loadAnimation(mActivity, in testAccelerateDecelerateInterpolator()
DLinearInterpolatorTest.java29 import android.view.animation.Animation;
102 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.alpha); in testLinearInterpolator()
DDecelerateInterpolatorTest.java32 import android.view.animation.Animation;
103 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testDecelerateInterpolator()
DAccelerateInterpolatorTest.java33 import android.view.animation.Animation;
100 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); in testAccelerateInterpolator()
DCycleInterpolatorTest.java32 import android.view.animation.Animation;
93 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.cycle_alpha); in testCycleInterpolator()
/cts/hostsidetests/graphics/gpuprofiling/app/src/android/gpuprofiling/
DGpuRenderStagesDeviceActivity.java25 import android.view.animation.Animation;
50 Animation fade = new AlphaAnimation(0, 1); in onCreate()
52 fade.setRepeatCount(Animation.INFINITE); in onCreate()
53 fade.setRepeatMode(Animation.REVERSE); in onCreate()
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java39 import android.view.animation.Animation;
76 final RotateAnimation animation = new RotateAnimation(0, 180, Animation.RELATIVE_TO_SELF, in preventActivityIdle()
77 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); in preventActivityIdle()
78 animation.setRepeatCount(Animation.INFINITE); in preventActivityIdle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vibrations/
DHasVibratorVerifierActivity.java25 import android.view.animation.Animation;
52 private Animation mShakeAnimation;
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java31 import android.view.animation.Animation;
94 Animation animation = mViewAnimator.getInAnimation(); in testAccessInAnimation()
334 Animation animation = mViewAnimator.getOutAnimation(); in testAccessOutAnimation()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java72 import android.view.animation.Animation;
73 import android.view.animation.Animation.AnimationListener;
943 public void onAnimationEnd(Animation animation) { in testGetLayoutAnimationListener()
947 public void onAnimationRepeat(Animation animation) { in testGetLayoutAnimationListener()
951 public void onAnimationStart(Animation animation) { in testGetLayoutAnimationListener()
1396 private class MockAnimation extends Animation {
2065 Animation animation = new AlphaAnimation(mContext, null); in testScheduleLayoutAnimation()
DViewTest.java107 import android.view.animation.Animation;
274 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testGetAnimation()
287 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testSetAnimation()
303 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testClearAnimation()
324 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testStartAnimation()
330 assertEquals(Animation.START_ON_FIRST_FRAME, animation.getStartTime()); in testStartAnimation()
335 final Animation animation = new AlphaAnimation(0.0f, 1.0f); in testOnAnimation()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt1426 name: "android.view.animation.Animation.AnimationListener"
1429 parameters: "android.view.animation.Animation"
1434 parameters: "android.view.animation.Animation"
1439 parameters: "android.view.animation.Animation"
2322 return_type: "android.view.animation.Animation"
2429 return_type: "android.view.animation.Animation"
2785 parameters: "android.view.animation.Animation"
3452 name: "android.view.animation.Animation"
3459 parameters: "android.view.animation.Animation.AnimationListener"
3506 parameters: "android.view.animation.Animation"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt2561 field public static final int Animation = 16973824; // 0x1030000
52606 method public android.view.animation.Animation getAnimation();
52997 method public void setAnimation(android.view.animation.Animation);
53163 method public void startAnimation(android.view.animation.Animation);
53645 method public android.view.animation.Animation.AnimationListener getLayoutAnimationListener();
53710 … method public void setLayoutAnimationListener(android.view.animation.Animation.AnimationListener);
55369 public class AlphaAnimation extends android.view.animation.Animation {
55374 public abstract class Animation implements java.lang.Cloneable {
55375 ctor public Animation();
55376 ctor public Animation(android.content.Context, android.util.AttributeSet);
[all …]