Home
last modified time | relevance | path

Searched refs:kPadX (Results 1 – 5 of 5) sorted by relevance

/external/skia/gm/
Dshadertext2.cpp93 static SkScalar kPadX = 1.5f * kPointSize; variable
126 canvas->translate(maxLabelW + kPadX / 2.f, 0.f);
171 canvas->translate(w + kPadX, 0.f);
175 canvas->translate(kPadX / 2, 0.f);
179 SkScalar fillX = -outlinePaint.measureText(kFillLabel, strlen(kFillLabel)) - kPadX;
180 SkScalar strokeX = kPadX;
Ddrawminibitmaprect.cpp90 constexpr int kPadX = 30; in onDraw() local
94 canvas->translate(SkIntToScalar(kPadX), SkIntToScalar(kPadY)); in onDraw()
121 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); in onDraw()
123 if ((dstRect.width() + 2 * kPadX) * rowCount > gSize) { in onDraw()
Dtextblobmixedsizes.cpp122 const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw() local
126 canvas->translate(SkIntToScalar(kPadX), SkIntToScalar(kPadY)); in onDraw()
158 canvas->translate(bounds.width() + SK_Scalar1 * kPadX, 0); in onDraw()
160 if ((bounds.width() + 2 * kPadX) * rowCount > kWidth) { in onDraw()
Dcomplexclip2.cpp38 fTotalWidth = kCols * fWidth + SK_Scalar1 * (kCols + 1) * kPadX; in ComplexClip2GM()
107 static constexpr int kPadX = 20; member in skiagm::ComplexClip2GM
152 canvas->translate(kPadX * SK_Scalar1 + (fWidth + kPadX * SK_Scalar1)*j, in onDraw()
Ddrawbitmaprect.cpp169 const int kPadX = 30; in onDraw() local
174 canvas->translate(SK_Scalar1 * kPadX / 2, in onDraw()
211 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); in onDraw()
213 if ((dstRect.width() + kPadX) * rowCount > gSize) { in onDraw()