Searched refs:toolType (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1984 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType);
2006 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType);
2802 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2826 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2849 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2900 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2923 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2966 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2991 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3014 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3723 processToolType( MultiTouchInputMapper* mapper, int32_t toolType) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp60 jfieldID toolType; member in struct:android::__anon50
322 outPointerProperties->toolType = env->GetIntField(pointerPropertiesObj,
323 gPointerPropertiesClassInfo.toolType);
330 env->SetIntField(outPointerPropertiesObj, gPointerPropertiesClassInfo.toolType,
331 pointerProperties->toolType);
895 GET_FIELD_ID(gPointerPropertiesClassInfo.toolType, clazz,
896 "toolType", "I");
/frameworks/base/core/java/android/view/
H A DMotionEvent.java2887 msg.append(", toolType[").append(i).append("]=").append(
3025 * @param toolType The tool type.
3029 public static String toolTypeToString(int toolType) { argument
3030 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType);
3031 return symbolicName != null ? symbolicName : Integer.toString(toolType);
3405 public int toolType; field in class:MotionEvent.PointerProperties
3412 toolType = TOOL_TYPE_UNKNOWN;
3422 toolType = other.toolType;
/frameworks/base/services/input/
H A DInputReader.cpp2209 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE;
2418 "toolType=%d, isHovering=%s\n", i,
2423 pointer.toolType, toString(pointer.isHovering));
2434 "toolType=%d, isHovering=%s\n", i,
2446 pointerProperties.toolType,
3391 if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_STYLUS
3392 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_ERASER) {
3394 } else if (pointer.toolType == AMOTION_EVENT_TOOL_TYPE_FINGER
3395 || pointer.toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN) {
3397 } else if (pointer.toolType
[all...]
H A DInputReader.h652 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer
H A DInputDispatcher.cpp995 LOGD(" Pointer %d: id=%d, toolType=%d, "
1000 entry->pointerProperties[i].toolType,
2751 LOGD(" Pointer %d: id=%d, toolType=%d, "
2756 args->pointerProperties[i].toolType,
/frameworks/base/include/ui/
H A DInput.h244 int32_t toolType; member in struct:android::PointerProperties
248 toolType = 0;
396 return mPointerProperties[pointerIndex].toolType;
/frameworks/base/libs/ui/
H A DInput.cpp378 && toolType == other.toolType;
383 toolType = other.toolType;
612 properties.toolType = parcel->readInt32();
651 parcel->writeInt32(properties.toolType);
/frameworks/base/libs/ui/tests/
H A DInputEvent_test.cpp226 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
229 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS;
H A DInputPublisherAndConsumer_test.cpp170 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
255 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i));
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java388 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) {
458 .append(" ToolType=").append(MotionEvent.toolTypeToString(toolType))
387 logCoords(String type, int action, int index, MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) argument

Completed in 234 milliseconds