Searched refs:bitIndex (Results 1 – 1 of 1) sorted by relevance
60 static int convertBitIndexToDay(int bitIndex) { in convertBitIndexToDay() argument61 return (bitIndex + 1) % DAYS_IN_A_WEEK + 1; in convertBitIndexToDay()112 for (int bitIndex = startDay; bitIndex < DAYS_IN_A_WEEK + startDay; ++bitIndex) { in toString()113 if ((mBitSet & (1 << (bitIndex % DAYS_IN_A_WEEK))) != 0) { in toString()114 ret.append(dayList[convertBitIndexToDay(bitIndex)]); in toString()133 private boolean isBitEnabled(int bitIndex) { in isBitEnabled() argument134 return ((mBitSet & (1 << bitIndex)) > 0); in isBitEnabled()137 private void setBit(int bitIndex, boolean set) { in setBit() argument139 mBitSet |= (1 << bitIndex); in setBit()141 mBitSet &= ~(1 << bitIndex); in setBit()[all …]