Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DEvents.java34 return isMouseType(e.getToolType(0)); in isMouseEvent()
41 return isTouchType(e.getToolType(0)); in isTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java198 if (((e.getToolType(e.getActionIndex()) != MotionEvent.TOOL_TYPE_MOUSE || in onTouch()
213 if (e.getToolType(e.getActionIndex()) == MotionEvent.TOOL_TYPE_MOUSE && in onTouch()
DPointerLocationView.java443 final int toolType = event.getToolType(index); in logCoords()
615 ps.mToolType = event.getToolType(i); in onPointerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeadZone.java121 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
DDirectoryListBot.java115 int toolType = Configurator.getInstance().getToolType(); in openDocument()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DFilesActivityUiTest.java215 int toolType = Configurator.getInstance().getToolType(); in testDownload_RetryUnsuccessful()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp317 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, event->getToolType(0)); in assertEqualsEventWithHistory()
319 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_STYLUS, event->getToolType(1)); in assertEqualsEventWithHistory()
DInputPublisherAndConsumer_test.cpp204 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
/frameworks/base/native/android/
Dinput.cpp138 return static_cast<const MotionEvent*>(motion_event)->getToolType(pointer_index); in AMotionEvent_getToolType()
/frameworks/native/include/input/
DInput.h429 inline int32_t getToolType(size_t pointerIndex) const { in getToolType() function
/frameworks/base/core/java/android/view/
DMotionEvent.java2094 public final int getToolType(int pointerIndex) { in getToolType() method in MotionEvent
3166 toolTypeToString(getToolType(i))); in toString()
/frameworks/native/services/inputflinger/
DInputReader.h765 int32_t getToolType() const;
947 inline int32_t getToolType() const;
DInputReader.cpp1480 int32_t TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator
1835 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot
6576 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
6595 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6677 outPointer.toolType = inSlot->getToolType(); in syncTouch()
6679 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6685 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
6817 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp584 return event->getToolType(pointerIndex); in android_view_MotionEvent_nativeGetToolType()
/frameworks/native/libs/input/
DInputTransport.cpp780 && shouldResampleTool(event->getToolType(i))) { in resampleTouchState()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java1633 mLastTool = e.getToolType(0); in onInterceptTouchEvent()
/frameworks/base/docs/html/about/versions/marshmallow/
Dandroid-6.0.jd352 {@link android.view.MotionEvent#getToolType(int) getTooltype()} method returns
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.jd1475 android.view.MotionEvent#getToolType getToolType()}. The currently defined tool types are: {@link
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32944 method public final int getToolType(int);
/frameworks/base/api/
Dcurrent.txt41734 method public final int getToolType(int);
Dsystem-current.txt44734 method public final int getToolType(int);
Dtest-current.txt41813 method public final int getToolType(int);