Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp355 size_t idx = (mFirstResyncSample + mNumResyncSamples) % MAX_RESYNC_SAMPLES; in addResyncSample()
358 if (mNumResyncSamples < MAX_RESYNC_SAMPLES) { in addResyncSample()
361 mFirstResyncSample = (mFirstResyncSample + 1) % MAX_RESYNC_SAMPLES; in addResyncSample()
421 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()
422 size_t prev = (idx + MAX_RESYNC_SAMPLES - 1) % MAX_RESYNC_SAMPLES; in updateModelLocked()
432 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in updateModelLocked()
522 mNumResyncSamples, MAX_RESYNC_SAMPLES); in dump()
527 size_t idx = (mFirstResyncSample + i) % MAX_RESYNC_SAMPLES; in dump()
DDispSync.h139 enum { MAX_RESYNC_SAMPLES = 32 }; enumerator
160 nsecs_t mResyncSamples[MAX_RESYNC_SAMPLES];