/external/skqp/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 269 devInside->inset(rx, ry); in compute_aa_rects() 291 devOutside->inset(0, ry); in compute_aa_rects() 623 static void setup_scale(int* scale, SkScalar inset) { in setup_scale() argument 624 if (inset < SK_ScalarHalf) { in setup_scale() 625 *scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf)); in setup_scale() 646 SkScalar inset; in generateAAStrokeRectGeometry() local 648 inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); in generateAAStrokeRectGeometry() 649 inset = SkMinScalar(inset, devInside.fLeft - devOutside.fLeft); in generateAAStrokeRectGeometry() 650 inset = SkMinScalar(inset, devInside.fTop - devOutside.fTop); in generateAAStrokeRectGeometry() 652 inset = SK_ScalarHalf * SkMinScalar(inset, devOutside.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry() [all …]
|
D | GrShadowRRectOp.cpp | 506 SkScalar inset = umbraInset + args.fInnerRadius; in fillInRRectVerts() local 509 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fTop + inset); in fillInRRectVerts() 516 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fTop + inset); in fillInRRectVerts() 523 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fBottom - inset); in fillInRRectVerts() 530 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fBottom - inset); in fillInRRectVerts()
|
/external/skia/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 275 devInside->inset(rx, ry); in compute_aa_rects() 297 devOutside->inset(0, ry); in compute_aa_rects() 635 static void setup_scale(int* scale, SkScalar inset) { in setup_scale() argument 636 if (inset < SK_ScalarHalf) { in setup_scale() 637 *scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf)); in setup_scale() 658 SkScalar inset; in generateAAStrokeRectGeometry() local 660 inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); in generateAAStrokeRectGeometry() 661 inset = SkMinScalar(inset, devInside.fLeft - devOutside.fLeft); in generateAAStrokeRectGeometry() 662 inset = SkMinScalar(inset, devInside.fTop - devOutside.fTop); in generateAAStrokeRectGeometry() 664 inset = SK_ScalarHalf * SkMinScalar(inset, devOutside.fBottom - devInside.fBottom); in generateAAStrokeRectGeometry() [all …]
|
D | GrShadowRRectOp.cpp | 507 SkScalar inset = umbraInset + args.fInnerRadius; in fillInRRectVerts() local 510 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fTop + inset); in fillInRRectVerts() 517 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fTop + inset); in fillInRRectVerts() 524 (*verts)->fPos = SkPoint::Make(bounds.fLeft + inset, bounds.fBottom - inset); in fillInRRectVerts() 531 (*verts)->fPos = SkPoint::Make(bounds.fRight - inset, bounds.fBottom - inset); in fillInRRectVerts()
|
/external/doclava/res/assets/templates/ |
D | todo.cs | 17 border-style: inset inset inset inset; 24 border-style: inset inset inset inset;
|
/external/skqp/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 32 sk_sp<SkImageFilter> SkMagnifierImageFilter::Make(const SkRect& srcRect, SkScalar inset, in Make() argument 35 if (!SkScalarIsFinite(inset) || !SkIsValidRect(srcRect)) { in Make() 38 if (inset < 0) { in Make() 45 return sk_sp<SkImageFilter>(new SkMagnifierImageFilter(srcRect, inset, in Make() 53 SkScalar inset, in SkMagnifierImageFilter() argument 58 , fInset(inset) { in SkMagnifierImageFilter() 59 SkASSERT(srcRect.left() >= 0 && srcRect.top() >= 0 && inset >= 0); in SkMagnifierImageFilter()
|
/external/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 32 sk_sp<SkImageFilter> SkMagnifierImageFilter::Make(const SkRect& srcRect, SkScalar inset, in Make() argument 35 if (!SkScalarIsFinite(inset) || !SkIsValidRect(srcRect)) { in Make() 38 if (inset < 0) { in Make() 45 return sk_sp<SkImageFilter>(new SkMagnifierImageFilter(srcRect, inset, in Make() 53 SkScalar inset, in SkMagnifierImageFilter() argument 58 , fInset(inset) { in SkMagnifierImageFilter() 59 SkASSERT(srcRect.left() >= 0 && srcRect.top() >= 0 && inset >= 0); in SkMagnifierImageFilter()
|
/external/skia/gm/ |
D | pathinterior.cpp | 17 static SkRect inset(const SkRect& r) { in inset() function 19 rect.inset(r.width() / 8, r.height() / 8); in inset() 80 SkRect r = insetFirst ? inset(rect) : rect; in onDraw() 86 r = insetFirst ? rect : inset(rect); in onDraw()
|
D | addarc.cpp | 34 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw() local 50 r.inset(inset, inset); in onDraw() 136 r.inset(delta, delta); in onDraw() 189 r.inset(delta, delta); in onDraw()
|
D | rrect.cpp | 19 r.inset(dx, dy); in inset0() 39 r.inset(dx, dy); in inset1() 55 r.inset(dx, dy); in inset2() 83 r.inset(dx, dy); in inset3()
|
D | showmiplevels.cpp | 44 SkScalar inset = 2; in make_bitmap2() local 48 r.inset(inset, inset); in make_bitmap2() 49 inset += 1; in make_bitmap2()
|
/external/skqp/gm/ |
D | pathinterior.cpp | 17 static SkRect inset(const SkRect& r) { in inset() function 19 rect.inset(r.width() / 8, r.height() / 8); in inset() 80 SkRect r = insetFirst ? inset(rect) : rect; in onDraw() 86 r = insetFirst ? rect : inset(rect); in onDraw()
|
D | addarc.cpp | 34 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw() local 50 r.inset(inset, inset); in onDraw() 136 r.inset(delta, delta); in onDraw() 189 r.inset(delta, delta); in onDraw()
|
D | rrect.cpp | 19 r.inset(dx, dy); in inset0() 39 r.inset(dx, dy); in inset1() 55 r.inset(dx, dy); in inset2() 83 r.inset(dx, dy); in inset3()
|
D | showmiplevels.cpp | 44 SkScalar inset = 2; in make_bitmap2() local 48 r.inset(inset, inset); in make_bitmap2() 49 inset += 1; in make_bitmap2()
|
/external/skia/fuzz/ |
D | FuzzPolyUtils.cpp | 25 SkScalar inset; in DEF_FUZZ() local 26 fuzz->next(&inset); in DEF_FUZZ() 28 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
|
/external/skqp/fuzz/ |
D | FuzzPolyUtils.cpp | 25 SkScalar inset; in DEF_FUZZ() local 26 fuzz->next(&inset); in DEF_FUZZ() 28 ignoreResult(SkInsetConvexPolygon(polygon, count, inset, &output)); in DEF_FUZZ()
|
/external/skqp/include/core/ |
D | SkRRect.h | 352 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const; 368 void inset(SkScalar dx, SkScalar dy) { in inset() function 369 this->inset(dx, dy, this); in inset() 388 this->inset(-dx, -dy, dst); in outset() 406 this->inset(-dx, -dy, this); in outset()
|
/external/skia/include/core/ |
D | SkRRect.h | 352 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const; 368 void inset(SkScalar dx, SkScalar dy) { in inset() function 369 this->inset(dx, dy, this); in inset() 388 this->inset(-dx, -dy, dst); in outset() 406 this->inset(-dx, -dy, this); in outset()
|
/external/skqp/src/utils/ |
D | SkShadowTessellator.cpp | 54 bool computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip); 64 bool computeConcaveShadow(SkScalar inset, SkScalar outset); 246 bool SkBaseShadowTessellator::computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip) { in computeConvexShadow() argument 273 if (inset > SK_ScalarNearlyZero) { in computeConvexShadow() 275 if (minDistSq < (inset + kTolerance)*(inset + kTolerance)) { in computeConvexShadow() 278 auto ratio = 128 * (newInset / inset + 1); in computeConvexShadow() 282 inset = newInset; in computeConvexShadow() 286 if (!SkInsetConvexPolygon(&fPathPolygon[0], fPathPolygon.count(), inset, in computeConvexShadow() 292 const SkTDArray<SkPoint>& umbraPolygon = (inset > SK_ScalarNearlyZero) ? insetPolygon in computeConvexShadow() 553 bool SkBaseShadowTessellator::computeConcaveShadow(SkScalar inset, SkScalar outset) { in computeConcaveShadow() argument [all …]
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 54 bool computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip); 64 bool computeConcaveShadow(SkScalar inset, SkScalar outset); 246 bool SkBaseShadowTessellator::computeConvexShadow(SkScalar inset, SkScalar outset, bool doClip) { in computeConvexShadow() argument 273 if (inset > SK_ScalarNearlyZero) { in computeConvexShadow() 275 if (minDistSq < (inset + kTolerance)*(inset + kTolerance)) { in computeConvexShadow() 278 auto ratio = 128 * (newInset / inset + 1); in computeConvexShadow() 282 inset = newInset; in computeConvexShadow() 286 if (!SkInsetConvexPolygon(&fPathPolygon[0], fPathPolygon.count(), inset, in computeConvexShadow() 292 const SkTDArray<SkPoint>& umbraPolygon = (inset > SK_ScalarNearlyZero) ? insetPolygon in computeConvexShadow() 553 bool SkBaseShadowTessellator::computeConcaveShadow(SkScalar inset, SkScalar outset) { in computeConcaveShadow() argument [all …]
|
/external/skia/include/effects/ |
D | SkMagnifierImageFilter.h | 17 static sk_sp<SkImageFilter> Make(const SkRect& srcRect, SkScalar inset, 23 SkScalar inset,
|
/external/skqp/include/effects/ |
D | SkMagnifierImageFilter.h | 17 static sk_sp<SkImageFilter> Make(const SkRect& srcRect, SkScalar inset, 23 SkScalar inset,
|
/external/skqp/tests/ |
D | DefaultPathRendererTest.cpp | 51 static SkPath make_path(const SkRect& outer, int inset, SkPath::FillType fill) { in make_path() argument 55 p.addRect(outer.makeInset(inset, inset), SkPath::kCCW_Direction); in make_path()
|
/external/skia/tests/ |
D | DefaultPathRendererTest.cpp | 51 static SkPath make_path(const SkRect& outer, int inset, SkPath::FillType fill) { in make_path() argument 55 p.addRect(outer.makeInset(inset, inset), SkPath::kCCW_Direction); in make_path()
|