Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeadZone.java123 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
/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/base/core/java/com/android/internal/widget/
DDecorCaptionView.java187 final boolean fromMouse = 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/native/include/input/
DInput.h429 inline int32_t getToolType(size_t pointerIndex) const { in getToolType() function
/frameworks/base/core/java/android/view/
DMotionEvent.java2173 public final int getToolType(int pointerIndex) { in getToolType() method in MotionEvent
3247 toolTypeToString(getToolType(i))); in toString()
/frameworks/native/services/inputflinger/
DInputReader.h715 int32_t getToolType() const;
897 inline int32_t getToolType() const;
DInputReader.cpp1539 int32_t TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator
1894 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot
6682 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
6701 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6784 outPointer.toolType = inSlot->getToolType(); in syncTouch()
6786 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6792 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
6924 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp515 return event->getToolType(pointerIndex); in android_view_MotionEvent_nativeGetToolType()
/frameworks/native/libs/input/
DInputTransport.cpp779 && shouldResampleTool(event->getToolType(i))) { in resampleTouchState()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32944 method public final int getToolType(int);
/frameworks/base/api/
Dcurrent.txt44693 method public final int getToolType(int);
Dsystem-current.txt48232 method public final int getToolType(int);