Searched defs:toolType (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp61 jfieldID toolType; member in struct:android::__anon1021
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/include/androidfw/
H A DInput.h224 int32_t toolType; member in struct:android::PointerProperties
228 toolType = 0;
378 return mPointerProperties[pointerIndex].toolType;
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp791 bool InputConsumer::shouldResampleTool(int32_t toolType) { argument
792 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER
793 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java2987 msg.append(", toolType[").append(i).append("]=").append(
3125 * @param toolType The tool type.
3129 public static String toolTypeToString(int toolType) { argument
3130 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType);
3131 return symbolicName != null ? symbolicName : Integer.toString(toolType);
3505 public int toolType; field in class:MotionEvent.PointerProperties
3512 toolType = TOOL_TYPE_UNKNOWN;
3522 toolType = other.toolType;
3534 return other != null && id == other.id && toolType
[all...]
/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/services/input/
H A DInputReader.h745 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer

Completed in 152 milliseconds