Searched defs:pointerCoords (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/libs/input/tests/
H A DInputEvent_test.cpp230 PointerCoords pointerCoords[2]; local
231 pointerCoords[0].clear();
232 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10);
233 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11);
234 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12);
235 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 13);
236 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 14);
237 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 15);
238 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 16);
239 pointerCoords[
549 PointerCoords pointerCoords[pointerCount]; local
[all...]
H A DInputPublisherAndConsumer_test.cpp148 PointerCoords pointerCoords[pointerCount]; local
154 pointerCoords[i].clear();
155 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i);
156 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i);
157 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i);
158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i);
159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i);
160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i);
161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i);
162 pointerCoords[
256 PointerCoords pointerCoords[pointerCount]; local
268 PointerCoords pointerCoords[pointerCount]; local
[all...]
/frameworks/base/services/input/
H A DInputListener.cpp73 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 DInputListener.h94 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::NotifyMotionArgs
104 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
H A DInputDispatcher.h520 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::InputDispatcher::MotionEntry
528 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords);
764 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::InputDispatcher::InputState::MotionMemento
H A DInputDispatcher.cpp439 int32_t x = int32_t(motionEntry->pointerCoords[0].
441 int32_t y = int32_t(motionEntry->pointerCoords[0].
897 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X),
898 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y),
899 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE),
900 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE),
901 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR),
902 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR),
903 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR),
904 entry->pointerCoords[
3896 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 DInputReader.cpp1476 pointerCoords[i].copyFrom(other.pointerCoords[i]);
2444 PointerCoords pointerCoords; local
2445 pointerCoords.clear();
2475 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x);
2476 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y);
2479 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX);
2480 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, deltaY);
2484 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f);
2513 displayId, 1, &pointerProperties, &pointerCoords,
2686 const PointerCoords& pointerCoords = mLastCookedPointerData.pointerCoords[i]; local
4547 PointerCoords pointerCoords; local
5552 PointerCoords pointerCoords; local
5587 PointerCoords pointerCoords[MAX_POINTERS]; local
6443 PointerCoords pointerCoords; local
6468 setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis, float value) argument
[all...]
H A DInputReader.h788 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::CookedPointerData
797 return pointerCoords[idToIndex[id]];
1810 static void setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis,
/frameworks/base/services/input/tests/
H A DInputDispatcher_test.cpp145 PointerCoords pointerCoords[MAX_POINTERS + 1]; local
149 pointerCoords[i].clear();
156 /*pointerCount*/ 1, pointerProperties, pointerCoords);
166 /*pointerCount*/ 1, pointerProperties, pointerCoords);
175 /*pointerCount*/ 1, pointerProperties, pointerCoords);
185 /*pointerCount*/ 1, pointerProperties, pointerCoords);
194 /*pointerCount*/ 1, pointerProperties, pointerCoords);
203 /*pointerCount*/ 0, pointerProperties, pointerCoords);
211 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords);
221 /*pointerCount*/ 1, pointerProperties, pointerCoords);
[all...]
/frameworks/native/libs/input/
H A DInput.cpp300 const PointerCoords* pointerCoords) {
316 addSample(eventTime, pointerCoords);
349 const PointerCoords* pointerCoords) {
351 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount());
284 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
347 addSample( int64_t eventTime, const PointerCoords* pointerCoords) argument
H A DInputTransport.cpp297 const PointerCoords* pointerCoords) {
339 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]);
899 PointerCoords pointerCoords[pointerCount]; local
902 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords);
921 pointerCoords);
926 PointerCoords pointerCoords[pointerCount]; local
928 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords);
932 event->addSample(msg->body.motion.eventTime, pointerCoords);
280 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
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1323 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,
2754 * @param pointerCoords The new pointer coordinates.
2757 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...]

Completed in 3490 milliseconds