Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp454 size_t idx = (mFirstResyncSample + mNumResyncSamples) % MAX_RESYNC_SAMPLES; in addResyncSample()
465 if (mNumResyncSamples < MAX_RESYNC_SAMPLES) { in addResyncSample()
468 mFirstResyncSample = (mFirstResyncSample + 1) % MAX_RESYNC_SAMPLES; in addResyncSample()
539 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()
540 size_t prev = (idx + MAX_RESYNC_SAMPLES - 1) % MAX_RESYNC_SAMPLES; in updateModelLocked()
558 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()
666 result.appendFormat("mNumResyncSamples: %zd (max %d)\n", mNumResyncSamples, MAX_RESYNC_SAMPLES); in dump()
671 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in dump()
DDispSync.h135 enum { MAX_RESYNC_SAMPLES = 32 }; enumerator
171 nsecs_t mResyncSamples[MAX_RESYNC_SAMPLES];