/frameworks/native/services/inputflinger/reader/include/ |
D | StylusState.h | 34 int32_t toolType; member 40 toolType = other.toolType; in copyFrom() 47 toolType = AMOTION_EVENT_TOOL_TYPE_UNKNOWN; in clear()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | ExternalStylusInputMapper.cpp | 73 mStylusState.toolType = mTouchButtonAccumulator.getToolType(); in sync() 74 if (mStylusState.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in sync() 75 mStylusState.toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in sync()
|
D | SingleTouchInputMapper.cpp | 62 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch() 63 if (outPointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in syncTouch() 64 outPointer.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in syncTouch()
|
D | MultiTouchInputMapper.cpp | 283 outPointer.toolType = inSlot->getToolType(); in syncTouch() 284 if (outPointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in syncTouch() 285 outPointer.toolType = mTouchButtonAccumulator.getToolType(); in syncTouch() 286 if (outPointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in syncTouch() 287 outPointer.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in syncTouch()
|
D | TouchInputMapper.cpp | 276 pointer.distance, pointer.toolType, toString(pointer.isHovering)); in dump() 301 pointerProperties.toolType, in dump() 1554 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS || in cookAndDispatch() 1555 pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in cookAndDispatch() 1557 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER || in cookAndDispatch() 1558 pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in cookAndDispatch() 1560 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_MOUSE) { in cookAndDispatch() 1568 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS || in cookAndDispatch() 1569 pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in cookAndDispatch() 1650 if (mExternalStylusState.toolType != AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in applyExternalStylusTouchState() [all …]
|
D | InputMapper.cpp | 96 dump += StringPrintf(INDENT4 "Tool Type: %" PRId32 "\n", state.toolType); in dumpStylusState()
|
D | RotaryEncoderInputMapper.cpp | 99 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_UNKNOWN; in sync()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 3148 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 3167 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 3189 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 3208 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 4279 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 4303 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 4326 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 4376 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 4399 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 4444 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() [all …]
|
D | UinputDevice.cpp | 188 void UinputTouchScreen::sendToolType(int32_t toolType) { in sendToolType() argument 189 injectEvent(EV_ABS, ABS_MT_TOOL_TYPE, toolType); in sendToolType()
|
D | InputClassifierConverter_test.cpp | 33 properties.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateBasicMotionArgs()
|
D | UinputDevice.h | 143 void sendToolType(int32_t toolType);
|
D | InputClassifier_test.cpp | 37 properties.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateBasicMotionArgs()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 58 p.toolType = TOOL_TYPE_FINGER; in testObtainWithDisplayId() 130 properties[i].toolType = MotionEvent.TOOL_TYPE_FINGER; in testCalculatesCursorPositionForMultiTouchMouseEvents()
|
D | ViewGroupTest.java | 67 properties[0].toolType = MotionEvent.TOOL_TYPE_FINGER; in testDispatchMouseEventsUnderCursor() 70 properties[1].toolType = MotionEvent.TOOL_TYPE_FINGER; in testDispatchMouseEventsUnderCursor()
|
D | PinchZoomAction.java | 62 pp1.toolType = MotionEvent.TOOL_TYPE_FINGER; in sendPinchZoomAction() 65 pp2.toolType = MotionEvent.TOOL_TYPE_FINGER; in sendPinchZoomAction()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 309 && toolType == other.toolType; in operator ==() 314 toolType = other.toolType; in copyFrom() 601 properties.toolType = parcel->readInt32(); in readFromParcel() 651 parcel->writeInt32(properties.toolType); in writeToParcel()
|
D | InputTransport.cpp | 223 msg->body.motion.pointers[i].properties.toolType = in getSanitizedCopy() 224 body.motion.pointers[i].properties.toolType, in getSanitizedCopy() 1063 bool InputConsumer::shouldResampleTool(int32_t toolType) { in shouldResampleTool() argument 1064 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in shouldResampleTool() 1065 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN; in shouldResampleTool()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 3736 public static String toolTypeToString(int toolType) { in toolTypeToString() argument 3737 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString() 3738 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString() 4142 public int toolType; field in MotionEvent.PointerProperties 4149 toolType = TOOL_TYPE_UNKNOWN; in clear() 4159 toolType = other.toolType; in copyFrom() 4171 return other != null && id == other.id && toolType == other.toolType; in equals() 4176 return id | (toolType << 8); in hashCode()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 197 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateMotionEvent() 224 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateMotionArgs()
|
/frameworks/native/include/input/ |
D | Input.h | 376 int32_t toolType; member 380 toolType = 0; in clear() 559 return mPointerProperties[pointerIndex].toolType; in getToolType()
|
D | InputTransport.h | 552 static bool shouldResampleTool(int32_t toolType);
|
/frameworks/native/services/inputflinger/ |
D | InputClassifierConverter.cpp | 202 static common::V1_0::ToolType getToolType(int32_t toolType) { in getToolType() argument 213 return static_cast<common::V1_0::ToolType>(toolType); in getToolType() 341 properties.toolType = getToolType(args.pointerProperties[i].toolType); in getHidlPropertiesAndCoords()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 174 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent() 239 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 240 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in initializeEventWithHistory() 243 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in initializeEventWithHistory()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | TouchExplorerTest.java | 345 pointerProperty.toolType = MotionEvent.TOOL_TYPE_FINGER; in manyPointerEvent()
|