public class StatusBarWindowManager extends Object implements com.android.systemui.statusbar.RemoteInputController.Callback
Constructor and Description |
---|
StatusBarWindowManager(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
add(View statusBarView,
int barHeight)
Adds the status bar view to the window manager.
|
void |
dump(FileDescriptor fd,
PrintWriter pw,
String[] args) |
boolean |
isShowingWallpaper() |
void |
onRemoteInputActive(boolean remoteInputActive) |
void |
setBackdropShowing(boolean showing) |
void |
setBarHeight(int barHeight) |
void |
setBouncerShowing(boolean showing) |
void |
setForceDozeBrightness(boolean forceDozeBrightness)
Set whether the screen brightness is forced to the value we use for doze mode by the status
bar window.
|
void |
setForceStatusBarVisible(boolean forceStatusBarVisible) |
void |
setForceUserActivity(boolean forceUserActivity) |
void |
setForceWindowCollapsed(boolean force)
Force the window to be collapsed, even if it should theoretically be expanded.
|
void |
setHeadsUpShowing(boolean showing) |
void |
setKeyguardFadingAway(boolean keyguardFadingAway) |
void |
setKeyguardNeedsInput(boolean needsInput) |
void |
setKeyguardOccluded(boolean occluded) |
void |
setKeyguardShowing(boolean showing) |
void |
setPanelExpanded(boolean isExpanded) |
void |
setPanelVisible(boolean visible) |
void |
setQsExpanded(boolean expanded) |
void |
setStatusBarFocusable(boolean focusable) |
void |
setStatusBarState(int state) |
public StatusBarWindowManager(Context context)
public void add(View statusBarView, int barHeight)
statusBarView
- The view to add.barHeight
- The height of the status bar in collapsed state.public void setKeyguardShowing(boolean showing)
public void setKeyguardOccluded(boolean occluded)
public void setKeyguardNeedsInput(boolean needsInput)
public void setPanelVisible(boolean visible)
public void setStatusBarFocusable(boolean focusable)
public void setBouncerShowing(boolean showing)
public void setBackdropShowing(boolean showing)
public void setKeyguardFadingAway(boolean keyguardFadingAway)
public void setQsExpanded(boolean expanded)
public void setForceUserActivity(boolean forceUserActivity)
public void setHeadsUpShowing(boolean showing)
public void setStatusBarState(int state)
state
- The StatusBarState
of the status bar.public void setForceStatusBarVisible(boolean forceStatusBarVisible)
public void setForceWindowCollapsed(boolean force)
public void setPanelExpanded(boolean isExpanded)
public void onRemoteInputActive(boolean remoteInputActive)
onRemoteInputActive
in interface com.android.systemui.statusbar.RemoteInputController.Callback
public void setForceDozeBrightness(boolean forceDozeBrightness)
public void setBarHeight(int barHeight)
public void dump(FileDescriptor fd, PrintWriter pw, String[] args)
public boolean isShowingWallpaper()