HomeSort by relevance Sort by last modified time
    Searched defs:text (Results 226 - 250 of 4188) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/sdk/current/support/emoji/libs/
android-support-emoji.jar 
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List13.java 96 TextView text; local
99 text = (TextView)mInflater.inflate(android.R.layout.simple_list_item_1, parent, false);
101 text = (TextView)convertView;
105 text.setText(mStrings[position]);
107 text.setTag(null);
109 text.setText("Loading...");
111 text.setTag(this);
114 return text;
  /development/samples/LceDemo/src/com/example/android/lce/
LceDemoActivity.java 28 import android.text.method.ScrollingMovementMethod;
45 final TextView text = (TextView) findViewById(R.id.lceText); local
46 text.setMovementMethod(new ScrollingMovementMethod());
52 // Create a handler to update text on the screen.
56 text.append((String)msg.obj);
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
PythonTarget.java 71 private List splitLines(String text) {
76 int eol = text.indexOf("\n", idx);
78 l.add(text.substring(idx));
82 l.add(text.substring(idx, eol+1));
110 String text = (String)chunks.get(i); local
119 text = ws + text;
122 List parts = splitLines(text);
171 String text = (String)chunk; local
179 for ( int j = 0; j < text.length(); j++ )
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
BidiWriter.java 14 package android.icu.text;
96 private static String doWriteForward(char[] text, int start, int limit,
99 return doWriteForward(new String(text, start, limit - start), options);
109 * The general strategy for this is to read the source text
234 static String doWriteReverse(char[] text, int start, int limit, int options)
236 return writeReverse(new String(text, start, limit - start), options);
243 char[] text = bidi.text; local
275 * Iterate through all visual runs and copy the run text segments to
290 dest.append(doWriteForward(text, bidiRun.start
    [all...]
EscapeTransliterator.java 13 package android.icu.text;
179 protected void handleTransliterate(Replaceable text,
189 int c = grokSupplementals ? text.char32At(start) : text.charAt(start);
211 text.replace(start, start + charLen, buf.toString());
222 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
NormalizationTransliterator.java 14 package android.icu.text;
85 protected void handleTransliterate(Replaceable text,
96 * bulk mode, so that styled text is minimally disrupted.
100 * If it was known that the input text is not styled, then
106 int c = text.char32At(start);
115 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start)));
126 text.replace(prev, start, normalized.toString());
155 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet
    [all...]
ReplaceableString.java 10 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) {
137 buf.replace(start, limit, text);
141 * Replace a substring of this object with the given text
176 char[] text = new char[limit - start]; local
    [all...]
StringCharacterIterator.java 12 // 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)
50 this(text, 0);
56 * @param text The String to be iterated over
58 * @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead
    [all...]
UCharacterIterator.java 10 package android.icu.text;
12 import java.text.CharacterIterator;
20 * Abstract class that defines an API for iteration on text objects.This is an interface for forward and backward
21 * iteration and random access into a text object. Forward iteration is done with post-increment and backward iteration
22 * is done with pre-decrement semantics, while the <code>java.text.CharacterIterator</code> interface methods provided
25 * and code point iteration, <code>java.text.CharacterIterator</code> can only iterate over code units and is limited to
120 * Returns a <code>java.text.CharacterIterator</code> object for the underlying text of this iterator. The returned
123 * @return java.text.CharacterIterator object
167 * Returns the length of the text
317 char[] text = new char[getLength()]; local
    [all...]
UnicodeNameTransliterator.java 8 package android.icu.text;
47 protected void handleTransliterate(Replaceable text,
58 int c = text.char32At(cursor);
65 text.replace(cursor, cursor+clen, str.toString());
67 cursor += len; // advance cursor by 1 and adjust for new text
80 * @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/
BidiWriter.java 13 package com.ibm.icu.text;
95 private static String doWriteForward(char[] text, int start, int limit,
98 return doWriteForward(new String(text, start, limit - start), options);
108 * The general strategy for this is to read the source text
233 static String doWriteReverse(char[] text, int start, int limit, int options)
235 return writeReverse(new String(text, start, limit - start), options);
242 char[] text = bidi.text; local
274 * Iterate through all visual runs and copy the run text segments to
289 dest.append(doWriteForward(text, bidiRun.start
    [all...]
ReplaceableString.java 9 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) {
146 buf.replace(start, limit, text);
150 * Replace a substring of this object with the given text
187 char[] text = new char[limit - start]; local
    [all...]
StringCharacterIterator.java 11 // 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)
48 this(text, 0);
54 * @param text The String to be iterated over
56 * @deprecated ICU 2.4. Use java.text.StringCharacterIterator instead
    [all...]
UCharacterIterator.java 9 package com.ibm.icu.text;
11 import java.text.CharacterIterator;
19 * Abstract class that defines an API for iteration on text objects.This is an interface for forward and backward
20 * iteration and random access into a text object. Forward iteration is done with post-increment and backward iteration
21 * is done with pre-decrement semantics, while the <code>java.text.CharacterIterator</code> interface methods provided
24 * and code point iteration, <code>java.text.CharacterIterator</code> can only iterate over code units and is limited to
128 * Returns a <code>java.text.CharacterIterator</code> object for the underlying text of this iterator. The returned
131 * @return java.text.CharacterIterator object
178 * Returns the length of the text
342 char[] text = new char[getLength()]; local
    [all...]
  /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
UnicodeNameTransliterator.java 7 package com.ibm.icu.text;
46 protected void handleTransliterate(Replaceable text,
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)
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ShadowAutoCompleteTextViewTest.java 73 String text = "hello world"; local
77 autoCompleteTextView.publicReplaceText(text);
79 assertEquals(text, autoCompleteTextView.getText().toString());
80 assertEquals(text.length(), autoCompleteTextView.getSelectionStart());
81 assertEquals(text.length(), autoCompleteTextView.getSelectionEnd());
90 public void publicReplaceText(CharSequence text) {
91 replaceText(text);
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliLexerTest.java 45 String text = local
56 doTest(text,
135 String text = ".class public .blah"; local
136 doTest(text,
148 String text = local
159 for (int i=1; i<text.length(); i++) {
160 printTokens(text.substring(i), 0);
165 * Generate some random text and make sure the lexer doesn't throw any exceptions
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
ConfigurableTexts.java 40 public int add(final TextView text) {
41 return add(text, -1);
44 public int add(final TextView text, final int labelResId) {
45 if (text == null) return 0;
49 final float px = text.getTextSize();
51 mTexts.put(text, sp);
52 text.addOnAttachStateChangeListener(new OnAttachStateChangeListener() {
59 setTextSizeH(text, sp);
62 mTextLabels.put(text, labelResId);
71 private void setTextSizeH(TextView text, int sp)
    [all...]
  /frameworks/support/emoji/core/src/android/support/text/emoji/widget/
EmojiInputFilter.java 16 package android.support.text.emoji.widget;
23 import android.support.text.emoji.EmojiCompat;
24 import android.support.text.emoji.EmojiCompat.InitCallback;
25 import android.text.Selection;
26 import android.text.Spannable;
27 import android.text.Spanned;
44 final class EmojiInputFilter implements android.text.InputFilter {
71 final CharSequence text; local
73 text = source;
75 text = source.subSequence(sourceStart, sourceEnd)
    [all...]
EmojiTextWatcher.java 16 package android.support.text.emoji.widget;
22 import android.support.text.emoji.EmojiCompat;
23 import android.support.text.emoji.EmojiCompat.InitCallback;
24 import android.text.Editable;
25 import android.text.Selection;
26 import android.text.Spannable;
39 final class EmojiTextWatcher implements android.text.TextWatcher {
106 final Editable text = editText.getEditableText(); local
108 final int selectionStart = Selection.getSelectionStart(text);
109 final int selectionEnd = Selection.getSelectionEnd(text);
    [all...]
  /libcore/ojluni/src/main/java/java/text/
IcuIteratorWrapper.java 42 package java.text;
69 * iterator uses a longest-possible-match algorithm when matching text to regular
109 * before the *?.&nbsp; For example, if you have &quot;xxyxyyyxyxyxxyxyxyy&quot; in the text,
121 * <td width="94%">Specifies where the break position should go if text matches this
126 * break position at the end of the matching text.</td>
153 * the corresponding character(s) in the text exactly.</td>
212 private android.icu.text.BreakIterator wrapped;
218 IcuIteratorWrapper(android.icu.text.BreakIterator iterator) {
230 result.wrapped = (android.icu.text.BreakIterator) wrapped.clone();
236 * rules, and iterate over the same text
334 CharacterIterator text = getText(); local
350 CharacterIterator text = getText(); local
364 CharacterIterator text = getText(); local
    [all...]
StringCharacterIterator.java 41 package java.text;
54 private String text; field in class:StringCharacterIterator
63 * @param text the {@code String} to be iterated over
65 public StringCharacterIterator(String text)
67 this(text, 0);
73 * @param text The String to be iterated over
76 public StringCharacterIterator(String text, int pos)
78 this(text, 0, text.length(), pos);
85 * @param text The String to be iterated ove
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/format/
FormatUtils.java 20 import android.text.SpannableString;
21 import android.text.style.StyleSpan;
28 * Assorted utility methods related to text formatting in Contacts.
99 * @param flags Bitmask for configuring behavior of the span. See {@link android.text.Spanned}.
107 SpannableString text = new SpannableString(input); local
108 text.setSpan(new StyleSpan(style), start, end, flags);
109 return text;
113 public static void copyToCharArrayBuffer(String text, CharArrayBuffer buffer) {
114 if (text != null) {
116 if (data == null || data.length < text.length())
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/format/
FormatUtils.java 21 import android.text.SpannableString;
22 import android.text.style.StyleSpan;
25 /** Assorted utility methods related to text formatting in Contacts. */
97 * @param flags Bitmask for configuring behavior of the span. See {@link android.text.Spanned}.
105 SpannableString text = new SpannableString(input); local
106 text.setSpan(new StyleSpan(style), start, end, flags);
107 return text;
111 public static void copyToCharArrayBuffer(String text, CharArrayBuffer buffer) {
112 if (text != null) {
114 if (data == null || data.length < text.length())
    [all...]

Completed in 435 milliseconds

1 2 3 4 5 6 7 8 91011>>