Home
last modified time | relevance | path

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

123456

/external/skia/gm/
Dcolorwheel.cpp49 canvas->drawString("R", 8.0f, 20.0f, paint);
51 canvas->drawString("G", 24.0f, 20.0f, paint);
53 canvas->drawString("B", 40.0f, 20.0f, paint);
55 canvas->drawString("C", 56.0f, 20.0f, paint);
57 canvas->drawString("M", 72.0f, 20.0f, paint);
59 canvas->drawString("Y", 88.0f, 20.0f, paint);
61 canvas->drawString("K", 104.0f, 20.0f, paint);
Dlcdtext.cpp61 canvas->drawString(string, 0, y, paint); in drawText()
123 canvas->drawString(rec[i].fText, loc.x(), loc.y(), paint); in onDraw()
141 canvas->drawString("Hamburgefons", 30, 30, paint);
152 canvas->drawString("LCD not supported", 30, 60, noLCD);
154 canvas->drawString("Hamburgefons", 30, 60, paint);
160 canvas->drawString("Hamburgefons", 30, 90, paint);
Dimage.cpp153 canvas->drawString(kLabel1, 10, 60, textPaint); in onDraw()
154 canvas->drawString(kLabel2, 10, 140, textPaint); in onDraw()
155 canvas->drawString(kLabel3, 10, 220, textPaint); in onDraw()
156 canvas->drawString(kLabel4, 10, 300, textPaint); in onDraw()
157 canvas->drawString(kLabel5, 10, 380, textPaint); in onDraw()
158 canvas->drawString(kLabel6, 10, 460, textPaint); in onDraw()
159 canvas->drawString(kLabel7, 10, 540, textPaint); in onDraw()
161 canvas->drawString(kLabel8, 80, 10, textPaint); in onDraw()
162 canvas->drawString(kLabel9, 160, 10, textPaint); in onDraw()
163 canvas->drawString(kLabel10, 265, 10, textPaint); in onDraw()
Dgradtext.cpp60 canvas->drawString("I", 0, 100, paint); in onDraw()
80 canvas->drawString("Normal Fill Text", 0, 50, paint); in onDraw()
82 canvas->drawString("Normal Stroke Text", 0, 100, paint); in onDraw()
88 canvas->drawString("Gradient Fill Text", 0, 150, paint); in onDraw()
90 canvas->drawString("Gradient Stroke Text", 0, 200, paint); in onDraw()
Dfontmgr.cpp22 static SkScalar drawString(SkCanvas* canvas, const SkString& text, SkScalar x, in drawString() function
24 canvas->drawString(text, x, y, paint); in drawString()
38 x = drawString(canvas, ch, x, y, paint) + 20; in drawCharacter()
51 return drawString(canvas, ch, x, y, paint) + 20; in drawCharacter()
97 (void)drawString(canvas, familyName, 20, y, paint); in onDraw()
109 x = drawString(canvas, sname, x, y, paint) + 20; in onDraw()
160 (void)drawString(canvas, sname, 0, y, p); in iterateFamily()
178 (void)drawString(canvas, str, 0, y, p); in exploreFamily()
Dquadpaths.cpp93 canvas->drawString(title, in onDraw()
135 canvas->drawString(gStyles[style].fName, in onDraw()
138 canvas->drawString(gFills[fill].fName, in onDraw()
141 canvas->drawString(gCaps[cap].fName, in onDraw()
234 canvas->drawString(title, in onDraw()
276 canvas->drawString(gStyles[style].fName, in onDraw()
279 canvas->drawString(gFills[fill].fName, in onDraw()
282 canvas->drawString(gCaps[cap].fName, in onDraw()
Dblurimagevmask.cpp26 canvas->drawString("mask blur", 285, 50, textPaint);
27 canvas->drawString("image blur", 285 + 250, 50, textPaint);
37 canvas->drawString(out, r.left(), r.bottom() + 35, textPaint);
Dgamma.cpp66 canvas->drawString(label, 0, sz + textPaint.getFontSpacing(), textPaint); in __anon8313177e0202()
68 canvas->drawString(label2, 0, sz + 2 * textPaint.getFontSpacing(), in __anon8313177e0202()
76 canvas->drawString(label, 0, sz + textPaint.getFontSpacing(), textPaint); in __anon8313177e0302()
89 canvas->drawString(srcText, 0, sz + textPaint.getFontSpacing(), in __anon8313177e0402()
92 canvas->drawString(modeName, 0, sz + 2 * textPaint.getFontSpacing(), in __anon8313177e0402()
94 canvas->drawString(dstText, 0, sz + 3 * textPaint.getFontSpacing(), in __anon8313177e0402()
Ddegeneratesegments.cpp297 canvas->drawString(title, in onDraw()
354 canvas->drawString(style.fName, in onDraw()
357 canvas->drawString(fill.fName, in onDraw()
360 canvas->drawString(cap.fName, in onDraw()
363 canvas->drawString(gSegmentNames[s1], in onDraw()
366 canvas->drawString(gSegmentNames[s2], in onDraw()
369 canvas->drawString(gSegmentNames[s3], in onDraw()
372 canvas->drawString(gSegmentNames[s4], in onDraw()
375 canvas->drawString(gSegmentNames[s5], in onDraw()
Ddownsamplebitmap.cpp130 canvas.drawString("Hamburgefons", fTextSize/2, 1.2f*fTextSize, paint); in make_bitmap()
132 canvas.drawString("Hamburgefons", fTextSize/2, 2.4f*fTextSize, paint); in make_bitmap()
134 canvas.drawString("Hamburgefons", fTextSize/2, 3.6f*fTextSize, paint); in make_bitmap()
136 canvas.drawString("Hamburgefons", fTextSize/2, 4.8f*fTextSize, paint); in make_bitmap()
Dshadertext2.cpp110 canvas->drawString(kLabelLabel, 0, 0, labelPaint);
117 canvas->drawString(matrices[lm].fLabel,
135 canvas->drawString(matrices[m].fLabel,
181 canvas->drawString(kFillLabel, fillX, y, labelPaint);
182 canvas->drawString(kStrokeLabel, strokeX, y, labelPaint);
Dlinepaths.cpp86 canvas->drawString(title, in draw()
128 canvas->drawString(gStyles[style].fName, in draw()
131 canvas->drawString(gFills[fill].fName, in draw()
134 canvas->drawString(gCaps[cap].fName, in draw()
Daaxfermodes.cpp110 canvas->drawString("Src Unknown", in draw_pass()
113 canvas->drawString("Src Opaque", in draw_pass()
183 canvas->drawString("Porter Duff", in onDraw()
186 canvas->drawString("Advanced", in onDraw()
197 canvas->drawString(modeName, kLabelSpacing - kShapeSize / 4, in drawModeName()
Dcubicpaths.cpp205 canvas->drawString(title, in onDraw()
247 canvas->drawString(gStyles[style].fName, in onDraw()
250 canvas->drawString(gFills[fill].fName, in onDraw()
253 canvas->drawString(gCaps[cap].fName, in onDraw()
347 canvas->drawString(title, in onDraw()
389 canvas->drawString(gStyles[style].fName, in onDraw()
392 canvas->drawString(gFills[fill].fName, in onDraw()
395 canvas->drawString(gCaps[cap].fName, in onDraw()
Dcoloremoji.cpp91 canvas->drawString(text, 10, y, paint); in onDraw()
127 canvas->drawString(text, 380, y, shaderPaint); in onDraw()
165 canvas->drawString(text, 0, 0, paint); in onDraw()
168 canvas->drawString(text, 0, 0, paint); in onDraw()
Dfilterbitmap.cpp128 canvas.drawString("Hamburgefons", fTextSize/2, 1.2f*fTextSize, paint); in makeBitmap()
130 canvas.drawString("Hamburgefons", fTextSize/2, 2.4f*fTextSize, paint); in makeBitmap()
132 canvas.drawString("Hamburgefons", fTextSize/2, 3.6f*fTextSize, paint); in makeBitmap()
134 canvas.drawString("Hamburgefons", fTextSize/2, 4.8f*fTextSize, paint); in makeBitmap()
Dblurs.cpp60 canvas->drawString("Hamburgefons Style", x, y, paint);
61 canvas->drawString("Hamburgefons Style",
67 canvas->drawString("Hamburgefons Style", x, y, paint);
Dlightingshader2.cpp174 canvas->drawString(label, 0.0f, 0.0f, labelPaint); in onDraw()
180 canvas->drawString(label, 0.0f, 0.0f, labelPaint); in onDraw()
186 canvas->drawString(label, 0.0f, 0.0f, labelPaint); in onDraw()
192 canvas->drawString(label, 0.0f, 0.0f, labelPaint); in onDraw()
/external/skia/tests/
DDrawTextTest.cpp123 canvas->drawString("a", +x, 0.0f, SkPaint()); in DEF_TEST()
124 canvas->drawString("a", -x, 0.0f, SkPaint()); in DEF_TEST()
127 canvas->drawString("a", 0.0f, +y, SkPaint()); in DEF_TEST()
128 canvas->drawString("a", 0.0f, -y, SkPaint()); in DEF_TEST()
166 canvas->drawString("Hamburgefons", 10, 10, paint); in DEF_TEST()
/external/skia/samplecode/
DSampleSubpixelTranslate.cpp74 …canvas->drawString( "AA Scaled", fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fSize + 10), fCurPos.fY… in onDrawContent()
82 …canvas->drawString( "Scaled", fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fSize + 10), fCurPos.fY + … in onDrawContent()
90 …canvas->drawString( "AA No Scale", fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fBM.width() + 10), fC… in onDrawContent()
98 …canvas->drawString( "No Scale", fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fBM.width() + 10), fCurP… in onDrawContent()
DSampleUnpremul.cpp96 canvas->drawString(failure, 0, height, paint); in onDrawContent()
104 canvas->drawString(header, 0, height, paint); in onDrawContent()
109 canvas->drawString(header, 0, height, paint); in onDrawContent()
113 canvas->drawString(header, 0, height, paint); in onDrawContent()
DSampleBlur.cpp79 canvas->drawString("Hamburgefons Style", x, y, paint); in onDrawContent()
80 canvas->drawString("Hamburgefons Style", x, y + SkIntToScalar(50), paint); in onDrawContent()
85 canvas->drawString("Hamburgefons Style", x, y, paint); in onDrawContent()
DSampleRectanizer.cpp122 canvas->drawString(str, 50, kHeight + 50, blackBigFont); in onDrawContent()
125 canvas->drawString(str, 50, kHeight + 100, blackBigFont); in onDrawContent()
128 canvas->drawString(str, 50, kHeight + 150, blackBigFont); in onDrawContent()
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java379 public void drawString(String s, float x, float y) in drawString() method in OverrideGraphics2D
381 graphics.drawString(s, x, y); in drawString()
384 public void drawString(String str, int x, int y) in drawString() method in OverrideGraphics2D
386 graphics.drawString(str, x, y); in drawString()
389 public void drawString(AttributedCharacterIterator iterator, float x, float y) in drawString() method in OverrideGraphics2D
391 graphics.drawString(iterator, x, y); in drawString()
394 public void drawString(AttributedCharacterIterator iterator, int x, int y) in drawString() method in OverrideGraphics2D
396 graphics.drawString(iterator, x, y); in drawString()
/external/skia/tools/viewer/sk_app/
DCommandSet.cpp141 canvas->drawString(cmd.fGroup, x, y, groupPaint); in drawHelp()
146 canvas->drawString(cmd.fKeyName, x, y, paint); in drawHelp()
148 canvas->drawString(text, x + keyWidth, y, paint); in drawHelp()

123456