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.java168 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
172 state1 = adjustDisableFlags(state1); in disable()
174 final int diff1 = state1 ^ old1; in disable()
175 mDisabled1 = state1; in disable()
177 if ((state1 & DISABLE_SYSTEM_INFO) != 0) { in disable()
186 if ((state1 & DISABLE_NOTIFICATION_ICONS) != 0) { in disable()
195 if ((state1 & DISABLE_CLOCK) != 0) { in disable()
DStatusBar.java1098 protected void setUpDisableFlags(int state1, int state2) { in setUpDisableFlags() argument
1099 mCommandQueue.disable(mDisplayId, state1, state2, false /* animate */); in setUpDisableFlags()
1382 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
1390 final int diff1 = state1 ^ old1; in disable()
1391 mDisabled1 = state1; in disable()
1399 old1, state1, diff1)); in disable()
1406 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_EXPAND)) ? 'E' : 'e'); in disable()
1408 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_NOTIFICATION_ICONS)) ? 'I' : 'i'); in disable()
1410 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_NOTIFICATION_ALERTS)) ? 'A' : 'a'); in disable()
1412 … flagdbg.append(0 != ((state1 & StatusBarManager.DISABLE_SYSTEM_INFO)) ? 'S' : 's'); in disable()
[all …]
DStatusBarRemoteInputCallback.java253 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
DNavigationBarFragment.java575 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
580 final int masked = state1 & (StatusBarManager.DISABLE_HOME in disable()
587 mNavigationBarView.setDisabledFlags(state1); in disable()
/frameworks/base/cmds/statsd/tests/condition/
DStateTracker_test.cpp57 int state1 = 1001; in TEST() local
67 makeUidProcStateEvent(uid1, state1, &event); in TEST()
98 makeUidProcStateEvent(uid2, state1, &event3); in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java285 int state1 = Utf8.partialIsValidUtf8(Utf8.COMPLETE, bytes, 0, i);
286 int state2 = Utf8.partialIsValidUtf8(state1, bytes, i, j);
289 System.out.printf("state=%04x %04x %04x i=%d j=%d%n", state1, state2, state3, i, j);
305 assertEquals(state1, x.partialIsValidUtf8(Utf8.COMPLETE, 0, i));
306 assertEquals(state1, x.substring(0, i).partialIsValidUtf8(Utf8.COMPLETE, 0, i));
307 assertEquals(state2, x.partialIsValidUtf8(state1, i, j - i));
308 assertEquals(state2, x.substring(i, j).partialIsValidUtf8(state1, 0, j - i));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java74 int state1 = 14; 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()
83 int state1 = 14; 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/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.java97 LockTargetState state1 = (LockTargetState) v1; in merge() local
100 List<LockTarget> newList = new ArrayList<>(state1.getTargets()); in merge()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java202 forEachState(state1 -> { in testStates_areMutuallyExclusive()
204 if (state1 < state2) { in testStates_areMutuallyExclusive()
205 goFromStateIdleTo(state1); in testStates_areMutuallyExclusive()
208 fail("State " + stateToString(state1) + " also implies state " in testStates_areMutuallyExclusive()
212 returnToNormalFrom(state1); in testStates_areMutuallyExclusive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java73 default void disable(int state1, int state2, boolean animate) {} in disable() argument
DQSFragment.java218 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
227 mContainer.disable(state1, state2, animate); in disable()
228 mHeader.disable(state1, state2, animate); in disable()
229 mFooter.disable(state1, state2, animate); in disable()
DQSContainerImpl.java127 public void disable(int state1, int state2, boolean animate) { in disable() argument
DQSFooterImpl.java296 public void disable(int state1, int state2, boolean animate) { in disable() argument
DQuickStatusBarHeader.java381 public void disable(int state1, int state2, boolean animate) { in disable() argument
/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()
372 args.argi2 = state1; 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/core/java/com/android/internal/statusbar/
DIStatusBar.aidl32 void disable(int displayId, int state1, int state2); in disable() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java137 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DClock.java301 public void disable(int displayId, int state1, int state2, boolean animate) { in disable() argument
305 boolean clockVisibleByPolicy = (state1 & StatusBarManager.DISABLE_CLOCK) == 0; in disable()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1911 boolean isState(ActivityState state1, ActivityState state2) { in isState() argument
1912 return state1 == mState || state2 == mState; in isState()
1918 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3) { in isState() argument
1919 return state1 == mState || state2 == mState || state3 == mState; in isState()
1925 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() argument
1927 return state1 == mState || state2 == mState || state3 == mState || state4 == mState; in isState()