Home
last modified time | relevance | path

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

/frameworks/base/services/input/tests/
DInputReader_test.cpp2056 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/
DInput.cpp273 && 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()
DInputTransport.cpp795 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/
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()
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/
DInput.h220 int32_t toolType; member
224 toolType = 0; in clear()
374 return mPointerProperties[pointerIndex].toolType; in getToolType()
DInputTransport.h436 static bool shouldResampleTool(int32_t toolType);
/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()
906 GET_FIELD_ID(gPointerPropertiesClassInfo.toolType, clazz, in register_android_view_MotionEvent()
/frameworks/base/services/input/
DInputReader.cpp2442 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 …]
DInputReader.h747 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member
DInputDispatcher.cpp896 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked()
2443 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.java441 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/
DInteractionController.java703 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;
/frameworks/base/api/
Dcurrent.txt27286 field public int toolType;