Searched refs:objAnimator (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 127 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() local 128 assertTrue(objAnimator != null); in testOfFloat() 137 objAnimator.addUpdateListener(mockListener); in testOfFloat() 138 objAnimator.addUpdateListener(updateListener); in testOfFloat() 139 objAnimator.setDuration(200); in testOfFloat() 140 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testOfFloat() 141 objAnimator.setInterpolator(new AccelerateInterpolator()); in testOfFloat() 142 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testOfFloat() 143 mActivityRule.runOnUiThread(objAnimator::start); in testOfFloat() 144 assertTrue(objAnimator != null); in testOfFloat() [all …]
|
D | PropertyValuesHolderTest.java | 137 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in testSetValues() local 138 assertTrue(objAnimator != null); in testSetValues() 139 setAnimatorProperties(objAnimator); in testSetValues() 141 startAnimation(objAnimator); in testSetValues() 142 assertTrue(objAnimator != null); in testSetValues() 149 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in createAnimator() local 150 objAnimator.setDuration(mDuration); in createAnimator() 151 objAnimator.setInterpolator(new AccelerateInterpolator()); in createAnimator() 152 return objAnimator; in createAnimator() 248 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 | 482 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd() local 483 objAnimator.setDuration(mDuration); in testEnd() 484 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testEnd() 485 objAnimator.setInterpolator(new AccelerateInterpolator()); in testEnd() 486 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testEnd() 487 startAnimation(objAnimator); in testEnd() 489 endAnimation(objAnimator); in testEnd() 843 ValueAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getAnimator() local 844 objAnimator.setDuration(mDuration); in getAnimator() 845 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in getAnimator() [all …]
|