Searched refs:hasDesignator (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateFormatTest.java | 26 assertTrue(DateFormat.hasDesignator("hh:mm:ss", DateFormat.MINUTE)); in testHasDesignator() 27 assertTrue(DateFormat.hasDesignator("myyyy", DateFormat.MINUTE)); in testHasDesignator() 28 assertTrue(DateFormat.hasDesignator("mmm", DateFormat.MINUTE)); in testHasDesignator() 30 assertFalse(DateFormat.hasDesignator("hh:MM:ss", DateFormat.MINUTE)); in testHasDesignator() 35 assertTrue(DateFormat.hasDesignator("hh:mm 'LOL'", DateFormat.MINUTE)); in testHasDesignatorEscaped() 37 assertFalse(DateFormat.hasDesignator("hh:mm 'yyyy'", DateFormat.YEAR)); in testHasDesignatorEscaped()
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 426 return hasDesignator(inFormat, SECONDS); in hasSeconds() 435 public static boolean hasDesignator(CharSequence inFormat, char designator) { in hasDesignator() method in DateFormat
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardWidgetPager.java | 935 if (DateFormat.hasDesignator(format, hour)) { 938 if (DateFormat.hasDesignator(format, DateFormat.MINUTE)) {
|