/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 2066 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); 2088 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); 2904 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2928 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2951 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3002 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3025 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3068 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3093 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3116 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3849 processToolType( MultiTouchInputMapper* mapper, int32_t toolType) argument [all...] |
/frameworks/native/libs/input/ |
H A D | Input.cpp | 204 && toolType == other.toolType; 209 toolType = other.toolType; 452 properties.toolType = parcel->readInt32(); 491 parcel->writeInt32(properties.toolType);
|
H A D | InputTransport.cpp | 796 bool InputConsumer::shouldResampleTool(int32_t toolType) { argument 797 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER 798 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 3022 msg.append(", toolType[").append(i).append("]=").append( 3156 * @param toolType The tool type. 3160 public static String toolTypeToString(int toolType) { argument 3161 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); 3162 return symbolicName != null ? symbolicName : Integer.toString(toolType); 3560 public int toolType; field in class:MotionEvent.PointerProperties 3567 toolType = TOOL_TYPE_UNKNOWN; 3577 toolType = other.toolType; 3589 return other != null && id == other.id && toolType [all...] |
/frameworks/native/include/input/ |
H A D | Input.h | 244 int32_t toolType; member in struct:android::PointerProperties 248 toolType = 0; 393 return mPointerProperties[pointerIndex].toolType;
|
H A D | InputTransport.h | 444 static bool shouldResampleTool(int32_t toolType);
|
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 152 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; 203 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i));
|
H A D | InputEvent_test.cpp | 225 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; 228 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS;
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 61 jfieldID toolType; member in struct:android::__anon866 318 outPointerProperties->toolType = env->GetIntField(pointerPropertiesObj, 319 gPointerPropertiesClassInfo.toolType); 326 env->SetIntField(outPointerPropertiesObj, gPointerPropertiesClassInfo.toolType, 327 pointerProperties->toolType); 917 GET_FIELD_ID(gPointerPropertiesClassInfo.toolType, clazz, 918 "toolType", "I");
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 2468 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; 2701 "toolType=%d, isHovering=%s\n", i, 2706 pointer.toolType, toString(pointer.isHovering)); 2717 "toolType=%d, isHovering=%s\n", i, 2729 pointerProperties.toolType, 3819 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS 3820 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { 3822 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER 3823 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { 3825 } else if (pointer.toolType [all...] |
H A D | InputReader.h | 780 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer
|
H A D | InputDispatcher.cpp | 888 ALOGD(" Pointer %d: id=%d, toolType=%d, " 893 entry->pointerProperties[i].toolType, 2441 ALOGD(" Pointer %d: id=%d, toolType=%d, " 2446 args->pointerProperties[i].toolType,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 443 final int toolType = event.getToolType(index); 520 .append(" ToolType=").append(MotionEvent.toolTypeToString(toolType))
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 703 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;
|