Searched refs:objAnimator (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 58 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() local 59 assertTrue(objAnimator != null); in testOfFloat() 60 objAnimator.setDuration(mDuration); in testOfFloat() 61 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testOfFloat() 62 objAnimator.setInterpolator(new AccelerateInterpolator()); in testOfFloat() 63 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testOfFloat() 64 startAnimation(objAnimator); in testOfFloat() 65 assertTrue(objAnimator != null); in testOfFloat() 79 ObjectAnimator objAnimator = new ObjectAnimator(); in testOfFloatBase() local 80 objAnimator.setTarget(object); in testOfFloatBase() [all …]
|
D | PropertyValuesHolderTest.java | 85 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 …]
|
D | ValueAnimatorTest.java | 301 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd() local 302 objAnimator.setDuration(mDuration); in testEnd() 303 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testEnd() 304 objAnimator.setInterpolator(new AccelerateInterpolator()); in testEnd() 305 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testEnd() 306 startAnimation(objAnimator); in testEnd() 308 endAnimation(objAnimator); in testEnd() 314 ValueAnimator objAnimator = getAnimator(); in testGetAnimatedFraction() local 315 startAnimation(objAnimator); in testGetAnimatedFraction() 316 assertNotNull(objAnimator); in testGetAnimatedFraction() [all …]
|
D | AnimationActivity.java | 116 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 …]
|