Package org.robolectric.shadows
Class ShadowDisplayManagerGlobal
java.lang.Object
org.robolectric.shadows.ShadowDisplayManagerGlobal
@Implements(value=android.hardware.display.DisplayManagerGlobal.class,
            isInAndroidSdk=false)
public class ShadowDisplayManagerGlobal
extends Object
Shadow for 
DisplayManagerGlobal.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected ObjectgetBrightnessConfigurationForUser(int userId) protected List<BrightnessChangeEvent>getBrightnessEvents(String callingPackage) protected Objectstatic DisplayManagerGlobalReturns the 'natural' dimensions of the default display.protected WifiDisplayStatusstatic voidreset()protected voidsetBrightnessConfigurationForUser(Object configObject, int userId, String packageName) protected voidsetSaturationLevel(float level)  
- 
Constructor Details
- 
ShadowDisplayManagerGlobal
public ShadowDisplayManagerGlobal() 
 - 
 - 
Method Details
- 
reset
 - 
__constructor__
 - 
getInstance
 - 
getWifiDisplayStatus
 - 
getStableDisplaySize
Returns the 'natural' dimensions of the default display.- Throws:
 RemoteException
 - 
setSaturationLevel
 - 
setBrightnessConfigurationForUser
@Implementation(minSdk=28) @HiddenApi protected void setBrightnessConfigurationForUser(Object configObject, int userId, String packageName)  - 
getBrightnessConfigurationForUser
@Implementation(minSdk=28) @HiddenApi protected Object getBrightnessConfigurationForUser(int userId)  - 
getDefaultBrightnessConfiguration
 - 
getBrightnessEvents
@Implementation(minSdk=28) @HiddenApi protected List<BrightnessChangeEvent> getBrightnessEvents(String callingPackage)  
 -