Searched refs:expectedTa (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | ContextThemeWrapperTest.java | 164 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in verifyIdenticalTextAppearanceStyle() local 165 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in verifyIdenticalTextAppearanceStyle() 166 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in verifyIdenticalTextAppearanceStyle() 168 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in verifyIdenticalTextAppearanceStyle() 170 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in verifyIdenticalTextAppearanceStyle() 172 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in verifyIdenticalTextAppearanceStyle() 174 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in verifyIdenticalTextAppearanceStyle() 176 assertEquals(expectedTa.getInt(R.styleable.TextAppearance_textStyle, defValue), in verifyIdenticalTextAppearanceStyle()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 172 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in assertTextAppearanceStyle() local 173 assertEquals(expectedTa.getIndexCount(), ta.getIndexCount()); in assertTextAppearanceStyle() 174 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColor, defValue), in assertTextAppearanceStyle() 176 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHint, defValue), in assertTextAppearanceStyle() 178 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorLink, defValue), in assertTextAppearanceStyle() 180 assertEquals(expectedTa.getColor(R.styleable.TextAppearance_textColorHighlight, defValue), in assertTextAppearanceStyle() 182 assertEquals(expectedTa.getDimension(R.styleable.TextAppearance_textSize, defValue), in assertTextAppearanceStyle() 184 assertEquals(expectedTa.getInt(R.styleable.TextAppearance_textStyle, defValue), in assertTextAppearanceStyle()
|