| /cts/tests/tests/view/src/android/view/cts/ |
| D | ViewOverlayTest.java | 72 DrawingUtils.assertAllPixelsOfColor("Default fill", mViewWithOverlay, in testBasics() 99 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testOverlayWithOneDrawable() 104 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testOverlayWithOneDrawable() 119 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testAddTheSameDrawableTwice() 124 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testAddTheSameDrawableTwice() 138 DrawingUtils.assertAllPixelsOfColor("Overlay with one red drawable", mViewWithOverlay, in testRemoveTheSameDrawableTwice() 145 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testRemoveTheSameDrawableTwice() 168 DrawingUtils.assertAllPixelsOfColor("Overlay with three drawables", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables() 176 DrawingUtils.assertAllPixelsOfColor("Overlay with two drawables", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables() 181 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewWithOverlay, in testOverlayWithNonOverlappingDrawables() [all …]
|
| D | ViewGroupOverlayTest.java | 92 DrawingUtils.assertAllPixelsOfColor("Default fill", mViewGroupWithOverlay, in testBasics() 121 DrawingUtils.assertAllPixelsOfColor("Overlay with one red view", in testOverlayWithOneView() 126 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithOneView() 152 DrawingUtils.assertAllPixelsOfColor("Overlay with three views", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews() 160 DrawingUtils.assertAllPixelsOfColor("Overlay with two views", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews() 165 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViews() 185 DrawingUtils.assertAllPixelsOfColor("Overlay with one view and one drawable", in testOverlayWithNonOverlappingViewAndDrawable() 192 DrawingUtils.assertAllPixelsOfColor("Overlay with one drawable", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViewAndDrawable() 197 DrawingUtils.assertAllPixelsOfColor("Back to default fill", mViewGroupWithOverlay, in testOverlayWithNonOverlappingViewAndDrawable() 220 DrawingUtils.assertAllPixelsOfColor("Overlay with two drawables", mViewGroupWithOverlay, in testOverlayWithOverlappingViews() [all …]
|
| /cts/tests/tests/widget/src/android/widget/cts/ |
| D | TabWidgetTest.java | 94 TestUtils.assertAllPixelsOfColor("Left strip green", leftStripDrawable, in testConstructorWithStyle() 100 TestUtils.assertAllPixelsOfColor("Right strip red", rightStripDrawable, in testConstructorWithStyle() 114 TestUtils.assertAllPixelsOfColor("Left strip red", leftStripDrawable, in testInflateFromXml() 120 TestUtils.assertAllPixelsOfColor("Right strip green", rightStripDrawable, in testInflateFromXml() 312 TestUtils.assertAllPixelsOfColor("Left strip green", leftStripDrawable, in testStripDrawables() 320 TestUtils.assertAllPixelsOfColor("Left strip red", leftStripDrawable, in testStripDrawables() 334 TestUtils.assertAllPixelsOfColor("Right strip red", rightStripDrawable, in testStripDrawables() 343 TestUtils.assertAllPixelsOfColor("Left strip green", rightStripDrawable, in testStripDrawables() 359 TestUtils.assertAllPixelsOfColor("Divider blue", dividerDrawable, in testDividerDrawables() 366 TestUtils.assertAllPixelsOfColor("Divider yellow", dividerDrawable, in testDividerDrawables()
|
| D | ImageButtonTest.java | 90 TestUtils.assertAllPixelsOfColor("Default source is red", imageButtonDrawable, in testImageSource() 96 TestUtils.assertAllPixelsOfColor("New source is green", imageButtonDrawable, in testImageSource() 102 TestUtils.assertAllPixelsOfColor("New source is yellow", imageButtonDrawable, in testImageSource()
|
| D | ImageViewTest.java | 731 TestUtils.assertAllPixelsOfColor("All pixels should be white", imageViewTinted, in testImageTintVisuals() 738 TestUtils.assertAllPixelsOfColor("All pixels should be light red", imageViewTinted, in testImageTintVisuals() 744 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha white", imageViewTinted, in testImageTintVisuals() 750 TestUtils.assertAllPixelsOfColor("All pixels should be red", imageViewTinted, in testImageTintVisuals() 760 TestUtils.assertAllPixelsOfColor("All pixels should be white", imageViewTinted, in testImageTintBlendModeVisuals() 767 TestUtils.assertAllPixelsOfColor("All pixels should be light red", imageViewTinted, in testImageTintBlendModeVisuals() 773 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha white", imageViewTinted, in testImageTintBlendModeVisuals() 779 TestUtils.assertAllPixelsOfColor("All pixels should be red", imageViewTinted, in testImageTintBlendModeVisuals() 788 TestUtils.assertAllPixelsOfColor("All pixels should be blue", mImageViewRegular, in testAlpha() 792 TestUtils.assertAllPixelsOfColor("All pixels should be 50% alpha blue", mImageViewRegular, in testAlpha() [all …]
|
| D | SwitchTest.java | 174 TestUtils.assertAllPixelsOfColor("Thumb drawable should be blue", thumbDrawable, in testAccessThumbDrawable() 182 TestUtils.assertAllPixelsOfColor("Thumb drawable should be red", thumbDrawable, in testAccessThumbDrawable() 190 TestUtils.assertAllPixelsOfColor("Thumb drawable should be green", thumbDrawable, in testAccessThumbDrawable() 200 TestUtils.assertAllPixelsOfColor("Thumb drawable should be green / blue", thumbDrawable, in testAccessThumbDrawable() 214 TestUtils.assertAllPixelsOfColor("Track drawable should be 50% red", trackDrawable, in testAccessTrackDrawable() 223 TestUtils.assertAllPixelsOfColor("Track drawable should be blue", trackDrawable, in testAccessTrackDrawable() 232 TestUtils.assertAllPixelsOfColor("Track drawable should be green", trackDrawable, in testAccessTrackDrawable() 243 TestUtils.assertAllPixelsOfColor("Track drawable should be green / blue", trackDrawable, in testAccessTrackDrawable()
|
| D | CheckedTextViewTest.java | 328 TestUtils.assertAllPixelsOfColor("Initial state is red", checkMark, 342 TestUtils.assertAllPixelsOfColor("Expected 50% green", checkMark, 354 TestUtils.assertAllPixelsOfColor("Expected 50% green over full red", checkMark, 365 TestUtils.assertAllPixelsOfColor("Expected 50% green over full yellow", checkMark, 377 TestUtils.assertAllPixelsOfColor("Initial state is red", checkMark, in testCheckMarkTintBlendMode() 391 TestUtils.assertAllPixelsOfColor("Expected 50% green", checkMark, in testCheckMarkTintBlendMode() 403 TestUtils.assertAllPixelsOfColor("Expected 50% green over full red", checkMark, in testCheckMarkTintBlendMode() 414 TestUtils.assertAllPixelsOfColor("Expected 50% green over full yellow", checkMark, in testCheckMarkTintBlendMode()
|
| D | ToolbarTest.java | 226 TestUtils.assertAllPixelsOfColor("Overflow icon is red", toolbarOverflowIcon, in testMenuOverflowIcon() 268 TestUtils.assertAllPixelsOfColor("Navigation icon is green", toolbarNavigationIcon, in testNavigationConfiguration() 276 TestUtils.assertAllPixelsOfColor("Navigation icon is blue", toolbarNavigationIcon, in testNavigationConfiguration() 304 TestUtils.assertAllPixelsOfColor("Collapse icon is green", toolbarCollapseIcon, in testCollapseConfiguration() 312 TestUtils.assertAllPixelsOfColor("Collapse icon is blue", toolbarCollapseIcon, in testCollapseConfiguration() 332 TestUtils.assertAllPixelsOfColor("Logo is yellow", toolbarLogo, in testLogoConfiguration() 340 TestUtils.assertAllPixelsOfColor("Logo is red", toolbarLogo, in testLogoConfiguration()
|
| D | CalendarViewTest.java | 321 TestUtils.assertAllPixelsOfColor("Selected date vertical bar blue", in testAppearanceHolo() 366 TestUtils.assertAllPixelsOfColor("Selected date vertical bar yellow", in testAppearanceHolo() 371 TestUtils.assertAllPixelsOfColor("Selected date vertical bar magenta", in testAppearanceHolo()
|
| D | ActionMenuViewTest.java | 172 TestUtils.assertAllPixelsOfColor("Overflow icon is red", toolbarOverflowIcon, in testMenuOverflowIcon()
|
| D | SpinnerTest.java | 458 TestUtils.assertAllPixelsOfColor("Drop down should be blue", dropDownBackground, in testDropDownBackgroundDropdownMode()
|
| D | AutoCompleteTextViewTest.java | 423 TestUtils.assertAllPixelsOfColor("Drop down should be blue", dropDownBackground, in testDropDownBackground() 435 TestUtils.assertAllPixelsOfColor("Drop down should be yellow", dropDownBackground, in testDropDownBackground()
|
| D | LinearLayoutTest.java | 849 TestUtils.assertAllPixelsOfColor("Divider is red", dividerDrawable, in testDividersInVerticalLayout() 1146 TestUtils.assertAllPixelsOfColor("Divider is red", dividerDrawable, in testDividersInHorizontalLayout()
|
| /cts/tests/tests/widget/src/android/widget/cts/util/ |
| D | TestUtils.java | 128 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/ |
| D | DrawingUtils.java | 41 public static void assertAllPixelsOfColor(String failMessagePrefix, View view, in assertAllPixelsOfColor() method in DrawingUtils
|