Home
last modified time | relevance | path

Searched refs:textAppearanceSpan (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DTextAppearanceSpanTest.java36 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan("sans", 1, 6, csl, csl); in testConstructor() local
39 textAppearanceSpan.writeToParcel(p, 0); in testConstructor()
63 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan(mContext, 1); in testGetFamily() local
64 assertNull(textAppearanceSpan.getFamily()); in testGetFamily()
66 textAppearanceSpan = new TextAppearanceSpan(mContext, 1, 1); in testGetFamily()
67 assertNull(textAppearanceSpan.getFamily()); in testGetFamily()
73 textAppearanceSpan = new TextAppearanceSpan("sans", 1, 6, csl, csl); in testGetFamily()
74 assertEquals("sans", textAppearanceSpan.getFamily()); in testGetFamily()
82 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan("sans", 1, 6, csl, csl); in testUpdateMeasureState() local
87 textAppearanceSpan.updateMeasureState(tp); in testUpdateMeasureState()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1880 TextAppearanceSpan textAppearanceSpan = new TextAppearanceSpan( in testWriteToParcel() local
1884 spannableString.setSpan(textAppearanceSpan, textAppearanceSpanStart, in testWriteToParcel()