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()
180 nsecs_t desiredPresent = front->mTimestamp; in acquireBuffer() local
181 bool bufferIsDue = desiredPresent <= expectedPresent || in acquireBuffer()
182 desiredPresent > expectedPresent + MAX_REASONABLE_NSEC; in acquireBuffer()
189 desiredPresent, expectedPresent, in acquireBuffer()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp218 const nsecs_t desiredPresent = mQueueItems[i].mTimestamp; in getFrameNumber() local
219 if (desiredPresent < expectedPresentTime - BufferQueueConsumer::MAX_REASONABLE_NSEC || in getFrameNumber()
220 desiredPresent > expectedPresentTime) { in getFrameNumber()