/frameworks/base/services/input/tests/ |
D | InputDispatcher_test.cpp | 144 PointerProperties pointerProperties[MAX_POINTERS + 1]; in TEST_F() local 147 pointerProperties[i].clear(); in TEST_F() 148 pointerProperties[i].id = i; in TEST_F() 156 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 166 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 175 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 185 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 194 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 203 /*pointerCount*/ 0, pointerProperties, pointerCoords); in TEST_F() 211 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords); in TEST_F() [all …]
|
D | InputReader_test.cpp | 2055 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F() 2056 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2077 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F() 2078 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2873 ASSERT_EQ(0, motionArgs.pointerProperties[0].id); in TEST_F() 2874 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2897 ASSERT_EQ(0, motionArgs.pointerProperties[0].id); in TEST_F() 2898 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() 2920 ASSERT_EQ(0, motionArgs.pointerProperties[0].id); in TEST_F() 2921 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() [all …]
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 147 PointerProperties pointerProperties[pointerCount]; in PublishAndConsumeMotionEvent() local 150 pointerProperties[i].clear(); in PublishAndConsumeMotionEvent() 151 pointerProperties[i].id = (i + 2) % pointerCount; in PublishAndConsumeMotionEvent() 152 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent() 169 pointerProperties, pointerCoords); in PublishAndConsumeMotionEvent() 202 EXPECT_EQ(pointerProperties[i].id, motionEvent->getPointerId(i)); in PublishAndConsumeMotionEvent() 203 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent() 255 PointerProperties pointerProperties[pointerCount]; in TEST_F() local 259 pointerCount, pointerProperties, pointerCoords); in TEST_F() 267 PointerProperties pointerProperties[pointerCount]; in TEST_F() local [all …]
|
D | InputEvent_test.cpp | 222 PointerProperties pointerProperties[2]; in initializeEventWithHistory() local 223 pointerProperties[0].clear(); in initializeEventWithHistory() 224 pointerProperties[0].id = 1; in initializeEventWithHistory() 225 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in initializeEventWithHistory() 226 pointerProperties[1].clear(); in initializeEventWithHistory() 227 pointerProperties[1].id = 2; in initializeEventWithHistory() 228 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in initializeEventWithHistory() 256 2, pointerProperties, pointerCoords); in initializeEventWithHistory() 548 PointerProperties pointerProperties[pointerCount]; in TEST_F() local 552 pointerProperties[i].clear(); in TEST_F() [all …]
|
/frameworks/base/services/input/ |
D | InputListener.cpp | 73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, in NotifyMotionArgs() argument 80 this->pointerProperties[i].copyFrom(pointerProperties[i]); in NotifyMotionArgs() 94 pointerProperties[i].copyFrom(other.pointerProperties[i]); in NotifyMotionArgs()
|
D | InputListener.h | 93 PointerProperties pointerProperties[MAX_POINTERS]; member 104 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
D | InputDispatcher.cpp | 144 const PointerProperties* pointerProperties) { in validateMotionEvent() argument 156 int32_t id = pointerProperties[i].id; in validateMotionEvent() 895 i, entry->pointerProperties[i].id, in logOutboundMotionDetailsLocked() 896 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked() 1305 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() 1360 pointerIds.markBit(entry->pointerProperties[0].id); in findTouchedWindowTargetsLocked() 1548 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() 1999 motionEntry->pointerCount, motionEntry->pointerProperties, in startDispatchCycleLocked() 2252 const PointerProperties& pointerProperties = in splitMotionEvent() local 2253 originalMotionEntry->pointerProperties[originalPointerIndex]; in splitMotionEvent() [all …]
|
D | InputReader.cpp | 1475 pointerProperties[i].copyFrom(other.pointerProperties[i]); in copyFrom() 1478 int id = pointerProperties[i].id; in copyFrom() 2439 PointerProperties pointerProperties; in sync() local 2440 pointerProperties.clear(); in sync() 2441 pointerProperties.id = 0; in sync() 2442 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; in sync() 2513 displayId, 1, &pointerProperties, &pointerCoords, in sync() 2523 displayId, 1, &pointerProperties, &pointerCoords, in sync() 2536 displayId, 1, &pointerProperties, &pointerCoords, in sync() 2685 const PointerProperties& pointerProperties = mLastCookedPointerData.pointerProperties[i]; in dump() local [all …]
|
D | InputDispatcher.h | 519 PointerProperties pointerProperties[MAX_POINTERS]; member 528 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 763 PointerProperties pointerProperties[MAX_POINTERS]; member
|
D | InputReader.h | 787 PointerProperties pointerProperties[MAX_POINTERS]; member 801 return hoveringIdBits.hasBit(pointerProperties[pointerIndex].id); in isHovering()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 326 static void pointerPropertiesFromNative(JNIEnv* env, const PointerProperties* pointerProperties, in pointerPropertiesFromNative() argument 329 pointerProperties->id); in pointerPropertiesFromNative() 331 pointerProperties->toolType); in pointerPropertiesFromNative() 356 PointerProperties pointerProperties[pointerCount]; in android_view_MotionEvent_nativeInitialize() local 364 pointerPropertiesToNative(env, pointerPropertiesObj, &pointerProperties[i]); in android_view_MotionEvent_nativeInitialize() 378 downTimeNanos, eventTimeNanos, pointerCount, pointerProperties, rawPointerCoords); in android_view_MotionEvent_nativeInitialize() 668 const PointerProperties* pointerProperties = event->getPointerProperties(pointerIndex); in android_view_MotionEvent_nativeGetPointerProperties() local 669 pointerPropertiesFromNative(env, pointerProperties, outPointerPropertiesObj); in android_view_MotionEvent_nativeGetPointerProperties()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 296 const PointerProperties* pointerProperties, in publishMotionEvent() argument 338 msg.body.motion.pointers[i].properties.copyFrom(pointerProperties[i]); in publishMotionEvent() 898 PointerProperties pointerProperties[pointerCount]; in initializeMotionEvent() local 901 pointerProperties[i].copyFrom(msg->body.motion.pointers[i].properties); in initializeMotionEvent() 920 pointerProperties, in initializeMotionEvent()
|
D | Input.cpp | 299 const PointerProperties* pointerProperties, in initialize() argument 313 mPointerProperties.appendArray(pointerProperties, pointerCount); in initialize()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 238 const PointerProperties* pointerProperties,
|
D | Input.h | 515 const PointerProperties* pointerProperties,
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1431 int action, int pointerCount, PointerProperties[] pointerProperties, in obtain() argument 1440 pointerCount, pointerProperties, pointerCoords); in obtain()
|