Home
last modified time | relevance | path

Searched refs:sfDuration (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DPhaseOffsets.cpp239 static nsecs_t sfDurationToOffset(nsecs_t sfDuration, nsecs_t vsyncDuration) { in sfDurationToOffset() argument
240 return sfDuration == -1 ? 1'000'000 : vsyncDuration - sfDuration % vsyncDuration; in sfDurationToOffset()
243 static nsecs_t appDurationToOffset(nsecs_t appDuration, nsecs_t sfDuration, nsecs_t vsyncDuration) { in appDurationToOffset() argument
244 return sfDuration == -1 ? 1'000'000 in appDurationToOffset()
245 : vsyncDuration - (appDuration + sfDuration) % vsyncDuration; in appDurationToOffset()
297 nsecs_t sfDuration, nsecs_t appDuration, nsecs_t sfEarlyDuration, in PhaseDurations() argument
300 : mSfDuration(sfDuration), in PhaseDurations()
DPhaseOffsets.h118 PhaseDurations(const std::vector<float>& refreshRates, float currentFps, nsecs_t sfDuration,
/frameworks/native/services/surfaceflinger/tests/unittests/
DPhaseOffsetsTest.cpp37 TestablePhaseOffsetsAsDurations(float currentFps, nsecs_t sfDuration, nsecs_t appDuration, in TestablePhaseOffsetsAsDurations() argument
40 : impl::PhaseDurations({60.0f, 90.0f}, currentFps, sfDuration, appDuration, in TestablePhaseOffsetsAsDurations()