Home
last modified time | relevance | path

Searched refs:LENGTH_SHORTEST (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java80 assertEquals("0s", DateUtils.formatDuration(0, DateUtils.LENGTH_SHORTEST)); in test_formatDuration_seconds()
81 assertEquals("1s", DateUtils.formatDuration(1000, DateUtils.LENGTH_SHORTEST)); in test_formatDuration_seconds()
82 assertEquals("2s", DateUtils.formatDuration(1500, DateUtils.LENGTH_SHORTEST)); in test_formatDuration_seconds()
98 assertEquals("1m", DateUtils.formatDuration(60000, DateUtils.LENGTH_SHORTEST)); in test_formatDuration_Minutes()
99 assertEquals("2m", DateUtils.formatDuration(120000, DateUtils.LENGTH_SHORTEST)); in test_formatDuration_Minutes()
114 assertEquals("1h", DateUtils.formatDuration(3600000, DateUtils.LENGTH_SHORTEST)); in test_formatDuration_Hours()
115 assertEquals("48h", DateUtils.formatDuration(172800000, DateUtils.LENGTH_SHORTEST)); in test_formatDuration_Hours()
/frameworks/base/core/java/android/text/format/
DDateUtils.java185 public static final int LENGTH_SHORTEST = 50; field in DateUtils
208 case LENGTH_SHORTEST: in getDayOfWeekString()
253 case LENGTH_SHORTEST: in getMonthString()
407 case LENGTH_SHORTEST: in formatDuration()
/frameworks/base/core/java/android/widget/
DCalendarViewLegacyDelegate.java724 DateUtils.LENGTH_SHORTEST); in setUpHeader()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30091 field public static final deprecated int LENGTH_SHORTEST = 50; // 0x32
/frameworks/base/non-updatable-api/
Dcurrent.txt47663 field @Deprecated public static final int LENGTH_SHORTEST = 50; // 0x32
/frameworks/base/api/
Dcurrent.txt47807 field @Deprecated public static final int LENGTH_SHORTEST = 50; // 0x32