Home
last modified time | relevance | path

Searched refs:isFromSource (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/view/
DInputEvent.java94 public boolean isFromSource(int source) { in isFromSource() method in InputEvent
DInputDevice.java890 public boolean isFromSource(int source) { in isFromSource() method in InputDevice.MotionRange
DViewRootImpl.java4864 && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER) in shouldDropInputEvent()
4866 || (mIsAmbientMode && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_BUTTON)) in shouldDropInputEvent()
5185 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in processMotionEvent()
5192 if (event.isFromSource(InputDevice.SOURCE_CLASS_POSITION)) { in processMotionEvent()
5211 ensureTouchMode(event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in processPointerEvent()
5496 if (event.getPointerCount() == 1 && event.isFromSource(InputDevice.SOURCE_MOUSE)) { in maybeUpdatePointerIcon()
5516 if (event.isFromSource(InputDevice.SOURCE_MOUSE_RELATIVE)) { in processTrackballEvent()
5531 if (event.isFromSource(InputDevice.SOURCE_TOUCHPAD)) { in processGenericMotionEvent()
7335 && (mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER) in shouldSkipIme()
7336 || mEvent.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)); in shouldSkipIme()
DViewGroup.java2469 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onInterceptHoverEvent()
3225 if (ev.isFromSource(InputDevice.SOURCE_MOUSE) in onInterceptTouchEvent()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLSurfaceView.java64 if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) { in onGenericMotionEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java233 if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) { in getEventStreamState()
239 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in getEventStreamState()
246 if (event.isFromSource(InputDevice.SOURCE_KEYBOARD)) { in getEventStreamState()
DAutoclickController.java73 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onMotionEvent()
DMotionEventInjector.java118 if ((event.isFromSource(InputDevice.SOURCE_MOUSE) in onMotionEvent()
DMagnificationGestureHandler.java222 || !event.isFromSource(SOURCE_TOUCHSCREEN)) { in onMotionEventInternal()
DTouchExplorer.java277 if (!event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) { in onMotionEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java236 if (isFromSource(InputDevice.SOURCE_MOUSE)) { in closeLocked()
687 private boolean isFromSource(int source) { in isFromSource() method in DragState
693 if (isFromSource(InputDevice.SOURCE_MOUSE)) { in overridePointerIconLocked()
DSystemGesturesPointerEventListener.java171 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onPointerEvent()
DWindowManagerService.java6670 if (motionEvent.isFromSource(InputDevice.SOURCE_MOUSE)) { in onPointerEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java238 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) { in onInputEvent()
DMultiClientInputMethodClientCallbackAdaptor.java172 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) { in onInputEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerImpl.java527 mIsTouchScreen = event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DScrollView.java899 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
901 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
DHorizontalScrollView.java832 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
838 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
DEditor.java1442 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in updateTapState()
1463 if (!event.isFromSource(InputDevice.SOURCE_MOUSE)) { in shouldFilterOutTouchEvent()
5079 ev.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in onTouchEvent()
5084 filterOnTouchUp(ev.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in onTouchEvent()
5927 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
6085 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
6092 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
6144 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
6156 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
DAbsListView.java4291 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
4293 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
4307 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelView.java279 if (isFullyCollapsed() && event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onTouchEvent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...