/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputView.java | 30 import android.text.Editable; 31 import android.text.TextWatcher; 320 // Suppress text events if it happens during resetting. Ideally this would be 321 // suppressed by the text view not being shown, but that doesn't work here because it 494 // our focus, so we'll need to save our text here. 590 public void onCommitCompletion(CompletionInfo text) { argument 592 setText(text.getText());
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | SmsMessage.java | 22 import android.text.TextUtils; 54 /** User data text encoding code unit size */ 324 * Divide a message text into several fragments, none bigger than 325 * the maximum SMS message text size. 327 * @param text text, must not be null. 329 * comprise the original msg text 333 public static ArrayList<String> fragmentText(String text) { argument 336 com.android.internal.telephony.cdma.SmsMessage.calculateLength(text, false, true) : 337 com.android.internal.telephony.gsm.SmsMessage.calculateLength(text, fals [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 254 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { argument 258 public void drawText(String text, float x, float y, Paint paint) { argument 262 public void drawText(String text, int start, int end, float x, float y, Paint paint) { argument 266 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { argument 270 public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, argument 275 public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, argument 280 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument 284 public void drawPosText(String text, float[] pos, Paint paint) { argument 288 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, argument 293 public void drawTextOnPath(String text, Pat argument [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | TextViewBindingObject.java | 21 import android.text.Editable; 22 import android.text.InputType; 23 import android.text.method.KeyListener; 24 import android.text.method.TextKeyListener; 25 import android.text.util.Linkify; 262 public void setText(String text) { argument 263 mText = text; 264 notifyPropertyChanged(BR.text); 310 public boolean onKeyDown(View view, Editable text, int keyCode, KeyEvent event) { argument 315 public boolean onKeyUp(View view, Editable text, in argument 320 onKeyOther(View view, Editable text, KeyEvent event) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccSmsInterfaceManager.java | 390 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, 395 sendTextInternal(callingPackage, destAddr, scAddr, text, sentIntent, deliveryIntent, 404 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, 409 sendTextInternal(callingPackage, destAddr, scAddr, text, sentIntent, deliveryIntent, 414 * Send a text based SMS. 419 * @param text the body of the message to send 439 String text, PendingIntent sentIntent, PendingIntent deliveryIntent, 443 " text='"+ text + "' sentIntent=" + 454 mDispatcher.sendText(destAddr, scAddr, text, sentInten 389 sendText(String callingPackage, String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessageForNonDefaultSmsApp) argument 403 sendTextWithSelfPermissions(String callingPackage, String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessage) argument 438 sendTextInternal(String callingPackage, String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessageForNonDefaultSmsApp) argument [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduComposer.java | 23 import android.text.TextUtils; 279 * Append text string into mMessage. 283 protected void appendTextString(byte[] text) { argument 291 if (((text[0])&0xff) > TEXT_MAX) { // No need to check for <= 255 295 arraycopy(text, 0, text.length); 300 * Append text string into mMessage. 428 protected void appendQuotedString(byte[] text) { argument 436 arraycopy(text, 0, text [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V21.java | 18 import android.text.TextUtils; 930 protected String maybeUnescapeText(final String text) { argument 931 return text;
|
/frameworks/support/compat/tests/java/android/support/v4/text/util/ |
H A D | LinkifyCompatTest.java | 17 package android.support.v4.text.util; 28 import android.text.Spannable; 29 import android.text.SpannableString; 30 import android.text.style.URLSpan; 31 import android.text.util.Linkify; 32 import android.text.util.Linkify.MatchFilter; 33 import android.text.util.Linkify.TransformFilter; 124 String text = "google.pattern, test:AZ0101.pattern"; 126 SpannableString spannable = new SpannableString(text); 145 spannable = new SpannableString(text); [all...] |
/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | ViewStructureImpl.java | 182 public void setText(CharSequence text) { argument 186 public void setText(CharSequence text, int selectionStart, int selectionEnd) { argument
|
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
H A D | EmojiCompat.java | 16 package android.support.text.emoji; 37 import android.text.Editable; 38 import android.text.method.KeyListener; 87 "android.support.text.emoji.emojiCompat_metadataVersion"; 95 "android.support.text.emoji.emojiCompat_replaceAll"; 540 * a new {@link android.text.Spannable} instance is returned. </li> 572 * a new {@link android.text.Spannable} instance is returned. </li> 608 * a new {@link android.text.Spannable} instance is returned. </li>
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | AnimatedRecyclerView.java | 161 info.text = ((MyViewHolder) viewHolder).textView.getText(); 169 info.text = ((MyViewHolder) viewHolder).textView.getText(); 226 CharSequence finalText = post.text; 228 if (pre.text.equals(post.text)) { 237 vh.textView.setText(pre.text); 336 CharSequence text; field in class:AnimatedRecyclerView.MyItemInfo 402 private void addAtPosition(int position, String text) { argument 406 mItems.add(position, text); 407 mAdapter.mSelected.put(text, Boolea [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | AnimatedRecyclerView.java | 161 info.text = ((MyViewHolder) viewHolder).textView.getText(); 169 info.text = ((MyViewHolder) viewHolder).textView.getText(); 226 CharSequence finalText = post.text; 228 if (pre.text.equals(post.text)) { 237 vh.textView.setText(pre.text); 336 CharSequence text; field in class:AnimatedRecyclerView.MyItemInfo 402 private void addAtPosition(int position, String text) { argument 406 mItems.add(position, text); 407 mAdapter.mSelected.put(text, Boolea [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | OnboardingFragment.java | 397 * Sets the text color for TitleView. If not set, the default textColor set in style 399 * @param color the color to use as the text color for TitleView 410 * Returns the text color of TitleView if it's set through 419 * Sets the text color for DescriptionView. If not set, the default textColor set in style 421 * @param color the color to use as the text color for DescriptionView 432 * Returns the text color of DescriptionView if it's set through 508 * Returns the start button text if it's set through 516 * Sets the text on the start button text. If not set, the default text se 521 setStartButtonText(CharSequence text) argument [all...] |
H A D | OnboardingSupportFragment.java | 400 * Sets the text color for TitleView. If not set, the default textColor set in style 402 * @param color the color to use as the text color for TitleView 413 * Returns the text color of TitleView if it's set through 422 * Sets the text color for DescriptionView. If not set, the default textColor set in style 424 * @param color the color to use as the text color for DescriptionView 435 * Returns the text color of DescriptionView if it's set through 511 * Returns the start button text if it's set through 519 * Sets the text on the start button text. If not set, the default text se 524 setStartButtonText(CharSequence text) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AlertDialog.java | 62 * without text editors, so that it will be placed on top of the current 206 * @param text The text to display in positive button. 209 public void setButton(int whichButton, CharSequence text, Message msg) { argument 210 mAlert.setButton(whichButton, text, null, msg); 221 * @param text The text to display in positive button. 224 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument 225 mAlert.setButton(whichButton, text, listener, null); 448 * @param textId The resource id of the text t 466 setPositiveButton(CharSequence text, final OnClickListener listener) argument 492 setNegativeButton(CharSequence text, final OnClickListener listener) argument 518 setNeutralButton(CharSequence text, final OnClickListener listener) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SuggestionsAdapter.java | 36 import android.text.Spannable; 37 import android.text.SpannableString; 38 import android.text.TextUtils; 39 import android.text.style.TextAppearanceSpan; 109 * will be shown for each entry. When clicked, the suggested text on that line will be 110 * copied to the query text field. 293 // If no second line of text is indicated, allow the first line of text 342 SpannableString text = new SpannableString(url); 343 text 349 setViewText(TextView v, CharSequence text) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 17 package android.text; 24 import android.text.method.TextKeyListener; 25 import android.text.style.AlignmentSpan; 26 import android.text.style.LeadingMarginSpan; 27 import android.text.style.LeadingMarginSpan.LeadingMarginSpan2; 28 import android.text.style.LineBackgroundSpan; 29 import android.text.style.ParagraphStyle; 30 import android.text.style.ReplacementSpan; 31 import android.text.style.TabStopSpan; 42 * A base class that manages text layou 188 Layout(CharSequence text, TextPaint paint, int width, Alignment align, float spacingMult, float spacingAdd) argument 210 Layout(CharSequence text, TextPaint paint, int width, Alignment align, TextDirectionHeuristic textDir, float spacingMult, float spacingAdd) argument 244 replaceWith(CharSequence text, TextPaint paint, int width, Alignment align, float spacingmult, float spacingadd) argument 1842 measurePara(TextPaint paint, CharSequence text, int start, int end, TextDirectionHeuristic textDir) argument 1969 nextTab(CharSequence text, int start, int end, float h, Object[] tabs) argument 2027 getParagraphSpans(Spanned text, int start, int end, Class<T> type) argument [all...] |
H A D | StaticLayout.java | 17 package android.text; 21 import android.text.style.LeadingMarginSpan; 22 import android.text.style.LeadingMarginSpan.LeadingMarginSpan2; 23 import android.text.style.LineHeightSpan; 24 import android.text.style.MetricAffectingSpan; 25 import android.text.style.TabStopSpan; 37 * StaticLayout is a Layout for text that will not be edited after it 38 * is laid out. Use {@link DynamicLayout} for text that may change. 39 * <p>This is used by widgets to control text layout. You should not need 54 * call {@link #obtain} with the required arguments (text, pain 539 StaticLayout(CharSequence text) argument 888 out(CharSequence text, int start, int end, int above, int below, int top, int bottom, int v, float spacingmult, float spacingadd, LineHeightSpan[] chooseHt, int[] chooseHtv, Paint.FontMetricsInt fm, int flags, boolean needMultiply, byte[] chdirs, int dir, boolean easy, int bufEnd, boolean includePad, boolean trackPad, char[] chs, float[] widths, int widthStart, TextUtils.TruncateAt ellipsize, float ellipsisWidth, float textWidth, TextPaint paint, boolean moreChars) argument 1316 nSetupParagraph(long nativePtr, char[] text, int length, float firstWidth, int firstWidthLineCount, float restWidth, int[] variableTabStops, int defaultTabStop, int breakStrategy, int hyphenationFrequency, boolean isJustified) argument [all...] |
H A D | TextUtils.java | 17 package android.text; 31 import android.text.style.AbsoluteSizeSpan; 32 import android.text.style.AccessibilityClickableSpan; 33 import android.text.style.AccessibilityURLSpan; 34 import android.text.style.AlignmentSpan; 35 import android.text.style.BackgroundColorSpan; 36 import android.text.style.BulletSpan; 37 import android.text.style.CharacterStyle; 38 import android.text.style.EasyEditSpan; 39 import android.text 343 split(String text, String expression) argument 360 split(String text, Pattern pattern) argument 964 getOffsetBefore(CharSequence text, int offset) argument 999 getOffsetAfter(CharSequence text, int offset) argument 1100 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument 1118 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument 1141 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback, TextDirectionHeuristic textDir, String ellipsis) argument 1325 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more) argument 1337 commaEllipsize(CharSequence text, TextPaint p, float avail, String oneMore, String more, TextDirectionHeuristic textDir) argument 1402 setPara(MeasuredText mt, TextPaint paint, CharSequence text, int start, int end, TextDirectionHeuristic textDir) argument 1450 doesNotNeedBidi(char[] text, int start, int len) argument 1536 concat(CharSequence... text) argument [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | TtsSpan.java | 17 package android.text.style; 21 import android.text.ParcelableSpan; 22 import android.text.TextUtils; 24 import java.text.NumberFormat; 28 * A span that supplies additional meta-data for the associated text intended 29 * for text-to-speech engines. If the text is being processed by a 30 * text-to-speech engine, the engine may use the data in this span in addition 31 * to or instead of its associated text. 45 * This span type can be used to add morphosyntactic features to the text i 658 TextBuilder(String text) argument 668 setText(String text) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 76 * in place of their standard title text.</p> 103 * and title text with an optional subtitle. Clicking any of these elements 116 * List navigation mode. Instead of static title text this mode 129 * Tab navigation mode. Instead of static title text this mode 1175 * Return the text of this tab. 1177 * @return The tab's text 1198 * Set the text displayed on this tab. Text may be truncated if there is not 1201 * @param text The text to display 1204 public abstract Tab setText(CharSequence text); argument [all...] |
H A D | BackStackRecord.java | 22 import android.text.TextUtils; 584 public FragmentTransaction setBreadCrumbTitle(CharSequence text) { argument 586 mBreadCrumbTitleText = text; 596 public FragmentTransaction setBreadCrumbShortTitle(CharSequence text) { argument 598 mBreadCrumbShortTitleText = text;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 27 import android.text.TextUtils; 262 public CharSequence text; field in class:Keyboard.Key 387 text = a.getText(com.android.internal.R.styleable.Keyboard_Key_keyOutputText);
|
/frameworks/base/core/java/android/view/ |
H A D | RecordingCanvas.java | 36 import android.text.GraphicsOperations; 37 import android.text.SpannableString; 38 import android.text.SpannedString; 39 import android.text.TextUtils; 337 public final void drawPosText(@NonNull char[] text, int index, int count, argument 340 if (index < 0 || index + count > text.length || count * 2 > pos.length) { 344 drawText(text, index + i, 1, pos[i * 2], pos[i * 2 + 1], paint); 351 public final void drawPosText(@NonNull String text, @NonNull @Size(multiple = 2) float[] pos, argument 353 drawPosText(text.toCharArray(), 0, text 391 drawText(@onNull char[] text, int index, int count, float x, float y, @NonNull Paint paint) argument 402 drawText(@onNull CharSequence text, int start, int end, float x, float y, @NonNull Paint paint) argument 424 drawText(@onNull String text, float x, float y, @NonNull Paint paint) argument 430 drawText(@onNull String text, int start, int end, float x, float y, @NonNull Paint paint) argument 440 drawTextOnPath(@onNull char[] text, int index, int count, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument 451 drawTextOnPath(@onNull String text, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument 460 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument 480 drawTextRun(@onNull CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) argument 616 nDrawText(long nativeCanvas, char[] text, int index, int count, float x, float y, int flags, long nativePaint, long nativeTypeface) argument 620 nDrawText(long nativeCanvas, String text, int start, int end, float x, float y, int flags, long nativePaint, long nativeTypeface) argument 624 nDrawTextRun(long nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument 629 nDrawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument 634 nDrawTextOnPath(long nativeCanvas, char[] text, int index, int count, long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint, long nativeTypeface) argument 639 nDrawTextOnPath(long nativeCanvas, String text, long nativePath, float hOffset, float vOffset, int flags, long nativePaint, long nativeTypeface) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AutoCompleteTextView.java | 26 import android.text.Editable; 27 import android.text.Selection; 28 import android.text.TextUtils; 29 import android.text.TextWatcher; 48 * <p>An editable text view that shows completion suggestions automatically 61 * <p>The following code snippet shows how to create a text view which suggests 83 * <p>See the <a href="{@docRoot}guide/topics/ui/controls/text.html">Text Fields</a> 128 // Set to true when text is set directly and no filtering shall be performed 138 * Constructs a new auto-complete text view with the given context's theme. 148 * Constructs a new auto-complete text vie 972 performFiltering(CharSequence text, int keyCode) argument 1040 setText(CharSequence text, boolean filter) argument 1057 replaceText(CharSequence text) argument 1331 isValid(CharSequence text) argument [all...] |