Lines Matching refs:hours
125 int days = 0, hours = 0, minutes = 0;
131 hours = (int)(secondsLong / SECONDS_PER_HOUR);
132 secondsLong -= hours * SECONDS_PER_HOUR;
141 days += (hours+12)/24;
144 if (hours == 1) {
145 return context.getString(com.android.internal.R.string.durationDayHour, days, hours);
147 return context.getString(com.android.internal.R.string.durationDayHours, days, hours);
148 } else if (hours >= 2) {
149 hours += (minutes+30)/60;
150 return context.getString(com.android.internal.R.string.durationHours, hours);
151 } else if (hours > 0) {
153 return context.getString(com.android.internal.R.string.durationHourMinute, hours,
156 return context.getString(com.android.internal.R.string.durationHourMinutes, hours,