Searched refs:deviceId (Results 1 – 6 of 6) sorted by relevance
59 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument60 mIDL.onInputDeviceAdded(deviceId); in onInputDeviceAdded()64 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument65 mIDL.onInputDeviceChanged(deviceId); in onInputDeviceChanged()69 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() argument70 mIDL.onInputDeviceRemoved(deviceId); in onInputDeviceRemoved()
99 void onInputDeviceAdded(int deviceId); in onInputDeviceAdded() argument108 void onInputDeviceChanged(int deviceId); in onInputDeviceChanged() argument117 void onInputDeviceRemoved(int deviceId); in onInputDeviceRemoved() argument
132 private void notifyListeners(int why, int deviceId) { in notifyListeners() argument139 DeviceEvent odc = DeviceEvent.getDeviceEvent(why, deviceId, listener); in notifyListeners()
156 private InputDeviceState getInputDeviceState(int deviceId) { in getInputDeviceState() argument157 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() argument173 InputDeviceState state = getInputDeviceState(deviceId); in onInputDeviceAdded()179 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() argument180 InputDeviceState state = mInputDeviceStates.get(deviceId); in onInputDeviceChanged()182 mInputDeviceStates.remove(deviceId); in onInputDeviceChanged()183 state = getInputDeviceState(deviceId); in onInputDeviceChanged()[all …]
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() local130 if (deviceId != -1) { in onKeyDown()131 Ship currentShip = getShipForId(deviceId); in onKeyDown()143 int deviceId = event.getDeviceId(); in onKeyUp() local144 if (deviceId != -1) { in onKeyUp()145 Ship currentShip = getShipForId(deviceId); in onKeyUp()1131 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() argument[all …]
114 public MonkeyMotionEvent setDeviceId(int deviceId) { in setDeviceId() argument115 mDeviceId = deviceId; in setDeviceId()