Searched defs:toolType (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | Events.java | 47 public static boolean isMouseType(int toolType) { argument 48 return toolType == MotionEvent.TOOL_TYPE_MOUSE; 54 public static boolean isTouchType(int toolType) { argument 55 return toolType == MotionEvent.TOOL_TYPE_FINGER 56 || toolType == MotionEvent.TOOL_TYPE_STYLUS;
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 63 jfieldID toolType; member in struct:android::__anon942 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 D | InputTransport.cpp | 808 bool InputConsumer::shouldResampleTool(int32_t toolType) { argument 809 return toolType == AMOTION_EVENT_TOOL_TYPE_FINGER 810 || toolType == AMOTION_EVENT_TOOL_TYPE_UNKNOWN;
|
/frameworks/native/include/input/ |
H A D | Input.h | 275 int32_t toolType; member in struct:android::PointerProperties 279 toolType = 0; 430 return mPointerProperties[pointerIndex].toolType;
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 3165 msg.append(", toolType[").append(i).append("]=").append( 3303 * @param toolType The tool type. 3307 public static String toolTypeToString(int toolType) { argument 3308 String symbolicName = TOOL_TYPE_SYMBOLIC_NAMES.get(toolType); 3309 return symbolicName != null ? symbolicName : Integer.toString(toolType); 3709 public int toolType; field in class:MotionEvent.PointerProperties 3716 toolType = TOOL_TYPE_UNKNOWN; 3726 toolType = other.toolType; 3738 return other != null && id == other.id && toolType [all...] |
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 2074 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); 2096 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); 2912 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2936 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 2959 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3010 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3033 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3076 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3101 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3124 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); 3857 processToolType( MultiTouchInputMapper* mapper, int32_t toolType) argument [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.h | 388 int32_t toolType; member in struct:android::StylusState 394 toolType = other.toolType; 401 toolType = AMOTION_EVENT_TOOL_TYPE_UNKNOWN; 829 int32_t toolType; // a fully decoded AMOTION_EVENT_TOOL_TYPE constant member in struct:android::RawPointerData::Pointer
|
Completed in 468 milliseconds