/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...] |
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);
|
window.c | 721 SkinTrackBall* ball; member in struct:__anon9485 730 state->ball = NULL; 745 skin_trackball_draw( state->ball, 0, 0, surface ); 756 skin_trackball_refresh( state->ball ); 771 ball_state_set( BallState* state, SkinTrackBall* ball ) 775 state->ball = ball; 776 if (ball != NULL) { 779 skin_trackball_rect( ball, &sr ); 933 BallState ball; member in struct:SkinWindow [all...] |
window.h | 53 extern void skin_window_set_trackball( SkinWindow* window, SkinTrackBall* ball );
|
/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]);
|
Ball.java | 6 public class Ball {
12 public Ball(int x, int y) {
18 public Ball(Ball b) {
|
Main.java | 25 This program shows a ball in a window.
39 cl.makeReflective("sample.duplicate.Ball",
|
/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...] |
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);
|
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...] |
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());
|
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);
|
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);
|
/development/samples/RenderScript/Balls/src/com/example/android/rs/balls/ |
balls.rsh | 2 typedef struct __attribute__((packed, aligned(4))) Ball {
|
/packages/apps/Browser/assets/html/ |
flashtest.html | 12 <param name="FlashFileName" value="/data/data/com.android.browser/app_plugins/Ball.swf" />
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/ |
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...] |
SDL_joystick_c.h | 34 Uint8 ball, Sint16 xrel, Sint16 yrel);
|
/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/icu4c/samples/ufortune/resources/ |
root.txt | 76 "A [golf] ball hitting a tree shall be deemed not to have hit the tree. 78 game. The player should estimate the distance the ball would have 79 traveled if it had not hit the tree and play the ball from there, 83 "A [golf] ball sliced or hooked into the rough shall be lifted and 86 from friction between the face of the club and the cover of the ball 88 ball resulting from such uncontrollable physical
|
/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);
|
/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);
|
/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);
|
/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);
|
/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);
|
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 213 ZoneIterator(UBool bAll = FALSE) { 214 if (bAll) { 290 UBool bAll = FALSE; 320 bAll = options[kOptAllZones].doesOccur; 356 if (bAll) {
|