Home
last modified time | relevance | path

Searched refs:alternativeRefreshRates (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayAdapter.java135 float[] alternativeRefreshRates, in createMode() argument
138 vsyncRate, /* isSynthetic= */ false, alternativeRefreshRates, supportedHdrTypes); in createMode()
DLocalDisplayAdapter.java336 List<Float> alternativeRefreshRates = new ArrayList<>(); in updateDisplayModesLocked() local
344 alternativeRefreshRates.add(displayModes[j].peakRefreshRate); in updateDisplayModesLocked()
347 Collections.sort(alternativeRefreshRates); in updateDisplayModesLocked()
355 && refreshRatesEquals(alternativeRefreshRates, in updateDisplayModesLocked()
367 DisplayModeRecord record = findDisplayModeRecord(mode, alternativeRefreshRates); in updateDisplayModesLocked()
369 float[] alternativeRates = new float[alternativeRefreshRates.size()]; in updateDisplayModesLocked()
371 alternativeRates[j] = alternativeRefreshRates.get(j); in updateDisplayModesLocked()
634 List<Float> alternativeRefreshRates) { in findDisplayModeRecord() argument
638 && refreshRatesEquals(alternativeRefreshRates, in findDisplayModeRecord()
1418 float[] alternativeRefreshRates) {
[all …]
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java122 float[] alternativeRefreshRates = new float[0]; in testGetReportedHdrTypes_returns_mode_specific_hdr_types() local
125 alternativeRefreshRates, hdrTypesWithDv); in testGetReportedHdrTypes_returns_mode_specific_hdr_types()
129 alternativeRefreshRates, hdrTypesWithoutDv); in testGetReportedHdrTypes_returns_mode_specific_hdr_types()
147 float[] alternativeRefreshRates = new float[0]; in testGetHdrCapabilities_getSupportedHdrTypes_returns_mode_specific_hdr_types() local
150 alternativeRefreshRates, hdrTypesWithDv); in testGetHdrCapabilities_getSupportedHdrTypes_returns_mode_specific_hdr_types()
154 alternativeRefreshRates, hdrTypesWithoutDv); in testGetHdrCapabilities_getSupportedHdrTypes_returns_mode_specific_hdr_types()
/frameworks/base/core/java/android/view/
DDisplay.java2252 float[] alternativeRefreshRates, in Mode() argument
2254 this(modeId, width, height, refreshRate, refreshRate, alternativeRefreshRates, in Mode()
2262 float[] alternativeRefreshRates, @HdrCapabilities.HdrType int[] supportedHdrTypes) { in Mode() argument
2263 this(modeId, width, height, refreshRate, vsyncRate, false, alternativeRefreshRates, in Mode()
2271 boolean isSynthetic, float[] alternativeRefreshRates, in Mode() argument
2280 Arrays.copyOf(alternativeRefreshRates, alternativeRefreshRates.length); in Mode()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java1313 SurfaceControl.DisplayMode mode, float[] alternativeRefreshRates) { in assertModeIsSupported() argument
1315 Arrays.copyOf(alternativeRefreshRates, alternativeRefreshRates.length); in assertModeIsSupported()
1319 + Arrays.toString(alternativeRefreshRates) + " to be in list of supported modes = " in assertModeIsSupported()