/frameworks/base/core/jni/android/graphics/ |
PathEffect.cpp | 52 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); local 53 SkASSERT(shape != NULL); 54 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase,
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathDashPathEffectTest.java | 48 PathDashPathEffect effect = new PathDashPathEffect(shape(), ADVANCE, 0, 86 private static Path shape() { method in class:PathDashPathEffectTest
|
/external/skia/gm/ |
nested.cpp | 49 static void AddShape(SkPath* path, const SkRect& rect, Shapes shape, SkPath::Direction dir) { 50 switch (shape) {
|
/external/skia/src/gpu/ops/ |
GrTessellatingPathRenderer.cpp | 168 const GrShape& shape, 173 return Helper::FactoryHelper<TessellatingPathOp>(std::move(paint), shape, viewMatrix, 189 const GrShape& shape, 197 , fShape(shape) 202 viewMatrix.mapRect(&devBounds, shape.bounds()); 203 if (shape.inverseFilled()) { 395 GrShape shape(path, style); 396 return TessellatingPathOp::Make(std::move(paint), shape, viewMatrix, devClipBounds, aaType,
|
GrDefaultPathRenderer.cpp | 33 static inline bool single_pass_shape(const GrShape& shape) { 38 if (shape.inverseFilled()) { 44 if (shape.style().isSimpleFill()) { 45 return shape.knownToBeConvex(); 52 GrDefaultPathRenderer::onGetStencilSupport(const GrShape& shape) const { 53 if (single_pass_shape(shape)) { 478 const GrShape& shape, 482 shape.asPath(&path); 487 if (IsStrokeHairlineOrEquivalent(shape.style(), viewMatrix, &hairlineCoverage)) { 491 SkASSERT(shape.style().isSimpleFill()) [all...] |
GrSmallPathRenderer.cpp | 89 // If the shape has no key then we won't get any reuse. 143 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const GrShape& shape, 148 return Helper::FactoryHelper<SmallPathOp>(std::move(paint), shape, viewMatrix, atlas, 153 SmallPathOp(Helper::MakeArgs helperArgs, GrColor color, const GrShape& shape, 158 SkASSERT(shape.hasUnstyledKey()); 160 this->setTransformedBounds(shape.bounds(), viewMatrix, HasAABloat::kYes, IsZeroArea::kNo); 182 fShapes.emplace_back(Entry{color, shape, translate}); 386 GrDrawOpAtlas* atlas, ShapeData* shapeData, const GrShape& shape, 388 const SkRect& bounds = shape.bounds(); 430 shape.asPath(&path) [all...] |
GrMSAAPathRenderer.cpp | 35 static inline bool single_pass_shape(const GrShape& shape) { 36 if (!shape.inverseFilled()) { 37 return shape.knownToBeConvex(); 42 GrPathRenderer::StencilSupport GrMSAAPathRenderer::onGetStencilSupport(const GrShape& shape) const { 43 if (single_pass_shape(shape)) { 591 const GrShape& shape, 593 SkASSERT(shape.style().isSimpleFill()); 595 shape.asPath(&path); 600 if (single_pass_shape(shape)) { 688 // handled by passing on the original shape and letting the caller compute the stroked shap 697 const GrShape* shape = args.fShape; local [all...] |
/frameworks/ml/nn/tools/test_generator/ |
test_generator.py | 139 def __init__(self, vt = None, shape = None): 141 self.__shape = shape 142 if vt is None or shape is None: 175 # Parse shape 179 shape = [int(x) for x in real_shape.split(",")] 193 # Parse shape 198 shape = [int(x) for x in real_shape.split(",")] 199 nr_elements = reduce((lambda x, y: x*y), shape) 243 def __init__(self, name, vt, shape, increase_next_number=True): 244 Operand.__init__(self, name, Type(vt, shape)) [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug331.go | 35 bug331.go:12: error in shape across RETURN
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug331.go | 35 bug331.go:12: error in shape across RETURN
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 135 * @param shape The shape of the icon in the automatically generated icons, 138 public Image getIcon(String osName, int color, int shape) { 139 String key = Character.toString((char) shape) + Integer.toString(color) + osName; 142 ImageDescriptor id = getImageDescriptor(osName, color, shape); 176 * @param shape The shape of the icon in the automatically generated icons, 179 public ImageDescriptor getImageDescriptor(String osName, int color, int shape) { 180 String key = Character.toString((char) shape) + Integer.toString(color) + osName; 188 id = new LetterImageDescriptor(osName.charAt(0), color, shape); [all...] |
/external/python/cpython2/Modules/_ctypes/ |
stgdict.c | 26 self->shape = NULL; 46 PyMem_Free(self->shape); 61 PyMem_Free(dst->shape); 62 dst->shape = NULL; 85 if (src->shape) { 86 dst->shape = PyMem_Malloc(sizeof(Py_ssize_t) * src->ndim); 87 if (dst->shape == NULL) { 91 memcpy(dst->shape, src->shape, 524 if (dict->shape != NULL) [all...] |
/external/v8/benchmarks/ |
raytrace.js | 64 // flog/shape/baseshape.js 65 // flog/shape/sphere.js 66 // flog/shape/plane.js 415 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {}; 417 Flog.RayTracer.Shape.Sphere = Class.create(); 419 Flog.RayTracer.Shape.Sphere.prototype = { 428 info.shape = this; 465 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {} 524 hitCount: 0, property in class:Flog.RayTracer.IntersectionInfo [all...] |
/external/toolchain-utils/cros_utils/ |
stats.py | 198 ## 99-06-24 ... fixed bug(?) in attest_ind (n1=a.shape[0]) [all...] |
pstat.py | 745 if len(source.shape) == 1: 747 source = N.resize(source, [source.shape[0], width]) 749 width = source.shape[1] 751 if len(addon.shape) == 1: 753 addon = N.resize(addon, [source.shape[0], width]) 755 width = source.shape[1] 757 addon = N.resize(addon, [source.shape[0], addon.shape[1]]) 759 source = N.resize(source, [addon.shape[0], source.shape[1]] [all...] |
/cts/apps/CameraITS/tests/inprog/ |
test_rawstats.py | 39 h,w,_ = mean_image.shape
|
/external/harfbuzz_ng/util/ |
shape-consumer.hh | 61 if (!shaper.shape (font, buffer)) {
|
/external/python/cpython2/Demo/turtle/ |
tdemo_colormixer.py | 9 self.shape("turtle")
|
tdemo_two_canvases.py | 32 t.shape("turtle")
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
ElementDescriptor.java | 256 int shape = hasChildren() ? IconFactory.SHAPE_RECT local 267 Image icon = factory.getIcon(name, color, shape); 289 int shape = hasChildren() ? IconFactory.SHAPE_RECT : IconFactory.SHAPE_CIRCLE; local 290 ImageDescriptor id = factory.getImageDescriptor(mXmlName, color, shape);
|
/cts/tests/tests/rsblas/assets/ |
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...] |
/external/gemmlowp/meta/generators/ |
transform_kernels_common.py | 574 for shape in shapes: 575 requantize.SpecializeTransform1DKernel('int32_t', 'uint8_t', shape[0], 576 shape[1]) 578 for shape in shapes: 579 quantize.SpecializeTransform1DKernel('float', 'uint8_t', shape[0], shape[1]) 581 for shape in shapes: 582 dequantize.SpecializeTransform1DKernel('uint8_t', 'float', shape[0], 583 shape[1]) 585 for shape in shapes [all...] |
/external/skia/src/gpu/ |
GrClipStackClip.cpp | 115 GrShape shape(path, GrStyle::SimpleFill()); 119 canDrawArgs.fShape = &shape; 473 GrShape shape(clipPath, GrStyle::SimpleFill()); 474 helper.drawShape(shape, SkRegion::kReplace_Op, aa, 0x00); 485 GrShape shape(path, GrStyle::SimpleFill()); 486 helper.drawShape(shape, (SkRegion::Op)op, aa, 0xFF);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
UserGridView.java | 271 GradientDrawable shape = new GradientDrawable(); local 272 shape.setShape(GradientDrawable.RADIAL_GRADIENT); 273 shape.setGradientRadius(1.0f); 274 shape.setColor(getContext().getColor(R.color.car_user_switcher_no_user_image_bgcolor)); 275 shape.setBounds(0, 0, mPodImageAvatarWidth, mPodImageAvatarHeight); 276 shape.draw(canvas);
|
/cts/apps/CameraITS/tests/scene1/ |
test_crop_regions.py | 88 wtest = min(tile_full.shape[1], aw) 89 htest = min(tile_full.shape[0], ah)
|