Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp133 nsecs_t desiredPresent = bufferItem.mTimestamp; in acquireBuffer() local
134 if (desiredPresent < expectedPresent - MAX_REASONABLE_NSEC || in acquireBuffer()
135 desiredPresent > expectedPresent) { in acquireBuffer()
141 desiredPresent, expectedPresent, in acquireBuffer()
142 desiredPresent - expectedPresent, in acquireBuffer()
149 desiredPresent, expectedPresent, mCore->mQueue.size()); in acquireBuffer()
178 nsecs_t desiredPresent = front->mTimestamp; in acquireBuffer() local
179 bool bufferIsDue = desiredPresent <= expectedPresent || in acquireBuffer()
180 desiredPresent > expectedPresent + MAX_REASONABLE_NSEC; in acquireBuffer()
187 desiredPresent, expectedPresent, in acquireBuffer()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp222 const nsecs_t desiredPresent = mQueueItems[i].mTimestamp; in getFrameNumber() local
223 if (desiredPresent < expectedPresentTime - BufferQueueConsumer::MAX_REASONABLE_NSEC || in getFrameNumber()
224 desiredPresent > expectedPresentTime) { in getFrameNumber()