Home
last modified time | relevance | path

Searched refs:drawText (Results 1 – 25 of 215) sorted by relevance

123456789

/external/skia/gm/
Dcolorwheel.cpp48 canvas->drawText("R", 1, 8.0f, 20.0f, paint);
50 canvas->drawText("G", 1, 24.0f, 20.0f, paint);
52 canvas->drawText("B", 1, 40.0f, 20.0f, paint);
54 canvas->drawText("C", 1, 56.0f, 20.0f, paint);
56 canvas->drawText("M", 1, 72.0f, 20.0f, paint);
58 canvas->drawText("Y", 1, 88.0f, 20.0f, paint);
60 canvas->drawText("K", 1, 104.0f, 20.0f, paint);
Dlcdtext.cpp40 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderTrue"), in onDraw()
42 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderFalse"), in onDraw()
44 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderTrue"), in onDraw()
46 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderFalse"), in onDraw()
50 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in LcdTextGM
60 canvas->drawText(string.c_str(), string.size(), 0, y, paint); in drawText()
122 canvas->drawText(rec[i].fText, strlen(rec[i].fText), loc.x(), loc.y(), paint); in onDraw()
140 canvas->drawText("Hamburgefons", 12, 30, 30, paint);
148 canvas->drawText("Hamburgefons", 12, 30, 60, paint);
153 canvas->drawText("Hamburgefons", 12, 30, 90, paint);
Dverttext2.cpp61 drawText(canvas, SkString("Proportional / Top Aligned"), in onDraw()
63 drawText(canvas, SkString("< Proportional / Centered >"), in onDraw()
65 drawText(canvas, SkString("Monospaced / Top Aligned"), in onDraw()
67 drawText(canvas, SkString("< Monospaced / Centered >"), in onDraw()
77 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in skiagm::VertText2GM
87 canvas->drawText(string.c_str(), string.size(), y, in drawText()
Ddftext.cpp83 canvas->drawText(text, textLen, 0, 0, paint); in onDraw()
97 canvas->drawText(text, textLen, rotX, rotY, paint); in onDraw()
113 canvas->drawText(text, textLen, 0, 0, paint); in onDraw()
158 canvas->drawText(text, textLen, x, y, paint); in onDraw()
172 canvas->drawText(text, textLen, x, y, paint); in onDraw()
182 canvas->drawText(text, textLen, 745, 70, paint); in onDraw()
189 canvas->drawText(text, textLen, 580, 125, paint); in onDraw()
196 canvas->drawText(fEmojiText, strlen(fEmojiText), 670, 90, paint); in onDraw()
Dgradtext.cpp62 canvas->drawText("I", 1, 0, 100, paint); in onDraw()
82 canvas->drawText("Normal Fill Text", 16, 0, 50, paint); in onDraw()
84 canvas->drawText("Normal Stroke Text", 18, 0, 100, paint); in onDraw()
90 canvas->drawText("Gradient Fill Text", 18, 0, 150, paint); in onDraw()
92 canvas->drawText("Gradient Stroke Text", 20, 0, 200, paint); in onDraw()
114 canvas->drawText(text, len, 0, 0, paint); in draw_text()
Dshadertext2.cpp109 canvas->drawText(kLabelLabel, strlen(kLabelLabel), 0, 0, labelPaint);
116 canvas->drawText(matrices[lm].fLabel, strlen(matrices[lm].fLabel),
134 canvas->drawText(matrices[m].fLabel, strlen(matrices[m].fLabel),
147 canvas->drawText(kText, kTextLen, 0, 0, paint);
148 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint);
182 canvas->drawText(kFillLabel, strlen(kFillLabel), fillX, y, labelPaint);
183 canvas->drawText(kStrokeLabel, strlen(kStrokeLabel), strokeX, y, labelPaint);
Dquadpaths.cpp92 canvas->drawText(title, strlen(title), in onDraw()
134 canvas->drawText(gStyles[style].fName, in onDraw()
138 canvas->drawText(gFills[fill].fName, in onDraw()
142 canvas->drawText(gCaps[cap].fName, in onDraw()
236 canvas->drawText(title, strlen(title), in onDraw()
278 canvas->drawText(gStyles[style].fName, in onDraw()
282 canvas->drawText(gFills[fill].fName, in onDraw()
286 canvas->drawText(gCaps[cap].fName, in onDraw()
Dtexteffects.cpp192 canvas->drawText(str.c_str(), str.size(), x, y, paint);
208 auto drawText = [&]() { in __anon74b82e6d0102() variable
210 canvas->drawText("Hello", 5, 100, 50, paint); in __anon74b82e6d0102()
212 canvas->drawText("Hello", 5, 100, 100, paint); in __anon74b82e6d0102()
216 drawText();
218 drawText();
221 drawText();
223 drawText();
226 canvas->drawText("Hello", 5, 100, 50, paint);
229 canvas->drawText("Hello", 5, 100, 50, paint);
[all …]
Dimage.cpp156 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint); in onDraw()
157 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint); in onDraw()
158 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint); in onDraw()
159 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint); in onDraw()
160 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint); in onDraw()
161 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint); in onDraw()
162 canvas->drawText(kLabel7, strlen(kLabel7), 10, 540, textPaint); in onDraw()
164 canvas->drawText(kLabel8, strlen(kLabel8), 80, 10, textPaint); in onDraw()
165 canvas->drawText(kLabel9, strlen(kLabel9), 160, 10, textPaint); in onDraw()
166 canvas->drawText(kLabel10, strlen(kLabel10), 265, 10, textPaint); in onDraw()
Ddegeneratesegments.cpp296 canvas->drawText(title, strlen(title), in onDraw()
353 canvas->drawText(style.fName, in onDraw()
357 canvas->drawText(fill.fName, in onDraw()
361 canvas->drawText(cap.fName, in onDraw()
365 canvas->drawText(gSegmentNames[s1], in onDraw()
369 canvas->drawText(gSegmentNames[s2], in onDraw()
373 canvas->drawText(gSegmentNames[s3], in onDraw()
377 canvas->drawText(gSegmentNames[s4], in onDraw()
381 canvas->drawText(gSegmentNames[s5], in onDraw()
Dcubicpaths.cpp204 canvas->drawText(title, strlen(title), in onDraw()
246 canvas->drawText(gStyles[style].fName, in onDraw()
250 canvas->drawText(gFills[fill].fName, in onDraw()
254 canvas->drawText(gCaps[cap].fName, in onDraw()
349 canvas->drawText(title, strlen(title), in onDraw()
391 canvas->drawText(gStyles[style].fName, in onDraw()
395 canvas->drawText(gFills[fill].fName, in onDraw()
399 canvas->drawText(gCaps[cap].fName, in onDraw()
Dcoloremoji.cpp86 canvas->drawText(text, strlen(text), 10, SkIntToScalar(textYOffset[y]), paint); in onDraw()
112 canvas->drawText(text, strlen(text), 380, SkIntToScalar(y_offset), in onDraw()
149 canvas->drawText(text, strlen(text), 0, 0, paint); in onDraw()
152 canvas->drawText(text, strlen(text), 0, 0, paint); in onDraw()
Dlinepaths.cpp85 canvas->drawText(title, strlen(title), in draw()
127 canvas->drawText(gStyles[style].fName, in draw()
131 canvas->drawText(gFills[fill].fName, in draw()
135 canvas->drawText(gCaps[cap].fName, in draw()
Dgammatext.cpp89 canvas->drawText(text, len, x, y, paint); in onDraw()
122 canvas->drawText(text, len, 10, 20, *paint); in draw_pair()
124 canvas->drawText(text, len, 10, 40, *paint); in draw_pair()
126 canvas->drawText(text, len, 10, 60, *paint); in draw_pair()
Ddownsamplebitmap.cpp130 canvas.drawText("Hamburgefons", 12, fTextSize/2, 1.2f*fTextSize, paint); in make_bitmap()
132 canvas.drawText("Hamburgefons", 12, fTextSize/2, 2.4f*fTextSize, paint); in make_bitmap()
134 canvas.drawText("Hamburgefons", 12, fTextSize/2, 3.6f*fTextSize, paint); in make_bitmap()
136 canvas.drawText("Hamburgefons", 12, fTextSize/2, 4.8f*fTextSize, paint); in make_bitmap()
Daaxfermodes.cpp112 canvas->drawText("Src Unknown", sizeof("Src Unknown") - 1, in draw_pass()
115 canvas->drawText("Src Opaque", sizeof("Src Opaque") - 1, in draw_pass()
182 canvas->drawText("Porter Duff", sizeof("Porter Duff") - 1, in onDraw()
185 canvas->drawText("Advanced", sizeof("Advanced") - 1, in onDraw()
197 canvas->drawText(modeName, strlen(modeName), kLabelSpacing - kShapeSize / 4, in drawModeName()
Dlargeglyphblur.cpp41 canvas->drawText(text, len, 10, 500, blurPaint);
42 canvas->drawText(text, len, 10, 500, paint);
Dblurs.cpp59 canvas->drawText("Hamburgefons Style", 18, x, y, paint);
60 canvas->drawText("Hamburgefons Style", 18,
66 canvas->drawText("Hamburgefons Style", 18, x, y, paint);
/external/opencv3/samples/cpp/example_cmake/
Dexample.cpp10 void drawText(Mat & image);
26 drawText(image); in main()
36 drawText(image); in main()
43 void drawText(Mat & image) in drawText() function
/external/skia/samplecode/
DSampleSubpixelTranslate.cpp83 …canvas->drawText( "AA Scaled", strlen("AA Scaled"), fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fSiz… in onDrawContent()
91 …canvas->drawText( "Scaled", strlen("Scaled"), fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fSize + 10… in onDrawContent()
99 …canvas->drawText( "AA No Scale", strlen("AA No Scale"), fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (… in onDrawContent()
107 …canvas->drawText( "No Scale", strlen("No Scale"), fCurPos.fX + SK_ARRAY_COUNT(gQualitys) * (fBM.wi… in onDrawContent()
DSampleText.cpp45 canvas->drawText(text, length, x, y, paint); in DrawTheText()
60 canvas->drawText(text, length, x, y, p); in DrawTheText()
67 canvas->drawText(text, length, x, y, p); in DrawTheText()
101 canvas.drawText(s, strlen(s), SkIntToScalar(8), SkIntToScalar(14), paint); in make_textstrip()
DSampleUnpremul.cpp99 canvas->drawText(failure.c_str(), failure.size(), 0, height, paint); in onDrawContent()
107 canvas->drawText(header.c_str(), header.size(), 0, height, paint); in onDrawContent()
112 canvas->drawText(header.c_str(), header.size(), 0, height, paint); in onDrawContent()
116 canvas->drawText(header.c_str(), header.size(), 0, height, paint); in onDrawContent()
DSampleBlur.cpp121 canvas->drawText("Hamburgefons Style", 18, x, y, paint); in onDrawContent()
122 canvas->drawText("Hamburgefons Style", 18, x, y + SkIntToScalar(50), paint); in onDrawContent()
127 canvas->drawText("Hamburgefons Style", 18, x, y, paint); in onDrawContent()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DSpriteBatchTest.java65 float drawText = 0; in renderNormal() local
98 drawText = (TimeUtils.nanoTime() - start) / 1000000000.0f; in renderNormal()
106 + ", " + draw2 + ", " + drawText + ", " + end); in renderNormal()
122 float drawText = 0; in renderSprites() local
160 drawText = (TimeUtils.nanoTime() - start) / 1000000000.0f; in renderSprites()
168 + ", " + draw2 + ", " + drawText + ", " + end); in renderSprites()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java387 …canvas.drawText("Revert", mOldSwatchRect.left + SWATCH_WIDTH / 2 - mText.measureText("Revert") / 2… in drawSwatches()
394 …canvas.drawText("Accept", mNewSwatchRect.left + SWATCH_WIDTH / 2 - mText.measureText("Accept") / 2… in drawSwatches()
406 …canvas.drawText("H: " + Integer.toString((int)(mHSV[0] / 360.0f * 255)), TEXT_HSV_POS[0], TEXT_HSV… in writeColorParams()
407 …canvas.drawText("S: " + Integer.toString((int)(mHSV[1] * 255)), TEXT_HSV_POS[0], TEXT_HSV_POS[1] +… in writeColorParams()
408 …canvas.drawText("V: " + Integer.toString((int)(mHSV[2] * 255)), TEXT_HSV_POS[0], TEXT_HSV_POS[1] +… in writeColorParams()
412 canvas.drawText("R: " + mRGB[0], TEXT_RGB_POS[0], TEXT_RGB_POS[1] + TEXT_SIZE, mText); in writeColorParams()
413 canvas.drawText("G: " + mRGB[1], TEXT_RGB_POS[0], TEXT_RGB_POS[1] + TEXT_SIZE * 2, mText); in writeColorParams()
414 canvas.drawText("B: " + mRGB[2], TEXT_RGB_POS[0], TEXT_RGB_POS[1] + TEXT_SIZE * 3, mText); in writeColorParams()
418 …canvas.drawText("Y: " + Integer.toString((int)(mYUV[0] * 255)), TEXT_YUV_POS[0], TEXT_YUV_POS[1] +… in writeColorParams()
419 …canvas.drawText("U: " + Integer.toString((int)((mYUV[1] + .5f) * 255)), TEXT_YUV_POS[0], TEXT_YUV_… in writeColorParams()
[all …]

123456789