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 Details

    • ShadowColorDisplayManager

      public ShadowColorDisplayManager()
  • Method Details

    • __constructor__

      @Implementation protected void __constructor__()
    • getTransformCapabilities

      @Implementation protected int getTransformCapabilities()
    • setNightDisplayActivated

      @Implementation protected boolean setNightDisplayActivated(boolean activated)
    • isNightDisplayActivated

      @Implementation protected boolean isNightDisplayActivated()
    • setNightDisplayColorTemperature

      @Implementation protected boolean setNightDisplayColorTemperature(int temperature)
    • getNightDisplayColorTemperature

      @Implementation protected int getNightDisplayColorTemperature()
    • setNightDisplayAutoMode

      @Implementation protected boolean setNightDisplayAutoMode(int autoMode)
    • getNightDisplayAutoMode

      @Implementation protected int getNightDisplayAutoMode()
    • setSaturationLevel

      @Implementation protected boolean setSaturationLevel(int saturationLevel)
    • setAppSaturationLevel

      @Implementation protected boolean setAppSaturationLevel(String packageName, int saturationLevel)
    • setTransformCapabilities

      public boolean setTransformCapabilities(int transformCapabilities)
      Sets the current transform capabilities.
    • getAppSaturationLevel

      public int getAppSaturationLevel(String packageName)
      Returns the current display saturation level for the packageName.
    • getSaturationLevel

      public int getSaturationLevel()
      Returns the current display saturation level.