/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | InputDeviceCompat.java | 49 * Examples: {@link #SOURCE_TOUCHSCREEN}, {@link #SOURCE_MOUSE}. 142 public static final int SOURCE_MOUSE = 0x00002000 | SOURCE_CLASS_POINTER; field in class:InputDeviceCompat
|
H A D | DragStartHelper.java | 138 if (!MotionEventCompat.isFromSource(event, InputDeviceCompat.SOURCE_MOUSE)
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | MouseUiController.java | 32 * Class to wrap an UiController to overwrite source of motion events to SOURCE_MOUSE. 67 event.setSource(InputDevice.SOURCE_MOUSE);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AutoclickController.java | 73 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { 105 if (inputSource == InputDevice.SOURCE_MOUSE && mClickScheduler != null) {
|
H A D | AccessibilityInputFilter.java | 250 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
|
/frameworks/base/core/java/android/view/ |
H A D | InputDevice.java | 94 * Examples: {@link #SOURCE_TOUCHSCREEN}, {@link #SOURCE_MOUSE}. 183 public static final int SOURCE_MOUSE = 0x00002000 | SOURCE_CLASS_POINTER; field in class:InputDevice 647 * type such as {@link InputDevice#SOURCE_MOUSE}, a more generic device class, such as 1014 appendSourceDescriptionIfApplicable(description, SOURCE_MOUSE, "mouse");
|
H A D | ViewGroup.java | 2433 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { 3193 if (ev.isFromSource(InputDevice.SOURCE_MOUSE)
|
H A D | View.java | 6735 if (event.isFromSource(InputDevice.SOURCE_MOUSE) && 13485 && event.isFromSource(InputDevice.SOURCE_MOUSE) 13611 || !event.isFromSource(InputDevice.SOURCE_MOUSE) [all...] |
H A D | ViewRootImpl.java | 5121 if (event.getPointerCount() == 1 && event.isFromSource(InputDevice.SOURCE_MOUSE)) {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | SystemGesturesPointerEventListener.java | 138 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DragState.java | 182 if (isFromSource(InputDevice.SOURCE_MOUSE)) { 643 if (isFromSource(InputDevice.SOURCE_MOUSE)) {
|
H A D | WindowManagerService.java | 7003 if (motionEvent.isFromSource(InputDevice.SOURCE_MOUSE)) {
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 45 put("mouse", InputDevice.SOURCE_MOUSE);
|
/frameworks/support/compat/src/androidTest/java/androidx/core/view/ |
H A D | DragStartHelperTest.java | 125 buttonState, 0, 0, -1, 0, InputDevice.SOURCE_MOUSE, 0);
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/ |
H A D | PopupMenuTest.java | 621 click(InputDevice.SOURCE_MOUSE, MotionEvent.BUTTON_PRIMARY)); 661 event.setSource(InputDevice.SOURCE_MOUSE);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | MotionEventInjectorTest.java | 98 private static final int OTHER_EVENT_SOURCE = InputDevice.SOURCE_MOUSE; 260 mouseEvent.setSource(InputDevice.SOURCE_MOUSE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelView.java | 271 if (isFullyCollapsed() && event.isFromSource(InputDevice.SOURCE_MOUSE)) {
|
/frameworks/base/core/java/android/widget/ |
H A D | Editor.java | 1424 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); 1445 if (!event.isFromSource(InputDevice.SOURCE_MOUSE)) { 5821 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); 5986 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | RecyclerView.java | 1902 if (ev != null && !MotionEventCompat.isFromSource(ev, InputDevice.SOURCE_MOUSE)) {
|