Searched refs:disabled2 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/ |
D | StatusBarVisibilityModelTest.kt | 48 val result = createModelFromFlags(disabled1 = 0, disabled2 = 0) in createModelFromFlags_clockNotDisabled_showClockTrue() 55 val result = createModelFromFlags(disabled1 = DISABLE_CLOCK, disabled2 = 0) in createModelFromFlags_clockDisabled_showClockFalse() 62 val result = createModelFromFlags(disabled1 = 0, disabled2 = 0) in createModelFromFlags_notificationIconsNotDisabled_showNotificationIconsTrue() 69 val result = createModelFromFlags(disabled1 = DISABLE_NOTIFICATION_ICONS, disabled2 = 0) in createModelFromFlags_notificationIconsDisabled_showNotificationIconsFalse() 76 val result = createModelFromFlags(disabled1 = 0, disabled2 = 0) in createModelFromFlags_ongoingCallChipNotDisabled_showOngoingActivityChipTrue() 83 val result = createModelFromFlags(disabled1 = DISABLE_ONGOING_CALL_CHIP, disabled2 = 0) in createModelFromFlags_ongoingCallChipDisabled_showOngoingActivityChipFalse() 90 val result = createModelFromFlags(disabled1 = 0, disabled2 = 0) in createModelFromFlags_systemInfoAndIconsNotDisabled_showSystemInfoTrue() 97 val result = createModelFromFlags(disabled1 = DISABLE_SYSTEM_INFO, disabled2 = 0) in createModelFromFlags_disable1SystemInfoDisabled_showSystemInfoFalse() 104 val result = createModelFromFlags(disabled1 = 0, disabled2 = DISABLE2_SYSTEM_ICONS) in createModelFromFlags_disable2SystemIconsDisabled_showSystemInfoFalse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/ |
D | StatusBarVisibilityModel.kt | 45 fun createModelFromFlags(disabled1: Int, disabled2: Int): StatusBarVisibilityModel { in createModelFromFlags() 54 (disabled2 and DISABLE2_SYSTEM_ICONS) == 0 in createModelFromFlags()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CommandQueue.java | 598 final int disabled2 = getDisabled2(mDisplayTracker.getDefaultDisplayId()); in panelsEnabled() local 600 && (disabled2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE) == 0; in panelsEnabled() 610 int disabled2 = getDisabled2(displayId); in addCallback() local 611 callbacks.disable(displayId, disabled1, disabled2, false /* animate */); in addCallback() 676 int disabled2 = getDisabled2(displayId); in recomputeDisableFlags() local 677 disable(displayId, disabled1, disabled2, animate); in recomputeDisableFlags() 681 private void setDisabled(int displayId, int disabled1, int disabled2) { in setDisabled() argument 682 mDisplayDisabled.put(displayId, new Pair<>(disabled1, disabled2)); in setDisabled()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 878 final int disabled2 = mDisplayUiState.get(DEFAULT_DISPLAY).getDisabled2(); 879 return (disabled2 & DISABLE2_GLOBAL_ACTIONS) != 0; 903 final int disabled2 = mDisplayUiState.get(DEFAULT_DISPLAY).getDisabled2(); in isDisable2FlagSet() local 904 return ((disabled2 & target2) == target2); in isDisable2FlagSet() 1458 private void setDisabled(int disabled1, int disabled2) { in setDisabled() argument 1460 mDisabled2 = disabled2; in setDisabled() 1463 private boolean disableEquals(int disabled1, int disabled2) { in disableEquals() argument 1464 return mDisabled1 == disabled1 && mDisabled2 == disabled2; in disableEquals()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarViewControllerTest.java | 809 int disabled2 = disabled ? DISABLE2_SYSTEM_ICONS : 0; in setDisableSystemIcons() local 810 callback.disable(mContext.getDisplayId(), 0, disabled2, false); in setDisableSystemIcons() local
|