Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java72 float bestRefreshRate = mode.getRefreshRate(); in findLowRefreshRateMode()
140 return mode.getRefreshRate(); in getPreferredRefreshRate()
154 return mLowRefreshRateMode.getRefreshRate(); in getPreferredRefreshRate()
184 return mLowRefreshRateMode.getRefreshRate(); in getPreferredMaxRefreshRate()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java685 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverride()
695 assertEquals(20f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverride()
701 assertEquals(30f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverride()
902 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverrideModeCompat()
912 assertEquals(20f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoFrameRateOverrideModeCompat()
936 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoNonNativeFrameRateOverrideMode()
969 assertEquals(60f, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoNonNativeFrameRateOverride()
978 assertEquals(expectedRefreshRate, displayInfo.getRefreshRate(), 0.01f); in testDisplayInfoNonNativeFrameRateOverride()
DDisplayModeDirectorTest.java282 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
297 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
312 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
327 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testFlickerHasLowerPriorityThanUserAndRangeIsSingle()
362 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
375 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
388 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
401 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
458 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate())); in testAppRequestRefreshRateRange()
547 Vote.forBaseModeRefreshRate(appRequestedMode.getRefreshRate()));
[all …]
/frameworks/base/core/java/android/view/
DDisplayInfo.java380 && getRefreshRate() == other.getRefreshRate() in equals()
555 public float getRefreshRate() { in getRefreshRate() method in DisplayInfo
560 return getMode().getRefreshRate(); in getRefreshRate()
608 rates.add(mode.getRefreshRate()); in getDefaultRefreshRates()
DChoreographer.java272 mFrameIntervalNanos = (long)(1000000000 / getRefreshRate()); in Choreographer()
282 private static float getRefreshRate() { in getRefreshRate() method in Choreographer
285 return di.getRefreshRate(); in getRefreshRate()
DDisplay.java969 public float getRefreshRate() { in getRefreshRate() method in Display
972 return mDisplayInfo.getRefreshRate(); in getRefreshRate()
1773 public float getRefreshRate() { in getRefreshRate() method in Display.Mode
/frameworks/layoutlib/bridge/src/android/view/
DChoreographer_Delegate.java48 public static float getRefreshRate() { in getRefreshRate() method in Choreographer_Delegate
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DBaseTest.java57 mRefreshRate = activity.getDisplay().getRefreshRate(); in BaseTest()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java386 >= availableMode.getRefreshRate() - FLOAT_TOLERANCE in getDesiredDisplayModeSpecs()
388 <= availableMode.getRefreshRate() + FLOAT_TOLERANCE) { in getDesiredDisplayModeSpecs()
417 float fps = defaultMode.getRefreshRate(); in getDesiredDisplayModeSpecs()
426 float fps = baseMode.getRefreshRate(); in getDesiredDisplayModeSpecs()
461 final float refreshRate = mode.getRefreshRate(); in filterModes()
477 if (mode.getRefreshRate() >= summary.baseModeRefreshRate - FLOAT_TOLERANCE in filterModes()
478 && mode.getRefreshRate() <= summary.baseModeRefreshRate + FLOAT_TOLERANCE) { in filterModes()
1266 Vote.forBaseModeRefreshRate(requestedMode.getRefreshRate()); in setAppRequestedModeLocked()
2101 if (mode.getRefreshRate() > maxRefreshRate) { in updateVoteLocked()
2102 maxRefreshRate = mode.getRefreshRate(); in updateVoteLocked()
DDisplayDeviceConfig.java719 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadAmbientLightSensorFromDdc()
739 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadProxSensorFromDdc()
DOverlayDisplayWindow.java322 mDefaultDisplayInfo.getRefreshRate(),
DDisplayManagerService.java817 float numPeriods = currentMode.getRefreshRate() / frameRateHz;
822 frameRateHz = currentMode.getRefreshRate() / numPeriodsRound;
831 if (mode.getRefreshRate() >= frameRateHz - THRESHOLD_FOR_REFRESH_RATES_DIVIDERS
832 && mode.getRefreshRate()
837 overriddenInfo.refreshRateOverride = mode.getRefreshRate();
DLocalDisplayAdapter.java1108 && Float.floatToIntBits(mMode.getRefreshRate())
DBrightnessTracker.java1175 return display.getRefreshRate(); in getFrameRate()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java409 && mNativeCallbackReportedRefreshRate != display.getRefreshRate()) { in handleDisplayEvent()
410 mNativeCallbackReportedRefreshRate = display.getRefreshRate(); in handleDisplayEvent()
1060 mNativeCallbackReportedRefreshRate = display.getRefreshRate(); in registerNativeChoreographerForRefreshRateCallbacks()
/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/statusbar/phone/
DNotificationShadeWindowControllerImpl.java149 if (Math.abs(displayMode.getRefreshRate() - desiredPreferredRefreshRate) <= .1) { in NotificationShadeWindowControllerImpl()
150 actualPreferredRefreshRate = displayMode.getRefreshRate(); in NotificationShadeWindowControllerImpl()
/frameworks/base/services/core/xsd/display-device-config/schema/
Dcurrent.txt85 … method @Nullable public final com.android.server.display.config.RefreshRateRange getRefreshRate();
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java129 int refreshRate = (int) wm.getDefaultDisplay().getRefreshRate(); in prepare()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java533 mRefreshRate = getDisplay().getRefreshRate(); in detectRefreshRate()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1222 display.getRefreshRate(), wideColorDataspace.mNativeDataspace, in initDisplayInfo()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java584 .filter(mode -> mode.getRefreshRate() == 60f) in testDisplayChange_withStaleDesiredDisplayModeSpecs()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java1122 int sampleTimeMs = (int) (msPerSecond / display.getRefreshRate()); in calculateGestureSampleTimeMs()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java2475 float displayRefreshRate = display.getRefreshRate(); in onAttachedToWindow()
/frameworks/base/boot/
Dboot-image-profile.txt16474 HSPLandroid/view/Choreographer;->getRefreshRate()F
16523 HSPLandroid/view/Display$Mode;->getRefreshRate()F
16543 HSPLandroid/view/Display;->getRefreshRate()F+]Landroid/view/DisplayInfo;Landroid/view/DisplayInfo;
16625 HSPLandroid/view/DisplayInfo;->getRefreshRate()F+]Landroid/view/Display$Mode;Landroid/view/Display$…

12