/frameworks/base/libs/ui/tests/ |
H A D | InputEvent_test.cpp | 231 PointerCoords pointerCoords[2]; local 232 pointerCoords[0].clear(); 233 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); 234 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); 235 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12); 236 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 13); 237 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 14); 238 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 15); 239 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 16); 240 pointerCoords[ 536 PointerCoords pointerCoords[pointerCount]; local [all...] |
H A D | InputPublisherAndConsumer_test.cpp | 365 PointerCoords pointerCoords[pointerCount]; local 368 pointerCoords[i].clear(); 372 pointerCount, pointerProperties, pointerCoords); 377 pointerCount, pointerProperties, pointerCoords); 389 PointerCoords pointerCoords[pointerCount]; local 392 pointerCount, pointerProperties, pointerCoords); 403 PointerCoords pointerCoords[pointerCount]; local 406 pointerCoords[i].clear(); 410 pointerCount, pointerProperties, pointerCoords); 440 PointerCoords pointerCoords[ local 452 PointerCoords pointerCoords[pointerCount]; local 473 PointerCoords pointerCoords[pointerCount]; local 504 PointerCoords pointerCoords[pointerCount]; local [all...] |
/frameworks/base/services/input/tests/ |
H A D | InputDispatcher_test.cpp | 144 PointerCoords pointerCoords[MAX_POINTERS + 1]; local 148 pointerCoords[i].clear(); 155 /*pointerCount*/ 1, pointerProperties, pointerCoords); 165 /*pointerCount*/ 1, pointerProperties, pointerCoords); 174 /*pointerCount*/ 1, pointerProperties, pointerCoords); 184 /*pointerCount*/ 1, pointerProperties, pointerCoords); 193 /*pointerCount*/ 1, pointerProperties, pointerCoords); 202 /*pointerCount*/ 0, pointerProperties, pointerCoords); 210 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords); 220 /*pointerCount*/ 1, pointerProperties, pointerCoords); [all...] |
H A D | InputReader_test.cpp | 1887 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 1985 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2007 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2026 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2034 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2050 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2058 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2076 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2086 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2095 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[ [all...] |
/frameworks/base/services/input/ |
H A D | InputListener.cpp | 73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, 81 this->pointerCoords[i].copyFrom(pointerCoords[i]); 94 pointerCoords[i].copyFrom(other.pointerCoords[i]); 69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
|
H A D | InputDispatcher.cpp | 517 int32_t x = int32_t(motionEntry->firstSample.pointerCoords[0]. 519 int32_t y = int32_t(motionEntry->firstSample.pointerCoords[0]. 939 entry->pointerCount, entry->pointerProperties, nextSample->pointerCoords); 1001 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), 1002 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), 1003 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), 1004 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE), 1005 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), 1006 sample->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), 1007 sample->pointerCoords[ 2953 batchMotionLocked(MotionEntry* entry, nsecs_t eventTime, int32_t metaState, const PointerCoords* pointerCoords, const char* eventDescription) argument 4195 MotionSample(nsecs_t eventTime, const PointerCoords* pointerCoords, uint32_t pointerCount) argument 4206 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument 4255 appendSample( nsecs_t eventTime, const PointerCoords* pointerCoords) argument [all...] |
H A D | InputListener.h | 93 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::NotifyMotionArgs 103 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
H A D | InputReader.cpp | 1418 pointerCoords[i].copyFrom(other.pointerCoords[i]); 2211 PointerCoords pointerCoords; local 2212 pointerCoords.clear(); 2241 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); 2242 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); 2244 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); 2245 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); 2248 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); 2277 1, &pointerProperties, &pointerCoords, mXPrecisio 2430 const PointerCoords& pointerCoords = mLastCookedPointerData.pointerCoords[i]; local 4131 PointerCoords pointerCoords; local 5117 PointerCoords pointerCoords; local 5151 PointerCoords pointerCoords[MAX_POINTERS]; local 5965 PointerCoords pointerCoords; local [all...] |
H A D | InputDispatcher.h | 504 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::InputDispatcher::MotionSample 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 in struct:android::InputDispatcher::InputState::MotionMemento 879 const PointerCoords* pointerCoords, const char* eventDescription);
|
H A D | InputReader.h | 693 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::CookedPointerData
|
/frameworks/base/include/ui/ |
H A D | InputTransport.h | 234 const PointerCoords* pointerCoords); 245 const PointerCoords* pointerCoords);
|
H A D | Input.h | 538 const PointerCoords* pointerCoords); 544 const PointerCoords* pointerCoords);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | EventSenderImpl.java | 457 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; 480 pointerCoords[numPoints] = new MotionEvent.PointerCoords(); 481 pointerCoords[numPoints].x = getTouchPoints().get(i).getX(); 482 pointerCoords[numPoints].y = getTouchPoints().get(i).getY(); 493 numPoints, pointerIds, pointerCoords,
|
/frameworks/base/libs/ui/ |
H A D | InputTransport.cpp | 380 const PointerCoords* pointerCoords) { 420 mSharedMessage->motion.sampleData[0].coords[i].copyFrom(pointerCoords[i]); 440 const PointerCoords* pointerCoords) { 490 mMotionEventSampleDataTail->coords[i].copyFrom(pointerCoords[i]); 364 publishMotionEvent( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument 438 appendMotionSample( nsecs_t eventTime, const PointerCoords* pointerCoords) argument
|
H A D | Input.cpp | 405 const PointerCoords* pointerCoords) { 421 addSample(eventTime, pointerCoords); 454 const PointerCoords* pointerCoords) { 456 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount()); 389 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument 452 addSample( int64_t eventTime, const PointerCoords* pointerCoords) argument
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 1326 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); 1331 PointerCoords[] pointerCoords, int metaState); 1419 * @param pointerCoords An array of <em>pointerCount</em> values providing 1436 PointerCoords[] pointerCoords, int metaState, int buttonState, 1444 pointerCount, pointerProperties, pointerCoords); 1460 * @param pointerCoords An array of <em>pointerCount</em> values providing 1479 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, 1490 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId, 2715 * @param pointerCoords The new pointer coordinates. 2718 public final void addBatch(long eventTime, PointerCoords[] pointerCoords, in argument 1321 nativeInitialize(int nativePtr, int deviceId, int source, int action, int flags, int edgeFlags, int metaState, int buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, long downTimeNanos, long eventTimeNanos, int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords) argument 1330 nativeAddBatch(int nativePtr, long eventTimeNanos, PointerCoords[] pointerCoords, int metaState) argument 1434 obtain(long downTime, long eventTime, int action, int pointerCount, PointerProperties[] pointerProperties, PointerCoords[] pointerCoords, int metaState, int buttonState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags) argument 1478 obtain(long downTime, long eventTime, int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags) argument [all...] |