Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DContextThemeWrapperTest.java150 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in verifyIdenticalTextAppearanceStyle() local
151 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in verifyIdenticalTextAppearanceStyle()
152 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in verifyIdenticalTextAppearanceStyle()
154 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in verifyIdenticalTextAppearanceStyle()
156 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in verifyIdenticalTextAppearanceStyle()
158 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in verifyIdenticalTextAppearanceStyle()
160 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in verifyIdenticalTextAppearanceStyle()
162 assertEquals(expectedTa.getInt(R.styleable.TextAppearance_textStyle, defValue), in verifyIdenticalTextAppearanceStyle()
/cts/tests/app/src/android/app/cts/
DDialogTest.java133 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in assertTextAppearanceStyle() local
134 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in assertTextAppearanceStyle()
135 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in assertTextAppearanceStyle()
137 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in assertTextAppearanceStyle()
139 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in assertTextAppearanceStyle()
141 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in assertTextAppearanceStyle()
143 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in assertTextAppearanceStyle()
145 assertEquals(expectedTa.getInt(R.styleable.TextAppearance_textStyle, defValue), in assertTextAppearanceStyle()