Home
last modified time | relevance | path

Searched refs:getBackgroundColor (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DSuggestionRangeSpanTest.java40 assertEquals(0, span.getBackgroundColor()); in testConstructor()
59 assertEquals(original.getBackgroundColor(), clone.getBackgroundColor()); in testSerializationDeserialization()
65 assertEquals(0, span.getBackgroundColor()); in testSetAndGetBackgroundColor()
68 assertEquals(1, span.getBackgroundColor()); in testSetAndGetBackgroundColor()
DBackgroundColorSpanTest.java72 assertEquals(Color.CYAN, backgroundColorSpan.getBackgroundColor()); in testGetBackgroundColor()
75 assertEquals(Color.GRAY, backgroundColorSpan.getBackgroundColor()); in testGetBackgroundColor()
98 assertEquals(Color.RED, b.getBackgroundColor()); in testWriteToParcel()
109 assertEquals(Color.MAGENTA, b.getBackgroundColor()); in testWriteToParcel()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DFreeTextAnnotationTest.java60 assertThat(pageFreeTextAnnotationContent.getBackgroundColor()) in pageFreeTextAnnotationContent_getTest()
74 assertThat(pageFreeTextAnnotationContent.getBackgroundColor()) in pageFreeTextAnnotationContent_setTest()
DPdfRendererPreVTest.java747 assertThat(freeTextAnnotation.getBackgroundColor()).isEqualTo(Color.GREEN); in getFreeTextAnnotation()
794 assertThat(addedFreeTextAnnotation.getBackgroundColor()).isEqualTo(Color.BLUE); in testAddFreeTextAnnotation()
825 assertThat(updatedFreeTextAnnotation.getBackgroundColor()).isEqualTo(Color.BLUE); in testUpdateFreeTextAnnotation()
DPdfRendererTest.java1095 assertThat(freeTextAnnotation.getBackgroundColor()).isEqualTo(Color.GREEN); in getFreeTextAnnotation()
1148 assertThat(addedFreeTextAnnotation.getBackgroundColor()).isEqualTo(Color.BLUE); in testAddFreeTextAnnotation()
1182 assertThat(updatedFreeTextAnnotation.getBackgroundColor()).isEqualTo(Color.BLUE); in testUpdateFreeTextAnnotation()
/cts/tests/app/src/android/app/cts/
DTaskDescriptionTest.java148 assertEquals(backgroundColor, td.getBackgroundColor()); in assertTaskDescription()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java148 public int getBackgroundColor(@ColorInt int defaultColor) { in getBackgroundColor() method in ImeSettings
DMockIme.java999 mSettings.getBackgroundColor(defaultBackgroundColor)); in KeyboardLayoutView()
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java258 assertEquals(0xFF00FF00, background[0].getBackgroundColor()); in testStylesFromHtml()
DTextUtilsTest.java292 assertEquals(Color.GREEN, ((BackgroundColorSpan) spans[1]).getBackgroundColor()); in testConcat()
390 assertEquals(Color.GREEN, ((BackgroundColorSpan) spans[1]).getBackgroundColor()); in testCopySpansFrom()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt4954 method @ColorInt public int getBackgroundColor();
49889 method @ColorInt public int getBackgroundColor();
50181 method public int getBackgroundColor();
56728 method @Deprecated @ColorInt public int getBackgroundColor();