/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 | 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 | 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 | 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()
|
D | constcolorprocessor.cpp | 134 labelFont.measureText(inputLabel.c_str(), inputLabel.size(), in onDraw() 142 labelFont.measureText(procLabel.c_str(), procLabel.size(), in onDraw()
|
/external/skia/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 | 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 | 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 | bitmapcopy.cpp | 100 SkScalar textWidth = font.measureText(name, strlen(name), kUTF8_SkTextEncoding); in onDraw() 113 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()
|
D | constcolorprocessor.cpp | 123 labelFont.measureText(inputLabel.c_str(), inputLabel.size(), in onDraw() 131 labelFont.measureText(procLabel.c_str(), procLabel.size(), in onDraw()
|
D | typeface.cpp | 244 font.measureText(&character, 1, kUTF8_SkTextEncoding)) + 5; 291 SkScalar dx = SkScalarCeilToScalar(font.measureText(&character, 1, 341 SkScalar dx = SkScalarCeilToScalar(font.measureText(&character, 1,
|
/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()
|
/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/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/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/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 119 const charWidth = ctx.measureText('dbpqaouk').width / 8; 214 const measured = ctx.measureText(displayText); 258 const line1Width = ctx.measureText(line1).width; 259 const line2Width = ctx.measureText(line2).width;
|
/external/skia/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()
|
/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()
|
/external/skqp/samplecode/ |
D | SampleComplexClip.cpp | 133 txtX += font.measureText(aTxt, strlen(aTxt), kUTF8_SkTextEncoding); in onDrawContent() 137 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), kUTF8_SkTextEncoding); in onDrawContent()
|
/external/skia/samplecode/ |
D | SampleComplexClip.cpp | 133 txtX += font.measureText(aTxt, strlen(aTxt), kUTF8_SkTextEncoding); in onDrawContent() 137 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), kUTF8_SkTextEncoding); in onDrawContent()
|
/external/skqp/experimental/canvaskit/ |
D | CHANGELOG.md | 39 - `SkPaint.measureText` - use `SkFont.measureText` instead.
|