Package org.robolectric.shadows
Class ShadowColorDisplayManager
java.lang.Object
org.robolectric.shadows.ShadowColorDisplayManager
@Implements(className="android.hardware.display.ColorDisplayManager", isInAndroidSdk=false, minSdk=29) public class ShadowColorDisplayManager extends Object
- 
Constructor SummaryConstructors Constructor Description ShadowColorDisplayManager()
- 
Method SummaryModifier and Type Method Description protected void__constructor__()intgetAppSaturationLevel(String packageName)Returns the current display saturation level for thepackageName.protected intgetNightDisplayAutoMode()protected intgetNightDisplayColorTemperature()intgetSaturationLevel()Returns the current display saturation level.protected intgetTransformCapabilities()protected booleanisNightDisplayActivated()protected booleansetAppSaturationLevel(String packageName, int saturationLevel)protected booleansetNightDisplayActivated(boolean activated)protected booleansetNightDisplayAutoMode(int autoMode)protected booleansetNightDisplayColorTemperature(int temperature)protected booleansetSaturationLevel(int saturationLevel)booleansetTransformCapabilities(int transformCapabilities)Sets the current transform capabilities.
- 
Constructor Details- 
ShadowColorDisplayManagerpublic ShadowColorDisplayManager()
 
- 
- 
Method Details- 
__constructor__
- 
getTransformCapabilities
- 
setNightDisplayActivated
- 
isNightDisplayActivated
- 
setNightDisplayColorTemperature
- 
getNightDisplayColorTemperature
- 
setNightDisplayAutoMode
- 
getNightDisplayAutoMode
- 
setSaturationLevel
- 
setAppSaturationLevel
- 
setTransformCapabilitiespublic boolean setTransformCapabilities(int transformCapabilities)Sets the current transform capabilities.
- 
getAppSaturationLevelReturns the current display saturation level for thepackageName.
- 
getSaturationLevelpublic int getSaturationLevel()Returns the current display saturation level.
 
-