/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 20 import android.text.Spannable; 21 import android.text.SpannableStringBuilder; 22 import android.text.style.ImageSpan; 27 * Parses a text message typed by the user looking for smileys. 33 public SmileyParser(String text, SmileyResources res) { argument 34 super(text, 40 false // me text 51 * Retrieves the parsed text as a spannable string object.
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | FormatterTest.java | 17 package android.text.format; 23 import android.text.format.Formatter.BytesResult;
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
H A D | NotificationStressTest.java | 79 private void sendNotification(int id, CharSequence text) { argument 83 CharSequence title = text + " " + id; 88 .setTicker(text)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardIndicationTextView.java | 20 import android.text.TextUtils; 48 * Changes the text with an animation and makes sure a single indication is shown long enough. 50 * @param text The text to show. 52 public void switchIndication(CharSequence text) { argument 55 if (TextUtils.isEmpty(text)) { 59 setText(text);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SpTexts.java | 40 public int add(final TextView text) { argument 41 if (text == null) return 0; 45 final float px = text.getTextSize(); 47 mTexts.put(text, sp); 48 text.addOnAttachStateChangeListener(new OnAttachStateChangeListener() { 55 setTextSizeH(text, sp); 66 private void setTextSizeH(TextView text, int sp) { argument 67 text.setTextSize(TypedValue.COMPLEX_UNIT_SP, sp);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | TextViewTarget.java | 17 package androidx.media.filterpacks.text; 48 .addInputPort("text", Signature.PORT_REQUIRED, FrameType.single(String.class)) 54 FrameValue textFrame = getConnectedInputPort("text").pullFrame().asFrameValue(); 55 final String text = (String)textFrame.getValue(); 60 mTextView.setText(text);
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | GreedyLineBreaker.java | 17 package android.text; 20 import android.text.Primitive.PrimitiveType; 21 import android.text.StaticLayout.LineBreaks; 26 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY;
|
H A D | LineBreaker.java | 17 package android.text; 20 import android.text.StaticLayout.LineBreaks;
|
H A D | LineWidth.java | 17 package android.text;
|
H A D | Primitive.java | 17 package android.text;
|
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
H A D | CompilationResult.java | 37 public boolean resultContainsText(String text) { argument 38 return resultCode == 0 && output.indexOf(text) > 0; 41 public boolean errorContainsText(String text) { argument 42 return resultCode != 0 && error.indexOf(text) > 0;
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | SymbolExpr.java | 29 SymbolExpr(String text, Class type) { argument 31 mText = text;
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | AutoCompleteTextViewBindingAdapter.java | 53 public boolean isValid(CharSequence text) { 55 return isValid.isValid(text); 95 boolean isValid(CharSequence text); argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | Util.java | 26 * @param text The announcement text 30 final CharSequence text) { 31 // Jelly Bean added support for speaking text verbatim 33 view.announceForAccessibility(text); 52 event.getText().add(text); 28 announceForAccessibility( final View view, AccessibilityManager accessibilityManager, final CharSequence text) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Item.java | 32 public String text; field in class:Item 36 public Item(int id, String text) { argument 37 this(id, text, null); 40 public Item(int id, String text, Bitmap icon) { argument 42 this.text = text; 48 text = in.readString(); 60 dest.writeString(text); 78 return text;
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V40.java | 55 protected String maybeUnescapeText(final String text) { argument 56 return unescapeText(text); 59 public static String unescapeText(final String text) { argument 63 final int length = text.length(); 65 char ch = text.charAt(i); 67 final char next_ch = text.charAt(++i);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ListRowHoverCardView.java | 18 import android.text.TextUtils; 50 * Returns the title text. 57 * Sets the title text. 59 public final void setTitle(CharSequence text) { argument 60 if (!TextUtils.isEmpty(text)) { 61 mTitleView.setText(text); 69 * Returns the description text. 76 * Sets the description text. 78 public final void setDescription(CharSequence text) { argument 79 if (!TextUtils.isEmpty(text)) { [all...] |
/frameworks/support/v4/ics/android/support/v4/text/ |
H A D | ICUCompatIcs.java | 17 package android.support.v4.text;
|
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | PagerTitleStripIcs.java | 20 import android.text.method.SingleLineTransformationMethod; 27 public static void setSingleLineAllCaps(TextView text) { argument 28 text.setTransformationMethod(new SingleLineAllCapsTransform(text.getContext()));
|
/frameworks/support/v4/java/android/support/v4/text/ |
H A D | ICUCompat.java | 17 package android.support.v4.text;
|
H A D | TextUtilsCompat.java | 17 package android.support.v4.text;
|
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeProviderCompatJellyBean.java | 32 public List<Object> findAccessibilityNodeInfosByText(String text, argument 47 String text, int virtualViewId) { 50 bridge.findAccessibilityNodeInfosByText(text, virtualViewId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/text/ |
H A D | AllCapsTransformationMethod.java | 17 package android.support.v7.internal.text; 21 import android.text.method.TransformationMethod;
|
/frameworks/base/core/java/android/text/ |
H A D | MeasuredText.java | 17 package android.text; 20 import android.text.style.MetricAffectingSpan; 21 import android.text.style.ReplacementSpan; 98 * Analyzes text for bidirectional runs. Allocates working buffers. 100 void setPara(CharSequence text, int start, int end, TextDirectionHeuristic textDir, argument 103 mText = text; 116 TextUtils.getChars(text, start, end, mChars, 0); 118 if (text instanceof Spanned) { 119 Spanned spanned = (Spanned) text; 237 // Use original text [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 17 package android.text.method; 20 import android.text.Layout; 21 import android.text.Selection; 22 import android.text.Spannable; 267 // Cursor can be active at any location in the text while mouse pointer can start 269 // text selection will start from mouse pointer location. 324 public void initialize(TextView widget, Spannable text) { argument 325 Selection.setSelection(text, 0); 329 public void onTakeFocus(TextView view, Spannable text, int dir) { argument 333 Selection.setSelection(text, tex [all...] |