/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 2066 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2088 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2904 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2928 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2951 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3002 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3025 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3068 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3093 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3116 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() [all …]
|
/frameworks/native/libs/input/ |
D | Input.cpp | 204 && toolType == other.toolType; in operator ==() 209 toolType = other.toolType; in copyFrom() 452 properties.toolType = parcel->readInt32(); in readFromParcel() 491 parcel->writeInt32(properties.toolType); in writeToParcel()
|
D | InputTransport.cpp | 796 bool InputConsumer::shouldResampleTool(int32_t toolType) { in shouldResampleTool() argument 797 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in shouldResampleTool() 798 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN; in shouldResampleTool()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 3129 public static String toolTypeToString(int toolType) { in toolTypeToString() argument 3130 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString() 3131 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString() 3523 public int toolType; field in MotionEvent.PointerProperties 3530 toolType = TOOL_TYPE_UNKNOWN; in clear() 3540 toolType = other.toolType; in copyFrom() 3552 return other != null && id == other.id && toolType == other.toolType; in equals() 3557 return id | (toolType << 8); in hashCode()
|
/frameworks/native/include/input/ |
D | Input.h | 244 int32_t toolType; member 248 toolType = 0; in clear() 393 return mPointerProperties[pointerIndex].toolType; in getToolType()
|
D | InputTransport.h | 444 static bool shouldResampleTool(int32_t toolType);
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 61 jfieldID toolType; member 318 outPointerProperties->toolType = env->GetIntField(pointerPropertiesObj, in pointerPropertiesToNative() 319 gPointerPropertiesClassInfo.toolType); in pointerPropertiesToNative() 326 env->SetIntField(outPointerPropertiesObj, gPointerPropertiesClassInfo.toolType, in pointerPropertiesFromNative() 327 pointerProperties->toolType); in pointerPropertiesFromNative() 917 GET_FIELD_ID(gPointerPropertiesClassInfo.toolType, clazz, in register_android_view_MotionEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2468 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; in sync() 2706 pointer.toolType, toString(pointer.isHovering)); in dump() 2729 pointerProperties.toolType, in dump() 3819 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS in sync() 3820 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in sync() 3822 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in sync() 3823 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in sync() 3825 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_MOUSE) { in sync() 3832 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS in sync() 3833 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in sync() [all …]
|
D | InputReader.h | 780 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member
|
D | InputDispatcher.cpp | 899 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked() 2471 args->pointerProperties[i].toolType, in notifyMotion()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 152 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent() 203 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 225 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in initializeEventWithHistory() 228 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in initializeEventWithHistory()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 443 final int toolType = event.getToolType(index); in logCoords() local 520 .append(" ToolType=").append(MotionEvent.toolTypeToString(toolType)) in logCoords()
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 703 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;
|
/frameworks/base/api/ |
D | current.txt | 32907 field public int toolType;
|