Home
last modified time | relevance | path

Searched refs:stateFlag (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DMultiStateCallback.java56 public void setStateOnUiThread(int stateFlag) { in setStateOnUiThread() argument
58 setState(stateFlag); in setStateOnUiThread()
60 postAsyncCallback(MAIN_EXECUTOR.getHandler(), () -> setState(stateFlag)); in setStateOnUiThread()
67 public void setState(int stateFlag) { in setState() argument
70 + convertToFlagNames(stateFlag) + " to " + convertToFlagNames(mState)); in setState()
74 mState = mState | stateFlag; in setState()
94 public void clearState(int stateFlag) { in clearState() argument
97 + convertToFlagNames(stateFlag) + " from " + convertToFlagNames(mState)); in clearState()
101 mState = mState & ~stateFlag; in clearState()
DGestureState.java176 public void setState(int stateFlag) { in setState() argument
177 mStateCallback.setState(stateFlag); in setState()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSystemUiController.java63 for (int stateFlag : mStates) { in updateUiState()
64 newFlags = getSysUiVisibilityFlags(stateFlag, newFlags); in updateUiState()
79 private int getSysUiVisibilityFlags(int stateFlag, int currentVisibility) { in getSysUiVisibilityFlags() argument
81 if ((stateFlag & FLAG_LIGHT_NAV) != 0) { in getSysUiVisibilityFlags()
83 } else if ((stateFlag & FLAG_DARK_NAV) != 0) { in getSysUiVisibilityFlags()
88 if ((stateFlag & FLAG_LIGHT_STATUS) != 0) { in getSysUiVisibilityFlags()
90 } else if ((stateFlag & FLAG_DARK_STATUS) != 0) { in getSysUiVisibilityFlags()