HomeSort by relevance Sort by last modified time
    Searched refs:formatted (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java 110 String formatted = reformat(s, Selection.getSelectionEnd(s)); local
111 if (formatted != null) {
114 s.replace(0, s.length(), formatted, 0, formatted.length());
117 if (formatted.equals(s.toString())) {
125 * Generate the formatted number by ignoring all non-dialable chars and stick the cursor to the
132 String formatted = null; local
141 formatted = getFormattedNumber(lastNonSeparator, hasCursor);
151 formatted = getFormattedNumber(lastNonSeparator, hasCursor);
153 return formatted;
    [all...]
  /sdk/find_java/
utils.cpp 31 CString formatted; local
34 formatted.setv(text, ap);
37 MessageBoxA(NULL, formatted.cstr(), "Android SDK Manager", MB_OK | MB_ICONINFORMATION);
42 CString formatted; local
45 formatted.setv(description, ap);
50 formatted.add("\r\n");
51 formatted.add(error.cstr());
54 fprintf(stderr, "%s\n", formatted.cstr());
56 MessageBox(NULL, formatted.cstr(), "Android SDK Manager - Error", MB_OK | MB_ICONERROR);
  /packages/apps/Contacts/src/com/android/contacts/model/dataitem/
PhoneDataItem.java 75 * Returns the formatted phone number (if already computed using {@link
80 final String formatted = getFormattedPhoneNumber(); local
81 if (formatted != null) {
82 return formatted;
  /external/oprofile/libutil++/
string_manip.cpp 130 string formatted = os.str(); local
131 if (is_prefix(formatted, "100."))
132 formatted.erase(formatted.size() - 1);
133 return formatted;
  /dalvik/tests/021-string2/src/junit/framework/
Assert.java 268 String formatted= ""; local
270 formatted= message+" ";
271 fail(formatted+"expected not same");
275 String formatted= ""; local
277 formatted= message+" ";
278 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">");
286 String formatted= ""; local
288 formatted= message+" ";
289 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
  /dalvik/tests/082-inline-execute/src/junit/framework/
Assert.java 268 String formatted= ""; local
270 formatted= message+" ";
271 fail(formatted+"expected not same");
275 String formatted= ""; local
277 formatted= message+" ";
278 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">");
286 String formatted= ""; local
288 formatted= message+" ";
289 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
  /external/junit/src/junit/framework/
Assert.java 273 String formatted= ""; local
275 formatted= message+" ";
276 fail(formatted+"expected not same");
280 String formatted= ""; local
282 formatted= message+" ";
283 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">");
291 String formatted= ""; local
293 formatted= message+" ";
294 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
ComparisonCompactor.java 82 String formatted= ""; local
84 formatted= message+" ";
85 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
PhoneNumberTestService.java 96 String formatted; local
103 formatted = util.format(pn, format);
107 formatted = "Error: " + e.toString();
110 + ") = " + formatted + " / truncated = " + truncated
  /external/webkit/Source/WebCore/inspector/front-end/
ScriptFormatterWorker.js 52 var mapping = { original: [], formatted: [] };
63 mapping.formatted.push(match.index + match[1].length);
ScriptFormatter.js 140 var mapping = { original: [], formatted: [] };
144 mapping.formatted.push(text.length);
150 mapping.formatted.push(chunk.mapping.formatted[j] + text.length);
159 mapping.formatted.push(text.length);
181 task.callback(task.source, { original: [], formatted: [] });
heapProfiler.css 205 .detailed-heapshot-view .console-formatted-object, .console-formatted-node {
210 .detailed-heapshot-view .console-formatted-string {
  /external/chromium/chrome/browser/resources/shared/js/
local_strings.js 26 * Returns a formatted string where $1 to $9 are replaced by the second to the
29 * @param {...string} The extra values to include in the formatted output.
67 * Returns a formatted localized string where $1 to $9 are replaced by the
70 * @param {...string} The extra values to include in the formatted output.
71 * @return {string} The formatted string.
  /external/junit/src/org/junit/
Assert.java 630 String formatted= ""; local
632 formatted= message + " ";
633 fail(formatted + "expected not same");
638 String formatted= ""; local
640 formatted= message + " ";
641 fail(formatted + "expected same:<" + expected + "> was not:<" + actual
651 String formatted= ""; local
653 formatted= message + " ";
657 return formatted + "expected: "
661 return formatted + "expected:<" + expectedString + "> but was:<
    [all...]
  /external/chromium/net/base/
net_util_unittest.cc 1639 string16 formatted = FormatUrl( local
1650 string16 formatted = FormatUrl( local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
AndroidXmlFormattingStrategy.java 83 * overlapping the formatted region, then it pretty-prints that XML region
170 * @param model the model to be formatted
172 * @param length the length of the text range to be formatted
173 * @return a {@link TextEdit} which edits the model into a formatted document
317 // If you select this text range, we want <foo> to be formatted at whatever
331 // this is that some of theses nodes, which have not yet been formatted,
356 String formatted = sb.toString(); local
357 ReplaceEdit replaceEdit = createReplaceEdit(document, replaceStart, replaceEnd, formatted,
365 // old positions of the formatted text:
379 * given new formatted content. The replaceStart and replaceEnd parameters point t
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/
AndroidXmlFormattingStrategyTest.java 30 // the formatted string, and assert that it's identical to the given after string
31 private void check(String before, int replaceStart, int replaceEnd, String formatted,
37 replaceEnd, formatted, prefs);
65 // formatted string, and assert that it's identical to the given after string
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
EclipseXmlPrettyPrinterTest.java 79 String formatted = sb.toString(); local
80 if (!expected.equals(formatted)) {
81 System.out.println(formatted);
83 assertEquals(expected, formatted);
    [all...]
  /external/icu4c/test/intltest/
tufmtts.cpp 68 UnicodeString formatted;
71 formatted = ((Format*)formats[style])->format(formattable, formatted, status);
75 formatted.extract(0, formatted.length(), formatResult, "UTF-8");
79 ((Format*)formats[style])->parseObject(formatted, result, status);
86 ((Format*)formats[1-style])->parseObject(formatted, result_1, status);
311 std::cout << "Formatted string : " << tmp << " expected : " << tmp1 << "\n";
313 if (!assertEquals("formatted time string is not expected, locale: " + UnicodeString(locales[locIndex]) + " style: " + (int)styles[styleIndex] + " units: " + (int)tunits[unitIndex], expected[counter], str)) {
dtptngts.cpp 545 logln(UnicodeString(" Formatted date:") + rDate);
570 logln(UnicodeString(" Formatted date:") + rDate);
789 UnicodeString formatted; local
    [all...]
  /external/v8/src/
string-stream.cc 157 EmbeddedVector<char, 24> formatted; local
158 int length = OS::SNPrintF(formatted, temp.start(), value);
159 Add(Vector<const char>(formatted.start(), length));
164 EmbeddedVector<char, 28> formatted; local
165 OS::SNPrintF(formatted, temp.start(), value);
166 Add(formatted.start());
171 EmbeddedVector<char, 20> formatted; local
172 OS::SNPrintF(formatted, temp.start(), value);
173 Add(formatted.start());
  /external/icu4c/test/cintltst/
udatpg_test.c 228 UChar pattern[40], formatted[40]; local
337 formattedCapacity = (int32_t)(sizeof(formatted)/sizeof((formatted)[0]));
338 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity,
343 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity,
345 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UnwrapRefactoring.java 217 MultiTextEdit formatted = reformat(rootEdit, XmlFormatStyle.LAYOUT); local
218 if (formatted != null) {
219 rootEdit = formatted;
  /external/chromium/base/
string_util.cc 846 OutStringType formatted; variable
847 formatted.reserve(format_string.length() + sub_length);
858 formatted.push_back('$');
866 static_cast<int>(formatted.size()));
874 formatted.append(subst.at(index));
878 formatted.push_back(*i);
887 return formatted;
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 336 // Can we parse an ASCII-formatted date in an Arabic locale?
341 String formatted = sdf.format(d); local
342 assertEquals("????-??-?? ??:??:??", formatted);
344 // Can we parse the Arabic-formatted date in an Arabic locale, and get the same date
346 Date d2 = sdf.parse(formatted);

Completed in 1407 milliseconds

1 2 3