Searched refs:DAY (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | FormatterTest.java | 133 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/ |
D | DatePickerDialog.java | 49 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/ |
D | Formatter.java | 250 return measureFormat.format(new Measure(days, MeasureUnit.DAY)); in formatShortElapsedTime() 253 new Measure(days, MeasureUnit.DAY), in formatShortElapsedTime()
|
D | DateFormat.java | 97 public static final char DAY = 'E'; field in DateFormat
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | StringUtil.java | 77 measureList.add(new Measure(days, MeasureUnit.DAY)); in formatElapsedTime()
|
D | PowerUtil.java | 182 final Measure daysMeasure = new Measure(2, MeasureUnit.DAY); in getMoreThanTwoDaysString()
|
/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 | removed.txt | 623 field @Deprecated public static final char DAY = 69; // 0x0045 'E'
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |