HomeSort by relevance Sort by last modified time
    Searched defs:roll (Results 1 - 25 of 27) sorted by null

1 2

  /libcore/luni/src/test/java/tests/api/java/util/
CalendarTest.java 698 * @tests java.util.Calendar#roll(int, int)
704 // roll up
705 calendar.roll(Calendar.DATE, 5);
708 // roll down
709 calendar.roll(Calendar.DATE, -5);
712 // roll 0
713 calendar.roll(Calendar.DATE, 0);
716 // roll overweight
718 calendar.roll(Calendar.MONTH, 1);
792 public void roll(int field, boolean increment) method in class:CalendarTest.MockCalendar
    [all...]
GregorianCalendarTest.java 635 * @tests java.util.GregorianCalendar#roll(int, int)
640 method = "roll",
644 // Test for method void java.util.GregorianCalendar.roll(int, int)
647 gc.roll(Calendar.DAY_OF_MONTH, -1);
648 assertTrue("Failed to roll DAY_OF_MONTH down by 1", gc
652 gc.roll(Calendar.DAY_OF_MONTH, 25);
653 assertTrue("Failed to roll DAY_OF_MONTH up by 25", gc
657 gc.roll(Calendar.DAY_OF_MONTH, -10);
658 assertTrue("Failed to roll DAY_OF_MONTH down by 10", gc
664 * @tests java.util.GregorianCalendar#roll(int, boolean
    [all...]
  /development/ndk/platforms/android-9/include/android/
sensor.h 102 float roll; member in struct:ASensorVector::__anon1272::__anon1274
  /frameworks/base/native/include/android/
sensor.h 102 float roll; member in struct:ASensorVector::__anon9309::__anon9311
  /external/chromium/third_party/icu/source/i18n/
hebrwcal.cpp 199 * <b>Note:</b> You should always use {@link #roll roll} and add rather
278 * example, to roll the current date up by three days, you can call
279 * <code>roll(Calendar.DATE, 3)</code>. If the
282 * For example, calling <code>roll(Calendar.DATE, 10)</code>
291 * This method is able to roll
294 * additional fields in their overrides of <code>roll</code>.
296 * <b>Note:</b> You should always use roll and {@link #add add} rather
308 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) function in class:HebrewCalendar
324 // of ADAR_1, we need to roll an extra month to make up for it
342 void HebrewCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) { function in class:HebrewCalendar
    [all...]
chnsecal.cpp 367 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) { function in class:ChineseCalendar
406 // Now do the standard roll computation on m, with the
420 Calendar::roll(field, amount, status);
425 void ChineseCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) { function in class:ChineseCalendar
426 roll((UCalendarDateFields)field, amount, status);
725 * and a day-of-month. Used by add() and roll().
gregocal.cpp 28 * Fixed bug in roll()
34 * 12/09/99 aliu Fixed j81, calculation errors and roll bugs
812 * Roll a field by a signed amount.
817 GregorianCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) { function in class:GregorianCalendar
818 roll((UCalendarDateFields) field, amount, status);
822 GregorianCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) function in class:GregorianCalendar
    [all...]
calendar.cpp 1447 void Calendar::roll(EDateFields field, int32_t amount, UErrorCode& status) function in class:Calendar
1452 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) function in class:Calendar
    [all...]
  /external/icu4c/i18n/
hebrwcal.cpp 199 * <b>Note:</b> You should always use {@link #roll roll} and add rather
278 * example, to roll the current date up by three days, you can call
279 * <code>roll(Calendar.DATE, 3)</code>. If the
282 * For example, calling <code>roll(Calendar.DATE, 10)</code>
291 * This method is able to roll
294 * additional fields in their overrides of <code>roll</code>.
296 * <b>Note:</b> You should always use roll and {@link #add add} rather
308 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) function in class:HebrewCalendar
324 // of ADAR_1, we need to roll an extra month to make up for it
342 void HebrewCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) { function in class:HebrewCalendar
    [all...]
chnsecal.cpp 367 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) { function in class:ChineseCalendar
406 // Now do the standard roll computation on m, with the
420 Calendar::roll(field, amount, status);
425 void ChineseCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) { function in class:ChineseCalendar
426 roll((UCalendarDateFields)field, amount, status);
725 * and a day-of-month. Used by add() and roll().
gregocal.cpp 28 * Fixed bug in roll()
34 * 12/09/99 aliu Fixed j81, calculation errors and roll bugs
812 * Roll a field by a signed amount.
817 GregorianCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) { function in class:GregorianCalendar
818 roll((UCalendarDateFields) field, amount, status);
822 GregorianCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) function in class:GregorianCalendar
    [all...]
calendar.cpp 1465 void Calendar::roll(EDateFields field, int32_t amount, UErrorCode& status) function in class:Calendar
1470 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) function in class:Calendar
    [all...]
  /external/qemu/android/
hw-sensors.c 77 float roll; member in struct:__anon5700
128 * orientation:<azimuth>:<pitch>:<roll>
294 sensor->u.orientation.roll);
449 _hwSensors_setOrientation( HwSensors* h, float azimuth, float pitch, float roll )
454 s->u.orientation.roll = roll;
  /hardware/libhardware/include/hardware/
