Home
last modified time | relevance | path

Searched refs:mMotionEventPool (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/native/libs/input/
H A DInput.cpp916 if (mMotionEventPool.empty()) { in createMotionEvent()
919 MotionEvent* event = mMotionEventPool.front().release(); in createMotionEvent()
920 mMotionEventPool.pop(); in createMotionEvent()
960 if (mMotionEventPool.size() < mMaxPoolSize) { in recycle()
961 mMotionEventPool.push(std::unique_ptr<MotionEvent>(static_cast<MotionEvent*>(event))); in recycle()
/aosp12/frameworks/native/include/input/
H A DInput.h1000 std::queue<std::unique_ptr<MotionEvent>> mMotionEventPool; variable