• Home
  • Raw
  • Download

Lines Matching refs:pointerCount

172     constexpr size_t pointerCount = 3;  in PublishAndConsumeMotionEvent()  local
175 PointerProperties pointerProperties[pointerCount]; in PublishAndConsumeMotionEvent()
176 PointerCoords pointerCoords[pointerCount]; in PublishAndConsumeMotionEvent()
177 for (size_t i = 0; i < pointerCount; i++) { in PublishAndConsumeMotionEvent()
179 pointerProperties[i].id = (i + 2) % pointerCount; in PublishAndConsumeMotionEvent()
202 downTime, eventTime, pointerCount, pointerProperties, in PublishAndConsumeMotionEvent()
243 EXPECT_EQ(pointerCount, motionEvent->getPointerCount()); in PublishAndConsumeMotionEvent()
246 for (size_t i = 0; i < pointerCount; i++) { in PublishAndConsumeMotionEvent()
494 const size_t pointerCount = 1; in TEST_F() local
495 PointerProperties pointerProperties[pointerCount]; in TEST_F()
496 PointerCoords pointerCoords[pointerCount]; in TEST_F()
497 for (size_t i = 0; i < pointerCount; i++) { in TEST_F()
508 0, 0, pointerCount, pointerProperties, pointerCoords); in TEST_F()
515 const size_t pointerCount = 0; in TEST_F() local
516 PointerProperties pointerProperties[pointerCount]; in TEST_F()
517 PointerCoords pointerCoords[pointerCount]; in TEST_F()
525 0, 0, pointerCount, pointerProperties, pointerCoords); in TEST_F()
533 const size_t pointerCount = MAX_POINTERS + 1; in TEST_F() local
534 PointerProperties pointerProperties[pointerCount]; in TEST_F()
535 PointerCoords pointerCoords[pointerCount]; in TEST_F()
536 for (size_t i = 0; i < pointerCount; i++) { in TEST_F()
547 0, 0, pointerCount, pointerProperties, pointerCoords); in TEST_F()