Lines Matching refs:mSamples

279     std::array<Sample, 3> mSamples{};  member in android::MotionEventTest
297 mSamples[0].pointerCoords[0].clear(); in SetUp()
298 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 10); in SetUp()
299 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 11); in SetUp()
300 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 12); in SetUp()
301 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 13); in SetUp()
302 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 14); in SetUp()
303 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 15); in SetUp()
304 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 16); in SetUp()
305 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 17); in SetUp()
306 mSamples[0].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 18); in SetUp()
307 mSamples[0].pointerCoords[0].isResampled = true; in SetUp()
308 mSamples[0].pointerCoords[1].clear(); in SetUp()
309 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 20); in SetUp()
310 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 21); in SetUp()
311 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 22); in SetUp()
312 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 23); in SetUp()
313 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 24); in SetUp()
314 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 25); in SetUp()
315 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 26); in SetUp()
316 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 27); in SetUp()
317 mSamples[0].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 28); in SetUp()
319 mSamples[1].pointerCoords[0].clear(); in SetUp()
320 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 110); in SetUp()
321 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 111); in SetUp()
322 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 112); in SetUp()
323 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 113); in SetUp()
324 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 114); in SetUp()
325 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 115); in SetUp()
326 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 116); in SetUp()
327 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 117); in SetUp()
328 mSamples[1].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 118); in SetUp()
329 mSamples[1].pointerCoords[0].isResampled = true; in SetUp()
330 mSamples[1].pointerCoords[1].clear(); in SetUp()
331 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 120); in SetUp()
332 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 121); in SetUp()
333 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 122); in SetUp()
334 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 123); in SetUp()
335 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 124); in SetUp()
336 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 125); in SetUp()
337 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 126); in SetUp()
338 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 127); in SetUp()
339 mSamples[1].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 128); in SetUp()
340 mSamples[1].pointerCoords[1].isResampled = true; in SetUp()
342 mSamples[2].pointerCoords[0].clear(); in SetUp()
343 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, 210); in SetUp()
344 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, 211); in SetUp()
345 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 212); in SetUp()
346 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 213); in SetUp()
347 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 214); in SetUp()
348 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 215); in SetUp()
349 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 216); in SetUp()
350 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 217); in SetUp()
351 mSamples[2].pointerCoords[0].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 218); in SetUp()
352 mSamples[2].pointerCoords[1].clear(); in SetUp()
353 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_X, 220); in SetUp()
354 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_Y, 221); in SetUp()
355 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 222); in SetUp()
356 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 223); in SetUp()
357 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 224); in SetUp()
358 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 225); in SetUp()
359 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 226); in SetUp()
360 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR, 227); in SetUp()
361 mSamples[2].pointerCoords[1].setAxisValue(AMOTION_EVENT_AXIS_ORIENTATION, 228); in SetUp()
373 ARBITRARY_EVENT_TIME, 2, mPointerProperties, mSamples[0].pointerCoords); in initializeEventWithHistory()
374 event->addSample(ARBITRARY_EVENT_TIME + 1, mSamples[1].pointerCoords); in initializeEventWithHistory()
375 event->addSample(ARBITRARY_EVENT_TIME + 2, mSamples[2].pointerCoords); in initializeEventWithHistory()
420 ASSERT_EQ(mSamples[sampleIdx].pointerCoords[pointerIdx], in assertEqualsEventWithHistory()