Searched refs:DAY (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 110 private static final long DAY = 24 * HOUR; field in FormatterTest 115 assertEquals("3 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 12 * HOUR)); in testFormatShortElapsedTime() 116 assertEquals("2 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 11 * HOUR)); in testFormatShortElapsedTime() 117 assertEquals("2 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY)); in testFormatShortElapsedTime() 119 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 23 * HOUR + 59 * MINUTE)); in testFormatShortElapsedTime() 121 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 59 * MINUTE)); in testFormatShortElapsedTime() 122 assertEquals("1 day, 0 hr", Formatter.formatShortElapsedTime(mContext, 1 * DAY)); in testFormatShortElapsedTime() 143 assertEquals("2 j", Formatter.formatShortElapsedTime(mContext, 2 * DAY)); in testFormatShortElapsedTime() 150 mContext, 2 * DAY + 12 * HOUR)); in testFormatShortElapsedTimeRoundingUpToMinutes() 152 mContext, 2 * DAY + 11 * HOUR)); in testFormatShortElapsedTimeRoundingUpToMinutes() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | TwilightCalculator.java | 38 public static final int DAY = 0; field in TwilightCalculator 122 state = DAY; in calculateTwilight() 134 state = DAY; in calculateTwilight()
|
/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 48 private static final String DAY = "day"; field in DatePickerDialog 208 state.putInt(DAY, mDatePicker.getDayOfMonth()); in onSaveInstanceState() 217 final int day = savedInstanceState.getInt(DAY); in onRestoreInstanceState()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 360 return measureFormat.format(new Measure(days, MeasureUnit.DAY)); in formatShortElapsedTime() 363 new Measure(days, MeasureUnit.DAY), in formatShortElapsedTime()
|
D | DateFormat.java | 95 public static final char DAY = 'E'; field in DateFormat
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 162 private static final int DAY = 0, NIGHT = 1, TWILIGHT = 2, SUNSET = 3; field in MLand 413 boolean showingSun = (mTimeOfDay == DAY || mTimeOfDay == SUNSET) && frand() > 0.25; in reset() 419 if (mTimeOfDay == DAY) { in reset() 452 if (HAVE_STARS && r1 < 0.3 && mTimeOfDay != DAY) { in reset()
|
/frameworks/base/api/ |
D | test-removed.txt | 434 field public static final deprecated char DAY = 69; // 0x0045 'E'
|
D | removed.txt | 434 field public static final deprecated char DAY = 69; // 0x0045 'E'
|
D | system-removed.txt | 559 field public static final deprecated char DAY = 69; // 0x0045 'E'
|
D | current.txt | 17835 field public static final java.lang.String DAY = "d"; 18075 field public static final int DAY = 7; // 0x7 18735 enum_constant public static final android.icu.text.RelativeDateTimeFormatter.AbsoluteUnit DAY; 19821 field public static final android.icu.util.TimeUnit DAY;
|
D | test-current.txt | 17933 field public static final java.lang.String DAY = "d"; 18173 field public static final int DAY = 7; // 0x7 18833 enum_constant public static final android.icu.text.RelativeDateTimeFormatter.AbsoluteUnit DAY; 19919 field public static final android.icu.util.TimeUnit DAY;
|
D | system-current.txt | 19378 field public static final java.lang.String DAY = "d"; 19618 field public static final int DAY = 7; // 0x7 20278 enum_constant public static final android.icu.text.RelativeDateTimeFormatter.AbsoluteUnit DAY; 21364 field public static final android.icu.util.TimeUnit DAY;
|