/external/skqp/gm/ |
D | gradtext.cpp | 121 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()
|
D | aaxfermodes.cpp | 112 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()
|
D | shadertext2.cpp | 107 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); 118 0, labelPaint.getTextSize() - 1, labelPaint); 136 0, labelPaint.getTextSize() - 1, labelPaint);
|
D | textblobshader.cpp | 50 run->pos[i] = p.getTextSize() * i * .75f; in onOnceBeforeDraw() 56 run->pos[i * 2] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
|
D | pixelsnap.cpp | 59 0, i * kTrans + labelPaint.getTextSize(), in onDraw() 70 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw()
|
D | arithmode.cpp | 63 canvas->drawString(str, x, y + paint.getTextSize(), paint); in show_k_text() 156 canvas->drawString(str, 0, paint.getTextSize(), paint); in onDraw()
|
D | textblob.cpp | 138 const SkScalar advanceX = font.getTextSize() * 0.85f; in makeBlob() 139 const SkScalar advanceY = font.getTextSize() * 1.5f; in makeBlob()
|
/external/skia/gm/ |
D | gradtext.cpp | 121 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()
|
D | aaxfermodes.cpp | 113 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()
|
D | shadertext2.cpp | 107 canvas->translate(0, bmp.height() + labelPaint.getTextSize() + 15.f); 118 0, labelPaint.getTextSize() - 1, labelPaint); 136 0, labelPaint.getTextSize() - 1, labelPaint);
|
D | textblobshader.cpp | 50 run->pos[i] = p.getTextSize() * i * .75f; in onOnceBeforeDraw() 56 run->pos[i * 2] = p.getTextSize() * i * .75f; in onOnceBeforeDraw()
|
D | arithmode.cpp | 63 canvas->drawString(str, x, y + paint.getTextSize(), paint); in show_k_text() 156 canvas->drawString(str, 0, paint.getTextSize(), paint); in onDraw()
|
D | pixelsnap.cpp | 59 0, i * kTrans + labelPaint.getTextSize(), in onDraw() 70 i * SkIntToScalar(kTrans), labelPaint.getTextSize(), in onDraw()
|
D | textblob.cpp | 138 const SkScalar advanceX = font.getTextSize() * 0.85f; in makeBlob() 139 const SkScalar advanceY = font.getTextSize() * 1.5f; in makeBlob()
|
/external/skqp/tools/sk_app/ |
D | CommandSet.cpp | 132 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/ |
D | CommandSet.cpp | 132 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/ |
D | GrStencilAndCoverTextContext.cpp | 76 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/ |
D | RecognitionScoreView.java | 58 int y = (int) (fgPaint.getTextSize() * 1.5f); in onDraw() 65 y += fgPaint.getTextSize() * 1.5f; in onDraw()
|
/external/skia/samplecode/ |
D | SampleMeasure.cpp | 101 canvas->translate(fPaint.getTextSize(), fPaint.getTextSize()); in onDrawContent()
|
D | SampleTextOnPath.cpp | 126 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/ |
D | BorderedText.java | 86 drawText(canvas, posX, posY - getTextSize() * (lines.size() - lineNum - 1), line); in drawLines() 99 public float getTextSize() { in getTextSize() method in BorderedText
|
/external/skqp/samplecode/ |
D | SampleMeasure.cpp | 101 canvas->translate(fPaint.getTextSize(), fPaint.getTextSize()); in onDrawContent()
|
D | SampleTextOnPath.cpp | 126 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/ |
D | ShadowTextViewTest.java | 444 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/ |
D | SkPaintPriv.h | 63 MakeTextMatrix(matrix, paint.getTextSize(), paint.getTextScaleX(), paint.getTextSkewX()); in MakeTextMatrix()
|