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

/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp63 jfieldID toolType; member in struct:android::__anon909
319 outPointerProperties->toolType = env->GetIntField(pointerPropertiesObj,
320 gPointerPropertiesClassInfo.toolType);
327 env->SetIntField(outPointerPropertiesObj, gPointerPropertiesClassInfo.toolType,
328 pointerProperties->toolType);
916 gPointerPropertiesClassInfo.toolType = GetFieldIDOrDie(env, clazz, "toolType", "I");
/frameworks/native/libs/input/
H A DInputTransport.cpp798 bool InputConsumer::shouldResampleTool(int32_t toolType) { argument
799 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER
800 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
/frameworks/native/include/input/
H A DInput.h256 int32_t toolType; member in struct:android::PointerProperties
260 toolType = 0;
411 return mPointerProperties[pointerIndex].toolType;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java3100 msg.append(", toolType[").append(i).append("]=").append(
3238 * @param toolType The tool type.
3242 public static String toolTypeToString(int toolType) { argument
3243 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType);
3244 return symbolicName != null ? symbolicName : Integer.toString(toolType);
3644 public int toolType; field in class:MotionEvent.PointerProperties
3651 toolType = TOOL_TYPE_UNKNOWN;
3661 toolType = other.toolType;
3673 return other != null && id == other.id && toolType
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp2070 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType);
2092 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType);
2908 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2932 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
2955 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3006 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3029 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3072 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3097 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3120 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType);
3853 processToolType( MultiTouchInputMapper* mapper, int32_t toolType) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputReader.h385 int32_t toolType; member in struct:android::StylusState
391 toolType = other.toolType;
398 toolType = AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
823 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer

Completed in 552 milliseconds