/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayout_LayoutParamsTest.java | 91 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/ |
D | BitmapRGBAF16Test.java | 83 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()
|
D | OutlineTest.java | 52 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/ |
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/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 695 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/ |
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 | 47 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/ |
D | HardwareBitmapTests.java | 108 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/ |
D | cv2image.py | 27 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/ |
D | Boid.cpp | 37 Vector2D tmp = mPosition.copy(); in flock() 70 Vector2D desired = cohesion.copy(); in flock()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 357 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/ |
D | Vector2D.h | 21 Vector2D copy();
|
D | Vector2D.cpp | 26 Vector2D Vector2D::copy() { in copy() function in Vector2D
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | VectorDrawableScaleTest.java | 98 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/ |
D | ApplicationInfoTest.java | 46 ApplicationInfo copy = new ApplicationInfo(info); in testConstructor() local 47 assertEquals(info.packageName, copy.packageName); in testConstructor()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustAndVerify.java | 199 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/ |
D | T_invoke_virtual_16.d | 5 ; You may obtain a copy of the License at
|
/cts/tests/openglperf2/ |
D | README | 4 in compliance with the License. You may obtain a copy of the License at
|
/cts/tests/openglperf2/assets/fragment/ |
D | basic | 5 * 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/ |
D | T_invoke_interface_18.d | 5 ; You may obtain a copy of the License at
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/ |
D | TestAbstractClass.d | 5 ; You may obtain a copy of the License at
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
D | T_invoke_super_16.d | 5 ; You may obtain a copy of the License at
|
/cts/tests/openglperf2/assets/vertex/ |
D | basic | 5 * 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/ |
D | T_invoke_virtual_range_16.d | 5 ; You may obtain a copy of the License at
|
/cts/tests/tests/permission/ |
D | README | 5 You may obtain a copy of the License at
|