Home
last modified time | relevance | path

Searched refs:getRefreshRate (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java101 float bestRefreshRate = defaultMode.getRefreshRate(); in findLowRefreshRateMode()
199 return mode.getRefreshRate(); in getPreferredRefreshRate()
212 return mLowRefreshRateMode.getRefreshRate(); in getPreferredRefreshRate()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DBaseTest.java57 mRefreshRate = activity.getDisplay().getRefreshRate(); in BaseTest()
/frameworks/base/core/java/android/view/
DDisplayInfo.java393 && getRefreshRate() == other.getRefreshRate() in equals()
575 public float getRefreshRate() { in getRefreshRate() method in DisplayInfo
580 return getMode().getRefreshRate(); in getRefreshRate()
628 rates.add(mode.getRefreshRate()); in getDefaultRefreshRates()
DDisplay.java1011 public float getRefreshRate() { in getRefreshRate() method in Display
1014 return mDisplayInfo.getRefreshRate(); in getRefreshRate()
1234 mode.getPhysicalHeight(), mode.getRefreshRate()); in setUserPreferredDisplayMode()
1966 public float getRefreshRate() { in getRefreshRate() method in Display.Mode
DChoreographer.java280 mFrameIntervalNanos = (long)(1000000000 / getRefreshRate()); in Choreographer()
290 private static float getRefreshRate() { in getRefreshRate() method in Choreographer
293 return di.getRefreshRate(); in getRefreshRate()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java852 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverride()
862 assertEquals(20f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverride()
868 assertEquals(30f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverride()
1124 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverrideModeCompat()
1134 assertEquals(20f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverrideModeCompat()
1158 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoNonNativeFrameRateOverrideMode()
1191 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoNonNativeFrameRateOverride()
1200 assertEquals(expectedRefreshRate, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoNonNativeFrameRateOverride()
DDisplayModeDirectorTest.java303 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
318 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
333 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
348 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
383 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
396 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
409 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
422 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
479 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testAppRequestRefreshRateRange()
568 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java303 + mode.getPhysicalHeight() + " " + mode.getRefreshRate()); in getUserPreferredDisplayMode()
327 + mode.getPhysicalHeight() + " " + mode.getRefreshRate()); in getActiveDisplayModeAtStart()
DDisplayModeDirector.java404 >= availableMode.getRefreshRate() - FLOAT_TOLERANCE in getDesiredDisplayModeSpecs()
406 <= availableMode.getRefreshRate() + FLOAT_TOLERANCE) { in getDesiredDisplayModeSpecs()
435 float fps = defaultMode.getRefreshRate(); in getDesiredDisplayModeSpecs()
444 float fps = baseMode.getRefreshRate(); in getDesiredDisplayModeSpecs()
479 final float refreshRate = mode.getRefreshRate(); in filterModes()
495 if (mode.getRefreshRate() >= summary.baseModeRefreshRate - FLOAT_TOLERANCE in filterModes()
496 && mode.getRefreshRate() <= summary.baseModeRefreshRate + FLOAT_TOLERANCE) { in filterModes()
695 if (mode.getRefreshRate() > maxRefreshRate) { in getMaxRefreshRateLocked()
696 maxRefreshRate = mode.getRefreshRate(); in getMaxRefreshRateLocked()
1395 Vote.forBaseModeRefreshRate(requestedMode.getRefreshRate()); in setAppRequestedModeLocked()
DDisplayManagerService.java912 float numPeriods = currentMode.getRefreshRate() / frameRateHz;
917 frameRateHz = currentMode.getRefreshRate() / numPeriodsRound;
926 if (mode.getRefreshRate() >= frameRateHz - THRESHOLD_FOR_REFRESH_RATES_DIVISORS
927 && mode.getRefreshRate()
932 overriddenInfo.refreshRateOverride = mode.getRefreshRate();
1721 systemPreferredMode.getPhysicalHeight(), systemPreferredMode.getRefreshRate());
1791 : mode.getRefreshRate();
2581 && mode.getRefreshRate() > 0.0f; in isResolutionAndRefreshRateValid()
DLocalDisplayAdapter.java921 mode.getPhysicalHeight(), mode.getRefreshRate()); in setUserPreferredDisplayModeLocked()
1195 supportedMode.getRefreshRate())) { in findUserPreferredModeIdLocked()
1282 && Float.floatToIntBits(mMode.getRefreshRate())
DOverlayDisplayWindow.java322 mDefaultDisplayInfo.getRefreshRate(),
DPersistentDataStore.java355 return state.getRefreshRate(); in getUserPreferredRefreshRate()
714 public float getRefreshRate() { in getRefreshRate() method in PersistentDataStore.DisplayState
DDisplayDeviceConfig.java1812 (config == null) ? null : config.getRefreshRate(); in loadRefreshRateSetting()
2295 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadAmbientLightSensorFromDdc()
2334 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadProxSensorFromDdc()
/frameworks/layoutlib/bridge/src/android/view/
DChoreographer_Delegate.java40 public static float getRefreshRate() { in getRefreshRate() method in Choreographer_Delegate
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java428 && mNativeCallbackReportedRefreshRate != display.getRefreshRate()) { in handleDisplayEvent()
429 mNativeCallbackReportedRefreshRate = display.getRefreshRate(); in handleDisplayEvent()
1168 mNativeCallbackReportedRefreshRate = display.getRefreshRate(); in registerNativeChoreographerForRefreshRateCallbacks()
DDisplayManager.java1212 mode.getPhysicalHeight(), mode.getRefreshRate()); in setGlobalUserPreferredDisplayMode()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java273 int fps = (int) displayMode.getRefreshRate(); in updateDisplayMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java174 if (Math.abs(displayMode.getRefreshRate() - desiredPreferredRefreshRate) <= .1) { in NotificationShadeWindowControllerImpl()
175 actualPreferredRefreshRate = displayMode.getRefreshRate(); in NotificationShadeWindowControllerImpl()
/frameworks/base/services/core/xsd/display-device-config/schema/
Dcurrent.txt92 method public com.android.server.display.config.RefreshRateConfigs getRefreshRate();
227 … method @Nullable public final com.android.server.display.config.RefreshRateRange getRefreshRate();
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java142 int refreshRate = (int) wm.getDefaultDisplay().getRefreshRate(); in prepare()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java108 mPreferredRefreshRate = mContext.getDisplay().getSupportedModes()[0].getRefreshRate(); in setUp()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java533 mRefreshRate = getDisplay().getRefreshRate(); in detectRefreshRate()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java703 .filter(mode -> mode.getRefreshRate() == 60f) in testDisplayChange_withStaleDesiredDisplayModeSpecs()
1111 && Float.floatToIntBits(a.getRefreshRate()) == Float.floatToIntBits(b.refreshRate); in matches()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1310 display.getRefreshRate(), wideColorDataspace.mNativeDataspace, in initDisplayInfo()

12