Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DInput.cpp549 for (size_t i = 0; i < mMotionEventPool.size(); i++) { in ~PooledInputEventFactory()
550 delete mMotionEventPool.itemAt(i); in ~PooledInputEventFactory()
564 if (!mMotionEventPool.isEmpty()) { in createMotionEvent()
565 MotionEvent* event = mMotionEventPool.top(); in createMotionEvent()
566 mMotionEventPool.pop(); in createMotionEvent()
581 if (mMotionEventPool.size() < mMaxPoolSize) { in recycle()
582 mMotionEventPool.push(static_cast<MotionEvent*>(event)); in recycle()
/frameworks/native/include/input/
DInput.h657 Vector<MotionEvent*> mMotionEventPool; variable