Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2514 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
2533 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
2555 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
2574 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
3665 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F()
3689 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F()
3712 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F()
3763 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F()
3786 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F()
3832 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F()
[all …]
DInputClassifierConverter_test.cpp33 properties.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateBasicMotionArgs()
DInputClassifier_test.cpp34 properties.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateBasicMotionArgs()
DInputDispatcher_test.cpp532 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in injectMotionDown()
570 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateMotionArgs()
/frameworks/native/libs/input/
DInput.cpp227 && toolType == other.toolType; in operator ==()
232 toolType = other.toolType; in copyFrom()
486 properties.toolType = parcel->readInt32(); in readFromParcel()
529 parcel->writeInt32(properties.toolType); in writeToParcel()
DInputTransport.cpp200 msg->body.motion.pointers[i].properties.toolType = in getSanitizedCopy()
201 body.motion.pointers[i].properties.toolType, in getSanitizedCopy()
1023 bool InputConsumer::shouldResampleTool(int32_t toolType) { in shouldResampleTool() argument
1024 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in shouldResampleTool()
1025 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN; in shouldResampleTool()
/frameworks/base/core/java/android/view/
DMotionEvent.java3638 public static String toolTypeToString(int toolType) { in toolTypeToString() argument
3639 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); in toolTypeToString()
3640 return symbolicName != null ? symbolicName : Integer.toString(toolType); in toolTypeToString()
4044 public int toolType; field in MotionEvent.PointerProperties
4051 toolType = TOOL_TYPE_UNKNOWN; in clear()
4061 toolType = other.toolType; in copyFrom()
4073 return other != null && id == other.id && toolType == other.toolType; in equals()
4078 return id | (toolType << 8); in hashCode()
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java62 pp1.toolType = MotionEvent.TOOL_TYPE_FINGER; in sendPinchZoomAction()
65 pp2.toolType = MotionEvent.TOOL_TYPE_FINGER; in sendPinchZoomAction()
DMotionEventTest.java50 p.toolType = TOOL_TYPE_FINGER; in testObtainWithDisplayId()
/frameworks/native/include/input/
DInput.h313 int32_t toolType; member
317 toolType = 0; in clear()
477 return mPointerProperties[pointerIndex].toolType; in getToolType()
DInputTransport.h515 static bool shouldResampleTool(int32_t toolType);
/frameworks/native/services/inputflinger/
DInputReader.cpp2013 dump += StringPrintf(INDENT4 "Tool Type: %" PRId32 "\n", state.toolType); in dumpStylusState()
2770 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; in sync()
3021 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_UNKNOWN; in sync()
3171 pointer.toolType, toString(pointer.isHovering)); in dump()
3196 pointerProperties.toolType, in dump()
4477 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS in cookAndDispatch()
4478 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { in cookAndDispatch()
4480 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER in cookAndDispatch()
4481 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { in cookAndDispatch()
4483 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_MOUSE) { in cookAndDispatch()
[all …]
DInputReader.h55 int32_t toolType; member
61 toolType = other.toolType; in copyFrom()
68 toolType = AMOTION_EVENT_TOOL_TYPE_UNKNOWN; in clear()
502 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member
DInputDispatcher.cpp1034 entry->pointerProperties[i].toolType, in logOutboundMotionDetails()
2768 args->pointerProperties[i].toolType, in notifyMotion()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp63 jfieldID toolType; member
319 outPointerProperties->toolType = env->GetIntField(pointerPropertiesObj, in pointerPropertiesToNative()
320 gPointerPropertiesClassInfo.toolType); in pointerPropertiesToNative()
327 env->SetIntField(outPointerPropertiesObj, gPointerPropertiesClassInfo.toolType, in pointerPropertiesFromNative()
328 pointerProperties->toolType); in pointerPropertiesFromNative()
928 gPointerPropertiesClassInfo.toolType = GetFieldIDOrDie(env, clazz, "toolType", "I"); in register_android_view_MotionEvent()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp157 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent()
210 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp231 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in initializeEventWithHistory()
234 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in initializeEventWithHistory()
DVelocityTracker_test.cpp173 properties[pointerIndex].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in createMotionEventStream()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java623 defPointerProperties.toolType = MotionEvent.TOOL_TYPE_FINGER;
626 pointerProperties.toolType = MotionEvent.TOOL_TYPE_FINGER;
DTouchExplorerTest.java308 pointerProperty.toolType = MotionEvent.TOOL_TYPE_FINGER; in manyPointerEvent()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java461 final int toolType = event.getToolType(index); in logCoords() local
538 .append(" ToolType=").append(MotionEvent.toolTypeToString(toolType)) in logCoords()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java466 sPointerProps[i].toolType = MotionEvent.TOOL_TYPE_UNKNOWN; in obtainMotionEvent()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java701 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...