Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DInput.cpp746 if (mMotionEventPool.empty()) { in createMotionEvent()
749 MotionEvent* event = mMotionEventPool.front().release(); in createMotionEvent()
750 mMotionEventPool.pop(); in createMotionEvent()
772 if (mMotionEventPool.size() < mMaxPoolSize) { in recycle()
773 mMotionEventPool.push(std::unique_ptr<MotionEvent>(static_cast<MotionEvent*>(event))); in recycle()
/frameworks/native/include/input/
DInput.h877 std::queue<std::unique_ptr<MotionEvent>> mMotionEventPool; variable