Home
last modified time | relevance | path

Searched refs:assertAllPixelsOfColor (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java61 DrawingUtils.assertAllPixelsOfColor("Default fill", mViewWithOverlay, in testBasics()
88 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testOverlayWithOneDrawable()
93 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testOverlayWithOneDrawable()
108 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testAddTheSameDrawableTwice()
113 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testAddTheSameDrawableTwice()
127 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testRemoveTheSameDrawableTwice()
134 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testRemoveTheSameDrawableTwice()
157 DrawingUtils.assertAllPixelsOfColor("Overlay with three drawables", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables()
165 DrawingUtils.assertAllPixelsOfColor("Overlay with two drawables", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables()
170 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables()
[all …]
DViewGroupOverlayTest.java79 DrawingUtils.assertAllPixelsOfColor("Default fill", mViewGroupWithOverlay, in testBasics()
108 DrawingUtils.assertAllPixelsOfColor("Overlay with one red view", in testOverlayWithOneView()
113 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithOneView()
139 DrawingUtils.assertAllPixelsOfColor("Overlay with three views", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews()
147 DrawingUtils.assertAllPixelsOfColor("Overlay with two views", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews()
152 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews()
172 DrawingUtils.assertAllPixelsOfColor("Overlay with one view and one drawable", in testOverlayWithNonOverlappingViewAndDrawable()
179 DrawingUtils.assertAllPixelsOfColor("Overlay with one drawable", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViewAndDrawable()
184 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViewAndDrawable()
207 DrawingUtils.assertAllPixelsOfColor("Overlay with two drawables", mViewGroupWithOverlay, in testOverlayWithOverlappingViews()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DTabWidgetTest.java86 TestUtils.assertAllPixelsOfColor("Left strip green", leftStripDrawable, in testConstructorWithStyle()
92 TestUtils.assertAllPixelsOfColor("Right strip red", rightStripDrawable, in testConstructorWithStyle()
106 TestUtils.assertAllPixelsOfColor("Left strip red", leftStripDrawable, in testInflateFromXml()
112 TestUtils.assertAllPixelsOfColor("Right strip green", rightStripDrawable, in testInflateFromXml()
304 TestUtils.assertAllPixelsOfColor("Left strip green", leftStripDrawable, in testStripDrawables()
312 TestUtils.assertAllPixelsOfColor("Left strip red", leftStripDrawable, in testStripDrawables()
326 TestUtils.assertAllPixelsOfColor("Right strip red", rightStripDrawable, in testStripDrawables()
335 TestUtils.assertAllPixelsOfColor("Left strip green", rightStripDrawable, in testStripDrawables()
351 TestUtils.assertAllPixelsOfColor("Divider blue", dividerDrawable, in testDividerDrawables()
358 TestUtils.assertAllPixelsOfColor("Divider yellow", dividerDrawable, in testDividerDrawables()
DImageViewTest.java652 TestUtils.assertAllPixelsOfColor("All pixels should be white", imageViewTinted, in testImageTintVisuals()
659 TestUtils.assertAllPixelsOfColor("All pixels should be light red", imageViewTinted, in testImageTintVisuals()
665 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha white", imageViewTinted, in testImageTintVisuals()
671 TestUtils.assertAllPixelsOfColor("All pixels should be red", imageViewTinted, in testImageTintVisuals()
681 TestUtils.assertAllPixelsOfColor("All pixels should be white", imageViewTinted, in testImageTintBlendModeVisuals()
688 TestUtils.assertAllPixelsOfColor("All pixels should be light red", imageViewTinted, in testImageTintBlendModeVisuals()
694 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha white", imageViewTinted, in testImageTintBlendModeVisuals()
700 TestUtils.assertAllPixelsOfColor("All pixels should be red", imageViewTinted, in testImageTintBlendModeVisuals()
709 TestUtils.assertAllPixelsOfColor("All pixels should be blue", mImageViewRegular, in testAlpha()
713 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha blue", mImageViewRegular, in testAlpha()
[all …]
DSwitchTest.java163 TestUtils.assertAllPixelsOfColor("Thumb drawable should be blue", thumbDrawable, in testAccessThumbDrawable()
171 TestUtils.assertAllPixelsOfColor("Thumb drawable should be red", thumbDrawable, in testAccessThumbDrawable()
179 TestUtils.assertAllPixelsOfColor("Thumb drawable should be green", thumbDrawable, in testAccessThumbDrawable()
189 TestUtils.assertAllPixelsOfColor("Thumb drawable should be green / blue", thumbDrawable, in testAccessThumbDrawable()
203 TestUtils.assertAllPixelsOfColor("Track drawable should be 50% red", trackDrawable, in testAccessTrackDrawable()
212 TestUtils.assertAllPixelsOfColor("Track drawable should be blue", trackDrawable, in testAccessTrackDrawable()
221 TestUtils.assertAllPixelsOfColor("Track drawable should be green", trackDrawable, in testAccessTrackDrawable()
232 TestUtils.assertAllPixelsOfColor("Track drawable should be green / blue", trackDrawable, in testAccessTrackDrawable()
DImageButtonTest.java81 TestUtils.assertAllPixelsOfColor("Default source is red", imageButtonDrawable, in testImageSource()
87 TestUtils.assertAllPixelsOfColor("New source is green", imageButtonDrawable, in testImageSource()
93 TestUtils.assertAllPixelsOfColor("New source is yellow", imageButtonDrawable, in testImageSource()
DCheckedTextViewTest.java318 TestUtils.assertAllPixelsOfColor("Initial state is red", checkMark,
332 TestUtils.assertAllPixelsOfColor("Expected 50% green", checkMark,
344 TestUtils.assertAllPixelsOfColor("Expected 50% green over full red", checkMark,
355 TestUtils.assertAllPixelsOfColor("Expected 50% green over full yellow", checkMark,
367 TestUtils.assertAllPixelsOfColor("Initial state is red", checkMark, in testCheckMarkTintBlendMode()
381 TestUtils.assertAllPixelsOfColor("Expected 50% green", checkMark, in testCheckMarkTintBlendMode()
393 TestUtils.assertAllPixelsOfColor("Expected 50% green over full red", checkMark, in testCheckMarkTintBlendMode()
404 TestUtils.assertAllPixelsOfColor("Expected 50% green over full yellow", checkMark, in testCheckMarkTintBlendMode()
DToolbarTest.java218 TestUtils.assertAllPixelsOfColor("Overflow icon is red", toolbarOverflowIcon, in testMenuOverflowIcon()
260 TestUtils.assertAllPixelsOfColor("Navigation icon is green", toolbarNavigationIcon, in testNavigationConfiguration()
268 TestUtils.assertAllPixelsOfColor("Navigation icon is blue", toolbarNavigationIcon, in testNavigationConfiguration()
296 TestUtils.assertAllPixelsOfColor("Collapse icon is green", toolbarCollapseIcon, in testCollapseConfiguration()
304 TestUtils.assertAllPixelsOfColor("Collapse icon is blue", toolbarCollapseIcon, in testCollapseConfiguration()
324 TestUtils.assertAllPixelsOfColor("Logo is yellow", toolbarLogo, in testLogoConfiguration()
332 TestUtils.assertAllPixelsOfColor("Logo is red", toolbarLogo, in testLogoConfiguration()
DCalendarViewTest.java311 TestUtils.assertAllPixelsOfColor("Selected date vertical bar blue", in testAppearanceHolo()
356 TestUtils.assertAllPixelsOfColor("Selected date vertical bar yellow", in testAppearanceHolo()
361 TestUtils.assertAllPixelsOfColor("Selected date vertical bar magenta", in testAppearanceHolo()
DSpinnerTest.java402 TestUtils.assertAllPixelsOfColor("Drop down should be blue", dropDownBackground, in testDropDownBackgroundDropdownMode()
424 TestUtils.assertAllPixelsOfColor("Drop down should be yellow", dropDownBackground, in testDropDownBackgroundDropdownMode()
DActionMenuViewTest.java164 TestUtils.assertAllPixelsOfColor("Overflow icon is red", toolbarOverflowIcon, in testMenuOverflowIcon()
DAutoCompleteTextViewTest.java417 TestUtils.assertAllPixelsOfColor("Drop down should be blue", dropDownBackground, in testDropDownBackground()
429 TestUtils.assertAllPixelsOfColor("Drop down should be yellow", dropDownBackground, in testDropDownBackground()
DLinearLayoutTest.java840 TestUtils.assertAllPixelsOfColor("Divider is red", dividerDrawable, in testDividersInVerticalLayout()
1103 TestUtils.assertAllPixelsOfColor("Divider is red", dividerDrawable, in testDividersInHorizontalLayout()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java128 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull View view, in assertAllPixelsOfColor() method in TestUtils
158 assertAllPixelsOfColor(failMessagePrefix, bitmap, region, in assertRegionPixelsOfColor()
174 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, in assertAllPixelsOfColor() method in TestUtils
194 assertAllPixelsOfColor(failMessagePrefix, bitmap, in assertAllPixelsOfColor()
211 private static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertAllPixelsOfColor() method in TestUtils
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java41 public static void assertAllPixelsOfColor(String failMessagePrefix, View view, in assertAllPixelsOfColor() method in DrawingUtils