Searched refs:currentShip (Results 1 – 1 of 1) sorted by relevance
131 Ship currentShip = getShipForId(deviceId); in onKeyDown() local132 if (currentShip.onKeyDown(keyCode, event)) { in onKeyDown()145 Ship currentShip = getShipForId(deviceId); in onKeyUp() local146 if (currentShip.onKeyUp(keyCode, event)) { in onKeyUp()189 Ship currentShip = mShips.valueAt(i); in onWindowFocusChanged() local190 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 …]