/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationLoading.java | 151 for (ShapeHolder ball : balls) { 152 canvas.translate(ball.getX(), ball.getY()); 153 ball.getShape().draw(canvas); 154 canvas.translate(-ball.getX(), -ball.getY()); 161 ShapeHolder ball = balls.get(0); local 162 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]);
|
/external/qemu/android/ |
qemulator.c | 59 SkinTrackBall* ball; local 68 ball = skin_trackball_create( ¶ms ); 69 emulator->trackball = ball; 70 skin_window_set_trackball( emulator->window, ball );
|
/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/qemu/distrib/sdl-1.2.15/include/ |
SDL_events.h | 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
|
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_events.h | 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
|
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_events.h | 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
|
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_events.h | 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
|
/external/qemu/android/skin/ |
trackball.c | 165 VectorRec axes[3]; /* current ball axes */ 198 * ACC_THRESHOLD is used to filter small ball movements out. 200 * constant, then no corresponding ball event will be sent to the 204 * the corresponding ball motion vector. 210 trackball_init( TrackBall ball, int diameter, int ring, 216 memset( ball, 0, sizeof(*ball) ); 218 ball->acc_threshold = ACC_THRESHOLD; 219 ball->acc_scale = ACC_SCALE; 222 ball->diameter = diameter2 567 TrackBall ball; local [all...] |
window.c | 732 SkinTrackBall* ball; member in struct:__anon27485 741 state->ball = NULL; 756 skin_trackball_draw( state->ball, 0, 0, surface ); 767 skin_trackball_refresh( state->ball ); 782 ball_state_set( BallState* state, SkinTrackBall* ball ) 786 state->ball = ball; 787 if (ball != NULL) { 790 skin_trackball_rect( ball, &sr ); 944 BallState ball; member in struct:SkinWindow [all...] |