Package org.robolectric.shadows
Class ShadowTextUtils
java.lang.Object
org.robolectric.shadows.ShadowTextUtils
@Implements(android.text.TextUtils.class) public class ShadowTextUtils extends Object
Implement by truncating the text.
-
Constructor Summary
Constructors Constructor Description ShadowTextUtils()
-
Method Summary
Modifier and Type Method Description protected 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)
-