Home
last modified time | relevance | path

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

/external/skqp/gm/
Dflippity.cpp19 static const int kLabelSize = 32; variable
23 static const int kCellSize = kImageSize+2*kLabelSize;
72 const SkMatrix mat = SkMatrix::MakeRectToRect(bounds, SkRect::MakeWH(kLabelSize, kLabelSize), in make_text_image()
75 const SkImageInfo ii = SkImageInfo::MakeN32Premul(kLabelSize, kLabelSize); in make_text_image()
105 0.0 != kPoints[i].fX ? kPoints[i].fX-kLabelSize-kInset : kInset, in make_reference_image()
106 0.0 != kPoints[i].fY ? kPoints[i].fY-kLabelSize-kInset : kInset); in make_reference_image()
189 0.0f == kPoints[i].fX ? -kLabelSize : kPoints[i].fX, in drawImageWithMatrixAndLabels()
190 0.0f == kPoints[i].fY ? -kLabelSize : kPoints[i].fY); in drawImageWithMatrixAndLabels()
201 canvas->translate(kLabelSize, kLabelSize); in drawRow()
Dlightingshader2.cpp147 sk_tool_utils::create_portable_typeface("sans-serif", SkFontStyle()), kLabelSize); in onDraw()
169 canvas->translate(0.0f, kLabelSize); in onDraw()
175 canvas->translate(0.0f, kLabelSize); in onDraw()
181 canvas->translate(0.0f, kLabelSize); in onDraw()
187 canvas->translate(0.0f, kLabelSize); in onDraw()
258 static constexpr SkScalar kLabelSize = 10.0f; member in skiagm::LightingShader2GM
260 static constexpr SkScalar kGridCellWidth = kTexSize + 20.0f + kNumBooleanParams * kLabelSize;
/external/skia/gm/
Dflippity.cpp44 static const int kLabelSize = 32; variable
48 static const int kCellSize = kImageSize+2*kLabelSize;
97 const SkMatrix mat = SkMatrix::RectToRect(bounds, SkRect::MakeWH(kLabelSize, kLabelSize)); in make_text_image()
99 const SkImageInfo ii = SkImageInfo::MakeN32Premul(kLabelSize, kLabelSize); in make_text_image()
129 0.0 != kPoints[i].fX ? kPoints[i].fX-kLabelSize-kInset : kInset, in make_reference_image()
130 0.0 != kPoints[i].fY ? kPoints[i].fY-kLabelSize-kInset : kInset); in make_reference_image()
214 0.0f == kPoints[i].fX ? -kLabelSize : kPoints[i].fX, in drawImageWithMatrixAndLabels()
215 0.0f == kPoints[i].fY ? -kLabelSize : kPoints[i].fY); in drawImageWithMatrixAndLabels()
223 canvas->translate(kLabelSize, kLabelSize); in drawRow()
/external/skia/tools/viewer/
DSlideDir.cpp44 static constexpr float kLabelSize = 12.0f; variable
274 const auto size = kLabelSize / std::sqrt(dstXform.getScaleX() * dstXform.getScaleY()); in MakeLabel()
/external/skqp/tools/viewer/
DSlideDir.cpp31 static constexpr float kLabelSize = 12.0f; variable
262 const auto size = kLabelSize / std::sqrt(dstXform.getScaleX() * dstXform.getScaleY()); in MakeLabel()