Home
last modified time | relevance | path

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

12345678910>>...78

/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);
/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/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/renderscript/src/android/renderscript/cts/
Dget_allocation.rs8 int __attribute__((kernel)) copy(int in) {
14 rsForEach(copy, alloc_in, alloc_out);
/cts/tests/tests/bionic/
DAndroid.mk47 include $(LOCAL_PATH)/Android.build.copy.libs.mk
50 include $(LOCAL_PATH)/Android.build.copy.libs.mk
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java108 assertNull(b.copy(Bitmap.Config.HARDWARE, false)); in testBitmapConfigFromA8()
225 Bitmap hwBitmap = bitmap.copy(Bitmap.Config.HARDWARE, false); in testHardwareExtractAlpha()
244 Bitmap copy = bitmap.copy(to, false); in testBitmapCopy() local
245 assertNotNull(copy); in testBitmapCopy()
246 assertEquals(to, copy.getConfig()); in testBitmapCopy()
247 canvas.drawBitmap(copy, 0, 0, null); in testBitmapCopy()
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py27 import copy
34 return cv2.resize(img.copy(), dim, interpolation=cv2.INTER_AREA)
127 scene_gray = scene.copy()
132 scene_gray = cv2.cvtColor(scene.copy(), cv2.COLOR_RGB2GRAY)
/cts/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp37 Vector2D tmp = mPosition.copy(); in flock()
70 Vector2D desired = cohesion.copy(); in flock()
/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/tests/openglperf2/jni/graphics/
DVector2D.h21 Vector2D copy();
DVector2D.cpp26 Vector2D Vector2D::copy() { in copy() function in Vector2D
/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/content/src/android/content/pm/cts/
DApplicationInfoTest.java46 ApplicationInfo copy = new ApplicationInfo(info); in testConstructor() local
47 assertEquals(info.packageName, copy.packageName); in testConstructor()
/cts/tests/tests/print/src/android/print/cts/
DPageRangeAdjustAndVerify.java199 File copy = File.createTempFile("tmp", ".pdf", getActivity().getFilesDir()); in adjustPageRangeAndVerifyPages()
200 Log.i(LOG_TAG, "File is " + copy); in adjustPageRangeAndVerifyPages()
203 FileOutputStream out = new FileOutputStream(copy)) { in adjustPageRangeAndVerifyPages()
220 try (PdfRenderer renderer = new PdfRenderer(ParcelFileDescriptor.open(copy, in adjustPageRangeAndVerifyPages()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DT_invoke_virtual_16.d5 ; You may obtain a copy of the License at
/cts/tests/openglperf2/
DREADME4 in compliance with the License. You may obtain a copy of the License at
/cts/tests/openglperf2/assets/fragment/
Dbasic5 * in compliance with the License. You may obtain a copy of the License at
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface/d/
DT_invoke_interface_18.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
/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/tests/openglperf2/assets/vertex/
Dbasic5 * in compliance with the License. You may obtain a copy of the License at
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DT_invoke_virtual_range_16.d5 ; You may obtain a copy of the License at
/cts/tests/tests/permission/
DREADME5 You may obtain a copy of the License at

12345678910>>...78