Searched refs:pointerCoords (Results 1 - 18 of 18) 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.cpp151 PointerCoords pointerCoords[pointerCount]; local
157 pointerCoords[i].clear();
158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i);
159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i);
160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i);
161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i);
162 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i);
163 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i);
164 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i);
165 pointerCoords[
260 PointerCoords pointerCoords[pointerCount]; local
272 PointerCoords pointerCoords[pointerCount]; local
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp144 PointerCoords pointerCoords[MAX_POINTERS + 1]; local
148 pointerCoords[i].clear();
155 /*pointerCount*/ 1, pointerProperties, pointerCoords);
166 /*pointerCount*/ 1, pointerProperties, pointerCoords);
176 /*pointerCount*/ 1, pointerProperties, pointerCoords);
187 /*pointerCount*/ 1, pointerProperties, pointerCoords);
197 /*pointerCount*/ 1, pointerProperties, pointerCoords);
207 /*pointerCount*/ 0, pointerProperties, pointerCoords);
216 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords);
227 /*pointerCount*/ 1, pointerProperties, pointerCoords);
[all...]
H A DInputReader_test.cpp2146 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2244 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2263 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2285 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2304 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2323 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2331 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2347 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2352 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[0],
2360 ASSERT_NO_FATAL_FAILURE(assertPointerCoords(args.pointerCoords[
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DPinchZoomAction.java84 final MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[]{pc1, pc2};
87 eventTime, MotionEvent.ACTION_DOWN, 1, pointerProperties, pointerCoords,
94 2, pointerProperties, pointerCoords, 0, 0, 1, 1, 0, 0, 0, 0);
132 MotionEvent.ACTION_MOVE, 2, pointerProperties, pointerCoords,
152 MotionEvent.ACTION_POINTER_UP, 2, pointerProperties, pointerCoords,
167 MotionEvent.ACTION_POINTER_UP, 1, pointerProperties, pointerCoords,
/frameworks/native/services/inputflinger/
H A DInputListener.cpp73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
82 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 actionButton, 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.h95 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::NotifyMotionArgs
106 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
H A DInputReader.cpp1719 pointerCoords[i].copyFrom(other.pointerCoords[i]);
2816 PointerCoords pointerCoords; local
2817 pointerCoords.clear();
2847 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, x);
2848 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_Y, y);
2849 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, deltaX);
2850 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, deltaY);
2853 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_X, deltaX);
2854 pointerCoords
3040 PointerCoords pointerCoords; local
3203 const PointerCoords& pointerCoords = mLastCookedState.cookedPointerData.pointerCoords[i]; local
5389 PointerCoords pointerCoords; local
6401 PointerCoords pointerCoords; local
6437 PointerCoords pointerCoords[MAX_POINTERS]; local
7369 PointerCoords pointerCoords; local
7394 setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis, float value) argument
[all...]
H A DInputDispatcher.cpp447 int32_t x = int32_t(motionEntry->pointerCoords[0].
449 int32_t y = int32_t(motionEntry->pointerCoords[0].
905 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X),
906 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y),
907 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE),
908 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE),
909 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR),
910 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR),
911 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR),
912 entry->pointerCoords[
3965 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, 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, float xOffset, float yOffset) argument
[all...]
H A DInputDispatcher.h524 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::InputDispatcher::MotionEntry
532 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
776 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::InputDispatcher::InputState::MotionMemento
H A DInputReader.h837 PointerCoords pointerCoords[MAX_POINTERS]; member in struct:android::CookedPointerData
846 return pointerCoords[idToIndex[id]];
850 return pointerCoords[idToIndex[id]];
2004 static void setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis,
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java697 PointerCoords[] pointerCoords = new PointerCoords[touches.length];
705 pointerCoords[x] = touches[x][0];
712 properties, pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
718 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
728 pointerCoords[x] = touches[x][i];
730 pointerCoords[x] = touches[x][touches[x].length - 1];
734 MotionEvent.ACTION_MOVE, touches.length, properties, pointerCoords, 0, 0, 1, 1,
743 pointerCoords[x] = touches[x][touches[x].length - 1];
749 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
753 Log.i(LOG_TAG, "x " + pointerCoords[
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp303 const PointerCoords* pointerCoords) {
347 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]);
931 PointerCoords pointerCoords[pointerCount]; local
934 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords);
954 pointerCoords);
959 PointerCoords pointerCoords[pointerCount]; local
961 pointerCoords[i].copyFrom(msg->body.motion.pointers[i].coords);
965 event->addSample(msg->body.motion.eventTime, pointerCoords);
284 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t displayId, int32_t action, int32_t actionButton, 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, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
H A DInput.cpp232 const PointerCoords* pointerCoords) {
249 addSample(eventTime, pointerCoords);
283 const PointerCoords* pointerCoords) {
285 mSamplePointerCoords.appendArray(pointerCoords, getPointerCount());
215 initialize( int32_t deviceId, int32_t source, int32_t action, int32_t actionButton, 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
281 addSample( int64_t eventTime, const PointerCoords* pointerCoords) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewOnGenericMotionEventTest.java123 MotionEvent.PointerCoords[] pointerCoords = { coords };
130 1, pointerProperties, pointerCoords, 0, 0, xPrecision, yPrecision, deviceId,
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1473 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords);
1476 PointerCoords[] pointerCoords, int metaState);
1609 * @param pointerCoords An array of <em>pointerCount</em> values providing
1626 PointerCoords[] pointerCoords, int metaState, int buttonState,
1634 pointerCount, pointerProperties, pointerCoords);
1650 * @param pointerCoords An array of <em>pointerCount</em> values providing
1669 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords,
1680 pointerCoords, metaState, 0, xPrecision, yPrecision, deviceId,
3012 * @param pointerCoords The new pointer coordinates.
3015 public final void addBatch(long eventTime, PointerCoords[] pointerCoords, in argument
1468 nativeInitialize(long 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
1475 nativeAddBatch(long nativePtr, long eventTimeNanos, PointerCoords[] pointerCoords, int metaState) argument
1624 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
1668 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/native/include/input/
H A DInput.h573 const PointerCoords* pointerCoords);
579 const PointerCoords* pointerCoords);
H A DInputTransport.h252 const PointerCoords* pointerCoords);

Completed in 495 milliseconds