Home
last modified time | relevance | path

Searched refs:objAnimator (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java57 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() local
58 assertTrue(objAnimator != null); in testOfFloat()
59 objAnimator.setDuration(mDuration); in testOfFloat()
60 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testOfFloat()
61 objAnimator.setInterpolator(new AccelerateInterpolator()); in testOfFloat()
62 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testOfFloat()
63 startAnimation(objAnimator); in testOfFloat()
64 assertTrue(objAnimator != null); in testOfFloat()
78 ObjectAnimator objAnimator = new ObjectAnimator(); in testOfFloatBase() local
79 objAnimator.setTarget(object); in testOfFloatBase()
[all …]
DValueAnimatorTest.java120 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd() local
121 objAnimator.setDuration(mDuration); in testEnd()
122 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testEnd()
123 objAnimator.setInterpolator(new AccelerateInterpolator()); in testEnd()
124 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testEnd()
125 startAnimation(objAnimator); in testEnd()
127 endAnimation(objAnimator); in testEnd()
133 ValueAnimator objAnimator = getAnimator(); in testGetAnimatedFraction() local
134 startAnimation(objAnimator); in testGetAnimatedFraction()
135 assertNotNull(objAnimator); in testGetAnimatedFraction()
[all …]
DPropertyValuesHolderTest.java85 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in testSetValues() local
86 assertTrue(objAnimator != null); in testSetValues()
87 setAnimatorProperties(objAnimator); in testSetValues()
89 startAnimation(objAnimator); in testSetValues()
90 assertTrue(objAnimator != null); in testSetValues()
97 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in createAnimator() local
98 objAnimator.setDuration(mDuration); in createAnimator()
99 objAnimator.setInterpolator(new AccelerateInterpolator()); in createAnimator()
100 return objAnimator; in createAnimator()
206 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in testOffloat() local
[all …]
DAnimationActivity.java116 ObjectAnimator objAnimator = ObjectAnimator.ofInt(object, propertyName, start,end); in createObjectAnimatorForInt() local
117 objAnimator.setDuration(duration); in createObjectAnimatorForInt()
119 objAnimator.setRepeatCount(repeatCount); in createObjectAnimatorForInt()
120 objAnimator.setInterpolator(timeInterpolator); in createObjectAnimatorForInt()
121 objAnimator.setRepeatMode(repeatMode); in createObjectAnimatorForInt()
122 return objAnimator; in createObjectAnimatorForInt()
126 ObjectAnimator objAnimator = ObjectAnimator.ofInt(view.newBall, "y", (int)mStartY, in createObjectAnimatorForInt() local
128 objAnimator.setDuration(mDuration); in createObjectAnimatorForInt()
130 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in createObjectAnimatorForInt()
131 objAnimator.setInterpolator(new AccelerateInterpolator()); in createObjectAnimatorForInt()
[all …]