Home
last modified time | relevance | path

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

/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.java461 final int toolType = event.getToolType(index); in logCoords()
633 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/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
3467 msg, ", toolType[" + i + "]=", toolTypeToString(getToolType(i))); in toString()
/frameworks/native/services/inputflinger/
DInputReader.h436 int32_t getToolType() const;
683 inline int32_t getToolType() const;
DInputReader.cpp1553 int32_t TouchButtonAccumulator::getToolType() const { in getToolType() function in android::TouchButtonAccumulator
1911 int32_t MultiTouchMotionAccumulator::Slot::getToolType() const { in getToolType() function in android::MultiTouchMotionAccumulator::Slot
6880 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
6899 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6982 outPointer.toolType = inSlot->getToolType(); in syncTouch()
6984 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch()
6990 bool isHovering = mTouchButtonAccumulator.getToolType() != AMOTION_EVENT_TOOL_TYPE_MOUSE in syncTouch()
7123 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync()
/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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...