/frameworks/base/services/core/java/com/android/server/wm/ |
D | RefreshRatePolicy.java | 101 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/ |
D | BaseTest.java | 57 mRefreshRate = activity.getDisplay().getRefreshRate(); in BaseTest()
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 393 && 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()
|
D | Display.java | 1011 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
|
D | Choreographer.java | 280 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/ |
D | DisplayManagerServiceTest.java | 852 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()
|
D | DisplayModeDirectorTest.java | 303 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/ |
D | DisplayManagerShellCommand.java | 303 + mode.getPhysicalHeight() + " " + mode.getRefreshRate()); in getUserPreferredDisplayMode() 327 + mode.getPhysicalHeight() + " " + mode.getRefreshRate()); in getActiveDisplayModeAtStart()
|
D | DisplayModeDirector.java | 404 >= 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()
|
D | DisplayManagerService.java | 912 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()
|
D | LocalDisplayAdapter.java | 921 mode.getPhysicalHeight(), mode.getRefreshRate()); in setUserPreferredDisplayModeLocked() 1195 supportedMode.getRefreshRate())) { in findUserPreferredModeIdLocked() 1282 && Float.floatToIntBits(mMode.getRefreshRate())
|
D | OverlayDisplayWindow.java | 322 mDefaultDisplayInfo.getRefreshRate(),
|
D | PersistentDataStore.java | 355 return state.getRefreshRate(); in getUserPreferredRefreshRate() 714 public float getRefreshRate() { in getRefreshRate() method in PersistentDataStore.DisplayState
|
D | DisplayDeviceConfig.java | 1812 (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/ |
D | Choreographer_Delegate.java | 40 public static float getRefreshRate() { in getRefreshRate() method in Choreographer_Delegate
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerGlobal.java | 428 && mNativeCallbackReportedRefreshRate != display.getRefreshRate()) { in handleDisplayEvent() 429 mNativeCallbackReportedRefreshRate = display.getRefreshRate(); in handleDisplayEvent() 1168 mNativeCallbackReportedRefreshRate = display.getRefreshRate(); in registerNativeChoreographerForRefreshRateCallbacks()
|
D | DisplayManager.java | 1212 mode.getPhysicalHeight(), mode.getRefreshRate()); in setGlobalUserPreferredDisplayMode()
|
/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/shade/ |
D | NotificationShadeWindowControllerImpl.java | 174 if (Math.abs(displayMode.getRefreshRate() - desiredPreferredRefreshRate) <= .1) { in NotificationShadeWindowControllerImpl() 175 actualPreferredRefreshRate = displayMode.getRefreshRate(); in NotificationShadeWindowControllerImpl()
|
/frameworks/base/services/core/xsd/display-device-config/schema/ |
D | current.txt | 92 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/ |
D | ScreenMediaRecorder.java | 142 int refreshRate = (int) wm.getDefaultDisplay().getRefreshRate(); in prepare()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowControllerImplTest.java | 108 mPreferredRefreshRate = mContext.getDisplay().getSupportedModes()[0].getRefreshRate(); in setUp()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionMeasuringActivity.java | 533 mRefreshRate = getDisplay().getRefreshRate(); in detectRefreshRate()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 703 .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/ |
D | HardwareRenderer.java | 1310 display.getRefreshRate(), wideColorDataspace.mNativeDataspace, in initDisplayInfo()
|