Searched refs:stateFlag (Results 1 – 3 of 3) sorted by relevance
48 public void setState(int stateFlag) { in setState() argument51 + convertToFlagNames(stateFlag) + " to " + convertToFlagNames(mState)); in setState()55 mState = mState | stateFlag; in setState()77 public void clearState(int stateFlag) { in clearState() argument80 + convertToFlagNames(stateFlag) + " from " + convertToFlagNames(mState)); in clearState()84 mState = mState & ~stateFlag; in clearState()
376 private void setStateOnUiThread(int stateFlag) { in setStateOnUiThread() argument378 mStateCallback.setState(stateFlag); in setStateOnUiThread()380 postAsyncCallback(mMainThreadHandler, () -> mStateCallback.setState(stateFlag)); in setStateOnUiThread()
65 for (int stateFlag : mStates) { in updateUiState()67 if ((stateFlag & FLAG_LIGHT_NAV) != 0) { in updateUiState()69 } else if ((stateFlag & FLAG_DARK_NAV) != 0) { in updateUiState()74 if ((stateFlag & FLAG_LIGHT_STATUS) != 0) { in updateUiState()76 } else if ((stateFlag & FLAG_DARK_STATUS) != 0) { in updateUiState()