/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTest.java | 43 import android.view.animation.Animation; 44 import android.view.animation.Animation.AnimationListener; 100 new Animation(mActivity, attrs) { in testConstructor() method 103 new Animation() { in testConstructor() method 123 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testAccessInterpolator() 136 Animation animation = new Animation() { in testDefaultFill() 151 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); in testAccessFill() 215 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testComputeDurationHint() 230 Animation animation = new Animation() { in testRepeatAnimation() 232 assertEquals(Animation.RESTART, animation.getRepeatMode()); in testRepeatAnimation() [all …]
|
D | AnimationSetTest.java | 33 import android.view.animation.Animation; 95 List<Animation> children = animationSet.getAnimations(); in testInitialize() 113 Animation animation1 = new AlphaAnimation(0.0f, 1.0f); in createAnimationSet() 117 Animation animation2 = new ScaleAnimation(1.0f, 2.0f, 1.0f, 3.0f); in createAnimationSet() 121 Animation animation3 = new TranslateAnimation(0.0f, 50.0f, 0.0f, 5.0f); in createAnimationSet() 133 List<Animation> children = animationSet.getAnimations(); in testSetFillAfter() 151 List<Animation> children = animationSet.getAnimations(); in testSetFillBefore() 173 final List<Animation> children = animationSet.getAnimations(); in testAccessDuration() 182 Animation child = null; in testRestrictDuration() 197 final List<Animation> children = animationSet.getAnimations(); in testRestrictDuration() [all …]
|
D | TranslateAnimationTest.java | 32 import android.view.animation.Animation; 94 new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f, in testConstructors() 95 Animation.RELATIVE_TO_SELF, 0.6f, Animation.RELATIVE_TO_SELF, 0.6f); in testConstructors() 97 new TranslateAnimation(Animation.RELATIVE_TO_SELF, -0.6f, Animation.RELATIVE_TO_SELF, -0.6f, in testConstructors() 98 Animation.RELATIVE_TO_SELF, -0.6f, Animation.RELATIVE_TO_SELF, -0.6f); in testConstructors() 173 new TranslateAnimation(Animation.RELATIVE_TO_SELF, RELATIVE_FROM_X_DELTA, in testInitialize() 174 Animation.RELATIVE_TO_SELF, RELATIVE_TO_X_DELTA, in testInitialize() 175 Animation.RELATIVE_TO_PARENT, RELATIVE_FROM_Y_DELTA, in testInitialize() 176 Animation.RELATIVE_TO_PARENT, RELATIVE_TO_Y_DELTA); in testInitialize()
|
D | LayoutAnimationControllerTest.java | 30 import android.view.animation.Animation; 65 private Animation mDefaultAnimation; 90 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessOrder() 91 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessOrder() 92 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessOrder() 180 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessDelay() 181 Animation childAnimation2 = mListView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessDelay() 182 Animation childAnimation3 = mListView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessDelay() 243 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); 253 Animation childAnimation1 = mListView.getChildAt(INDEX_OF_CHILD1).getAnimation(); [all …]
|
D | AnimationUtilsTest.java | 26 import android.view.animation.Animation; 65 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.anim_alpha); in testLoad() 89 Animation inAnimation = AnimationUtils.makeInAnimation(mActivity, true); in testMakeAnimation() 91 Animation outAnimation = AnimationUtils.makeOutAnimation(mActivity, true); in testMakeAnimation() 93 Animation bottomAnimation = AnimationUtils.makeInChildBottomAnimation(mActivity); in testMakeAnimation()
|
D | GridLayoutAnimationControllerTest.java | 28 import android.view.animation.Animation; 65 private Animation mDefaultAnimation; 107 Animation childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); in testAccessDelay() 108 Animation childAnimation4 = mGridView.getChildAt(INDEX_OF_CHILD4).getAnimation(); in testAccessDelay() 109 Animation childAnimation7 = mGridView.getChildAt(INDEX_OF_CHILD7).getAnimation(); in testAccessDelay() 118 Animation childAnimation2 = mGridView.getChildAt(INDEX_OF_CHILD2).getAnimation(); in testAccessDelay() 119 Animation childAnimation3 = mGridView.getChildAt(INDEX_OF_CHILD3).getAnimation(); in testAccessDelay() 131 private void assertChildrenDelay(Animation child1, Animation child2, Animation child3) { in assertChildrenDelay() 196 Animation childAnimation1 = mGridView.getChildAt(INDEX_OF_CHILD1).getAnimation(); 197 Animation childAnimation4 = mGridView.getChildAt(INDEX_OF_CHILD4).getAnimation(); [all …]
|
D | AnimationTestUtils.java | 23 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()
|
D | RotateAnimationTest.java | 31 import android.view.animation.Animation; 91 new RotateAnimation(0.6f, 0.6f, Animation.ABSOLUTE, 0.6f, Animation.ABSOLUTE, 0.6f); in testConstructors() 93 new RotateAnimation(-0.6f, -0.6f, Animation.ABSOLUTE, -0.6f, Animation.ABSOLUTE, -0.6f); in testConstructors() 160 Animation.RELATIVE_TO_PARENT, pivotX, Animation.RELATIVE_TO_SELF, pivotY); in testRotateAgainstPoint()
|
D | ScaleAnimationTest.java | 30 import android.view.animation.Animation; 82 new ScaleAnimation(FROM_X, TO_X, FROM_Y, TO_Y, Animation.RELATIVE_TO_SELF, PIVOT_X, in testConstructors() 83 Animation.RELATIVE_TO_SELF, PIVOT_Y); in testConstructors()
|
D | AccelerateDecelerateInterpolatorTest.java | 31 import android.view.animation.Animation; 87 final Animation anim = AnimationUtils.loadAnimation(mActivity, in testAccelerateDecelerateInterpolator()
|
D | LinearInterpolatorTest.java | 27 import android.view.animation.Animation; 91 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.alpha); in testLinearInterpolator()
|
D | DecelerateInterpolatorTest.java | 30 import android.view.animation.Animation; 92 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); in testDecelerateInterpolator()
|
D | AccelerateInterpolatorTest.java | 31 import android.view.animation.Animation; 89 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.accelerate_alpha); in testAccelerateInterpolator()
|
D | CycleInterpolatorTest.java | 30 import android.view.animation.Animation; 82 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.cycle_alpha); in testCycleInterpolator()
|
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/ |
D | TestActivity.java | 38 import android.view.animation.Animation; 75 final RotateAnimation animation = new RotateAnimation(0, 180, Animation.RELATIVE_TO_SELF, in preventActivityIdle() 76 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); in preventActivityIdle() 77 animation.setRepeatCount(Animation.INFINITE); in preventActivityIdle()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 71 import android.view.animation.Animation; 72 import android.view.animation.Animation.AnimationListener; 935 public void onAnimationEnd(Animation animation) { in testGetLayoutAnimationListener() 939 public void onAnimationRepeat(Animation animation) { in testGetLayoutAnimationListener() 943 public void onAnimationStart(Animation animation) { in testGetLayoutAnimationListener() 1387 private class MockAnimation extends Animation { 2038 Animation animation = new AlphaAnimation(mContext, null); in testScheduleLayoutAnimation()
|
D | ViewTest.java | 98 import android.view.animation.Animation; 250 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testGetAnimation() 263 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testSetAnimation() 279 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testClearAnimation() 300 Animation animation = new AlphaAnimation(0.0f, 1.0f); in testStartAnimation() 306 assertEquals(Animation.START_ON_FIRST_FRAME, animation.getStartTime()); in testStartAnimation() 311 final Animation animation = new AlphaAnimation(0.0f, 1.0f); in testOnAnimation()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 1426 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"
|