Fields Summary |
---|
private static final int | INDEX_MASK |
private static final int | MSG_SHIFT |
private static final int | MSG_MASK |
private static final int | OP_SET_ICON |
private static final int | OP_REMOVE_ICON |
private static final int | MSG_ICON |
private static final int | MSG_DISABLE |
private static final int | MSG_EXPAND_NOTIFICATIONS |
private static final int | MSG_COLLAPSE_PANELS |
private static final int | MSG_EXPAND_SETTINGS |
private static final int | MSG_SET_SYSTEMUI_VISIBILITY |
private static final int | MSG_TOP_APP_WINDOW_CHANGED |
private static final int | MSG_SHOW_IME_BUTTON |
private static final int | MSG_TOGGLE_RECENT_APPS |
private static final int | MSG_PRELOAD_RECENT_APPS |
private static final int | MSG_CANCEL_PRELOAD_RECENT_APPS |
private static final int | MSG_SET_WINDOW_STATE |
private static final int | MSG_SHOW_RECENT_APPS |
private static final int | MSG_HIDE_RECENT_APPS |
private static final int | MSG_BUZZ_BEEP_BLINKED |
private static final int | MSG_NOTIFICATION_LIGHT_OFF |
private static final int | MSG_NOTIFICATION_LIGHT_PULSE |
private static final int | MSG_SHOW_SCREEN_PIN_REQUEST |
public static final int | FLAG_EXCLUDE_NONE |
public static final int | FLAG_EXCLUDE_SEARCH_PANEL |
public static final int | FLAG_EXCLUDE_RECENTS_PANEL |
public static final int | FLAG_EXCLUDE_NOTIFICATION_PANEL |
public static final int | FLAG_EXCLUDE_INPUT_METHODS_PANEL |
public static final int | FLAG_EXCLUDE_COMPAT_MODE_PANEL |
private static final String | SHOW_IME_SWITCHER_KEY |
private com.android.internal.statusbar.StatusBarIconList | mList |
private Callbacks | mCallbacks |
private android.os.Handler | mHandler |
Methods Summary |
---|
public void | animateCollapsePanels()
synchronized (mList) {
mHandler.removeMessages(MSG_COLLAPSE_PANELS);
mHandler.sendEmptyMessage(MSG_COLLAPSE_PANELS);
}
|
public void | animateExpandNotificationsPanel()
synchronized (mList) {
mHandler.removeMessages(MSG_EXPAND_NOTIFICATIONS);
mHandler.sendEmptyMessage(MSG_EXPAND_NOTIFICATIONS);
}
|
public void | animateExpandSettingsPanel()
synchronized (mList) {
mHandler.removeMessages(MSG_EXPAND_SETTINGS);
mHandler.sendEmptyMessage(MSG_EXPAND_SETTINGS);
}
|
public void | buzzBeepBlinked()
synchronized (mList) {
mHandler.removeMessages(MSG_BUZZ_BEEP_BLINKED);
mHandler.sendEmptyMessage(MSG_BUZZ_BEEP_BLINKED);
}
|
public void | cancelPreloadRecentApps()
synchronized (mList) {
mHandler.removeMessages(MSG_CANCEL_PRELOAD_RECENT_APPS);
mHandler.obtainMessage(MSG_CANCEL_PRELOAD_RECENT_APPS, 0, 0, null).sendToTarget();
}
|
public void | disable(int state)
synchronized (mList) {
mHandler.removeMessages(MSG_DISABLE);
mHandler.obtainMessage(MSG_DISABLE, state, 0, null).sendToTarget();
}
|
public void | hideRecentApps(boolean triggeredFromAltTab, boolean triggeredFromHomeKey)
synchronized (mList) {
mHandler.removeMessages(MSG_HIDE_RECENT_APPS);
mHandler.obtainMessage(MSG_HIDE_RECENT_APPS,
triggeredFromAltTab ? 1 : 0, triggeredFromHomeKey ? 1 : 0,
null).sendToTarget();
}
|
public void | notificationLightOff()
synchronized (mList) {
mHandler.sendEmptyMessage(MSG_NOTIFICATION_LIGHT_OFF);
}
|
public void | notificationLightPulse(int argb, int onMillis, int offMillis)
synchronized (mList) {
mHandler.obtainMessage(MSG_NOTIFICATION_LIGHT_PULSE, onMillis, offMillis, argb)
.sendToTarget();
}
|
public void | preloadRecentApps()
synchronized (mList) {
mHandler.removeMessages(MSG_PRELOAD_RECENT_APPS);
mHandler.obtainMessage(MSG_PRELOAD_RECENT_APPS, 0, 0, null).sendToTarget();
}
|
public void | removeIcon(int index)
synchronized (mList) {
int what = MSG_ICON | index;
mHandler.removeMessages(what);
mHandler.obtainMessage(what, OP_REMOVE_ICON, 0, null).sendToTarget();
}
|
public void | setIcon(int index, com.android.internal.statusbar.StatusBarIcon icon)
synchronized (mList) {
int what = MSG_ICON | index;
mHandler.removeMessages(what);
mHandler.obtainMessage(what, OP_SET_ICON, 0, icon.clone()).sendToTarget();
}
|
public void | setImeWindowStatus(android.os.IBinder token, int vis, int backDisposition, boolean showImeSwitcher)
synchronized (mList) {
mHandler.removeMessages(MSG_SHOW_IME_BUTTON);
Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token);
m.getData().putBoolean(SHOW_IME_SWITCHER_KEY, showImeSwitcher);
m.sendToTarget();
}
|
public void | setSystemUiVisibility(int vis, int mask)
synchronized (mList) {
mHandler.removeMessages(MSG_SET_SYSTEMUI_VISIBILITY);
mHandler.obtainMessage(MSG_SET_SYSTEMUI_VISIBILITY, vis, mask, null).sendToTarget();
}
|
public void | setWindowState(int window, int state)
synchronized (mList) {
// don't coalesce these
mHandler.obtainMessage(MSG_SET_WINDOW_STATE, window, state, null).sendToTarget();
}
|
public void | showRecentApps(boolean triggeredFromAltTab)
synchronized (mList) {
mHandler.removeMessages(MSG_SHOW_RECENT_APPS);
mHandler.obtainMessage(MSG_SHOW_RECENT_APPS,
triggeredFromAltTab ? 1 : 0, 0, null).sendToTarget();
}
|
public void | showScreenPinningRequest()
synchronized (mList) {
mHandler.sendEmptyMessage(MSG_SHOW_SCREEN_PIN_REQUEST);
}
|
public void | toggleRecentApps()
synchronized (mList) {
mHandler.removeMessages(MSG_TOGGLE_RECENT_APPS);
mHandler.obtainMessage(MSG_TOGGLE_RECENT_APPS, 0, 0, null).sendToTarget();
}
|
public void | topAppWindowChanged(boolean menuVisible)
synchronized (mList) {
mHandler.removeMessages(MSG_TOP_APP_WINDOW_CHANGED);
mHandler.obtainMessage(MSG_TOP_APP_WINDOW_CHANGED, menuVisible ? 1 : 0, 0,
null).sendToTarget();
}
|