Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2066 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/
DInput.cpp204 && 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()
DInputTransport.cpp796 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/
DMotionEvent.java3129 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/
DInput.h244 int32_t toolType; member
248 toolType = 0; in clear()
393 return mPointerProperties[pointerIndex].toolType; in getToolType()
DInputTransport.h444 static bool shouldResampleTool(int32_t toolType);
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp61 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/
DInputReader.cpp2468 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 …]
DInputReader.h780 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member
DInputDispatcher.cpp899 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked()
2471 args->pointerProperties[i].toolType, in notifyMotion()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp152 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent()
203 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp225 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/
DPointerLocationView.java443 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/
DInteractionController.java703 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;
/frameworks/base/api/
Dcurrent.txt32907 field public int toolType;