Searched defs:text (Results 126 - 150 of 1670) sorted by relevance

1234567891011>>

/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DUnescapeTransliterator.java12 package com.ibm.icu.text;
148 protected void handleTransliterate(Replaceable text, argument
187 char c = text.charAt(s++);
205 int ch = text.char32At(s);
229 char c = text.charAt(s++);
239 text.replace(start, s, str);
254 start += UTF16.getCharCount(text.char32At(start));
264 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text
[all...]
H A DUnicodeNameTransliterator.java7 package com.ibm.icu.text;
46 protected void handleTransliterate(Replaceable text, argument
57 int c = text.char32At(cursor);
64 text.replace(cursor, cursor+clen, str.toString());
66 cursor += len; // advance cursor by 1 and adjust for new text
79 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet)
H A DEscapeTransliterator.java12 package com.ibm.icu.text;
178 protected void handleTransliterate(Replaceable text, argument
188 int c = grokSupplementals ? text.char32At(start) : text.charAt(start);
210 text.replace(start, start + charLen, buf.toString());
221 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet)
H A DLowercaseTransliterator.java9 package com.ibm.icu.text;
66 protected synchronized void handleTransliterate(Replaceable text, argument
76 iter.setText(text);
121 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet)
H A DNormalizationTransliterator.java13 package com.ibm.icu.text;
84 protected void handleTransliterate(Replaceable text, argument
95 * bulk mode, so that styled text is minimally disrupted.
99 * If it was known that the input text is not styled, then
105 int c = text.char32At(start);
114 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start)));
125 text.replace(prev, start, normalized.toString());
154 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text
[all...]
H A DRuleBasedTransliterator.java9 package com.ibm.icu.text;
27 * that direction will not modify the source text. In addition,
38 * left is assigned the text on the right. In this example,
46 * text of any length, including no text at all (&quot;<code>$empty=;</code>&quot;).
76 * must be matched in the text being transliterated. However, unlike
78 * text. For example, the pattern &quot;<code>abc{def}</code>&quot;
92 * replacement. The cursor is the point in the text at which the
94 * placed within the replacement text; however, it can actually be
147 * <p>Patterns can be anchored to the beginning or the end of the text
330 handleTransliterate(Replaceable text, Position index, boolean incremental) argument
[all...]
H A DStringReplacer.java13 package com.ibm.icu.text;
17 * A replacer that produces static text as its output. The text may
28 * Output text, possibly containing stand-in characters that
60 * text and sets the cursor to the given position.
61 * @param theOutput text that will replace input text when the
81 * text and does not modify the cursor.
82 * @param theOutput text that will replace input text whe
114 replace(Replaceable text, int start, int limit, int[] cursor) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DLowercaseTransliterator.java10 package android.icu.text;
67 protected synchronized void handleTransliterate(Replaceable text, argument
77 iter.setText(text);
122 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
H A DQuantifier.java10 package android.icu.text;
39 public int matches(Replaceable text, argument
47 int m = matcher.matches(text, offset, limit, incremental);
H A DRBBISymbolTable.java10 package android.icu.text;
12 import java.text.ParsePosition;
45 // containing the substitution text.
110 // looks for a $variable name in the source text.
114 public String parseReference(String text, ParsePosition pos, int limit) { argument
119 int c = UTF16.charAt(text, i);
130 result = text.substring(start, i);
H A DReplaceable.java10 package android.icu.text;
16 * change a piece of text while retaining metadata. Metadata is data
39 * <li>Set the metadata of the new text to the metadata of the first
59 * Returns the number of 16-bit code units in the text.
60 * @return number of 16-bit code units in text
65 * Returns the 16-bit code unit at the given offset into the text.
68 * @return 16-bit code unit of text at given offset
74 * the text. This assumes the text is stored as 16-bit code units
80 * <code>android.icu.text
123 replace(int start, int limit, String text) argument
[all...]
H A DReplaceableContextIterator.java23 package android.icu.text;
45 * Set the text for iteration.
46 * @param rep Iteration text.
136 * @param text Replacement text.
137 * @return The delta for the change of the text length.
139 public int replace(String text) { argument
140 int delta=text.length()-(cpLimit-cpStart);
141 rep.replace(cpStart, cpLimit, text);
H A DReplaceableString.java10 package android.icu.text;
18 * {@link Replaceable} in their text representation class.
91 * the text. This assumes the text is stored as 16-bit code units
97 * @return 32-bit code point of text at given offset
133 * @param text new text to replace characters <code>start</code> to
136 public void replace(int start, int limit, String text) { argument
137 buf.replace(start, limit, text);
141 * Replace a substring of this object with the given text
[all...]
H A DRuleBasedTransliterator.java10 package android.icu.text;
28 * that direction will not modify the source text. In addition,
39 * left is assigned the text on the right. In this example,
47 * text of any length, including no text at all (&quot;<code>$empty=;</code>&quot;).
77 * must be matched in the text being transliterated. However, unlike
79 * text. For example, the pattern &quot;<code>abc{def}</code>&quot;
93 * replacement. The cursor is the point in the text at which the
95 * placed within the replacement text; however, it can actually be
148 * <p>Patterns can be anchored to the beginning or the end of the text
332 handleTransliterate(Replaceable text, Position index, boolean incremental) argument
[all...]
H A DStringCharacterIterator.java12 // NOTE: This class is identical to java.text.StringCharacterIterator
18 package android.icu.text;
19 import java.text.CharacterIterator;
30 * @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead.
37 private String text; field in class:StringCharacterIterator
45 * @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead.
48 public StringCharacterIterator(String text) argument
50 this(text, 0);
56 * @param text The String to be iterated over
58 * @deprecated ICU 2.4. Use java.text
61 StringCharacterIterator(String text, int pos) argument
77 StringCharacterIterator(String text, int begin, int end, int pos) argument
106 setText(String text) argument
[all...]
H A DStringReplacer.java14 package android.icu.text;
18 * A replacer that produces static text as its output. The text may
29 * Output text, possibly containing stand-in characters that
61 * text and sets the cursor to the given position.
62 * @param theOutput text that will replace input text when the
82 * text and does not modify the cursor.
83 * @param theOutput text that will replace input text whe
115 replace(Replaceable text, int start, int limit, int[] cursor) argument
[all...]
H A DTitlecaseTransliterator.java9 package android.icu.text;
66 protected synchronized void handleTransliterate(Replaceable text, argument
92 c = text.char32At(start);
107 iter.setText(text);
161 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
H A DTransliterationRuleSet.java10 package android.icu.text;
24 * finding a matching rule at a given point in the text. This is accomplished
51 * Index table. For text having a first character c, compute x = c&0xFF.
179 * Transliterate the given text with the given UTransPosition
183 * @param text the text to be transliterated
185 * @param incremental if TRUE, assume new text may be inserted
188 * indicating that transliteration should stop until more text
191 public boolean transliterate(Replaceable text, argument
194 int indexByte = text
[all...]
H A DUppercaseTransliterator.java10 package android.icu.text;
63 protected synchronized void handleTransliterate(Replaceable text, argument
73 iter.setText(text);
118 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DQuantifier.java9 package com.ibm.icu.text;
38 public int matches(Replaceable text, argument
46 int m = matcher.matches(text, offset, limit, incremental);
H A DRBBISymbolTable.java9 package com.ibm.icu.text;
11 import java.text.ParsePosition;
44 // containing the substitution text.
109 // looks for a $variable name in the source text.
113 public String parseReference(String text, ParsePosition pos, int limit) { argument
118 int c = UTF16.charAt(text, i);
129 result = text.substring(start, i);
H A DReplaceable.java9 package com.ibm.icu.text;
15 * change a piece of text while retaining metadata. Metadata is data
38 * <li>Set the metadata of the new text to the metadata of the first
59 * Returns the number of 16-bit code units in the text.
60 * @return number of 16-bit code units in text
66 * Returns the 16-bit code unit at the given offset into the text.
69 * @return 16-bit code unit of text at given offset
76 * the text. This assumes the text is stored as 16-bit code units
82 * <code>com.ibm.icu.text
128 replace(int start, int limit, String text) argument
[all...]
H A DReplaceableContextIterator.java22 package com.ibm.icu.text;
44 * Set the text for iteration.
45 * @param rep Iteration text.
135 * @param text Replacement text.
136 * @return The delta for the change of the text length.
138 public int replace(String text) { argument
139 int delta=text.length()-(cpLimit-cpStart);
140 rep.replace(cpStart, cpLimit, text);
H A DReplaceableString.java9 package com.ibm.icu.text;
17 * {@link Replaceable} in their text representation class.
97 * the text. This assumes the text is stored as 16-bit code units
103 * @return 32-bit code point of text at given offset
141 * @param text new text to replace characters <code>start</code> to
145 public void replace(int start, int limit, String text) { argument
146 buf.replace(start, limit, text);
150 * Replace a substring of this object with the given text
[all...]
H A DStringCharacterIterator.java11 // NOTE: This class is identical to java.text.StringCharacterIterator
17 package com.ibm.icu.text;
18 import java.text.CharacterIterator;
29 * @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead.
35 private String text; field in class:StringCharacterIterator
43 * @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead.
46 public StringCharacterIterator(String text) argument
48 this(text, 0);
54 * @param text The String to be iterated over
56 * @deprecated ICU 2.4. Use java.text
59 StringCharacterIterator(String text, int pos) argument
75 StringCharacterIterator(String text, int begin, int end, int pos) argument
104 setText(String text) argument
[all...]

Completed in 275 milliseconds

1234567891011>>