/frameworks/base/libs/androidfw/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 | 147 PointerCoords pointerCoords[pointerCount]; local 153 pointerCoords[i].clear(); 154 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); 155 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); 156 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); 157 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); 158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); 159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i); 161 pointerCoords[ 255 PointerCoords pointerCoords[pointerCount]; local 267 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 | 1949 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2047 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2069 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2088 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2096 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2112 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2120 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2138 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2148 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0], 2157 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]); 95 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, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
|
H A D | InputListener.h | 94 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::NotifyMotionArgs 104 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
H A D | InputDispatcher.cpp | 437 int32_t x = int32_t(motionEntry->pointerCoords[0]. 439 int32_t y = int32_t(motionEntry->pointerCoords[0]. 883 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), 884 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), 885 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), 886 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE), 887 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), 888 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), 889 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), 890 entry->pointerCoords[ 3863 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, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument [all...] |
H A D | InputReader.cpp | 1473 pointerCoords[i].copyFrom(other.pointerCoords[i]); 2442 PointerCoords pointerCoords; local 2443 pointerCoords.clear(); 2473 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x); 2474 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y); 2477 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX); 2478 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY); 2482 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); 2511 displayId, 1, &pointerProperties, &pointerCoords, 2669 const PointerCoords& pointerCoords = mLastCookedPointerData.pointerCoords[i]; local 4439 PointerCoords pointerCoords; local 5432 PointerCoords pointerCoords; local 5467 PointerCoords pointerCoords[MAX_POINTERS]; local 6293 PointerCoords pointerCoords; local [all...] |
H A D | InputDispatcher.h | 517 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::InputDispatcher::MotionEntry 525 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 760 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::InputDispatcher::InputState::MotionMemento
|
H A D | InputReader.h | 786 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::CookedPointerData
|
/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/androidfw/ |
H A D | InputTransport.cpp | 291 const PointerCoords* pointerCoords) { 333 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]); 890 PointerCoords pointerCoords[pointerCount]; local 893 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords); 912 pointerCoords); 917 PointerCoords pointerCoords[pointerCount]; local 919 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords); 923 event->addSample(msg->body.motion.eventTime, pointerCoords); 274 publishMotionEvent( uint32_t seq, 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
|
H A D | Input.cpp | 298 const PointerCoords* pointerCoords) { 314 addSample(eventTime, pointerCoords); 347 const PointerCoords* pointerCoords) { 349 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount()); 282 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 345 addSample( int64_t eventTime, const PointerCoords* pointerCoords) argument
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 1323 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); 1328 PointerCoords[] pointerCoords, int metaState); 1415 * @param pointerCoords An array of <em>pointerCount</em> values providing 1432 PointerCoords[] pointerCoords, int metaState, int buttonState, 1440 pointerCount, pointerProperties, pointerCoords); 1456 * @param pointerCoords An array of <em>pointerCount</em> values providing 1475 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, 1486 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId, 2756 * @param pointerCoords The new pointer coordinates. 2759 public final void addBatch(long eventTime, PointerCoords[] pointerCoords, in argument 1318 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 1327 nativeAddBatch(int nativePtr, long eventTimeNanos, PointerCoords[] pointerCoords, int metaState) argument 1430 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 1474 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...] |
/frameworks/base/include/androidfw/ |
H A D | Input.h | 517 const PointerCoords* pointerCoords); 523 const PointerCoords* pointerCoords);
|
H A D | InputTransport.h | 236 const PointerCoords* pointerCoords);
|