/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 1980 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2002 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2798 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2822 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2845 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2896 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2919 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2962 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2987 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 3010 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() [all …]
|
/frameworks/base/services/input/ |
D | InputReader.cpp | 2208 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; in sync() 2422 pointer.toolType, toString(pointer.isHovering)); in dump() 2445 pointerProperties.toolType, in dump() 3390 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS in sync() 3391 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in sync() 3393 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in sync() 3394 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in sync() 3396 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_MOUSE) { in sync() 3403 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS in sync() 3404 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in sync() [all …]
|
D | InputReader.h | 652 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member
|
D | InputDispatcher.cpp | 1000 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked() 2738 args->pointerProperties[i].toolType, in notifyMotion()
|
/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() 895 GET_FIELD_ID(gPointerPropertiesClassInfo.toolType, clazz, in register_android_view_MotionEvent()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 3029 public static String toolTypeToString(int toolType) { in toolTypeToString() argument 3030 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString() 3031 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString() 3405 public int toolType; field in MotionEvent.PointerProperties 3412 toolType = TOOL_TYPE_UNKNOWN; in clear() 3422 toolType = other.toolType; in copyFrom()
|
/frameworks/base/include/ui/ |
D | Input.h | 244 int32_t toolType; member 248 toolType = 0; in clear() 396 return mPointerProperties[pointerIndex].toolType; in getToolType()
|
/frameworks/base/libs/ui/ |
D | Input.cpp | 378 && toolType == other.toolType; in operator ==() 383 toolType = other.toolType; in copyFrom() 612 properties.toolType = parcel->readInt32(); in readFromParcel() 651 parcel->writeInt32(properties.toolType); in writeToParcel()
|
/frameworks/base/libs/ui/tests/ |
D | InputPublisherAndConsumer_test.cpp | 170 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent() 255 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 226 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in initializeEventWithHistory() 229 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in initializeEventWithHistory()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 388 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) { in logCoords() argument 458 .append(" ToolType=").append(MotionEvent.toolTypeToString(toolType)) in logCoords()
|
/frameworks/base/api/ |
D | current.txt | 22608 field public int toolType;
|
D | 14.txt | 22608 field public int toolType;
|