Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/input/
DInputManager.java208 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice() local
209 if (inputDevice == null) { in getInputDevice()
211 inputDevice = mIm.getInputDevice(id); in getInputDevice()
215 if (inputDevice != null) { in getInputDevice()
216 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
219 return inputDevice; in getInputDevice()
239 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor() local
240 if (inputDevice == null) { in getInputDeviceByDescriptor()
243 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor()
247 if (inputDevice == null) { in getInputDeviceByDescriptor()
[all …]
/frameworks/base/core/java/android/view/
DKeyCharacterMap.java334 InputDevice inputDevice = im.getInputDevice(deviceId); in load() local
335 if (inputDevice == null) { in load()
336 inputDevice = im.getInputDevice(VIRTUAL_KEYBOARD); in load()
337 if (inputDevice == null) { in load()
342 return inputDevice.getKeyCharacterMap(); in load()
/frameworks/base/services/java/com/android/server/input/
DInputManagerService.java554 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice() local
555 if (inputDevice.getId() == deviceId) { in getInputDevice()
556 return inputDevice; in getInputDevice()
645 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged() local
646 deviceIdAndGeneration[i * 2] = inputDevice.getId(); in deliverInputDevicesChanged()
647 deviceIdAndGeneration[i * 2 + 1] = inputDevice.getGeneration(); in deliverInputDevicesChanged()
649 if (!inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in deliverInputDevicesChanged()
651 inputDevice.getDescriptor())) { in deliverInputDevicesChanged()
652 mTempFullKeyboards.add(numFullKeyboardsAdded++, inputDevice); in deliverInputDevicesChanged()
654 mTempFullKeyboards.add(inputDevice); in deliverInputDevicesChanged()
[all …]