Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DTouchVideoDevice.cpp45 mFrames.reserve(MAX_QUEUE_SIZE); in TouchVideoDevice()
167 if (mFrames.size() > MAX_QUEUE_SIZE) { in readAndQueueFrames()
168 ALOGE("More than %zu frames have been accumulated. Dropping %zu frames", MAX_QUEUE_SIZE, in readAndQueueFrames()
169 mFrames.size() - MAX_QUEUE_SIZE); in readAndQueueFrames()
170 mFrames.erase(mFrames.begin(), mFrames.end() - MAX_QUEUE_SIZE); in readAndQueueFrames()
DTouchVideoDevice.h105 static constexpr size_t MAX_QUEUE_SIZE = 10; variable