HomeSort by relevance Sort by last modified time
    Searched refs:ball (Results 1 - 25 of 26) sorted by null

1 2

  /external/qemu/android/skin/
trackball.h 32 extern void skin_trackball_rect ( SkinTrackBall* ball, SDL_Rect* rect );
33 extern int skin_trackball_contains( SkinTrackBall* ball, int x, int y );
34 extern int skin_trackball_move ( SkinTrackBall* ball, int dx, int dy );
35 extern void skin_trackball_refresh ( SkinTrackBall* ball );
36 extern void skin_trackball_draw ( SkinTrackBall* ball, int x, int y, SDL_Surface* dst );
37 extern void skin_trackball_destroy ( SkinTrackBall* ball );
40 extern void skin_trackball_set_rotation( SkinTrackBall* ball, SkinRotation rotation);
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.h 53 extern void skin_window_set_trackball( SkinWindow* window, SkinTrackBall* ball );
window.c 732 SkinTrackBall* ball; member in struct:__anon13099
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...]
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
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...]
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);
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...]
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);
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);
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());
  /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/distrib/sdl-1.2.15/src/joystick/
SDL_joystick_c.h 34 Uint8 ball, Sint16 xrel, Sint16 yrel);
SDL_joystick.c 305 * Get the ball axis change since the last poll
307 int SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy)
316 if ( ball < joystick->nballs ) {
318 *dx = joystick->balls[ball].dx;
321 *dy = joystick->balls[ball].dy;
323 joystick->balls[ball].dx = 0;
324 joystick->balls[ball].dy = 0;
492 int SDL_PrivateJoystickBall(SDL_Joystick *joystick, Uint8 ball,
498 if (ball >= joystick->nballs) {
503 joystick->balls[ball].dx += xrel
    [all...]
  /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_joystick.h 160 * Get the ball axis change since the last poll
162 * @param[in] ball The ball indices start at index 0.
166 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /prebuilts/tools/darwin-x86/sdl/include/SDL/
SDL_joystick.h 160 * Get the ball axis change since the last poll
162 * @param[in] ball The ball indices start at index 0.
166 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /prebuilts/tools/linux-x86/sdl/include/SDL/
SDL_joystick.h 160 * Get the ball axis change since the last poll
162 * @param[in] ball The ball indices start at index 0.
166 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /prebuilts/tools/windows/sdl/include/SDL/
SDL_joystick.h 160 * Get the ball axis change since the last poll
162 * @param[in] ball The ball indices start at index 0.
166 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /external/qemu/android/
qemulator.c 59 SkinTrackBall* ball; local
68 ball = skin_trackball_create( &params );
69 emulator->trackball = ball;
70 skin_window_set_trackball( emulator->window, ball );
  /external/qemu/distrib/sdl-1.2.15/test/
testjoystick.c 69 printf("Joystick %d ball %d delta: (%d,%d)\n",
71 event.jball.ball,
  /external/v8/test/mjsunit/
regexp.js 304 assertFalse(/foo$(?=ball)/.test("football"), "football2");
307 assertTrue(/foo$(?=(ball)?)/.test("foo"), "football5");
310 assertFalse(/foo$(?=ball)/.test("football"), "football8");
313 assertTrue(/foo$(?=(ball)?)/.test("foo"), "football11");

Completed in 328 milliseconds

1 2