Home
last modified time | relevance | path

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

/external/skia/docs/examples/
DPaint_setTextSize.cpp9 SkDebugf("12 %c= text size\n", 12 == paint.getTextSize() ? '=' : '!');
11 SkDebugf("12 %c= text size\n", 12 == paint.getTextSize() ? '=' : '!');
DPaint_getTextSize.cpp9 SkDebugf("12 %c= default text size\n", 12 == paint.getTextSize() ? '=' : '!');
DPaint_measureText_2.cpp10 paint.setTextSize(paint.getTextSize() * 2);
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DRecognitionScoreView.java58 int y = (int) (fgPaint.getTextSize() * 1.5f); in onDraw()
65 y += fgPaint.getTextSize() * 1.5f; in onDraw()
/external/tensorflow/tensorflow/tools/android/test/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextViewTest.java445 assertThat(textView.getTextSize()).isEqualTo(15f); in setTextSize_shouldHandleDips()
447 assertThat(textView.getTextSize()).isEqualTo(30f); in setTextSize_shouldHandleDips()
453 assertThat(textView.getTextSize()).isEqualTo(10f); in setTextSize_shouldHandleSp()
459 assertThat(textView.getTextSize()).isEqualTo(15f); in setTextSize_shouldHandleSp()
466 assertThat(textView.getTextSize()).isEqualTo(10f); in setTextSize_shouldHandlePixels()
468 assertThat(textView.getTextSize()).isEqualTo(20f); in setTextSize_shouldHandlePixels()
/external/skqp/tools/lua/
Dglyph-usage.lua67 return paint:getFontID() * 1000 + paint:getTextSize()
/external/skqp/resources/lua/
Dslides.lua35 local ps = paint:getTextSize()
88 y = newBottom + paint:getTextSize() * .5 + extra_dy
Dslides_transitions.lua5 paint:setTextSize(paint:getTextSize() + delta)
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/lua/
Dslides.lua35 local ps = paint:getTextSize()
88 y = newBottom + paint:getTextSize() * .5 + extra_dy
Dslides_transitions.lua5 paint:setTextSize(paint:getTextSize() + delta)
/external/skqp/experimental/canvaskit/
DCHANGELOG.md21 - `SkPaint.setTextSize()`, `SkPaint.getTextSize()`, `SkPaint.setTypeface()`
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DContentStyler.java106 float infoTextSizeInPx = infoText.getTextSize(); in applyInfoPartnerCustomizationStyle()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPaint.java171 protected float getTextSize() { in getTextSize() method in ShadowPaint
DShadowCanvas.java411 this.paint.setTextSize(paint.getTextSize()); in RectPaintHistoryEvent()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DCue.java729 public float getTextSize() { in getTextSize() method in Cue.Builder
/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java89 paint.setTextSize(textView.getTextSize()); in formatPages()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp126 dst->setTextSize(src.getTextSize()); in ApplyInfo()
/external/skqp/src/effects/
DSkLayerDrawLooper.cpp125 dst->setTextSize(src.getTextSize()); in ApplyInfo()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/layer/
DTextLayer.java226 strokePaint.setTextSize(fillPaint.getTextSize()); in drawTextWithFont()
/external/skqp/src/xps/
DSkXPSDevice.cpp2064 FLOAT centemPerUnit = 100.0f / SkScalarToFLOAT(paint.getTextSize());
2092 SkScalarToFLOAT(paint.getTextSize()),
/external/skia/modules/canvaskit/
DCHANGELOG.md760 - `SkPaint.setTextSize()`, `SkPaint.getTextSize()`, `SkPaint.setTypeface()`
/external/skia/tools/fiddle/
Ddocumumentation_examples_map.txt2109 SkScalar getTextSize() const;
/external/skqp/site/user/api/
DSkPaint_Reference.md128 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSize'>getTextSize</a>() cons…
3403 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSize'>getTextSize</a>()const