/frameworks/base/core/java/android/app/ |
H A D | FragmentTransaction.java | 245 public abstract FragmentTransaction setBreadCrumbTitle(CharSequence text); argument 260 public abstract FragmentTransaction setBreadCrumbShortTitle(CharSequence text); argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 20 import android.text.*; 21 import android.text.style.*; 399 * Forces the text line to be the specified height, shrinking/stretching 401 * will make the text unreadable. 411 public void chooseHeight(CharSequence text, int start, int end, argument 415 chooseHeight(text, start, end, spanstartv, v, fm, null); 418 public void chooseHeight(CharSequence text, int start, int end, argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodSessionWrapper.java | 164 public void updateExtractedText(int token, ExtractedText text) { argument 166 DO_UPDATE_EXTRACTED_TEXT, token, text));
|
/frameworks/base/core/java/android/os/ |
H A D | DropBoxManager.java | 53 /** Flag value: Content is human-readable UTF-8 text (can be combined with IS_GZIPPED). */ 110 /** Create a new Entry with plain text contents. */ 111 public Entry(String tag, long millis, String text) { argument 113 if (text == null) throw new NullPointerException("text == null"); 117 mData = text.getBytes(); 187 * @return the uncompressed text contents of the entry, null if the entry is not text. 273 * Stores human-readable text. The data may be discarded eventually (or even
|
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierMessagingService.java | 119 * @param destPort the destination port of a binary SMS, this will be -1 for text SMS 138 * <p>This method will be called once for every incoming text SMS. You can invoke the callback 147 * @param destPort the destination port of a binary SMS, this will be -1 for text SMS 150 * text SMS should be handled by the platform. Use {@link #RECEIVE_OPTIONS_DROP} and 166 * Override this method to intercept text SMSs sent from the device. 169 * @param text the text to send 176 @NonNull String text, int subId, @NonNull String destAddress, 186 * Override this method to intercept text SMSs sent from the device. 188 * @param text th 175 onSendTextSms( @onNull String text, int subId, @NonNull String destAddress, @NonNull ResultCallback<SendSmsResult> callback) argument 195 onSendTextSms( @onNull String text, int subId, @NonNull String destAddress, int sendSmsFlag, @NonNull ResultCallback<SendSmsResult> callback) argument 477 sendTextSms(String text, int subId, String destAddress, int sendSmsFlag, final ICarrierMessagingCallback callback) argument [all...] |
/frameworks/base/core/java/android/text/ |
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 84 * Class for normal text. This class supports the following flags (only 127 * text that should have auto-correction applied to it. Without this flag, 140 * Flag for {@link #TYPE_CLASS_TEXT}: the text editor (which means 141 * the application) is performing auto-completion of the text bein [all...] |
H A D | SpannableStringInternal.java | 17 package android.text;
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 17 package android.text.format; 22 import android.text.SpannableStringBuilder; 23 import android.text.Spanned; 24 import android.text.SpannedString; 31 import java.text.SimpleDateFormat; 42 * appropriately-localized {@link java.text.DateFormat} instances, suitable 44 * of format strings, see {@link java.text.SimpleDateFormat}. 56 * <p>See {@link java.text.SimpleDateFormat} for more documentation 192 java.text.DateFormat natural = 193 java.text [all...] |
H A D | TimeFormatter.java | 21 package android.text.format;
|
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 17 package android.text.method; 23 import android.text.Editable; 24 import android.text.GetChars; 25 import android.text.NoCopySpan; 26 import android.text.TextUtils; 27 import android.text.TextWatcher; 28 import android.text.Spanned; 29 import android.text.Spannable; 30 import android.text.style.UpdateLayout; 45 * be references to the old EditText in the text [all...] |
H A D | TextKeyListener.java | 17 package android.text.method; 25 import android.text.*; 29 import android.text.InputType; 34 * This is the key listener for typing normal text. It delegates to 103 * specified position in the specified text, with the specified rules. 106 * @param cs the text in which an insertion is being made. 107 * @param off the offset into that text where the insertion is being made. 157 * just clears the text but not the input state. 159 * @param e the buffer whose text and state are to be cleared. 292 boolean text [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionSpan.java | 17 package android.text.style; 28 import android.text.ParcelableSpan; 29 import android.text.TextPaint; 30 import android.text.TextUtils; 39 * Holds suggestion candidates for the text enclosed in this span. 41 * When such a span is edited in an EditText, double tapping on the text enclosed in this span will 42 * display a popup dialog listing suggestion replacement for that text. The user can then replace 43 * the original text by one of the suggestions. 46 * for the text. 61 * Sets this flag if the suggestions apply to a misspelled word/text [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 29 * input. It is used to perform such things as reading text around the 30 * cursor, committing text to the text box, and sending raw key events 60 * speech-to-text engine, and so on. There are typically several IMEs 64 * <a href="{@docRoot}guide/topics/text/creating-input-method.html"> 67 * The editor is the component that receives text and displays it. 83 * browsers and rich text editors, as some may have peculiarities you 85 * changes on the text, and try to be as conservative as possible in 99 * inconsistencies in text editor behavior is almost universally felt 114 * {@link android.text 457 setComposingText(CharSequence text, int newCursorPosition) argument 545 commitText(CharSequence text, int newCursorPosition) argument 583 commitCompletion(CompletionInfo text) argument [all...] |
H A D | InputConnectionWrapper.java | 133 public boolean setComposingText(CharSequence text, int newCursorPosition) { argument 134 return mTarget.setComposingText(text, newCursorPosition); 157 public boolean commitText(CharSequence text, int newCursorPosition) { argument 158 return mTarget.commitText(text, newCursorPosition); 165 public boolean commitCompletion(CompletionInfo text) { argument 166 return mTarget.commitCompletion(text);
|
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 24 import android.text.Editable; 25 import android.text.Selection; 26 import android.text.Spannable; 27 import android.text.TextWatcher; 73 * Place text in the text field so it can be searched for. Need to press 76 public void setText(String text) { argument 77 mEditText.setText(text); 84 // Necessary each time we set the text, so that this will watch
|
/frameworks/base/core/java/android/widget/ |
H A D | DialerFilter.java | 21 import android.text.Editable; 22 import android.text.InputFilter; 23 import android.text.Selection; 24 import android.text.Spannable; 25 import android.text.Spanned; 26 import android.text.TextWatcher; 27 import android.text.method.DialerKeyListener; 28 import android.text.method.KeyListener; 29 import android.text.method.TextKeyListener; 320 public void append(String text) { argument [all...] |
H A D | SimpleAdapter.java | 197 String text = data == null ? "" : data.toString(); 198 if (text == null) { 199 text = ""; 204 bound = binder.setViewValue(v, data, text); 214 setViewText((TextView) v, text); 223 setViewText((TextView) v, text); 228 setViewImage((ImageView) v, text); 305 * Called by bindView() to set the text for a TextView but only if 309 * @param v TextView to receive text 310 * @param text th 312 setViewText(TextView v, String text) argument [all...] |
H A D | SimpleCursorTreeAdapter.java | 224 String text = cursor.getString(from[i]); 225 if (text == null) { 226 text = ""; 229 setViewText((TextView) v, text); 231 setViewImage((ImageView) v, text); 284 * Called by bindView() to set the text for a TextView but only if 291 * @param v TextView to receive text 292 * @param text the text to be set for the TextView 294 public void setViewText(TextView v, String text) { argument [all...] |
H A D | Toast.java | 76 * Show the view or text notification for a short period of time. This time 83 * Show the view or text notification for a long period of time. This time 252 * Make a standard toast that just contains a text view. 256 * @param text The text to show. Can be formatted text. 261 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { argument 268 tv.setText(text); 277 * Make a standard toast that just contains a text view with the text fro [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 183 public void cdsect(String text) throws IOException, IllegalArgumentException, argument 188 public void comment(String text) throws IOException, IllegalArgumentException, argument 193 public void docdecl(String text) throws IOException, IllegalArgumentException, argument 224 public void entityRef(String text) throws IOException, IllegalArgumentException, argument 289 public void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, argument 294 public void processingInstruction(String text) throws IOException, IllegalArgumentException, argument 375 public XmlSerializer text(char[] buf, int start, int len) throws IOException, method in class:FastXmlSerializer 388 public XmlSerializer text(String text) throws IOException, IllegalArgumentException, argument 394 escapeAndAppendString(text); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 30 import android.text.Layout.Alignment; 31 import android.text.SpannableStringBuilder; 32 import android.text.StaticLayout; 33 import android.text.TextPaint; 58 /** Reusable spannable string builder used for holding text. */ 96 CharSequence text = ""; 105 text = a.getText(attr); 135 setText(text); 140 final CharSequence text = getContext().getText(resId); 141 setText(text); 144 setText(CharSequence text) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_text_StaticLayout.cpp | 53 // set text and set a number of parameters for creating a layout (width, tabstops, strategy, 55 static void nSetupParagraph(JNIEnv* env, jclass, jlong nativePtr, jcharArray text, jint length, argument 60 env->GetCharArrayRegion(text, 0, length, b->buffer()); 198 {"nComputeLineBreaks", "(JLandroid/text/StaticLayout$LineBreaks;[I[F[II)I", 205 FindClassOrDie(env, "android/text/StaticLayout$LineBreaks")); 211 return RegisterMethodsOrDie(env, "android/text/StaticLayout", gMethods, NELEM(gMethods));
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 149 void Canvas::drawText(const uint16_t* text, int start, int count, int contextCount, argument 155 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount); 209 void Canvas::drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, argument 213 MinikinUtils::doLayout(&layout, &paintCopy, bidiFlags, typeface, text, 0, count, count);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.cpp | 63 void TestUtils::layoutTextUnscaled(const SkPaint& paint, const char* text, argument 70 while (*text != '\0') { 71 SkUnichar unichar = SkUTF8_NextUnichar(&text); 96 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, argument 98 auto utf16 = asciiToUtf16(text); 99 canvas->drawText(utf16.get(), 0, strlen(text), strlen(text), x, y, 0, paint, nullptr); 102 void TestUtils::drawUtf8ToCanvas(Canvas* canvas, const char* text, argument 104 auto utf16 = asciiToUtf16(text); 105 canvas->drawTextOnPath(utf16.get(), strlen(text), [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
H A D | UiBot.java | 57 UiObject2 o = find(By.text(expected)); 117 public void setDialogText(String text) throws UiObjectNotFoundException { argument 118 findDialogEditText().setText(text); 179 UiSelector selector = new UiSelector().text("Couldn't download"); 198 UiSelector selector = new UiSelector().text(label); 209 UiObject2 text = menuItem.findObject(By.text(label)); 210 if(text != null) {
|