Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java71 int[] rowPixels = new int[viewWidth]; in assertAllPixelsOfColor() local
74 bitmap.getPixels(rowPixels, 0, viewWidth, 0, row, viewWidth, 1); in assertAllPixelsOfColor()
78 int actualPixelColor = rowPixels[column]; in assertAllPixelsOfColor()
79 if (rowPixels[column] != expectedPixelColor) { in assertAllPixelsOfColor()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java216 final int[] rowPixels = new int[bitmapWidth]; in assertAllPixelsOfColor() local
224 bitmap.getPixels(rowPixels, 0, bitmapWidth, 0, row, bitmapWidth, 1); in assertAllPixelsOfColor()
226 @ColorInt int colorAtCurrPixel = rowPixels[column]; in assertAllPixelsOfColor()