/external/skia/src/core/ |
SkDrawProcs.h | 14 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&, 29 SkScalar strokeWidth = paint.getStrokeWidth(); 30 if (0 == strokeWidth) { 39 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
|
SkStrokeRec.cpp | 150 SkScalar strokeWidth) { 151 if (strokeWidth < 0) { // fill 153 } else if (0 == strokeWidth) { 168 return strokeWidth/2 * multiplier;
|
/external/skqp/src/core/ |
SkDrawProcs.h | 14 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&, 29 SkScalar strokeWidth = paint.getStrokeWidth(); 30 if (0 == strokeWidth) { 39 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
|
SkStrokeRec.cpp | 150 SkScalar strokeWidth) { 151 if (strokeWidth < 0) { // fill 153 } else if (0 == strokeWidth) { 168 return strokeWidth/2 * multiplier;
|
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/ |
CircleView.java | 12 private int strokeWidth; 29 strokeWidth = (int)(density/60f); 48 paint.setStrokeWidth(strokeWidth * 2); 51 paint.setStrokeWidth(strokeWidth);
|
FreehandView.java | 27 private int strokeWidth; 43 strokeWidth = (int)(density/60f); 76 if (vDX >= strokeWidth * 5 || vDY >= strokeWidth * 5) { 126 paint.setStrokeWidth(strokeWidth * 2); 129 paint.setStrokeWidth(strokeWidth);
|
/developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 67 int strokeWidth = 24; 72 rectChecked.getPaint().setStrokeWidth(strokeWidth); 73 rectChecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth); 74 rectChecked.setIntrinsicHeight(bitmap.getHeight() + strokeWidth); 82 rectUnchecked.getPaint().setStrokeWidth(strokeWidth); 83 rectUnchecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth); 84 rectUnchecked.setIntrinsicHeight(bitmap.getHeight() + strokeWidth);
|
/developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 67 int strokeWidth = 24; 72 rectChecked.getPaint().setStrokeWidth(strokeWidth); 73 rectChecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth); 74 rectChecked.setIntrinsicHeight(bitmap.getHeight() + strokeWidth); 82 rectUnchecked.getPaint().setStrokeWidth(strokeWidth); 83 rectUnchecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth); 84 rectUnchecked.setIntrinsicHeight(bitmap.getHeight() + strokeWidth);
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
ThumbnailRadioButton.java | 65 int strokeWidth = 24; 70 rectChecked.getPaint().setStrokeWidth(strokeWidth); 71 rectChecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth); 72 rectChecked.setIntrinsicHeight(bitmap.getHeight() + strokeWidth); 80 rectUnchecked.getPaint().setStrokeWidth(strokeWidth); 81 rectUnchecked.setIntrinsicWidth(bitmap.getWidth() + strokeWidth); 82 rectUnchecked.setIntrinsicHeight(bitmap.getHeight() + strokeWidth);
|
/external/skia/gm/ |
glyph_pos.cpp | 24 SkScalar strokeWidth, 28 SkScalar strokeWidth, 35 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 38 drawTestCase(canvas, 3.0f, strokeWidth, strokeStyle); 44 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 51 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 63 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 76 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 82 SkScalar strokeWidth, 87 paint.setStrokeWidth(strokeWidth); [all...] |
stroketext.cpp | 30 SkScalar strokeWidth) { 34 if (strokeWidth > 0) { 42 p.setStrokeWidth(strokeWidth);
|
shadows.cpp | 19 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { 21 if (strokeWidth < 0) { 25 paint->setStrokeWidth(strokeWidth);
|
linepaths.cpp | 18 SkScalar strokeWidth) { 22 paint.setStrokeWidth(strokeWidth);
|
/external/skqp/gm/ |
glyph_pos.cpp | 24 SkScalar strokeWidth, 28 SkScalar strokeWidth, 35 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 38 drawTestCase(canvas, 3.0f, strokeWidth, strokeStyle); 44 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 51 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 63 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 76 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 82 SkScalar strokeWidth, 87 paint.setStrokeWidth(strokeWidth); [all...] |
stroketext.cpp | 30 SkScalar strokeWidth) { 34 if (strokeWidth > 0) { 42 p.setStrokeWidth(strokeWidth);
|
shadows.cpp | 19 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { 21 if (strokeWidth < 0) { 25 paint->setStrokeWidth(strokeWidth);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LivePointerIconButton.java | 57 final int strokeWidth = 4; 58 paint.setStrokeWidth(strokeWidth); 63 final int outerRadius = cursorSize / 2 - strokeWidth;
|
/external/skia/src/gpu/ops/ |
GrAALinearizingConvexPathRenderer.cpp | 65 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth(); 66 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { 69 if (strokeWidth > kMaxStrokeWidth || 127 SkScalar strokeWidth, 134 strokeWidth, style, join, miterLimit, 142 SkScalar strokeWidth, 149 PathData{color, viewMatrix, path, strokeWidth, style, join, miterLimit}); 153 SkScalar w = strokeWidth; 177 "Color: 0x%08x, StrokeWidth: %.2f, Style: %d, Join: %d, " 348 SkScalar strokeWidth = fill ? -1.0f : stroke.getWidth() [all...] |
/external/skqp/src/gpu/ops/ |
GrAALinearizingConvexPathRenderer.cpp | 65 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth(); 66 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { 69 if (strokeWidth > kMaxStrokeWidth || 127 SkScalar strokeWidth, 134 strokeWidth, style, join, miterLimit, 142 SkScalar strokeWidth, 149 PathData{color, viewMatrix, path, strokeWidth, style, join, miterLimit}); 153 SkScalar w = strokeWidth; 177 "Color: 0x%08x, StrokeWidth: %.2f, Style: %d, Join: %d, " 344 SkScalar strokeWidth = fill ? -1.0f : stroke.getWidth() [all...] |
/external/ImageMagick/Magick++/demo/ |
shapes.cpp | 56 image.strokeWidth( 5 ); 61 // Draw ellipse, and polygon, with black stroke, strokeWidth of 5 64 image.strokeWidth( 5 );
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowVectorDrawable.java | 55 float strokeWidth; 99 propertiesBB.putFloat(STROKE_WIDTH_INDEX * 4, path.strokeWidth); 118 float strokeWidth, 131 path.strokeWidth = strokeWidth;
|
/external/skia/experimental/svg/model/ |
SkSVGNode.cpp | 106 void SkSVGNode::setStrokeWidth(const SkSVGLength& strokeWidth) { 107 fPresentationAttributes.fStrokeWidth.set(strokeWidth); 182 if (const SkSVGLengthValue* strokeWidth = v.as<SkSVGLengthValue>()) { 183 this->setStrokeWidth(*strokeWidth);
|
/external/skqp/experimental/svg/model/ |
SkSVGNode.cpp | 106 void SkSVGNode::setStrokeWidth(const SkSVGLength& strokeWidth) { 107 fPresentationAttributes.fStrokeWidth.set(strokeWidth); 182 if (const SkSVGLengthValue* strokeWidth = v.as<SkSVGLengthValue>()) { 183 this->setStrokeWidth(*strokeWidth);
|
/external/skia/bench/ |
DashBench.cpp | 23 * 2. strokewidth == 0, 1, 2 25 * 4. dots [1,1] ([N,N] where N=strokeWidth?) or arbitrary (e.g. [2,1] or [1,2,3,2]) 210 * We try to special case square dashes (intervals are equal to strokewidth). 257 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) 259 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); 260 fStrokeWidth = strokeWidth; 383 DashGridBench(int dashLength, int strokeWidth, bool doAA) { 384 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); 385 fStrokeWidth = strokeWidth;
|
/external/skqp/bench/ |
DashBench.cpp | 23 * 2. strokewidth == 0, 1, 2 25 * 4. dots [1,1] ([N,N] where N=strokeWidth?) or arbitrary (e.g. [2,1] or [1,2,3,2]) 210 * We try to special case square dashes (intervals are equal to strokewidth). 257 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) 259 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); 260 fStrokeWidth = strokeWidth; 383 DashGridBench(int dashLength, int strokeWidth, bool doAA) { 384 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); 385 fStrokeWidth = strokeWidth;
|