Searched defs:hours (Results 1 - 4 of 4) sorted by relevance

/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DDuration.java34 public int hours; field in class:Duration
52 hours = 0;
101 hours = n;
133 cal.add(Calendar.HOUR, sign*hours);
146 + (60*60*hours)
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DDurationTest.java27 int sign, int weeks, int days, int hours,
36 assertEquals("Duration hours is not equal for " + str, hours, duration.hours);
26 verifyDuration(String str, int sign, int weeks, int days, int hours, int minutes, int seconds) argument
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialPickerLayout.java188 // Initialize the hours and minutes numbers.
190 int[] hours = {12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
198 String.format("%02d", hours_24[i]) : String.format("%d", hours[i]);
199 innerHoursTexts[i] = String.format("%d", hours[i]);
230 public void setTime(int hours, int minutes) { argument
231 setItem(HOUR_INDEX, hours);
257 // We'll have the 00 hours on the outside circle.
270 * If the hours are showing, return the current hour. If the minutes are showing, return the
326 * circle (5 on the minutes, 1 or 13 on the hours).
421 * For the currently showing view (either hours o
[all...]
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java106 * hours and minutes, specified with {@link #ARG_HOURS} and
298 * Argument used to specify the hours of a time. The hours should be
302 public static final String ARG_HOURS = "android.arg.hours";
305 * Argument used to specify the minutes of a time. The hours should be
1099 public TimeBuilder(int hours, int minutes) { argument
1101 setHours(hours);
1107 * @param hours The value to be set for hours. See {@link #ARG_HOURS}.
1111 public TimeBuilder setHours(int hours) { argument
[all...]

Completed in 3558 milliseconds