Searched refs:isFromSource (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/core/java/android/view/
H A DInputEvent.java93 public boolean isFromSource(int source) { method in class:InputEvent
H A DInputDevice.java887 public boolean isFromSource(int source) { method in class:InputDevice.MotionRange
H A DViewRootImpl.java4503 && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER)
4505 || (mIsAmbientMode && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_BUTTON))
4836 ensureTouchMode(event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
5121 if (event.getPointerCount() == 1 && event.isFromSource(InputDevice.SOURCE_MOUSE)) {
5141 if (event.isFromSource(InputDevice.SOURCE_MOUSE_RELATIVE)) {
6924 && (mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER)
6925 || mEvent.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER));
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) &&
13400 * if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) {
13406 * if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
13485 && event.isFromSource(InputDevice.SOURCE_MOUSE)
13611 || !event.isFromSource(InputDevice.SOURCE_MOUSE)
[all...]
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DBasicGLSurfaceView.java64 if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) {
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DDragStartHelper.java138 if (!MotionEventCompat.isFromSource(event, InputDeviceCompat.SOURCE_MOUSE)
H A DMotionEventCompat.java552 public static boolean isFromSource(MotionEvent event, int source) { method in class:MotionEventCompat
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java244 if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) {
250 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
257 if (event.isFromSource(InputDevice.SOURCE_KEYBOARD)) {
H A DAutoclickController.java73 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
H A DMagnificationGestureHandler.java214 || !event.isFromSource(SOURCE_TOUCHSCREEN)) {
279 && event.isFromSource(SOURCE_TOUCHSCREEN)
H A DTouchExplorer.java258 if (!event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java182 if (isFromSource(InputDevice.SOURCE_MOUSE)) {
637 private boolean isFromSource(int source) { method in class:DragState
643 if (isFromSource(InputDevice.SOURCE_MOUSE)) {
H A DWindowManagerService.java7003 if (motionEvent.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java235 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) {
/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java138 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/base/core/java/android/app/
H A DActivityView.java271 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingManager.java462 mIsTouchScreen = event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN);
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java734 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
740 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) {
H A DScrollView.java793 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
795 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) {
H A DEditor.java1424 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
1445 if (!event.isFromSource(InputDevice.SOURCE_MOUSE)) {
4990 ev.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
4995 filterOnTouchUp(ev.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
5821 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
5979 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
5986 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
6038 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
6050 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
H A DAbsListView.java4223 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
4225 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) {
4239 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java271 if (isFullyCollapsed() && 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)) {
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 666 milliseconds