Searched refs:Weekdays (Results 1 – 19 of 19) sorted by relevance
46 public final class Weekdays { class72 public static final Weekdays ALL = Weekdays.fromBits(ALL_DAYS);75 public static final Weekdays NONE = Weekdays.fromBits(0);94 private Weekdays(int bits) { in Weekdays() method in Weekdays103 public static Weekdays fromBits(int bits) { in fromBits()104 return new Weekdays(bits); in fromBits()120 public static Weekdays fromCalendarDays(int... calendarDays) { in fromCalendarDays()128 return new Weekdays(bits); in fromCalendarDays()145 public Weekdays setBit(int calendarDay, boolean on) { in setBit()150 return new Weekdays(on ? (mBits | bit) : (mBits & ~bit)); in setBit()[all …]
32 class Weekdays private constructor(bits: Int) { class80 fun fromBits(bits: Int): Weekdays { in fromBits()81 return Weekdays(bits) in fromBits()98 fun fromCalendarDays(vararg calendarDays: Int): Weekdays { in fromCalendarDays()106 return Weekdays(bits) in fromCalendarDays()127 fun setBit(calendarDay: Int, on: Boolean): Weekdays { in setBit()129 return Weekdays(if (on) bits or bit else bits and bit.inv()) in setBit()208 val weekdays = other as Weekdays in equals()
44 import static com.android.deskclock.data.Weekdays.Order.MON_TO_SUN;45 import static com.android.deskclock.data.Weekdays.Order.SAT_TO_FRI;46 import static com.android.deskclock.data.Weekdays.Order.SUN_TO_SAT;249 static Weekdays.Order getWeekdayOrder(SharedPreferences prefs) { in getWeekdayOrder()
128 val weekdayOrder: Weekdays.Order
152 Weekdays.Order getWeekdayOrder() { in getWeekdayOrder()
32 import com.android.deskclock.data.Weekdays.Order
1026 public Weekdays.Order getWeekdayOrder() { in getWeekdayOrder()
1024 val weekdayOrder: Weekdays.Order
31 import com.android.deskclock.data.Weekdays108 alarm.daysOfWeek = Weekdays.fromBits(bitSet) in setAlarmRepeatEnabled()110 alarm.daysOfWeek = Weekdays.ALL in setAlarmRepeatEnabled()118 alarm.daysOfWeek = Weekdays.NONE in setAlarmRepeatEnabled()
31 import com.android.deskclock.data.Weekdays;114 alarm.daysOfWeek = Weekdays.fromBits(bitSet); in setAlarmRepeatEnabled()116 alarm.daysOfWeek = Weekdays.ALL; in setAlarmRepeatEnabled()124 alarm.daysOfWeek = Weekdays.NONE; in setAlarmRepeatEnabled()
34 import com.android.deskclock.data.Weekdays59 var daysOfWeek: Weekdays85 daysOfWeek = Weekdays.NONE96 daysOfWeek = Weekdays.fromBits(c.getInt(DAYS_OF_WEEK_INDEX))120 daysOfWeek = Weekdays.fromBits(p.readInt())
33 import com.android.deskclock.data.Weekdays;282 public Weekdays daysOfWeek;300 this.daysOfWeek = Weekdays.NONE;311 daysOfWeek = Weekdays.fromBits(c.getInt(DAYS_OF_WEEK_INDEX));335 daysOfWeek = Weekdays.fromBits(p.readInt());
30 import com.android.deskclock.data.Weekdays100 alarm.daysOfWeek = Weekdays.fromBits(cursor.getInt(3)) in onUpgrade()
29 import com.android.deskclock.data.Weekdays;167 alarm.daysOfWeek = Weekdays.fromBits(cursor.getInt(3)); in onUpgrade()
36 import com.android.deskclock.data.Weekdays;547 private static Weekdays getDaysFromIntent(Intent intent, Weekdays defaultWeekdays) { in getDaysFromIntent()558 return Weekdays.fromCalendarDays(daysArray); in getDaysFromIntent()563 return Weekdays.fromCalendarDays(daysArray); in getDaysFromIntent()617 args.add(String.valueOf(getDaysFromIntent(intent, Weekdays.NONE).getBits())); in setSelectionFromIntent()
27 import com.android.deskclock.data.Weekdays64 val weekdayOrder: Weekdays.Order = DataModel.dataModel.weekdayOrder in getView()
29 import com.android.deskclock.data.Weekdays;68 final Weekdays.Order weekdayOrder = DataModel.getDataModel().getWeekdayOrder(); in getView()
43 import com.android.deskclock.data.Weekdays;300 final Weekdays.Order weekdayOrder = DataModel.getDataModel().getWeekdayOrder(); in refresh()
35 import com.android.deskclock.data.Weekdays;123 final Weekdays.Order weekdayOrder = DataModel.getDataModel().getWeekdayOrder(); in bindRepeatText()