Home
last modified time | relevance | path

Searched refs:newBall (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java93 return createAnimator(view.newBall, "y", 1000, ValueAnimator.INFINITE, repeatMode, in createAnimatorWithRepeatMode()
98 return createAnimator(view.newBall, "y", 1000, repeatCount, ValueAnimator.REVERSE, in createAnimatorWithRepeatCount()
103 return createAnimator(view.newBall, "y", duration ,ValueAnimator.INFINITE, in createAnimatorWithDuration()
108 return createAnimator(view.newBall, "y", 1000, ValueAnimator.INFINITE, in createAnimatorWithInterpolator()
125 ObjectAnimator objAnimator = ObjectAnimator.ofInt(view.newBall, "y", (int)mStartY, in createObjectAnimatorForInt()
136 ValueAnimator bounceAnimator = ObjectAnimator.ofFloat(view.newBall, "y", mStartY, in startAnimation()
148 animator.setTarget(view.newBall); in startSingleAnimation()
188 public ShapeHolder newBall = null; field in AnimationActivity.AnimationView
197 newBall = addBall(mBallHeight, mBallWidth); in AnimationView()
223 ValueAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f); in animateBall()
DAnimatorTest.java133 Object object = mActivity.view.newBall; in testEnd()
145 float y = mActivity.view.newBall.getY(); in testEnd()
208 Object object = mActivity.view.newBall; in testNullObjectAnimator()
212 mActivity.view.newBall.setY(0); in testNullObjectAnimator()
215 while (mActivity.view.newBall.getY() == 0 && sleepCount++ < 50) { in testNullObjectAnimator()
218 assertNotSame(0, mActivity.view.newBall.getY()); in testNullObjectAnimator()
DPropertyValuesHolderTest.java92 mObject = mActivity.view.newBall; in setup()
161 final float initialY = mActivity.view.newBall.getY(); in testResetValues()
169 assertEquals(100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues()
181 assertEquals(200f, mActivity.view.newBall.getY(), 0.0f); in testResetValues()
197 float updatedY = mActivity.view.newBall.getY(); in testResetValues()
204 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues()
218 updatedY = mActivity.view.newBall.getY(); in testResetValues()
226 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f); in testResetValues()
794 float y = mActivity.view.newBall.getY(); in getYPosition()
DObjectAnimatorTest.java102 Object object = mActivity.view.newBall; in testOfFloat()
131 Object object = mActivity.view.newBall; in testOfFloatBase()
145 Object object = mActivity.view.newBall; in testOfInt()
169 Object object = mActivity.view.newBall; in testOfObject()
203 Object object = mActivity.view.newBall; in testOfPropertyValuesHolder()
287 Object object = mActivity.view.newBall; in testGetPropertyName()
301 Object object = mActivity.view.newBall; in testSetFloatValues()
331 Object object = mActivity.view.newBall; in testGetTarget()
345 Object object = mActivity.view.newBall; in testClone()
778 Object object = mActivity.view.newBall; in testIsStarted()
DValueAnimatorTest.java465 Object object = mActivity.view.newBall; in testEnd()
477 float y = mActivity.view.newBall.getY(); in testEnd()
687 Object object = mActivity.view.newBall; in getAnimator()
DAnimatorSetTest.java81 object = mActivity.view.newBall; in setup()