Searched refs:objAnimator (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 106 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() local 107 assertTrue(objAnimator != null); in testOfFloat() 116 objAnimator.addUpdateListener(mockListener); in testOfFloat() 117 objAnimator.addUpdateListener(updateListener); in testOfFloat() 118 objAnimator.setDuration(200); in testOfFloat() 119 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testOfFloat() 120 objAnimator.setInterpolator(new AccelerateInterpolator()); in testOfFloat() 121 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testOfFloat() 122 mActivityRule.runOnUiThread(objAnimator::start); in testOfFloat() 123 assertTrue(objAnimator != null); in testOfFloat() [all …]
|
D | PropertyValuesHolderTest.java | 125 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in testSetValues() local 126 assertTrue(objAnimator != null); in testSetValues() 127 setAnimatorProperties(objAnimator); in testSetValues() 129 startAnimation(objAnimator); in testSetValues() 130 assertTrue(objAnimator != null); in testSetValues() 137 ObjectAnimator objAnimator = ObjectAnimator.ofPropertyValuesHolder(mObject,pVHolder); in createAnimator() local 138 objAnimator.setDuration(mDuration); in createAnimator() 139 objAnimator.setInterpolator(new AccelerateInterpolator()); in createAnimator() 140 return objAnimator; in createAnimator() 234 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 | 469 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testEnd() local 470 objAnimator.setDuration(mDuration); in testEnd() 471 objAnimator.setRepeatCount(ValueAnimator.INFINITE); in testEnd() 472 objAnimator.setInterpolator(new AccelerateInterpolator()); in testEnd() 473 objAnimator.setRepeatMode(ValueAnimator.REVERSE); in testEnd() 474 startAnimation(objAnimator); in testEnd() 476 endAnimation(objAnimator); in testEnd() 483 ValueAnimator objAnimator = getAnimator(); in testGetAnimatedFraction() local 484 startAnimation(objAnimator); in testGetAnimatedFraction() 485 assertNotNull(objAnimator); in testGetAnimatedFraction() [all …]
|