Home
last modified time | relevance | path

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

1234

/external/skia/modules/canvaskit/tests/
Dfont.spec.js50 canvas.drawText('This text is not shaped, and overflows the boundry',
61 canvas.drawText(shapedText, textBoxX, textBoxY, textPaint);
79 canvas.drawText('no kerning ↓', 10, 240, textPaint, textFont);
80 canvas.drawText(SHAPE_TEST_TEXT, 10, 300, textPaint, textFont2);
81 canvas.drawText(shapedText2, 10, 300, textPaint);
82 canvas.drawText('kerning ↑', 10, 390, textPaint, textFont);
Dpath.spec.js102 canvas.drawText('this is ascii text', 5, 100, paint, font);
157 canvas.drawText('This is text', 10, 280, textPaint, textFont);
/external/skia/gm/
Dlcdtext.cpp39 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderTrue"), in onDraw()
41 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderFalse"), in onDraw()
43 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderTrue"), in onDraw()
45 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderFalse"), in onDraw()
49 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in LcdTextGM
Datlastext.cpp51 target->drawText(glyphs.get(), positions.get(), cnt, color, *atlas_font); in draw_string()
95 auto bmp = this->drawText(); in onDraw()
103 SkBitmap drawText() { in drawText() function in AtlasTextGM
Dfontcache.cpp64 this->drawText(canvas); in onDraw()
76 void drawText(SkCanvas* canvas) { in drawText() function in FontCacheGM
/external/skqp/gm/
Dlcdtext.cpp41 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderTrue"), in onDraw()
43 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderFalse"), in onDraw()
45 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderTrue"), in onDraw()
47 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderFalse"), in onDraw()
51 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in LcdTextGM
Datlastext.cpp51 target->drawText(glyphs.get(), positions.get(), cnt, color, *atlas_font); in draw_string()
95 auto bmp = this->drawText(); in onDraw()
102 SkBitmap drawText() { in drawText() function in AtlasTextGM
Dfontcache.cpp71 this->drawText(canvas); in onDraw()
83 void drawText(SkCanvas* canvas) { in drawText() function in FontCacheGM
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DHistogramView.java191 canvas.drawText(yLabels[0], 0, yStartPoint, mTextPaint); in fillCanvas()
196 canvas.drawText(yLabels[i], 0, yStartPoint - (i * height) + mYLabelSize, in fillCanvas()
235 canvas.drawText(xLabels[0], yMargin + extraYMargin + mLineWidth, bottom, in fillCanvas()
245 canvas.drawText(xLabels[i], xLabelLineStartX, bottom, mXLabelPaint); in fillCanvas()
260 canvas.drawText(lastXLabel, right - getTextWidth(lastXLabel, mXLabelPaint) - 1, in fillCanvas()
273 canvas.drawText(xLabels[0], yMargin + extraYMargin + mLineWidth, bottom, in fillCanvas()
280 canvas.drawText(xLabels[i], xStartPoint + (xLabelInterval * i * in fillCanvas()
296 canvas.drawText(lastXLabel, right - getTextWidth(lastXLabel, mXLabelPaint) - 1, in fillCanvas()
DGlitchAndCallbackHeatMapView.java157 canvas.drawText(title, titleArea.left + titleArea.width() / 2, titleArea.bottom, in fillCanvas()
166 canvas.drawText(callbackLabel, graphArea.left + graphArea.width() / 2, in fillCanvas()
173 canvas.drawText("Recorder", labelX, labelY, textPaint); in fillCanvas()
178 canvas.drawText("Player", labelX, labelY, textPaint); in fillCanvas()
216 canvas.drawText(glitchLabel, graphArea.left + graphArea.width() / 2, in fillCanvas()
256 canvas.drawText(" = No Data Available, Recording Capacity Exceeded", in fillCanvas()
326 canvas.drawText(Integer.toString(i), legendArea.right + INNER_MARGIN,
331 canvas.drawText(Integer.toString(maxValue), legendArea.right + INNER_MARGIN,
356 canvas.drawText(String.format("%dh:%02dm", seconds / SECONDS_PER_HOUR,
360 canvas.drawText(String.format("%dm:%02ds", seconds / SECONDS_PER_MINUTE,
[all …]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DBorderedText.java78 public void drawText(final Canvas canvas, final float posX, final float posY, final String text) { in drawText() method in BorderedText
79 canvas.drawText(text, posX, posY, exteriorPaint); in drawText()
80 canvas.drawText(text, posX, posY, interiorPaint); in drawText()
86 drawText(canvas, posX, posY - getTextSize() * (lines.size() - lineNum - 1), line); in drawLines()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/
DBorderedText.java78 public void drawText(final Canvas canvas, final float posX, final float posY, final String text) { in drawText() method in BorderedText
79 canvas.drawText(text, posX, posY, exteriorPaint); in drawText()
80 canvas.drawText(text, posX, posY, interiorPaint); in drawText()
86 drawText(canvas, posX, posY - getTextSize() * (lines.size() - lineNum - 1), line); in drawLines()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java386 …canvas.drawText("Revert", mOldSwatchRect.left + SWATCH_WIDTH / 2 - mText.measureText("Revert") / 2… in drawSwatches()
393 …canvas.drawText("Accept", mNewSwatchRect.left + SWATCH_WIDTH / 2 - mText.measureText("Accept") / 2… in drawSwatches()
405 …canvas.drawText("H: " + Integer.toString((int)(mHSV[0] / 360.0f * 255)), TEXT_HSV_POS[0], TEXT_HSV… in writeColorParams()
406 …canvas.drawText("S: " + Integer.toString((int)(mHSV[1] * 255)), TEXT_HSV_POS[0], TEXT_HSV_POS[1] +… in writeColorParams()
407 …canvas.drawText("V: " + Integer.toString((int)(mHSV[2] * 255)), TEXT_HSV_POS[0], TEXT_HSV_POS[1] +… in writeColorParams()
411 canvas.drawText("R: " + mRGB[0], TEXT_RGB_POS[0], TEXT_RGB_POS[1] + TEXT_SIZE, mText); in writeColorParams()
412 canvas.drawText("G: " + mRGB[1], TEXT_RGB_POS[0], TEXT_RGB_POS[1] + TEXT_SIZE * 2, mText); in writeColorParams()
413 canvas.drawText("B: " + mRGB[2], TEXT_RGB_POS[0], TEXT_RGB_POS[1] + TEXT_SIZE * 3, mText); in writeColorParams()
417 …canvas.drawText("Y: " + Integer.toString((int)(mYUV[0] * 255)), TEXT_YUV_POS[0], TEXT_YUV_POS[1] +… in writeColorParams()
418 …canvas.drawText("U: " + Integer.toString((int)((mYUV[1] + .5f) * 255)), TEXT_YUV_POS[0], TEXT_YUV_… in writeColorParams()
[all …]
/external/skqp/resources/lua/
Dtest.lua42 canvas:drawText('Hamburgefons', 320, 200 + 30*k, paint);
52 canvas:drawText('Hello Lua', 300, 300, paint);
/external/skia/resources/lua/
Dtest.lua42 canvas:drawText('Hamburgefons', 320, 200 + 30*k, paint);
52 canvas:drawText('Hello Lua', 300, 300, paint);
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/lua/
Dtest.lua42 canvas:drawText('Hamburgefons', 320, 200 + 30*k, paint);
52 canvas:drawText('Hello Lua', 300, 300, paint);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java165 canvas.drawText("hi", 1, 2, new Paint()); in resetCanvasHistory_shouldClearTheHistoryAndDescription()
192 canvas.drawText("hello", 1, 2, paint); in shouldRecordText()
193 canvas.drawText("hello 2", 4, 6, paint2); in shouldRecordText()
215 canvas.drawText(new char[]{'h', 'e', 'l', 'l', 'o'}, 2, 3, 1f, 2f, paint); in shouldRecordText_charArrayOverload()
233 canvas.drawText("hello", 1, 4, 1f, 2f, paint); in shouldRecordText_stringWithRangeOverload()
252 canvas.drawText(new StringBuilder("hello"), 1, 4, 1f, 2f, paint); in shouldRecordText_charSequenceOverload()
/external/skia/src/compute/sk/
DSkDevice_Compute.h73 void drawText(const void*, size_t, SkScalar, SkScalar, const SkPaint&) override;
196 void drawText(const void* t, size_t l, SkScalar x, SkScalar y, const SkPaint& p) override { in drawText() function
198 fRoot->drawText(t, l, x, y, p); in drawText()
/external/skqp/src/compute/sk/
DSkDevice_Compute.h73 void drawText(const void*, size_t, SkScalar, SkScalar, const SkPaint&) override;
196 void drawText(const void* t, size_t l, SkScalar x, SkScalar y, const SkPaint& p) override { in drawText() function
198 fRoot->drawText(t, l, x, y, p); in drawText()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DMultiBoxTracker.java133 canvas.drawText("" + detection.first, rect.left, rect.top, textPaint); in drawDebug()
134 borderedText.drawText(canvas, rect.centerX(), rect.centerY(), "" + detection.first); in drawDebug()
149 borderedText.drawText(canvas, trackedPos.right, trackedPos.bottom, labelString); in drawDebug()
192 borderedText.drawText(canvas, trackedPos.left + cornerSize, trackedPos.bottom, labelString); in draw()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
DMultiBoxTracker.java133 canvas.drawText("" + detection.first, rect.left, rect.top, textPaint); in drawDebug()
134 borderedText.drawText(canvas, rect.centerX(), rect.centerY(), "" + detection.first); in drawDebug()
149 borderedText.drawText(canvas, trackedPos.right, trackedPos.bottom, labelString); in drawDebug()
192 borderedText.drawText(canvas, trackedPos.left + cornerSize, trackedPos.bottom, labelString); in draw()
/external/adhd/scripts/volume_tuning/
Dvolume.js109 drawText(ctx, Math.round(i * NN * 10 / FIXES) / 10, x, -20, 'center');
148 drawText(ctx, v.toFixed(2), -5 , y - 4, 'right');
265 function drawText(ctx, s, x, y, align) { function
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCanvas.java77 protected void drawText(String text, float x, float y, Paint paint) { in drawText() method in ShadowCanvas
82 protected void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { in drawText() method in ShadowCanvas
88 protected void drawText(char[] text, int index, int count, float x, float y, Paint paint) { in drawText() method in ShadowCanvas
93 protected void drawText(String text, int start, int end, float x, float y, Paint paint) { in drawText() method in ShadowCanvas
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DBarRenderer.java244 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf… in onRender()
265 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), leftX + width/2 + plf.hOffset, b.i… in onRender()
288 …canvas.drawText(pointLabeler.getLabel(b.series, b.seriesIndex), b.intX + plf.hOffset, b.intY + plf… in onRender()
/external/skia/tools/lua/
Dchars-vs-glyphs.lua17 drawText = true,

1234