/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayout_LayoutParamsTest.java | 92 FrameLayout.LayoutParams copy; in testCopyConstructor() local 102 copy = new FrameLayout.LayoutParams(fllp); in testCopyConstructor() 103 assertEquals("Width", fllp.width, copy.width); in testCopyConstructor() 104 assertEquals("Height", fllp.height, copy.height); in testCopyConstructor() 105 assertEquals("Gravity", fllp.gravity, copy.gravity); in testCopyConstructor() 106 assertEquals("Left margin", fllp.leftMargin, copy.leftMargin); in testCopyConstructor() 107 assertEquals("Top margin", fllp.topMargin, copy.topMargin); in testCopyConstructor() 108 assertEquals("Right margin", fllp.rightMargin, copy.rightMargin); in testCopyConstructor() 109 assertEquals("Bottom margin", fllp.bottomMargin, copy.bottomMargin); in testCopyConstructor() 118 copy = new FrameLayout.LayoutParams(mlp); in testCopyConstructor() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRGBAF16Test.java | 87 Bitmap copy = Bitmap.createBitmap(mOpaqueBitmap); in testCopy() local 88 assertNotNull(copy); in testCopy() 89 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy() 90 assertFalse(copy.hasAlpha()); in testCopy() 92 copy = Bitmap.createBitmap(mTransparentBitmap); in testCopy() 93 assertNotNull(copy); in testCopy() 94 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy() 95 assertTrue(copy.hasAlpha()); in testCopy() 152 Bitmap b = mask.copy(Config.RGBA_F16, false); in testCopyFromA8()
|
D | OutlineTest.java | 53 Outline copy = new Outline(orig); 54 assertEquals(0.5f, copy.getAlpha(), 0.0f); 57 copy.getRect(copyRect); 87 Outline copy = new Outline(); 88 copy.set(orig); 89 assertEquals(0.5f, copy.getAlpha(), 0.0f); 92 copy.getRect(copyRect);
|
D | BitmapColorSpaceTest.java | 909 Bitmap copy = b.copy(Bitmap.Config.RGBA_F16, mutable); in copyF16() local 910 assertSame(dstCS[i], copy.getColorSpace()); in copyF16() 922 Bitmap copy = b.copy(config, mutable); in copyF16() local 923 assertSame(srcCS[i], copy.getColorSpace()); in copyF16() 945 Bitmap copy = b.copy(Bitmap.Config.ALPHA_8, false); in copyAlpha8() local 946 assertNotNull(copy); in copyAlpha8() 947 assertNull(copy.getColorSpace()); in copyAlpha8() 949 Bitmap copy2 = copy.copy(srcConfig, false); in copyAlpha8() 973 Bitmap copy = b.copy(Bitmap.Config.ALPHA_8, false); in copyHardwareToAlpha8() local 974 assertNull(copy.getColorSpace()); in copyHardwareToAlpha8() [all …]
|
D | PictureTest.java | 60 Picture copy = new Picture(original); in testSaveRestoreBalance() local 61 verifyBalance(copy); in testSaveRestoreBalance()
|
D | VulkanPreTransformTest.java | 150 SynchronousPixelCopy copy = new SynchronousPixelCopy(); in takeScreenshot() local 154 copy.request((SurfaceView) sActivity.findViewById(R.id.surfaceview), srcRect, dest); in takeScreenshot()
|
/cts/tools/dasm/src/java_cup/ |
D | terminal_set.java | 172 BitSet copy = (BitSet)_elements.clone(); in add() local 178 return !_elements.equals(copy); in add() 192 BitSet copy = (BitSet)other._elements.clone(); in intersects() local 195 copy.xor(this._elements); in intersects() 198 return !copy.equals(other._elements); in intersects()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SystemUpdatePolicyTest.java | 312 final ValidationFailedException copy = in testWriteValidationFailedExceptionToParcel() 315 assertThat(copy).isNotNull(); in testWriteValidationFailedExceptionToParcel() 316 assertThat(e.getErrorCode()).isEqualTo(copy.getErrorCode()); in testWriteValidationFailedExceptionToParcel() 317 assertThat(e.getMessage()).isEqualTo(copy.getMessage()); in testWriteValidationFailedExceptionToParcel() 322 SystemUpdatePolicy copy) { in assertSystemUpdatePoliciesEqual() argument 323 assertThat(policy.getInstallWindowStart()).isEqualTo(copy.getInstallWindowStart()); in assertSystemUpdatePoliciesEqual() 324 assertThat(policy.getInstallWindowEnd()).isEqualTo(copy.getInstallWindowEnd()); in assertSystemUpdatePoliciesEqual() 325 assertFreezePeriodListsEqual(policy.getFreezePeriods(), copy.getFreezePeriods()); in assertSystemUpdatePoliciesEqual() 326 assertThat(policy.getPolicyType()).isEqualTo(copy.getPolicyType()); in assertSystemUpdatePoliciesEqual() 330 List<FreezePeriod> copy) { in assertFreezePeriodListsEqual() argument [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 744 PointerCoords copy = new PointerCoords(coords); in testPointerCoordsCopyConstructor() local 745 assertEquals(1f, copy.x, 0.0f); in testPointerCoordsCopyConstructor() 746 assertEquals(2f, copy.y, 0.0f); in testPointerCoordsCopyConstructor() 747 assertEquals(3f, copy.pressure, 0.0f); in testPointerCoordsCopyConstructor() 748 assertEquals(4f, copy.size, 0.0f); in testPointerCoordsCopyConstructor() 749 assertEquals(5f, copy.touchMajor, 0.0f); in testPointerCoordsCopyConstructor() 750 assertEquals(6f, copy.touchMinor, 0.0f); in testPointerCoordsCopyConstructor() 751 assertEquals(7f, copy.toolMajor, 0.0f); in testPointerCoordsCopyConstructor() 752 assertEquals(8f, copy.toolMinor, 0.0f); in testPointerCoordsCopyConstructor() 753 assertEquals(9f, copy.orientation, 0.0f); in testPointerCoordsCopyConstructor() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 67 FileUtils.copy(in, out); in testCopyByteStream() 75 FileUtils.copy(in, out); in testCopyFileStream() 85 FileUtils.copy(in, out, null, executor, (progress) -> { in testCopyFileStreamListener() 96 FileUtils.copy(in.getFD(), out.getFD()); in testCopyFileDescriptor() 106 FileUtils.copy(in.getFD(), out.getFD(), null, executor, (progress) -> { in testCopyFileDescriptorListener()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | get_allocation.rs | 8 int __attribute__((kernel)) copy(int in) { 14 rsForEach(copy, alloc_in, alloc_out);
|
/cts/tests/tests/bionic/ |
D | Android.mk | 56 include $(LOCAL_PATH)/Android.build.copy.libs.mk 60 include $(LOCAL_PATH)/Android.build.copy.libs.mk
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareBitmapTests.java | 194 assertNull(b.copy(Bitmap.Config.HARDWARE, false)); in testBitmapConfigFromA8() 305 Bitmap hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false); in testHardwareExtractAlpha() 324 Bitmap copy = bitmap.copy(to, false); in testBitmapCopy() local 325 assertNotNull(copy); in testBitmapCopy() 326 assertEquals(to, copy.getConfig()); in testBitmapCopy() 327 canvas.drawBitmap(copy, 0, 0, null); in testBitmapCopy()
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | Boid.cpp | 37 Vector2D tmp = mPosition.copy(); in flock() 70 Vector2D desired = cohesion.copy(); in flock()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractAutoFillActivity.java | 100 final SynchronousPixelCopy copy = new SynchronousPixelCopy(); in takeScreenshot() local 101 final int copyResult = copy.request(getWindow(), srcRect, dest); in takeScreenshot()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.h | 21 Vector2D copy();
|
D | Vector2D.cpp | 26 Vector2D Vector2D::copy() { in copy() function in Vector2D
|
/cts/tests/signature/api-check/ |
D | Android.mk | 26 $(eval $(call copy-one-file,$(INTERNAL_PLATFORM_HIDDENAPI_FLAGS),$(LOCAL_BUILT_MODULE)))
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 531 ByteBuffer copy = audioBuffer.duplicate(); in read() local 532 copy.position(0).limit(bytes); // read places data at the start of the buffer. in read() 533 Assert.assertEquals(bytes, mTrack.write(copy, bytes, AudioTrack.WRITE_BLOCKING)); in read() 548 ByteBuffer copy = audioBuffer.duplicate(); in read() local 549 copy.position(0).limit(bytes); // read places data at the start of the buffer. in read() 550 Assert.assertEquals(bytes, mTrack.write(copy, bytes, AudioTrack.WRITE_BLOCKING)); in read()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | SurfacePixelValidator2.java | 84 .copy(Bitmap.Config.ARGB_8888, false); 95 Bitmap swBitmap = hwBitmap.copy(Bitmap.Config.ARGB_8888, false); in getPixels()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | FadeTest.java | 152 Bitmap copy = bitmap.copy(Bitmap.Config.ARGB_8888, false); in testFadeOutTransition() 153 Bitmap expected = redSquareBitmap.copy(Bitmap.Config.ARGB_8888, false); in testFadeOutTransition() 154 verifySimilar(expected, copy, 0.95); in testFadeOutTransition()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustAndVerify.java | 201 File copy = File.createTempFile("tmp", ".pdf", getActivity().getFilesDir()); in adjustPageRangeAndVerifyPages() 202 Log.i(LOG_TAG, "File is " + copy); in adjustPageRangeAndVerifyPages() 205 FileOutputStream out = new FileOutputStream(copy)) { in adjustPageRangeAndVerifyPages() 222 try (PdfRenderer renderer = new PdfRenderer(ParcelFileDescriptor.open(copy, in adjustPageRangeAndVerifyPages()
|
/cts/apps/CameraITS/pymodules/its/ |
D | cv2image.py | 63 return cv2.resize(img.copy(), dim, interpolation=cv2.INTER_AREA) 69 img_gray = img.copy() 72 img_gray = img[:, :, 0].copy() 274 img = numpy.array(input_img, copy=True)
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_DownloadsTest.java | 130 FileUtils.copy(in, out); in testScannedMediaDownload() 235 android.os.FileUtils.copy(in, out); in testUpdateDownload() 271 android.os.FileUtils.copy(in, out); in testDeleteDownload() 311 android.os.FileUtils.copy(in, out); in testNotifyChange() 341 FileUtils.copy(in, out); in insertImage()
|
/cts/build/ |
D | compatibility_test_suite.mk | 52 $(eval $(call copy-one-file,$(LOCAL_PATH)/DynamicConfig.xml,$(dynamic_config_local)))
|