Searched refs:deviceId (Results 1 – 9 of 9) sorted by relevance
/development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
D | InputManagerV16.java | 59 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument 60 mIDL.onInputDeviceAdded(deviceId); in onInputDeviceAdded() 64 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument 65 mIDL.onInputDeviceChanged(deviceId); in onInputDeviceChanged() 69 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() argument 70 mIDL.onInputDeviceRemoved(deviceId); in onInputDeviceRemoved()
|
D | InputManagerCompat.java | 99 void onInputDeviceAdded(int deviceId); in onInputDeviceAdded() argument 108 void onInputDeviceChanged(int deviceId); in onInputDeviceChanged() argument 117 void onInputDeviceRemoved(int deviceId); in onInputDeviceRemoved() argument
|
D | InputManagerV9.java | 132 private void notifyListeners(int why, int deviceId) { in notifyListeners() argument 139 DeviceEvent odc = DeviceEvent.getDeviceEvent(why, deviceId, listener); in notifyListeners()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameControllerInput.java | 156 private InputDeviceState getInputDeviceState(int deviceId) { in getInputDeviceState() argument 157 InputDeviceState state = mInputDeviceStates.get(deviceId); in getInputDeviceState() 159 final InputDevice device = mInputManager.getInputDevice(deviceId); in getInputDeviceState() 164 mInputDeviceStates.put(deviceId, state); in getInputDeviceState() 172 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument 173 InputDeviceState state = getInputDeviceState(deviceId); in onInputDeviceAdded() 179 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument 180 InputDeviceState state = mInputDeviceStates.get(deviceId); in onInputDeviceChanged() 182 mInputDeviceStates.remove(deviceId); in onInputDeviceChanged() 183 state = getInputDeviceState(deviceId); in onInputDeviceChanged() [all …]
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameView.java | 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 [all …]
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyMotionEvent.java | 114 public MonkeyMotionEvent setDeviceId(int deviceId) { in setDeviceId() argument 115 mDeviceId = deviceId; in setDeviceId()
|
/development/ndk/platforms/android-9/include/SLES/ |
D | OpenSLES.h | 550 SLuint32 deviceId, 565 SLuint32 deviceId, 580 SLuint32 deviceId, 586 SLuint32 deviceId, 598 SLuint32 deviceId,
|
/development/ndk/platforms/android-14/include/SLES/ |
D | OpenSLES.h | 550 SLuint32 deviceId, 565 SLuint32 deviceId, 580 SLuint32 deviceId, 586 SLuint32 deviceId, 598 SLuint32 deviceId,
|
/development/ndk/platforms/android-21/include/SLES/ |
D | OpenSLES.h | 550 SLuint32 deviceId, 565 SLuint32 deviceId, 580 SLuint32 deviceId, 586 SLuint32 deviceId, 598 SLuint32 deviceId,
|