/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 143 PointerProperties pointerProperties[MAX_POINTERS + 1]; in TEST_F() local 146 pointerProperties[i].clear(); in TEST_F() 147 pointerProperties[i].id = i; in TEST_F() 155 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 166 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 176 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 187 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 197 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 207 /*pointerCount*/ 0, pointerProperties, pointerCoords); in TEST_F() 216 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords); in TEST_F() [all …]
|
D | InputReader_test.cpp | 2109 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F() 2110 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2128 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F() 2129 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2150 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F() 2151 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 2169 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F() 2170 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F() 3231 ASSERT_EQ(0, motionArgs.pointerProperties[0].id); in TEST_F() 3232 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F() [all …]
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 148 PointerProperties pointerProperties[pointerCount]; in PublishAndConsumeMotionEvent() local 151 pointerProperties[i].clear(); in PublishAndConsumeMotionEvent() 152 pointerProperties[i].id = (i + 2) % pointerCount; in PublishAndConsumeMotionEvent() 153 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent() 170 pointerProperties, pointerCoords); in PublishAndConsumeMotionEvent() 203 EXPECT_EQ(pointerProperties[i].id, motionEvent->getPointerId(i)); in PublishAndConsumeMotionEvent() 204 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent() 256 PointerProperties pointerProperties[pointerCount]; in TEST_F() local 260 pointerCount, pointerProperties, pointerCoords); in TEST_F() 268 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/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 67 MotionEvent.PointerProperties[] pointerProperties = in sendPinchZoomAction() local 87 eventTime, MotionEvent.ACTION_DOWN, 1, pointerProperties, pointerCoords, in sendPinchZoomAction() 94 2, pointerProperties, pointerCoords, 0, 0, 1, 1, 0, 0, 0, 0); in sendPinchZoomAction() 132 MotionEvent.ACTION_MOVE, 2, pointerProperties, pointerCoords, in sendPinchZoomAction() 152 MotionEvent.ACTION_POINTER_UP, 2, pointerProperties, pointerCoords, in sendPinchZoomAction() 167 MotionEvent.ACTION_POINTER_UP, 1, pointerProperties, pointerCoords, in sendPinchZoomAction()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, in NotifyMotionArgs() argument 81 this->pointerProperties[i].copyFrom(pointerProperties[i]); in NotifyMotionArgs() 94 pointerProperties[i].copyFrom(other.pointerProperties[i]); in NotifyMotionArgs()
|
D | InputListener.h | 94 PointerProperties pointerProperties[MAX_POINTERS]; member 106 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
D | InputDispatcher.cpp | 148 const PointerProperties* pointerProperties) { in validateMotionEvent() argument 160 int32_t id = pointerProperties[i].id; in validateMotionEvent() 906 i, entry->pointerProperties[i].id, in logOutboundMotionDetailsLocked() 907 entry->pointerProperties[i].toolType, in logOutboundMotionDetailsLocked() 1284 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() 1339 pointerIds.markBit(entry->pointerProperties[0].id); in findTouchedWindowTargetsLocked() 1519 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked() 2035 motionEntry->pointerCount, motionEntry->pointerProperties, in startDispatchCycleLocked() 2295 const PointerProperties& pointerProperties = in splitMotionEvent() local 2296 originalMotionEntry->pointerProperties[originalPointerIndex]; in splitMotionEvent() [all …]
|
D | InputReader.cpp | 1654 pointerProperties[i].copyFrom(other.pointerProperties[i]); in copyFrom() 1657 int id = pointerProperties[i].id; in copyFrom() 2700 PointerProperties pointerProperties; in sync() local 2701 pointerProperties.clear(); in sync() 2702 pointerProperties.id = 0; in sync() 2703 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; in sync() 2783 displayId, 1, &pointerProperties, &pointerCoords, in sync() 2792 displayId, 1, &pointerProperties, &pointerCoords, in sync() 2804 displayId, 1, &pointerProperties, &pointerCoords, in sync() 2818 displayId, 1, &pointerProperties, &pointerCoords, in sync() [all …]
|
D | InputDispatcher.h | 523 PointerProperties pointerProperties[MAX_POINTERS]; member 532 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, 775 PointerProperties pointerProperties[MAX_POINTERS]; member
|
D | InputReader.h | 819 PointerProperties pointerProperties[MAX_POINTERS]; member 837 return pointerProperties[idToIndex[id]]; in editPointerPropertiesWithId() 841 return hoveringIdBits.hasBit(pointerProperties[pointerIndex].id); in isHovering() 845 return touchingIdBits.hasBit(pointerProperties[pointerIndex].id); in isTouching()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 323 static void pointerPropertiesFromNative(JNIEnv* env, const PointerProperties* pointerProperties, in pointerPropertiesFromNative() argument 326 pointerProperties->id); in pointerPropertiesFromNative() 328 pointerProperties->toolType); in pointerPropertiesFromNative() 353 PointerProperties pointerProperties[pointerCount]; in android_view_MotionEvent_nativeInitialize() local 361 pointerPropertiesToNative(env, pointerPropertiesObj, &pointerProperties[i]); in android_view_MotionEvent_nativeInitialize() 375 downTimeNanos, eventTimeNanos, pointerCount, pointerProperties, rawPointerCoords); in android_view_MotionEvent_nativeInitialize() 450 const PointerProperties* pointerProperties = event->getPointerProperties(pointerIndex); in android_view_MotionEvent_nativeGetPointerProperties() local 451 pointerPropertiesFromNative(env, pointerProperties, outPointerPropertiesObj); in android_view_MotionEvent_nativeGetPointerProperties()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewOnGenericMotionEventTest.java | 120 MotionEvent.PointerProperties[] pointerProperties = { new MotionEvent.PointerProperties() }; in obtainScrollMotionEvent() local 130 1, pointerProperties, pointerCoords, 0, 0, xPrecision, yPrecision, deviceId, in obtainScrollMotionEvent()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 301 const PointerProperties* pointerProperties, in publishMotionEvent() argument 344 msg.body.motion.pointers[i].properties.copyFrom(pointerProperties[i]); in publishMotionEvent() 915 PointerProperties pointerProperties[pointerCount]; in initializeMotionEvent() local 918 pointerProperties[i].copyFrom(msg->body.motion.pointers[i].properties); in initializeMotionEvent() 938 pointerProperties, in initializeMotionEvent()
|
D | Input.cpp | 231 const PointerProperties* pointerProperties, in initialize() argument 246 mPointerProperties.appendArray(pointerProperties, pointerCount); in initialize()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 248 const PointerProperties* pointerProperties,
|
D | Input.h | 572 const PointerProperties* pointerProperties,
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1625 int action, int pointerCount, PointerProperties[] pointerProperties, in obtain() argument 1634 pointerCount, pointerProperties, pointerCoords); in obtain()
|