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.java193 public void setState(int stateFlag) { in setState() argument
194 mStateCallback.setState(stateFlag); in setState()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DSystemUiController.java62 for (int stateFlag : mStates) { in updateUiState()
63 newFlags = getSysUiVisibilityFlags(stateFlag, newFlags); in updateUiState()
78 private int getSysUiVisibilityFlags(int stateFlag, int currentVisibility) { in getSysUiVisibilityFlags() argument
79 if ((stateFlag & FLAG_LIGHT_NAV) != 0) { in getSysUiVisibilityFlags()
81 } else if ((stateFlag & FLAG_DARK_NAV) != 0) { in getSysUiVisibilityFlags()
85 if ((stateFlag & FLAG_LIGHT_STATUS) != 0) { in getSysUiVisibilityFlags()
87 } else if ((stateFlag & FLAG_DARK_STATUS) != 0) { in getSysUiVisibilityFlags()