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.java211 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice() local
212 if (inputDevice == null) { in getInputDevice()
214 inputDevice = mIm.getInputDevice(id); in getInputDevice()
218 if (inputDevice != null) { in getInputDevice()
219 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
222 return inputDevice; in getInputDevice()
242 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor() local
243 if (inputDevice == null) { in getInputDeviceByDescriptor()
246 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor()
250 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/core/java/com/android/server/input/
DInputManagerService.java580 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice() local
581 if (inputDevice.getId() == deviceId) { in getInputDevice()
582 return inputDevice; in getInputDevice()
671 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged() local
672 deviceIdAndGeneration[i * 2] = inputDevice.getId(); in deliverInputDevicesChanged()
673 deviceIdAndGeneration[i * 2 + 1] = inputDevice.getGeneration(); in deliverInputDevicesChanged()
675 if (!inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in deliverInputDevicesChanged()
677 inputDevice.getDescriptor())) { in deliverInputDevicesChanged()
678 mTempFullKeyboards.add(numFullKeyboardsAdded++, inputDevice); in deliverInputDevicesChanged()
680 mTempFullKeyboards.add(inputDevice); in deliverInputDevicesChanged()
[all …]