Home
last modified time | relevance | path

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

/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java64 private final SparseArray<Ship> mShips; field in GameView
87 mShips = new SparseArray<Ship>(); in GameView()
187 int numShips = mShips.size(); in onWindowFocusChanged()
189 Ship currentShip = mShips.valueAt(i); in onWindowFocusChanged()
217 int numShips = mShips.size(); in onDraw()
219 Ship currentShip = mShips.valueAt(i); in onDraw()
251 Ship currentShip = mShips.get(shipID); in getShipForId()
269 int numShips = mShips.size(); in getShipForId()
272 if (mShips.valueAt(i).getColor() == color) { in getShipForId()
289 mShips.append(shipID, currentShip); in getShipForId()
[all …]