Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 11 of 11) sorted by relevance

/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java38 public int hour; field in Alarm
47 hour = in.readInt(); in Alarm()
73 parcel.writeInt(hour); in writeToParcel()
87 jsonObject.put("hour", hour); in toJson()
109 alarm.hour = jsonObject.getInt("hour"); in fromJson()
124 ", hour=" + hour + in toString()
141 hour == alarm.hour && in equals()
147 return Objects.hash(id, month, date, hour, minute); in hashCode()
155 calendar.set(Calendar.HOUR_OF_DAY, hour); in compareTo()
161 otherCal.set(Calendar.HOUR_OF_DAY, other.hour); in compareTo()
DAlarmUtil.java54 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); in scheduleAlarm()
63 alarm.hour, alarm.minute, in scheduleAlarm()
88 public Calendar getNextAlarmTime(int hour, int minute) { in getNextAlarmTime() argument
90 alarmTime.set(Calendar.HOUR_OF_DAY, hour); in getNextAlarmTime()
DAlarmStorage.java68 public Alarm saveAlarm(int month, int date, int hour, int minute) { in saveAlarm() argument
74 alarm.hour = hour; in saveAlarm()
DAlarmIntentService.java55 .setContentTitle(context.getString(R.string.alarm_went_off, alarm.hour, in onHandleIntent()
DAlarmAdapter.java75 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); in onBindViewHolder()
90 toBeDeleted.hour, toBeDeleted.minute), Toast.LENGTH_SHORT).show(); in onBindViewHolder()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DFitStepsWatchFaceService.java363 private String formatTwoDigitNumber(int hour) { in formatTwoDigitNumber() argument
364 return String.format("%02d", hour); in formatTwoDigitNumber()
386 int hour = mCalendar.get(Calendar.HOUR); in onDraw() local
387 if (hour == 0) { in onDraw()
388 hour = 12; in onDraw()
390 hourString = String.valueOf(hour); in onDraw()
DFitDistanceWatchFaceService.java362 private String formatTwoDigitNumber(int hour) { in formatTwoDigitNumber() argument
363 return String.format("%02d", hour); in formatTwoDigitNumber()
385 int hour = mCalendar.get(Calendar.HOUR); in onDraw() local
386 if (hour == 0) { in onDraw()
387 hour = 12; in onDraw()
389 hourString = String.valueOf(hour); in onDraw()
DDigitalWatchFaceService.java437 private String formatTwoDigitNumber(int hour) { in formatTwoDigitNumber() argument
438 return String.format("%02d", hour); in formatTwoDigitNumber()
465 int hour = mCalendar.get(Calendar.HOUR); in onDraw()
466 if (hour == 0) { in onDraw()
467 hour = 12; in onDraw()
469 hourString = String.valueOf(hour); in onDraw()
/development/ndk/platforms/android-21/include/linux/
Dtelephony.h67 char hour[3]; member
/development/ndk/platforms/android-3/include/linux/
Dtelephony.h59 char hour[3]; member
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
DTimePickerFragment.java84 .getString(R.string.alarm_saved, alarm.hour, alarm.minute); in onCreateView()