Searched refs:stateFlag (Results 1 – 3 of 3) sorted by relevance
56 public void setStateOnUiThread(int stateFlag) { in setStateOnUiThread() argument58 setState(stateFlag); in setStateOnUiThread()60 postAsyncCallback(MAIN_EXECUTOR.getHandler(), () -> setState(stateFlag)); in setStateOnUiThread()67 public void setState(int stateFlag) { in setState() argument70 + convertToFlagNames(stateFlag) + " to " + convertToFlagNames(mState)); in setState()74 mState = mState | stateFlag; in setState()94 public void clearState(int stateFlag) { in clearState() argument97 + convertToFlagNames(stateFlag) + " from " + convertToFlagNames(mState)); in clearState()101 mState = mState & ~stateFlag; in clearState()
176 public void setState(int stateFlag) { in setState() argument177 mStateCallback.setState(stateFlag); in setState()
63 for (int stateFlag : mStates) { in updateUiState()64 newFlags = getSysUiVisibilityFlags(stateFlag, newFlags); in updateUiState()79 private int getSysUiVisibilityFlags(int stateFlag, int currentVisibility) { in getSysUiVisibilityFlags() argument81 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()