HomeSort by relevance Sort by last modified time
    Searched defs:ball (Results 1 - 15 of 15) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationLoading.java 184 for (ShapeHolder ball : balls) {
185 canvas.translate(ball.getX(), ball.getY());
186 ball.getShape().draw(canvas);
187 canvas.translate(-ball.getX(), -ball.getY());
194 ShapeHolder ball = balls.get(0); local
195 ball.setY((Float)animation.getAnimatedValue());
AnimationSeeking.java 100 ShapeHolder ball = null; field in class:AnimationSeeking.MyAnimationView
104 ball = addBall(200, 0);
109 bounceAnim = ObjectAnimator.ofFloat(ball, "y",
110 ball.getY(), getHeight() - BALL_SIZE).setDuration(1500);
149 canvas.translate(ball.getX(), ball.getY());
150 ball.getShape().draw(canvas);
CustomEvaluator.java 98 public BallXYHolder(ShapeHolder ball) {
99 mBall = ball;
116 ShapeHolder ball = null; field in class:CustomEvaluator.MyAnimationView
121 ball = createBall(25, 25);
122 ballHolder = new BallXYHolder(ball);
164 canvas.translate(ball.getX(), ball.getY());
165 ball.getShape().draw(canvas);
ReversingAnimation.java 71 ShapeHolder ball = null; field in class:ReversingAnimation.MyAnimationView
75 ball = createBall(25, 25);
80 bounceAnim = ObjectAnimator.ofFloat(ball, "y", ball.getY(), getHeight() - 50f).
125 canvas.translate(ball.getX(), ball.getY());
126 ball.getShape().draw(canvas);
MultiPropertyAnimation.java 75 ShapeHolder ball = null; field in class:MultiPropertyAnimation.MyAnimationView
87 ShapeHolder ball; local
88 ball = balls.get(0);
89 ObjectAnimator yBouncer = ObjectAnimator.ofFloat(ball, "y",
90 ball.getY(), getHeight() - BALL_SIZE).setDuration(DURATION);
94 ball = balls.get(1);
95 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat("y", ball.getY(),
98 ObjectAnimator yAlphaBouncer = ObjectAnimator.ofPropertyValuesHolder(ball,
105 ball = balls.get(2);
106 PropertyValuesHolder pvhW = PropertyValuesHolder.ofFloat("width", ball.getWidth()
    [all...]
AnimatorEvents.java 110 ShapeHolder ball = null; field in class:AnimatorEvents.MyAnimationView
115 ball = createBall(25, 25);
120 ObjectAnimator yAnim = ObjectAnimator.ofFloat(ball, "y",
121 ball.getY(), getHeight() - 50f).setDuration(1500);
128 ObjectAnimator xAnim = ObjectAnimator.ofFloat(ball, "x",
129 ball.getX(), ball.getX() + 300).setDuration(1000);
135 ObjectAnimator alphaAnim = ObjectAnimator.ofFloat(ball, "alpha", 1f, .5f).
193 canvas.translate(ball.getX(), ball.getY())
    [all...]
  /external/javassist/sample/duplicate/
Viewer.java 13 private Ball ball; field in class:Viewer
26 ball = new Ball(50, 50);
27 ball.changeColor(colorList[0]);
31 ball.paint(g);
35 ball.move(ev.getX(), ev.getY());
48 ball.changeColor(colorList[++colorNo % colorList.length]);
  /developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 221 mBalls[i].setBackgroundResource(R.drawable.ball);
237 Particle ball = mBalls[i]; local
238 ball.computePhysics(sx, sy, dT);
269 Particle ball = mBalls[j]; local
270 float dx = ball.mPosX - curr.mPosX;
271 float dy = ball.mPosY - curr.mPosY;
289 ball.mPosX += effectX;
290 ball.mPosY += effectY;
338 // rescale the ball so it's about 0.5 cm on screen
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 250 Particle ball = mBalls[i]; local
251 ball.computePhysics(sx, sy, dT, dTC);
284 Particle ball = mBalls[j]; local
285 float dx = ball.mPosX - curr.mPosX;
286 float dy = ball.mPosY - curr.mPosY;
302 ball.mPosX += dx * c;
303 ball.mPosY += dy * c;
355 // rescale the ball so it's about 0.5 cm on screen
356 Bitmap ball = BitmapFactory.decodeResource(getResources(), R.drawable.ball); local
    [all...]
  /external/skia/samplecode/
SampleSVGPong.cpp 85 const SkRRect ball = SkRRect::MakeOval(SkRect::MakeWH(kBallSize, kBallSize)); variable
90 fBall.initialize(ball,
282 // The catcher goes for the ball. Duh.
  /external/skqp/samplecode/
SampleSVGPong.cpp 85 const SkRRect ball = SkRRect::MakeOval(SkRect::MakeWH(kBallSize, kBallSize)); variable
90 fBall.initialize(ball,
282 // The catcher goes for the ball. Duh.
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_events.h 288 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
510 SDL_JoyBallEvent jball; /**< Joystick ball event data */
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_events.h 288 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
510 SDL_JoyBallEvent jball; /**< Joystick ball event data */
  /prebuilts/misc/windows/sdl2/include/
SDL_events.h 288 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
510 SDL_JoyBallEvent jball; /**< Joystick ball event data */
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_events.h 288 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
510 SDL_JoyBallEvent jball; /**< Joystick ball event data */

Completed in 187 milliseconds