/frameworks/base/core/java/android/text/ |
BoringLayout.java | 53 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 56 includepad, ellipsize, ellipsizedWidth); 91 TextUtils.TruncateAt ellipsize, 95 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { 104 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, 105 ellipsize, true, this), 138 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 148 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) [all...] |
StaticLayout.java | 252 * @param ellipsize type of ellipsis behavior 256 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { 257 mEllipsize = ellipsize; 489 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 492 spacingmult, spacingadd, includepad, ellipsize, ellipsizedWidth, Integer.MAX_VALUE); 503 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { 504 super((ellipsize == null) 517 .setEllipsize(ellipsize) 527 if (ellipsize != null) { 532 e.mMethod = ellipsize; [all...] |
DynamicLayout.java | 76 * If ellipsize is non-null, the Layout will ellipsize the text 84 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { 88 Layout.JUSTIFICATION_MODE_NONE, ellipsize, ellipsizedWidth); 95 * If ellipsize is non-null, the Layout will ellipsize the text 105 int justificationMode, TextUtils.TruncateAt ellipsize, 107 super((ellipsize == null) 117 if (ellipsize != null) { 120 mEllipsizeAt = ellipsize; [all...] |
TextUtils.java | 1179 public static CharSequence ellipsize(CharSequence text, method in class:TextUtils 1197 public static CharSequence ellipsize(CharSequence text, method in class:TextUtils 1220 public static CharSequence ellipsize(CharSequence text, method in class:TextUtils [all...] |
Layout.java | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
StringTexture.java | 66 text = TextUtils.ellipsize(
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 100 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); 516 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); 520 TextUtils.ellipsize(text, p, textWidth, TruncateAt.END).toString()); 524 TextUtils.ellipsize(text, p, textWidth, TruncateAt.MIDDLE).toString()); 526 // issue 1688347, ellipsize() is not defined for TruncateAt.MARQUEE. 530 TextUtils.ellipsize(text, p, textWidth, TruncateAt.MARQUEE).toString()); 533 assertEquals("", TextUtils.ellipsize(text, p, textWidth, TruncateAt.END).toString()); 534 assertEquals("", TextUtils.ellipsize(text, p, textWidth - 1, TruncateAt.END).toString()); 535 assertEquals("", TextUtils.ellipsize(text, p, -1f, TruncateAt.END).toString()); 537 TextUtils.ellipsize(text, p, Float.MAX_VALUE, TruncateAt.END).toString()) [all...] |
StaticLayoutTest.java | 100 TextUtils.TruncateAt ellipsize) { 104 ellipsize, [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
FolderSpan.java | 82 name = TextUtils.ellipsize(mName, mWorkPaint, width - 2 * mRes.folderHorizontalPadding,
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
EllipsizedMultilineTextView.java | 31 * A special MultiLine TextView that will apply ellipsize logic to only the last 54 * Ellipsize just the last line of text in this view and set the text to the 56 * @param text Text to set and ellipsize 83 final CharSequence remainder = TextUtils.ellipsize(text.subSequence(lastLineStart,
|
/frameworks/base/core/tests/coretests/src/android/text/ |
TextUtilsTest.java | 310 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); 311 String out2 = TextUtils.ellipsize(s2, p, i, kind).toString(); 312 String out3 = TextUtils.ellipsize(s3, p, i, kind).toString(); 314 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); 315 String keep2 = TextUtils.ellipsize(s2, p, i, kind, true, null).toString(); 316 String keep3 = TextUtils.ellipsize(s3, p, i, kind, true, null).toString();
|
StaticLayoutTest.java | 473 TextUtils.TruncateAt ellipsize, int maxLines) { 478 ellipsize,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
AddressedMediaPlayer.java | 516 sb.append(Utils.ellipsize(getAttrValue(AvrcpConstants.ATTRID_TITLE, item, null))); 518 sb.append(Utils.ellipsize(getAttrValue(AvrcpConstants.ATTRID_ALBUM, item, null))); 520 sb.append(Utils.ellipsize(getAttrValue(AvrcpConstants.ATTRID_ARTIST, item, null)));
|
Avrcp.java | 509 responseDebug.append(Utils.ellipsize(textArray[i]) + "] "); [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 198 return TextUtils.ellipsize(labelStr, paint, MAX_LABEL_SIZE_PX,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
MediaProjectionPermissionActivity.java | 123 String unsanitizedAppName = TextUtils.ellipsize(label,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumLabelMaker.java | 126 text = TextUtils.ellipsize(
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
Utils.java | 178 public static String ellipsize(String s) { method in class:Utils 179 // Only ellipsize release builds
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ButtonDropTarget.java | 325 CharSequence displayedText = TextUtils.ellipsize(mText, getPaint(), availableWidth,
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemView.java | [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
CollapsingTextHelper.java | 609 // If we don't currently have text to draw, or the text size has changed, ellipsize... 610 final CharSequence title = TextUtils.ellipsize(mText, mTextPaint,
|
/packages/apps/Contacts/src/com/android/contacts/ |
ShortcutIntentBuilder.java | 443 overlay = TextUtils.ellipsize(overlay, textPaint, mIconSize, TruncateAt.END);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthWeekEventsView.java | [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Utils.java | 229 public static String ellipsize(String text, int maxCharacters) { method in class:Utils [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripLayoutHelper.java | 595 // TextUtils.ellipsize erases any span object existed after ellipsized point. 597 final CharSequence ellipsizedText = TextUtils.ellipsize(
|