Home
last modified time | relevance | path

Searched refs:pointerIdx (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp503 for (uint32_t pointerIdx = 0; pointerIdx < memento.getPointerCount(); pointerIdx++) { in synthesizeCancelationEventsForPointers() local
504 uint32_t pointerId = uint32_t(memento.pointerProperties[pointerIdx].id); in synthesizeCancelationEventsForPointers()
506 canceledPointerIndices.push_back(pointerIdx); in synthesizeCancelationEventsForPointers()
527 for (const uint32_t pointerIdx : canceledPointerIndices) { in synthesizeCancelationEventsForPointers() local
532 (pointerIdx << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT); in synthesizeCancelationEventsForPointers()
547 pointerProperties.erase(pointerProperties.begin() + pointerIdx); in synthesizeCancelationEventsForPointers()
548 pointerCoords.erase(pointerCoords.begin() + pointerIdx); in synthesizeCancelationEventsForPointers()
/frameworks/native/services/inputflinger/tests/
DFakeWindows.h297 int32_t pointerIdx,
301 (pointerIdx << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT);
307 inline void consumeMotionPointerUp(int32_t pointerIdx, in consumeMotionPointerUp() argument
310 (pointerIdx << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT); in consumeMotionPointerUp()
DInputDispatcher_test.cpp481 void consumeMotionPointerDown(int32_t pointerIdx) { in consumeMotionPointerDown() argument
483 (pointerIdx << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT); in consumeMotionPointerDown()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp419 for (int pointerIdx = 0; pointerIdx < 2; pointerIdx++) { in assertEqualsEventWithHistory() local
420 ASSERT_EQ(mSamples[sampleIdx].pointerCoords[pointerIdx], in assertEqualsEventWithHistory()
421 event->getSamplePointerCoords()[sampleIdx * 2 + pointerIdx]); in assertEqualsEventWithHistory()