Home
last modified time | relevance | path

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

/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/
DFullscreenActivity.java131 private int mCurrentDeviceId = -1; field in FullscreenActivity
227 if (mCurrentDeviceId == -1) { in checkGameControllers()
228 mCurrentDeviceId = deviceId; in checkGameControllers()
300 if (device != null && device.getId() == mCurrentDeviceId) { in onGenericMotionEvent()
350 if (device != null && device.getId() == mCurrentDeviceId) { in onKeyDown()
372 if (device != null && device.getId() == mCurrentDeviceId) { in onKeyUp()
428 if (mCurrentDeviceId == -1) { in onInputDeviceAdded()
429 mCurrentDeviceId = deviceId; in onInputDeviceAdded()
430 InputDevice dev = InputDevice.getDevice(mCurrentDeviceId); in onInputDeviceAdded()
448 if (mCurrentDeviceId == deviceId) { in onInputDeviceRemoved()
[all …]