/frameworks/base/core/java/android/text/ |
InputFilter.java | 40 * {@link TextUtils#copySpansFrom} can be used for convenience. 55 TextUtils.getChars(source, start, end, v, 0); 60 TextUtils.copySpansFrom((Spanned) source,
|
AlteredCharSequence.java | 106 TextUtils.getChars(mSource, start, end, dest, off);
|
BoringLayout.java | 38 public class BoringLayout extends Layout implements TextUtils.EllipsizeCallback { 54 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 92 TextUtils.TruncateAt ellipsize, 96 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { 105 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, 139 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 149 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { 155 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, 239 char[] temp = TextUtils.obtain(500); 250 TextUtils.getChars(text, i, j, temp, 0) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 40 import android.text.TextUtils; 41 import android.text.TextUtils.EllipsizeCallback; 42 import android.text.TextUtils.TruncateAt; 53 * Test {@link TextUtils}. 55 @TestTargetClass(TextUtils.class) 81 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); 101 TextUtils.commaEllipsize(text, p, textWidth - 1, "plus 1", "%d plus").toString()); 104 TextUtils.commaEllipsize(text, p, textWidth, "plus 1", "%d plus").toString()); 109 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString()); 114 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString()) [all...] |
/frameworks/base/core/java/android/content/pm/ |
PermissionGroupInfo.java | 21 import android.text.TextUtils; 90 TextUtils.writeToParcel(nonLocalizedDescription, dest, parcelableFlags); 106 nonLocalizedDescription = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
|
LabeledIntent.java | 22 import android.text.TextUtils; 166 TextUtils.writeToParcel(mNonLocalizedLabel, dest, parcelableFlags); 179 mNonLocalizedLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
|
PermissionInfo.java | 21 import android.text.TextUtils; 136 TextUtils.writeToParcel(nonLocalizedDescription, dest, parcelableFlags); 154 nonLocalizedDescription = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
|
PackageItemInfo.java | 24 import android.text.TextUtils; 242 TextUtils.writeToParcel(nonLocalizedLabel, dest, parcelableFlags); 253 = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
|
ResolveInfo.java | 23 import android.text.TextUtils; 261 TextUtils.writeToParcel(nonLocalizedLabel, dest, parcelableFlags); 300 = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
|
/frameworks/base/core/java/android/view/inputmethod/ |
CompletionInfo.java | 21 import android.text.TextUtils; 58 mText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 59 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 110 TextUtils.writeToParcel(mText, dest, flags); 111 TextUtils.writeToParcel(mLabel, dest, flags);
|
ExtractedText.java | 21 import android.text.TextUtils; 90 TextUtils.writeToParcel(text, dest, flags); 105 res.text = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
|
EditorInfo.java | 23 import android.text.TextUtils; 193 * {@link TextUtils#CAP_MODE_CHARACTERS TextUtils.CAP_MODE_CHARACTERS}, 194 * {@link TextUtils#CAP_MODE_WORDS TextUtils.CAP_MODE_WORDS}, and 195 * {@link TextUtils#CAP_MODE_SENTENCES TextUtils.CAP_MODE_SENTENCES}, though 273 TextUtils.writeToParcel(actionLabel, dest, flags); 278 TextUtils.writeToParcel(hintText, dest, flags); 279 TextUtils.writeToParcel(label, dest, flags) [all...] |
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
VCardUtilsTests.java | 18 import android.text.TextUtils; 91 assertTrue(TextUtils.isEmpty(VCardUtils.toStringAsV30ParamValue(""))); 92 assertTrue(TextUtils.isEmpty(VCardUtils.toStringAsV30ParamValue(null))); 93 assertTrue(TextUtils.isEmpty(VCardUtils.toStringAsV30ParamValue(" \t"))); 107 assertTrue(TextUtils.isEmpty(
|
/frameworks/base/core/tests/coretests/src/android/text/ |
TextUtilsTest.java | 27 import android.text.TextUtils; 42 * TextUtilsTest tests {@link TextUtils}. 48 assertEquals("", TextUtils.concat()); 49 assertEquals("foo", TextUtils.concat("foo")); 50 assertEquals("foobar", TextUtils.concat("foo", "bar")); 51 assertEquals("foobarbaz", TextUtils.concat("foo", "bar", "baz")); 62 assertEquals("foo", TextUtils.concat(foo).toString()); 63 assertEquals("foobar", TextUtils.concat(foo, bar).toString()); 64 assertEquals("foobarbaz", TextUtils.concat(foo, bar, baz).toString()); 66 assertEquals(1, ((Spanned) TextUtils.concat(foo)).getSpanStart("foo")) [all...] |
SpannedTest.java | 76 TextUtils.writeToParcel(s, p, 0); 79 Spanned s2 = (Spanned) TextUtils.CHAR_SEQUENCE_CREATOR.
|
/cts/tests/tests/view/src/android/view/cts/ |
KeyCharacterMapTest.java | 20 import android.text.TextUtils; 246 TextUtils.getChars(mCharSequence, 1, len, charsArray, 0);
|
/frameworks/base/core/java/android/text/method/ |
ReplacementTransformationMethod.java | 25 import android.text.TextUtils; 67 if (TextUtils.indexOf(source, original[i]) >= 0) { 151 TextUtils.getChars(mSource, start, end, dest, off);
|
PasswordTransformationMethod.java | 26 import android.text.TextUtils; 190 TextUtils.getChars(mSource, start, end, dest, off);
|
QwertyKeyListener.java | 125 String hex = TextUtils.substring(content, start, selEnd); 241 TextUtils.getChars(content, x, oldStart, orig, 0); 338 String key = TextUtils.substring(src, start, end).toLowerCase(); 367 TextUtils.regionMatches(src, start, out, 0, len))
|
/frameworks/base/core/java/android/widget/ |
MultiAutoCompleteTextView.java | 28 import android.text.TextUtils; 161 if (TextUtils.isEmpty(sub)) { 204 String original = TextUtils.substring(editable, start, end); 275 TextUtils.copySpansFrom((Spanned) text, 0, text.length(),
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextViewTest.java | 35 import android.text.TextUtils; 311 TextUtils.copySpansFrom((Spanned)text, 0, text.length(), Object.class, sp, 0);
|
/frameworks/base/vpn/tests/vpntests/src/android/net/vpn/ |
VpnTest.java | 34 import android.text.TextUtils; 132 assertFalse(TextUtils.isEmpty(type.getDisplayName()));
|
/packages/apps/Mms/src/com/android/mms/ui/ |
RecipientsEditor.java | 34 import android.text.TextUtils; 186 if (TextUtils.indexOf(getText(), '@') == -1) 297 if (TextUtils.isEmpty(fieldValue)) { 298 fieldValue = TextUtils.substring(sp, start, end); 385 TextUtils.copySpansFrom((Spanned) text, 0, text.length(),
|
/frameworks/base/core/java/android/app/ |
Notification.java | 28 import android.text.TextUtils; 336 tickerText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(parcel); 426 TextUtils.writeToParcel(tickerText, parcel, flags);
|
ActivityManager.java | 32 import android.text.TextUtils; 243 TextUtils.writeToParcel(description, dest, 258 description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); [all...] |