/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);
|
SkPaint.cpp | [all...] |
/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/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 | 29 const SkScalar strokeWidth = SkIntToScalar(6); 30 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
|
/frameworks/base/libs/hwui/tests/unit/ |
BakedOpStateTests.cpp | 94 float strokeWidth; 163 strokedPaint.setStrokeWidth(testCase.strokeWidth);
|
/external/skia/src/animator/ |
SkDrawPaint.h | 58 SkScalar strokeWidth;
|
/external/skia/src/gpu/ |
GrTestUtils.cpp | 223 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f; 224 rec->setStrokeStyle(strokeWidth, strokeAndFill);
|
GrOvalRenderer.cpp | 782 SkScalar strokeWidth = viewMatrix.mapRadius(stroke.getWidth()); [all...] |
/frameworks/base/libs/hwui/hwui/ |
Canvas.cpp | 56 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); 58 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth; 59 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth; 63 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth; 64 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth;
|
/external/skia/src/gpu/batches/ |
GrAALinearizingConvexPathRenderer.cpp | 54 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * args.fStroke->getWidth(); 55 return strokeWidth >= 1.0f && strokeWidth <= kMaxStrokeWidth && !args.fStroke->isDashed() &&
|
GrNonAAStrokeRectBatch.cpp | 66 SkScalar strokeWidth) { 70 geometry.fStrokeWidth = strokeWidth; 78 SkScalar strokeWidth, bool snapToPixelCenters) { 79 this->append(color, viewMatrix, rect, strokeWidth); 222 SkScalar strokeWidth, 225 batch->append(color, viewMatrix, rect, strokeWidth); 234 SkScalar strokeWidth, 237 batch->appendAndUpdateBounds(color, viewMatrix, rect, strokeWidth, snapToPixelCenters); 248 SkScalar strokeWidth = random->nextBool() ? 0.0f : 1.0f; 250 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, random->nextBool()) [all...] |
GrAAStrokeRectBatch.cpp | 534 SkScalar strokeWidth, bool miterStroke) { 539 if (strokeWidth > 0) { 540 devStrokeSize.set(strokeWidth, strokeWidth); 652 SkScalar strokeWidth = minDim * 0.1f; 654 outsideAssist.outset(strokeWidth, strokeWidth); 656 inside.inset(strokeWidth, strokeWidth);
|
/frameworks/base/libs/hwui/ |
TessellationCache.h | 67 float strokeWidth;
|
PathCache.h | 129 float strokeWidth;
|
VectorDrawable.h | 208 float strokeWidth = 0; 250 return mPrimitiveFields.strokeWidth; 252 void setStrokeWidth(float strokeWidth) { 253 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(strokeWidth, strokeWidth); 311 void updateProperties(float strokeWidth, SkColor strokeColor, float strokeAlpha, 315 mPrimitiveFields.strokeWidth = strokeWidth; 336 strokeWidth = 0,
|
/external/ImageMagick/Magick++/lib/ |
Options.cpp | 660 void Magick::Options::strokeWidth(const double strokeWidth_) 663 setOption("strokewidth",strokeWidth_); 666 double Magick::Options::strokeWidth(void) const
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimPreferenceDialog.java | 205 int strokeWidth = res.getDimensionPixelSize(R.dimen.color_swatch_stroke_width); 214 drawable.getPaint().setStrokeWidth(strokeWidth);
|
/external/pdfium/core/src/fxge/skia/ |
fx_skia_device.cpp | 53 SkScalar strokeWidth = paint.getStrokeWidth(); 54 if (0 == strokeWidth) { 62 if (strokeWidth <= SK_Scalar1) { 63 *coverage = strokeWidth;
|
/external/skia/tests/ |
BlurTest.cpp | 32 static const int strokeWidth = 4; 61 { 50 + strokeWidth/2, 50 + strokeWidth/2, 100, 100 }, 63 { 40, strokeWidth, 60, 50 - strokeWidth }, 106 paint.setStrokeWidth(SkIntToScalar(strokeWidth));
|
/external/skia/tools/json/ |
SkJSONRenderer.cpp | 364 float strokeWidth = jsonPaint[SKJSONCANVAS_ATTRIBUTE_STROKEWIDTH].asFloat(); 365 target->setStrokeWidth(strokeWidth); [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
ImageUtils.java | 162 final float strokeWidth = 6f; 163 stroke.setStrokeWidth(strokeWidth); [all...] |
/external/skia/src/gpu/effects/ |
GrDashingEffect.cpp | 188 SkScalar startInterval, SkScalar endInterval, SkScalar strokeWidth, 199 SkScalar radius = SkScalarHalf(strokeWidth) - 0.5f; 216 SkScalar halfStroke = SkScalarHalf(strokeWidth); 476 SkScalar strokeWidth = args.fSrcStrokeWidth * args.fPerpendicularScale; 478 if ((strokeWidth < 1.f && useAA) || 0.f == strokeWidth) { 479 strokeWidth = 1.f; 482 SkScalar halfDevStroke = strokeWidth * 0.5f; 486 devIntervals[0] += strokeWidth; 487 devIntervals[1] -= strokeWidth; [all...] |