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()
193 public void setState(int stateFlag) { in setState() argument194 mStateCallback.setState(stateFlag); in setState()
62 for (int stateFlag : mStates) { in updateUiState()63 newFlags = getSysUiVisibilityFlags(stateFlag, newFlags); in updateUiState()78 private int getSysUiVisibilityFlags(int stateFlag, int currentVisibility) { in getSysUiVisibilityFlags() argument79 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()