Home
last modified time | relevance | path

Searched refs:formatString (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSplitClockView.java90 String formatString = DateFormat.getTimeFormatString(getContext(), in updatePatterns() local
92 int index = getAmPmPartEndIndex(formatString); in updatePatterns()
96 timeString = formatString; in updatePatterns()
99 timeString = formatString.substring(0, index); in updatePatterns()
100 amPmString = formatString.substring(index); in updatePatterns()
104 mTimeView.setContentDescriptionFormat12Hour(formatString); in updatePatterns()
105 mTimeView.setContentDescriptionFormat24Hour(formatString); in updatePatterns()
115 private static int getAmPmPartEndIndex(String formatString) { in getAmPmPartEndIndex() argument
117 int length = formatString.length(); in getAmPmPartEndIndex()
119 char c = formatString.charAt(i); in getAmPmPartEndIndex()
/frameworks/base/core/java/android/text/format/
DDateFormat.java645 public static int appendQuotedText(SpannableStringBuilder formatString, int index) { in appendQuotedText() argument
646 int length = formatString.length(); in appendQuotedText()
647 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) { in appendQuotedText()
648 formatString.delete(index, index + 1); in appendQuotedText()
655 formatString.delete(index, index + 1); in appendQuotedText()
659 char c = formatString.charAt(index); in appendQuotedText()
663 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) { in appendQuotedText()
665 formatString.delete(index, index + 1); in appendQuotedText()
671 formatString.delete(index, index + 1); in appendQuotedText()
/frameworks/av/media/libnblog/include/media/nblog/
DEntry.h190 const char* formatString() const;
/frameworks/av/media/libnblog/
DEntry.cpp149 const char *FormatEntry::formatString() const in formatString() function in android::NBLog::FormatEntry
DReader.cpp313 const char* fmt = fmtEntry.formatString(); in handleFormat()