/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | ShapeTest.java | 81 Shape shape = new MockShape(); in testClone() local 82 shape.resize(100f, 200f); in testClone() 83 Shape clonedShape = shape.clone(); in testClone() 84 assertEquals(100f, shape.getWidth()); in testClone() 85 assertEquals(200f, shape.getHeight()); in testClone() 87 assertNotSame(shape, clonedShape); in testClone() 88 assertEquals(shape.getWidth(), clonedShape.getWidth()); in testClone() 89 assertEquals(shape.getHeight(), clonedShape.getHeight()); in testClone() 94 Shape shape = new MockShape(); in testHasAlpha() local 95 assertTrue(shape.hasAlpha()); in testHasAlpha() [all …]
|
D | RoundRectShapeTest.java | 101 RoundRectShape shape; in testGetOutline() local 104 shape = new RoundRectShape(null, null, null); in testGetOutline() 105 shape.getOutline(outline); in testGetOutline() 110 shape.resize(100, 100); in testGetOutline() 111 shape.getOutline(outline); in testGetOutline() 121 shape = new RoundRectShape(new float[] { 10, 10, 10, 10, 10, 10, 10, 10 }, null, null); in testGetOutline() 122 shape.getOutline(outline); in testGetOutline() 127 shape.resize(100, 100); in testGetOutline() 128 shape.getOutline(outline); in testGetOutline() 138 shape = new RoundRectShape(new float[] { 10, 10, 0, 0, 0, 0, 0, 0 }, null, null); in testGetOutline() [all …]
|
D | OvalShapeTest.java | 75 OvalShape shape; in testGetOutline() local 78 shape = new OvalShape(); in testGetOutline() 79 shape.getOutline(outline); in testGetOutline() 85 shape.resize(100, 100); in testGetOutline() 86 shape.getOutline(outline); in testGetOutline() 96 shape.resize(100, 200); in testGetOutline() 97 shape.getOutline(outline); in testGetOutline()
|
D | ArcShapeTest.java | 81 ArcShape shape; in testGetOutline() local 85 shape = new ArcShape(0.0f, 360.0f); in testGetOutline() 86 shape.getOutline(outline); in testGetOutline()
|
D | RectShapeTest.java | 104 RectShape shape = new RectShape(); in testGetOutline() local 107 shape.getOutline(outline); in testGetOutline() 113 shape.resize(100, 100); in testGetOutline() 114 shape.getOutline(outline); in testGetOutline()
|
D | PathShapeTest.java | 109 PathShape shape; in testGetOutline() local 113 shape = new PathShape(new Path(), 0, 0); in testGetOutline() 114 shape.getOutline(outline); in testGetOutline()
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_aspect_ratio_and_crop.py | 102 size_raw = img_raw.shape 246 size = img.shape 389 shape = {"left": np.inf, "right": 0, "top": np.inf, "bottom": 0, 392 if pt[0][0] < shape["left"]: 393 shape["left"] = pt[0][0] 394 if pt[0][0] > shape["right"]: 395 shape["right"] = pt[0][0] 396 if pt[0][1] < shape["top"]: 397 shape["top"] = pt[0][1] 398 if pt[0][1] > shape["bottom"]: [all …]
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_crop_region_raw.py | 116 h,w,ch = img.shape 124 xpad = (imgs2["raw_full"].shape[1] - imgs2["yuv_full"].shape[1]) / 2 125 ypad = (imgs2["raw_full"].shape[0] - imgs2["yuv_full"].shape[0]) / 2 126 wyuv = imgs2["yuv_full"].shape[1] 127 hyuv = imgs2["yuv_full"].shape[0]
|
D | test_yuv_jpeg_all.py | 65 assert(img.shape[0] == size[1]) 66 assert(img.shape[1] == size[0]) 67 assert(img.shape[2] == 3)
|
D | test_crop_regions.py | 88 wtest = min(tile_full.shape[1], aw) 89 htest = min(tile_full.shape[0], ah)
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 97 img = numpy.ndarray(shape=(2*h*w*4,), dtype='<f', buffer=cap["data"]) 135 if img.shape[1] % 5 != 0: 137 w = img.shape[1]*4/5 138 h = img.shape[0] 185 if img.shape[1] % 3 != 0: 187 w = img.shape[1]*2/3 188 h = img.shape[0] 251 img = numpy.ndarray(shape=(h*w,), dtype='<u2', 387 h,w = r_plane.shape[:2] 437 if len(a.shape) == 3 and a.shape[2] == 3: [all …]
|
D | device.py | 713 buf_size = numpy.product(buf.shape)
|
/cts/apps/CameraITS/tests/dng_noise_model/ |
D | dng_noise_model.py | 33 tile_rows, tile_cols = a.shape[0]/tile_size, a.shape[1]/tile_size 141 p = p[0:p.shape[0] - p.shape[0]%tile_size, 142 0:p.shape[1] - p.shape[1]%tile_size] 217 a = a/(np.tile(gains, (a.shape[1], 1)).T)
|
/cts/tests/tests/rsblas/assets/ |
D | blas_gen.py | 29 for i in range(1, a.shape[0]): 33 for i in range(0, a.shape[0]-1): 34 for j in range(i+1, a.shape[1]): 39 for i in range(1, a.shape[0]): 45 for i in range(0, a.shape[0]): 47 for i in range(1, a.shape[0]): 53 for i in range(0, a.shape[0]): 54 for j in range(0, a.shape[1]): 100 for i in range(0, a.shape[0]): 101 for j in range(0, a.shape[1]): [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathDashPathEffectTest.java | 42 PathDashPathEffect effect = new PathDashPathEffect(shape(), ADVANCE, 0, in testPathDashPathEffect() 80 private static Path shape() { in shape() method in PathDashPathEffectTest
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | GradientDrawableTest.java | 199 int shape; in testSetShape() local 201 shape = GradientDrawable.OVAL; in testSetShape() 202 gradientDrawable.setShape(shape); in testSetShape() 204 shape, gradientDrawable.getShape()); in testSetShape() 206 shape = -1; in testSetShape() 207 gradientDrawable.setShape(shape); in testSetShape() 209 shape, gradientDrawable.getShape()); in testSetShape()
|
D | ShapeDrawableTest.java | 254 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { in onDraw() argument 255 super.onDraw(shape, canvas, paint); in onDraw()
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_rawstats.py | 39 h,w,_ = mean_image.shape
|
/cts/apps/CameraITS/tests/ |
D | tutorial.py | 135 print "RGB image dimensions:", rgbimg.shape
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 9076 public void shape( 9081 public void shape(
|
D | classes.out.dex | 1056 public static final int shape 110304 public static final int shape
|