Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 1960) sorted by relevance

12345678910>>...79

/cts/tests/tests/widget/src/android/widget/cts/
DFrameLayout_LayoutParamsTest.java91 FrameLayout.LayoutParams copy; in testCopyConstructor() local
101 copy = new FrameLayout.LayoutParams(fllp); in testCopyConstructor()
102 assertEquals("Width", fllp.width, copy.width); in testCopyConstructor()
103 assertEquals("Height", fllp.height, copy.height); in testCopyConstructor()
104 assertEquals("Gravity", fllp.gravity, copy.gravity); in testCopyConstructor()
105 assertEquals("Left margin", fllp.leftMargin, copy.leftMargin); in testCopyConstructor()
106 assertEquals("Top margin", fllp.topMargin, copy.topMargin); in testCopyConstructor()
107 assertEquals("Right margin", fllp.rightMargin, copy.rightMargin); in testCopyConstructor()
108 assertEquals("Bottom margin", fllp.bottomMargin, copy.bottomMargin); in testCopyConstructor()
117 copy = new FrameLayout.LayoutParams(mlp); in testCopyConstructor()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRGBAF16Test.java83 Bitmap copy = Bitmap.createBitmap(mOpaqueBitmap); in testCopy() local
84 assertNotNull(copy); in testCopy()
85 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy()
86 assertFalse(copy.hasAlpha()); in testCopy()
88 copy = Bitmap.createBitmap(mTransparentBitmap); in testCopy()
89 assertNotNull(copy); in testCopy()
90 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy()
91 assertTrue(copy.hasAlpha()); in testCopy()
148 Bitmap b = mask.copy(Config.RGBA_F16, false); in testCopyFromA8()
DOutlineTest.java52 Outline copy = new Outline(orig);
53 assertEquals(0.5f, copy.getAlpha(), 0.0f);
56 copy.getRect(copyRect);
86 Outline copy = new Outline();
87 copy.set(orig);
88 assertEquals(0.5f, copy.getAlpha(), 0.0f);
91 copy.getRect(copyRect);
DVulkanPreTransformTest.java103 SynchronousPixelCopy copy = new SynchronousPixelCopy(); in takeScreenshot() local
107 copy.request((SurfaceView) sActivity.findViewById(R.id.surfaceview), srcRect, dest); in takeScreenshot()
/cts/tools/dasm/src/java_cup/
Dterminal_set.java172 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/tests/tests/renderscript/src/android/renderscript/cts/
Dget_allocation.rs8 int __attribute__((kernel)) copy(int in) {
14 rsForEach(copy, alloc_in, alloc_out);
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java695 PointerCoords copy = new PointerCoords(coords); in testPointerCoordsCopyConstructor() local
696 assertEquals(1f, copy.x, 0.0f); in testPointerCoordsCopyConstructor()
697 assertEquals(2f, copy.y, 0.0f); in testPointerCoordsCopyConstructor()
698 assertEquals(3f, copy.pressure, 0.0f); in testPointerCoordsCopyConstructor()
699 assertEquals(4f, copy.size, 0.0f); in testPointerCoordsCopyConstructor()
700 assertEquals(5f, copy.touchMajor, 0.0f); in testPointerCoordsCopyConstructor()
701 assertEquals(6f, copy.touchMinor, 0.0f); in testPointerCoordsCopyConstructor()
702 assertEquals(7f, copy.toolMajor, 0.0f); in testPointerCoordsCopyConstructor()
703 assertEquals(8f, copy.toolMinor, 0.0f); in testPointerCoordsCopyConstructor()
704 assertEquals(9f, copy.orientation, 0.0f); in testPointerCoordsCopyConstructor()
[all …]
/cts/tests/tests/bionic/
DAndroid.mk50 include $(LOCAL_PATH)/Android.build.copy.libs.mk
54 include $(LOCAL_PATH)/Android.build.copy.libs.mk
/cts/tests/signature/api-check/
DAndroid.mk57 $(eval $(call copy-one-file,$(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST),$(LOCAL_BUILT_MODULE)))
66 $(eval $(call copy-one-file,$(INTERNAL_PLATFORM_HIDDENAPI_DARK_GREYLIST),$(LOCAL_BUILT_MODULE)))
/cts/tests/openglperf2/jni/graphics/
DVector2D.h21 Vector2D copy();
DVector2D.cpp26 Vector2D Vector2D::copy() { in copy() function in Vector2D
/cts/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp37 Vector2D tmp = mPosition.copy(); in flock()
70 Vector2D desired = cohesion.copy(); in flock()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAbstractAutoFillActivity.java93 final SynchronousPixelCopy copy = new SynchronousPixelCopy(); in takeScreenshot() local
94 final int copyResult = copy.request(getWindow(), srcRect, dest); in takeScreenshot()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DVectorDrawableScaleTest.java98 SynchronousPixelCopy copy = new SynchronousPixelCopy(); in takeScreenshot() local
101 int copyResult = copy.request(mActivity.getWindow(), srcRect, dest); in takeScreenshot()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java193 assertNull(b.copy(Bitmap.Config.HARDWARE, false)); in testBitmapConfigFromA8()
304 Bitmap hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false); in testHardwareExtractAlpha()
323 Bitmap copy = bitmap.copy(to, false); in testBitmapCopy() local
324 assertNotNull(copy); in testBitmapCopy()
325 assertEquals(to, copy.getConfig()); in testBitmapCopy()
326 canvas.drawBitmap(copy, 0, 0, null); in testBitmapCopy()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java357 ByteBuffer copy = audioBuffer.duplicate(); in read() local
358 copy.position(0).limit(bytes); // read places data at the start of the buffer. in read()
359 Assert.assertEquals(bytes, mTrack.write(copy, bytes, AudioTrack.WRITE_BLOCKING)); in read()
374 ByteBuffer copy = audioBuffer.duplicate(); in read() local
375 copy.position(0).limit(bytes); // read places data at the start of the buffer. in read()
376 Assert.assertEquals(bytes, mTrack.write(copy, bytes, AudioTrack.WRITE_BLOCKING)); in read()
/cts/hostsidetests/security/securityPatch/CVE-2016-2504/
DAndroid.mk38 $(copy-file-to-target)
/cts/build/
Dcompatibility_test_suite.mk52 $(eval $(call copy-one-file,$(LOCAL_PATH)/DynamicConfig.xml,$(dynamic_config_local)))
/cts/tests/tests/content/
Dfonts_readme.txt7 You may obtain a copy of the License at
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py32 return cv2.resize(img.copy(), dim, interpolation=cv2.INTER_AREA)
38 img_gray = img.copy()
41 img_gray = img[:, :, 0].copy()
238 img = numpy.array(input_img, copy=True)
/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustAndVerify.java200 File copy = File.createTempFile("tmp", ".pdf", getActivity().getFilesDir()); in adjustPageRangeAndVerifyPages()
201 Log.i(LOG_TAG, "File is " + copy); in adjustPageRangeAndVerifyPages()
204 FileOutputStream out = new FileOutputStream(copy)) { in adjustPageRangeAndVerifyPages()
221 try (PdfRenderer renderer = new PdfRenderer(ParcelFileDescriptor.open(copy, in adjustPageRangeAndVerifyPages()
/cts/tests/tests/transition/src/android/transition/cts/
DFadeTest.java151 Bitmap copy = bitmap.copy(Bitmap.Config.ARGB_8888, false); in testFadeOutTransition()
152 Bitmap expected = redSquareBitmap.copy(Bitmap.Config.ARGB_8888, false); in testFadeOutTransition()
153 verifySimilar(expected, copy, 0.95); in testFadeOutTransition()
/cts/tests/tests/graphics/assets/shaders/
Dtri.vert6 * You may obtain a copy of the License at
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DT_invoke_super_16.d5 ; You may obtain a copy of the License at
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/
DTestAbstractClass.d5 ; You may obtain a copy of the License at

12345678910>>...79