Searched refs:SOURCE_MOUSE (Results 1 - 19 of 19) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/view/
H A DInputDeviceCompat.java49 * Examples: {@link #SOURCE_TOUCHSCREEN}, {@link #SOURCE_MOUSE}.
142 public static final int SOURCE_MOUSE = 0x00002000 | SOURCE_CLASS_POINTER; field in class:InputDeviceCompat
H A DDragStartHelper.java138 if (!MotionEventCompat.isFromSource(event, InputDeviceCompat.SOURCE_MOUSE)
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DMouseUiController.java32 * 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 DAutoclickController.java73 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
105 if (inputSource == InputDevice.SOURCE_MOUSE && mClickScheduler != null) {
H A DAccessibilityInputFilter.java250 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/base/core/java/android/view/
H A DInputDevice.java94 * 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 DViewGroup.java2433 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
3193 if (ev.isFromSource(InputDevice.SOURCE_MOUSE)
H A DView.java6735 if (event.isFromSource(InputDevice.SOURCE_MOUSE) &&
13485 && event.isFromSource(InputDevice.SOURCE_MOUSE)
13611 || !event.isFromSource(InputDevice.SOURCE_MOUSE)
[all...]
H A DViewRootImpl.java5121 if (event.getPointerCount() == 1 && event.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java138 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java182 if (isFromSource(InputDevice.SOURCE_MOUSE)) {
643 if (isFromSource(InputDevice.SOURCE_MOUSE)) {
H A DWindowManagerService.java7003 if (motionEvent.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java45 put("mouse", InputDevice.SOURCE_MOUSE);
/frameworks/support/compat/src/androidTest/java/androidx/core/view/
H A DDragStartHelperTest.java125 buttonState, 0, 0, -1, 0, InputDevice.SOURCE_MOUSE, 0);
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DPopupMenuTest.java621 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 DMotionEventInjectorTest.java98 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 DPanelView.java271 if (isFullyCollapsed() && event.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/base/core/java/android/widget/
H A DEditor.java1424 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 DRecyclerView.java1902 if (ev != null && !MotionEventCompat.isFromSource(ev, InputDevice.SOURCE_MOUSE)) {

Completed in 288 milliseconds