/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 24 import android.text.Editable; 25 import android.text.NoCopySpan; 26 import android.text.Selection; 27 import android.text.Spannable; 28 import android.text.SpannableStringBuilder; 29 import android.text.Spanned; 30 import android.text.TextUtils; 31 import android.text.method.MetaKeyKeyListener; 75 public static final void removeComposingSpans(Spannable text) { argument 76 text 88 setComposingSpans(Spannable text) argument 93 setComposingSpans(Spannable text, int start, int end) argument 118 getComposingSpanStart(Spannable text) argument 122 getComposingSpanEnd(Spannable text) argument 169 commitCompletion(CompletionInfo text) argument 178 commitText(CharSequence text, int newCursorPosition) argument 413 setComposingText(CharSequence text, int newCursorPosition) argument 575 replaceText(CharSequence text, int newCursorPosition, boolean composing) argument [all...] |
H A D | ExtractedText.java | 21 import android.text.TextUtils; 24 * Information about text that has been extracted for use by an input method. 28 * The text that has been extracted. 30 public CharSequence text; field in class:ExtractedText 33 * The offset in the overall text at which the extracted text starts. 38 * If the content is a report of a partial text change, this is the 40 * {@link #partialEndOffset}. If the content is the full text, this 46 * If the content is a report of a partial text change, this is the offset 47 * where the change ends. Note that the actual text ma [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl_language_l.l | 13 static void append_extra_text(char* text); 112 extra_text_type* text = (extra_text_type*)malloc(sizeof(extra_text_type)); 113 text->lineno = lineno; 114 text->which = which; 115 text->data = NULL; 116 text->len = 0; 117 text->next = NULL; 119 g_extraText = text; 121 g_nextExtraText->next = text; 123 g_nextExtraText = text; [all...] |
/frameworks/base/core/java/android/text/ |
H A D | GraphicsOperations.java | 17 package android.text;
|
H A D | Spannable.java | 17 package android.text; 20 * This is the interface for text to which markup objects can be 21 * attached and detached. Not all Spannable classes have mutable text; 29 * of the text, or move the object to that range if it was already 32 * within your application, or it can be one that the text system will 33 * use to affect text display or behavior. Some noteworthy ones are 34 * the subclasses of {@link android.text.style.CharacterStyle} and 35 * {@link android.text.style.ParagraphStyle}, and 36 * {@link android.text.TextWatcher} and 37 * {@link android.text [all...] |
H A D | TextUtils.java | 17 package android.text; 25 import android.text.method.TextKeyListener.Capitalize; 26 import android.text.style.AbsoluteSizeSpan; 27 import android.text.style.AlignmentSpan; 28 import android.text.style.BackgroundColorSpan; 29 import android.text.style.BulletSpan; 30 import android.text.style.CharacterStyle; 31 import android.text.style.ForegroundColorSpan; 32 import android.text.style.LeadingMarginSpan; 33 import android.text 310 split(String text, String expression) argument 327 split(String text, Pattern pattern) argument 843 getOffsetBefore(CharSequence text, int offset) argument 878 getOffsetAfter(CharSequence text, int offset) argument 977 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument 994 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument 1277 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more) argument 1415 concat(CharSequence... text) argument [all...] |
H A D | InputType.java | 17 package android.text; 19 import android.text.TextUtils; 22 * Bit definitions for an integer defining the basic content type of text 46 * of text being given. Currently supported classes are: 70 * is not rich, it can not process and show things like candidate text nor 71 * retrieve the current text, so the input method will need to run in a 81 * Class for normal text. This class supports the following flags (only 118 * text that should have auto-correction applied to it. 123 * Flag for {@link #TYPE_CLASS_TEXT}: the text editor is performing 124 * auto-completion of the text bein [all...] |
H A D | SpannedString.java | 17 package android.text; 21 * This is the class for text whose content and markup are immutable. 22 * For mutable markup, see {@link SpannableString}; for mutable text,
|
H A D | TextPaint.java | 17 package android.text; 23 * data used during text measuring and drawing.
|
/frameworks/base/core/java/android/text/method/ |
H A D | TransformationMethod.java | 17 package android.text.method; 26 * from causing line breaks in single-line text fields. 31 * Returns a CharSequence that is a transformation of the source text -- 33 * Beware that the returned text must be exactly the same length as 34 * the source text, and that if the source text is Editable, the returned 35 * text must mirror it dynamically instead of doing a one-time copy.
|
H A D | NumberKeyListener.java | 17 package android.text.method; 21 import android.text.Editable; 22 import android.text.InputFilter; 23 import android.text.Selection; 24 import android.text.Spannable; 25 import android.text.SpannableStringBuilder; 26 import android.text.Spanned; 29 * For numeric text entry
|
H A D | ArrowKeyMovementMethod.java | 17 package android.text.method; 19 import android.text.Layout; 20 import android.text.Selection; 21 import android.text.Spannable; 174 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event) { argument 180 handled |= executeDown(view, text, code); 187 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event) { argument 267 public void initialize(TextView widget, Spannable text) { argument 268 Selection.setSelection(text, 0); 271 public void onTakeFocus(TextView view, Spannable text, in argument [all...] |
H A D | BaseKeyListener.java | 17 package android.text.method; 21 import android.text.*; 22 import android.text.method.TextKeyListener.Capitalize; 132 * the event's text into the content. 151 CharSequence text = event.getCharacters(); 152 if (text == null) { 156 content.replace(selStart, selEnd, text);
|
H A D | MetaKeyKeyListener.java | 17 package android.text.method; 21 import android.text.*; 25 * (shift and alt) and the pseudo-meta state of selecting text. 82 public static void resetMetaState(Spannable text) { argument 83 text.removeSpan(CAP); 84 text.removeSpan(ALT); 85 text.removeSpan(SYM); 86 text.removeSpan(SELECTING); 92 * @param text the buffer in which the meta key would have been pressed. 97 public static final int getMetaState(CharSequence text) { argument 112 getMetaState(CharSequence text, int meta) argument 131 getActive(CharSequence text, Object meta, int on, int lock) argument 164 isMetaTracker(CharSequence text, Object what) argument 173 isSelectingMetaTracker(CharSequence text, Object what) argument [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | AbsoluteSizeSpan.java | 17 package android.text.style; 20 import android.text.ParcelableSpan; 21 import android.text.TextPaint; 22 import android.text.TextUtils; 30 * Set the text size to <code>size</code> physical pixels. 37 * Set the text size to <code>size</code> physical pixels,
|
H A D | StyleSpan.java | 17 package android.text.style; 22 import android.text.ParcelableSpan; 23 import android.text.TextPaint; 24 import android.text.TextUtils;
|
H A D | TypefaceSpan.java | 17 package android.text.style; 22 import android.text.ParcelableSpan; 23 import android.text.TextPaint; 24 import android.text.TextUtils; 27 * Changes the typeface family of the text to which the span is attached.
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.h | 39 void printToDiv(const char* text, int length);
|
/frameworks/base/tools/localize/ |
H A D | Perforce.cpp | 104 string text; local 114 err = RunCommand(cmd.str(), &text, printOnFailure); 116 const char* str = text.c_str(); 157 string text; local 159 err = RunCommand("p4 changes -m 1 \\#have", &text, printOnFailure); 165 int count = sscanf(text.c_str(), "Change %lld on", &n); 179 string text; local 189 return Perforce::RunCommand(cmd.str(), &text, printOnFailure); 214 string text; local 218 err = RunCommand(cmd, &text, printOnFailur [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 151 * @param text The text of the button 155 public static View button(int position, Context context, String text, int desiredHeight) { argument 158 result.setText(text); 172 * @param text The text of the button 176 public static View convertButton(View convertView, String text, int position) { argument 178 ((Button) convertView).setText(text); 187 * Create a text view ready to be a list item. 191 * @param text Th 195 text(int position, Context context, String text, int desiredHeight) argument 216 convertText(View convertView, String text, int position) argument 236 doubleText(int position, Context context, String text, int desiredHeight) argument 279 convertDoubleText(View convertView, String text, int position) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | EditTextPreference.java | 25 import android.text.TextUtils; 47 * The edit text shown in the dialog. 79 * Saves the text to the {@link SharedPreferences}. 81 * @param text The text to save 83 public void setText(String text) { argument 86 mText = text; 88 persistString(text); 97 * Gets the text from the {@link SharedPreferences}. 187 myState.text 205 String text; field in class:EditTextPreference.SavedState [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | Clock.java | 28 import android.text.Spannable; 29 import android.text.SpannableStringBuilder; 30 import android.text.format.DateFormat; 31 import android.text.style.CharacterStyle; 32 import android.text.style.ForegroundColorSpan; 33 import android.text.style.RelativeSizeSpan; 34 import android.text.style.RelativeSizeSpan; 35 import android.text.style.StyleSpan; 40 import java.text.SimpleDateFormat;
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 17 package android.text.format; 21 import android.text.SpannableStringBuilder; 22 import android.text.Spanned; 23 import android.text.SpannedString; 32 import java.text.SimpleDateFormat; 82 the output text then use two in a row. 216 java.text.DateFormat natural = 217 java.text.DateFormat.getTimeInstance( 218 java.text.DateFormat.LONG, locale); 244 * Returns a {@link java.text [all...] |
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | TestAppWidgetConfigure.java | 44 String text = ((EditText)findViewById(R.id.edit_text)).getText().toString(); 45 Log.d(TAG, "text is '" + text + '\''); 48 prefs.putString(TestAppWidgetProvider.PREF_PREFIX_KEY, text);
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 51 * without text editors, so that it will be placed on top of the current 143 * @param text The text to display in positive button. 146 public void setButton(int whichButton, CharSequence text, Message msg) { argument 147 mAlert.setButton(whichButton, text, null, msg); 157 * @param text The text to display in positive button. 160 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument 161 mAlert.setButton(whichButton, text, listener, null); 169 public void setButton(CharSequence text, Messag argument 178 setButton2(CharSequence text, Message msg) argument 187 setButton3(CharSequence text, Message msg) argument 201 setButton(CharSequence text, final OnClickListener listener) argument 214 setButton2(CharSequence text, final OnClickListener listener) argument 227 setButton3(CharSequence text, final OnClickListener listener) argument 372 setPositiveButton(CharSequence text, final OnClickListener listener) argument 398 setNegativeButton(CharSequence text, final OnClickListener listener) argument 424 setNeutralButton(CharSequence text, final OnClickListener listener) argument [all...] |