Lines Matching defs:state

463         public void onPlaybackStateChanged(PlaybackState state) {
464 super.onPlaybackStateChanged(state);
465 if (DEBUG_MEDIA) Log.v(TAG, "DEBUG_MEDIA: onPlaybackStateChanged: " + state);
498 // Fingerprint (as computed by getLoggingFingerprint() of the last logged state.
593 // in session state
1092 // we want to freeze the sysui state wherever it is
1771 final PlaybackState state = aController.getPlaybackState();
1772 if (state == null) continue;
1773 switch (state.getState()) {
1880 + " state=" + mState);
1984 private int adjustDisableFlags(int state) {
1987 state |= StatusBarManager.DISABLE_NOTIFICATION_ICONS;
1988 state |= StatusBarManager.DISABLE_SYSTEM_INFO;
1990 return state;
1996 public void disable(int state, boolean animate) {
1997 mDisabledUnmodified = state;
1998 state = adjustDisableFlags(state);
2000 final int diff = state ^ old;
2001 mDisabled = state;
2005 old, state, diff));
2010 flagdbg.append(((state & StatusBarManager.DISABLE_EXPAND) != 0) ? "EXPAND" : "expand");
2012 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) ? "ICONS" : "icons");
2014 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0) ? "ALERTS" : "alerts");
2016 flagdbg.append(((state & StatusBarManager.DISABLE_SYSTEM_INFO) != 0) ? "SYSTEM_INFO" : "system_info");
2018 flagdbg.append(((state & StatusBarManager.DISABLE_BACK) != 0) ? "BACK" : "back");
2020 flagdbg.append(((state & StatusBarManager.DISABLE_HOME) != 0) ? "HOME" : "home");
2022 flagdbg.append(((state & StatusBarManager.DISABLE_RECENT) != 0) ? "RECENT" : "recent");
2024 flagdbg.append(((state & StatusBarManager.DISABLE_CLOCK) != 0) ? "CLOCK" : "clock");
2026 flagdbg.append(((state & StatusBarManager.DISABLE_SEARCH) != 0) ? "SEARCH" : "search");
2033 if ((state & StatusBarManager.DISABLE_SYSTEM_INFO) != 0) {
2041 boolean show = (state & StatusBarManager.DISABLE_CLOCK) == 0;
2045 if ((state & StatusBarManager.DISABLE_EXPAND) != 0) {
2055 if (mNavigationBarView != null) mNavigationBarView.setDisabledFlags(state);
2057 if ((state & StatusBarManager.DISABLE_RECENT) != 0) {
2065 if ((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {
2077 (state & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0;
2186 * To be called when there's a state change in StatusBarKeyguardViewManager.
2441 // reset things to their proper state
2528 public void setWindowState(int window, int state) {
2529 boolean showing = state == WINDOW_STATE_SHOWING;
2532 && mStatusBarWindowState != state) {
2533 mStatusBarWindowState = state;
2534 if (DEBUG_WINDOW_STATE) Log.d(TAG, "Status bar " + windowStateToString(state));
2541 && mNavigationBarWindowState != state) {
2542 mNavigationBarWindowState = state;
2543 if (DEBUG_WINDOW_STATE) Log.d(TAG, "Navigation bar " + windowStateToString(state));
2579 // we never set the recents bit via this method, so save the prior state to prevent
2899 pw.println("Current Status Bar state:");
2950 pw.print(" state=" + mMediaController.getPlaybackState());
3731 // Keyguard state has changed, but QS is not listening anymore. Make sure to update the tile
3901 * @param state The {@link StatusBarState} to set.
3903 public void setBarState(int state) {
3908 if (state != mState && mVisible && state == StatusBarState.SHADE_LOCKED) {
3915 mState = state;
3916 mStatusBarWindowManager.setStatusBarState(state);
4250 // Keeps the last reported state by fireNotificationLight.