Searched refs:inputDevice (Results 1 – 6 of 6) sorted by relevance
92 InputDevice inputDevice = motionEvent.getDevice(); in onPointerEvent() local93 if (task == null || inputDevice == null) { in onPointerEvent()115 inputDevice.setPointerType(iconType); in onPointerEvent()124 InputDevice inputDevice = motionEvent.getDevice(); in onPointerEvent() local125 if (inputDevice != null) { in onPointerEvent()126 inputDevice.setPointerType(TYPE_DEFAULT); in onPointerEvent()
249 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice() local250 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() local281 if (inputDevice == null) { in getInputDeviceByDescriptor()284 inputDevice = mIm.getInputDevice(id); in getInputDeviceByDescriptor()288 if (inputDevice == null) { in getInputDeviceByDescriptor()[all …]
29 public SearchEvent(InputDevice inputDevice) { in SearchEvent() argument30 mInputDevice = inputDevice; in SearchEvent()
334 InputDevice inputDevice = im.getInputDevice(deviceId); in load() local335 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()
629 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice() local630 if (inputDevice.getId() == deviceId) { in getInputDevice()631 return inputDevice; in getInputDevice()720 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged() local721 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 …]
338 final InputDevice inputDevice = inputManager.getInputDevice(deviceId); in retrieveKeyCharacterMap() local339 if (inputDevice != null) { in retrieveKeyCharacterMap()340 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()346 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap() local349 if (inputDevice.getId() != -1 && inputDevice.isFullKeyboard()) { in retrieveKeyCharacterMap()350 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()354 final InputDevice inputDevice = inputManager.getInputDevice(-1); in retrieveKeyCharacterMap() local355 mKeyCharacterMap = inputDevice.getKeyCharacterMap(); in retrieveKeyCharacterMap()