Searched refs:kMargin (Results 1 – 9 of 9) sorted by relevance
/external/skqp/gm/ |
D | tallstretchedbitmaps.cpp | 16 constexpr int kMargin = 8; in make_bm() local 22 int count = (height / (2 * kRadius + kMargin)); in make_bm() 23 height = count * (2 * kRadius + kMargin); in make_bm() 25 bm->allocN32Pixels(2 * (kRadius + kMargin), height); in make_bm() 36 SkIRect subRect = SkIRect::MakeXYWH(0, i * (kMargin + 2 * kRadius), in make_bm() 37 2 * kRadius + kMargin, 2 * kRadius + kMargin); in make_bm() 40 canvas.translate(kMargin + kRadius, kMargin + kRadius); in make_bm()
|
D | hairlines.cpp | 170 kMargin = 5, in onDraw() enumerator 172 int wrapX = 1250 - kMargin; in onDraw() 175 canvas->translate(SkIntToScalar(kMargin), SkIntToScalar(kMargin)); in onDraw() 178 SkScalar x = SkIntToScalar(kMargin); in onDraw() 187 canvas->translate(0, maxH + SkIntToScalar(kMargin)); in onDraw() 190 x = SkIntToScalar(kMargin); in onDraw() 206 SkScalar dx = bounds.width() + SkIntToScalar(kMargin); in onDraw()
|
D | aaxfermodes.cpp | 21 kMargin = kShapeSpacing / 2, enumerator 63 return SkISize::Make(2 * kMargin + 2 * kXfermodeTypeSpacing - in onISize() 65 2 * kMargin + kTitleSpacing + kSubtitleSpacing + in onISize() 100 canvas->translate(kMargin, kMargin); in draw_pass() 176 canvas->translate(kMargin, kMargin); in onDraw()
|
D | convexpolyclip.cpp | 143 constexpr SkScalar kMargin = 10.f; in onDraw() local 180 x += fBmp.width() + kMargin; in onDraw() 209 x += textW + 2 * kMargin; in onDraw() 211 y += fBmp.height() + kMargin; in onDraw() 214 startX += 2 * fBmp.width() + SkScalarCeilToInt(2 * textW) + 6 * kMargin; in onDraw()
|
/external/skia/gm/ |
D | tallstretchedbitmaps.cpp | 16 constexpr int kMargin = 8; in make_bm() local 22 int count = (height / (2 * kRadius + kMargin)); in make_bm() 23 height = count * (2 * kRadius + kMargin); in make_bm() 25 bm->allocN32Pixels(2 * (kRadius + kMargin), height); in make_bm() 36 SkIRect subRect = SkIRect::MakeXYWH(0, i * (kMargin + 2 * kRadius), in make_bm() 37 2 * kRadius + kMargin, 2 * kRadius + kMargin); in make_bm() 40 canvas.translate(kMargin + kRadius, kMargin + kRadius); in make_bm()
|
D | hairlines.cpp | 170 kMargin = 5, in onDraw() enumerator 172 int wrapX = 1250 - kMargin; in onDraw() 175 canvas->translate(SkIntToScalar(kMargin), SkIntToScalar(kMargin)); in onDraw() 178 SkScalar x = SkIntToScalar(kMargin); in onDraw() 187 canvas->translate(0, maxH + SkIntToScalar(kMargin)); in onDraw() 190 x = SkIntToScalar(kMargin); in onDraw() 206 SkScalar dx = bounds.width() + SkIntToScalar(kMargin); in onDraw()
|
D | aaxfermodes.cpp | 22 kMargin = kShapeSpacing / 2, enumerator 64 return SkISize::Make(2 * kMargin + 2 * kXfermodeTypeSpacing - in onISize() 66 2 * kMargin + kTitleSpacing + kSubtitleSpacing + in onISize() 101 canvas->translate(kMargin, kMargin); in draw_pass() 177 canvas->translate(kMargin, kMargin); in onDraw()
|
D | convexpolyclip.cpp | 143 constexpr SkScalar kMargin = 10.f; in onDraw() local 180 x += fBmp.width() + kMargin; in onDraw() 209 x += textW + 2 * kMargin; in onDraw() 211 y += fBmp.height() + kMargin; in onDraw() 214 startX += 2 * fBmp.width() + SkScalarCeilToInt(2 * textW) + 6 * kMargin; in onDraw()
|
/external/brotli/c/enc/ |
D | backward_references_inc.h | 129 const size_t kMargin = in EXPORT_FN() local 132 BROTLI_MIN(size_t, position + 16, pos_end - kMargin); in EXPORT_FN() 138 const size_t kMargin = in EXPORT_FN() local 141 BROTLI_MIN(size_t, position + 8, pos_end - kMargin); in EXPORT_FN()
|