Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseClickAction.java46 float[] precision, int inputDevice, int buttonState) { in sendTap() argument
48 inputDevice, buttonState); in sendTap()
61 stat = sendSingleTap(uiController, coordinates, precision, inputDevice, in sendTap()
86 float[] coordinates, float[] precision, int inputDevice, int buttonState) { in sendSingleTap() argument
88 inputDevice, buttonState); in sendSingleTap()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java259 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice() local
260 if (inputDevice == null) { in getInputDevice()
262 inputDevice = mIm.getInputDevice(id); in getInputDevice()
266 if (inputDevice != null) { in getInputDevice()
267 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
270 return inputDevice; in getInputDevice()
290 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor() local
291 if (inputDevice == null) { in getInputDeviceByDescriptor()
294 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor()
298 if (inputDevice == null) { in getInputDeviceByDescriptor()
[all …]
/frameworks/base/core/java/android/view/
DSearchEvent.java27 public SearchEvent(InputDevice inputDevice) { in SearchEvent() argument
28 mInputDevice = inputDevice; in SearchEvent()
DKeyCharacterMap.java335 InputDevice inputDevice = im.getInputDevice(deviceId); in load() local
336 if (inputDevice == null) { in load()
337 inputDevice = im.getInputDevice(VIRTUAL_KEYBOARD); in load()
338 if (inputDevice == null) { in load()
343 return inputDevice.getKeyCharacterMap(); in load()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java680 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice() local
681 if (inputDevice.getId() == deviceId) { in getInputDevice()
682 return inputDevice; in getInputDevice()
797 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged() local
798 deviceIdAndGeneration[i * 2] = inputDevice.getId(); in deliverInputDevicesChanged()
799 deviceIdAndGeneration[i * 2 + 1] = inputDevice.getGeneration(); in deliverInputDevicesChanged()
801 if (!inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in deliverInputDevicesChanged()
803 inputDevice.getDescriptor())) { in deliverInputDevicesChanged()
804 mTempFullKeyboards.add(numFullKeyboardsAdded++, inputDevice); in deliverInputDevicesChanged()
806 mTempFullKeyboards.add(inputDevice); in deliverInputDevicesChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java354 final InputDevice inputDevice = inputManager.getInputDevice(deviceId); in retrieveKeyCharacterMap() local
355 if (inputDevice != null) { in retrieveKeyCharacterMap()
356 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()
362 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap() local
365 if (inputDevice.getId() != -1 && inputDevice.isFullKeyboard()) { in retrieveKeyCharacterMap()
366 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()