Home
last modified time | relevance | path

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

/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java131 Ship currentShip = getShipForId(deviceId); in onKeyDown() local
132 if (currentShip.onKeyDown(keyCode, event)) { in onKeyDown()
145 Ship currentShip = getShipForId(deviceId); in onKeyUp() local
146 if (currentShip.onKeyUp(keyCode, event)) { in onKeyUp()
189 Ship currentShip = mShips.valueAt(i); in onWindowFocusChanged() local
190 if (currentShip != null) { in onWindowFocusChanged()
191 currentShip.setHeading(0, 0); in onWindowFocusChanged()
192 currentShip.setVelocity(0, 0); in onWindowFocusChanged()
193 currentShip.mDPadState = 0; in onWindowFocusChanged()
219 Ship currentShip = mShips.valueAt(i); in onDraw() local
[all …]