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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
disable
(int what) protected void
disable2
(int what) int
Returns the disable flags previously set indisable2(int)
.int
Returns the disable flags previously set indisable(int)
.protected int
static void
reset()
protected void
setDisabledForSetup
(boolean disabled) protected void
setNavBarMode
(int mode)
-
Field Details
-
DEFAULT_DISABLE_MASK
public static final int DEFAULT_DISABLE_MASK- See Also:
-
DEFAULT_DISABLE2_MASK
public static final int DEFAULT_DISABLE2_MASK- See Also:
-
DISABLE_NOTIFICATION_ALERTS
public static final int DISABLE_NOTIFICATION_ALERTS- See Also:
-
DISABLE_EXPAND
public static final int DISABLE_EXPAND- See Also:
-
DISABLE_HOME
public static final int DISABLE_HOME- See Also:
-
DISABLE_CLOCK
public static final int DISABLE_CLOCK- See Also:
-
DISABLE_RECENT
public static final int DISABLE_RECENT- See Also:
-
DISABLE_SEARCH
public static final int DISABLE_SEARCH- See Also:
-
DISABLE_NONE
public static final int DISABLE_NONE- See Also:
-
DISABLE2_ROTATE_SUGGESTIONS
public static final int DISABLE2_ROTATE_SUGGESTIONS- See Also:
-
DISABLE2_NONE
public static final int DISABLE2_NONE- See Also:
-
-
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)
. -
reset
-