Searched defs:separator (Results 1 - 11 of 11) sorted by relevance

/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DUtil.java70 private static String toHexString(byte[] bytes, String separator) { argument
73 hexString.append(Integer.toHexString(0xFF & b)).append(separator);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DLatinImeLoggerUtils.java36 // Helper method to log a single code point separator
41 public static void onSeparator(final String separator, final int x, final int y) { argument
42 final int length = separator.length();
43 for (int i = 0; i < length; i = Character.offsetByCodePoints(separator, i, 1)) {
44 int codePoint = Character.codePointAt(separator, i);
57 // TODO: this fails when the separator is more than 1 code point long, but
/packages/apps/Mms/src/com/android/mms/data/
H A DContactList.java92 public String formatNames(String separator) { argument
98 return TextUtils.join(separator, names);
101 public String formatNamesAndNumbers(String separator) { argument
107 return TextUtils.join(separator, nans);
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DAddress.java263 * Get human readable address strings joined with the specified separator.
266 * @param separator Separator
269 public static String toString(Address[] addresses, String separator) { argument
278 sb.append(separator);
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DSplitter.java34 * into substrings, by recognizing a <i>separator</i> (a.k.a. "delimiter")
77 * The separator recognized by the splitter does not have to be a single
110 * Returns a splitter that uses the given single-character separator. For
114 * @param separator the character to recognize as a separator
115 * @return a splitter, with default settings, that recognizes that separator
117 public static Splitter on(char separator) { argument
118 return on(CharMatcher.is(separator));
123 * given {@code CharMatcher} to be a separator. For example, {@code
128 * character is a separator
158 on(final String separator) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DAddress.java293 * Get human readable address strings joined with the specified separator.
296 * @param separator Separator
299 public static String toString(Address[] addresses, String separator) { argument
308 sb.append(separator);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DSplitter.java34 * into substrings, by recognizing a <i>separator</i> (a.k.a. "delimiter")
77 * The separator recognized by the splitter does not have to be a single
110 * Returns a splitter that uses the given single-character separator. For
114 * @param separator the character to recognize as a separator
115 * @return a splitter, with default settings, that recognizes that separator
117 public static Splitter on(char separator) { argument
118 return on(CharMatcher.is(separator));
123 * given {@code CharMatcher} to be a separator. For example, {@code
128 * character is a separator
158 on(final String separator) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/
H A DHtmlTree.java563 * at most one separator. As such, separators are ordered in increasing
564 * priority, and setting a separator multiple times between text will
565 * result in the single separator with the highest priority being used.
571 // enum's ordinal() method is used when determining if a new separator
609 // The next separator to be inserted between two text nodes.
610 private Separator separator = Separator.None; field in class:HtmlTree.PlainTextPrinter
623 * Sets the next separator between two text nodes. A Space separator is
627 * specify this separator.
629 * A LineBreak separator (singl
[all...]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHtmlTree.java597 * at most one separator. As such, separators are ordered in increasing
598 * priority, and setting a separator multiple times between text will
599 * result in the single separator with the highest priority being used.
605 // enum's ordinal() method is used when determining if a new separator
643 // The next separator to be inserted between two text nodes.
644 private Separator separator = Separator.None; field in class:HtmlTree.PlainTextPrinter
657 * Sets the next separator between two text nodes. A Space separator is
661 * specify this separator.
663 * A LineBreak separator (singl
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java134 * toString() method, each separated by the given separator character.
136 public static String combine(Object[] parts, char separator) { argument
144 sb.append(separator);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLatinIME.java156 // character provided it's not a separator. If it's a separator, the phantom space is dropped.
2368 // first so that we can insert the separator at the current cursor position.
2373 final String separator = shouldAvoidSendingCode ? LastComposedWord.NOT_A_SEPARATOR
2375 commitCurrentAutoCorrection(separator);
2414 // If we are in phantom space state, and the user presses a separator, we want to
2420 // The case is a little different if the separator is a space stripper. Such a
2421 // separator does not normally need a space on the right (that's the difference
2423 // the separator is a stripper. Hence the additional test above.
2659 private void commitCurrentAutoCorrection(final String separator) { argument
[all...]

Completed in 1479 milliseconds