Lines Matching refs:pointerCount
233 pointerCount = 0; in setPointers()
234 for (uint32_t i = 0; i < entry.pointerCount; i++) { in setPointers()
243 pointerProperties[pointerCount].copyFrom(entry.pointerProperties[i]); in setPointers()
244 pointerCoords[pointerCount].copyFrom(entry.pointerCoords[i]); in setPointers()
245 pointerCount++; in setPointers()
250 for (uint32_t i = 0; i < pointerCount; i++) { in mergePointerStateTo()
252 other.firstNewPointerIdx = other.pointerCount; in mergePointerStateTo()
254 other.pointerProperties[other.pointerCount].copyFrom(pointerProperties[i]); in mergePointerStateTo()
255 other.pointerCoords[other.pointerCount].copyFrom(pointerCoords[i]); in mergePointerStateTo()
256 other.pointerCount++; in mergePointerStateTo()
294 memento.pointerCount, in synthesizeCancelationEvents()
321 uint32_t pointerCount = 0; in synthesizePointerDownEvents() local
329 pointerCount++; in synthesizePointerDownEvents()
334 i < memento.pointerCount; i++) { in synthesizePointerDownEvents()
338 pointerCount++; in synthesizePointerDownEvents()
341 const int32_t action = (pointerCount <= 1) in synthesizePointerDownEvents()
355 pointerCount, pointerProperties, pointerCoords)); in synthesizePointerDownEvents()
371 for (uint32_t pointerIdx = 0; pointerIdx < memento.pointerCount; pointerIdx++) { in synthesizeCancelationEventsForPointers()
380 if (canceledPointerIndices.size() == memento.pointerCount) { in synthesizeCancelationEventsForPointers()
396 memento.pointerCount, memento.pointerProperties, in synthesizeCancelationEventsForPointers()
408 uint32_t pointerCount = memento.pointerCount; in synthesizeCancelationEventsForPointers() local
410 const int32_t action = pointerCount == 1 ? AMOTION_EVENT_ACTION_CANCEL in synthesizeCancelationEventsForPointers()
424 pointerCount, pointerProperties.data(), in synthesizeCancelationEventsForPointers()
430 pointerCount--; in synthesizeCancelationEventsForPointers()