Home
last modified time | relevance | path

Searched refs:getSupportedModes (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DScreenResolutionController.java65 for (Display.Mode mode : getSupportedModes()) { in initSupportedResolutionData()
140 public Display.Mode[] getSupportedModes() { in getSupportedModes() method in ScreenResolutionController
141 return mDisplay.getSupportedModes(); in getSupportedModes()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DDisplaySoundUtils.java101 Display.Mode[] supportedModes = display.getSupportedModes(); in doesCurrentModeNotSupportDvBecauseLimitedTo4k30()
116 for (Display.Mode mode : display.getSupportedModes()) { in findMode1080p60()
DPreferredDynamicRangeForceFragment.java84 Arrays.stream(display.getSupportedModes()).forEach(mode -> Arrays.stream( in getIntersectingDeviceAndDisplayHdrTypes()
DResolutionSelectionFragment.java109 mModes = display.getSupportedModes(); in onCreatePreferences()
DHdrFormatSelectionFragment.java254 Arrays.stream(display.getSupportedModes()) in getDisplaySupportedHdrTypes()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DPeakRefreshRatePreferenceControllerTest.java89 when(mDisplayMock.getSupportedModes()).thenReturn(modes); in setUp()
100 when(mDisplayMock2.getSupportedModes()).thenReturn(modes2); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DForcePeakRefreshRatePreferenceControllerTest.java89 when(mDisplayMock.getSupportedModes()).thenReturn(modes); in setUp()
100 when(mDisplayMock2.getSupportedModes()).thenReturn(modes2); in setUp()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DPreferredDynamicRangeFragmentTest.java139 doReturn(new Display.Mode[]{TEST_MODE}).when(mDisplay).getSupportedModes(); in createPreferredDynamicRangeFragmentWith()
156 doReturn(new Display.Mode[]{TEST_MODE}).when(mDisplay).getSupportedModes(); in createPreferredDynamicRangeForceFragmentWith()
DDisplaySoundFragmentTest.java81 doReturn(supportedModes).when(display).getSupportedModes(); in createDisplaySoundFragmentWith()
DResolutionSelectionFragmentTest.java192 doReturn(supportedModes).when(display).getSupportedModes(); in createResolutionSelectionFragmentWith()
DHdrFormatSelectionFragmentTest.java334 doReturn(displayModes).when(display).getSupportedModes(); in createHdrFormatSelectionFragmentWithDisplayManagerReturning()
/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DScreenResolutionControllerTest.java58 doReturn(modes).when(mController).getSupportedModes(); in getAvailabilityStatus_hasFhdAndQhdModes_returnAvailable()