Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DInputEventAssigner.java67 if (motionEvent.isFromSource(SOURCE_TOUCHSCREEN)) { in processEvent()
DInputEvent.java94 public boolean isFromSource(int source) { in isFromSource() method in InputEvent
DInputDevice.java1025 public boolean isFromSource(int source) { in isFromSource() method in InputDevice.MotionRange
DViewRootImpl.java5707 && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER) in shouldDropInputEvent()
5716 && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_BUTTON)) { in shouldDropInputEvent()
6046 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in processMotionEvent()
6053 if (event.isFromSource(InputDevice.SOURCE_CLASS_POSITION)) { in processMotionEvent()
6358 if (event.getPointerCount() == 1 && event.isFromSource(InputDevice.SOURCE_MOUSE)) { in maybeUpdatePointerIcon()
6378 if (event.isFromSource(InputDevice.SOURCE_MOUSE_RELATIVE)) { in processTrackballEvent()
6393 if (event.isFromSource(InputDevice.SOURCE_TOUCHPAD)) { in processGenericMotionEvent()
8365 && (mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER) in shouldSkipIme()
8366 || mEvent.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)); in shouldSkipIme()
DViewGroup.java2512 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onInterceptHoverEvent()
3285 if (ev.isFromSource(InputDevice.SOURCE_MOUSE) in onInterceptTouchEvent()
DView.java7579 if (event.isFromSource(InputDevice.SOURCE_MOUSE) &&
15671 && event.isFromSource(InputDevice.SOURCE_MOUSE) in onHoverEvent()
15797 || !event.isFromSource(InputDevice.SOURCE_MOUSE) in handleScrollBarDragging()
/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.java278 if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) { in getEventStreamState()
284 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in getEventStreamState()
291 if (event.isFromSource(InputDevice.SOURCE_KEYBOARD)) { in getEventStreamState()
DAutoclickController.java73 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onMotionEvent()
DMotionEventInjector.java119 if ((event.isFromSource(InputDevice.SOURCE_MOUSE) in onMotionEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationGestureHandler.java139 if ((!mDetectTripleTap && !mDetectShortcutTrigger) || !event.isFromSource( in shouldDispatchTransformedEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java241 if (isFromSource(InputDevice.SOURCE_MOUSE)) { in closeLocked()
675 private boolean isFromSource(int source) { in isFromSource() method in DragState
681 if (isFromSource(InputDevice.SOURCE_MOUSE)) { in overridePointerIconLocked()
DSystemGesturesPointerEventListener.java191 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onPointerEvent()
DWindowManagerService.java6895 if (motionEvent.isFromSource(InputDevice.SOURCE_MOUSE)) { in onPointerEvent()
/frameworks/base/core/java/android/widget/
DEditorTouchState.java134 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in update()
DHorizontalScrollView.java858 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
864 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
DEditor.java1673 if (!event.isFromSource(InputDevice.SOURCE_MOUSE)) { in shouldFilterOutTouchEvent()
5424 ev.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in onTouchEvent()
5429 filterOnTouchUp(ev.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in onTouchEvent()
6265 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onTouchEvent()
6588 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in onTouchEvent()
6737 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in updateCharacterBasedSelection()
6744 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE); in updateWordBasedSelection()
6796 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in updateWordBasedSelection()
6808 event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in updateParagraphBasedSelection()
DScrollView.java928 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
930 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
DAbsListView.java4346 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
4348 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
4362 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java247 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) { in onInputEvent()
DMultiClientInputMethodClientCallbackAdaptor.java174 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) { in onInputEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelViewController.java1255 if (isFullyCollapsed() && event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onTouch()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchExplorer.java257 if (!event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) { in onMotionEvent()
/frameworks/base/core/api/
Dcurrent.txt47251 method public boolean isFromSource(int);
47260 method public boolean isFromSource(int);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32306 method public boolean isFromSource(int);
32315 method public boolean isFromSource(int);

12