@Implements(className="android.hardware.display.ColorDisplayManager", isInAndroidSdk=false, minSdk=10000) public class ShadowColorDisplayManager extends Object
Constructor and Description |
---|
ShadowColorDisplayManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__() |
int |
getAppSaturationLevel(String packageName)
Returns the current display saturation level for the
packageName . |
protected int |
getNightDisplayAutoMode() |
protected int |
getNightDisplayColorTemperature() |
int |
getSaturationLevel()
Returns the current display saturation level.
|
protected int |
getTransformCapabilities() |
protected boolean |
isNightDisplayActivated() |
protected boolean |
setAppSaturationLevel(String packageName,
int saturationLevel) |
protected boolean |
setNightDisplayActivated(boolean activated) |
protected boolean |
setNightDisplayAutoMode(int autoMode) |
protected boolean |
setNightDisplayColorTemperature(int temperature) |
protected boolean |
setSaturationLevel(int saturationLevel) |
boolean |
setTransformCapabilities(int transformCapabilities)
Sets the current transform capabilities.
|
@Implementation protected void __constructor__()
@Implementation protected int getTransformCapabilities()
@Implementation protected boolean setNightDisplayActivated(boolean activated)
@Implementation protected boolean isNightDisplayActivated()
@Implementation protected boolean setNightDisplayColorTemperature(int temperature)
@Implementation protected int getNightDisplayColorTemperature()
@Implementation protected boolean setNightDisplayAutoMode(int autoMode)
@Implementation protected int getNightDisplayAutoMode()
@Implementation protected boolean setSaturationLevel(int saturationLevel)
@Implementation protected boolean setAppSaturationLevel(String packageName, int saturationLevel)
public boolean setTransformCapabilities(int transformCapabilities)
Sets the current transform capabilities.
public int getAppSaturationLevel(String packageName)
Returns the current display saturation level for the packageName
.
public int getSaturationLevel()
Returns the current display saturation level.