Searched refs:sfDuration (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | PhaseOffsets.cpp | 239 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()
|
D | PhaseOffsets.h | 118 PhaseDurations(const std::vector<float>& refreshRates, float currentFps, nsecs_t sfDuration,
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | PhaseOffsetsTest.cpp | 37 TestablePhaseOffsetsAsDurations(float currentFps, nsecs_t sfDuration, nsecs_t appDuration, in TestablePhaseOffsetsAsDurations() argument 40 : impl::PhaseDurations({60.0f, 90.0f}, currentFps, sfDuration, appDuration, in TestablePhaseOffsetsAsDurations()
|