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

1 2

  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGRect.cpp 81 float strokeWidth = this->strokeWidth();
82 m_innerStrokeRect.inflate(-strokeWidth / 2);
83 m_outerStrokeRect.inflate(strokeWidth / 2);
109 context->strokeRect(m_fillBoundingBox, strokeWidth());
RenderSVGPath.cpp 60 float strokeWidth = this->strokeWidth();
62 strokeBoundingBox.unite(zeroLengthSubpathRect(m_zeroLengthLinecapLocations[i], strokeWidth));
112 float strokeWidth = this->strokeWidth();
114 if (zeroLengthSubpathRect(m_zeroLengthLinecapLocations[i], strokeWidth).contains(point))
119 if (radiusVector.lengthSquared() < strokeWidth * strokeWidth * .25f)
139 tempPath.addRect(zeroLengthSubpathRect(linecapPosition, this->strokeWidth()));
141 tempPath.addEllipse(zeroLengthSubpathRect(linecapPosition, this->strokeWidth()));
    [all...]
RenderSVGShape.cpp 354 FloatRect RenderSVGShape::markerRect(float strokeWidth) const
370 boundaries.unite(marker->markerBoundaries(marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth)));
402 strokeBoundingBox.unite(markerRect(strokeWidth()));
410 if (strokeWidth() < 1.0f && !m_paintInvalidationBoundingBox.isEmpty())
415 float RenderSVGShape::strokeWidth() const
418 return style()->svgStyle().strokeWidth()->value(lengthContext);
444 float strokeWidth = this->strokeWidth();
448 marker->draw(paintInfo, marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth));
SVGRenderTreeAsText.cpp 292 double strokeWidth = svgStyle.strokeWidth()->value(lengthContext);
302 writeIfNotDefault(ts, "stroke width", strokeWidth, 1.0);
  /developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/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);
  /developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/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/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/chromium_org/third_party/WebKit/Source/core/rendering/
TextPainter.h 45 float strokeWidth;
53 && strokeWidth == other.strokeWidth
  /external/chromium_org/third_party/skia/gm/
ninepatchstretch.cpp 20 const SkScalar strokeWidth = SkIntToScalar(6);
21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
  /external/chromium_org/third_party/skia/src/core/
SkDrawProcs.h 62 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&,
77 SkScalar strokeWidth = paint.getStrokeWidth();
78 if (0 == strokeWidth) {
87 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
  /external/skia/gm/
ninepatchstretch.cpp 20 const SkScalar strokeWidth = SkIntToScalar(6);
21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
  /external/skia/src/core/
SkDrawProcs.h 62 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&,
77 SkScalar strokeWidth = paint.getStrokeWidth();
78 if (0 == strokeWidth) {
87 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
  /external/chromium_org/third_party/skia/src/animator/
SkDrawPaint.h 58 SkScalar strokeWidth;
  /external/chromium_org/third_party/skia/src/gpu/
GrStencilAndCoverTextContext.cpp 290 SkScalar strokeWidth = SK_Scalar1 /
293 gpuStroke.setStrokeStyle(strokeWidth, false /*strokeAndFill*/);
GrOvalRenderer.cpp 536 SkScalar strokeWidth = vm.mapRadius(stroke.getWidth());
563 if (SkScalarNearlyZero(strokeWidth)) {
566 halfWidth = SkScalarHalf(strokeWidth);
658 SkScalar strokeWidth = stroke.getWidth();
659 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY]));
660 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY]));
784 SkScalar strokeWidth = stroke.getWidth();
786 if (SkScalarNearlyZero(strokeWidth)) {
787 strokeWidth = SK_ScalarHalf;
789 strokeWidth *= SK_ScalarHalf
    [all...]
  /external/skia/src/animator/
SkDrawPaint.h 58 SkScalar strokeWidth;
  /frameworks/base/libs/hwui/
TessellationCache.h 61 float strokeWidth;
PathCache.h 117 float strokeWidth;
  /packages/apps/Settings/src/com/android/settings/drawable/
CircleFramedDrawable.java 61 float strokeWidth = res.getDimension(R.dimen.circle_avatar_frame_stroke_width);
68 (int) iconSize, frameColor, strokeWidth, frameShadowColor, shadowRadius,
74 int frameColor, float strokeWidth,
82 mStrokeWidth = strokeWidth;
  /external/chromium_org/third_party/skia/tests/
BlurTest.cpp 31 static const int strokeWidth = 4;
60 { 50 + strokeWidth/2, 50 + strokeWidth/2, 100, 100 },
62 { 40, strokeWidth, 60, 50 - strokeWidth },
106 paint.setStrokeWidth(SkIntToScalar(strokeWidth));
  /external/skia/src/gpu/effects/
GrDashingEffect.cpp 295 SkScalar strokeWidth = srcStrokeWidth * perpScale;
297 if ((strokeWidth < 1.f && !useAA) || 0.f == strokeWidth) {
298 strokeWidth = 1.f;
301 SkScalar halfDevStroke = strokeWidth * 0.5f;
305 devIntervals[0] += strokeWidth;
306 devIntervals[1] -= strokeWidth;
345 GrDashingEffect::Create(edgeType, devInfo, strokeWidth), 1)->unref();
421 SkScalar strokeWidth);
440 DashingLineEffect(GrEffectEdgeType edgeType, const DashInfo& info, SkScalar strokeWidth);
    [all...]
  /external/skia/tests/
BlurTest.cpp 31 static const int strokeWidth = 4;
60 { 50 + strokeWidth/2, 50 + strokeWidth/2, 100, 100 },
62 { 40, strokeWidth, 60, 50 - strokeWidth },
106 paint.setStrokeWidth(SkIntToScalar(strokeWidth));
  /external/chromium_org/third_party/skia/src/gpu/effects/
GrDashingEffect.cpp 300 SkScalar strokeWidth = srcStrokeWidth * perpScale;
302 if ((strokeWidth < 1.f && !useAA) || 0.f == strokeWidth) {
303 strokeWidth = 1.f;
306 SkScalar halfDevStroke = strokeWidth * 0.5f;
310 devIntervals[0] += strokeWidth;
311 devIntervals[1] -= strokeWidth;
353 GrDashingEffect::Create(edgeType, devInfo, strokeWidth, capType))->unref();
428 * interval). The radius of the dots is given by the strokeWidth and the spacing by the DashInfo.
624 SkScalar strokeWidth = random->nextRangeScalar(0, 100.f)
    [all...]
  /external/skia/src/gpu/
GrOvalRenderer.cpp 505 SkScalar strokeWidth = vm.mapRadius(stroke.getWidth());
532 if (SkScalarNearlyZero(strokeWidth)) {
535 halfWidth = SkScalarHalf(strokeWidth);
628 SkScalar strokeWidth = stroke.getWidth();
629 scaledStroke.fX = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMScaleX] + vm[SkMatrix::kMSkewY]));
630 scaledStroke.fY = SkScalarAbs(strokeWidth*(vm[SkMatrix::kMSkewX] + vm[SkMatrix::kMScaleY]));
756 SkScalar strokeWidth = stroke.getWidth();
758 if (SkScalarNearlyZero(strokeWidth)) {
759 strokeWidth = SK_ScalarHalf;
761 strokeWidth *= SK_ScalarHalf
    [all...]
  /frameworks/base/core/jni/
android_graphics_Canvas.cpp 467 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f);
469 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth;
470 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth;
474 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth;
475 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth;

Completed in 855 milliseconds

1 2