Home
last modified time | relevance | path

Searched refs:state1 (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java169 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
173 state1 = adjustDisableFlags(state1); in disable()
175 final int diff1 = state1 ^ old1; in disable()
176 mDisabled1 = state1; in disable()
178 if ((state1 & DISABLE_SYSTEM_INFO) != 0) { in disable()
187 if ((state1 & DISABLE_NOTIFICATION_ICONS) != 0) { in disable()
196 if ((state1 & DISABLE_CLOCK) != 0) { in disable()
DStatusBar.java1327 protected void setUpDisableFlags(int state1, int state2) { in setUpDisableFlags() argument
1328 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags()
1581 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
1589 final int diff1 = state1 ^ old1; in disable()
1590 mDisabled1 = state1; in disable()
1598 old1, state1, diff1)); in disable()
1605 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_EXPAND)) ? 'E' : 'e'); in disable()
1607 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_NOTIFICATION_ICONS)) ? 'I' : 'i'); in disable()
1609 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_NOTIFICATION_ALERTS)) ? 'A' : 'a'); in disable()
1611 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_SYSTEM_INFO)) ? 'S' : 's'); in disable()
[all …]
DStatusBarRemoteInputCallback.java273 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
DNavigationBarFragment.java903 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
908 final int masked = state1 & (StatusBarManager.DISABLE_HOME in disable()
915 mNavigationBarView.setDisabledFlags(state1); in disable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java78 int state1 = 14; in testDisable() local
80 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable()
82 verify(mCallbacks).disable(eq(DEFAULT_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisable()
87 int state1 = 14; in testDisableForSecondaryDisplay() local
89 mCommandQueue.disable(SECONDARY_DISPLAY, state1, state2); in testDisableForSecondaryDisplay()
91 verify(mCallbacks).disable(eq(SECONDARY_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisableForSecondaryDisplay()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTargetStateAnalysis.java97 LockTargetState state1 = (LockTargetState) v1; in merge() local
100 List<LockTarget> newList = new ArrayList<>(state1.getTargets()); in merge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java82 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
86 final boolean disabled = ((state1 & mMask1) != 0) || ((state2 & mMask2) != 0); in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java78 default void disable(int state1, int state2, boolean animate) {} in disable() argument
DQSFragment.java263 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
272 mContainer.disable(state1, state2, animate); in disable()
273 mHeader.disable(state1, state2, animate); in disable()
274 mFooter.disable(state1, state2, animate); in disable()
DQSContainerImpl.java192 public void disable(int state1, int state2, boolean animate) { in disable() argument
DQSFooterImpl.java295 public void disable(int state1, int state2, boolean animate) { in disable() argument
DQuickStatusBarHeader.java426 public void disable(int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DFullScreenMagnificationGestureHandlerTest.java210 forEachState(state1 -> { in testStates_areMutuallyExclusive()
212 if (state1 < state2) { in testStates_areMutuallyExclusive()
213 goFromStateIdleTo(state1); in testStates_areMutuallyExclusive()
216 fail("State " + stateToString(state1) + " also implies state " in testStates_areMutuallyExclusive()
220 returnToNormalFrom(state1); in testStates_areMutuallyExclusive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java167 default void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
415 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
418 setDisabled(displayId, state1, state2); in disable()
422 args.argi2 = state1; in disable()
437 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2) { in disable() argument
438 disable(displayId, state1, state2, true); in disable()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl34 void disable(int displayId, int state1, int state2); in disable() argument
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp1120 const StateValue& state1 = s1[i]; in LessThan() local
1122 if (state1.atom_id() != state2.atom_id()) { in LessThan()
1123 return state1.atom_id() < state2.atom_id(); in LessThan()
1125 if (state1.value() != state2.value()) { in LessThan()
1126 return state1.value() < state2.value(); in LessThan()
1128 if (state1.group_id() != state2.group_id()) { in LessThan()
1129 return state1.group_id() < state2.group_id(); in LessThan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java308 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
312 boolean clockVisibleByPolicy = (state1 & StatusBarManager.DISABLE_CLOCK) == 0; in disable()
/frameworks/base/cmds/statsd/tests/e2e/
DCountMetric_e2e_test.cpp652 auto state1 = CreateScreenStateWithOnOffMap(screenOnId, screenOffId); in TEST() local
653 *config.add_state() = state1; in TEST()
664 countMetric->add_slice_by_state(state1.id()); in TEST()
699 StateMap map = state1.map(); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java190 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java4446 boolean isState(ActivityState state1, ActivityState state2) { in isState() argument
4447 return state1 == mState || state2 == mState; in isState()
4453 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3) { in isState() argument
4454 return state1 == mState || state2 == mState || state3 == mState; in isState()
4460 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4462 return state1 == mState || state2 == mState || state3 == mState || state4 == mState; in isState()
4468 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4470 return state1 == mState || state2 == mState || state3 == mState || state4 == mState in isState()
4477 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4479 return state1 == mState || state2 == mState || state3 == mState || state4 == mState in isState()