Home
last modified time | relevance | path

Searched refs:formatString (Results 1 – 7 of 7) 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.java663 public static int appendQuotedText(SpannableStringBuilder formatString, int index) { in appendQuotedText() argument
664 int length = formatString.length(); in appendQuotedText()
665 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) { in appendQuotedText()
666 formatString.delete(index, index + 1); in appendQuotedText()
673 formatString.delete(index, index + 1); in appendQuotedText()
677 char c = formatString.charAt(index); in appendQuotedText()
681 if (index + 1 < length && formatString.charAt(index + 1) == QUOTE) { in appendQuotedText()
683 formatString.delete(index, index + 1); in appendQuotedText()
689 formatString.delete(index, index + 1); in appendQuotedText()
/frameworks/base/core/java/android/service/controls/templates/
DRangeTemplate.java72 @Nullable CharSequence formatString) { in RangeTemplate() argument
78 if (formatString != null) { in RangeTemplate()
79 mFormatString = formatString; in RangeTemplate()
/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.cpp319 const char* fmt = fmtEntry.formatString(); in handleFormat()
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java1191 String formatString = null; in createUHSensorMandatoryStreamCombination() local
1194 formatString = "RAW_SENSOR"; in createUHSensorMandatoryStreamCombination()
1197 formatString = "JPEG"; in createUHSensorMandatoryStreamCombination()
1200 formatString = "YUV"; in createUHSensorMandatoryStreamCombination()
1206 combTemplate.mDescription + " " + formatString + " still-capture", in createUHSensorMandatoryStreamCombination()