| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| StringTest.java | 281 int result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 2); 284 result = new String("abcd").offsetByCodePoints(3, -1); 287 result = new String("a\uD800\uDC00b").offsetByCodePoints(0, 3); 290 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, -1); 293 result = new String("a\uD800\uDC00b").offsetByCodePoints(3, 0); 296 result = new String("\uD800\uDC00bc").offsetByCodePoints(3, 0); 299 result = new String("a\uDC00bc").offsetByCodePoints(3, -1); 302 result = new String("a\uD800bc").offsetByCodePoints(3, -1); 306 .offsetByCodePoints(0, 2); 309 result = newString(2, 4, "__abcd__".toCharArray()).offsetByCodePoints( [all...] |
| StringBufferTest.java | 467 * java.lang.StringBuffer.offsetByCodePoints(int, int)' 470 int result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 2); 473 result = new StringBuffer("abcd").offsetByCodePoints(3, -1); 476 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(0, 3); 479 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, -1); 482 result = new StringBuffer("a\uD800\uDC00b").offsetByCodePoints(3, 0); 485 result = new StringBuffer("\uD800\uDC00bc").offsetByCodePoints(3, 0); 488 result = new StringBuffer("a\uDC00bc").offsetByCodePoints(3, -1); 491 result = new StringBuffer("a\uD800bc").offsetByCodePoints(3, -1); 496 sb.offsetByCodePoints(-1, 1) [all...] |
| CharacterTest.java | 384 int result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 2); 387 result = Character.offsetByCodePoints("abcd", 3, -1); 390 result = Character.offsetByCodePoints("a\uD800\uDC00b", 0, 3); 393 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, -1); 396 result = Character.offsetByCodePoints("a\uD800\uDC00b", 3, 0); 399 result = Character.offsetByCodePoints("\uD800\uDC00bc", 3, 0); 402 result = Character.offsetByCodePoints("a\uDC00bc", 3, -1); 405 result = Character.offsetByCodePoints("a\uD800bc", 3, -1); 409 Character.offsetByCodePoints(null, 0, 1); 415 Character.offsetByCodePoints("abc", -1, 1) [all...] |
| StringBuilderTest.java | [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
| StringUtils.java | 138 final int cutoff = s.offsetByCodePoints(0, 1); 154 final int cutoff = s.offsetByCodePoints(0, 1); 209 index = Character.offsetByCodePoints(charSequence, index, 1)) { 249 for (; index < len; index = text.offsetByCodePoints(index, 1)) { 260 for (index = text.offsetByCodePoints(index, 1); index < len; 261 index = text.offsetByCodePoints(index, 1)) { 310 for (int i = 0; i < len; i = text.offsetByCodePoints(i, 1)) { 331 for (int i = 0; i < len; i = text.offsetByCodePoints(i, 1)) { 332 final String nextChar = text.substring(i, text.offsetByCodePoints(i, 1)); 396 i = Character.offsetByCodePoints(text, i, -1) [all...] |
| RecapitalizeStatus.java | 172 nonWhitespaceStart = mStringBefore.offsetByCodePoints(nonWhitespaceStart, 1)) { 178 nonWhitespaceEnd = mStringBefore.offsetByCodePoints(nonWhitespaceEnd, -1)) {
|
| DictionaryInfoUtils.java | 116 for (int i = 0; i < nameLength; i = name.offsetByCodePoints(i, 1)) { 148 for (int i = 0; i < fnameLength; i = fname.offsetByCodePoints(i, 1)) {
|
| /frameworks/base/core/java/android/emoji/ |
| EmojiFactory.java | 191 for (int i = 0; i < len; i = vspString.offsetByCodePoints(i, 1), new_len++) { 225 for (int i = 0; i < len; i = puaString.offsetByCodePoints(i, 1), new_len++) {
|
| /packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
| FusionDictionaryTest.java | 82 for (int i = 0; i < word.length(); i = word.offsetByCodePoints(i, 1)) {
|
| /libcore/luni/src/main/java/java/lang/ |
| StringBuffer.java | 661 public synchronized int offsetByCodePoints(int index, int codePointOffset) { 662 return super.offsetByCodePoints(index, codePointOffset);
|
| AbstractStringBuilder.java | 886 * @see Character#offsetByCodePoints(char[], int, int, int, int) 889 public int offsetByCodePoints(int index, int codePointOffset) { 890 return Character.offsetByCodePoints(value, 0, count, index,
|
| Character.java | [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
| SentenceLevelAdapter.java | 91 index = index < 0 ? 0 : Character.offsetByCodePoints(sequence, index, 1); 119 index = index < 0 ? 0 : Character.offsetByCodePoints(sequence, index, 1);
|
| /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
| BinaryDictDecoderUtils.java | 190 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) { 216 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) {
|
| BinaryDictIOUtils.java | 196 for (int p = 0, j = word.offsetByCodePoints(0, wordPos); 198 ++p, j = word.offsetByCodePoints(j, 1)) {
|
| BinaryDictEncoderUtils.java | 97 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) { [all...] |
| /frameworks/opt/vcard/java/com/android/vcard/ |
| VCardUtils.java | 462 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 510 for (int i = 0; i < length; i = str.offsetByCodePoints(i, 1)) { 539 for (int i = 0; i < length; i = str.offsetByCodePoints(i, 1)) { 564 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 612 for (int i = 0; i < length; i = value.offsetByCodePoints(i, 1)) { 640 for (int i = 0; i < length; i = orgString.offsetByCodePoints(i, 1)) { [all...] |
| /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
| EncoderUtil.java | 521 int splitOffset = text.offsetByCodePoints(text.length() / 2, -1); 549 int splitOffset = text.offsetByCodePoints(text.length() / 2, -1);
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
| WordComposer.java | 296 for (int i = 0; i < length; i = Character.offsetByCodePoints(word, i, 1)) {
|
| /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
| InputTestsBase.java | 287 for (int i = 0; i < stringToType.length(); i = stringToType.offsetByCodePoints(i, 1)) {
|
| /libcore/libart/src/main/java/java/lang/ |
| String.java | [all...] |
| /prebuilts/sdk/10/ |
| android.jar | |
| /prebuilts/sdk/11/ |
| android.jar | |
| /prebuilts/sdk/13/ |
| android.jar | |
| /prebuilts/sdk/16/ |
| android.jar | |