/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | StatusBarTest.java | 24 import android.app.StatusBarManager; 34 StatusBarManager mStatusBarManager; 54 mStatusBarManager = (StatusBarManager)getSystemService(STATUS_BAR_SERVICE); in tests() 179 mStatusBarManager.disable(StatusBarManager.DISABLE_NOTIFICATION_ALERTS); 184 mStatusBarManager.disable(StatusBarManager.DISABLE_NOTIFICATION_TICKER); 191 mStatusBarManager.disable(StatusBarManager.DISABLE_EXPAND); 200 mStatusBarManager.disable(StatusBarManager.DISABLE_NOTIFICATION_ICONS); 209 mStatusBarManager.disable(StatusBarManager.DISABLE_EXPAND 210 | StatusBarManager.DISABLE_NOTIFICATION_ICONS); 217 mStatusBarManager.disable(StatusBarManager.DISABLE_HOME); [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | LockTaskController.java | 45 import android.app.StatusBarManager; 91 static final int STATUS_BAR_MASK_LOCKED = StatusBarManager.DISABLE_MASK 92 & (~StatusBarManager.DISABLE_EXPAND) 93 & (~StatusBarManager.DISABLE_NOTIFICATION_TICKER) 94 & (~StatusBarManager.DISABLE_SYSTEM_INFO) 95 & (~StatusBarManager.DISABLE_BACK); 97 static final int STATUS_BAR_MASK_PINNED = StatusBarManager.DISABLE_MASK 98 & (~StatusBarManager.DISABLE_BACK) 99 & (~StatusBarManager.DISABLE_HOME) 100 & (~StatusBarManager.DISABLE_RECENT); [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BarController.java | 22 import android.app.StatusBarManager; 65 private int mState = StatusBarManager.WINDOW_STATE_SHOWING; 194 (mState == StatusBarManager.WINDOW_STATE_SHOWING) ? 1 : 0, 0).sendToTarget(); in setOnBarVisibilityChangedListener() 206 if (mState == StatusBarManager.WINDOW_STATE_HIDING && !change && !vis) { in computeStateLw() 207 return StatusBarManager.WINDOW_STATE_HIDDEN; in computeStateLw() 208 } else if (mState == StatusBarManager.WINDOW_STATE_HIDDEN && vis) { in computeStateLw() 209 return StatusBarManager.WINDOW_STATE_SHOWING; in computeStateLw() 212 return StatusBarManager.WINDOW_STATE_HIDING; in computeStateLw() 214 return StatusBarManager.WINDOW_STATE_SHOWING; in computeStateLw() 224 if (DEBUG) Slog.d(mTag, "mState: " + StatusBarManager.windowStateToString(state)); in updateStateLw() [all …]
|
D | StatusBarController.java | 23 import android.app.StatusBarManager; 106 StatusBarManager.WINDOW_STATUS_BAR, in StatusBarController()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | LockTaskControllerTest.java | 22 import static android.app.StatusBarManager.DISABLE2_MASK; 23 import static android.app.StatusBarManager.DISABLE2_NONE; 24 import static android.app.StatusBarManager.DISABLE2_NOTIFICATION_SHADE; 25 import static android.app.StatusBarManager.DISABLE_HOME; 26 import static android.app.StatusBarManager.DISABLE_NOTIFICATION_ALERTS; 27 import static android.app.StatusBarManager.DISABLE_NOTIFICATION_ICONS; 42 import android.app.StatusBarManager; 574 assertTrue((StatusBarManager.DISABLE_CLOCK & flags.first) != 0); in testGetStatusBarDisableFlags() 575 assertTrue((StatusBarManager.DISABLE2_QUICK_SETTINGS & flags.second) != 0); in testGetStatusBarDisableFlags() 583 assertTrue((StatusBarManager.DISABLE_HOME & flags.first) == 0); in testGetStatusBarDisableFlags() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | GlobalActionPerformer.java | 20 import android.app.StatusBarManager; 132 StatusBarManager statusBarManager = (StatusBarManager) mContext.getSystemService( in expandNotifications() 142 StatusBarManager statusBarManager = (StatusBarManager) mContext.getSystemService( in expandQuickSettings()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CollapsedStatusBarFragmentTest.java | 23 import android.app.StatusBarManager; 88 fragment.disable(StatusBarManager.DISABLE_SYSTEM_INFO, 0, false); in testDisableSystemInfo() 106 fragment.disable(StatusBarManager.DISABLE_NOTIFICATION_ICONS, 0, false); in testDisableNotifications() 122 fragment.disable(StatusBarManager.DISABLE_CLOCK, 0, false); in testDisableClock()
|
D | StatusBarTest.java | 41 import android.app.StatusBarManager; 450 mStatusBar.disable(StatusBarManager.DISABLE_EXPAND, 0, false /* animate */); in testPeek_disabledStatusBar() 462 mStatusBar.disable(0, StatusBarManager.DISABLE2_NOTIFICATION_SHADE, false /* animate */); in testPeek_disabledNotificationShade() 543 mStatusBar.disable(StatusBarManager.DISABLE_NONE, in testDisableExpandStatusBar() 544 StatusBarManager.DISABLE2_NOTIFICATION_SHADE, false); in testDisableExpandStatusBar() 551 mStatusBar.disable(StatusBarManager.DISABLE_NONE, StatusBarManager.DISABLE2_NONE, false); in testDisableExpandStatusBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ManagedProfileControllerImpl.java | 18 import android.app.StatusBarManager; 65 StatusBarManager statusBarManager = (StatusBarManager) mContext in setWorkModeEnabled()
|
D | NavigationBarFragment.java | 17 import static android.app.StatusBarManager.NAVIGATION_HINT_BACK_ALT; 18 import static android.app.StatusBarManager.NAVIGATION_HINT_IME_SHOWN; 19 import static android.app.StatusBarManager.WINDOW_STATE_SHOWING; 20 import static android.app.StatusBarManager.windowStateToString; 40 import android.app.StatusBarManager; 397 && window == StatusBarManager.WINDOW_NAVIGATION_BAR in setWindowState() 417 + StatusBarManager.windowStateToString(mNavigationBarWindowState) in onRotationProposal() 677 final int masked = state1 & (StatusBarManager.DISABLE_HOME in disable() 678 | StatusBarManager.DISABLE_RECENT in disable() 679 | StatusBarManager.DISABLE_BACK in disable() [all …]
|
D | StatusBar.java | 19 import static android.app.StatusBarManager.WINDOW_STATE_HIDDEN; 20 import static android.app.StatusBarManager.WINDOW_STATE_SHOWING; 21 import static android.app.StatusBarManager.windowStateToString; 53 import android.app.StatusBarManager; 1451 && ((mDisabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) == 0) in updateQsExpansionEnabled() 1452 && ((mDisabled2 & StatusBarManager.DISABLE2_QUICK_SETTINGS) == 0) in updateQsExpansionEnabled() 1794 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_EXPAND)) ? 'E' : 'e'); in disable() 1795 … flagdbg.append(0 != ((diff1 & StatusBarManager.DISABLE_EXPAND)) ? '!' : ' '); in disable() 1796 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_NOTIFICATION_ICONS)) ? 'I' : 'i'); in disable() 1797 … flagdbg.append(0 != ((diff1 & StatusBarManager.DISABLE_NOTIFICATION_ICONS)) ? '!' : ' '); in disable() [all …]
|
D | CollapsedStatusBarFragment.java | 17 import static android.app.StatusBarManager.DISABLE_CLOCK; 18 import static android.app.StatusBarManager.DISABLE_NOTIFICATION_ICONS; 19 import static android.app.StatusBarManager.DISABLE_SYSTEM_INFO; 23 import android.app.StatusBarManager;
|
D | NavigationBarView.java | 31 import android.app.StatusBarManager; 523 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in orientBackButton() 584 final boolean backAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints() 585 if ((mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0 && !backAlt) { in setNavigationIconHints() 618 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in updateNavButtonIcons() 636 ((mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_IME_SHOWN) != 0); in updateNavButtonIcons() 805 ((mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_IME_SHOWN) == 0); in setMenuVisibility()
|
D | StatusBarIconController.java | 17 import static android.app.StatusBarManager.DISABLE2_SYSTEM_ICONS; 18 import static android.app.StatusBarManager.DISABLE_NONE;
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | UiBot.java | 20 import android.app.StatusBarManager; 67 StatusBarManager sbm = in collapseStatusBar() 68 (StatusBarManager) mInstrumentation.getContext().getSystemService("statusbar"); in collapseStatusBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputQuickSettingsDisabler.java | 19 import android.app.StatusBarManager; 51 state |= StatusBarManager.DISABLE2_QUICK_SETTINGS; in adjustDisableFlags()
|
D | LocationControllerImpl.java | 23 import android.app.StatusBarManager; 52 private StatusBarManager mStatusBarManager; 71 = (StatusBarManager) context.getSystemService(Context.STATUS_BAR_SERVICE); in LocationControllerImpl()
|
D | Clock.java | 19 import android.app.StatusBarManager; 247 boolean clockVisibleByPolicy = (state1 & StatusBarManager.DISABLE_CLOCK) == 0; in disable()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | GlobalActionPerformerTest.java | 26 import android.app.StatusBarManager; 46 @Mock StatusBarManager mMockStatusBarManager;
|
/frameworks/base/core/java/android/app/ |
D | StatusBarManager.java | 40 public class StatusBarManager { class 114 StatusBarManager(Context context) { in StatusBarManager() method in StatusBarManager
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 20 import android.app.StatusBarManager; 384 StatusBarManager.CAMERA_LAUNCH_SOURCE_POWER_DOUBLE_TAP); in interceptPowerKeyDown() 459 StatusBarManager.CAMERA_LAUNCH_SOURCE_WIGGLE)) { in onSensorChanged() 543 StatusBarManager.CAMERA_LAUNCH_SOURCE_LIFT_TRIGGER)) { in onTrigger()
|
D | UiModeManagerService.java | 26 import android.app.StatusBarManager; 111 private StatusBarManager mStatusBarManager; 667 mStatusBarManager = (StatusBarManager) in adjustStatusBarCarModeLocked() 678 ? StatusBarManager.DISABLE_NOTIFICATION_TICKER in adjustStatusBarCarModeLocked() 679 : StatusBarManager.DISABLE_NONE); in adjustStatusBarCarModeLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 18 import static android.app.StatusBarManager.DISABLE2_SYSTEM_ICONS; 19 import static android.app.StatusBarManager.DISABLE_NONE;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 31 import android.app.StatusBarManager; 200 private StatusBarManager mStatusBarManager; 1906 mStatusBarManager = (StatusBarManager) in adjustStatusBarLocked() 1914 int flags = StatusBarManager.DISABLE_NONE; in adjustStatusBarLocked() 1916 flags |= StatusBarManager.DISABLE_HOME | StatusBarManager.DISABLE_RECENT; in adjustStatusBarLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSContainerImpl.java | 19 import static android.app.StatusBarManager.DISABLE2_QUICK_SETTINGS;
|