Lines Matching defs:pointerCount
121 static bool isValidMotionAction(int32_t action, size_t pointerCount) {
136 return index >= 0 && size_t(index) < pointerCount;
143 static bool validateMotionEvent(int32_t action, size_t pointerCount,
145 if (! isValidMotionAction(action, pointerCount)) {
149 if (pointerCount < 1 || pointerCount > MAX_POINTERS) {
151 pointerCount, MAX_POINTERS);
155 for (size_t i = 0; i < pointerCount; i++) {
890 for (uint32_t i = 0; i < entry->pointerCount; i++) {
1324 && entry->pointerCount == 1
1795 if (inputTarget->pointerIds.count() != originalMotionEntry->pointerCount) {
1971 for (size_t i = 0; i < motionEntry->pointerCount; i++) {
1984 for (size_t i = 0; i < motionEntry->pointerCount; i++) {
1999 motionEntry->pointerCount, motionEntry->pointerProperties,
2247 uint32_t originalPointerCount = originalMotionEntry->pointerCount;
2437 for (uint32_t i = 0; i < args->pointerCount; i++) {
2455 if (!validateMotionEvent(args->action, args->pointerCount, args->pointerProperties)) {
2475 args->pointerCount, args->pointerProperties, args->pointerCoords);
2491 args->pointerCount, args->pointerProperties, args->pointerCoords);
2592 size_t pointerCount = motionEvent->getPointerCount();
2594 if (! validateMotionEvent(action, pointerCount, pointerProperties)) {
2613 uint32_t(pointerCount), pointerProperties, samplePointerCoords);
2617 samplePointerCoords += pointerCount;
2625 uint32_t(pointerCount), pointerProperties, samplePointerCoords);
3900 nsecs_t downTime, int32_t displayId, uint32_t pointerCount,
3907 downTime(downTime), displayId(displayId), pointerCount(pointerCount) {
3908 for (uint32_t i = 0; i < pointerCount; i++) {
3923 for (uint32_t i = 0; i < pointerCount; i++) {
4174 pointerCount = entry->pointerCount;
4175 for (uint32_t i = 0; i < entry->pointerCount; i++) {
4204 memento.pointerCount, memento.pointerProperties, memento.pointerCoords));