Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DInput.cpp548 for (size_t i = 0; i < mKeyEventPool.size(); i++) { in ~PooledInputEventFactory()
549 delete mKeyEventPool.itemAt(i); in ~PooledInputEventFactory()
557 if (!mKeyEventPool.isEmpty()) { in createKeyEvent()
558 KeyEvent* event = mKeyEventPool.top(); in createKeyEvent()
559 mKeyEventPool.pop(); in createKeyEvent()
577 if (mKeyEventPool.size() < mMaxPoolSize) { in recycle()
578 mKeyEventPool.push(static_cast<KeyEvent*>(event)); in recycle()
/frameworks/native/include/input/
DInput.h675 Vector<KeyEvent*> mKeyEventPool; variable