/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | set_object.rs | 10 rs_allocation dst; 11 rsSetObject(&dst,in->allocation); 12 *out = ( dst.p == in->allocation.p ? 1 : 0 ); 21 rs_element dst; 22 rsSetObject(&dst,in->element); 23 *out = ( dst.p == in->element.p ? 1 : 0 ); 32 rs_sampler dst; 33 rsSetObject(&dst,in->sampler); 34 *out = ( dst.p == in->sampler.p ? 1 : 0 ); 43 rs_script dst; [all …]
|
D | ImageProcessingTest.java | 118 Allocation dst = creatAllocation(w, h); in testBlend() local 128 dst.copyFromUnchecked(dstData); in testBlend() 132 mBlend.forEachSrc(src, dst); in testBlend() 135 mBlend.forEachDst(src, dst); in testBlend() 138 mBlend.forEachSrcOver(src, dst); in testBlend() 141 mBlend.forEachDstOver(src, dst); in testBlend() 144 mBlend.forEachSrcIn(src, dst); in testBlend() 147 mBlend.forEachDstIn(src, dst); in testBlend() 150 mBlend.forEachSrcOut(src, dst); in testBlend() 153 mBlend.forEachDstOut(src, dst); in testBlend() [all …]
|
D | AllocationTest.java | 300 float src[], dst[]; in helperFloatCopy() local 302 dst = new float[nElems]; in helperFloatCopy() 305 dst[offset + i] = -1.0f; in helperFloatCopy() 314 A.copyTo(dst); in helperFloatCopy() 317 assertEquals(dst[offset + i], src[i]); in helperFloatCopy() 326 byte src[], dst[]; in helperByteCopy() 328 dst = new byte[nElems]; in helperByteCopy() 331 dst[offset + i] = -1; in helperByteCopy() 340 A.copyTo(dst); in helperByteCopy() 343 assertEquals(dst[offset + i], src[i]); in helperByteCopy() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MatrixTest.java | 356 float[] dst = new float[9]; in testSetPolyToPoly() local 357 dst[0] = 200f; in testSetPolyToPoly() 358 dst[1] = 300f; in testSetPolyToPoly() 359 assertTrue(mMatrix.setPolyToPoly(src, 0, dst, 0, 1)); in testSetPolyToPoly() 362 mMatrix.setPolyToPoly(src, 0, dst, 0, 5); in testSetPolyToPoly() 383 float[] dst = new float[9]; in testMapPoints2() local 384 dst[0] = 100f; in testMapPoints2() 387 mMatrix.mapPoints(dst, src); in testMapPoints2() 388 assertEquals(dst[0], 200f, 0f); in testMapPoints2() 398 float[] dst = new float[9]; in testMapPointsWithIndices() local [all …]
|
D | PaintFlagsDrawFilterTest.java | 134 Bitmap dst = Bitmap.createBitmap(kWidth * kScale, kHeight * kScale, Config.ARGB_8888); in testPaintFlagsDrawFilter2() local 135 Canvas canvas = new Canvas(dst); in testPaintFlagsDrawFilter2() 142 verifyContainsOnlyBlackAndWhite(dst); in testPaintFlagsDrawFilter2() 148 verifyContainsNonBW(dst); in testPaintFlagsDrawFilter2() 156 verifyContainsOnlyBlackAndWhite(dst); in testPaintFlagsDrawFilter2() 163 verifyContainsNonBW(dst); in testPaintFlagsDrawFilter2()
|
D | PathMeasureTest.java | 131 Path dst = new Path(); in testGetSegment() local 132 assertTrue(mPathMeasure.getSegment(0, mPathMeasure.getLength(), dst, true)); in testGetSegment() 133 assertFalse(mPathMeasure.getSegment(mPathMeasure.getLength(), 0, dst, true)); in testGetSegment() local
|
D | RegionTest.java | 1446 Region dst = new Region(); in testTranslate2() local 1450 mRegion.translate(10, 10, dst); in testTranslate2() 1453 assertNotSame(rect1, dst.getBounds()); in testTranslate2() 1454 assertEquals(rect2, dst.getBounds()); in testTranslate2() 1467 Region dst = Region.CREATOR.createFromParcel(p); in testWriteToParcel() local 1468 assertTrue(dst.isEmpty()); in testWriteToParcel() 1477 dst = Region.CREATOR.createFromParcel(p); in testWriteToParcel() 1478 assertEquals(oriRect.top, dst.getBounds().top); in testWriteToParcel() 1479 assertEquals(oriRect.left, dst.getBounds().left); in testWriteToParcel() 1480 assertEquals(oriRect.bottom, dst.getBounds().bottom); in testWriteToParcel() [all …]
|
D | BitmapColorSpaceTest.java | 296 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifyGetPixel() local 297 b.copyPixelsToBuffer(dst); in verifyGetPixel() 298 dst.rewind(); in verifyGetPixel() 301 assertEquals(rawColor, dst.asIntBuffer().get()); in verifyGetPixel() 375 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifySetPixel() local 376 b.copyPixelsToBuffer(dst); in verifySetPixel() 377 dst.rewind(); in verifySetPixel() 379 assertEquals(expectedColor, dst.asIntBuffer().get()); in verifySetPixel() 417 ByteBuffer dst = ByteBuffer.allocate(b.getByteCount()); in verifySetPixels() local 418 b.copyPixelsToBuffer(dst); in verifySetPixels() [all …]
|
D | PathTest.java | 144 Path dst = new Path(); in testTransform1() local 146 path.transform(new Matrix(), dst); in testTransform1() 147 assertFalse(dst.isEmpty()); in testTransform1() 378 Path dst = new Path(); in testOffset1() local 379 path.offset(XCOORD, YCOORD, dst); in testOffset1() 380 assertFalse(dst.isEmpty()); in testOffset1()
|
D | BitmapTest.java | 131 for (Config dst : supportedConfigs) { in testCopyConfigs() 134 Bitmap dstBitmap = srcBitmap.copy(dst, false); in testCopyConfigs() 135 assertNotNull("Should support copying from " + src + " to " + dst, in testCopyConfigs() 137 if (Config.ALPHA_8 == dst || Config.ALPHA_8 == src) { in testCopyConfigs() 140 + dst, Color.BLACK, dstBitmap.getPixel(0, 0)); in testCopyConfigs() 143 + dst, Color.WHITE, dstBitmap.getPixel(0, 0)); in testCopyConfigs() 315 Bitmap dst = Bitmap.createBitmap(src, 0, 0, 2, 2, null, false); in testCreateBitmap_matrix() local 316 verify2x2BitmapContents(colorArray, dst); in testCreateBitmap_matrix() 320 dst = Bitmap.createBitmap(src, 0, 0, 2, 2, matrix, false); in testCreateBitmap_matrix() 321 verify2x2BitmapContents(colorArray, dst); in testCreateBitmap_matrix() [all …]
|
D | YuvImageTest.java | 213 Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in generateTestBitmaps() local 214 Canvas c = new Canvas(dst); in generateTestBitmaps() 220 mTestBitmaps[0] = dst; in generateTestBitmaps()
|
D | CanvasTest.java | 1646 final RectF dst = new RectF(0, 0, 10, 31); in testDrawPicture2() local 1650 mCanvas.drawPicture(p, dst); in testDrawPicture2() 1653 mCanvas.drawPicture(p, dst); in testDrawPicture2() 1658 final Rect dst = new Rect(0, 10, 30, 0); in testDrawPicture3() local 1662 mCanvas.drawPicture(p, dst); in testDrawPicture3() 1665 mCanvas.drawPicture(p, dst); in testDrawPicture3()
|
D | BitmapRegionDecoderTest.java | 662 Rect dst = new Rect(0, 0, rect.width(), rect.height()); in cropBitmap() local 663 canvas.drawBitmap(wholeImage, rect, dst, null); in cropBitmap()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | WideGamutBitmapVerifier.java | 27 ByteBuffer dst = ByteBuffer.allocateDirect(bitmap.getAllocationByteCount()); in verify() local 28 bitmap.copyPixelsToBuffer(dst); in verify() 29 dst.rewind(); in verify() 30 dst.order(ByteOrder.LITTLE_ENDIAN); in verify() 34 return verify(dst, 0, bitmap.getRowBytes(), width, height); in verify()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_allocation.cpp | 164 T* dst = new T[arrLen]; in helperCopy1D() local 168 dst[iOffset + i] = (T)(-1); in helperCopy1D() 176 alloc->copy1DTo(dst); in helperCopy1D() 179 if (dst[iOffset + i] != src[i]) { in helperCopy1D() 186 delete[] dst; in helperCopy1D() 197 float *src, *dst; in helperFloatAllocationCopy1D() local 199 dst = new float[cellCount]; in helperFloatAllocationCopy1D() 202 dst[i] = -1.0f; in helperFloatAllocationCopy1D() 209 dstA->copy1DTo(dst); in helperFloatAllocationCopy1D() 212 if (dst[offset + i] != src[offset + i]) { in helperFloatAllocationCopy1D() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VpxCodecTestBase.java | 375 byte[] dst = new byte[width * height * 3 / 2]; in PackYUV420() 378 System.arraycopy(src, i * stride, dst, i * width, width); in PackYUV420() 387 dst, u_dst_offset + i * (width / 2), width / 2); in PackYUV420() 389 dst, v_dst_offset + i * (width / 2), width / 2); in PackYUV420() 391 return dst; in PackYUV420() 396 byte[] dst, int dstByteOffset, int dstWidth, int dstHeight) { in imageUpscale1To2() argument 407 dst[dstOffset0++] = (byte)pixel00; in imageUpscale1To2() 408 dst[dstOffset0++] = (byte)((pixel00 + pixel01 + 1) / 2); in imageUpscale1To2() 409 dst[dstOffset1++] = (byte)((pixel00 + pixel10 + 1) / 2); in imageUpscale1To2() 410 dst[dstOffset1++] = (byte)((pixel00 + pixel01 + pixel10 + pixel11 + 2) / 4); in imageUpscale1To2() [all …]
|
D | NativeDecoderTest.java | 414 static void addSampleData(ArrayList<Integer> dst, in addSampleData() argument 417 Log.i("@@@", "addsample " + dst.size() + "/" + size); in addSampleData() 428 dst.add( (int) (sum & 0xffffffff)); in addSampleData()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | BurstCaptureRawTest.java | 619 private void copyBurstRequetBuilder(CaptureRequest.Builder dst, CaptureRequest.Builder src) in copyBurstRequetBuilder() argument 621 dst.set(CaptureRequest.CONTROL_AE_MODE, src.get(CaptureRequest.CONTROL_AE_MODE)); in copyBurstRequetBuilder() 622 dst.set(CaptureRequest.CONTROL_AWB_MODE, src.get(CaptureRequest.CONTROL_AWB_MODE)); in copyBurstRequetBuilder() 623 dst.set(CaptureRequest.NOISE_REDUCTION_MODE, src.get(CaptureRequest.NOISE_REDUCTION_MODE)); in copyBurstRequetBuilder() 624 dst.set(CaptureRequest.EDGE_MODE, src.get(CaptureRequest.EDGE_MODE)); in copyBurstRequetBuilder() 625 dst.set(CaptureRequest.SENSOR_FRAME_DURATION, in copyBurstRequetBuilder() 627 dst.set(CaptureRequest.SENSOR_EXPOSURE_TIME, src.get(CaptureRequest.SENSOR_EXPOSURE_TIME)); in copyBurstRequetBuilder() 628 dst.set(CaptureRequest.SENSOR_SENSITIVITY, src.get(CaptureRequest.SENSOR_SENSITIVITY)); in copyBurstRequetBuilder()
|
D | NativeCameraDeviceTest.java | 89 private static native boolean testCameraDeviceSharedOutputUpdate(Surface src, Surface dst); in testCameraDeviceSharedOutputUpdate() argument
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_BasicVulkanGpuTest.cpp | 107 uint8_t *dst = bufferAddr; in verifyBasicBufferImport() local 110 uint8_t *target = dst + ((y * hwbDesc.stride * formatDesc.pixelWidth) + in verifyBasicBufferImport()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 449 ByteBuffer dst = ByteBuffer.allocateDirect(bitmap.getAllocationByteCount()); in testWideGamutWindowProducerCopyToRGBA16F() local 450 bitmap.copyPixelsToBuffer(dst); in testWideGamutWindowProducerCopyToRGBA16F() 451 dst.rewind(); in testWideGamutWindowProducerCopyToRGBA16F() 452 dst.order(ByteOrder.LITTLE_ENDIAN); in testWideGamutWindowProducerCopyToRGBA16F() 455 assertEqualsRgba16f("Top left", bitmap, 32, 32, dst, 1.36f, -0.52f, -0.09f, 1.0f); in testWideGamutWindowProducerCopyToRGBA16F() 457 assertEqualsRgba16f("Top right", bitmap, 96, 32, dst, -0.87f, 1.10f, -0.43f, 1.0f); in testWideGamutWindowProducerCopyToRGBA16F() 459 assertEqualsRgba16f("Bottom left", bitmap, 32, 96, dst, -0.59f, -0.04f, 1.07f, 1.0f); in testWideGamutWindowProducerCopyToRGBA16F() 461 assertEqualsRgba16f("Bottom right", bitmap, 96, 96, dst, 1.12f, 1.00f, -0.44f, 1.0f); in testWideGamutWindowProducerCopyToRGBA16F() 576 ByteBuffer dst, float r, float g, float b, float a) { in assertEqualsRgba16f() argument 578 short cR = dst.getShort(index); in assertEqualsRgba16f() [all …]
|
/cts/tests/tests/net/jni/ |
D | NativeMultinetworkJni.c | 95 void sockaddr_ntop(const struct sockaddr *sa, socklen_t salen, char *dst, const size_t size) { in sockaddr_ntop() argument 112 strlcpy(dst, buf, size); in sockaddr_ntop()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 304 jint *dst = env->GetIntArrayElements(ret, &isCopy); in testExtractor() local 306 dst[i] = data[i]; in testExtractor() 308 env->ReleaseIntArrayElements(ret, dst, 0); in testExtractor() 604 jint *dst = org; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local 610 *dst++ = data[j]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1845 public static void imageCopy(Image src, Image dst) { in imageCopy() argument 1846 if (src == null || dst == null) { in imageCopy() 1849 if (src.getFormat() != dst.getFormat()) { in imageCopy() 1853 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy() 1861 Plane[] dstPlanes = dst.getPlanes(); in imageCopy()
|