Home
last modified time | relevance | path

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

/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
DFullscreenActivity.java215 for (int deviceId : deviceIds) { in checkGameControllers()
216 InputDevice dev = InputDevice.getDevice(deviceId); in checkGameControllers()
225 if (!mConnectedDevices.contains(deviceId)) { in checkGameControllers()
226 mConnectedDevices.add(deviceId); in checkGameControllers()
228 mCurrentDeviceId = deviceId; in checkGameControllers()
423 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument
424 Log.d(TAG, "onInputDeviceAdded: " + deviceId); in onInputDeviceAdded()
425 if (!mConnectedDevices.contains(deviceId)) { in onInputDeviceAdded()
426 mConnectedDevices.add(new Integer(deviceId)); in onInputDeviceAdded()
429 mCurrentDeviceId = deviceId; in onInputDeviceAdded()
[all …]