Searched refs:kSpacer (Results 1 – 2 of 2) sorted by relevance
/external/skia/gm/ |
D | anisotropic.cpp | 24 return SkISize::Make(2*kImageSize + 3*kSpacer, in onISize() 25 kNumVertImages*kImageSize + (kNumVertImages+1)*kSpacer); in onISize() 72 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 75 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height; in onDraw() 78 this->draw(canvas, kSpacer, yOff, fBM.width(), height); in onDraw() 87 xOff = fBM.width() + 2*kSpacer; in onDraw() 88 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 91 xOff = fBM.width() + 2*kSpacer + fBM.width() - width; in onDraw() 92 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer); in onDraw() 101 static constexpr int kSpacer = 10; member in skiagm::AnisotropicGM
|
/external/skqp/gm/ |
D | anisotropic.cpp | 24 return SkISize::Make(2*kImageSize + 3*kSpacer, in onISize() 25 kNumVertImages*kImageSize + (kNumVertImages+1)*kSpacer); in onISize() 72 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 75 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height; in onDraw() 78 this->draw(canvas, kSpacer, yOff, fBM.width(), height); in onDraw() 87 xOff = fBM.width() + 2*kSpacer; in onDraw() 88 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 91 xOff = fBM.width() + 2*kSpacer + fBM.width() - width; in onDraw() 92 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer); in onDraw() 101 static constexpr int kSpacer = 10; member in skiagm::AnisotropicGM
|