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

/frameworks/base/services/input/tests/
H A DInputReader_test.cpp2046 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 DInput.cpp271 && toolType == other.toolType;
276 toolType = other.toolType;
505 properties.toolType = parcel->readInt32();
544 parcel->writeInt32(properties.toolType);
H A DInputTransport.cpp786 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 DMotionEvent.java2989 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 DInput.h221 int32_t toolType; member in struct:android::PointerProperties
225 toolType = 0;
375 return mPointerProperties[pointerIndex].toolType;
H A DInputTransport.h433 static bool shouldResampleTool(int32_t toolType);
/frameworks/base/libs/androidfw/tests/
H A DInputPublisherAndConsumer_test.cpp151 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
202 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i));
H A DInputEvent_test.cpp226 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
229 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS;
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp61 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 DInputReader.cpp2440 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 DInputReader.h745 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer
H A DInputDispatcher.cpp877 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 DPointerLocationView.java416 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

Completed in 193 milliseconds