/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 2046 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); 2068 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); 2864 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2888 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2911 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2962 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2985 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3028 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3053 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3076 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3785 processToolType( MultiTouchInputMapper* mapper, int32_t toolType) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | Input.cpp | 271 && toolType == other.toolType; 276 toolType = other.toolType; 505 properties.toolType = parcel->readInt32(); 544 parcel->writeInt32(properties.toolType);
|
H A D | InputTransport.cpp | 786 bool InputConsumer::shouldResampleTool(int32_t toolType) { argument 787 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER 788 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 2989 msg.append(", toolType[").append(i).append("]=").append( 3127 * @param toolType The tool type. 3131 public static String toolTypeToString(int toolType) { argument 3132 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); 3133 return symbolicName != null ? symbolicName : Integer.toString(toolType); 3507 public int toolType; field in class:MotionEvent.PointerProperties 3514 toolType = TOOL_TYPE_UNKNOWN; 3524 toolType = other.toolType; 3536 return other != null && id == other.id && toolType [all...] |
/frameworks/base/include/androidfw/ |
H A D | Input.h | 221 int32_t toolType; member in struct:android::PointerProperties 225 toolType = 0; 375 return mPointerProperties[pointerIndex].toolType;
|
H A D | InputTransport.h | 433 static bool shouldResampleTool(int32_t toolType);
|
/frameworks/base/libs/androidfw/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 151 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; 202 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i));
|
H A D | InputEvent_test.cpp | 226 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; 229 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::__anon994 323 outPointerProperties->toolType = env->GetIntField(pointerPropertiesObj, 324 gPointerPropertiesClassInfo.toolType); 331 env->SetIntField(outPointerPropertiesObj, gPointerPropertiesClassInfo.toolType, 332 pointerProperties->toolType); 896 GET_FIELD_ID(gPointerPropertiesClassInfo.toolType, clazz, 897 "toolType", "I");
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 2440 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; 2657 "toolType=%d, isHovering=%s\n", i, 2662 pointer.toolType, toString(pointer.isHovering)); 2673 "toolType=%d, isHovering=%s\n", i, 2685 pointerProperties.toolType, 3698 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS 3699 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) { 3701 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER 3702 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) { 3704 } else if (pointer.toolType [all...] |
H A D | InputReader.h | 745 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer
|
H A D | InputDispatcher.cpp | 877 ALOGD(" Pointer %d: id=%d, toolType=%d, " 882 entry->pointerProperties[i].toolType, 2437 ALOGD(" Pointer %d: id=%d, toolType=%d, " 2442 args->pointerProperties[i].toolType,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 416 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) { 486 .append(" ToolType=").append(MotionEvent.toolTypeToString(toolType)) 415 logCoords(String type, int action, int index, MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) argument
|