Home
last modified time | relevance | path

Searched refs:drawString (Results 1 – 25 of 259) sorted by relevance

1234567891011

/external/skqp/gm/
Dcolorwheel.cpp48 canvas->drawString("R", 8.0f, 20.0f, font, paint);
50 canvas->drawString("G", 24.0f, 20.0f, font, paint);
52 canvas->drawString("B", 40.0f, 20.0f, font, paint);
54 canvas->drawString("C", 56.0f, 20.0f, font, paint);
56 canvas->drawString("M", 72.0f, 20.0f, font, paint);
58 canvas->drawString("Y", 88.0f, 20.0f, font, paint);
60 canvas->drawString("K", 104.0f, 20.0f, font, paint);
Dgradtext.cpp61 canvas->drawString("I", 0, 100, font, paint); in onDraw()
82 canvas->drawString("Normal Fill Text", 0, 50, font, paint); in onDraw()
84 canvas->drawString("Normal Stroke Text", 0, 100, font, paint); in onDraw()
90 canvas->drawString("Gradient Fill Text", 0, 150, font, paint); in onDraw()
92 canvas->drawString("Gradient Stroke Text", 0, 200, font, paint); in onDraw()
124 canvas->drawString("When in the course of human events", 0, 0, font, paint);
Dgamma.cpp64 auto drawString = [&](const char str[], SkScalar x, SkScalar y) { in __anonfc7ec5bf0202() variable
70 drawString(label, 0, sz + font.getSpacing()); in __anonfc7ec5bf0302()
72 drawString(label2, 0, sz + 2 * font.getSpacing()); in __anonfc7ec5bf0302()
79 drawString(label, 0, sz + font.getSpacing()); in __anonfc7ec5bf0402()
92 drawString(srcText.c_str(), 0, sz + font.getSpacing()); in __anonfc7ec5bf0502()
94 drawString(modeName, 0, sz + 2 * font.getSpacing()); in __anonfc7ec5bf0502()
95 drawString(dstText.c_str(), 0, sz + 3 * font.getSpacing()); in __anonfc7ec5bf0502()
Dfontmgr.cpp22 static SkScalar drawString(SkCanvas* canvas, const SkString& text, SkScalar x, in drawString() function
24 canvas->drawString(text, x, y, font, SkPaint()); in drawString()
39 x = drawString(canvas, ch, x, y, font) + 20; in drawCharacter()
51 return drawString(canvas, ch, x, y, font) + 20; in drawCharacter()
90 (void)drawString(canvas, familyName, 20, y, font); in onDraw()
102 x = drawString(canvas, sname, x, y, font) + 20; in onDraw()
151 (void)drawString(canvas, sname, 0, y, f); in iterateFamily()
168 (void)drawString(canvas, str, 0, y, f); in exploreFamily()
281 canvas->drawString(name, fontBounds.fLeft, fontBounds.fBottom, labelFont, SkPaint()); in show_bounds()
295 canvas->drawString(glyphStr, location[i].fX, location[i].fY, labelFont, SkPaint()); in show_bounds()
Dquadpaths.cpp92 canvas->drawString(title, 20.0f, 20.0f, font, titlePaint); in onDraw()
128 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
130 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24.0f, in onDraw()
132 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36.0f, in onDraw()
222 canvas->drawString(title, 20.0f, 20.0f, font, titlePaint); in onDraw()
258 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
260 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24.0f, in onDraw()
262 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36.0f, in onDraw()
Dimage.cpp118 canvas->drawString("Original Img", 10, 60, font, SkPaint()); in onDraw()
119 canvas->drawString("Modified Img", 10, 140, font, SkPaint()); in onDraw()
120 canvas->drawString("Cur Surface", 10, 220, font, SkPaint()); in onDraw()
121 canvas->drawString("Full Crop", 10, 300, font, SkPaint()); in onDraw()
122 canvas->drawString("Over-crop", 10, 380, font, SkPaint()); in onDraw()
123 canvas->drawString("Upper-left", 10, 460, font, SkPaint()); in onDraw()
124 canvas->drawString("No Crop", 10, 540, font, SkPaint()); in onDraw()
126 canvas->drawString("Pre-Alloc Img", 80, 10, font, SkPaint()); in onDraw()
127 canvas->drawString("New Alloc Img", 160, 10, font, SkPaint()); in onDraw()
128 canvas->drawString( "GPU", 265, 10, font, SkPaint()); in onDraw()
Ddegeneratesegments.cpp296 canvas->drawString(title, 20, 20, font, titlePaint); in onDraw()
349 canvas->drawString(style.fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
350 canvas->drawString(fill.fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
351 canvas->drawString(cap.fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
352 canvas->drawString(gSegmentNames[s1], 0, rect.height() + 48, font, labelPaint); in onDraw()
353 canvas->drawString(gSegmentNames[s2], 0, rect.height() + 60, font, labelPaint); in onDraw()
354 canvas->drawString(gSegmentNames[s3], 0, rect.height() + 72, font, labelPaint); in onDraw()
355 canvas->drawString(gSegmentNames[s4], 0, rect.height() + 84, font, labelPaint); in onDraw()
356 canvas->drawString(gSegmentNames[s5], 0, rect.height() + 96, font, labelPaint); in onDraw()
Dblurimagevmask.cpp23 canvas->drawString("mask blur", 285, 50, font, paint);
24 canvas->drawString("image blur", 285 + 250, 50, font, paint);
34 canvas->drawString(out, r.left(), r.bottom() + 35, font, paint);
/external/skia/gm/
Dcolorwheel.cpp48 canvas->drawString("R", 8.0f, 20.0f, font, paint);
50 canvas->drawString("G", 24.0f, 20.0f, font, paint);
52 canvas->drawString("B", 40.0f, 20.0f, font, paint);
54 canvas->drawString("C", 56.0f, 20.0f, font, paint);
56 canvas->drawString("M", 72.0f, 20.0f, font, paint);
58 canvas->drawString("Y", 88.0f, 20.0f, font, paint);
60 canvas->drawString("K", 104.0f, 20.0f, font, paint);
Dgradtext.cpp61 canvas->drawString("I", 0, 100, font, paint); in onDraw()
82 canvas->drawString("Normal Fill Text", 0, 50, font, paint); in onDraw()
84 canvas->drawString("Normal Stroke Text", 0, 100, font, paint); in onDraw()
90 canvas->drawString("Gradient Fill Text", 0, 150, font, paint); in onDraw()
92 canvas->drawString("Gradient Stroke Text", 0, 200, font, paint); in onDraw()
124 canvas->drawString("When in the course of human events", 0, 0, font, paint);
Dgamma.cpp64 auto drawString = [&](const char str[], SkScalar x, SkScalar y) { in __anon697ff7480202() variable
70 drawString(label, 0, sz + font.getSpacing()); in __anon697ff7480302()
72 drawString(label2, 0, sz + 2 * font.getSpacing()); in __anon697ff7480302()
79 drawString(label, 0, sz + font.getSpacing()); in __anon697ff7480402()
92 drawString(srcText.c_str(), 0, sz + font.getSpacing()); in __anon697ff7480502()
94 drawString(modeName, 0, sz + 2 * font.getSpacing()); in __anon697ff7480502()
95 drawString(dstText.c_str(), 0, sz + 3 * font.getSpacing()); in __anon697ff7480502()
Dfontmgr.cpp22 static SkScalar drawString(SkCanvas* canvas, const SkString& text, SkScalar x, in drawString() function
24 canvas->drawString(text, x, y, font, SkPaint()); in drawString()
39 x = drawString(canvas, ch, x, y, font) + 20; in drawCharacter()
51 return drawString(canvas, ch, x, y, font) + 20; in drawCharacter()
89 (void)drawString(canvas, familyName, 20, y, font); in onDraw()
101 x = drawString(canvas, sname, x, y, font) + 20; in onDraw()
148 (void)drawString(canvas, sname, 0, y, f); in iterateFamily()
165 (void)drawString(canvas, str, 0, y, f); in exploreFamily()
279 canvas->drawString(name, fontBounds.fLeft, fontBounds.fBottom, labelFont, SkPaint()); in show_bounds()
293 canvas->drawString(glyphStr, location[i].fX, location[i].fY, labelFont, SkPaint()); in show_bounds()
Ddaa.cpp23 canvas->drawString("Should be a green square with no red showing through.",
42 canvas->drawString("Adjacent rects, two draws. Blue then green, no red?",
70 canvas->drawString("Adjacent rects, wound together. All green?",
92 canvas->drawString("Adjacent rects, wound opposite. All green?",
114 canvas->drawString("One poly, wound opposite. All green?",
Dquadpaths.cpp92 canvas->drawString(title, 20.0f, 20.0f, font, titlePaint); in onDraw()
128 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
130 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24.0f, in onDraw()
132 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36.0f, in onDraw()
222 canvas->drawString(title, 20.0f, 20.0f, font, titlePaint); in onDraw()
258 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
260 canvas->drawString(gFills[fill].fName, 0, rect.height() + 24.0f, in onDraw()
262 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36.0f, in onDraw()
Dimage.cpp118 canvas->drawString("Original Img", 10, 60, font, SkPaint()); in onDraw()
119 canvas->drawString("Modified Img", 10, 140, font, SkPaint()); in onDraw()
120 canvas->drawString("Cur Surface", 10, 220, font, SkPaint()); in onDraw()
121 canvas->drawString("Full Crop", 10, 300, font, SkPaint()); in onDraw()
122 canvas->drawString("Over-crop", 10, 380, font, SkPaint()); in onDraw()
123 canvas->drawString("Upper-left", 10, 460, font, SkPaint()); in onDraw()
124 canvas->drawString("No Crop", 10, 540, font, SkPaint()); in onDraw()
126 canvas->drawString("Pre-Alloc Img", 80, 10, font, SkPaint()); in onDraw()
127 canvas->drawString("New Alloc Img", 160, 10, font, SkPaint()); in onDraw()
128 canvas->drawString( "GPU", 265, 10, font, SkPaint()); in onDraw()
Ddegeneratesegments.cpp296 canvas->drawString(title, 20, 20, font, titlePaint); in onDraw()
349 canvas->drawString(style.fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
350 canvas->drawString(fill.fName, 0, rect.height() + 24, font, labelPaint); in onDraw()
351 canvas->drawString(cap.fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
352 canvas->drawString(gSegmentNames[s1], 0, rect.height() + 48, font, labelPaint); in onDraw()
353 canvas->drawString(gSegmentNames[s2], 0, rect.height() + 60, font, labelPaint); in onDraw()
354 canvas->drawString(gSegmentNames[s3], 0, rect.height() + 72, font, labelPaint); in onDraw()
355 canvas->drawString(gSegmentNames[s4], 0, rect.height() + 84, font, labelPaint); in onDraw()
356 canvas->drawString(gSegmentNames[s5], 0, rect.height() + 96, font, labelPaint); in onDraw()
Dblurimagevmask.cpp23 canvas->drawString("mask blur", 285, 50, font, paint);
24 canvas->drawString("image blur", 285 + 250, 50, font, paint);
34 canvas->drawString(out, r.left(), r.bottom() + 35, font, paint);
/external/skqp/tests/
DPDFTaggedTest.cpp111 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
117 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
123 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
128 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
133 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
138 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
143 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
153 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
160 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
DDrawTextTest.cpp91 drawTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST()
100 drawDashedTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST()
118 canvas->drawString("a", +x, 0.0f, SkFont(), SkPaint()); in DEF_TEST()
119 canvas->drawString("a", -x, 0.0f, SkFont(), SkPaint()); in DEF_TEST()
122 canvas->drawString("a", 0.0f, +y, SkFont(), SkPaint()); in DEF_TEST()
123 canvas->drawString("a", 0.0f, -y, SkFont(), SkPaint()); in DEF_TEST()
160 canvas->drawString("Hamburgefons", 10, 10, font, SkPaint()); in DEF_TEST()
/external/skia/tests/
DPDFTaggedTest.cpp111 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
117 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
123 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
128 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
133 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
138 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
143 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
153 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
160 canvas->drawString(message, 0, 0, font, paint); in DEF_TEST()
DDrawTextTest.cpp91 drawTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST()
100 drawDashedTextCanvas.drawString("A", point.fX, point.fY, font, paint); in DEF_TEST()
118 canvas->drawString("a", +x, 0.0f, SkFont(), SkPaint()); in DEF_TEST()
119 canvas->drawString("a", -x, 0.0f, SkFont(), SkPaint()); in DEF_TEST()
122 canvas->drawString("a", 0.0f, +y, SkFont(), SkPaint()); in DEF_TEST()
123 canvas->drawString("a", 0.0f, -y, SkFont(), SkPaint()); in DEF_TEST()
160 canvas->drawString("Hamburgefons", 10, 10, font, SkPaint()); in DEF_TEST()
/external/skia/tools/viewer/
DSkottieSlide.cpp37 canvas->drawString(json_size, kR.x() + 10, kR.y() + kTextSize * 1, font, paint); in draw_stats_box()
40 canvas->drawString(animator_count, kR.x() + 10, kR.y() + kTextSize * 2, font, paint); in draw_stats_box()
43 canvas->drawString(json_parse_time, kR.x() + 10, kR.y() + kTextSize * 3, font, paint); in draw_stats_box()
46 canvas->drawString(scene_parse_time, kR.x() + 10, kR.y() + kTextSize * 4, font, paint); in draw_stats_box()
49 canvas->drawString(total_load_time, kR.x() + 10, kR.y() + kTextSize * 5, font, paint); in draw_stats_box()
/external/skqp/tools/viewer/
DSkottieSlide.cpp37 canvas->drawString(json_size, kR.x() + 10, kR.y() + kTextSize * 1, font, paint); in draw_stats_box()
40 canvas->drawString(animator_count, kR.x() + 10, kR.y() + kTextSize * 2, font, paint); in draw_stats_box()
43 canvas->drawString(json_parse_time, kR.x() + 10, kR.y() + kTextSize * 3, font, paint); in draw_stats_box()
46 canvas->drawString(scene_parse_time, kR.x() + 10, kR.y() + kTextSize * 4, font, paint); in draw_stats_box()
49 canvas->drawString(total_load_time, kR.x() + 10, kR.y() + kTextSize * 5, font, paint); in draw_stats_box()
/external/skia/docs/
DSkRRect_Reference.bmh237 canvas->drawString(typeStr[(int) rrect.type()], rect.centerX(), rect.bottom() + 20, paint);
277 canvas->drawString(str.c_str(), 20, 80, SkPaint());
309 canvas->drawString(str.c_str(), 20, 80, SkPaint());
333 canvas->drawString(rrect.isEmpty() ? "empty" : "not empty", 64, 90, paint);
337 canvas->drawString(rrect.isEmpty() ? "empty" : "not empty", 64, 90, paint);
358 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
363 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
390 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint);
394 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint);
417 canvas->drawString(rrect.isSimple() ? "simple" : "not simple", 64, 90, paint);
[all …]
/external/skqp/docs/
DSkRRect_Reference.bmh237 canvas->drawString(typeStr[(int) rrect.type()], rect.centerX(), rect.bottom() + 20, paint);
277 canvas->drawString(str.c_str(), 20, 80, SkPaint());
309 canvas->drawString(str.c_str(), 20, 80, SkPaint());
333 canvas->drawString(rrect.isEmpty() ? "empty" : "not empty", 64, 90, paint);
337 canvas->drawString(rrect.isEmpty() ? "empty" : "not empty", 64, 90, paint);
358 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
363 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
390 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint);
394 canvas->drawString(rrect.isOval() ? "oval" : "not oval", 64, 90, paint);
417 canvas->drawString(rrect.isSimple() ? "simple" : "not simple", 64, 90, paint);
[all …]

1234567891011