Searched refs:hours (Results 1 – 9 of 9) sorted by relevance
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
D | StringUtils.java | 113 final long hours = time / 3600000; in getTimestampAsString() local 120 return String.format("%02d:%02d:%02d.%01d", hours, mins, sec, time); in getTimestampAsString() 132 final long hours = time / 3600000; in getSimpleTimestampAsString() local 137 return String.format("%02d:%02d:%02d", hours, mins, sec); in getSimpleTimestampAsString() 149 final long hours = time / 3600000; in getDurationAsString() local 155 if (hours == 0) { in getDurationAsString() 163 } else if (hours == 1) { in getDurationAsString() 166 return String.format(context.getString(R.string.hours_and_minutes), hours, mins); in getDurationAsString()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | Utils.java | 42 int days = 0, hours = 0, minutes = 0; in formatElapsedTime() local 48 hours = seconds / SECONDS_PER_HOUR; in formatElapsedTime() 49 seconds -= hours * SECONDS_PER_HOUR; in formatElapsedTime() 57 days, hours, minutes, seconds)); in formatElapsedTime() 58 } else if (hours > 0) { in formatElapsedTime() 59 sb.append(context.getString(R.string.battery_history_hours, hours, minutes, seconds)); in formatElapsedTime()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | SetAlarm.java | 405 long hours = delta / (1000 * 60 * 60); in formatToast() local 407 long days = hours / 24; in formatToast() 408 hours = hours % 24; in formatToast() 418 String hourSeq = (hours == 0) ? "" : in formatToast() 419 (hours == 1) ? context.getString(R.string.hour) : in formatToast() 420 context.getString(R.string.hours, Long.toString(hours)); in formatToast() 423 boolean dispHour = hours > 0; in formatToast()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TimeBar.java | 275 int hours = totalSeconds / 3600; in stringForTime() local 276 if (hours > 0) { in stringForTime() 277 return String.format("%d:%02d:%02d", hours, minutes, seconds).toString(); in stringForTime()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DateTimeSettings.java | 393 int hours = off / 60; in formatOffset() local 396 buf[4] = (char) ('0' + hours / 10); in formatOffset() 397 buf[5] = (char) ('0' + hours % 10); in formatOffset()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 237 duration.hours = 0; in performInstanceExpansion() 308 duration.hours = 0; in performInstanceExpansion() 318 duration.hours = 0; in performInstanceExpansion()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 506 int hours = offsetMinutes / 60; in utcOffsetString() local 507 if (hours < 0) { in utcOffsetString() 509 hours = 0 - hours; in utcOffsetString() 514 if (hours < 10) { in utcOffsetString() 517 sb.append(hours); in utcOffsetString()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | VideoCamera.java | 1777 long hours = minutes / 60; in millisecondToTimeString() local 1778 long remainderMinutes = minutes - (hours * 60); in millisecondToTimeString() 1784 if (hours > 0) { in millisecondToTimeString() 1785 if (hours < 10) { in millisecondToTimeString() 1788 timeStringBuilder.append(hours); in millisecondToTimeString()
|
/packages/apps/Camera/src/com/android/camera/ |
D | VideoCamera.java | 1677 long hours = minutes / 60; in millisecondToTimeString() local 1678 long remainderMinutes = minutes - (hours * 60); in millisecondToTimeString() 1684 if (hours > 0) { in millisecondToTimeString() 1685 if (hours < 10) { in millisecondToTimeString() 1688 timeStringBuilder.append(hours); in millisecondToTimeString()
|