Home
last modified time | relevance | path

Searched refs:pointerProperties (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp152 PointerProperties pointerProperties[pointerCount]; in PublishAndConsumeMotionEvent() local
155 pointerProperties[i].clear(); in PublishAndConsumeMotionEvent()
156 pointerProperties[i].id = (i + 2) % pointerCount; in PublishAndConsumeMotionEvent()
157 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in PublishAndConsumeMotionEvent()
174 pointerProperties, pointerCoords); in PublishAndConsumeMotionEvent()
209 EXPECT_EQ(pointerProperties[i].id, motionEvent->getPointerId(i)); in PublishAndConsumeMotionEvent()
210 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); in PublishAndConsumeMotionEvent()
262 PointerProperties pointerProperties[pointerCount]; in TEST_F() local
265 pointerProperties[i].clear(); in TEST_F()
271 pointerCount, pointerProperties, pointerCoords); in TEST_F()
[all …]
DInputEvent_test.cpp228 PointerProperties pointerProperties[2]; in initializeEventWithHistory() local
229 pointerProperties[0].clear(); in initializeEventWithHistory()
230 pointerProperties[0].id = 1; in initializeEventWithHistory()
231 pointerProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in initializeEventWithHistory()
232 pointerProperties[1].clear(); in initializeEventWithHistory()
233 pointerProperties[1].id = 2; in initializeEventWithHistory()
234 pointerProperties[1].toolType = AMOTION_EVENT_TOOL_TYPE_STYLUS; in initializeEventWithHistory()
262 2, pointerProperties, pointerCoords); in initializeEventWithHistory()
561 PointerProperties pointerProperties[pointerCount]; in TEST_F() local
565 pointerProperties[i].clear(); in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DPointerCountClassifierTest.java64 MotionEvent.PointerProperties[] pointerProperties = in testFail_multiPointer() local
66 pointerProperties[0].id = 0; in testFail_multiPointer()
67 pointerProperties[1].id = 1; in testFail_multiPointer()
70 1, 1, MotionEvent.ACTION_DOWN, 2, pointerProperties, pointerCoords, 0, 0, 0, 0, 0, in testFail_multiPointer()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp236 PointerProperties pointerProperties[MAX_POINTERS + 1]; in TEST_F() local
239 pointerProperties[i].clear(); in TEST_F()
240 pointerProperties[i].id = i; in TEST_F()
253 ARBITRARY_TIME, ARBITRARY_TIME, /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F()
263 ARBITRARY_TIME, ARBITRARY_TIME, /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F()
272 ARBITRARY_TIME, ARBITRARY_TIME, /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F()
282 ARBITRARY_TIME, ARBITRARY_TIME, /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F()
291 ARBITRARY_TIME, ARBITRARY_TIME, /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F()
300 ARBITRARY_TIME, ARBITRARY_TIME, /*pointerCount*/ 0, pointerProperties, pointerCoords); in TEST_F()
309 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords); in TEST_F()
[all …]
DInputReader_test.cpp2513 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F()
2514 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
2532 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F()
2533 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
2554 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F()
2555 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
2573 ASSERT_EQ(0, args.pointerProperties[0].id); in TEST_F()
2574 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_MOUSE, args.pointerProperties[0].toolType); in TEST_F()
3664 ASSERT_EQ(0, motionArgs.pointerProperties[0].id); in TEST_F()
3665 ASSERT_EQ(AMOTION_EVENT_TOOL_TYPE_FINGER, motionArgs.pointerProperties[0].toolType); in TEST_F()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java66 MotionEvent.PointerProperties[] pointerProperties = in sendPinchZoomAction() local
86 eventTime, MotionEvent.ACTION_DOWN, 1, pointerProperties, pointerCoords, in sendPinchZoomAction()
93 2, pointerProperties, pointerCoords, 0, 0, 1, 1, 0, 0, 0, 0); in sendPinchZoomAction()
131 MotionEvent.ACTION_MOVE, 2, pointerProperties, pointerCoords, in sendPinchZoomAction()
151 MotionEvent.ACTION_POINTER_UP, 2, pointerProperties, pointerCoords, in sendPinchZoomAction()
166 MotionEvent.ACTION_POINTER_UP, 1, pointerProperties, pointerCoords, in sendPinchZoomAction()
/frameworks/native/services/inputflinger/
DInputListener.cpp95 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, in NotifyMotionArgs() argument
107 this->pointerProperties[i].copyFrom(pointerProperties[i]); in NotifyMotionArgs()
122 pointerProperties[i].copyFrom(other.pointerProperties[i]); in NotifyMotionArgs()
155 pointerProperties[i] == rhs.pointerProperties[i] in operator ==()
DInputReader.cpp1668 pointerProperties[i].copyFrom(other.pointerProperties[i]); in copyFrom()
1671 int id = pointerProperties[i].id; in copyFrom()
2767 PointerProperties pointerProperties; in sync() local
2768 pointerProperties.clear(); in sync()
2769 pointerProperties.id = 0; in sync()
2770 pointerProperties.toolType = AMOTION_EVENT_TOOL_TYPE_MOUSE; in sync()
2852 /* deviceTimestamp */ 0, 1, &pointerProperties, &pointerCoords, in sync()
2861 /* deviceTimestamp */ 0, 1, &pointerProperties, &pointerCoords, in sync()
2874 /* deviceTimestamp */ 0, 1, &pointerProperties, &pointerCoords, in sync()
2889 /* deviceTimestamp */ 0, 1, &pointerProperties, &pointerCoords, in sync()
[all …]
DInputDispatcher.cpp209 const PointerProperties* pointerProperties) { in validateMotionEvent() argument
221 int32_t id = pointerProperties[i].id; in validateMotionEvent()
1033 i, entry->pointerProperties[i].id, in logOutboundMotionDetails()
1034 entry->pointerProperties[i].toolType, in logOutboundMotionDetails()
1423 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked()
1483 pointerIds.markBit(entry->pointerProperties[0].id); in findTouchedWindowTargetsLocked()
1669 uint32_t pointerId = entry->pointerProperties[pointerIndex].id; in findTouchedWindowTargetsLocked()
2266 motionEntry->pointerCount, motionEntry->pointerProperties, in startDispatchCycleLocked()
2540 const PointerProperties& pointerProperties = in splitMotionEvent() local
2541 originalMotionEntry->pointerProperties[originalPointerIndex]; in splitMotionEvent()
[all …]
DInputDispatcher.h575 PointerProperties pointerProperties[MAX_POINTERS]; member
584 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
835 PointerProperties pointerProperties[MAX_POINTERS]; member
DInputReader.h542 PointerProperties pointerProperties[MAX_POINTERS]; member
560 return pointerProperties[idToIndex[id]]; in editPointerPropertiesWithId()
564 return hoveringIdBits.hasBit(pointerProperties[pointerIndex].id); in isHovering()
568 return touchingIdBits.hasBit(pointerProperties[pointerIndex].id); in isTouching()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java216 PointerProperties pointerProperties = new PointerProperties(); in unpackMotionEvent() local
217 motionEvent.getPointerProperties(i, pointerProperties); in unpackMotionEvent()
218 pointerPropertiesList.add(pointerProperties); in unpackMotionEvent()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp323 static void pointerPropertiesFromNative(JNIEnv* env, const PointerProperties* pointerProperties, in pointerPropertiesFromNative() argument
326 pointerProperties->id); in pointerPropertiesFromNative()
328 pointerProperties->toolType); in pointerPropertiesFromNative()
355 PointerProperties pointerProperties[pointerCount]; in android_view_MotionEvent_nativeInitialize() local
363 pointerPropertiesToNative(env, pointerPropertiesObj, &pointerProperties[i]); in android_view_MotionEvent_nativeInitialize()
378 downTimeNanos, eventTimeNanos, pointerCount, pointerProperties, rawPointerCoords); in android_view_MotionEvent_nativeInitialize()
453 const PointerProperties* pointerProperties = event->getPointerProperties(pointerIndex); in android_view_MotionEvent_nativeGetPointerProperties() local
454 pointerPropertiesFromNative(env, pointerProperties, outPointerPropertiesObj); in android_view_MotionEvent_nativeGetPointerProperties()
/frameworks/native/services/inputflinger/include/
DInputListener.h118 PointerProperties pointerProperties[MAX_POINTERS]; member
132 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java624 MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties();
625 pointerProperties.id = 1;
626 pointerProperties.toolType = MotionEvent.TOOL_TYPE_FINGER;
641 defPointerProperties, pointerProperties },
/frameworks/native/libs/input/
DInputTransport.cpp486 const PointerProperties* pointerProperties, in publishMotionEvent() argument
539 msg.body.motion.pointers[i].properties.copyFrom(pointerProperties[i]); in publishMotionEvent()
1131 PointerProperties pointerProperties[pointerCount]; in initializeMotionEvent() local
1134 pointerProperties[i].copyFrom(msg->body.motion.pointers[i].properties); in initializeMotionEvent()
1156 pointerProperties, in initializeMotionEvent()
DInput.cpp256 const PointerProperties* pointerProperties, in initialize() argument
272 mPointerProperties.appendArray(pointerProperties, pointerCount); in initialize()
/frameworks/base/core/java/android/view/
DMotionEvent.java1689 int action, int pointerCount, PointerProperties[] pointerProperties, in obtain() argument
1698 pointerCount, pointerProperties, pointerCoords); in obtain()
1736 int action, int pointerCount, PointerProperties[] pointerProperties, in obtain() argument
1740 return obtain(downTime, eventTime, action, pointerCount, pointerProperties, pointerCoords, in obtain()
/frameworks/native/include/input/
DInputTransport.h283 const PointerProperties* pointerProperties,
DInput.h621 const PointerProperties* pointerProperties,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...