Home
last modified time | relevance | path

Searched refs:state2 (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java75 int state2 = 42; in testDisable() local
76 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable()
78 verify(mCallbacks).disable(eq(DEFAULT_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisable()
84 int state2 = 42; in testDisableForSecondaryDisplay() local
85 mCommandQueue.disable(SECONDARY_DISPLAY, state1, state2); in testDisableForSecondaryDisplay()
87 verify(mCallbacks).disable(eq(SECONDARY_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisableForSecondaryDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java234 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
238 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
240 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
243 mContainer.disable(state1, state2, animate); in disable()
244 mHeader.disable(state1, state2, animate); in disable()
245 mFooter.disable(state1, state2, animate); in disable()
DQSFooter.java73 default void disable(int state1, int state2, boolean animate) {} in disable() argument
DQSContainerImpl.java139 public void disable(int state1, int state2, boolean animate) { in disable() argument
140 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQSFooterImpl.java296 public void disable(int state1, int state2, boolean animate) { in disable() argument
297 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQuickStatusBarHeader.java381 public void disable(int state1, int state2, boolean animate) { in disable() argument
382 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java78 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
82 final boolean disabled = ((state1 & mMask1) != 0) || ((state2 & mMask2) != 0); in disable()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTargetStateAnalysis.java98 LockTargetState state2 = (LockTargetState) v2; in merge() local
101 for (LockTarget otherTarget : state2.getTargets()) { in merge()
/frameworks/base/cmds/statsd/tests/condition/
DStateTracker_test.cpp58 int state2 = 1002; in TEST() local
88 makeUidProcStateEvent(uid1, state2, &event2); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java139 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
140 final boolean disabled = (state2 & DISABLE2_GLOBAL_ACTIONS) != 0; in disable()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java203 forEachState(state2 -> { in testStates_areMutuallyExclusive()
204 if (state1 < state2) { in testStates_areMutuallyExclusive()
207 assertIn(state2); in testStates_areMutuallyExclusive()
209 + stateToString(state2) + stateDump()); in testStates_areMutuallyExclusive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java156 default void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
365 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
368 setDisabled(displayId, state1, state2); in disable()
373 args.argi3 = state2; in disable()
387 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2) { in disable() argument
388 disable(displayId, state1, state2, true); in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java258 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
260 mDisabled2 = state2; in disable()
DRotationButtonController.java296 void onDisable2FlagChanged(int state2) { in onDisable2FlagChanged() argument
297 final boolean rotateSuggestionsDisabled = hasDisable2RotateSuggestionFlag(state2); in onDisable2FlagChanged()
DNavigationBarFragment.java581 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
600 final int masked2 = state2 & (StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS); in disable()
608 private void setDisabled2Flags(int state2) { in setDisabled2Flags() argument
611 mNavigationBarView.getRotationButtonController().onDisable2FlagChanged(state2); in setDisabled2Flags()
DStatusBar.java1169 protected void setUpDisableFlags(int state1, int state2) { in setUpDisableFlags() argument
1170 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags()
1457 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
1461 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
1469 final int diff2 = state2 ^ old2; in disable()
1470 mDisabled2 = state2; in disable()
1476 old2, state2, diff2)); in disable()
1500 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_QUICK_SETTINGS)) ? 'Q' : 'q'); in disable()
1502 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_SYSTEM_ICONS)) ? 'I' : 'i'); in disable()
1504 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE)) ? 'N' : 'n'); in disable()
DCollapsedStatusBarFragment.java169 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl32 void disable(int displayId, int state1, int state2); in disable() argument
/frameworks/base/tools/stats_log_api_gen/
Dtest.proto170 optional int32 state2 = 3 field
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1909 boolean isState(ActivityState state1, ActivityState state2) { in isState() argument
1910 return state1 == mState || state2 == mState; in isState()
1916 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3) { in isState() argument
1917 return state1 == mState || state2 == mState || state3 == mState; in isState()
1923 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
1925 return state1 == mState || state2 == mState || state3 == mState || state4 == mState; in isState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java311 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument