Home
last modified time | relevance | path

Searched refs:kTextHeight (Results 1 – 6 of 6) sorted by relevance

/external/skia/gm/
Dglyph_pos_align.cpp17 constexpr SkScalar kTextHeight = 64.0f; variable
24 paint.setTextSize(kTextHeight); in DEF_SIMPLE_GM_BG()
31 drawTestCase(canvas, "Right Align", kTextHeight, paint); in DEF_SIMPLE_GM_BG()
34 drawTestCase(canvas, "Center Align", 4 * kTextHeight, paint); in DEF_SIMPLE_GM_BG()
37 drawTestCase(canvas, "Left Align", 7 * kTextHeight, paint); in DEF_SIMPLE_GM_BG()
57 float x = kTextHeight; in drawTestCase()
60 pos[i].set(posX[i], i ? pos[i - 1].y() + 3 : y + kTextHeight); in drawTestCase()
Dglyph_pos.cpp18 constexpr SkScalar kTextHeight = 14.0f; variable
86 paint.setTextSize(kTextHeight * textScale); in drawTestCase()
/external/skqp/gm/
Dglyph_pos_align.cpp17 constexpr SkScalar kTextHeight = 64.0f; variable
24 paint.setTextSize(kTextHeight); in DEF_SIMPLE_GM_BG()
31 drawTestCase(canvas, "Right Align", kTextHeight, paint); in DEF_SIMPLE_GM_BG()
34 drawTestCase(canvas, "Center Align", 4 * kTextHeight, paint); in DEF_SIMPLE_GM_BG()
37 drawTestCase(canvas, "Left Align", 7 * kTextHeight, paint); in DEF_SIMPLE_GM_BG()
57 float x = kTextHeight; in drawTestCase()
60 pos[i].set(posX[i], i ? pos[i - 1].y() + 3 : y + kTextHeight); in drawTestCase()
Dglyph_pos.cpp18 constexpr SkScalar kTextHeight = 14.0f; variable
86 paint.setTextSize(kTextHeight * textScale); in drawTestCase()
/external/skqp/tools/viewer/
DStatsLayer.cpp67 static const int kTextHeight = 60; in onPaint() local
68 static const int kDisplayHeight = kGraphHeight + kTextHeight; in onPaint()
104 int endY = SkTMax(startY - height, kDisplayPadding + kTextHeight); in onPaint()
/external/skia/tools/viewer/
DStatsLayer.cpp67 static const int kTextHeight = 60; in onPaint() local
68 static const int kDisplayHeight = kGraphHeight + kTextHeight; in onPaint()
104 int endY = SkTMax(startY - height, kDisplayPadding + kTextHeight); in onPaint()