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

/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp2066 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 DInput.cpp204 && toolType == other.toolType;
209 toolType = other.toolType;
452 properties.toolType = parcel->readInt32();
491 parcel->writeInt32(properties.toolType);
H A DInputTransport.cpp796 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 DMotionEvent.java3022 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 DInput.h244 int32_t toolType; member in struct:android::PointerProperties
248 toolType = 0;
393 return mPointerProperties[pointerIndex].toolType;
H A DInputTransport.h444 static bool shouldResampleTool(int32_t toolType);
/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp152 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
203 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i));
H A DInputEvent_test.cpp225 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER;
228 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS;
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp61 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 DInputReader.cpp2468 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 DInputReader.h780 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer
H A DInputDispatcher.cpp888 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 DPointerLocationView.java443 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 DInteractionController.java703 prop.toolType = MotionEvent.TOOL_TYPE_FINGER;

Completed in 2778 milliseconds