/frameworks/base/services/core/java/com/android/server/wm/ |
D | RefreshRatePolicy.java | 72 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/ |
D | DisplayManagerServiceTest.java | 685 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()
|
D | DisplayModeDirectorTest.java | 282 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/ |
D | DisplayInfo.java | 380 && 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()
|
D | Choreographer.java | 272 mFrameIntervalNanos = (long)(1000000000 / getRefreshRate()); in Choreographer() 282 private static float getRefreshRate() { in getRefreshRate() method in Choreographer 285 return di.getRefreshRate(); in getRefreshRate()
|
D | Display.java | 969 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/ |
D | Choreographer_Delegate.java | 48 public static float getRefreshRate() { in getRefreshRate() method in Choreographer_Delegate
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | BaseTest.java | 57 mRefreshRate = activity.getDisplay().getRefreshRate(); in BaseTest()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayModeDirector.java | 386 >= 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()
|
D | DisplayDeviceConfig.java | 719 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadAmbientLightSensorFromDdc() 739 final RefreshRateRange rr = sensorDetails.getRefreshRate(); in loadProxSensorFromDdc()
|
D | OverlayDisplayWindow.java | 322 mDefaultDisplayInfo.getRefreshRate(),
|
D | DisplayManagerService.java | 817 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();
|
D | LocalDisplayAdapter.java | 1108 && Float.floatToIntBits(mMode.getRefreshRate())
|
D | BrightnessTracker.java | 1175 return display.getRefreshRate(); in getFrameRate()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 409 && 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/ |
D | TouchLatencyActivity.java | 273 int fps = (int) displayMode.getRefreshRate(); in updateDisplayMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationShadeWindowControllerImpl.java | 149 if (Math.abs(displayMode.getRefreshRate() - desiredPreferredRefreshRate) <= .1) { in NotificationShadeWindowControllerImpl() 150 actualPreferredRefreshRate = displayMode.getRefreshRate(); in NotificationShadeWindowControllerImpl()
|
/frameworks/base/services/core/xsd/display-device-config/schema/ |
D | current.txt | 85 … method @Nullable public final com.android.server.display.config.RefreshRateRange getRefreshRate();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenMediaRecorder.java | 129 int refreshRate = (int) wm.getDefaultDisplay().getRefreshRate(); in prepare()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 533 mRefreshRate = getDisplay().getRefreshRate(); in detectRefreshRate()
|
/frameworks/base/graphics/java/android/graphics/ |
D | HardwareRenderer.java | 1222 display.getRefreshRate(), wideColorDataspace.mNativeDataspace, in initDisplayInfo()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 584 .filter(mode -> mode.getRefreshRate() == 60f) in testDisplayChange_withStaleDesiredDisplayModeSpecs()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 1122 int sampleTimeMs = (int) (msPerSecond / display.getRefreshRate()); in calculateGestureSampleTimeMs()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 2475 float displayRefreshRate = display.getRefreshRate(); in onAttachedToWindow()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 16474 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$…
|