@Implements(value=android.hardware.display.DisplayManagerGlobal.class, isInAndroidSdk=false, minSdk=17) public class ShadowDisplayManagerGlobal extends Object
Constructor and Description |
---|
ShadowDisplayManagerGlobal() |
Modifier and Type | Method and Description |
---|---|
static DisplayManagerGlobal |
getInstance() |
Point |
getStableDisplaySize()
Returns the ‘natural’ dimensions of the default display.
|
protected WifiDisplayStatus |
getWifiDisplayStatus() |
static void |
reset() |
protected void |
setSaturationLevel(float level) |
@Resetter public static void reset()
@Implementation public static DisplayManagerGlobal getInstance()
@Implementation protected WifiDisplayStatus getWifiDisplayStatus()
@Implementation(minSdk=27) public Point getStableDisplaySize() throws RemoteException
Returns the ‘natural’ dimensions of the default display.
RemoteException
@Implementation(minSdk=28, maxSdk=28) protected void setSaturationLevel(float level)