/external/skia/gm/ |
glyph_pos.cpp | 23 SkScalar strokeWidth, 27 SkScalar strokeWidth, 34 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 37 drawTestCase(canvas, 3.0f, strokeWidth, strokeStyle); 43 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 50 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 62 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 75 drawTestCase(canvas, 1.0f, strokeWidth, strokeStyle); 81 SkScalar strokeWidth, 88 paint.setStrokeWidth(strokeWidth); [all...] |
stroketext.cpp | 28 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) { 32 if (strokeWidth > 0) { 40 p.setStrokeWidth(strokeWidth);
|
shadows.cpp | 20 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) { 22 if (strokeWidth < 0) { 26 paint->setStrokeWidth(strokeWidth);
|
linepaths.cpp | 18 SkScalar strokeWidth) { 22 paint.setStrokeWidth(strokeWidth);
|
ninepatchstretch.cpp | 29 const SkScalar strokeWidth = SkIntToScalar(6); 30 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
|
quadpaths.cpp | 32 SkScalar strokeWidth) { 36 paint.setStrokeWidth(strokeWidth); 172 SkScalar strokeWidth) { 176 paint.setStrokeWidth(strokeWidth);
|
/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 | 139 SkScalar strokeWidth, 141 if (strokeWidth < 0) { // fill 143 } else if (0 == strokeWidth) { 147 SkScalar radius = SkScalarHalf(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);
|
/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;
|
/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
CircularProgressDrawableTest.java | 83 float strokeWidth = 4f; 85 mDrawableUnderTest.setStrokeWidth(strokeWidth); 93 assertEquals((radius + strokeWidth / 2f) * 2, boundsCaptor.getValue().width(), 0.5); 94 assertEquals((radius + strokeWidth / 2f) * 2, boundsCaptor.getValue().height(), 0.5);
|
/external/skia/src/gpu/ops/ |
GrAALinearizingConvexPathRenderer.cpp | 61 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth(); 62 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) { 65 return strokeWidth <= kMaxStrokeWidth && 134 SkScalar strokeWidth, 140 strokeWidth, style, join, miterLimit, 148 SkScalar strokeWidth, 155 PathData{color, viewMatrix, path, strokeWidth, style, join, miterLimit}); 159 SkScalar w = strokeWidth; 177 "Color: 0x%08x, StrokeWidth: %.2f, Style: %d, Join: %d, " 334 SkScalar strokeWidth = fill ? -1.0f : stroke.getWidth() [all...] |
GrAAStrokeRectOp.cpp | 46 SkScalar strokeWidth, bool miterStroke) { 51 if (strokeWidth > 0) { 52 devStrokeSize.set(strokeWidth, strokeWidth); 613 SkScalar strokeWidth = random->nextUScalar1() * minDim; 616 rec.setStrokeStyle(strokeWidth);
|
/external/skia/experimental/svg/model/ |
SkSVGNode.cpp | 91 void SkSVGNode::setStrokeWidth(const SkSVGLength& strokeWidth) { 92 fPresentationAttributes.fStrokeWidth.set(strokeWidth); 143 if (const SkSVGLengthValue* strokeWidth = v.as<SkSVGLengthValue>()) { 144 this->setStrokeWidth(*strokeWidth);
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
FabDrawable.java | 68 * @param strokeWidth The width of the stroke when the fab is focused in pixels. 71 public FabDrawable(int fabGrowth, int strokeWidth, int duration) { 74 } else if (fabGrowth > strokeWidth) { 75 throw new IllegalArgumentException("Fab growth must be <= strokeWidth."); 76 } else if (strokeWidth < 0) { 80 mStrokeWidth = strokeWidth;
|
/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 );
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
CaretDrawable.java | 46 final int strokeWidth = res.getDimensionPixelSize(R.dimen.all_apps_caret_stroke_width); 51 mCaretPaint.setStrokeWidth(strokeWidth); 59 mShadowPaint.setStrokeWidth(strokeWidth + (shadowSpread * 2));
|
/frameworks/base/libs/hwui/ |
VectorDrawable.h | 211 float strokeWidth = 0; 253 return mPrimitiveFields.strokeWidth; 255 void setStrokeWidth(float strokeWidth) { 256 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(strokeWidth, strokeWidth); 314 void updateProperties(float strokeWidth, SkColor strokeColor, float strokeAlpha, 318 mPrimitiveFields.strokeWidth = strokeWidth; 339 strokeWidth = 0,
|
TessellationCache.cpp | 43 , strokeWidth(1.0f) { 53 , strokeWidth(paint.getStrokeWidth()) { 66 if (strokeWidth != rhs.strokeWidth) return false; 82 hash = JenkinsHashMix(hash, android::hash_type(strokeWidth)); 94 paint->setStrokeWidth(strokeWidth); 428 float outset = description.strokeWidth / 2;
|
/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;
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
ShapeAnimation.cpp | 71 // each combination of strokeWidth + style gets a column 79 for (auto strokeWidth : { 0.0f, 0.5f, 8.0f }) { 80 paint.setStrokeWidth(strokeWidth);
|
/external/trappy/trappy/plotter/js/ |
ILinePlot.js | 131 strokeWidth: t_info.strokeWidth,
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
CircularProgressDrawable.java | 146 private void setSizeParameters(float centerRadius, float strokeWidth, float arrowWidth, 152 ring.setStrokeWidth(strokeWidth * screenDensity); 186 * @param strokeWidth stroke width in pixels 188 public void setStrokeWidth(float strokeWidth) { 189 mRing.setStrokeWidth(strokeWidth); 832 * @param strokeWidth set the stroke width of the progress spinner in pixels. 834 void setStrokeWidth(float strokeWidth) { 835 mStrokeWidth = strokeWidth; 836 mPaint.setStrokeWidth(strokeWidth);
|