Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskTapPointerEventListener.java92 InputDevice inputDevice = motionEvent.getDevice(); in onPointerEvent() local
93 if (task == null || inputDevice == null) { in onPointerEvent()
115 inputDevice.setPointerType(iconType); in onPointerEvent()
124 InputDevice inputDevice = motionEvent.getDevice(); in onPointerEvent() local
125 if (inputDevice != null) { in onPointerEvent()
126 inputDevice.setPointerType(TYPE_DEFAULT); in onPointerEvent()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java249 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice() local
250 if (inputDevice == null) { in getInputDevice()
252 inputDevice = mIm.getInputDevice(id); in getInputDevice()
256 if (inputDevice != null) { in getInputDevice()
257 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
260 return inputDevice; in getInputDevice()
280 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor() local
281 if (inputDevice == null) { in getInputDeviceByDescriptor()
284 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor()
288 if (inputDevice == null) { in getInputDeviceByDescriptor()
[all …]
/frameworks/base/core/java/android/view/
DSearchEvent.java29 public SearchEvent(InputDevice inputDevice) { in SearchEvent() argument
30 mInputDevice = inputDevice; in SearchEvent()
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.java629 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice() local
630 if (inputDevice.getId() == deviceId) { in getInputDevice()
631 return inputDevice; in getInputDevice()
720 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged() local
721 deviceIdAndGeneration[i * 2] = inputDevice.getId(); in deliverInputDevicesChanged()
722 deviceIdAndGeneration[i * 2 + 1] = inputDevice.getGeneration(); in deliverInputDevicesChanged()
724 if (!inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in deliverInputDevicesChanged()
726 inputDevice.getDescriptor())) { in deliverInputDevicesChanged()
727 mTempFullKeyboards.add(numFullKeyboardsAdded++, inputDevice); in deliverInputDevicesChanged()
729 mTempFullKeyboards.add(inputDevice); in deliverInputDevicesChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java338 final InputDevice inputDevice = inputManager.getInputDevice(deviceId); in retrieveKeyCharacterMap() local
339 if (inputDevice != null) { in retrieveKeyCharacterMap()
340 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()
346 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap() local
349 if (inputDevice.getId() != -1 && inputDevice.isFullKeyboard()) { in retrieveKeyCharacterMap()
350 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()
354 final InputDevice inputDevice = inputManager.getInputDevice(-1); in retrieveKeyCharacterMap() local
355 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()