Searched refs:mMaxStates (Results 1 – 1 of 1) sorted by relevance
43 private var mMaxStates = 1 variable63 mState = (mState + 1) % mMaxStates in transitionState()78 mMaxStates = resources.size in setButtonResources()79 if (mState >= mMaxStates) { in setButtonResources()80 mState = mMaxStates - 1 in setButtonResources()89 if (state >= mMaxStates || state < 0) { in setState()