/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | SupportedRefreshRatesVote.java | 70 RefreshRates(float peakRefreshRate, float vsyncRate) { in RefreshRates() argument 71 mPeakRefreshRate = peakRefreshRate; in RefreshRates()
|
D | DisplayModeDirector.java | 702 float minRefreshRate, float peakRefreshRate, float defaultRefreshRate) { in getDesiredDisplayModeSpecsWithInjectedFpsSettings() argument 704 mSettingsObserver.updateRefreshRateSettingLocked(minRefreshRate, peakRefreshRate, in getDesiredDisplayModeSpecsWithInjectedFpsSettings() 1165 float peakRefreshRate = Settings.System.getFloatForUser(cr, in updateRefreshRateSettingLocked() local 1167 if (Float.isInfinite(peakRefreshRate)) { in updateRefreshRateSettingLocked() 1169 peakRefreshRate = highestRefreshRate; in updateRefreshRateSettingLocked() 1172 updateRefreshRateSettingLocked(minRefreshRate, peakRefreshRate, mDefaultRefreshRate, in updateRefreshRateSettingLocked() 1177 private void updateRefreshRateSettingLocked(float minRefreshRate, float peakRefreshRate, in updateRefreshRateSettingLocked() argument 1184 Vote peakVote = peakRefreshRate == 0f in updateRefreshRateSettingLocked() 1187 Math.max(minRefreshRate, peakRefreshRate)); in updateRefreshRateSettingLocked() 1191 Vote peakRenderVote = peakRefreshRate == 0f in updateRefreshRateSettingLocked() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | DisplayConfigs_test.cpp | 71 setSpecs.primaryRanges.physical.min = mode.peakRefreshRate; in testSetDesiredDisplayModeSpecs() 72 setSpecs.primaryRanges.physical.max = mode.peakRefreshRate; in testSetDesiredDisplayModeSpecs()
|
D | LayerTransactionTest.h | 303 mBufferPostDelay = static_cast<int32_t>(1e6 / mode.peakRefreshRate) * 3; in SetUpDisplay()
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | DisplayMode.aidl | 33 float peakRefreshRate = 0.0f;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | DisplayMode.h | 41 float peakRefreshRate = 0.f; member
|
/frameworks/native/libs/ui/include/ui/ |
D | DisplayMode.h | 41 float peakRefreshRate = 0.f; member
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | SettingsObserverTest.kt | 173 testCase.minRefreshRate, testCase.peakRefreshRate, testCase.defaultRefreshRate) in test settings refresh rates() 211 val peakRefreshRate: Float, constant in com.android.server.display.mode.SettingsObserverTest.SettingsRefreshRateTestCase
|
D | DisplayModeDirectorTest.java | 1823 float peakRefreshRate = 130; 1840 setPeakRefreshRate(peakRefreshRate); 1844 /* frameRateHigh= */ peakRefreshRate);
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 442 FakeDisplay display = new FakeDisplay(PORT_A, modes, 0, displayMode.peakRefreshRate); in testAfterDisplayChange_DefaultDisplayModeIsUpdated() 464 displayMode2.peakRefreshRate)); in testAfterDisplayChange_DefaultDisplayModeIsUpdated() 498 FakeDisplay display = new FakeDisplay(PORT_A, modes, 0, displayMode.peakRefreshRate); in testAfterDisplayChange_DisplayModesAreUpdated() 963 displayMode3.width, displayMode3.height, displayMode3.peakRefreshRate)); in testGetSystemPreferredDisplayMode() 1309 x -> x.matches(mode.width, mode.height, mode.peakRefreshRate))).isTrue(); in assertModeIsSupported() 1323 .anyMatch(x -> x.matches(mode.width, mode.height, mode.peakRefreshRate) in assertModeIsSupported() 1432 mode.peakRefreshRate = refreshRate; in createFakeDisplayMode() 1537 == Float.floatToIntBits(b.peakRefreshRate) in matches()
|
/frameworks/native/libs/nativedisplay/ |
D | ADisplay.cpp | 158 mode.resolution.getHeight(), mode.peakRefreshRate, in ADisplay_acquirePhysicalDisplays()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 341 && other.peakRefreshRate != mode.peakRefreshRate in updateDisplayModesLocked() 344 alternativeRefreshRates.add(displayModes[j].peakRefreshRate); in updateDisplayModesLocked() 1419 mMode = createMode(mode.width, mode.height, mode.peakRefreshRate, mode.vsyncRate, 1434 == Float.floatToIntBits(mode.peakRefreshRate)
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 2407 public boolean matchesIfValid(int width, int height, float peakRefreshRate) { in matchesIfValid() argument 2409 && !isRefreshRateValid(peakRefreshRate)) { in matchesIfValid() 2417 && (!isRefreshRateValid(peakRefreshRate) in matchesIfValid() 2419 == Float.floatToIntBits(peakRefreshRate)); in matchesIfValid()
|
D | SurfaceControl.java | 1815 public float peakRefreshRate; field in SurfaceControl.DisplayMode 1839 + ", peakRefreshRate=" + peakRefreshRate in toString() 1857 && Float.compare(that.peakRefreshRate, peakRefreshRate) == 0 in equals() 1867 return Objects.hash(id, width, height, xDpi, yDpi, peakRefreshRate, vsyncRate, in hashCode()
|
/frameworks/native/services/surfaceflinger/Scheduler/tests/ |
D | FrameTargeterTest.cpp | 62 Duration frameDuration, Fps refreshRate, Fps peakRefreshRate, in Frame() 68 minFramePeriod(peakRefreshRate.getPeriod()) { in Frame()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 897 displayMode.peakRefreshRate, toCString(displayState.orientation), in recordScreen() 915 err = prepareEncoder(displayMode.peakRefreshRate, &recordingData.encoder, in recordScreen() 929 err = prepareEncoder(displayMode.peakRefreshRate, &recordingData.encoder, in recordScreen()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 129 jfieldID peakRefreshRate; member 1310 env->SetFloatField(object, gDisplayModeClassInfo.peakRefreshRate, config.peakRefreshRate); in convertDisplayModeToJavaObject() 2546 gDisplayModeClassInfo.peakRefreshRate = GetFieldIDOrDie(env, modeClazz, "peakRefreshRate", "F"); in register_android_view_SurfaceControl()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 406 mBufferPostDelay = static_cast<int32_t>(1e6 / mode.peakRefreshRate) * 3; in SetUp()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 2616 outMode.peakRefreshRate = mode.peakRefreshRate; in getDynamicDisplayInfoInternal()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 259 Fps refreshRate = Fps::fromValue(outMode.peakRefreshRate); in isAbove4k30() 1181 outMode.peakRefreshRate = peakFps.getValue(); in getDynamicDisplayInfoInternal() 1185 Fps::fromValue(outMode.peakRefreshRate)); in getDynamicDisplayInfoInternal() 9847 outMode.peakRefreshRate = mode.peakRefreshRate; in getDynamicDisplayInfoInternal()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 6021 float peakRefreshRate = 6023 if (Math.round(peakRefreshRate) == Math.round(highestRefreshRate)) {
|