Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DShapeTest.java79 Shape shape = new MockShape(); in testClone() local
80 shape.resize(100f, 200f); in testClone()
81 Shape clonedShape = shape.clone(); in testClone()
82 assertEquals(100f, shape.getWidth()); in testClone()
83 assertEquals(200f, shape.getHeight()); in testClone()
85 assertNotSame(shape, clonedShape); in testClone()
86 assertEquals(shape.getWidth(), clonedShape.getWidth()); in testClone()
87 assertEquals(shape.getHeight(), clonedShape.getHeight()); in testClone()
91 Shape shape = new MockShape(); in testHasAlpha() local
92 assertTrue(shape.hasAlpha()); in testHasAlpha()
[all …]
/cts/apps/CameraITS/tests/scene1/
Dtest_crop_region_raw.py116 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]
Dtest_yuv_jpeg_all.py65 assert(img.shape[0] == size[1])
66 assert(img.shape[1] == size[0])
67 assert(img.shape[2] == 3)
Dtest_crop_regions.py88 wtest = min(tile_full.shape[1], aw)
89 htest = min(tile_full.shape[0], ah)
/cts/apps/CameraITS/pymodules/its/
Dimage.py116 if img.shape[1] % 5 != 0:
118 w = img.shape[1]*4/5
119 h = img.shape[0]
166 if img.shape[1] % 3 != 0:
168 w = img.shape[1]*2/3
169 h = img.shape[0]
232 img = numpy.ndarray(shape=(h*w,), dtype='<u2',
368 h,w = r_plane.shape[:2]
418 if len(a.shape) == 3 and a.shape[2] == 3:
421 elif len(a.shape) == 2 or len(a.shape) == 3 and a.shape[2] == 1:
[all …]
/cts/apps/CameraITS/tests/dng_noise_model/
Ddng_noise_model.py33 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/suite/cts/deviceTests/browserbench/assets/octane/
Draytrace.js428 info.shape = this;
487 info.shape = this;
525 shape: null, property in Flog.RayTracer.IntersectionInfo
686 var shape = scene.shapes[i];
688 if(shape != exclude){
689 var info = shape.intersect(ray);
713 var shininess = Math.pow(10, info.shape.material.gloss + 1);
744 if(this.options.renderReflections && info.shape.material.reflection > 0)
747 var refl = this.testIntersection(reflectionRay, scene, info.shape);
758 info.shape.material.reflection
[all …]
Dbox2d.js185 …rototype.CreateFixture2=function(a,c){if(c===undefined)c=0;var g=new aa;g.shape=a;g.density=c;retu…
225 this.m_isSensor=g.isSensor;this.m_shape=g.shape.Copy();this.m_density=g.density};S.prototype.Destro…
226 …his.filter=new N};aa.prototype.b2FixtureDef=function(){this.userData=this.shape=null;this.friction…
497 var shape = new PolygonShape();
498 shape.SetAsEdge(new Vec2(-40.0, 0), new Vec2(40.0, 0));
502 fd.shape = shape;
508 var shape = new PolygonShape();
509 shape.SetAsBox(a, a);
522 fd.shape = shape;
/cts/tests/tests/renderscript/assets/
Dblas_gen.py29 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/
DPathDashPathEffectTest.java42 PathDashPathEffect effect = new PathDashPathEffect(shape(), ADVANCE, 0, in testPathDashPathEffect()
80 private static Path shape() { in shape() method in PathDashPathEffectTest
/cts/apps/CameraITS/tests/
Dtutorial.py135 print "RGB image dimensions:", rgbimg.shape
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DShapeDrawableTest.java254 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { in onDraw() argument
255 super.onDraw(shape, canvas, paint); in onDraw()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex9076 public void shape(
9081 public void shape(