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