Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/
DTimerFormat.java58 long hours = minutes / 60; in setTime() local
59 minutes = minutes - hours * 60; in setTime()
60 if (hours > 999) { in setTime()
61 hours = 0; in setTime()
66 if (hours == 0 && minutes == 0 && seconds == 0) { in setTime()
78 hours++; in setTime()
84 if (hours >= 10) { in setTime()
86 mHours = String.format(format, hours); in setTime()
87 } else if (hours > 0) { in setTime()
89 mHours = String.format(format, hours); in setTime()
[all …]
/development/tools/logblame/
Danalyze_logs.py68 hours = make_int(6)
71 return (weeks * 604800) + (days * 86400) + (hours * 3600) + (minutes * 60) + seconds
100 hours = int(seconds / 3600)
101 seconds -= hours * 3600
102 result += "%dh" % hours
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java160 setUpColorPickerSelection(R.id.hours, KEY_HOURS_COLOR, config, R.string.color_white); in setUpAllPickers()
165 setUpColorPickerListener(R.id.hours, KEY_HOURS_COLOR); in setUpAllPickers()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DOpenGLWatchFaceService.java445 float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; in onDraw() local
448 final int hoursIndex = (int) (hours / 12f * 360f); in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DDeviceAdminSample.java1061 long hours = (time / MS_PER_HOUR) % 24; in timeToDaysMinutesSeconds() local
1063 return context.getString(R.string.status_days_hours_minutes, days, hours, minutes); in timeToDaysMinutesSeconds()