Lines Matching refs:deviceId
156 private InputDeviceState getInputDeviceState(int deviceId) {
157 InputDeviceState state = mInputDeviceStates.get(deviceId);
159 final InputDevice device = mInputManager.getInputDevice(deviceId);
164 mInputDeviceStates.put(deviceId, state);
172 public void onInputDeviceAdded(int deviceId) {
173 InputDeviceState state = getInputDeviceState(deviceId);
179 public void onInputDeviceChanged(int deviceId) {
180 InputDeviceState state = mInputDeviceStates.get(deviceId);
182 mInputDeviceStates.remove(deviceId);
183 state = getInputDeviceState(deviceId);
190 public void onInputDeviceRemoved(int deviceId) {
191 InputDeviceState state = mInputDeviceStates.get(deviceId);
194 mInputDeviceStates.remove(deviceId);