Package org.robolectric.shadows
Class ShadowStatusBarManager
java.lang.Object
org.robolectric.shadows.ShadowStatusBarManager
@Implements(value=android.app.StatusBarManager.class, isInAndroidSdk=false) public class ShadowStatusBarManager extends Object
Robolectric implementation of
StatusBarManager
.-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_DISABLE_MASK
static int
DEFAULT_DISABLE2_MASK
static int
DISABLE_CLOCK
static int
DISABLE_EXPAND
static int
DISABLE_HOME
static int
DISABLE_NONE
static int
DISABLE_NOTIFICATION_ALERTS
static int
DISABLE_RECENT
static int
DISABLE_SEARCH
static int
DISABLE2_NONE
static int
DISABLE2_ROTATE_SUGGESTIONS
-
Constructor Summary
Constructors Constructor Description ShadowStatusBarManager()
-
Method Summary
Modifier and Type Method Description protected void
disable(int what)
protected void
disable2(int what)
int
getDisable2Flags()
Returns the disable flags previously set indisable2(int)
.int
getDisableFlags()
Returns the disable flags previously set indisable(int)
.protected void
setDisabledForSetup(boolean disabled)
-
Field Details
-
DEFAULT_DISABLE_MASK
public static final int DEFAULT_DISABLE_MASK- See Also:
- Constant Field Values
-
DEFAULT_DISABLE2_MASK
public static final int DEFAULT_DISABLE2_MASK- See Also:
- Constant Field Values
-
DISABLE_NOTIFICATION_ALERTS
public static final int DISABLE_NOTIFICATION_ALERTS- See Also:
- Constant Field Values
-
DISABLE_EXPAND
public static final int DISABLE_EXPAND- See Also:
- Constant Field Values
-
DISABLE_HOME
public static final int DISABLE_HOME- See Also:
- Constant Field Values
-
DISABLE_CLOCK
public static final int DISABLE_CLOCK- See Also:
- Constant Field Values
-
DISABLE_RECENT
public static final int DISABLE_RECENT- See Also:
- Constant Field Values
-
DISABLE_SEARCH
public static final int DISABLE_SEARCH- See Also:
- Constant Field Values
-
DISABLE_NONE
public static final int DISABLE_NONE- See Also:
- Constant Field Values
-
DISABLE2_ROTATE_SUGGESTIONS
public static final int DISABLE2_ROTATE_SUGGESTIONS- See Also:
- Constant Field Values
-
DISABLE2_NONE
public static final int DISABLE2_NONE- See Also:
- Constant Field Values
-
-
Constructor Details
-
ShadowStatusBarManager
public ShadowStatusBarManager()
-
-
Method Details
-
disable
-
disable2
-
setDisabledForSetup
-
getDisableFlags
public int getDisableFlags()Returns the disable flags previously set indisable(int)
. -
getDisable2Flags
public int getDisable2Flags()Returns the disable flags previously set indisable2(int)
.
-