/frameworks/base/core/java/android/app/smartspace/uitemplatedata/ |
D | Text.java | 40 private final TextUtils.TruncateAt mTruncateAtType; 46 mTruncateAtType = TextUtils.TruncateAt.valueOf(in.readString()); in Text() 50 private Text(@NonNull CharSequence text, TextUtils.TruncateAt truncateAtType, int maxLines) { in Text() 64 public TextUtils.TruncateAt getTruncateAtType() { in getTruncateAtType() 129 private TextUtils.TruncateAt mTruncateAtType; 138 mTruncateAtType = TextUtils.TruncateAt.END; in Builder() 147 public Builder setTruncateAtType(@NonNull TextUtils.TruncateAt truncateAtType) { in setTruncateAtType()
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 90 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in make() 124 boolean includePad, @Nullable TextUtils.TruncateAt ellipsize, in make() 190 @Nullable TextUtils.TruncateAt ellipsize, @IntRange(from = 0) int ellipsizedWidth, in replaceOrMake() 202 @Nullable TextUtils.TruncateAt ellipsize, @IntRange(from = 0) int ellipsizedWidth, in replaceOrMake() 207 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in replaceOrMake() 252 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in replaceOrMake() 306 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in BoringLayout() 337 @Nullable TextUtils.TruncateAt ellipsize, @IntRange(from = 0) int ellipsizedWidth, in BoringLayout() 364 TextUtils.TruncateAt ellipsize, in BoringLayout() 388 TextUtils.TruncateAt ellipsize, in BoringLayout() [all …]
|
D | StaticLayout.java | 308 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() 590 private TextUtils.TruncateAt mEllipsize; 677 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in StaticLayout() 694 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout() 763 TextUtils.TruncateAt ellipsize = b.mEllipsize; in generate() 971 && (ellipsize == TextUtils.TruncateAt.END in generate() 973 && ellipsize != TextUtils.TruncateAt.MARQUEE)); in generate() 1126 final int widthStart, final TextUtils.TruncateAt ellipsize, final float ellipsisWidth, 1179 ellipsize != TextUtils.TruncateAt.MARQUEE) || 1181 ellipsize == TextUtils.TruncateAt.END); [all …]
|
D | TextUtils.java | 141 public static String getEllipsisString(@NonNull TextUtils.TruncateAt method) { in getEllipsisString() 142 return (method == TextUtils.TruncateAt.END_SMALL) ? ELLIPSIS_TWO_DOTS : ELLIPSIS_NORMAL; in getEllipsisString() 1336 public enum TruncateAt { enum in TextUtils 1364 float avail, TruncateAt where) { in ellipsize() 1382 float avail, TruncateAt where, in ellipsize() 1405 float avail, TruncateAt where, in ellipsize() 1434 } else if (where == TruncateAt.START) { in ellipsize() 1436 } else if (where == TruncateAt.END || where == TruncateAt.END_SMALL) { in ellipsize() 2558 + getEllipsisString(TruncateAt.END); in makeSafeForPresentation() 2566 TextUtils.TruncateAt.END); in makeSafeForPresentation()
|
D | DynamicLayout.java | 230 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() 416 private TextUtils.TruncateAt mEllipsize; 463 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout() 490 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout() 538 private static CharSequence createEllipsizer(@Nullable TextUtils.TruncateAt ellipsize, in createEllipsizer() 1399 private TextUtils.TruncateAt mEllipsizeAt;
|
D | Layout.java | 355 TextUtils.TruncateAt ellipsize, in Layout() 3419 char[] dest, int destoff, TextUtils.TruncateAt method) { 3549 /* package */ TextUtils.TruncateAt mMethod; 3651 private TextUtils.TruncateAt mEllipsize; 3944 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() 4248 private TextUtils.TruncateAt mEllipsize = null; 4442 public final TextUtils.TruncateAt getEllipsize() { in getEllipsize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AutoMarqueeTextView.java | 74 setEllipsize(TextUtils.TruncateAt.MARQUEE); in onVisibilityAggregated() 76 setEllipsize(TextUtils.TruncateAt.END); in onVisibilityAggregated()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsItem.java | 54 text.setEllipsize(marquee ? TextUtils.TruncateAt.MARQUEE : TextUtils.TruncateAt.END); in setMarquee()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 519 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() 534 TextUtils.TruncateAt.END, 1); in testEllipsis_singleLine() 540 TextUtils.TruncateAt.MIDDLE, 1); in testEllipsis_singleLine() 546 TextUtils.TruncateAt.END, 1); in testEllipsis_singleLine() 552 TextUtils.TruncateAt.MARQUEE, 1); in testEllipsis_singleLine() 563 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.END, halfWidth, 1); in testEllipsis_singleLine() 570 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.START, halfWidth, 1); in testEllipsis_singleLine() 577 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.MIDDLE, halfWidth, 1); in testEllipsis_singleLine() 584 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.MARQUEE, halfWidth, 1); in testEllipsis_singleLine() 598 SPACE_MULTI, SPACE_ADD, false, TextUtils.TruncateAt.END, halfWidth, 1); in testEllipsis_singleLine() [all …]
|
D | TextUtilsTest.java | 300 TextUtils.TruncateAt kind = null; in testEllipsize() 304 kind = TextUtils.TruncateAt.START; in testEllipsize() 308 kind = TextUtils.TruncateAt.END; in testEllipsize() 312 kind = TextUtils.TruncateAt.MIDDLE; in testEllipsize() 359 TextUtils.TruncateAt.END, true /* preserve length */, in testEllipsize_multiCodepoint() 365 TextUtils.TruncateAt.END, false /* preserve length */, in testEllipsize_multiCodepoint() 371 TextUtils.TruncateAt.END, true /* preserve length */, in testEllipsize_multiCodepoint() 377 TextUtils.TruncateAt.END, false /* preserve length */, in testEllipsize_multiCodepoint() 386 TextUtils.TruncateAt.END, true /* preserve length */, in testEllipsize_multiCodepoint() 392 TextUtils.TruncateAt.END, false /* preserve length */, in testEllipsize_multiCodepoint() [all …]
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | MarqueeActivity.java | 41 text1.setEllipsize(TextUtils.TruncateAt.MARQUEE); in onCreate() 49 text2.setEllipsize(TextUtils.TruncateAt.MARQUEE); in onCreate()
|
D | TextFadeActivity.java | 37 … ((TextView) findViewById(R.id.contact_tile_name)).setEllipsize(TextUtils.TruncateAt.MARQUEE); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierText.java | 62 setEllipsize(TextUtils.TruncateAt.MARQUEE); in onVisibilityChanged() 64 setEllipsize(TextUtils.TruncateAt.END); in onVisibilityChanged()
|
D | KeyguardSliceView.java | 34 import android.text.TextUtils.TruncateAt; 429 setEllipsize(TruncateAt.END); in KeyguardSliceTextView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/ |
D | BouncerMessageViewBinder.kt | 103 if (allowTruncation) TextUtils.TruncateAt.END else TextUtils.TruncateAt.MARQUEE in updateView()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelperTest.java | 23 import android.text.TextUtils.TruncateAt; 81 BulletSpan.class, TruncateAt.class, URLSpan.class, StringBlock.Height.class, in testParseHtml()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDualTileLabel.java | 23 import android.text.TextUtils.TruncateAt; 80 mSecondLine.setEllipsize(TruncateAt.END); in QSDualTileLabel()
|
/frameworks/base/core/java/android/widget/ |
D | EditText.java | 226 public void setEllipsize(TextUtils.TruncateAt ellipsis) { in setEllipsize() 227 if (ellipsis == TextUtils.TruncateAt.MARQUEE) { in setEllipsize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/ |
D | KeyguardIndicationArea.kt | 81 setEllipsize(TextUtils.TruncateAt.END) in indicationBottomRow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/ |
D | CredentialPasswordView.kt | 64 titleView.ellipsize = TextUtils.TruncateAt.MARQUEE in onApplyWindowInsets()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleHelper.java | 169 localeNames[maxLocales] = TextUtils.getEllipsisString(TextUtils.TruncateAt.END); in getDisplayLocaleList()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ImageFloatingTextView.java | 84 TextUtils.TruncateAt effectiveEllipsize, boolean useSaved) { in makeSingleLayout()
|
D | ScrollingTabContainerView.java | 28 import android.text.TextUtils.TruncateAt; 468 textView.setEllipsize(TruncateAt.END); in update()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipMenuEduTextDrawer.java | 98 mEduTextView.setEllipsize(TextUtils.TruncateAt.MARQUEE); in setupDrawer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/ |
D | MediaProjectionPermissionActivity.java | 225 paint, MAX_APP_NAME_SIZE_PX, TextUtils.TruncateAt.END).toString(); in onCreate()
|