Home
last modified time | relevance | path

Searched refs:mBullets (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java52 private final List<Bullet> mBullets; field in GameView
87 mBullets = new ArrayList<Bullet>(); in GameView()
314 mBullets.add(bullet);
332 mBullets.clear();
370 int numBullets = mBullets.size();
372 final Bullet bullet = mBullets.get(i);
374 mBullets.remove(i);
393 final Bullet bullet = mBullets.get(i);
471 int numBullets = mBullets.size();
473 final Bullet bullet = mBullets.get(i);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java66 private final List<Bullet> mBullets; field in GameView
89 mBullets = new ArrayList<Bullet>(); in GameView()
226 int numBullets = mBullets.size(); in onDraw()
228 final Bullet bullet = mBullets.get(i); in onDraw()
310 mBullets.clear(); in reset()
338 int numBullets = mBullets.size(); in step()
340 final Bullet bullet = mBullets.get(i); in step()
342 mBullets.remove(i); in step()
361 final Bullet bullet = mBullets.get(i); in step()
740 mBullets.add(bullet); in fire()