Home
last modified time | relevance | path

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

12

/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.java5034 && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER) in shouldDropInputEvent()
5036 || (mIsAmbientMode && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_BUTTON)) in shouldDropInputEvent()
5355 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in processMotionEvent()
5362 if (event.isFromSource(InputDevice.SOURCE_CLASS_POSITION)) { in processMotionEvent()
5381 ensureTouchMode(event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)); in processPointerEvent()
5666 if (event.getPointerCount() == 1 && event.isFromSource(InputDevice.SOURCE_MOUSE)) { in maybeUpdatePointerIcon()
5686 if (event.isFromSource(InputDevice.SOURCE_MOUSE_RELATIVE)) { in processTrackballEvent()
5701 if (event.isFromSource(InputDevice.SOURCE_TOUCHPAD)) { in processGenericMotionEvent()
7505 && (mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER) in shouldSkipIme()
7506 || 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()
DView.java7401 if (event.isFromSource(InputDevice.SOURCE_MOUSE) &&
15061 && event.isFromSource(InputDevice.SOURCE_MOUSE) in onHoverEvent()
15187 || !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.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.java234 if (isFromSource(InputDevice.SOURCE_MOUSE)) { in closeLocked()
685 private boolean isFromSource(int source) { in isFromSource() method in DragState
691 if (isFromSource(InputDevice.SOURCE_MOUSE)) { in overridePointerIconLocked()
DSystemGesturesPointerEventListener.java171 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) { in onPointerEvent()
DWindowManagerService.java6710 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/
DHorizontalScrollView.java832 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
838 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
DScrollView.java899 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) { in onGenericMotionEvent()
901 } 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/opt/setupwizard/tools/docs/
Dandroid-22.txt32306 method public boolean isFromSource(int);
32315 method public boolean isFromSource(int);
/frameworks/base/non-updatable-api/
Dcurrent.txt50265 method public boolean isFromSource(int);
50274 method public boolean isFromSource(int);
/frameworks/base/api/
Dcurrent.txt50409 method public boolean isFromSource(int);
50418 method public boolean isFromSource(int);

12