public class TvStatusBar
extends com.android.systemui.statusbar.BaseStatusBar
DEBUG, ENABLE_CHILD_NOTIFICATIONS, ENABLE_HEADS_UP, ENABLE_REMOTE_INPUT, FORCE_REMOTE_INPUT_HISTORY, mAccessibilityManager, mAllowLockscreenRemoteInput, mAssistManager, mBarService, mBouncerShowing, mCommandQueue, mCurrentProfiles, mCurrentUserId, mDeviceInteractive, mDevicePolicyManager, mDisableNotificationAlerts, mDismissView, mDisplay, mDreamManager, mEmptyShadeView, mGroupManager, mHandler, mHeadsUpEntriesToRemoveOnSwitch, mHeadsUpManager, mHeadsUpTicker, mKeyguardIconOverflowContainer, mKeysKeptForRemoteInput, mLayoutDirection, mNavigationBarView, mNotificationData, mPowerManager, mRecents, mRecentsPreloadOnTouchListener, mRemoteInputController, mRemoteInputEntriesToRemoveOnCollapse, mSettingsObserver, MSG_CANCEL_PRELOAD_RECENT_APPS, MSG_DISMISS_KEYBOARD_SHORTCUTS_MENU, MSG_HIDE_RECENT_APPS, MSG_PRELOAD_RECENT_APPS, MSG_SHOW_NEXT_AFFILIATED_TASK, MSG_SHOW_PREV_AFFILIATED_TASK, MSG_SHOW_RECENT_APPS, MSG_TOGGLE_KEYBOARD_SHORTCUTS_MENU, MSG_TOGGLE_RECENTS_APPS, mShowLockscreenNotifications, mStackScroller, mState, mStatusBarKeyguardViewManager, MULTIUSER_DEBUG, mUseHeadsUp, mVisible, mVrMode, mWindowManager, mWindowManagerService, mZenMode, SETTING_HEADS_UP_TICKER, SYSTEM_DIALOG_REASON_HOME_KEY, SYSTEM_DIALOG_REASON_RECENT_APPS, TAG
mComponents, mContext
Constructor and Description |
---|
TvStatusBar() |
Modifier and Type | Method and Description |
---|---|
void |
addNotification(StatusBarNotification notification,
NotificationListenerService.RankingMap ranking,
com.android.systemui.statusbar.NotificationData.Entry entry) |
void |
addQsTile(ComponentName tile) |
void |
animateCollapsePanels(int flags) |
void |
animateExpandNotificationsPanel() |
void |
animateExpandSettingsPanel(String subPanel) |
void |
appTransitionCancelled() |
void |
appTransitionFinished() |
void |
appTransitionPending() |
void |
appTransitionStarting(long startTime,
long duration) |
void |
buzzBeepBlinked() |
void |
clickTile(ComponentName tile) |
protected void |
createAndAddWindows()
Create all windows necessary for the status bar (including navigation, overlay panels, etc)
and add them to the window manager.
|
void |
disable(int state1,
int state2,
boolean animate) |
protected int |
getMaxKeyguardNotifications(boolean recompute) |
View |
getStatusBarView() |
void |
handleSystemNavigationKey(int arg1) |
boolean |
isPanelFullyCollapsed() |
protected boolean |
isSnoozedPackage(StatusBarNotification sbn) |
void |
maybeEscalateHeadsUp()
If there is an active heads-up notification and it has a fullscreen intent, fire it now.
|
void |
notificationLightOff() |
void |
notificationLightPulse(int argb,
int onMillis,
int offMillis) |
void |
onActivated(com.android.systemui.statusbar.ActivatableNotificationView view) |
void |
onActivationReset(com.android.systemui.statusbar.ActivatableNotificationView view) |
void |
onCameraLaunchGestureDetected(int source) |
protected void |
refreshLayout(int layoutDirection) |
void |
removeIcon(String slot) |
void |
removeNotification(String key,
NotificationListenerService.RankingMap ranking) |
void |
remQsTile(ComponentName tile) |
protected void |
setAreThereNotifications() |
protected void |
setHeadsUpUser(int newUserId) |
void |
setIcon(String slot,
StatusBarIcon icon) |
void |
setImeWindowStatus(IBinder token,
int vis,
int backDisposition,
boolean showImeSwitcher) |
void |
setSystemUiVisibility(int vis,
int fullscreenStackVis,
int dockedStackVis,
int mask,
Rect fullscreenStackBounds,
Rect dockedStackBounds) |
void |
setWindowState(int window,
int state) |
boolean |
shouldDisableNavbarGestures() |
void |
showScreenPinningRequest(int taskId) |
void |
showTvPictureInPictureMenu() |
void |
start() |
protected void |
toggleSplitScreenMode(int metricsDockAction,
int metricsUndockAction)
Toggle docking the app window
|
void |
topAppWindowChanged(boolean visible) |
protected void |
updateHeadsUp(String key,
com.android.systemui.statusbar.NotificationData.Entry entry,
boolean shouldPeek,
boolean alertAgain) |
protected void |
updateNotificationRanking(NotificationListenerService.RankingMap ranking) |
protected void |
updateNotifications() |
addNotificationViews, addPostCollapseAction, animateCollapsePanels, animateCollapsePanels, applyColorsAndBackgrounds, bindDismissListener, cancelPreloadingRecents, cancelPreloadRecentApps, clearNotificationEffects, createHandler, createIcon, createNotificationViews, destroy, dismissKeyboardShortcuts, dismissKeyboardShortcutsMenu, dismissKeyguardThenExecute, dismissPopups, dismissPopups, getActivityOptions, getCurrentMediaNotificationKey, getExposedGuts, getGroupManager, getNotificationLongClicker, getPackageManagerForUser, handleVisibleToUserChanged, hideRecentApps, hideRecents, inflateViews, isBouncerShowing, isCollapsing, isCurrentProfile, isDeviceInVrMode, isDeviceProvisioned, isKeyguardSecure, isLockscreenPublicMode, isMediaNotification, isNotificationForCurrentProfiles, logNotificationExpansion, notifyHeadsUpScreenOff, notifyUserAboutHiddenNotifications, onConfigurationChanged, onDensityOrFontScaleChanged, onExpandClicked, onGutsClosed, onLockedNotificationImportanceChange, onLockedRemoteInput, onLockedWorkRemoteInput, onNotificationClear, onPanelLaidOut, onSecureLockScreen, onWorkChallengeUnlocked, overrideActivityPendingAppTransition, performRemoveNotification, preloadRecentApps, preloadRecents, removeNotificationViews, sendCloseSystemWindows, setBouncerShowing, setInteracting, setLockScreenAllowRemoteInput, setLockscreenPublicMode, setNotificationShown, setNotificationsShown, setShowLockscreenNotifications, setZenMode, shouldHideNotifications, shouldHideNotifications, shouldPeek, shouldPeek, shouldShowOnKeyguard, showAssistDisclosure, showNextAffiliatedTask, showPreviousAffiliatedTask, showRecentApps, showRecents, showRecentsNextAffiliatedTask, showRecentsPreviousAffiliatedTask, startAssist, startPendingIntentDismissingKeyguard, startWorkChallengeIfNecessary, toggleKeyboardShortcuts, toggleKeyboardShortcutsMenu, toggleRecentApps, toggleRecents, toggleSplitScreen, updateNotification, updatePublicContentView, updateRowStates, updateVisibleToUser, userAllowsNotificationsInPublic, userAllowsPrivateNotificationsInPublic, userSwitched, visibilityChanged, workAroundBadLayerDrawableOpacity
dump, getComponent, onBootCompleted, overrideNotificationAppName, putComponent
public void setIcon(String slot, StatusBarIcon icon)
public void removeIcon(String slot)
public void addNotification(StatusBarNotification notification, NotificationListenerService.RankingMap ranking, com.android.systemui.statusbar.NotificationData.Entry entry)
addNotification
in class com.android.systemui.statusbar.BaseStatusBar
protected void updateNotificationRanking(NotificationListenerService.RankingMap ranking)
updateNotificationRanking
in class com.android.systemui.statusbar.BaseStatusBar
public void removeNotification(String key, NotificationListenerService.RankingMap ranking)
removeNotification
in class com.android.systemui.statusbar.BaseStatusBar
public void disable(int state1, int state2, boolean animate)
public void animateExpandNotificationsPanel()
public void animateCollapsePanels(int flags)
public void setSystemUiVisibility(int vis, int fullscreenStackVis, int dockedStackVis, int mask, Rect fullscreenStackBounds, Rect dockedStackBounds)
public void topAppWindowChanged(boolean visible)
public void setImeWindowStatus(IBinder token, int vis, int backDisposition, boolean showImeSwitcher)
public void setWindowState(int window, int state)
public void buzzBeepBlinked()
public void notificationLightOff()
public void notificationLightPulse(int argb, int onMillis, int offMillis)
protected void setAreThereNotifications()
setAreThereNotifications
in class com.android.systemui.statusbar.BaseStatusBar
protected void updateNotifications()
updateNotifications
in class com.android.systemui.statusbar.BaseStatusBar
public boolean shouldDisableNavbarGestures()
shouldDisableNavbarGestures
in class com.android.systemui.statusbar.BaseStatusBar
public View getStatusBarView()
getStatusBarView
in class com.android.systemui.statusbar.BaseStatusBar
protected void toggleSplitScreenMode(int metricsDockAction, int metricsUndockAction)
com.android.systemui.statusbar.BaseStatusBar
toggleSplitScreenMode
in class com.android.systemui.statusbar.BaseStatusBar
metricsDockAction
- the action to log when docking is successful, or -1 to not log
anything on successful dockingmetricsUndockAction
- the action to log when undocking, or -1 to not log anything when
undockingpublic void maybeEscalateHeadsUp()
com.android.systemui.statusbar.BaseStatusBar
maybeEscalateHeadsUp
in class com.android.systemui.statusbar.BaseStatusBar
public boolean isPanelFullyCollapsed()
isPanelFullyCollapsed
in class com.android.systemui.statusbar.BaseStatusBar
protected int getMaxKeyguardNotifications(boolean recompute)
getMaxKeyguardNotifications
in class com.android.systemui.statusbar.BaseStatusBar
recompute
- wheter the number should be recomputedpublic void animateExpandSettingsPanel(String subPanel)
protected void createAndAddWindows()
com.android.systemui.statusbar.BaseStatusBar
createAndAddWindows
in class com.android.systemui.statusbar.BaseStatusBar
protected void refreshLayout(int layoutDirection)
refreshLayout
in class com.android.systemui.statusbar.BaseStatusBar
public void onActivated(com.android.systemui.statusbar.ActivatableNotificationView view)
public void onActivationReset(com.android.systemui.statusbar.ActivatableNotificationView view)
public void showScreenPinningRequest(int taskId)
public void appTransitionPending()
public void appTransitionCancelled()
public void appTransitionStarting(long startTime, long duration)
public void appTransitionFinished()
public void onCameraLaunchGestureDetected(int source)
public void showTvPictureInPictureMenu()
protected void updateHeadsUp(String key, com.android.systemui.statusbar.NotificationData.Entry entry, boolean shouldPeek, boolean alertAgain)
updateHeadsUp
in class com.android.systemui.statusbar.BaseStatusBar
protected void setHeadsUpUser(int newUserId)
setHeadsUpUser
in class com.android.systemui.statusbar.BaseStatusBar
protected boolean isSnoozedPackage(StatusBarNotification sbn)
isSnoozedPackage
in class com.android.systemui.statusbar.BaseStatusBar
public void addQsTile(ComponentName tile)
public void remQsTile(ComponentName tile)
public void clickTile(ComponentName tile)
public void start()
start
in class com.android.systemui.statusbar.BaseStatusBar
public void handleSystemNavigationKey(int arg1)