Home
last modified time | relevance | path

Searched refs:getTextSize (Results 1 – 25 of 123) sorted by relevance

12345

/external/skqp/gm/
Dgradtext.cpp121 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
124 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
138 canvas->translate(SkIntToScalar(20), paint.getTextSize()); in onDraw()
144 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
149 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
Daaxfermodes.cpp112 kSubtitleSpacing / 2 + fLabelPaint.getTextSize() / 3, fLabelPaint); in draw_pass()
115 kPaintSpacing, kSubtitleSpacing / 2 + fLabelPaint.getTextSize() / 3, in draw_pass()
180 titlePaint.setTextSize(9 * titlePaint.getTextSize() / 8); in onDraw()
185 kTitleSpacing / 2 + titlePaint.getTextSize() / 3, titlePaint); in onDraw()
188 kTitleSpacing / 2 + titlePaint.getTextSize() / 3, titlePaint); in onDraw()
198 fLabelPaint.getTextSize() / 4, fLabelPaint); in drawModeName()
Dshadertext2.cpp107 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f);
118 0, labelPaint.getTextSize() - 1, labelPaint);
136 0, labelPaint.getTextSize() - 1, labelPaint);
Dtextblobshader.cpp50 run->pos[i] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
56 run->pos[i * 2] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
Dpixelsnap.cpp59 0, i * kTrans + labelPaint.getTextSize(), in onDraw()
70 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw()
Darithmode.cpp63 canvas->drawString(str, x, y + paint.getTextSize(), paint); in show_k_text()
156 canvas->drawString(str, 0, paint.getTextSize(), paint); in onDraw()
Dtextblob.cpp138 const SkScalar advanceX = font.getTextSize() * 0.85f; in makeBlob()
139 const SkScalar advanceY = font.getTextSize() * 1.5f; in makeBlob()
/external/skia/gm/
Dgradtext.cpp121 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
124 canvas->translate(0, paint.getTextSize() * 4/3); in draw_text3()
138 canvas->translate(SkIntToScalar(20), paint.getTextSize()); in onDraw()
144 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
149 canvas->translate(0, paint.getTextSize() * 2); in onDraw()
Daaxfermodes.cpp113 kSubtitleSpacing / 2 + fLabelPaint.getTextSize() / 3, fLabelPaint); in draw_pass()
116 kPaintSpacing, kSubtitleSpacing / 2 + fLabelPaint.getTextSize() / 3, in draw_pass()
181 titlePaint.setTextSize(9 * titlePaint.getTextSize() / 8); in onDraw()
186 kTitleSpacing / 2 + titlePaint.getTextSize() / 3, titlePaint); in onDraw()
189 kTitleSpacing / 2 + titlePaint.getTextSize() / 3, titlePaint); in onDraw()
199 fLabelPaint.getTextSize() / 4, fLabelPaint); in drawModeName()
Dshadertext2.cpp107 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f);
118 0, labelPaint.getTextSize() - 1, labelPaint);
136 0, labelPaint.getTextSize() - 1, labelPaint);
Dtextblobshader.cpp50 run->pos[i] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
56 run->pos[i * 2] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
Darithmode.cpp63 canvas->drawString(str, x, y + paint.getTextSize(), paint); in show_k_text()
156 canvas->drawString(str, 0, paint.getTextSize(), paint); in onDraw()
Dpixelsnap.cpp59 0, i * kTrans + labelPaint.getTextSize(), in onDraw()
70 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw()
Dtextblob.cpp138 const SkScalar advanceX = font.getTextSize() * 0.85f; in makeBlob()
139 const SkScalar advanceY = font.getTextSize() * 1.5f; in makeBlob()
/external/skqp/tools/sk_app/
DCommandSet.cpp132 y += paint.getTextSize(); in drawHelp()
140 y += paint.getTextSize(); in drawHelp()
142 y += groupPaint.getTextSize() + 2; in drawHelp()
149 y += paint.getTextSize() + 2; in drawHelp()
/external/skia/tools/sk_app/
DCommandSet.cpp132 y += paint.getTextSize(); in drawHelp()
140 y += paint.getTextSize(); in drawHelp()
142 y += groupPaint.getTextSize() + 2; in drawHelp()
149 y += paint.getTextSize() + 2; in drawHelp()
/external/skqp/src/gpu/text/
DGrStencilAndCoverTextContext.cpp76 if (skPaint.getTextSize() > 0) { in drawText()
98 if (skPaint.getTextSize() > 0) { in drawPosText()
261 if (runPaint.getTextSize() <= 0) { in init()
322 SkASSERT(fFont.getTextSize() > 0); in TextRun()
333 SkScalar fakeBoldScale = SkScalarInterpFunc(fFont.getTextSize(), in TextRun()
337 SkScalar extra = fFont.getTextSize() * fakeBoldScale; in TextRun()
349 fTextRatio = fFont.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in TextRun()
350 fTextInverseRatio = SkPaint::kCanonicalTextSizeForPaths / fFont.getTextSize(); in TextRun()
648 fFont.setTextSize(fFont.getTextSize() * textRatio); in init()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DRecognitionScoreView.java58 int y = (int) (fgPaint.getTextSize() * 1.5f); in onDraw()
65 y += fgPaint.getTextSize() * 1.5f; in onDraw()
/external/skia/samplecode/
DSampleMeasure.cpp101 canvas->translate(fPaint.getTextSize(), fPaint.getTextSize()); in onDrawContent()
DSampleTextOnPath.cpp126 x, paint.getTextSize()/2, paint); in onDrawContent()
134 x + SkIntToScalar(100), -paint.getTextSize()/2, paint); in onDrawContent()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DBorderedText.java86 drawText(canvas, posX, posY - getTextSize() * (lines.size() - lineNum - 1), line); in drawLines()
99 public float getTextSize() { in getTextSize() method in BorderedText
/external/skqp/samplecode/
DSampleMeasure.cpp101 canvas->translate(fPaint.getTextSize(), fPaint.getTextSize()); in onDrawContent()
DSampleTextOnPath.cpp126 x, paint.getTextSize()/2, paint); in onDrawContent()
134 x + SkIntToScalar(100), -paint.getTextSize()/2, paint); in onDrawContent()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextViewTest.java444 assertThat(textView.getTextSize()).isEqualTo(15f); in setTextSize_shouldHandleDips()
446 assertThat(textView.getTextSize()).isEqualTo(30f); in setTextSize_shouldHandleDips()
452 assertThat(textView.getTextSize()).isEqualTo(10f); in setTextSize_shouldHandleSp()
457 assertThat(textView.getTextSize()).isEqualTo(15f); in setTextSize_shouldHandleSp()
464 assertThat(textView.getTextSize()).isEqualTo(10f); in setTextSize_shouldHandlePixels()
466 assertThat(textView.getTextSize()).isEqualTo(20f); in setTextSize_shouldHandlePixels()
/external/skqp/src/core/
DSkPaintPriv.h63 MakeTextMatrix(matrix, paint.getTextSize(), paint.getTextScaleX(), paint.getTextSkewX()); in MakeTextMatrix()

12345