Rename SurfaceControl.DisplayMode#refreshRate to peakRefreshRate
Peak refresh rate is a more clear name to use internally. Also while we're here, plumb vsyncRate into LocalDisplayAdapter so that DisplayManager can start using the concept. Bug: 301462354 Test: builds Test: dumpsys display Change-Id: I4889e2bb2cd82c910c97e1f7ba14327e95b02ab1
Showing
- core/java/android/view/Display.java 52 additions, 17 deletionscore/java/android/view/Display.java
- core/java/android/view/SurfaceControl.java 4 additions, 4 deletionscore/java/android/view/SurfaceControl.java
- core/jni/android_view_SurfaceControl.cpp 3 additions, 3 deletionscore/jni/android_view_SurfaceControl.cpp
- services/core/java/com/android/server/display/DisplayAdapter.java 3 additions, 3 deletions.../core/java/com/android/server/display/DisplayAdapter.java
- services/core/java/com/android/server/display/DisplayManagerService.java 1 addition, 0 deletions...ava/com/android/server/display/DisplayManagerService.java
- services/core/java/com/android/server/display/LocalDisplayAdapter.java 7 additions, 6 deletions.../java/com/android/server/display/LocalDisplayAdapter.java
- services/tests/displayservicetests/src/com/android/server/display/LocalDisplayAdapterTest.java 71 additions, 10 deletions...c/com/android/server/display/LocalDisplayAdapterTest.java
Loading
Please register or sign in to comment