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

  /external/qemu/distrib/sdl-1.2.15/src/joystick/
SDL_sysjoystick.h 43 } *balls; /* Current ball motion deltas */ member in struct:_SDL_Joystick
SDL_joystick.c 137 joystick->balls = (struct balldelta *)SDL_malloc
138 (joystick->nballs*sizeof(*joystick->balls));
146 || ((joystick->nballs > 0) && !joystick->balls)
161 if ( joystick->balls ) {
162 SDL_memset(joystick->balls, 0,
163 joystick->nballs*sizeof(*joystick->balls));
318 *dx = joystick->balls[ball].dx;
321 *dy = joystick->balls[ball].dy;
323 joystick->balls[ball].dx = 0;
324 joystick->balls[ball].dy = 0
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationCloning.java 63 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimationCloning.MyAnimationView
80 ObjectAnimator anim1 = ObjectAnimator.ofFloat(balls.get(0), "y",
81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500);
83 anim2.setTarget(balls.get(1));
86 ShapeHolder ball2 = balls.get(2);
98 s2.setTarget(balls.get(3));
123 balls.add(shapeHolder);
129 for (int i = 0; i < balls.size(); ++i) {
130 ShapeHolder shapeHolder = balls.get(i);
AnimationLoading.java 72 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimationLoading.MyAnimationView
90 anim.setTarget(balls.get(0));
96 balls.get(1).setAlpha((Float) animation.getAnimatedValue());
103 seq.setTarget(balls.get(2));
107 colorizer.setTarget(balls.get(3));
132 balls.add(shapeHolder);
146 balls.add(shapeHolder);
151 for (ShapeHolder ball : balls) {
161 ShapeHolder ball = balls.get(0);
MultiPropertyAnimation.java 72 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:MultiPropertyAnimation.MyAnimationView
88 ball = balls.get(0);
94 ball = balls.get(1);
105 ball = balls.get(2);
119 ball = balls.get(3);
160 balls.add(shapeHolder);
166 for (ShapeHolder ball : balls) {
BouncingBalls.java 60 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:BouncingBalls.MyAnimationView
68 // view, so that the animated color, and the bouncing balls, get redisplayed on
137 balls.remove(((ObjectAnimator)animation).getTarget());
169 balls.add(shapeHolder);
175 for (int i = 0; i < balls.size(); ++i) {
176 ShapeHolder shapeHolder = balls.get(i);
AnimationSeeking.java 97 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimationSeeking.MyAnimationView
143 balls.add(shapeHolder);
163 balls.remove(((ObjectAnimator)animation).getTarget());
CustomEvaluator.java 114 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:CustomEvaluator.MyAnimationView
ReversingAnimation.java 69 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:ReversingAnimation.MyAnimationView
AnimatorEvents.java 108 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimatorEvents.MyAnimationView
  /external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
bouncing_balls.js 19 var balls = []; variable
53 balls.push(new Ball());
79 balls[i].step(jolt);
100 // handle balls that are no longer bouncing
103 // If a jolt is applied, bump the rollong balls enough for them to
  /cts/tests/tests/animation/src/android/animation/cts/
AnimationActivity.java 190 public final ArrayList<ShapeHolder> balls = new ArrayList<ShapeHolder>(); field in class:AnimationActivity.AnimationView
229 balls.remove(((ObjectAnimator)animation).getTarget());
260 balls.add(shapeHolder);
266 for (int i = 0; i < balls.size(); ++i) {
267 ShapeHolder shapeHolder = balls.get(i);
  /frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
Balls.java 17 package com.example.android.rs.balls;
46 public class Balls extends Activity implements SensorEventListener {
BallsView.java 17 package com.example.android.rs.balls;
BallsRS.java 17 package com.example.android.rs.balls;
  /external/chromium_org/third_party/smhasher/src/
Stats.h 16 inline double ExpectedCollisions ( double balls, double bins )
18 return balls - bins + bins * pow(1 - 1/bins,balls);
  /external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
SDL_sysjoystick.c 166 axes, hats, balls, buttons
281 /* The current linux joystick driver maps balls to two axes */
284 } *balls; member in struct:joystick_hwdata
497 hats or balls. Unfortunately, the event devices can't
568 joystick->hwdata->balls = (struct hwdata_ball *)SDL_malloc(
570 if ( joystick->hwdata->balls == NULL ) {
574 joystick->hwdata->balls[i].axis[0] = 0;
575 joystick->hwdata->balls[i].axis[1] = 0;
652 /* Remap hats and balls */
983 stick->hwdata->balls[ball].axis[axis] += value
    [all...]

Completed in 132 milliseconds