Home
last modified time | relevance | path

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

/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java88 int imageWidth = Math.min(goldenImage.getWidth(), image.getWidth()); in assertImageSimilar() local
97 int width = 3 * imageWidth; in assertImageSimilar()
106 for (int x = 0; x < imageWidth; x++) { in assertImageSimilar()
110 deltaImage.setRGB(imageWidth + x, y, 0x00808080); in assertImageSimilar()
116 deltaImage.setRGB(imageWidth + x, y, 0x00808080); in assertImageSimilar()
131 deltaImage.setRGB(imageWidth + x, y, newRGB); in assertImageSimilar()
140 long total = imageHeight * imageWidth * 3L * 256L; in assertImageSimilar()
161 g.drawImage(image, 2 * imageWidth, 0, null); in assertImageSimilar()
164 if (imageWidth > 80) { in assertImageSimilar()
167 g.drawString("Actual", 2 * imageWidth + 10, 20); in assertImageSimilar()