sensors.h 134 * roll: Rotation around Y axis (-90<=roll<=90), with positive values when
137 * Note: For historical reasons the roll angle is positive in the clockwise
143 * (+roll) .--> |
145 * | | roll: rotation around Y axis
148 * note that +Y == -roll
152 * Note: This definition is different from yaw, pitch and roll used in aviation
202 * with the definition of roll given earlier.
283 float roll; member in struct:__anon9515::__anon9516::__anon9518
  /external/chromium/third_party/icu/public/i18n/unicode/
calendar.h 539 * time field. For example, to roll the current date up by one day, call
540 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
541 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
547 * hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range
550 * NOTE: Do not use this method -- use roll(EDateFields, int, UErrorCode&) instead.
558 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, UBool up, UErrorCode& status) instead.
560 inline void roll(EDateFields field, UBool up, UErrorCode& status);
564 * time field. For example, to roll the current date up by one day, call
565 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
566 * will roll the year value in the range between getMinimum(Calendar::YEAR) and th
2152 Calendar::roll(UCalendarDateFields field, UBool up, UErrorCode& status) function in class:Calendar
2158 Calendar::roll(EDateFields field, UBool up, UErrorCode& status) function in class:Calendar
    [all...]
  /external/icu4c/i18n/unicode/
calendar.h 545 * time field. For example, to roll the current date up by one day, call
546 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
547 * will roll the year value in the range between getMinimum(Calendar::YEAR) and the
553 * hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range
556 * NOTE: Do not use this method -- use roll(EDateFields, int, UErrorCode&) instead.
564 * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, UBool up, UErrorCode& status) instead.
566 inline void roll(EDateFields field, UBool up, UErrorCode& status);
570 * time field. For example, to roll the current date up by one day, call
571 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
572 * will roll the year value in the range between getMinimum(Calendar::YEAR) and th
2215 Calendar::roll(UCalendarDateFields field, UBool up, UErrorCode& status) function in class:Calendar
2221 Calendar::roll(EDateFields field, UBool up, UErrorCode& status) function in class:Calendar
    [all...]
  /libcore/luni/src/main/java/java/util/
GregorianCalendar.java 1275 public void roll(int field, int value) { method in class:GregorianCalendar
1393 public void roll(int field, boolean increment) { method in class:GregorianCalendar
1394 roll(field, increment ? 1 : -1); method
    [all...]
Calendar.java 159 * {@code set()}, {@code add()}, and {@code roll()}.
228 * <strong>{@code roll(f, delta)}</strong> adds {@code delta} to
234 * <strong>Roll rule</strong>. Larger fields are unchanged after the call. A
241 * set to August 31, 1999. Calling <code>roll(Calendar.MONTH,
246 * sets it to the closest possible value, 30. Finally, the <strong>roll rule</strong>
252 * {@code roll(Calendar.WEEK_OF_MONTH, -1)} sets the calendar to Tuesday
254 * sets the calendar to Sunday May 30, 1999. This is because the roll rule
264 * and {@code roll()}, consider a user interface component with
272 * {@code add()} or {@code roll()}, depending on whether larger
277 * <b>Note:</b> You should always use {@code roll} and {@code add} rather tha
922 roll(field, true); method
947 roll(field, false); method
1181 public void roll(int field, int value) { method in class:Calendar
1185 roll(field, increment); method
1200 abstract public void roll(int field, boolean increment); method in class:Calendar
    [all...]
  /external/chromium/third_party/icu/source/tools/tzcode/
zic.c 417 static char roll[TZ_MAX_LEAPS]; variable
    [all...]
  /external/icu4c/tools/tzcode/
zic.c 417 static char roll[TZ_MAX_LEAPS]; variable
    [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 

Completed in 657 milliseconds

1 2