@Implements(className="android.hardware.display.ColorDisplayManager", isInAndroidSdk=false, minSdk=29) public class ShadowColorDisplayManager extends Object
Constructor | Description |
---|---|
ShadowColorDisplayManager() |
Modifier and Type | Method | 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)
public int getAppSaturationLevel(String packageName)
packageName
.public int getSaturationLevel()