Searched refs:objAnimator (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 107 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() local 108 assertTrue(objAnimator != null); in testOfFloat() 117 objAnimator.addUpdateListener(mockListener); in testOfFloat() 118 objAnimator.addUpdateListener(updateListener); in testOfFloat() 119 objAnimator.setDuration(200); in testOfFloat() 120 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testOfFloat() 121 objAnimator.setInterpolator(new AccelerateInterpolator()); in testOfFloat() 122 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testOfFloat() 123 mActivityRule.runOnUiThread(objAnimator::start); in testOfFloat() 124 assertTrue(objAnimator != null); in testOfFloat() [all …]
|
D | PropertyValuesHolderTest.java | 126 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in testSetValues() local 127 assertTrue(objAnimator != null); in testSetValues() 128 setAnimatorProperties(objAnimator); in testSetValues() 130 startAnimation(objAnimator); in testSetValues() 131 assertTrue(objAnimator != null); in testSetValues() 138 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in createAnimator() local 139 objAnimator.setDuration(mDuration); in createAnimator() 140 objAnimator.setInterpolator(new AccelerateInterpolator()); in createAnimator() 141 return objAnimator; in createAnimator() 235 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in testOfFloat() local [all …]
|
D | AnimationActivity.java | 115 ObjectAnimator objAnimator = ObjectAnimator.ofInt(object, propertyName, start,end); in createObjectAnimatorForInt() local 116 objAnimator.setDuration(duration); in createObjectAnimatorForInt() 118 objAnimator.setRepeatCount(repeatCount); in createObjectAnimatorForInt() 119 objAnimator.setInterpolator(timeInterpolator); in createObjectAnimatorForInt() 120 objAnimator.setRepeatMode(repeatMode); in createObjectAnimatorForInt() 121 return objAnimator; in createObjectAnimatorForInt() 125 ObjectAnimator objAnimator = ObjectAnimator.ofInt(view.newBall, "y", (int)mStartY, in createObjectAnimatorForInt() local 127 objAnimator.setDuration(mDuration); in createObjectAnimatorForInt() 129 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in createObjectAnimatorForInt() 130 objAnimator.setInterpolator(new AccelerateInterpolator()); in createObjectAnimatorForInt() [all …]
|
D | ValueAnimatorTest.java | 473 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd() local 474 objAnimator.setDuration(mDuration); in testEnd() 475 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testEnd() 476 objAnimator.setInterpolator(new AccelerateInterpolator()); in testEnd() 477 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testEnd() 478 startAnimation(objAnimator); in testEnd() 480 endAnimation(objAnimator); in testEnd() 784 ValueAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getAnimator() local 785 objAnimator.setDuration(mDuration); in getAnimator() 786 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in getAnimator() [all …]
|