Home
last modified time | relevance | path

Searched refs:StatusBarManager (Results 1 – 25 of 42) 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/am/
DLockTaskController.java45 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/
DBarController.java22 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 …]
DStatusBarController.java23 import android.app.StatusBarManager;
106 StatusBarManager.WINDOW_STATUS_BAR, in StatusBarController()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
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;
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/
DGlobalActionPerformer.java20 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/
DCollapsedStatusBarFragmentTest.java23 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()
DStatusBarTest.java41 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/
DManagedProfileControllerImpl.java18 import android.app.StatusBarManager;
65 StatusBarManager statusBarManager = (StatusBarManager) mContext in setWorkModeEnabled()
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_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 …]
DStatusBar.java19 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 …]
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;
23 import android.app.StatusBarManager;
DNavigationBarView.java31 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()
DStatusBarIconController.java17 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/
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;
51 state |= StatusBarManager.DISABLE2_QUICK_SETTINGS; in adjustDisableFlags()
DLocationControllerImpl.java23 import android.app.StatusBarManager;
52 private StatusBarManager mStatusBarManager;
71 = (StatusBarManager) context.getSystemService(Context.STATUS_BAR_SERVICE); in LocationControllerImpl()
DClock.java19 import android.app.StatusBarManager;
247 boolean clockVisibleByPolicy = (state1 & StatusBarManager.DISABLE_CLOCK) == 0; in disable()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DGlobalActionPerformerTest.java26 import android.app.StatusBarManager;
46 @Mock StatusBarManager mMockStatusBarManager;
/frameworks/base/core/java/android/app/
DStatusBarManager.java40 public class StatusBarManager { class
114 StatusBarManager(Context context) { in StatusBarManager() method in StatusBarManager
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java20 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()
DUiModeManagerService.java26 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/
DBatteryMeterView.java18 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/
DKeyguardViewMediator.java31 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/
DQSContainerImpl.java19 import static android.app.StatusBarManager.DISABLE2_QUICK_SETTINGS;

12