/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 2514 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 …]
|
D | InputClassifierConverter_test.cpp | 33 properties.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateBasicMotionArgs()
|
D | InputClassifier_test.cpp | 34 properties.toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in generateBasicMotionArgs()
|
D | InputDispatcher_test.cpp | 532 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/ |
D | Input.cpp | 227 && 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()
|
D | InputTransport.cpp | 200 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/ |
D | MotionEvent.java | 3638 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/ |
D | PinchZoomAction.java | 62 pp1.toolType = MotionEvent.TOOL_TYPE_FINGER; in sendPinchZoomAction() 65 pp2.toolType = MotionEvent.TOOL_TYPE_FINGER; in sendPinchZoomAction()
|
D | MotionEventTest.java | 50 p.toolType = TOOL_TYPE_FINGER; in testObtainWithDisplayId()
|
/frameworks/native/include/input/ |
D | Input.h | 313 int32_t toolType; member 317 toolType = 0; in clear() 477 return mPointerProperties[pointerIndex].toolType; in getToolType()
|
D | InputTransport.h | 515 static bool shouldResampleTool(int32_t toolType);
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2013 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 …]
|
D | InputReader.h | 55 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
|
D | InputDispatcher.cpp | 1034 entry->pointerProperties[i].toolType, in logOutboundMotionDetails() 2768 args->pointerProperties[i].toolType, in notifyMotion()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 63 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/ |
D | InputPublisherAndConsumer_test.cpp | 157 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent() 210 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 231 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in initializeEventWithHistory() 234 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in initializeEventWithHistory()
|
D | VelocityTracker_test.cpp | 173 properties[pointerIndex].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in createMotionEventStream()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationGestureHandlerTest.java | 623 defPointerProperties.toolType = MotionEvent.TOOL_TYPE_FINGER; 626 pointerProperties.toolType = MotionEvent.TOOL_TYPE_FINGER;
|
D | TouchExplorerTest.java | 308 pointerProperty.toolType = MotionEvent.TOOL_TYPE_FINGER; in manyPointerEvent()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 461 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/ |
D | MotionEventInjector.java | 466 sPointerProps[i].toolType = MotionEvent.TOOL_TYPE_UNKNOWN; in obtainMotionEvent()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 701 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |