Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DSingleTouchInputMapper.cpp42 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE && in syncTouch()
61 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
DMultiTouchInputMapper.cpp208 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot
275 outPointer.toolType = inSlot->getToolType(); in syncTouch()
277 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
283 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE && in syncTouch()
DExternalStylusInputMapper.cpp73 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
DMultiTouchInputMapper.h44 inline int32_t getToolType() const;
/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DTouchButtonAccumulator.h37 int32_t getToolType() const;
DTouchButtonAccumulator.cpp132 int32_t TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DSpotFilter.kt100 val tool = evt.getToolType(0) in add()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeadZone.java125 if (event.getToolType(0) == MotionEvent.TOOL_TYPE_MOUSE) { in onTouchEvent()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java189 final boolean fromMouse = e.getToolType(e.getActionIndex()) == MotionEvent.TOOL_TYPE_MOUSE; in onTouch()
DPointerLocationView.java483 final int toolType = event.getToolType(index); in logCoords()
655 ps.mToolType = event.getToolType(i); in onPointerEvent()
/frameworks/base/native/android/
Dinput.cpp138 return static_cast<const MotionEvent*>(motion_event)->getToolType(pointer_index); in AMotionEvent_getToolType()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp325 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, event->getToolType(0)); in assertEqualsEventWithHistory()
327 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_STYLUS, event->getToolType(1)); in assertEqualsEventWithHistory()
DInputPublisherAndConsumer_test.cpp210 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp202 static common::V1_0::ToolType getToolType(int32_t toolType) { in getToolType() function
341 properties.toolType = getToolType(args.pointerProperties[i].toolType); in getHidlPropertiesAndCoords()
/frameworks/native/include/input/
DInput.h476 inline int32_t getToolType(size_t pointerIndex) const { in getToolType() function
/frameworks/base/core/java/android/view/
DMotionEvent.java2339 public final int getToolType(int pointerIndex) { in getToolType() method in MotionEvent
3468 msg, ", toolType[" + i + "]=", toolTypeToString(getToolType(i))); in toString()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp518 return event->getToolType(pointerIndex); in android_view_MotionEvent_nativeGetToolType()
/frameworks/native/libs/input/
DInputTransport.cpp997 && shouldResampleTool(event->getToolType(i))) { in resampleTouchState()
/frameworks/base/config/
Dboot-image-profile.txt16459 HSPLandroid/view/MotionEvent;->getToolType(I)I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32944 method public final int getToolType(int);
/frameworks/base/non-updatable-api/
Dcurrent.txt50978 method public int getToolType(int);
/frameworks/base/api/
Dcurrent.txt51122 method public int getToolType(int);