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

1 2 3 4 5

  /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);
  /frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
ball_physics.rs 31 void root(Ball_t *ball, uint32_t x) {
34 float2 pos = ball->position;
37 gridPos[0] = convert_int2((ball->position / 100.f) /*- 0.4999f*/);
72 //fv /= ball->size * ball->size * ball->size;
78 float2 vec = touchPos[i] - ball->position;
87 ball->delta = (ball->delta * (1.f - 0.008f)) + fv;
88 ball->position = ball->position + (ball->delta * gDT)
    [all...]
balls.rsh 2 typedef struct __attribute__((packed, aligned(4))) 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);
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_JoyBallEvent.3 10 Uint8 ball;
32 A \fBSDL_JOYBALLMOTION\fP event occurs when a user moves a trackball on the joystick\&. The field \fBwhich\fR is the index of the joystick that reported the event and \fBball\fR is the index of the trackball (for a more detailed explaination see the \fIJoystick section\fR)\&. Trackballs only return relative motion, this is the change in position on the ball since it was last polled (last cycle of the event loop) and it is stored in \fBxrel\fR and \fByrel\fR\&.
SDL_JoystickGetBall.3 8 \fBint \fBSDL_JoystickGetBall\fP\fR(\fBSDL_Joystick *joystick, int ball, int *dx, int *dy\fR);
  /packages/apps/Browser/assets/html/
flashtest.html 12 <param name="FlashFileName" value="/data/data/com.android.browser/app_plugins/Ball.swf" />
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloPhysics.java 86 /** Initialize the cannon ball geometry */
122 * Every time the shoot action is triggered, a new cannon ball is produced.
123 * The ball is set up to fly from the camera position in the camera direction.
197 /** This method creates one individual physical cannon ball.
198 * By defaul, the ball is accelerated and flies
201 /** Create a cannon ball geometry and attach to scene graph. */
202 Geometry ball_geo = new Geometry("cannon ball", sphere);
205 /** Position the cannon ball */
207 /** Make the ball physcial with a mass > 0.0f */
209 /** Add physical ball to physics space. */
    [all...]
  /external/eigen/unsupported/test/
BVH.cpp 23 struct Ball
29 Ball() {}
30 Ball(const VectorType &c, double r) : center(c), radius(r) {}
35 template<int Dim> AlignedBox<double, Dim> bounding_box(const Ball<Dim> &b)
41 struct BallPointStuff //this class provides functions to be both an intersector and a minimizer, both for a ball and a point and for two trees
45 typedef Ball<Dim> BallType;
97 typedef Ball<Dim> BallType;
  /external/qemu/distrib/sdl-1.2.15/src/joystick/
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...]
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/jmonkeyengine/engine/src/android/jme3test/android/
TestUnshadedModel.java 27 Geometry sphere = new Geometry("Rock Ball", sphMesh);
  /external/jmonkeyengine/engine/src/test/jme3test/material/
TestUnshadedModel.java 27 Geometry sphere = new Geometry("Rock Ball", sphMesh);
  /external/qemu/distrib/sdl-1.2.15/docs/html/
sdljoyballevent.html 96 Uint8 ball;
158 >ball</I
225 >ball</I
230 >). Trackballs only return relative motion, this is the change in position on the ball since it was last polled (last cycle of the event loop) and it is stored in <TT
  /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);

Completed in 395 milliseconds

1 2 3 4 5