Searched refs:displayDeviceConfig (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayModeDirector.java | 536 public void defaultDisplayDeviceUpdated(DisplayDeviceConfig displayDeviceConfig) { in defaultDisplayDeviceUpdated() argument 538 mDefaultDisplayDeviceConfig = displayDeviceConfig; in defaultDisplayDeviceUpdated() 539 mSettingsObserver.setRefreshRates(displayDeviceConfig, in defaultDisplayDeviceUpdated() 541 mBrightnessObserver.updateBlockingZoneThresholds(displayDeviceConfig, in defaultDisplayDeviceUpdated() 543 mBrightnessObserver.reloadLightSensor(displayDeviceConfig); in defaultDisplayDeviceUpdated() 544 mHbmObserver.setupHdrRefreshRates(displayDeviceConfig); in defaultDisplayDeviceUpdated() 1193 public void setRefreshRates(DisplayDeviceConfig displayDeviceConfig, in setRefreshRates() argument 1195 setDefaultPeakRefreshRate(displayDeviceConfig, attemptLoadingFromDeviceConfig); in setRefreshRates() 1197 (displayDeviceConfig == null) ? (float) mContext.getResources().getInteger( in setRefreshRates() 1199 : (float) displayDeviceConfig.getDefaultRefreshRate(); in setRefreshRates() [all …]
|
D | BrightnessMappingStrategy.java | 79 DisplayDeviceConfig displayDeviceConfig, in create() argument 81 return create(resources, displayDeviceConfig, /* isForIdleMode= */ false, in create() 94 DisplayDeviceConfig displayDeviceConfig, DisplayWhiteBalanceController in createForIdleMode() argument 96 return create(resources, displayDeviceConfig, /* isForIdleMode= */ true, in createForIdleMode() 113 DisplayDeviceConfig displayDeviceConfig, boolean isForIdleMode, in create() argument 125 brightnessLevelsNits = displayDeviceConfig.getAutoBrightnessBrighteningLevelsNits(); in create() 126 luxLevels = displayDeviceConfig.getAutoBrightnessBrighteningLevelsLux(); in create() 139 final float[] nitsRange = displayDeviceConfig.getNits(); in create() 140 final float[] brightnessRange = displayDeviceConfig.getBrightness(); in create()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayModeDirectorTest.java | 1927 DisplayDeviceConfig displayDeviceConfig = mock(DisplayDeviceConfig.class); in testNotifyDefaultDisplayDeviceUpdated() local 1928 when(displayDeviceConfig.getDefaultLowBlockingZoneRefreshRate()).thenReturn(50); in testNotifyDefaultDisplayDeviceUpdated() 1929 when(displayDeviceConfig.getDefaultHighBlockingZoneRefreshRate()).thenReturn(55); in testNotifyDefaultDisplayDeviceUpdated() 1930 when(displayDeviceConfig.getDefaultRefreshRate()).thenReturn(60); in testNotifyDefaultDisplayDeviceUpdated() 1931 when(displayDeviceConfig.getDefaultPeakRefreshRate()).thenReturn(65); in testNotifyDefaultDisplayDeviceUpdated() 1932 when(displayDeviceConfig.getLowDisplayBrightnessThresholds()).thenReturn(new int[]{25}); in testNotifyDefaultDisplayDeviceUpdated() 1933 when(displayDeviceConfig.getLowAmbientBrightnessThresholds()).thenReturn(new int[]{30}); in testNotifyDefaultDisplayDeviceUpdated() 1934 when(displayDeviceConfig.getHighDisplayBrightnessThresholds()).thenReturn(new int[]{210}); in testNotifyDefaultDisplayDeviceUpdated() 1935 when(displayDeviceConfig.getHighAmbientBrightnessThresholds()).thenReturn(new int[]{2100}); in testNotifyDefaultDisplayDeviceUpdated() 1936 when(displayDeviceConfig.getDefaultRefreshRateInHbmHdr()).thenReturn(65); in testNotifyDefaultDisplayDeviceUpdated() [all …]
|