Searched refs:isFromSource (Results 1 - 23 of 23) 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.java855 public boolean isFromSource(int source) { method in class:InputDevice.MotionRange
H A DViewRootImpl.java4192 && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) || mStopped
4193 || (mIsAmbientMode && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_BUTTON))
4524 ensureTouchMode(event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN));
4790 if (event.getPointerCount() == 1 && event.isFromSource(InputDevice.SOURCE_MOUSE)) {
4810 if (event.isFromSource(InputDevice.SOURCE_MOUSE_RELATIVE)) {
6478 && (mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER)
6479 || mEvent.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER));
H A DViewGroup.java2364 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
3124 if (ev.isFromSource(InputDevice.SOURCE_MOUSE)
H A DView.java6394 if (event.isFromSource(InputDevice.SOURCE_MOUSE) &&
12599 * if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) {
12605 * if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
12684 && event.isFromSource(InputDevice.SOURCE_MOUSE)
12810 || !event.isFromSource(InputDevice.SOURCE_MOUSE)
/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/v13/java/android/support/v13/view/
H A DDragStartHelper.java140 if (!MotionEventCompat.isFromSource(event, InputDeviceCompat.SOURCE_MOUSE)
/frameworks/support/compat/java/android/support/v4/view/
H A DMotionEventCompat.java553 public static boolean isFromSource(MotionEvent event, int source) { method in class:MotionEventCompat
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java236 if (event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) {
242 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
249 if (event.isFromSource(InputDevice.SOURCE_KEYBOARD)) {
H A DAutoclickController.java77 if (event.isFromSource(InputDevice.SOURCE_MOUSE)) {
H A DMagnificationGestureHandler.java159 if (!event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) {
H A DTouchExplorer.java267 if (!event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java412 if (isFromSource(InputDevice.SOURCE_MOUSE)) {
615 private boolean isFromSource(int source) { method in class:DragState
621 if (isFromSource(InputDevice.SOURCE_MOUSE)) {
H A DWindowManagerService.java7083 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.java204 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
/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.java1311 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
1332 if (!event.isFromSource(InputDevice.SOURCE_MOUSE)) {
5316 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
5480 final boolean isMouse = event.isFromSource(InputDevice.SOURCE_MOUSE);
H A DAbsListView.java4220 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
4222 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) {
4236 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java257 if (isFullyCollapsed() && event.isFromSource(InputDevice.SOURCE_MOUSE)) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java1787 if (ev != null && !MotionEventCompat.isFromSource(ev, InputDevice.SOURCE_MOUSE)) {

Completed in 858 milliseconds