Lines Matching refs:pointerCoords
230 PointerCoords pointerCoords[2]; in initializeEventWithHistory() local
231 pointerCoords[0].clear(); in initializeEventWithHistory()
232 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in initializeEventWithHistory()
233 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in initializeEventWithHistory()
234 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12); in initializeEventWithHistory()
235 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 13); in initializeEventWithHistory()
236 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 14); in initializeEventWithHistory()
237 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 15); in initializeEventWithHistory()
238 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 16); in initializeEventWithHistory()
239 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 17); in initializeEventWithHistory()
240 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 18); in initializeEventWithHistory()
241 pointerCoords[1].clear(); in initializeEventWithHistory()
242 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 20); in initializeEventWithHistory()
243 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 21); in initializeEventWithHistory()
244 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 22); in initializeEventWithHistory()
245 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 23); in initializeEventWithHistory()
246 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 24); in initializeEventWithHistory()
247 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 25); in initializeEventWithHistory()
248 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 26); in initializeEventWithHistory()
249 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 27); in initializeEventWithHistory()
250 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 28); in initializeEventWithHistory()
256 2, pointerProperties, pointerCoords); in initializeEventWithHistory()
258 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 110); in initializeEventWithHistory()
259 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 111); in initializeEventWithHistory()
260 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 112); in initializeEventWithHistory()
261 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 113); in initializeEventWithHistory()
262 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 114); in initializeEventWithHistory()
263 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 115); in initializeEventWithHistory()
264 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 116); in initializeEventWithHistory()
265 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 117); in initializeEventWithHistory()
266 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 118); in initializeEventWithHistory()
267 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 120); in initializeEventWithHistory()
268 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 121); in initializeEventWithHistory()
269 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 122); in initializeEventWithHistory()
270 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 123); in initializeEventWithHistory()
271 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 124); in initializeEventWithHistory()
272 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 125); in initializeEventWithHistory()
273 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 126); in initializeEventWithHistory()
274 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 127); in initializeEventWithHistory()
275 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 128); in initializeEventWithHistory()
276 event->addSample(ARBITRARY_EVENT_TIME + 1, pointerCoords); in initializeEventWithHistory()
278 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 210); in initializeEventWithHistory()
279 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 211); in initializeEventWithHistory()
280 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 212); in initializeEventWithHistory()
281 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 213); in initializeEventWithHistory()
282 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 214); in initializeEventWithHistory()
283 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 215); in initializeEventWithHistory()
284 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 216); in initializeEventWithHistory()
285 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 217); in initializeEventWithHistory()
286 pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 218); in initializeEventWithHistory()
287 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 220); in initializeEventWithHistory()
288 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 221); in initializeEventWithHistory()
289 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 222); in initializeEventWithHistory()
290 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 223); in initializeEventWithHistory()
291 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 224); in initializeEventWithHistory()
292 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 225); in initializeEventWithHistory()
293 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 226); in initializeEventWithHistory()
294 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 227); in initializeEventWithHistory()
295 pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 228); in initializeEventWithHistory()
296 event->addSample(ARBITRARY_EVENT_TIME + 2, pointerCoords); in initializeEventWithHistory()
549 PointerCoords pointerCoords[pointerCount]; in TEST_F() local
554 pointerCoords[i].clear(); in TEST_F()
555 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, sinf(angle) * RADIUS + 3); in TEST_F()
556 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, -cosf(angle) * RADIUS + 2); in TEST_F()
557 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, angle); in TEST_F()
561 0, 0, 0, 0, 0, 0, pointerCount, pointerProperties, pointerCoords); in TEST_F()