Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandlerTest.java134 forEachState(state2 -> { in testStates_areMutuallyExclusive()
135 if (state1 < state2) { in testStates_areMutuallyExclusive()
138 assertIn(state2); in testStates_areMutuallyExclusive()
140 + stateToString(state2) + stateDump()); in testStates_areMutuallyExclusive()
DFullScreenMagnificationGestureHandlerTest.java227 forEachState(state2 -> { in testStates_areMutuallyExclusive()
228 if (state1 < state2) { in testStates_areMutuallyExclusive()
231 assertIn(state2); in testStates_areMutuallyExclusive()
233 + stateToString(state2) + stateDump()); in testStates_areMutuallyExclusive()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java86 int state2 = 42; in testDisable() local
87 mCommandQueue.disable(DEFAULT_DISPLAY, state1, state2); in testDisable()
89 verify(mCallbacks).disable(eq(DEFAULT_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisable()
95 int state2 = 42; in testDisableForSecondaryDisplay() local
96 mCommandQueue.disable(SECONDARY_DISPLAY, state1, state2); in testDisableForSecondaryDisplay()
98 verify(mCallbacks).disable(eq(SECONDARY_DISPLAY), eq(state1), eq(state2), eq(true)); in testDisableForSecondaryDisplay()
/frameworks/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceLightsManagerTest.java259 LightState state2 = new LightState(0xf2, PLAYER_ID); in testLightsRequest() local
261 .addLight(light2, state2).build(); in testLightsRequest()
271 assertThat(request.getLightStates().get(1)).isEqualTo(state2); in testLightsRequest()
277 assertThat(request.getLightsAndStates().get(light2)).isEqualTo(state2); in testLightsRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java66 default void disable(int state1, int state2, boolean animate) {} in disable() argument
DQSFragment.java350 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
354 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
356 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
359 mContainer.disable(state1, state2, animate); in disable()
360 mHeader.disable(state1, state2, animate); in disable()
361 mFooter.disable(state1, state2, animate); in disable()
DQSContainerImpl.java158 public void disable(int state1, int state2, boolean animate) { in disable() argument
159 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQSFooterView.java256 void disable(int state2, boolean isTunerEnabled, boolean multiUserEnabled) { in disable() argument
257 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
DQSFooterViewController.java269 public void disable(int state1, int state2, boolean animate) { in disable() argument
270 mView.disable(state2, isTunerEnabled(), mMultiUserSwitchController.isMultiUserEnabled()); in disable()
DQuickStatusBarHeader.java377 public void disable(int state1, int state2, boolean animate) { in disable() argument
378 final boolean disabled = (state2 & DISABLE2_QUICK_SETTINGS) != 0; in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java87 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
91 final boolean disabled = ((state1 & mMask1) != 0) || ((state2 & mMask2) != 0); in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java235 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
243 final int diff2 = state2 ^ old2; in disable()
245 mDisabled2 = state2; in disable()
247 if ((state1 & DISABLE_SYSTEM_INFO) != 0 || ((state2 & DISABLE2_SYSTEM_ICONS) != 0)) { in disable()
DStatusBarRemoteInputCallback.java283 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
285 mDisabled2 = state2; in disable()
DStatusBar.java1492 protected void setUpDisableFlags(int state1, int state2) { in setUpDisableFlags() argument
1493 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags()
1772 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
1776 state2 = mRemoteInputQuickSettingsDisabler.adjustDisableFlags(state2); in disable()
1784 final int diff2 = state2 ^ old2; in disable()
1785 mDisabled2 = state2; in disable()
1791 old2, state2, diff2)); in disable()
1815 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_QUICK_SETTINGS)) ? 'Q' : 'q'); in disable()
1817 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_SYSTEM_ICONS)) ? 'I' : 'i'); in disable()
1819 … flagdbg.append(0 != ((state2 & StatusBarManager.DISABLE2_NOTIFICATION_SHADE)) ? 'N' : 'n'); in disable()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java188 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
189 final boolean disabled = (state2 & DISABLE2_GLOBAL_ACTIONS) != 0; in disable()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBar.aidl37 void disable(int displayId, int state1, int state2); in disable() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java189 default void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
480 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2, in disable() argument
483 setDisabled(displayId, state1, state2); in disable()
488 args.argi3 = state2; in disable()
502 public void disable(int displayId, @DisableFlags int state1, @Disable2Flags int state2) { in disable() argument
503 disable(displayId, state1, state2, true); in disable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DRotationButtonController.java339 void onDisable2FlagChanged(int state2) { in onDisable2FlagChanged() argument
340 final boolean rotateSuggestionsDisabled = hasDisable2RotateSuggestionFlag(state2); in onDisable2FlagChanged()
DNavigationBar.java1078 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
1095 final int masked2 = state2 & (StatusBarManager.DISABLE2_ROTATE_SUGGESTIONS); in disable()
1103 private void setDisabled2Flags(int state2) { in setDisabled2Flags() argument
1105 mNavigationBarView.getRotationButtonController().onDisable2FlagChanged(state2); in setDisabled2Flags()
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest.proto167 optional int32 state2 = 3 [(android.os.statsd.state_field_option).exclusive_state = true]; field
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java306 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java4947 boolean isState(ActivityState state1, ActivityState state2) { in isState() argument
4948 return state1 == mState || state2 == mState; in isState()
4954 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3) { in isState() argument
4955 return state1 == mState || state2 == mState || state3 == mState; in isState()
4961 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4963 return state1 == mState || state2 == mState || state3 == mState || state4 == mState; in isState()
4969 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4971 return state1 == mState || state2 == mState || state3 == mState || state4 == mState in isState()
4978 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
4980 return state1 == mState || state2 == mState || state3 == mState || state4 == mState in isState()