Home
last modified time | relevance | path

Searched refs:toolType (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/input/tests/
DInputReader_test.cpp1980 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/
DInputReader.cpp2208 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 …]
DInputReader.h652 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member
DInputDispatcher.cpp1000 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked()
2738 args->pointerProperties[i].toolType, in notifyMotion()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp60 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/
DMotionEvent.java3029 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/
DInput.h244 int32_t toolType; member
248 toolType = 0; in clear()
396 return mPointerProperties[pointerIndex].toolType; in getToolType()
/frameworks/base/libs/ui/
DInput.cpp378 && 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/
DInputPublisherAndConsumer_test.cpp170 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent()
255 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp226 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/
DPointerLocationView.java388 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) { in logCoords() argument
458 .append(" ToolType=").append(MotionEvent.toolTypeToString(toolType)) in logCoords()
/frameworks/base/api/
Dcurrent.txt22608 field public int toolType;
D14.txt22608 field public int toolType;