HomeSort by relevance Sort by last modified time
    Searched refs:newBall (Results 1 - 7 of 7) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/animation/
BouncingBalls.java 84 ShapeHolder newBall = addBall(event.getX(), event.getY());
87 float startY = newBall.getY();
92 ValueAnimator bounceAnim = ObjectAnimator.ofFloat(newBall, "y", startY, endY);
95 ValueAnimator squashAnim1 = ObjectAnimator.ofFloat(newBall, "x", newBall.getX(),
96 newBall.getX() - 25f);
101 ValueAnimator squashAnim2 = ObjectAnimator.ofFloat(newBall, "width", newBall.getWidth(),
102 newBall.getWidth() + 50);
107 ValueAnimator stretchAnim1 = ObjectAnimator.ofFloat(newBall, "y", endY
    [all...]
  /cts/tests/tests/animation/src/android/animation/cts/
AnimationActivity.java 93 return createAnimator(view.newBall, "y", 1000, ValueAnimator.INFINITE, repeatMode,
98 return createAnimator(view.newBall, "y", 1000, repeatCount, ValueAnimator.REVERSE,
103 return createAnimator(view.newBall, "y", duration ,ValueAnimator.INFINITE,
108 return createAnimator(view.newBall, "y", 1000, ValueAnimator.INFINITE,
125 ObjectAnimator objAnimator = ObjectAnimator.ofInt(view.newBall, "y", (int)mStartY,
136 ValueAnimator bounceAnimator = ObjectAnimator.ofFloat(view.newBall, "y", mStartY,
148 animator.setTarget(view.newBall);
188 public ShapeHolder newBall = null;
197 newBall = addBall(mBallHeight, mBallWidth);
223 ValueAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f)
    [all...]
PropertyValuesHolderTest.java 93 mObject = mActivity.view.newBall;
162 final float initialY = mActivity.view.newBall.getY();
170 assertEquals(100f, mActivity.view.newBall.getY(), 0.0f);
182 assertEquals(200f, mActivity.view.newBall.getY(), 0.0f);
198 float updatedY = mActivity.view.newBall.getY();
205 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f);
219 updatedY = mActivity.view.newBall.getY();
227 assertEquals("Animation should run as expected", 100f, mActivity.view.newBall.getY(), 0.0f);
    [all...]
AnimatorTest.java 133 Object object = mActivity.view.newBall;
145 float y = mActivity.view.newBall.getY();
ObjectAnimatorTest.java 103 Object object = mActivity.view.newBall;
132 Object object = mActivity.view.newBall;
146 Object object = mActivity.view.newBall;
170 Object object = mActivity.view.newBall;
204 Object object = mActivity.view.newBall;
287 Object object = mActivity.view.newBall;
301 Object object = mActivity.view.newBall;
331 Object object = mActivity.view.newBall;
345 Object object = mActivity.view.newBall;
778 Object object = mActivity.view.newBall;
    [all...]
ValueAnimatorTest.java 468 Object object = mActivity.view.newBall;
480 float y = mActivity.view.newBall.getY();
730 Object object = mActivity.view.newBall;
AnimatorSetTest.java 84 object = mActivity.view.newBall;
    [all...]

Completed in 87 milliseconds