Home
last modified time | relevance | path

Searched refs:DAY (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/format/
DFormatterTest.java133 private static final long DAY = 24 * HOUR; field in FormatterTest
138 assertEquals("3 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 12 * HOUR)); in testFormatShortElapsedTime()
139 assertEquals("2 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY + 11 * HOUR)); in testFormatShortElapsedTime()
140 assertEquals("2 days", Formatter.formatShortElapsedTime(mContext, 2 * DAY)); in testFormatShortElapsedTime()
142 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 23 * HOUR + 59 * MINUTE)); in testFormatShortElapsedTime()
144 Formatter.formatShortElapsedTime(mContext, 1 * DAY + 59 * MINUTE)); in testFormatShortElapsedTime()
145 assertEquals("1 day", Formatter.formatShortElapsedTime(mContext, 1 * DAY)); in testFormatShortElapsedTime()
166 assertEquals("2\u202fj", Formatter.formatShortElapsedTime(mContext, 2 * DAY)); in testFormatShortElapsedTime()
173 mContext, 2 * DAY + 12 * HOUR)); in testFormatShortElapsedTimeRoundingUpToMinutes()
175 mContext, 2 * DAY + 11 * HOUR)); in testFormatShortElapsedTimeRoundingUpToMinutes()
[all …]
/frameworks/base/core/java/android/app/
DDatePickerDialog.java49 private static final String DAY = "day"; field in DatePickerDialog
210 state.putInt(DAY, mDatePicker.getDayOfMonth()); in onSaveInstanceState()
219 final int day = savedInstanceState.getInt(DAY); in onRestoreInstanceState()
/frameworks/base/core/java/android/text/format/
DFormatter.java250 return measureFormat.format(new Measure(days, MeasureUnit.DAY)); in formatShortElapsedTime()
253 new Measure(days, MeasureUnit.DAY), in formatShortElapsedTime()
DDateFormat.java97 public static final char DAY = 'E'; field in DateFormat
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DStringUtil.java77 measureList.add(new Measure(days, MeasureUnit.DAY)); in formatElapsedTime()
DPowerUtil.java182 final Measure daysMeasure = new Measure(2, MeasureUnit.DAY); in getMoreThanTwoDaysString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java162 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/
Dremoved.txt623 field @Deprecated public static final char DAY = 69; // 0x0045 'E'
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...