Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/input/
DInputManager.java252 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice() local
253 if (inputDevice == null) { in getInputDevice()
255 inputDevice = mIm.getInputDevice(id); in getInputDevice()
259 if (inputDevice != null) { in getInputDevice()
260 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
263 return inputDevice; in getInputDevice()
283 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor() local
284 if (inputDevice == null) { in getInputDeviceByDescriptor()
287 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor()
291 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.java333 InputDevice inputDevice = im.getInputDevice(deviceId); in load() local
334 if (inputDevice == null) { in load()
335 inputDevice = im.getInputDevice(VIRTUAL_KEYBOARD); in load()
336 if (inputDevice == null) { in load()
341 return inputDevice.getKeyCharacterMap(); in load()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java644 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice() local
645 if (inputDevice.getId() == deviceId) { in getInputDevice()
646 return inputDevice; in getInputDevice()
735 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged() local
736 deviceIdAndGeneration[i * 2] = inputDevice.getId(); in deliverInputDevicesChanged()
737 deviceIdAndGeneration[i * 2 + 1] = inputDevice.getGeneration(); in deliverInputDevicesChanged()
739 if (!inputDevice.isVirtual() && inputDevice.isFullKeyboard()) { in deliverInputDevicesChanged()
741 inputDevice.getDescriptor())) { in deliverInputDevicesChanged()
742 mTempFullKeyboards.add(numFullKeyboardsAdded++, inputDevice); in deliverInputDevicesChanged()
744 mTempFullKeyboards.add(inputDevice); in deliverInputDevicesChanged()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewOnGenericMotionEventTest.java119 private static MotionEvent obtainScrollMotionEvent(int axis, int axisValue, int inputDevice) { in obtainScrollMotionEvent() argument
131 edgeFlags, inputDevice, flags); in obtainScrollMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java352 final InputDevice inputDevice = inputManager.getInputDevice(deviceId); in retrieveKeyCharacterMap() local
353 if (inputDevice != null) { in retrieveKeyCharacterMap()
354 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()
360 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap() local
363 if (inputDevice.getId() != -1 && inputDevice.isFullKeyboard()) { in retrieveKeyCharacterMap()
364 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()