/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | StatusBarTest.java | 22 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/wm/ |
D | BarController.java | 23 import android.app.StatusBarManager; 69 private @StatusBarManager.WindowVisibleState int mState = 70 StatusBarManager.WINDOW_STATE_SHOWING; 220 (mState == StatusBarManager.WINDOW_STATE_SHOWING) ? 1 : 0, 0).sendToTarget(); in setOnBarVisibilityChangedListener() 228 private @StatusBarManager.WindowVisibleState int computeStateLw( in computeStateLw() 233 if (mState == StatusBarManager.WINDOW_STATE_HIDING && !change && !vis) { in computeStateLw() 234 return StatusBarManager.WINDOW_STATE_HIDDEN; in computeStateLw() 235 } else if (mState == StatusBarManager.WINDOW_STATE_HIDDEN && vis) { in computeStateLw() 236 return StatusBarManager.WINDOW_STATE_SHOWING; in computeStateLw() 239 return StatusBarManager.WINDOW_STATE_HIDING; in computeStateLw() [all …]
|
D | LockTaskController.java | 46 import android.app.StatusBarManager; 94 static final int STATUS_BAR_MASK_LOCKED = StatusBarManager.DISABLE_MASK 95 & (~StatusBarManager.DISABLE_EXPAND) 96 & (~StatusBarManager.DISABLE_NOTIFICATION_TICKER) 97 & (~StatusBarManager.DISABLE_SYSTEM_INFO) 98 & (~StatusBarManager.DISABLE_BACK); 100 static final int STATUS_BAR_MASK_PINNED = StatusBarManager.DISABLE_MASK 101 & (~StatusBarManager.DISABLE_BACK) 102 & (~StatusBarManager.DISABLE_HOME) 103 & (~StatusBarManager.DISABLE_RECENT); [all …]
|
D | InsetsPolicy.java | 19 import static android.app.StatusBarManager.WINDOW_STATE_HIDDEN; 20 import static android.app.StatusBarManager.WINDOW_STATE_SHOWING; 32 import android.app.StatusBarManager; 97 private BarWindow mStatusBar = new BarWindow(StatusBarManager.WINDOW_STATUS_BAR); 98 private BarWindow mNavBar = new BarWindow(StatusBarManager.WINDOW_NAVIGATION_BAR); 359 private @StatusBarManager.WindowVisibleState int mState = 360 StatusBarManager.WINDOW_STATE_SHOWING;
|
D | StatusBarController.java | 24 import android.app.StatusBarManager; 93 StatusBarManager.WINDOW_STATUS_BAR, in StatusBarController()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
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; 60 import android.app.StatusBarManager; 671 assertTrue((StatusBarManager.DISABLE_CLOCK & flags.first) != 0); in testGetStatusBarDisableFlags() 672 assertTrue((StatusBarManager.DISABLE2_QUICK_SETTINGS & flags.second) != 0); in testGetStatusBarDisableFlags() 680 assertTrue((StatusBarManager.DISABLE_HOME & flags.first) == 0); in testGetStatusBarDisableFlags() [all …]
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarShellCommand.java | 17 import static android.app.StatusBarManager.DEFAULT_SETUP_DISABLE2_FLAGS; 18 import static android.app.StatusBarManager.DEFAULT_SETUP_DISABLE_FLAGS; 19 import static android.app.StatusBarManager.DISABLE2_NONE; 20 import static android.app.StatusBarManager.DISABLE_NONE; 22 import android.app.StatusBarManager.DisableInfo;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CollapsedStatusBarFragmentTest.java | 26 import android.app.StatusBarManager; 99 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_SYSTEM_INFO, 0, false); in testDisableSystemInfo() 117 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NOTIFICATION_ICONS, 0, false); in testDisableNotifications() 133 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_CLOCK, 0, false); in testDisableClock() 149 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NOTIFICATION_ICONS, 0, false); in testOnDozingChanged()
|
D | StatusBarNotificationPresenterTest.java | 25 import android.app.StatusBarManager; 142 mCommandQueue.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_EXPAND, 0, in testSuppressHeadsUp_disabledStatusBar() 159 mCommandQueue.disable(DEFAULT_DISPLAY, 0, StatusBarManager.DISABLE2_NOTIFICATION_SHADE, in testSuppressHeadsUp_disabledNotificationShade()
|
D | NavigationBarFragmentTest.java | 17 import static android.app.StatusBarManager.NAVIGATION_HINT_BACK_ALT; 18 import static android.app.StatusBarManager.NAVIGATION_HINT_IME_SHOWN;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 21 import static android.app.StatusBarManager.WINDOW_STATE_HIDDEN; 22 import static android.app.StatusBarManager.WINDOW_STATE_SHOWING; 23 import static android.app.StatusBarManager.WindowType; 24 import static android.app.StatusBarManager.WindowVisibleState; 25 import static android.app.StatusBarManager.windowStateToString; 57 import android.app.StatusBarManager; 1528 && ((mDisabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) == 0) in updateQsExpansionEnabled() 1529 && ((mDisabled2 & StatusBarManager.DISABLE2_QUICK_SETTINGS) == 0) in updateQsExpansionEnabled() 1605 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_EXPAND)) ? 'E' : 'e'); in disable() 1606 … flagdbg.append(0 != ((diff1 & StatusBarManager.DISABLE_EXPAND)) ? '!' : ' '); in disable() [all …]
|
D | ManagedProfileControllerImpl.java | 18 import android.app.StatusBarManager; 78 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_HIDDEN; 20 import static android.app.StatusBarManager.WINDOW_STATE_SHOWING; 21 import static android.app.StatusBarManager.WindowType; 22 import static android.app.StatusBarManager.WindowVisibleState; 23 import static android.app.StatusBarManager.windowStateToString; 53 import android.app.StatusBarManager; 519 mDisabledFlags2 |= StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS; in onViewCreated() 756 && window == StatusBarManager.WINDOW_NAVIGATION_BAR in setWindowState() [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;
|
D | NotificationShadeWindowViewController.java | 19 import static android.app.StatusBarManager.WINDOW_STATE_SHOWING; 21 import android.app.StatusBarManager; 335 mService.setInteracting(StatusBarManager.WINDOW_STATUS_BAR, false); in setupExpandedStatusBar()
|
D | StatusBarRemoteInputCallback.java | 24 import android.app.StatusBarManager; 242 return (mDisabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) != 0; in shouldHandleRemoteInput()
|
D | NavigationBarView.java | 39 import android.app.StatusBarManager; 533 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in orientBackButton() 607 final boolean newBackAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints() 609 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints() 653 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in updateNavButtonIcons() 667 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_IME_SHOWN) != 0); in updateNavButtonIcons()
|
/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; 55 state |= StatusBarManager.DISABLE2_QUICK_SETTINGS; in adjustDisableFlags()
|
D | LocationControllerImpl.java | 23 import android.app.StatusBarManager; 62 private StatusBarManager mStatusBarManager; 88 = (StatusBarManager) context.getSystemService(Context.STATUS_BAR_SERVICE); in LocationControllerImpl()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | SystemActionPerformer.java | 24 import android.app.StatusBarManager; 333 StatusBarManager statusBarManager = (StatusBarManager) mContext.getSystemService( in expandNotifications() 343 StatusBarManager statusBarManager = (StatusBarManager) mContext.getSystemService( in expandQuickSettings()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 19 import static android.app.StatusBarManager.DISABLE2_NONE; 20 import static android.app.StatusBarManager.DISABLE_NONE; 30 import android.app.StatusBarManager; 31 import android.app.StatusBarManager.Disable2Flags; 32 import android.app.StatusBarManager.DisableFlags; 33 import android.app.StatusBarManager.WindowType; 34 import android.app.StatusBarManager.WindowVisibleState; 376 return (disabled1 & StatusBarManager.DISABLE_EXPAND) == 0 in panelsEnabled() 377 && (disabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) == 0 in panelsEnabled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 20 import android.app.StatusBarManager; 391 StatusBarManager.CAMERA_LAUNCH_SOURCE_POWER_DOUBLE_TAP); in interceptPowerKeyDown() 475 StatusBarManager.CAMERA_LAUNCH_SOURCE_WIGGLE)) { in onSensorChanged() 559 StatusBarManager.CAMERA_LAUNCH_SOURCE_LIFT_TRIGGER)) { in onTrigger()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | SystemActionPerformerTest.java | 40 import android.app.StatusBarManager; 105 @Mock private StatusBarManager mMockStatusBarManager;
|
/frameworks/base/core/java/android/app/ |
D | StatusBarManager.java | 45 public class StatusBarManager { class 209 StatusBarManager(Context context) { in StatusBarManager() method in StatusBarManager
|