Home
last modified time | relevance | path

Searched refs:ellipsize (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/text/
DBoringLayout.java90 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in make() argument
92 includePad, ellipsize, ellipsizedWidth); in make()
124 boolean includePad, @Nullable TextUtils.TruncateAt ellipsize, in make() argument
127 ellipsize, ellipsizedWidth, useFallbackLineSpacing); in make()
190 @Nullable TextUtils.TruncateAt ellipsize, @IntRange(from = 0) int ellipsizedWidth, in replaceOrMake() argument
193 ellipsize, ellipsizedWidth, useFallbackLineSpacing, false /* useBoundsForWidth */, in replaceOrMake()
202 @Nullable TextUtils.TruncateAt ellipsize, @IntRange(from = 0) int ellipsizedWidth, in replaceOrMake() argument
207 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in replaceOrMake()
215 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, ellipsize, true, this), in replaceOrMake()
252 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in replaceOrMake() argument
[all …]
DStaticLayout.java308 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() argument
309 mEllipsize = ellipsize; in setEllipsize()
677 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in StaticLayout() argument
680 spacingmult, spacingadd, includepad, ellipsize, ellipsizedWidth, Integer.MAX_VALUE); in StaticLayout()
694 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout() argument
700 .setEllipsize(ellipsize) in StaticLayout()
703 ellipsize != null ? COLUMNS_ELLIPSIZE : COLUMNS_NORMAL); in StaticLayout()
763 TextUtils.TruncateAt ellipsize = b.mEllipsize; in generate() local
970 final boolean ellipsisMayBeApplied = ellipsize != null in generate()
971 && (ellipsize == TextUtils.TruncateAt.END in generate()
[all …]
DDynamicLayout.java230 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() argument
231 mEllipsize = ellipsize; in setEllipsize()
463 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout() argument
468 Layout.JUSTIFICATION_MODE_NONE, LineBreakConfig.NONE, ellipsize, ellipsizedWidth); in DynamicLayout()
490 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout() argument
492 super(createEllipsizer(ellipsize, display), in DynamicLayout()
494 false /* fallbackLineSpacing */, ellipsizedWidth, ellipsize, in DynamicLayout() local
505 .setEllipsize(ellipsize); in DynamicLayout()
538 private static CharSequence createEllipsizer(@Nullable TextUtils.TruncateAt ellipsize, in createEllipsizer() argument
540 if (ellipsize == null) { in createEllipsizer()
DTextUtils.java1362 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1365 return ellipsize(text, p, avail, where, false, null); in ellipsize()
1380 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1385 return ellipsize(text, paint, avail, where, preserveLength, callback, in ellipsize()
1403 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
2565 return TextUtils.ellipsize(gettingCleaned.toString(), paint, ellipsizeDip, in makeSafeForPresentation()
DLayout.java355 TextUtils.TruncateAt ellipsize, in Layout() argument
390 mEllipsizedWidth = ellipsize == null ? width : ellipsizedWidth; in Layout()
391 mEllipsize = ellipsize; in Layout()
3418 private void ellipsize(int start, int end, int line,
3571 mLayout.ellipsize(start, end, i, dest, destoff, mMethod); in getChars()
3944 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() argument
3945 mEllipsize = ellipsize; in setEllipsize()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java316 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); in testEllipsize()
317 String out2 = TextUtils.ellipsize(s2, p, i, kind).toString(); in testEllipsize()
318 String out3 = TextUtils.ellipsize(s3, p, i, kind).toString(); in testEllipsize()
320 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize()
321 String keep2 = TextUtils.ellipsize(s2, p, i, kind, true, null).toString(); in testEllipsize()
322 String keep3 = TextUtils.ellipsize(s3, p, i, kind, true, null).toString(); in testEllipsize()
358 TextUtils.ellipsize("MMMM", paint, 0.7f * wordWidth, in testEllipsize_multiCodepoint()
364 TextUtils.ellipsize("MMMM", paint, 0.7f * wordWidth, in testEllipsize_multiCodepoint()
370 TextUtils.ellipsize("MM", paint, 0.45f * wordWidth, in testEllipsize_multiCodepoint()
376 TextUtils.ellipsize("MM", paint, 0.45f * wordWidth, in testEllipsize_multiCodepoint()
[all …]
DStaticLayoutTest.java519 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() argument
524 ellipsize, in createEllipsizeStaticLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DCredentialPasswordView.kt64 titleView.ellipsize = TextUtils.TruncateAt.MARQUEE in onApplyWindowInsets()
70 titleView.ellipsize = null in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricCustomizedViewBinder.kt42 import com.android.systemui.biometrics.Utils.ellipsize in <lambda>()
98 description.ellipsize(BiometricCustomizedViewBinder.MAX_DESCRIPTION_CHARACTER_NUMBER) in LayoutInflater()
230 textView.text = text.ellipsize(maxCharNumber) in toView()
233 val bulletedText = SpannableString(text.ellipsize(maxCharNumber)) in toView()
DBiometricViewBinder.kt47 import com.android.systemui.biometrics.Utils.ellipsize in <lambda>()
175 viewModel.logoDescription.first().ellipsize(MAX_LOGO_DESCRIPTION_CHARACTER_NUMBER) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/
DBouncerMessageViewBinder.kt102 view.ellipsize = in updateView()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUtils.kt153 fun String.ellipsize(cutOffLength: Int) = method
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionActivity.java224 String unsanitizedAppName = TextUtils.ellipsize(label, in onCreate()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java807 return TextUtils.ellipsize(text, paint, maxWidth, in ellipsizeText()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt14657 HSPLandroid/text/Layout;->ellipsize(III[CILandroid/text/TextUtils$TruncateAt;)V
14977 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te…
14978 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te…
14979 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te…
/frameworks/base/config/
Dboot-image-profile.txt14721 HSPLandroid/text/Layout;->ellipsize(III[CILandroid/text/TextUtils$TruncateAt;)V
15041 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te…
15042 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te…
15043 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt526 field public static final int ellipsize = 16842923; // 0x10100ab
29951 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
29952 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
/frameworks/base/core/api/
Dcurrent.txt762 field public static final int ellipsize = 16842923; // 0x10100ab
48157 …method public static CharSequence ellipsize(CharSequence, android.text.TextPaint, float, android.t…
48158 …method public static CharSequence ellipsize(CharSequence, android.text.TextPaint, float, android.t…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55519 Landroid/text/Layout;->ellipsize(III[CILandroid/text/TextUtils$TruncateAt;)V
56327 Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/…
75111 Lcom/android/internal/R$attr;->ellipsize:I