Home
last modified time | relevance | path

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

/external/skia/gm/
Dshadertext2.cpp92 static SkScalar kPadX = 1.5f * kPointSize; variable
125 canvas->translate(maxLabelW + kPadX / 2.f, 0.f);
172 canvas->translate(w + kPadX, 0.f);
176 canvas->translate(kPadX / 2, 0.f);
180 SkScalar fillX = -outlinePaint.measureText(kFillLabel, strlen(kFillLabel)) - kPadX;
181 SkScalar strokeX = kPadX;
Ddrawminibitmaprect.cpp89 static const int kPadX = 30; in onDraw() local
93 canvas->translate(SkIntToScalar(kPadX), SkIntToScalar(kPadY)); in onDraw()
120 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); in onDraw()
122 if ((dstRect.width() + 2 * kPadX) * rowCount > gSize) { in onDraw()
Dtextblobmixedsizes.cpp113 static const int kPadX = SkScalarFloorToInt(bounds.width() / 3); in onDraw() local
117 canvas->translate(SkIntToScalar(kPadX), SkIntToScalar(kPadY)); in onDraw()
150 canvas->translate(bounds.width() + SK_Scalar1 * kPadX, 0); in onDraw()
152 if ((bounds.width() + 2 * kPadX) * rowCount > kWidth) { in onDraw()
Dcomplexclip2.cpp38 fTotalWidth = kCols * fWidth + SK_Scalar1 * (kCols + 1) * kPadX; in ComplexClip2GM()
107 static const int kPadX = 20; member in skiagm::ComplexClip2GM
152 canvas->translate(kPadX * SK_Scalar1 + (fWidth + kPadX * SK_Scalar1)*j, in onDraw()
Ddrawbitmaprect.cpp150 static const int kPadX = 30; in onDraw() local
155 canvas->translate(SK_Scalar1 * kPadX / 2, in onDraw()
192 canvas->translate(dstRect.width() + SK_Scalar1 * kPadX, 0); in onDraw()
194 if ((dstRect.width() + kPadX) * rowCount > gSize) { in onDraw()