Home
last modified time | relevance | path

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

/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.cpp203 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.h392 inline int32_t getToolType(size_t pointerIndex) const { in getToolType() function
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java443 final int toolType = event.getToolType(index); in logCoords()
615 ps.mToolType = event.getToolType(i); in onPointerEvent()
/frameworks/base/core/java/android/view/
DMotionEvent.java1955 public final int getToolType(int pointerIndex) { in getToolType() method in MotionEvent
2992 toolTypeToString(getToolType(i))); in toString()
/frameworks/native/services/inputflinger/
DInputReader.h716 int32_t getToolType() const;
886 inline int32_t getToolType() const;
DInputReader.cpp1371 int32_t TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator
1726 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot
6010 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
6029 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6111 outPointer.toolType = inSlot->getToolType(); in syncTouch()
6113 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6119 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp565 return event->getToolType(pointerIndex); in android_view_MotionEvent_nativeGetToolType()
/frameworks/native/libs/input/
DInputTransport.cpp768 && shouldResampleTool(event->getToolType(i))) { in resampleTouchState()
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.jd1475 android.view.MotionEvent#getToolType getToolType()}. The currently defined tool types are: {@link
/frameworks/base/api/
Dcurrent.txt32773 method public final int getToolType(int);