Home
last modified time | relevance | path

Searched refs:StatusBarManager (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DStatusBarTest.java24 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/
DBarController.java22 import android.app.StatusBarManager;
66 private @StatusBarManager.WindowVisibleState int mState =
67 StatusBarManager.WINDOW_STATE_SHOWING;
198 (mState == StatusBarManager.WINDOW_STATE_SHOWING) ? 1 : 0, 0).sendToTarget(); in setOnBarVisibilityChangedListener()
206 private @StatusBarManager.WindowVisibleState int computeStateLw( in computeStateLw()
211 if (mState == StatusBarManager.WINDOW_STATE_HIDING && !change && !vis) { in computeStateLw()
212 return StatusBarManager.WINDOW_STATE_HIDDEN; in computeStateLw()
213 } else if (mState == StatusBarManager.WINDOW_STATE_HIDDEN && vis) { in computeStateLw()
214 return StatusBarManager.WINDOW_STATE_SHOWING; in computeStateLw()
217 return StatusBarManager.WINDOW_STATE_HIDING; in computeStateLw()
[all …]
DLockTaskController.java45 import android.app.StatusBarManager;
93 static final int STATUS_BAR_MASK_LOCKED = StatusBarManager.DISABLE_MASK
94 & (~StatusBarManager.DISABLE_EXPAND)
95 & (~StatusBarManager.DISABLE_NOTIFICATION_TICKER)
96 & (~StatusBarManager.DISABLE_SYSTEM_INFO)
97 & (~StatusBarManager.DISABLE_BACK);
99 static final int STATUS_BAR_MASK_PINNED = StatusBarManager.DISABLE_MASK
100 & (~StatusBarManager.DISABLE_BACK)
101 & (~StatusBarManager.DISABLE_HOME)
102 & (~StatusBarManager.DISABLE_RECENT);
[all …]
DStatusBarController.java24 import android.app.StatusBarManager;
93 StatusBarManager.WINDOW_STATUS_BAR, in StatusBarController()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGlobalActionPerformer.java20 import android.app.StatusBarManager;
132 StatusBarManager statusBarManager = (StatusBarManager) mContext.getSystemService( in expandNotifications()
142 StatusBarManager statusBarManager = (StatusBarManager) mContext.getSystemService( in expandQuickSettings()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java22 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;
56 import android.app.StatusBarManager;
667 assertTrue((StatusBarManager.DISABLE_CLOCK & flags.first) != 0); in testGetStatusBarDisableFlags()
668 assertTrue((StatusBarManager.DISABLE2_QUICK_SETTINGS & flags.second) != 0); in testGetStatusBarDisableFlags()
676 assertTrue((StatusBarManager.DISABLE_HOME & flags.first) == 0); in testGetStatusBarDisableFlags()
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarShellCommand.java17 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/
DCollapsedStatusBarFragmentTest.java26 import android.app.StatusBarManager;
102 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_SYSTEM_INFO, 0, false); in testDisableSystemInfo()
120 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NOTIFICATION_ICONS, 0, false); in testDisableNotifications()
136 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_CLOCK, 0, false); in testDisableClock()
152 fragment.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_NOTIFICATION_ICONS, 0, false); in testOnDozingChanged()
DStatusBarNotificationPresenterTest.java24 import android.app.StatusBarManager;
89 mCommandQueue.disable(DEFAULT_DISPLAY, StatusBarManager.DISABLE_EXPAND, 0, in testHeadsUp_disabledStatusBar()
103 mCommandQueue.disable(DEFAULT_DISPLAY, 0, StatusBarManager.DISABLE2_NOTIFICATION_SHADE, in testHeadsUp_disabledNotificationShade()
DNotificationPanelViewTest.java28 import android.app.StatusBarManager;
147 StatusBarManager.CAMERA_LAUNCH_SOURCE_POWER_DOUBLE_TAP); in testAffordanceLaunchingListener()
DNavigationBarFragmentTest.java17 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/
DNavigationBarFragment.java17 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;
46 import android.app.StatusBarManager;
353 mDisabledFlags2 |= StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS; in onViewCreated()
465 && window == StatusBarManager.WINDOW_NAVIGATION_BAR in setWindowState()
[all …]
DManagedProfileControllerImpl.java18 import android.app.StatusBarManager;
74 StatusBarManager statusBarManager = (StatusBarManager) mContext in setWorkModeEnabled()
DStatusBar.java21 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;
59 import android.app.StatusBarManager;
1296 && ((mDisabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) == 0) in updateQsExpansionEnabled()
1297 && ((mDisabled2 & StatusBarManager.DISABLE2_QUICK_SETTINGS) == 0) in updateQsExpansionEnabled()
1406 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_EXPAND)) ? 'E' : 'e'); in disable()
1407 … flagdbg.append(0 != ((diff1 & StatusBarManager.DISABLE_EXPAND)) ? '!' : ' '); in disable()
[all …]
DCollapsedStatusBarFragment.java17 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;
DStatusBarRemoteInputCallback.java25 import android.app.StatusBarManager;
225 return (mDisabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) != 0; in shouldHandleRemoteInput()
DNavigationBarView.java35 import android.app.StatusBarManager;
488 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in orientBackButton()
550 final boolean newBackAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints()
552 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints()
596 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in updateNavButtonIcons()
610 (mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_IME_SHOWN) != 0); in updateNavButtonIcons()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java20 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/
DRemoteInputQuickSettingsDisabler.java19 import android.app.StatusBarManager;
56 state |= StatusBarManager.DISABLE2_QUICK_SETTINGS; in adjustDisableFlags()
DLocationControllerImpl.java24 import android.app.StatusBarManager;
60 private StatusBarManager mStatusBarManager;
80 = (StatusBarManager) context.getSystemService(Context.STATUS_BAR_SERVICE); in LocationControllerImpl()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGlobalActionPerformerTest.java26 import android.app.StatusBarManager;
46 @Mock StatusBarManager mMockStatusBarManager;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java19 import static android.app.StatusBarManager.DISABLE2_NONE;
20 import static android.app.StatusBarManager.DISABLE_NONE;
28 import android.app.StatusBarManager;
29 import android.app.StatusBarManager.Disable2Flags;
30 import android.app.StatusBarManager.DisableFlags;
31 import android.app.StatusBarManager.WindowType;
32 import android.app.StatusBarManager.WindowVisibleState;
326 return (disabled1 & StatusBarManager.DISABLE_EXPAND) == 0 in panelsEnabled()
327 && (disabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) == 0 in panelsEnabled()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java20 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()
DUiModeManagerService.java27 import android.app.StatusBarManager;
115 private StatusBarManager mStatusBarManager;
791 mStatusBarManager = (StatusBarManager) in adjustStatusBarCarModeLocked()
802 ? StatusBarManager.DISABLE_NOTIFICATION_TICKER in adjustStatusBarCarModeLocked()
803 : StatusBarManager.DISABLE_NONE); in adjustStatusBarCarModeLocked()
/frameworks/base/core/java/android/app/
DStatusBarManager.java45 public class StatusBarManager { class
204 StatusBarManager(Context context) { in StatusBarManager() method in StatusBarManager

12