Searched refs:ideal (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | ErrorCalculator.java | 72 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 …]
|
D | errorCalculator.rs | 8 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/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/ |
D | VectorDrawableTest.java | 243 private void compareImages(Bitmap ideal, Bitmap given, String filename) { in compareImages() argument 244 int idealWidth = ideal.getWidth(); in compareImages() 245 int idealHeight = ideal.getHeight(); in compareImages() 254 int idealColor = ideal.getPixel(x, y); in compareImages()
|
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
D | AnimatedVectorDrawableTest.java | 213 private void compareImages(Bitmap ideal, Bitmap given, String filename) { in compareImages() argument 214 int idealWidth = ideal.getWidth(); in compareImages() 215 int idealHeight = ideal.getHeight(); in compareImages() 224 int idealColor = ideal.getPixel(x, y); in compareImages()
|
/frameworks/base/tools/orientationplot/ |
D | README.txt | 67 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).
|