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

1 2

  /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/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/
stroketext.cpp 27 static void draw_text_stroked(SkCanvas* canvas, const SkPaint& paint, SkScalar strokeWidth) {
31 if (strokeWidth > 0) {
39 p.setStrokeWidth(strokeWidth);
shadows.cpp 16 static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) {
18 if (strokeWidth < 0) {
22 paint->setStrokeWidth(strokeWidth);
ninepatchstretch.cpp 20 const SkScalar strokeWidth = SkIntToScalar(6);
21 const SkScalar radius = SkIntToScalar(kFixed) - strokeWidth/2;
linepaths.cpp 29 SkScalar strokeWidth) {
33 paint.setStrokeWidth(strokeWidth);
172 SkScalar strokeWidth) {
176 paint.setStrokeWidth(strokeWidth);
quadpaths.cpp 29 SkScalar strokeWidth) {
33 paint.setStrokeWidth(strokeWidth);
174 SkScalar strokeWidth) {
178 paint.setStrokeWidth(strokeWidth);
cubicpaths.cpp 69 SkScalar strokeWidth) {
73 paint.setStrokeWidth(strokeWidth);
215 SkScalar strokeWidth) {
219 paint.setStrokeWidth(strokeWidth);
dashing.cpp 208 int strokeWidth,
213 p.setStrokeWidth(SkIntToScalar(strokeWidth));
225 for (int y = 0; y < 100; y += 10*strokeWidth) {
234 for (int x = 0; x < 100; x += 14*strokeWidth) {
glyph_pos.cpp 24 GlyphPosGM(SkScalar strokeWidth, SkPaint::Style strokeStyle)
25 : fStrokeWidth(strokeWidth)
  /external/skia/src/animator/
SkDrawPaint.h 58 SkScalar strokeWidth;
SkDrawPaint.cpp 52 SK_MEMBER(strokeWidth, Float),
71 strokeWidth(SK_ScalarNaN), style((SkPaint::Style) -1),
249 if (SkScalarIsNaN(strokeWidth) == false)
250 paint->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])
211 * We try to special case square dashes (intervals are equal to strokewidth).
258 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA)
260 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
261 fStrokeWidth = strokeWidth;
385 DashGridBench(int dashLength, int strokeWidth, bool doAA) {
386 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
387 fStrokeWidth = strokeWidth;
  /external/skia/src/gpu/
GrOvalRenderer.cpp     [all...]
GrTestUtils.cpp 224 SkScalar strokeWidth = random->nextBool() ? 0.f : 1.f;
225 rec.setStrokeStyle(strokeWidth, strokeAndFill);
  /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/fonttools/Lib/fontTools/pens/
reportLabPen.py 56 pen = ReportLabPen(gs, Path(fillColor=colors.red, strokeWidth=5))
  /external/skia/samplecode/
SampleClip.cpp 61 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) {
66 paint.setStrokeWidth(strokeWidth);
  /frameworks/base/libs/hwui/
TessellationCache.cpp 44 , strokeWidth(1.0f) {
53 , strokeWidth(paint.getStrokeWidth()) {
63 hash = JenkinsHashMix(hash, android::hash_type(strokeWidth));
75 paint->setStrokeWidth(strokeWidth);
459 float outset = description.strokeWidth / 2;
TessellationCache.h 61 float strokeWidth;
  /frameworks/support/v4/java/android/support/v4/widget/
MaterialProgressDrawable.java 131 double centerRadius, double strokeWidth, float arrowWidth, float arrowHeight) {
138 ring.setStrokeWidth((float) strokeWidth * screenDensity);
653 * @param strokeWidth Set the stroke width of the progress spinner in pixels.
655 public void setStrokeWidth(float strokeWidth) {
656 mStrokeWidth = strokeWidth;
657 mPaint.setStrokeWidth(strokeWidth);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
d2d1.h 743 STDMETHOD_(void, DrawLine)(D2D1_POINT_2F point0, D2D1_POINT_2F point1, ID2D1Brush *brush, FLOAT strokeWidth = 1.0f, ID2D1StrokeStyle *strokeStyle = NULL) PURE;
744 STDMETHOD_(void, DrawRectangle)(const D2D1_RECT_F *rect, ID2D1Brush *brush, FLOAT strokeWidth = 1.0f, ID2D1StrokeStyle *strokeStyle = NULL) PURE;
746 STDMETHOD_(void, DrawRoundedRectangle)(const D2D1_ROUNDED_RECT *roundedRect, ID2D1Brush *brush, FLOAT strokeWidth = 1.0f, ID2D1StrokeStyle *strokeStyle = NULL) PURE;
748 STDMETHOD_(void, DrawEllipse)(const D2D1_ELLIPSE *ellipse, ID2D1Brush *brush, FLOAT strokeWidth = 1.0f, ID2D1StrokeStyle *strokeStyle = NULL) PURE;
750 STDMETHOD_(void, DrawGeometry)(ID2D1Geometry *geometry, ID2D1Brush *brush, FLOAT strokeWidth = 1.0f, ID2D1StrokeStyle *strokeStyle = NULL) PURE;
    [all...]
  /external/skia/src/gpu/effects/
GrDashingEffect.cpp 186 SkScalar startInterval, SkScalar endInterval, SkScalar strokeWidth,
197 SkScalar radius = SkScalarHalf(strokeWidth) - 0.5f;
214 SkScalar halfStroke = SkScalarHalf(strokeWidth);
445 SkScalar strokeWidth = args.fSrcStrokeWidth * args.fPerpendicularScale;
447 if ((strokeWidth < 1.f && useAA) || 0.f == strokeWidth) {
448 strokeWidth = 1.f;
451 SkScalar halfDevStroke = strokeWidth * 0.5f;
455 devIntervals[0] += strokeWidth;
456 devIntervals[1] -= strokeWidth;
    [all...]

Completed in 2651 milliseconds

1 2