/external/skia/gm/ |
D | textblobmixedsizes.cpp | 56 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 63 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 70 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 77 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 84 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
|
D | textblobrandomfont.cpp | 67 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 78 font.measureText(bigtext1, strlen(bigtext1), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 83 font.measureText(bigtext2, strlen(bigtext2), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 92 font.measureText(emojiText, strlen(emojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
|
D | textblobcolortrans.cpp | 45 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 53 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
|
D | mixedtextblobs.cpp | 64 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 82 font.measureText(text, strlen(text), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw() 94 font.measureText(fEmojiText, strlen(fEmojiText), SkTextEncoding::kUTF8, &bounds); in onOnceBeforeDraw()
|
D | bitmapcopy.cpp | 114 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); in onDraw() 127 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); in onDraw()
|
/external/skqp/gm/ |
D | textblobmixedsizes.cpp | 44 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 51 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 58 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 65 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 72 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw()
|
D | textblobrandomfont.cpp | 53 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 64 font.measureText(bigtext1, strlen(bigtext1), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 69 font.measureText(bigtext2, strlen(bigtext2), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 78 font.measureText(emojiText, strlen(emojiText), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw()
|
D | textblobcolortrans.cpp | 37 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 45 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw()
|
D | mixedtextblobs.cpp | 56 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 74 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 85 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw()
|
D | bitmapcopy.cpp | 99 SkScalar textWidth = font.measureText(name, strlen(name), kUTF8_SkTextEncoding); in onDraw() 112 SkScalar textWidth = font.measureText(name, strlen(name), kUTF8_SkTextEncoding); in onDraw()
|
D | textblobtransforms.cpp | 34 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw() 43 font.measureText(text, strlen(text), kUTF8_SkTextEncoding, &bounds); in onOnceBeforeDraw()
|
/external/skia/docs/examples/ |
D | Paint_measureText_2.cpp | 9 SkDebugf("default width = %g\n", paint.measureText("!", 1)); 11 SkDebugf("double width = %g\n", paint.measureText("!", 1));
|
D | Canvas_drawAnnotation_2.cpp | 12 (void)paint.measureText(text, strlen(text), &bounds);
|
D | Canvas_129.cpp | 12 (void)paint.measureText(text, strlen(text), &bounds);
|
D | Paint_measureText.cpp | 15 paint.measureText(str, count, &bounds);
|
D | Paint_setLinearText.cpp | 16 width.appendScalar(paint.measureText(testStr, SK_ARRAY_COUNT(testStr), nullptr));
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPaintTest.java | 68 assertThat(paint.measureText("Hello")).isEqualTo(5.0f); in measureTextActuallyMeasuresLength() 69 assertThat(paint.measureText("Hello", 1, 3)).isEqualTo(2.0f); in measureTextActuallyMeasuresLength() 70 assertThat(paint.measureText(new StringBuilder("Hello"), 1, 4)).isEqualTo(3.0f); in measureTextActuallyMeasuresLength()
|
D | ShadowTextPaintTest.java | 16 assertThat(paint.measureText("1234")).isEqualTo(4f); in measureText_returnsStringLengthAsMeasurement()
|
/external/perfetto/ui/src/frontend/ |
D | flamegraph.ts | 142 this.labelCharWidth = ctx.measureText('_').width; 272 const nameTextSize = ctx.measureText(nameText); 280 splitIfTooBig(mappingText, width, ctx.measureText(mappingText).width); 293 totalSizeText, width, ctx.measureText(totalSizeText).width); 308 selfSizeText, width, ctx.measureText(selfSizeText).width); 314 const heightSample = ctx.measureText(
|
D | track.ts | 104 const textWidth = ctx.measureText(text).width; 109 const text2Width = ctx.measureText(text2).width;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPaint.java | 273 protected float measureText(String text) { in measureText() method in ShadowPaint 278 protected float measureText(CharSequence text, int start, int end) { in measureText() method in ShadowPaint 283 protected float measureText(String text, int start, int end) { in measureText() method in ShadowPaint 288 protected float measureText(char[] text, int index, int count) { in measureText() method in ShadowPaint
|
/external/skia/include/core/ |
D | SkFont.h | 334 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding, 336 return this->measureText(text, byteLength, encoding, bounds, nullptr); 350 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
|
/external/skqp/include/core/ |
D | SkFont.h | 332 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding, 334 return this->measureText(text, byteLength, encoding, bounds, nullptr); 350 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding encoding,
|
/external/skia/tools/sk_app/ |
D | CommandSet.cpp | 129 font.measureText(cmd.fKeyName.c_str(), cmd.fKeyName.size(), in drawHelp() 132 keyWidth += font.measureText(" ", 1, SkTextEncoding::kUTF8); in drawHelp()
|
/external/skqp/tools/sk_app/ |
D | CommandSet.cpp | 130 font.measureText(cmd.fKeyName.c_str(), cmd.fKeyName.size(), in drawHelp() 133 keyWidth += font.measureText(" ", 1, kUTF8_SkTextEncoding); in drawHelp()
|