Class ShadowDisplayManagerGlobal

    • Constructor Detail

      • ShadowDisplayManagerGlobal

        public ShadowDisplayManagerGlobal()
    • Method Detail

      • reset

        @Resetter
        public static void reset()
      • __constructor__

        @Implementation
        protected void __constructor__​(IDisplayManager dm)
      • getWifiDisplayStatus

        @Implementation
        protected WifiDisplayStatus getWifiDisplayStatus()
      • getStableDisplaySize

        @Implementation(minSdk=27)
        public Point getStableDisplaySize()
                                   throws RemoteException
        Returns the 'natural' dimensions of the default display.
        Throws:
        RemoteException
      • setSaturationLevel

        @Implementation(minSdk=28,
                        maxSdk=28)
        protected void setSaturationLevel​(float level)
      • setBrightnessConfigurationForUser

        @Implementation(minSdk=28)
        @HiddenApi
        protected void setBrightnessConfigurationForUser​(Object configObject,
                                                         Object userId,
                                                         Object packageName)
      • getBrightnessConfigurationForUser

        @Implementation(minSdk=28)
        @HiddenApi
        protected Object getBrightnessConfigurationForUser​(int userId)
      • getDefaultBrightnessConfiguration

        @Implementation(minSdk=28)
        @HiddenApi
        protected Object getDefaultBrightnessConfiguration()