Package org.robolectric.shadows
Class ShadowTextUtils
java.lang.Object
org.robolectric.shadows.ShadowTextUtils
Implement
TextUtils.ellipsize(java.lang.CharSequence, android.text.TextPaint, float, android.text.TextUtils.TruncateAt)
by truncating the text.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static CharSequence
ellipsize
(CharSequence text, TextPaint p, float avail, TextUtils.TruncateAt where)
-
Constructor Details
-
ShadowTextUtils
public ShadowTextUtils()
-
-
Method Details
-
ellipsize
@Implementation protected static CharSequence ellipsize(CharSequence text, TextPaint p, float avail, TextUtils.TruncateAt where)
-