Searched refs:getToolType (Results 1 – 15 of 15) sorted by relevance
123 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
317 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()
204 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
138 return static_cast<const MotionEvent*>(motion_event)->getToolType(pointer_index); in AMotionEvent_getToolType()
187 final boolean fromMouse = e.getToolType(e.getActionIndex()) == MotionEvent.TOOL_TYPE_MOUSE; in onTouch()
443 final int toolType = event.getToolType(index); in logCoords()615 ps.mToolType = event.getToolType(i); in onPointerEvent()
429 inline int32_t getToolType(size_t pointerIndex) const { in getToolType() function
2173 public final int getToolType(int pointerIndex) { in getToolType() method in MotionEvent3247 toolTypeToString(getToolType(i))); in toString()
715 int32_t getToolType() const;897 inline int32_t getToolType() const;
1539 int32_t TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator1894 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot6682 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()
515 return event->getToolType(pointerIndex); in android_view_MotionEvent_nativeGetToolType()
779 && shouldResampleTool(event->getToolType(i))) { in resampleTouchState()
32944 method public final int getToolType(int);
44693 method public final int getToolType(int);
48232 method public final int getToolType(int);