HomeSort by relevance Sort by last modified time
    Searched defs:strokeWidth (Results 1 - 25 of 66) sorted by null

1 2 3

  /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);
  /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);
  /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/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;
  /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/
ninepatchstretch.cpp 26 const SkScalar strokeWidth = SkIntToScalar(6);
27 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
addarc.cpp 189 const SkScalar strokeWidth = paint.getStrokeWidth();
190 const SkScalar delta = strokeWidth * 3 / 2;
194 // Reset style to fill. We only need stroke stype for producing delta and strokeWidth
198 while (r.width() > strokeWidth * 2) {
lattice.cpp 29 const SkScalar strokeWidth = SkIntToScalar(6);
30 const SkScalar radius = SkIntToScalar(kCap) - strokeWidth/2;
  /external/skqp/gm/
ninepatchstretch.cpp 26 const SkScalar strokeWidth = SkIntToScalar(6);
27 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
addarc.cpp 189 const SkScalar strokeWidth = paint.getStrokeWidth();
190 const SkScalar delta = strokeWidth * 3 / 2;
194 // Reset style to fill. We only need stroke stype for producing delta and strokeWidth
198 while (r.width() > strokeWidth * 2) {
lattice.cpp 29 const SkScalar strokeWidth = SkIntToScalar(6);
30 const SkScalar radius = SkIntToScalar(kCap) - strokeWidth/2;
  /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);
  /frameworks/base/libs/hwui/tests/unit/
BakedOpStateTests.cpp 94 float strokeWidth;
152 strokedPaint.setStrokeWidth(testCase.strokeWidth);
  /frameworks/support/swiperefreshlayout/src/androidTest/java/androidx/swiperefreshlayout/widget/
CircularProgressDrawableTest.java 85 float strokeWidth = 4f;
87 mDrawableUnderTest.setStrokeWidth(strokeWidth);
95 assertEquals((radius + strokeWidth / 2f) * 2, boundsCaptor.getValue().width(), 0.5);
96 assertEquals((radius + strokeWidth / 2f) * 2, boundsCaptor.getValue().height(), 0.5);
  /external/skia/experimental/svg/model/
SkSVGRenderContext.cpp 234 auto strokeWidth = ctx.lengthContext().resolve(*attrs.fStrokeWidth.get(),
236 pctx->fStrokePaint.setStrokeWidth(strokeWidth);
346 ApplyLazyInheritedAttribute(StrokeWidth);
  /external/skia/src/gpu/ops/
GrNonAAStrokeRectOp.cpp 74 "StrokeWidth: %.2f\n",
228 SkScalar strokeWidth = random->nextBool() ? 0.0f : 2.0f;
230 strokePaint.setStrokeWidth(strokeWidth);
GrAALinearizingConvexPathRenderer.cpp 62 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth();
63 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) {
66 if (strokeWidth > kMaxStrokeWidth ||
141 SkScalar strokeWidth,
147 strokeWidth, style, join, miterLimit,
155 SkScalar strokeWidth,
162 PathData{color, viewMatrix, path, strokeWidth, style, join, miterLimit});
166 SkScalar w = strokeWidth;
188 "Color: 0x%08x, StrokeWidth: %.2f, Style: %d, Join: %d, "
346 SkScalar strokeWidth = fill ? -1.0f : stroke.getWidth()
    [all...]
  /external/skqp/experimental/svg/model/
SkSVGRenderContext.cpp 234 auto strokeWidth = ctx.lengthContext().resolve(*attrs.fStrokeWidth.get(),
236 pctx->fStrokePaint.setStrokeWidth(strokeWidth);
346 ApplyLazyInheritedAttribute(StrokeWidth);
  /external/skqp/src/gpu/ops/
GrNonAAStrokeRectOp.cpp 74 "StrokeWidth: %.2f\n",
228 SkScalar strokeWidth = random->nextBool() ? 0.0f : 2.0f;
230 strokePaint.setStrokeWidth(strokeWidth);
  /frameworks/base/libs/hwui/hwui/
Canvas.cpp 40 const SkScalar strokeWidth = fmax(thickness, 1.0f);
41 const SkScalar bottom = top + strokeWidth;
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowVectorDrawable.java 55 float strokeWidth;
101 propertiesBB.putFloat(STROKE_WIDTH_INDEX * 4, path.strokeWidth);
118 public static void nUpdateFullPathProperties(long pathPtr, float strokeWidth,
123 path.strokeWidth = strokeWidth;
  /external/skia/src/gpu/
GrTestUtils.cpp 242 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f;
243 rec->setStrokeStyle(strokeWidth, strokeAndFill);
  /external/skqp/src/gpu/
GrTestUtils.cpp 242 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f;
243 rec->setStrokeStyle(strokeWidth, strokeAndFill);

Completed in 753 milliseconds

1 2 3