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

  /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 164 VectorRec axes[3]; /* current ball axes */
197 * ACC_THRESHOLD is used to filter small ball movements out.
199 * constant, then no corresponding ball event will be sent to the
203 * the corresponding ball motion vector.
209 trackball_init( TrackBall ball, int diameter, int ring,
215 memset( ball, 0, sizeof(*ball) );
217 ball->acc_threshold = ACC_THRESHOLD;
218 ball->acc_scale = ACC_SCALE;
221 ball->diameter = diameter2
566 TrackBall ball; local
    [all...]
window.h 48 extern void skin_window_set_trackball( SkinWindow* window, SkinTrackBall* ball );
window.c 610 SkinTrackBall* ball; member in struct:__anon5741
619 state->ball = NULL;
634 skin_trackball_draw( state->ball, 0, 0, surface );
645 skin_trackball_refresh( state->ball );
660 ball_state_set( BallState* state, SkinTrackBall* ball )
664 state->ball = ball;
665 if (ball != NULL) {
668 skin_trackball_rect( ball, &sr );
822 BallState ball; member in struct:SkinWindow
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/joystick/
SDL_joystick_c.h 34 Uint8 ball, Sint16 xrel, Sint16 yrel);
SDL_joystick.c 303 * Get the ball axis change since the last poll
305 int SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy)
314 if ( ball < joystick->nballs ) {
316 *dx = joystick->balls[ball].dx;
319 *dy = joystick->balls[ball].dy;
321 joystick->balls[ball].dx = 0;
322 joystick->balls[ball].dy = 0;
469 int SDL_PrivateJoystickBall(SDL_Joystick *joystick, Uint8 ball,
475 joystick->balls[ball].dx += xrel;
476 joystick->balls[ball].dy += yrel
    [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/android/
qemulator.c 53 SkinTrackBall* ball; local
62 ball = skin_trackball_create( &params );
63 emulator->trackball = ball;
64 skin_window_set_trackball( emulator->window, ball );
  /external/qemu/distrib/sdl-1.2.12/include/
SDL_joystick.h 143 * Get the ball axis change since the last poll
145 * The ball indices start at index 0.
147 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 157 Uint8 ball; /* The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /prebuilt/darwin-x86/sdl/include/SDL/
SDL_joystick.h 143 * Get the ball axis change since the last poll
145 * The ball indices start at index 0.
147 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 157 Uint8 ball; /* The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /prebuilt/linux-x86/sdl/include/SDL/
SDL_joystick.h 143 * Get the ball axis change since the last poll
145 * The ball indices start at index 0.
147 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 157 Uint8 ball; /* The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /prebuilt/windows/sdl/host/include/SDL/
SDL_joystick.h 147 * Get the ball axis change since the last poll
149 * The ball indices start at index 0.
151 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 154 Uint8 ball; /* The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /prebuilt/windows/sdl/include/SDL/
SDL_joystick.h 143 * Get the ball axis change since the last poll
145 * The ball indices start at index 0.
147 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
SDL_events.h 157 Uint8 ball; /* The joystick trackball index */ member in struct:SDL_JoyBallEvent
  /external/v8/test/mjsunit/
regexp.js 265 assertFalse(/foo$(?=ball)/.test("football"), "football2");
268 assertTrue(/foo$(?=(ball)?)/.test("foo"), "football5");
271 assertFalse(/foo$(?=ball)/.test("football"), "football8");
274 assertTrue(/foo$(?=(ball)?)/.test("foo"), "football11");

Completed in 688 milliseconds