/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/ |
GraphvizNode.java | 37 private NodeShape shape = NodeShape.BOX; field in class:GraphvizNode 61 return shape; 64 public void setShape(NodeShape shape) { 65 this.shape = shape;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RoundRectShapeTest.java | 112 RoundRectShape shape; local 115 shape = new RoundRectShape(null, null, null); 116 shape.getOutline(outline); 121 shape.resize(100, 100); 122 shape.getOutline(outline); 132 shape = new RoundRectShape(new float[] { 10, 10, 10, 10, 10, 10, 10, 10 }, null, null); 133 shape.getOutline(outline); 138 shape.resize(100, 100); 139 shape.getOutline(outline); 149 shape = new RoundRectShape(new float[] { 10, 10, 0, 0, 0, 0, 0, 0 }, null, null) [all...] |
ArcShapeTest.java | 58 ArcShape shape = new ArcShape(100.0f, 360.0f); local 59 assertEquals(360.0f, shape.getSweepAngle(), 0.0f); 64 ArcShape shape = new ArcShape(100.0f, 360.0f); local 65 assertEquals(100.0f, shape.getStartAngle(), 0.0f); 101 ArcShape shape; local 105 shape = new ArcShape(0.0f, 360.0f); 106 shape.getOutline(outline); 112 ArcShape shape = new ArcShape(0.0f, 360.0f); local 113 ArcShape clone = shape.clone();
|
/external/python/cpython2/Lib/ctypes/test/ |
test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape is not None: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 39 if v.shape: 41 for dim in v.shape: 50 for tp, fmt, shape, itemtp in endian_types: 55 if shape is not None: 56 self.assertEqual(len(v), shape[0] [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape is not None: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 39 if v.shape: 41 for dim in v.shape: 50 for tp, fmt, shape, itemtp in endian_types: 55 if shape is not None: 56 self.assertEqual(len(v), shape[0] [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape is not None: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 39 if v.shape: 41 for dim in v.shape: 50 for tp, fmt, shape, itemtp in endian_types: 55 if shape is not None: 56 self.assertEqual(len(v), shape[0] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape is not None: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 39 if v.shape: 41 for dim in v.shape: 50 for tp, fmt, shape, itemtp in endian_types: 55 if shape is not None: 56 self.assertEqual(len(v), shape[0] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pep3118.py | 23 for tp, fmt, shape, itemtp in native_types: 28 if shape is not None: 29 self.assertEqual(len(v), shape[0]) 33 self.assertEqual(v.shape, shape) 39 if v.shape: 41 for dim in v.shape: 50 for tp, fmt, shape, itemtp in endian_types: 55 if shape is not None: 56 self.assertEqual(len(v), shape[0] [all...] |
/cts/apps/CameraITS/tests/scene4/ |
test_aspect_ratio_and_crop.py | 106 size_raw = img_raw.shape 265 size = img.shape 399 """ Measure the shape for a connected component in the aspect ratio test 409 shape = {"left": np.inf, "right": 0, "top": np.inf, "bottom": 0, 412 if pt[0][0] < shape["left"]: 413 shape["left"] = pt[0][0] 414 if pt[0][0] > shape["right"]: 415 shape["right"] = pt[0][0] 416 if pt[0][1] < shape["top"]: 417 shape["top"] = pt[0][1 [all...] |
/external/trappy/trappy/plotter/css/ |
EventPlot.css | 54 shape-rendering: crispEdges; 58 shape-rendering: crispEdges; 81 shape-rendering: crispEdges;
|
/cts/apps/CameraITS/pymodules/its/ |
cv2image.py | 33 dim = (int(img.shape[1]*scale), int(img.shape[0]*scale)) 87 img_3a.shape[0]) 92 print ' Template height: %dpixels' % template.shape[0] 94 scale_factor = template.shape[0] / chart_pixel_h 126 if len(scene.shape) == 2: 128 elif len(scene.shape) == 3: 129 if scene.shape[2] == 1: 154 h, w = chart.shape 160 wnorm = float((bottom_right[0]) - top_left[0]) / scene.shape[1 [all...] |
/frameworks/base/libs/hwui/ |
PathCache.cpp | 48 static bool compareRoundRects(const PathDescription::Shape::RoundRect& lhs, 49 const PathDescription::Shape::RoundRect& rhs) { 53 static bool compareArcs(const PathDescription::Shape::Arc& lhs, const PathDescription::Shape::Arc& rhs) { 70 // Shape bits should be set to zeroes, because they are used for hash calculation. 71 memset(&shape, 0, sizeof(Shape)); 82 // Shape bits should be set to zeroes, because they are used for hash calculation. 83 memset(&shape, 0, sizeof(Shape)); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
WeibullDistributionImpl.java | 46 /** The shape parameter. */ 47 private double shape; field in class:WeibullDistributionImpl 68 * Creates weibull distribution with the given shape and scale and a 70 * @param alpha the shape parameter. 78 * Creates weibull distribution with the given shape, scale and inverse 80 * @param alpha the shape parameter. 103 ret = 1.0 - FastMath.exp(-FastMath.pow(x / scale, shape)); 109 * Access the shape parameter. 110 * @return the shape parameter. 113 return shape; [all...] |
/external/skia/tests/ |
DFPathRendererTest.cpp | 42 GrShape shape(path, style); 43 shape = shape.applyStyle(GrStyle::Apply::kPathEffectAndStrokeRec, 1.f); 55 &shape,
|
/frameworks/ml/nn/common/operations/ |
EmbeddingLookup.cpp | 35 const int row_size = value_->shape().dimensions[0]; 39 for (uint32_t i = 0; i < lookup_->shape().dimensions[0]; i++) {
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
neon-suffix-bad.l | 5 [^:]*:6: Error: invalid instruction shape -- `vcvt.f64.s32 d0,s0,#11' 9 [^:]*:12: Error: invalid instruction shape -- `vcvt.f64.s32 d0,s0,#11'
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_median_filter.h | 59 enum vl_median_filter_shape shape);
|
/external/speex/libspeex/ |
cb_search_sse.h | 59 VARDECL(__m128 *shape); 61 ALLOC(shape, subvect_size, __m128); 71 shape[j] = _mm_setr_ps(0.03125*_shape[j], 0.03125*_shape[subvect_size+j], 0.03125*_shape[2*subvect_size+j], 0.03125*_shape[3*subvect_size+j]); 77 resj = _mm_add_ps(resj, _mm_mul_ps(shape[k],r[j-k]));
|
/external/harfbuzz_ng/src/ |
gen-arabic-table.py | 162 shape, items = items[0][1:-1], tuple (int (x, 16) for x in items[1:]) 164 if not shape in ['initial', 'medial', 'isolated', 'final']: 177 ligatures[items][shape] = c 180 # Save shape 187 shapes[items[0]][shape] = c 196 s = [shapes[u][shape] if u in shapes and shape in shapes[u] else 0 197 for shape in ['initial', 'medial', 'final', 'isolated']] 209 for shape in ligatures[pair]: 210 c = ligatures[pair][shape] [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
desktop_frame.h | 57 // Optional shape for the frame. Frames may be shaped e.g. if 59 const DesktopRegion* shape() const { return shape_.get(); } function in class:webrtc::DesktopFrame 60 void set_shape(DesktopRegion* shape) { shape_.reset(shape); }
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLWorld.java | 30 public void addShape(GLShape shape) { 31 mShapeList.add(shape); 32 mIndexCount += shape.getIndexCount(); 56 GLShape shape = iter3.next(); local 57 shape.putIndices(mIndexBuffer);
|
/frameworks/ml/nn/common/operations/internal/ |
types.h | 33 struct Shape; 35 inline Dims<4> convertShapeToDims(const Shape& shape) { 41 if (shape.dimensions.size() == 1) { 42 dims.sizes[0] = (int)getSizeOfDimension(shape, 0); 45 int src = (int)shape.dimensions.size()-i-1; 47 dims.sizes[i] = (int)getSizeOfDimension(shape, src);
|
/cts/apps/CameraITS/tests/scene1/ |
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]
|
/external/jemalloc/test/unit/ |
math.c | 313 * shape=[0.5..3.0] increment=0.5). 360 double shape = pt_gamma_shape[i]; local 361 double ln_gamma_shape = ln_gamma(shape); 364 assert_true(double_eq_rel(pt_gamma(p, shape, 1.0, 376 double shape = 1.0; local 377 double ln_gamma_shape = ln_gamma(shape); 380 pt_gamma(0.5, shape, 1.0, ln_gamma_shape) * 10.0, 381 pt_gamma(0.5, shape, 10.0, ln_gamma_shape), MAX_REL_ERR,
|
/external/skia/src/gpu/ops/ |
GrStencilAndCoverPathRenderer.cpp | 48 static GrPath* get_gr_path(GrResourceProvider* resourceProvider, const GrShape& shape) { 51 GrPath::ComputeKey(shape, &key, &isVolatile); 59 shape.asPath(&skPath); 60 path = resourceProvider->createPath(skPath, shape.style()); 67 shape.asPath(&skPath); 68 SkASSERT(path->isEqualTo(skPath, shape.style()));
|