Home
last modified time | relevance | path

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

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java72 public float calcErrorRS(Bitmap ideal, Bitmap given) { in calcErrorRS() argument
77 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal, in calcErrorRS()
117 public void calcErrorHeatmapRS(Bitmap ideal, Bitmap given, Bitmap output) { in calcErrorHeatmapRS() argument
118 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal, in calcErrorHeatmapRS()
132 public static float calcError(Bitmap ideal, Bitmap given) { in calcError() argument
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()
140 if (inspectRegion(ideal, x, y)) { in calcError()
153 for (int x = 0; x < ideal.getWidth(); x++) { in calcError()
154 for (int y = 0; y < ideal.getHeight(); y++) { in calcError()
[all …]
DerrorCalculator.rscript8 rs_allocation ideal;
17 uchar4 regionColor = rsGetElementAt_uchar4(ideal, x, y);
20 uchar4 testVal = rsGetElementAt_uchar4(ideal, x + j, y + i);
38 uchar4 idealPixel = rsGetElementAt_uchar4(ideal, x, y);
51 float4 idealPixel = rsGetElementAt_float4(ideal, x, y);
/frameworks/base/tools/orientationplot/
DREADME.txt67 angle (say, 45 degrees) is between the current orientation's ideal angle
68 (say, 0 degrees) and an adjacent orientation's ideal angle (say, 90 degrees).