Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java51 DrawingUtils.assertAllPixelsOfColor("Default fill", mViewWithOverlay, in testBasics()
80 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testOverlayWithOneDrawable()
85 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testOverlayWithOneDrawable()
101 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testAddTheSameDrawableTwice()
106 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testAddTheSameDrawableTwice()
118 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testRemoveTheSameDrawableTwice()
128 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testRemoveTheSameDrawableTwice()
152 DrawingUtils.assertAllPixelsOfColor("Overlay with three drawables", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables()
160 DrawingUtils.assertAllPixelsOfColor("Overlay with two drawables", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables()
165 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables()
[all …]
DViewGroupOverlayTest.java63 DrawingUtils.assertAllPixelsOfColor("Default fill", mViewGroupWithOverlay, in testBasics()
94 DrawingUtils.assertAllPixelsOfColor("Overlay with one red view", in testOverlayWithOneView()
99 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithOneView()
126 DrawingUtils.assertAllPixelsOfColor("Overlay with three views", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews()
134 DrawingUtils.assertAllPixelsOfColor("Overlay with two views", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews()
139 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews()
161 DrawingUtils.assertAllPixelsOfColor("Overlay with one view and one drawable", in testOverlayWithNonOverlappingViewAndDrawable()
168 DrawingUtils.assertAllPixelsOfColor("Overlay with one drawable", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViewAndDrawable()
173 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViewAndDrawable()
197 DrawingUtils.assertAllPixelsOfColor("Overlay with two drawables", mViewGroupWithOverlay, in testOverlayWithOverlappingViews()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DTabWidgetTest.java68 TestUtils.assertAllPixelsOfColor("Left strip green", leftStripDrawable, in testConstructorWithStyle()
74 TestUtils.assertAllPixelsOfColor("Right strip red", rightStripDrawable, in testConstructorWithStyle()
87 TestUtils.assertAllPixelsOfColor("Left strip red", leftStripDrawable, in testInflateFromXml()
93 TestUtils.assertAllPixelsOfColor("Right strip green", rightStripDrawable, in testInflateFromXml()
296 TestUtils.assertAllPixelsOfColor("Left strip green", leftStripDrawable, in testStripDrawables()
304 TestUtils.assertAllPixelsOfColor("Left strip red", leftStripDrawable, in testStripDrawables()
312 TestUtils.assertAllPixelsOfColor("Right strip red", rightStripDrawable, in testStripDrawables()
320 TestUtils.assertAllPixelsOfColor("Left strip green", rightStripDrawable, in testStripDrawables()
333 TestUtils.assertAllPixelsOfColor("Divider blue", dividerDrawable, in testDividerDrawables()
341 TestUtils.assertAllPixelsOfColor("Divider yellow", dividerDrawable, in testDividerDrawables()
DImageViewTest.java536 TestUtils.assertAllPixelsOfColor("All pixels should be white", mImageView, in testImageTintVisuals()
543 TestUtils.assertAllPixelsOfColor("All pixels should be light red", mImageView, in testImageTintVisuals()
549 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha white", mImageView, in testImageTintVisuals()
555 TestUtils.assertAllPixelsOfColor("All pixels should be red", mImageView, in testImageTintVisuals()
564 TestUtils.assertAllPixelsOfColor("All pixels should be blue", mImageView, in testAlpha()
568 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha blue", mImageView, in testAlpha()
572 TestUtils.assertAllPixelsOfColor("All pixels should be transparent", mImageView, in testAlpha()
576 TestUtils.assertAllPixelsOfColor("All pixels should be blue", mImageView, in testAlpha()
586 TestUtils.assertAllPixelsOfColor("All pixels should be blue", mImageView, in testImageAlpha()
591 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha blue", mImageView, in testImageAlpha()
[all …]
DCalendarViewTest.java151 TestUtils.assertAllPixelsOfColor("Selected date vertical bar blue", in testAppearanceHolo()
201 TestUtils.assertAllPixelsOfColor("Selected date vertical bar yellow", in testAppearanceHolo()
207 TestUtils.assertAllPixelsOfColor("Selected date vertical bar magenta", in testAppearanceHolo()
DToolbarTest.java234 TestUtils.assertAllPixelsOfColor("Overflow icon is red", toolbarOverflowIcon, in testMenuOverflowIcon()
282 TestUtils.assertAllPixelsOfColor("Navigation icon is green", toolbarNavigationIcon, in testNavigationConfiguration()
290 TestUtils.assertAllPixelsOfColor("Navigation icon is blue", toolbarNavigationIcon, in testNavigationConfiguration()
311 TestUtils.assertAllPixelsOfColor("Logo is yellow", toolbarLogo, in testLogoConfiguration()
319 TestUtils.assertAllPixelsOfColor("Logo is red", toolbarLogo, in testLogoConfiguration()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java110 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull View view, in assertAllPixelsOfColor() method in TestUtils
121 assertAllPixelsOfColor(failMessagePrefix, bitmap, view.getWidth(), view.getHeight(), in assertAllPixelsOfColor()
136 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Drawable drawable, in assertAllPixelsOfColor() method in TestUtils
152 assertAllPixelsOfColor(failMessagePrefix, bitmap, drawableWidth, drawableHeight, color, in assertAllPixelsOfColor()
167 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap, in assertAllPixelsOfColor() method in TestUtils
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java40 public static void assertAllPixelsOfColor(String failMessagePrefix, View view, in assertAllPixelsOfColor() method in DrawingUtils