Searched refs:refreshRates (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | PhaseOffsets.cpp | 42 std::vector<float> refreshRates; in getRefreshRatesFromConfigs() local 43 refreshRates.reserve(allRefreshRates.size()); in getRefreshRatesFromConfigs() 46 refreshRates.emplace_back(refreshRate->getFps()); in getRefreshRatesFromConfigs() 49 return refreshRates; in getRefreshRatesFromConfigs() 77 PhaseOffsets::PhaseOffsets(const std::vector<float>& refreshRates, float currentFps, in PhaseOffsets() argument 90 mOffsets(initializeOffsets(refreshRates)), in PhaseOffsets() 106 const std::vector<float>& refreshRates) const { in initializeOffsets() 109 for (const auto& refreshRate : refreshRates) { in initializeOffsets() 275 const std::vector<float>& refreshRates) const { in initializeOffsets() 278 for (const auto fps : refreshRates) { in initializeOffsets() [all …]
|
D | PhaseOffsets.h | 71 PhaseOffsets(const std::vector<float>& refreshRates, float currentFps, 77 const std::vector<float>& refreshRates) const; 118 PhaseDurations(const std::vector<float>& refreshRates, float currentFps, nsecs_t sfDuration,
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RefreshRatePolicy.java | 70 float[] refreshRates = displayInfo.getDefaultRefreshRates(); in findLowRefreshRateModeId() local 72 for (int i = refreshRates.length - 1; i >= 0; i--) { in findLowRefreshRateModeId() 73 if (refreshRates[i] >= 60f && refreshRates[i] < bestRefreshRate) { in findLowRefreshRateModeId() 74 bestRefreshRate = refreshRates[i]; in findLowRefreshRateModeId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayModeDirectorTest.java | 59 float[] refreshRates, int baseModeId) { in createDirectorFromRefreshRateArray() argument 63 Display.Mode[] modes = new Display.Mode[refreshRates.length]; in createDirectorFromRefreshRateArray() 64 for (int i = 0; i < refreshRates.length; i++) { in createDirectorFromRefreshRateArray() 66 /*modeId=*/baseModeId + i, /*width=*/1000, /*height=*/1000, refreshRates[i]); in createDirectorFromRefreshRateArray() 79 float[] refreshRates = new float[numRefreshRates]; in createDirectorFromFpsRange() local 81 refreshRates[i] = minFps + i; in createDirectorFromFpsRange() 83 return createDirectorFromRefreshRateArray(refreshRates, /*baseModeId=*/minFps); in createDirectorFromFpsRange() 264 float[] refreshRates = {30.f, 60.f, 90.f, 120.f, 150.f}; 266 createDirectorFromRefreshRateArray(refreshRates, /*baseModeId=*/0); 295 float[] refreshRates = {60.f, 90.f, 120.f}; [all …]
|