Searched refs:mMotionEventPool (Results 1 – 2 of 2) sorted by relevance
916 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()
1000 std::queue<std::unique_ptr<MotionEvent>> mMotionEventPool; variable