Home
last modified time | relevance | path

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

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java30 private static final int REGION_SIZE = 8; field in ErrorCalculator
50 mOutputRowRegions = new int[height / REGION_SIZE]; in ErrorCalculator()
53 int[] rowIndices = new int[height / REGION_SIZE]; in ErrorCalculator()
55 rowIndices[i] = i * REGION_SIZE; in ErrorCalculator()
60 mScript.set_REGION_SIZE(REGION_SIZE); in ErrorCalculator()
92 int interestingPixels = Math.max(1, regionCount) * REGION_SIZE * REGION_SIZE; in calcErrorRS()
138 for (int x = 0; x < ideal.getWidth(); x += REGION_SIZE) { in calcError()
139 for (int y = 0; y < ideal.getWidth(); y += REGION_SIZE) { in calcError()
146 int interestingPixels = Math.max(1, interestingRegions) * REGION_SIZE * REGION_SIZE; in calcError()
179 for (int i = 0; i < REGION_SIZE; i++) { in inspectRegion()
[all …]
DerrorCalculator.rs4 int REGION_SIZE;
15 for (int x = 0; x < HEIGHT; x += REGION_SIZE) {
18 for (int i = 0; i < REGION_SIZE && !interestingRegion; i++) {
19 for (int j = 0; j < REGION_SIZE && !interestingRegion; j++) {
32 for (int y = startY; y < startY + REGION_SIZE; y++) {