Home
last modified time | relevance | path

Searched refs:TruncateAt (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java519 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 …]
DTextUtilsTest.java297 TextUtils.TruncateAt kind = null; in testEllipsize()
301 kind = TextUtils.TruncateAt.START; in testEllipsize()
305 kind = TextUtils.TruncateAt.END; in testEllipsize()
309 kind = TextUtils.TruncateAt.MIDDLE; in testEllipsize()
356 TextUtils.TruncateAt.END, true /* preserve length */, in testEllipsize_multiCodepoint()
362 TextUtils.TruncateAt.END, false /* preserve length */, in testEllipsize_multiCodepoint()
368 TextUtils.TruncateAt.END, true /* preserve length */, in testEllipsize_multiCodepoint()
374 TextUtils.TruncateAt.END, false /* preserve length */, in testEllipsize_multiCodepoint()
383 TextUtils.TruncateAt.END, true /* preserve length */, in testEllipsize_multiCodepoint()
389 TextUtils.TruncateAt.END, false /* preserve length */, in testEllipsize_multiCodepoint()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAutoMarqueeTextView.java75 setEllipsize(TextUtils.TruncateAt.MARQUEE); in onVisibilityAggregated()
77 setEllipsize(TextUtils.TruncateAt.END); in onVisibilityAggregated()
/frameworks/base/core/java/android/text/
DStaticLayout.java296 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize()
433 private TextUtils.TruncateAt mEllipsize;
481 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in StaticLayout()
498 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout()
605 TextUtils.TruncateAt ellipsize = b.mEllipsize; in generate()
788 && (ellipsize == TextUtils.TruncateAt.END in generate()
790 && ellipsize != TextUtils.TruncateAt.MARQUEE)); in generate()
920 final int widthStart, final TextUtils.TruncateAt ellipsize, final float ellipsisWidth,
973 ellipsize != TextUtils.TruncateAt.MARQUEE) ||
975 ellipsize == TextUtils.TruncateAt.END);
[all …]
DBoringLayout.java82 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in make()
139 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in replaceOrMake()
142 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in replaceOrMake()
204 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in BoringLayout()
214 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in BoringLayout()
DDynamicLayout.java220 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize()
298 private TextUtils.TruncateAt mEllipsize;
341 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout()
367 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout()
403 private static CharSequence createEllipsizer(@Nullable TextUtils.TruncateAt ellipsize, in createEllipsizer()
1159 private TextUtils.TruncateAt mEllipsizeAt;
DTextUtils.java136 public static String getEllipsisString(@NonNull TextUtils.TruncateAt method) { in getEllipsisString()
137 return (method == TextUtils.TruncateAt.END_SMALL) ? ELLIPSIS_TWO_DOTS : ELLIPSIS_NORMAL; in getEllipsisString()
1246 public enum TruncateAt { enum in TextUtils
1274 float avail, TruncateAt where) { in ellipsize()
1292 float avail, TruncateAt where, in ellipsize()
1315 float avail, TruncateAt where, in ellipsize()
1344 } else if (where == TruncateAt.START) { in ellipsize()
1346 } else if (where == TruncateAt.END || where == TruncateAt.END_SMALL) { in ellipsize()
2310 TextUtils.TruncateAt.END); in makeSafeForPresentation()
DLayout.java2341 char[] dest, int destoff, TextUtils.TruncateAt method) {
2458 /* package */ TextUtils.TruncateAt mMethod;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMarqueeActivity.java41 text1.setEllipsize(TextUtils.TruncateAt.MARQUEE); in onCreate()
49 text2.setEllipsize(TextUtils.TruncateAt.MARQUEE); in onCreate()
DTextFadeActivity.java37 … ((TextView) findViewById(R.id.contact_tile_name)).setEllipsize(TextUtils.TruncateAt.MARQUEE); in onCreate()
/frameworks/base/core/java/android/widget/
DEditText.java164 public void setEllipsize(TextUtils.TruncateAt ellipsis) { in setEllipsize()
165 if (ellipsis == TextUtils.TruncateAt.MARQUEE) { in setEllipsize()
DTextView.java105 import android.text.TextUtils.TruncateAt;
478 private TextUtils.TruncateAt mEllipsize;
1579 setEllipsize(TextUtils.TruncateAt.START);
1582 setEllipsize(TextUtils.TruncateAt.MIDDLE);
1585 setEllipsize(TextUtils.TruncateAt.END);
1595 setEllipsize(TextUtils.TruncateAt.MARQUEE);
6125 && ((Spanned) text).getSpanStart(TextUtils.TruncateAt.MARQUEE) >= 0) { in setText()
6133 setEllipsize(TextUtils.TruncateAt.MARQUEE); in setText()
7245 if (mRestartMarquee && mEllipsize == TextUtils.TruncateAt.MARQUEE) { in restartMarqueeIfNeeded()
8977 final boolean switchEllipsize = mEllipsize == TruncateAt.MARQUEE in makeNewLayout()
[all …]
DFastScroller.java35 import android.text.TextUtils.TruncateAt;
559 textView.setEllipsize(TruncateAt.MIDDLE); in createPreviewTextView()
DToolbar.java779 mTitleTextView.setEllipsize(TextUtils.TruncateAt.END); in setTitle()
834 mSubtitleTextView.setEllipsize(TextUtils.TruncateAt.END); in setSubtitle()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierText.java109 setEllipsize(TextUtils.TruncateAt.MARQUEE); in onVisibilityChanged()
111 setEllipsize(TextUtils.TruncateAt.END); in onVisibilityChanged()
DKeyguardSliceView.java38 import android.text.TextUtils.TruncateAt;
530 setEllipsize(TruncateAt.END); in KeyguardSliceButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java23 import android.text.TextUtils.TruncateAt;
77 mSecondLine.setEllipsize(TruncateAt.END); in QSDualTileLabel()
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java68 TextUtils.TruncateAt effectiveEllipsize, boolean useSaved) { in makeSingleLayout()
DScrollingTabContainerView.java27 import android.text.TextUtils.TruncateAt;
467 textView.setEllipsize(TruncateAt.END); in update()
/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java197 localeNames[maxLocales] = TextUtils.getEllipsisString(TextUtils.TruncateAt.END); in getDisplayLocaleList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java129 paint, MAX_APP_NAME_SIZE_PX, TextUtils.TruncateAt.END).toString(); in onCreate()
/frameworks/base/core/java/android/content/res/
DStringBlock.java256 buffer.setSpan(TextUtils.TruncateAt.MARQUEE, in applyStyles()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java808 TextUtils.TruncateAt.END); in ellipsizeText()
/frameworks/base/config/
Dboot-image-profile.txt14766 …/text/Layout$Alignment;FFLandroid/text/BoringLayout$Metrics;ZLandroid/text/TextUtils$TruncateAt;I)V
14786 …lignment;FFLandroid/text/BoringLayout$Metrics;ZLandroid/text/TextUtils$TruncateAt;I)Landroid/text/…
14788 …lignment;FFLandroid/text/BoringLayout$Metrics;ZLandroid/text/TextUtils$TruncateAt;I)Landroid/text/…
14869 HSPLandroid/text/Layout;->ellipsize(III[CILandroid/text/TextUtils$TruncateAt;)V
15057 …Layout$Builder;->access$300(Landroid/text/StaticLayout$Builder;)Landroid/text/TextUtils$TruncateAt;
15067 …teEllipsis(IILandroid/text/MeasuredParagraph;IFLandroid/text/TextUtils$TruncateAt;IFLandroid/text/…
15087 …sInt;ZIZLandroid/text/MeasuredParagraph;IZZZ[CILandroid/text/TextUtils$TruncateAt;FFLandroid/text/…
15133 HSPLandroid/text/TextUtils$TruncateAt;-><init>(Ljava/lang/String;I)V
15138 …ava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;ZLandroid/text/T…
15139 …ava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/TextUtils$TruncateAt;ZLandroid/text/T…
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29531 … float, float, android.text.BoringLayout.Metrics, boolean, android.text.TextUtils.TruncateAt, int);
29547 … float, float, android.text.BoringLayout.Metrics, boolean, android.text.TextUtils.TruncateAt, int);
29549 … float, float, android.text.BoringLayout.Metrics, boolean, android.text.TextUtils.TruncateAt, int);
29567 …int, android.text.Layout.Alignment, float, float, boolean, android.text.TextUtils.TruncateAt, int);
29905 …int, android.text.Layout.Alignment, float, float, boolean, android.text.TextUtils.TruncateAt, int);
29951 …llipsize(java.lang.CharSequence, android.text.TextPaint, float, android.text.TextUtils.TruncateAt);
29952 …ng.CharSequence, android.text.TextPaint, float, android.text.TextUtils.TruncateAt, boolean, androi…
30008 public static final class TextUtils.TruncateAt extends java.lang.Enum {
30009 method public static android.text.TextUtils.TruncateAt valueOf(java.lang.String);
30010 method public static final android.text.TextUtils.TruncateAt[] values();
[all …]

12