/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 2056 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2078 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2874 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2898 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2921 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2972 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2995 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3038 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3063 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3086 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() [all …]
|
/frameworks/native/libs/input/ |
D | Input.cpp | 273 && toolType == other.toolType; in operator ==() 278 toolType = other.toolType; in copyFrom() 521 properties.toolType = parcel->readInt32(); in readFromParcel() 560 parcel->writeInt32(properties.toolType); in writeToParcel()
|
D | InputTransport.cpp | 795 bool InputConsumer::shouldResampleTool(int32_t toolType) { in shouldResampleTool() argument 796 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in shouldResampleTool() 797 || 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() 3505 public int toolType; field in MotionEvent.PointerProperties 3512 toolType = TOOL_TYPE_UNKNOWN; in clear() 3522 toolType = other.toolType; in copyFrom() 3534 return other != null && id == other.id && toolType == other.toolType; in equals() 3539 return id | (toolType << 8); in hashCode()
|
/frameworks/native/include/input/ |
D | Input.h | 220 int32_t toolType; member 224 toolType = 0; in clear() 374 return mPointerProperties[pointerIndex].toolType; in getToolType()
|
D | InputTransport.h | 436 static bool shouldResampleTool(int32_t toolType);
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 60 jfieldID toolType; member 322 outPointerProperties->toolType = env->GetIntField(pointerPropertiesObj, in pointerPropertiesToNative() 323 gPointerPropertiesClassInfo.toolType); in pointerPropertiesToNative() 330 env->SetIntField(outPointerPropertiesObj, gPointerPropertiesClassInfo.toolType, in pointerPropertiesFromNative() 331 pointerProperties->toolType); in pointerPropertiesFromNative() 906 GET_FIELD_ID(gPointerPropertiesClassInfo.toolType, clazz, in register_android_view_MotionEvent()
|
/frameworks/base/services/input/ |
D | InputReader.cpp | 2442 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; in sync() 2679 pointer.toolType, toString(pointer.isHovering)); in dump() 2702 pointerProperties.toolType, in dump() 3765 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS in sync() 3766 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in sync() 3768 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in sync() 3769 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in sync() 3771 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_MOUSE) { in sync() 3778 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS in sync() 3779 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in sync() [all …]
|
D | InputReader.h | 747 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member
|
D | InputDispatcher.cpp | 896 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked() 2443 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 | 441 final int toolType = event.getToolType(index); in logCoords() local 518 .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 | 27286 field public int toolType;
|