Lines Matching refs:deviceId
115 for (int deviceId : deviceIds) { in findControllersAndAttachShips()
116 InputDevice dev = mInputManager.getInputDevice(deviceId); in findControllersAndAttachShips()
122 getShipForId(deviceId); in findControllersAndAttachShips()
129 int deviceId = event.getDeviceId(); in onKeyDown() local
130 if (deviceId != -1) { in onKeyDown()
131 Ship currentShip = getShipForId(deviceId); in onKeyDown()
143 int deviceId = event.getDeviceId(); in onKeyUp() local
144 if (deviceId != -1) { in onKeyUp()
145 Ship currentShip = getShipForId(deviceId); in onKeyUp()
1131 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument
1132 getShipForId(deviceId); in onInputDeviceAdded()
1144 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument
1145 Ship ship = getShipForId(deviceId); in onInputDeviceChanged()
1146 ship.setInputDevice(InputDevice.getDevice(deviceId)); in onInputDeviceChanged()
1156 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() argument
1157 removeShipForID(deviceId); in onInputDeviceRemoved()