Home
last modified time | relevance | path

Searched refs:formatString (Results 1 – 6 of 6) 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.java595 public static int appendQuotedText(SpannableStringBuilder formatString, int index) { in appendQuotedText() argument
596 int length = formatString.length(); in appendQuotedText()
597 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) { in appendQuotedText()
598 formatString.delete(index, index + 1); in appendQuotedText()
605 formatString.delete(index, index + 1); in appendQuotedText()
609 char c = formatString.charAt(index); in appendQuotedText()
613 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) { in appendQuotedText()
615 formatString.delete(index, index + 1); in appendQuotedText()
621 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp4111 char formatString[6]; in valueToString() local
4112 sprintf(formatString, "%%.%dg", precision); in valueToString()
4118 len = snprintf(buffer, sizeof(buffer), formatString, value); in valueToString()