Home
last modified time | relevance | path

Searched refs:peakRefreshRate (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DSupportedRefreshRatesVote.java70 RefreshRates(float peakRefreshRate, float vsyncRate) { in RefreshRates() argument
71 mPeakRefreshRate = peakRefreshRate; in RefreshRates()
DDisplayModeDirector.java702 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/
DDisplayConfigs_test.cpp71 setSpecs.primaryRanges.physical.min = mode.peakRefreshRate; in testSetDesiredDisplayModeSpecs()
72 setSpecs.primaryRanges.physical.max = mode.peakRefreshRate; in testSetDesiredDisplayModeSpecs()
DLayerTransactionTest.h303 mBufferPostDelay = static_cast<int32_t>(1e6 / mode.peakRefreshRate) * 3; in SetUpDisplay()
/frameworks/native/libs/gui/aidl/android/gui/
DDisplayMode.aidl33 float peakRefreshRate = 0.0f;
/frameworks/native/libs/ui/include_vndk/ui/
DDisplayMode.h41 float peakRefreshRate = 0.f; member
/frameworks/native/libs/ui/include/ui/
DDisplayMode.h41 float peakRefreshRate = 0.f; member
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSettingsObserverTest.kt173 testCase.minRefreshRate, testCase.peakRefreshRate, testCase.defaultRefreshRate) in test settings refresh rates()
211 val peakRefreshRate: Float, constant in com.android.server.display.mode.SettingsObserverTest.SettingsRefreshRateTestCase
DDisplayModeDirectorTest.java1823 float peakRefreshRate = 130;
1840 setPeakRefreshRate(peakRefreshRate);
1844 /* frameRateHigh= */ peakRefreshRate);
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java442 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/
DADisplay.cpp158 mode.resolution.getHeight(), mode.peakRefreshRate, in ADisplay_acquirePhysicalDisplays()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java341 && 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/
DDisplay.java2407 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()
DSurfaceControl.java1815 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/
DFrameTargeterTest.cpp62 Duration frameDuration, Fps refreshRate, Fps peakRefreshRate, in Frame()
68 minFramePeriod(peakRefreshRate.getPeriod()) { in Frame()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp897 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/
Dandroid_view_SurfaceControl.cpp129 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/
DEndToEndNativeInputTest.cpp406 mBufferPostDelay = static_cast<int32_t>(1e6 / mode.peakRefreshRate) * 3; in SetUp()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2616 outMode.peakRefreshRate = mode.peakRefreshRate; in getDynamicDisplayInfoInternal()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp259 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/
DSettingsProvider.java6021 float peakRefreshRate =
6023 if (Math.round(peakRefreshRate) == Math.round(highestRefreshRate)) {