Home
last modified time | relevance | path

Searched refs:colorRectangles (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java86 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); in testOverlayWithOneDrawable() local
87 colorRectangles.add(new Pair<>(new Rect(20, 30, 40, 50), Color.RED)); in testOverlayWithOneDrawable()
89 Color.WHITE, colorRectangles); in testOverlayWithOneDrawable()
106 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); in testAddTheSameDrawableTwice() local
107 colorRectangles.add(new Pair<>(new Rect(20, 30, 40, 50), Color.RED)); in testAddTheSameDrawableTwice()
109 Color.WHITE, colorRectangles); in testAddTheSameDrawableTwice()
125 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); in testRemoveTheSameDrawableTwice() local
126 colorRectangles.add(new Pair<>(new Rect(20, 30, 40, 50), Color.RED)); in testRemoveTheSameDrawableTwice()
128 Color.WHITE, colorRectangles); in testRemoveTheSameDrawableTwice()
153 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); in testOverlayWithNonOverlappingDrawables() local
[all …]
DViewGroupOverlayTest.java106 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); in testOverlayWithOneView() local
107 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); in testOverlayWithOneView()
109 mViewGroupWithOverlay, Color.WHITE, colorRectangles); in testOverlayWithOneView()
135 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); in testOverlayWithNonOverlappingViews() local
136 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); in testOverlayWithNonOverlappingViews()
137 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViews()
138 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); in testOverlayWithNonOverlappingViews()
140 Color.WHITE, colorRectangles); in testOverlayWithNonOverlappingViews()
144 colorRectangles.clear(); in testOverlayWithNonOverlappingViews()
145 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); in testOverlayWithNonOverlappingViews()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java42 int defaultColor, List<Pair<Rect, Integer>> colorRectangles) { in assertAllPixelsOfColor() argument
62 if (colorRectangles != null) { in assertAllPixelsOfColor()
63 for (Pair<Rect, Integer> colorRectangle : colorRectangles) { in assertAllPixelsOfColor()