Searched defs:ball (Results 1 - 7 of 7) sorted by relevance
/external/javassist/sample/duplicate/ |
H A D | 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/ |
H A D | qemulator.c | 59 SkinTrackBall* ball; local 68 ball = skin_trackball_create( ¶ms ); 69 emulator->trackball = ball; 70 skin_window_set_trackball( emulator->window, ball );
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/ |
H A D | 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) argument 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, argument 498 if (ball >= joystick->nballs) { 503 joystick->balls[ball] [all...] |
/external/qemu/distrib/sdl-1.2.15/include/ |
H A D | SDL_events.h | 164 Uint8 ball; /**< The joystick trackball index */ member in struct:SDL_JoyBallEvent
|
/external/qemu/android/skin/ |
H A D | 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, argument 216 memset( ball, 0, sizeof(*ball) ); 218 ball->acc_threshold = ACC_THRESHOLD; 219 ball->acc_scale = ACC_SCALE; 222 ball 373 trackball_contains( TrackBall ball, int x, int y ) argument 413 trackball_move( TrackBall ball, int dx, int dy ) argument 550 trackball_draw( TrackBall ball, int x, int y, SDL_Surface* dst ) argument 567 TrackBall ball; local 580 skin_trackball_contains( SkinTrackBall* ball, int x, int y ) argument 586 skin_trackball_move( SkinTrackBall* ball, int dx, int dy ) argument 598 skin_trackball_draw( SkinTrackBall* ball, int x, int y, SDL_Surface* dst ) argument 613 skin_trackball_rect( SkinTrackBall* ball, SDL_Rect* rect ) argument 623 skin_trackball_set_rotation( SkinTrackBall* ball, SkinRotation rotation ) argument [all...] |
H A D | window.c | 732 SkinTrackBall* ball; member in struct:__anon29201 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...] |
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/ |
H A D | SDL_sysjoystick.c | 86 {logical joy, logical ball}, 978 void HandleBall(SDL_Joystick *stick, Uint8 ball, int axis, int value) argument 980 if ((stick->nballs <= ball) || (axis >= 2)) { 983 stick->hwdata->balls[ball].axis[axis] += value; 1166 /* Deliver ball motion updates */
|
Completed in 132 milliseconds