Searched refs:formatted (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java108 String formatted = reformat(s, Selection.getSelectionEnd(s));
109 if (formatted != null) {
112 s.replace(0, s.length(), formatted, 0, formatted.length());
115 if (formatted.equals(s.toString())) {
124 * Generate the formatted number by ignoring all non-dialable chars and stick the cursor to the
131 String formatted = null;
140 formatted = getFormattedNumber(lastNonSeparator, hasCursor);
150 formatted = getFormattedNumber(lastNonSeparator, hasCursor);
152 return formatted;
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardBuilder.java838 String formatted;
852 formatted = PhoneNumberUtilsPort.formatNumber(
856 formatted = numberWithControlSequence;
862 && !TextUtils.isEmpty(formatted)
863 && !formatted.startsWith("tel:")) {
864 formatted = "tel:" + formatted;
867 // Pre-formatted string should be stored.
869 appendTelLine(type, label, formatted, isPrimary);
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp529 bool formatted = true; local
530 if (Maybe<StringPiece16> formattedAttr = xml::findAttribute(parser, u"formatted")) {
531 if (!ResourceUtils::tryParseBool(formattedAttr.value(), &formatted)) {
533 << "invalid value for 'formatted'. Must be a boolean");
556 if (formatted && translateable) {
560 "did you mean to add the formatted=\"false\" attribute?";
/frameworks/base/tools/aapt/
H A DResourceTable.cpp834 const String16 formatted16("formatted");
1350 String16 formatted; local
1361 formatted.setTo(block.getAttributeStringValue(i, &length));
1392 if (formatted == false16) {

Completed in 3040 milliseconds