Searched refs:ideal (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java72 public float calcErrorRS(Bitmap ideal, Bitmap given) { argument
77 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal,
117 public void calcErrorHeatmapRS(Bitmap ideal, Bitmap given, Bitmap output) { argument
118 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal,
132 public static float calcError(Bitmap ideal, Bitmap given) { argument
138 for (int x = 0; x < ideal.getWidth(); x += REGION_SIZE) {
139 for (int y = 0; y < ideal.getWidth(); y += REGION_SIZE) {
140 if (inspectRegion(ideal, x, y)) {
153 for (int x = 0; x < ideal.getWidth(); x++) {
154 for (int y = 0; y < ideal
177 inspectRegion(Bitmap ideal, int x, int y) argument
[all...]
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java235 private void compareImages(Bitmap ideal, Bitmap given, String filename) { argument
236 int idealWidth = ideal.getWidth();
237 int idealHeight = ideal.getHeight();
246 int idealColor = ideal.getPixel(x, y);

Completed in 60 milliseconds