Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 – 3 of 3) sorted by relevance

/development/samples/VirtualDeviceManager/client/src/com/example/android/vdmdemo/client/
DInputManager.java103 void sendInputEvent(InputDeviceType deviceType, InputEvent inputEvent, int displayId) { in sendInputEvent() argument
106 switch (deviceType) { in sendInputEvent()
109 sendTouchEvent(deviceType, event, displayId); in sendInputEvent()
115 Log.e(TAG, "sendInputEvent got invalid device type " + deviceType.getNumber()); in sendInputEvent()
119 sendKeyEvent(deviceType, event, displayId); in sendInputEvent()
129 InputDeviceType deviceType, InputEvent inputEvent) { in sendInputEventToFocusedDisplay() argument
137 sendInputEvent(deviceType, inputEvent, targetDisplayId); in sendInputEventToFocusedDisplay()
165 private void sendTouchEvent(InputDeviceType deviceType, MotionEvent event, int displayId) { in sendTouchEvent() argument
170 .setDeviceType(deviceType) in sendTouchEvent()
184 private void sendKeyEvent(InputDeviceType deviceType, KeyEvent event, int displayId) { in sendKeyEvent() argument
[all …]
/development/samples/VirtualDeviceManager/host/src/com/example/android/vdmdemo/host/
DInputController.java63 void sendEventToFocusedDisplay(InputDeviceType deviceType, InputEvent inputEvent) { in sendEventToFocusedDisplay() argument
65 getFocusedDisplayLocked().ifPresent(d -> d.processInputEvent(deviceType, inputEvent)); in sendEventToFocusedDisplay()
DRemoteDisplay.java312 void processInputEvent(RemoteEventProto.InputDeviceType deviceType, InputEvent event) { in processInputEvent() argument
313 switch (deviceType) { in processInputEvent()
327 + deviceType.getNumber()); in processInputEvent()