Searched refs:defaultRefreshRate (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/config/ |
D | RefreshRateData.java | 46 public final int defaultRefreshRate; field in RefreshRateData 70 public RefreshRateData(int defaultRefreshRate, int defaultPeakRefreshRate, in RefreshRateData() argument 74 this.defaultRefreshRate = defaultRefreshRate; in RefreshRateData() 86 + "defaultRefreshRate: " + defaultRefreshRate in toString() 102 int defaultRefreshRate = loadDefaultRefreshRate(refreshRateConfigs, resources); in loadRefreshRateData() local 118 return new RefreshRateData(defaultRefreshRate, defaultPeakRefreshRate, in loadRefreshRateData()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | TestUtils.kt | 33 defaultRefreshRate: Int = 60, in createRefreshRateData() 40 return RefreshRateData(defaultRefreshRate, defaultPeakRefreshRate, in createRefreshRateData()
|
D | SettingsObserverTest.kt | 173 testCase.minRefreshRate, testCase.peakRefreshRate, testCase.defaultRefreshRate) in test settings refresh rates() 212 val defaultRefreshRate: Float, constant in com.android.server.display.mode.SettingsObserverTest.SettingsRefreshRateTestCase
|
D | DisplayModeDirectorTest.java | 402 float[] refreshRates, int baseModeId, float defaultRefreshRate) { in createDirectorFromRefreshRateArray() argument 403 return createDirectorFromRefreshRateArray(refreshRates, baseModeId, defaultRefreshRate, in createDirectorFromRefreshRateArray() 408 float[] refreshRates, int baseModeId, float defaultRefreshRate, int[] displayIds) { in createDirectorFromRefreshRateArray() argument 410 Display.Mode defaultMode = getDefaultMode(modes, defaultRefreshRate); in createDirectorFromRefreshRateArray() 469 private Display.Mode getDefaultMode(Display.Mode[] modes, float defaultRefreshRate) { in getDefaultMode() argument 471 if (mode.getRefreshRate() == defaultRefreshRate) { in getDefaultMode()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 702 float minRefreshRate, float peakRefreshRate, float defaultRefreshRate) { in getDesiredDisplayModeSpecsWithInjectedFpsSettings() argument 705 defaultRefreshRate, Display.DEFAULT_DISPLAY); in getDesiredDisplayModeSpecsWithInjectedFpsSettings() 1008 : (float) refreshRateData.defaultRefreshRate; in setRefreshRates() 1178 float defaultRefreshRate, int displayId) { in updateRefreshRateSettingLocked() argument 1199 defaultRefreshRate == 0f in updateRefreshRateSettingLocked() 1200 ? null : Vote.forRenderFrameRates(0f, defaultRefreshRate); in updateRefreshRateSettingLocked() 1204 if (peakRefreshRate == 0f && defaultRefreshRate == 0f) { in updateRefreshRateSettingLocked() 1213 maxRefreshRate = defaultRefreshRate; in updateRefreshRateSettingLocked() 1214 } else if (defaultRefreshRate == 0f) { in updateRefreshRateSettingLocked() 1217 maxRefreshRate = Math.min(defaultRefreshRate, peakRefreshRate); in updateRefreshRateSettingLocked()
|