Home
last modified time | relevance | path

Searched refs:inset (Results 1 – 25 of 89) sorted by relevance

1234

/external/skia/src/gpu/
DGrAARectRenderer.cpp219 SkScalar inset = SkMinScalar(devRect.width(), SK_Scalar1); in generateAAFillRectGeometry() local
220 inset = SK_ScalarHalf * SkMinScalar(inset, devRect.height()); in generateAAFillRectGeometry()
224 set_inset_fan(fan1Pos, vertexStride, devRect, inset, inset); in generateAAFillRectGeometry()
276 if (inset < SK_ScalarHalf) { in generateAAFillRectGeometry()
277 scale = SkScalarFloorToInt(512.0f * inset / (inset + SK_ScalarHalf)); in generateAAFillRectGeometry()
382 devInside.inset(rx, ry); in strokeAARect()
390 devOutside.inset(0, ry); in strokeAARect()
685 SkScalar inset = SkMinScalar(SK_Scalar1, devOutside.fRight - devInside.fRight); in generateAAStrokeRectGeometry() local
686 inset = SkMinScalar(inset, devInside.fLeft - devOutside.fLeft); in generateAAStrokeRectGeometry()
687 inset = SkMinScalar(inset, devInside.fTop - devOutside.fTop); in generateAAStrokeRectGeometry()
[all …]
/external/doclava/res/assets/templates/
Dtodo.cs17 border-style: inset inset inset inset;
24 border-style: inset inset inset inset;
/external/skia/src/gpu/effects/
DGrTextureDomain.h76 SkScalar inset = (mode == kClamp_Mode && !texelRect.isEmpty()) ? SK_ScalarHalf : 0; in MakeTexelDomainForMode() local
78 (texelRect.fLeft + inset) * wInv, in MakeTexelDomainForMode()
79 (texelRect.fTop + inset) * hInv, in MakeTexelDomainForMode()
80 (texelRect.fRight - inset) * wInv, in MakeTexelDomainForMode()
81 (texelRect.fBottom - inset) * hInv in MakeTexelDomainForMode()
/external/skia/gm/
Dstrokes.cpp141 static SkRect inset(const SkRect& r) { in inset() function
143 rr.inset(r.width()/10, r.height()/10); in inset()
150 path->addRect(inset(bounds), SkPath::kCW_Direction); in make0()
156 path->addRect(inset(bounds), SkPath::kCCW_Direction); in make1()
162 path->addOval(inset(bounds), SkPath::kCW_Direction); in make2()
168 path->addOval(inset(bounds), SkPath::kCCW_Direction); in make3()
175 r.inset(bounds.width() / 10, -bounds.height() / 10); in make4()
183 r.inset(bounds.width() / 10, -bounds.height() / 10); in make5()
Dpathinterior.cpp15 static SkRect inset(const SkRect& r) { in inset() function
17 rect.inset(r.width() / 8, r.height() / 8); in inset()
78 SkRect r = insetFirst ? inset(rect) : rect; in onDraw()
84 r = insetFirst ? rect : inset(rect); in onDraw()
Daddarc.cpp33 const SkScalar inset = paint.getStrokeWidth() + 4; in onDraw() local
49 r.inset(inset, inset); in onDraw()
149 r.inset(delta, delta); in onDraw()
Drrect.cpp18 r.inset(dx, dy); in inset0()
38 r.inset(dx, dy); in inset1()
54 r.inset(dx, dy); in inset2()
82 r.inset(dx, dy); in inset3()
Dlerpmode.cpp25 r.inset(20, 0); in show_circlelayers()
30 r.inset(0, 20); in show_circlelayers()
Daaclip.cpp29 target.inset(SkIntToScalar(-2), SkIntToScalar(-2)); in draw()
31 target.inset(SkIntToScalar(2), SkIntToScalar(2)); in draw()
34 target.inset(SkIntToScalar(-4), SkIntToScalar(-4)); in draw()
Dresizeimagefilter.cpp51 ovalRect.inset(SkIntToScalar(4), SkIntToScalar(4)); in draw()
99 ovalRect.inset(SkIntToScalar(2)/3, SkIntToScalar(2)/3); in onDraw()
Dstrokefill.cpp85 r.inset(SkIntToScalar(10), SkIntToScalar(10)); in onDraw()
94 r.inset(SkIntToScalar(10), SkIntToScalar(10)); in onDraw()
Dlumafilter.cpp44 r.inset(kInset, 0); in draw_scene()
61 r.inset(0, kInset); in draw_scene()
/external/skia/include/core/
DSkRRect.h216 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
218 void inset(SkScalar dx, SkScalar dy) { in inset() function
219 this->inset(dx, dy, this); in inset()
231 this->inset(-dx, -dy, dst); in outset()
234 this->inset(-dx, -dy, this); in outset()
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp223 uint32_t inset = random->nextULessThan(kMaxInset); in TestCreate() local
232 (float) inset / texture->width(), in TestCreate()
233 (float) inset / texture->height()); in TestCreate()
259 SkImageFilter* SkMagnifierImageFilter::Create(const SkRect& srcRect, SkScalar inset, in Create() argument
262 if (!SkScalarIsFinite(inset) || !SkIsValidRect(srcRect)) { in Create()
269 return SkNEW_ARGS(SkMagnifierImageFilter, (srcRect, inset, input)); in Create()
273 SkMagnifierImageFilter::SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset, in SkMagnifierImageFilter() argument
275 : INHERITED(1, &input), fSrcRect(srcRect), fInset(inset) { in SkMagnifierImageFilter()
276 SkASSERT(srcRect.x() >= 0 && srcRect.y() >= 0 && inset >= 0); in SkMagnifierImageFilter()
DSkGpuBlurUtils.cpp116 middleSrcRect.inset(rad, 0); in convolve_gaussian()
117 middleDstRect.inset(rad, 0); in convolve_gaussian()
126 middleSrcRect.inset(0, rad); in convolve_gaussian()
127 middleDstRect.inset(0, rad); in convolve_gaussian()
207 domain.inset(i < scaleFactorX ? SK_ScalarHalf / srcTexture->width() : 0.0f, in GaussianBlur()
/external/skia/include/effects/
DSkMagnifierImageFilter.h17 static SkImageFilter* Create(const SkRect& src, SkScalar inset, SkImageFilter* input = NULL);
23 SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset, SkImageFilter* input);
/external/skia/bench/
DRegionBench.cpp40 r.inset(r.width()/4, r.height()/4); in containsrect_proc()
44 r.inset(r.width()/4, r.height()/4); in containsrect_proc()
54 r.inset(r.width()/4, r.height()/4); in sectsrect_proc()
/external/okhttp/website/static/
Dbootstrap-combined.min.css9inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:ins…
18inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rg…
/external/skia/samplecode/
DSampleAAClip.cpp81 bounds.inset(SK_ScalarHalf, SK_ScalarHalf); in onDrawContent()
106 r.inset(20, 20); in onDrawContent()
DSampleColorFilter.cpp96 r.inset(SK_Scalar1, SK_Scalar1); in createBitmap()
104 r.inset(SK_Scalar1*n/4, SK_Scalar1*n/4); in createBitmap()
/external/skia/tests/
DRecordDrawTest.cpp147 SkRect inset(a), outset(a); in sloppy_rect_eq() local
148 inset.inset(1, 1); in sloppy_rect_eq()
150 return outset.contains(b) && !inset.contains(b); in sloppy_rect_eq()
DPaintTest.cpp196 SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ? in DEF_TEST() local
199 maxR.inset(-inset, -inset); in DEF_TEST()
DRegionTest.cpp146 r.inset(-1, -1); in test_contains_iter()
161 r.inset(r.width()/4, r.height()/4); in contains_proc()
175 r.inset(-1, -1); in test_intersects_iter()
/external/chromium-trace/trace-viewer/tracing/third_party/mocha/
Dmocha.css93 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
94 -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
95 box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
/external/skia/tools/skpdiff/
Dviewer_style.css35 box-shadow: inset 0 0 8px -2px black;
51 box-shadow: inset 0 0 8px -2px black, 0 0 6px black;

1234