/frameworks/base/libs/ui/tests/ |
D | InputEvent_test.cpp | 231 PointerCoords pointerCoords[2]; in initializeEventWithHistory() local 232 pointerCoords[0].clear(); in initializeEventWithHistory() 233 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory() 234 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in initializeEventWithHistory() 235 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12); in initializeEventWithHistory() 236 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 13); in initializeEventWithHistory() 237 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 14); in initializeEventWithHistory() 238 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 15); in initializeEventWithHistory() 239 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 16); in initializeEventWithHistory() 240 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 17); in initializeEventWithHistory() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 365 PointerCoords pointerCoords[pointerCount]; in TEST_F() local 368 pointerCoords[i].clear(); in TEST_F() 372 pointerCount, pointerProperties, pointerCoords); in TEST_F() 377 pointerCount, pointerProperties, pointerCoords); in TEST_F() 389 PointerCoords pointerCoords[pointerCount]; in TEST_F() local 392 pointerCount, pointerProperties, pointerCoords); in TEST_F() 403 PointerCoords pointerCoords[pointerCount]; in TEST_F() local 406 pointerCoords[i].clear(); in TEST_F() 410 pointerCount, pointerProperties, pointerCoords); in TEST_F() 440 PointerCoords pointerCoords[1]; in TEST_F() local [all …]
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | WebViewEventSender.java | 180 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchStart() local 185 pointerCoords[i] = new MotionEvent.PointerCoords(); in touchStart() 186 pointerCoords[i].x = mTouchPoints.get(i).getX(); in touchStart() 187 pointerCoords[i].y = mTouchPoints.get(i).getY(); in touchStart() 192 MotionEvent.ACTION_DOWN, numPoints, pointerIds, pointerCoords, in touchStart() 205 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchMove() local 211 pointerCoords[i] = new MotionEvent.PointerCoords(); in touchMove() 212 pointerCoords[numMovedPoints].x = mTouchPoints.get(i).getX(); in touchMove() 213 pointerCoords[numMovedPoints].y = mTouchPoints.get(i).getY(); in touchMove() 225 numMovedPoints, pointerIds, pointerCoords, in touchMove() [all …]
|
/frameworks/base/services/input/tests/ |
D | InputDispatcher_test.cpp | 144 PointerCoords pointerCoords[MAX_POINTERS + 1]; in TEST_F() local 148 pointerCoords[i].clear(); in TEST_F() 155 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 165 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 174 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 184 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 193 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() 202 /*pointerCount*/ 0, pointerProperties, pointerCoords); in TEST_F() 210 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords); in TEST_F() 220 /*pointerCount*/ 1, pointerProperties, pointerCoords); in TEST_F() [all …]
|
D | InputReader_test.cpp | 1883 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in testMotionRotation() 1981 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2003 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2022 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2030 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2046 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2054 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2072 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2082 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() 2091 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], in TEST_F() [all …]
|
/frameworks/base/services/input/ |
D | InputListener.cpp | 73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, in NotifyMotionArgs() argument 81 this->pointerCoords[i].copyFrom(pointerCoords[i]); in NotifyMotionArgs() 94 pointerCoords[i].copyFrom(other.pointerCoords[i]); in NotifyMotionArgs()
|
D | InputDispatcher.cpp | 517 int32_t x = int32_t(motionEntry->firstSample.pointerCoords[0]. in enqueueInboundEventLocked() 519 int32_t y = int32_t(motionEntry->firstSample.pointerCoords[0]. in enqueueInboundEventLocked() 939 entry->pointerCount, entry->pointerProperties, nextSample->pointerCoords); in dispatchMotionLocked() 1001 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in logOutboundMotionDetailsLocked() 1002 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in logOutboundMotionDetailsLocked() 1003 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in logOutboundMotionDetailsLocked() 1004 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE), in logOutboundMotionDetailsLocked() 1005 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), in logOutboundMotionDetailsLocked() 1006 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), in logOutboundMotionDetailsLocked() 1007 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), in logOutboundMotionDetailsLocked() [all …]
|
D | InputReader.cpp | 1418 pointerCoords[i].copyFrom(other.pointerCoords[i]); in copyFrom() 2210 PointerCoords pointerCoords; in sync() local 2211 pointerCoords.clear(); in sync() 2240 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); in sync() 2241 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); in sync() 2243 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); in sync() 2244 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); in sync() 2247 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync() 2276 1, &pointerProperties, &pointerCoords, mXPrecision, mYPrecision, downTime); in sync() 2285 1, &pointerProperties, &pointerCoords, mXPrecision, mYPrecision, downTime); in sync() [all …]
|
D | InputListener.h | 93 PointerCoords pointerCoords[MAX_POINTERS]; member 103 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
D | InputDispatcher.h | 504 PointerCoords pointerCoords[MAX_POINTERS]; member 506 MotionSample(nsecs_t eventTime, const PointerCoords* pointerCoords, 533 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 541 void appendSample(nsecs_t eventTime, const PointerCoords* pointerCoords); 779 PointerCoords pointerCoords[MAX_POINTERS]; member 879 const PointerCoords* pointerCoords, const char* eventDescription);
|
D | InputReader.h | 693 PointerCoords pointerCoords[MAX_POINTERS]; member
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | EventSenderImpl.java | 457 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in executeTouchEvent() local 480 pointerCoords[numPoints] = new MotionEvent.PointerCoords(); in executeTouchEvent() 481 pointerCoords[numPoints].x = getTouchPoints().get(i).getX(); in executeTouchEvent() 482 pointerCoords[numPoints].y = getTouchPoints().get(i).getY(); in executeTouchEvent() 493 numPoints, pointerIds, pointerCoords, in executeTouchEvent()
|
/frameworks/base/include/ui/ |
D | InputTransport.h | 234 const PointerCoords* pointerCoords); 245 const PointerCoords* pointerCoords);
|
D | Input.h | 538 const PointerCoords* pointerCoords); 544 const PointerCoords* pointerCoords);
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1326 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize() argument 1331 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() argument 1436 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() argument 1444 pointerCount, pointerProperties, pointerCoords); in obtain() 1479 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain() argument 1490 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId, in obtain() 2718 public final void addBatch(long eventTime, PointerCoords[] pointerCoords, int metaState) { in addBatch() argument 2719 nativeAddBatch(mNativePtr, eventTime * NS_PER_MS, pointerCoords, metaState); in addBatch()
|
/frameworks/base/libs/ui/ |
D | InputTransport.cpp | 380 const PointerCoords* pointerCoords) { in publishMotionEvent() argument 420 mSharedMessage->motion.sampleData[0].coords[i].copyFrom(pointerCoords[i]); in publishMotionEvent() 440 const PointerCoords* pointerCoords) { in appendMotionSample() argument 490 mMotionEventSampleDataTail->coords[i].copyFrom(pointerCoords[i]); in appendMotionSample()
|
D | Input.cpp | 405 const PointerCoords* pointerCoords) { in initialize() argument 421 addSample(eventTime, pointerCoords); in initialize() 454 const PointerCoords* pointerCoords) { in addSample() argument 456 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount()); in addSample()
|