HomeSort by relevance Sort by last modified time
    Searched refs:bitmap1 (Results 1 - 18 of 18) sorted by null

  /cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
ImageCompare.java 48 public static double psnr(Bitmap bitmap1, Bitmap bitmap2) {
49 if (bitmap1.getWidth() != bitmap2.getWidth() ||
50 bitmap1.getHeight() != bitmap2.getHeight()) {
54 if (bitmap1.sameAs(bitmap2)) {
60 final int width = bitmap1.getWidth();
61 final int height = bitmap1.getHeight();
67 int pixel1 = bitmap1.getPixel(x, y);
  /external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
image_util_bitmap_impl.py 37 def AreEqual(bitmap1, bitmap2, tolerance, _):
38 return bitmap1.IsEqual(bitmap2, tolerance)
40 def Diff(bitmap1, bitmap2):
41 return bitmap1.Diff(bitmap2)
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapFactoryTest.java 33 Bitmap bitmap1 = Bitmap.createBitmap( local
36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
  /development/samples/devbytes/animation/CrossFading/src/com/example/android/crossfading/
CrossFading.java 49 Bitmap bitmap1 = Bitmap.createBitmap(500, 500, Bitmap.Config.ARGB_8888); local
52 canvas = new Canvas(bitmap1);
56 drawables[1] = new BitmapDrawable(getResources(), bitmap1);
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
BitmapTest.java 82 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); local
83 shadowOf(bitmap1).appendDescription("Bitmap One");
88 Canvas canvas = new Canvas(bitmap1);
91 assertEquals("Bitmap One\nBitmap Two", shadowOf(bitmap1).getDescription());
96 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); local
97 shadowOf(bitmap1).appendDescription("Bitmap One");
102 Canvas canvas = new Canvas(bitmap1);
105 assertEquals("Bitmap One\nBitmap Two transformed by matrix", shadowOf(bitmap1).getDescription());
110 Bitmap bitmap1 = Robolectric.newInstanceOf(Bitmap.class); local
111 shadowOf(bitmap1).appendDescription("Bitmap One")
    [all...]
  /frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
ImageCompare.java 52 public static void compareBitmap(Bitmap bitmap1, Bitmap bitmap2, CompareValue result) {
53 byte[] first = loadBitmapByteArray(bitmap1);
107 Bitmap bitmap1 = BitmapFactory.decodeFile(file_path_1); local
109 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, stream1);
117 int width = bitmap1.getWidth();
118 int height = bitmap1.getHeight();
  /cts/tests/tests/media/src/android/media/cts/
DecodeAccuracyTestBase.java     [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ActivityTestBase.java 160 protected void assertBitmapsAreSimilar(Bitmap bitmap1, Bitmap bitmap2,
165 Allocation idealAllocation = Allocation.createFromBitmap(mRenderScript, bitmap1,
172 bitmap1.getPixels(mSoftwareArray, 0, TEST_WIDTH, 0, 0, TEST_WIDTH, TEST_HEIGHT);
179 BitmapDumper.dumpBitmaps(bitmap1, bitmap2, getName(), this.getClass().getSimpleName(),
  /external/valgrind/drd/
drd_bitmap.c 354 const struct bitmap1* const p1 = &bm2->bm1;
388 const struct bitmap1* const p1 = &bm2->bm1;
441 const struct bitmap1* const p1 = &bm2->bm1;
496 const struct bitmap1* const p1 = &bm2->bm1;
539 const struct bitmap1* p1;
829 const struct bitmap1* const p1 = &bm2->bm1;
1169 const struct bitmap1* bm1l;
1170 const struct bitmap1* bm1r;
    [all...]
drd_bitmap.h 220 /* Functions for manipulating a struct bitmap1. */
225 struct bitmap1
338 struct bitmap1 bm1;
  /device/moto/shamu/camera/QCamera2/HAL/test/
qcamera_test.h 142 SkBitmap * PiPCopyToOneFile(SkBitmap *bitmap0, SkBitmap *bitmap1);
qcamera_test.cpp 253 * @bitmap1 : Decoded image buffer 1
258 SkBitmap *bitmap0, SkBitmap *bitmap1)
267 if (bitmap0 == NULL && bitmap1 == NULL) {
277 size1 = bitmap1->getSize();
285 src = bitmap1;
287 dst = bitmap1;
    [all...]
  /hardware/qcom/camera/QCamera2/HAL/test/
qcamera_test.h 141 SkBitmap * PiPCopyToOneFile(SkBitmap *bitmap0, SkBitmap *bitmap1);
qcamera_test.cpp 218 * @bitmap1 : Decoded image buffer 1
223 SkBitmap *bitmap0, SkBitmap *bitmap1)
232 if (bitmap0 == NULL || bitmap1 == NULL) {
233 ALOGE(" bitmap0 : %p, bitmap1 : %p\n", bitmap0, bitmap1);
243 size1 = bitmap1->getSize();
251 src = bitmap1;
253 dst = bitmap1;
    [all...]
  /external/mesa3d/src/mesa/drivers/common/
meta.c     [all...]
  /art/runtime/gc/
heap.cc     [all...]
heap.h 576 void MarkAllocStack(accounting::SpaceBitmap<kObjectAlignment>* bitmap1,
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java 1302 Bitmap bitmap1 = view.getDrawingCache(); local
    [all...]

Completed in 720 milliseconds