Home
last modified time | relevance | path

Searched refs:measureText (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium/chrome/common/
Dbadge_util.cc69 SkScalar text_width = paint->measureText(badge_text.c_str(), in DrawBadgeIconOverlay()
75 text_width = paint->measureText(badge_text.c_str(), badge_text.size()); in DrawBadgeIconOverlay()
/external/skia/src/animator/
DSkDrawPaint.cpp27 SK_FUNCTION(measureText)
54 SK_MEMBER_FUNCTION(measureText, Float),
165 case SK_FUNCTION(measureText): { in executeFunction()
172 … scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), in executeFunction()
/external/skia/samplecode/
DSampleTextOnPath.cpp56 SkDEBUGCODE(SkScalar w0 = paint.measureText(text, count, NULL);) in test_measure()
57 SkDEBUGCODE(SkScalar w1 = paint.measureText(text, count, &bounds);) in test_measure()
113 (void)paint.measureText(gText, strlen(gText), &bounds, NULL); in test_textBounds()
DSampleComplexClip.cpp125 txtX += paint.measureText(aTxt, strlen(aTxt)); in onDrawContent()
129 txtX += paint.measureText(gOps[op].fName, strlen(gOps[op].fName)); in onDrawContent()
DSampleMeasure.cpp54 SkScalar w = p.measureText(text, len, &bounds, scale); in doMeasure()
DSampleFontCache.cpp24 paint.measureText(text, sizeof(text)); in call_measure()
DSampleText.cpp88 SkScalar width = paint.measureText(text, length); in test_breakText()
244 x += paint.measureText(text, length); in test_break()
DSampleApp.cpp534 paint.measureText(c_str, size, &bounds); in drawText()
/external/skia/include/core/
DSkPaint.h756 SkScalar measureText(const void* text, size_t length,
764 SkScalar measureText(const void* text, size_t length) const { in measureText() function
765 return this->measureText(text, length, NULL, 0); in measureText()
/external/skia/gm/
Dcomplexclip.cpp130 txtX += paint.measureText(aTxt, strlen(aTxt)); in onDraw()
134 txtX += paint.measureText(gOps[op].fName, strlen(gOps[op].fName)); in onDraw()
/external/webkit/Source/WebKit/android/plugins/
DANPPaintInterface.cpp145 SkScalar w = paint->measureText(text, byteLength, in anp_measureText()
209 ASSIGN(i, measureText); in ANPPaintInterfaceV0_Init()
Dandroid_npapi.h585 float (*measureText)(ANPPaint*, const void* text, uint32_t byteLength, member
/external/webkit/Source/WebKit/android/nav/
DFindCanvas.cpp174 SkScalar before = paint.measureText(lineStart, index * sizeof(uint16_t), 0); in addMatchNormal()
178 rect.fRight = paint.measureText(glyphs, countInBytes, 0) + rect.fLeft; in addMatchNormal()
211 paint.measureText(&glyphs[j], sizeof(uint16_t), 0); in addMatchPos()
240 r.fRight = paint.measureText(&glyphs[lastIndex], sizeof(uint16_t), 0) in addMatchPosH()
DSelectText.cpp263 SkScalar firstWidth = mLastPaint.measureText(&firstGlyph, sizeof(firstGlyph)); in isSpace()
285 SkScalar width = paint.measureText(" ", 1); in minSpaceWidth()
/external/webkit/Source/WebCore/platform/graphics/android/
DFontDataAndroid.cpp125 advanceWidth = SkScalarToFloat(paint.measureText(&glyph, 2)); in platformWidthForGlyph()
DFontAndroid.cpp249 width = paint.measureText(run.characters(), run.length() << 1); in selectionRectForComplexText()
284 SkScalar width = paint.measureText(run.characters(), run.length() << 1); in floatWidthForComplexText()
/external/skia/src/views/
DSkWidget.cpp48 (void)paint.measureText(NULL, 0, &above, &below);
165 fPaint.measureText(NULL, 0, &y, NULL);
DSkStaticTextView.cpp32 SkScalar width = fPaint.measureText(fText.c_str(), fText.size()); in computeSize()
DSkWidgets.cpp345 SkScalar width = fPaint.measureText(fText.c_str(), fText.size(), NULL, NULL);
354 (void)fPaint.measureText(0, NULL, &before, &after);
DSkListView.cpp376 fPaint[kNormalText_Attr].measureText(0, NULL, &ascent, &descent);
/external/chromium/chrome/common/extensions/
Dextension_action.cc128 SkScalar text_width = text_paint->measureText(text.c_str(), text.size()); in PaintBadge()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DSimpleFontDataLinux.cpp232 SkScalar width = paint.measureText(&glyph, 2); in platformWidthForGlyph()
/external/chromium/chrome/browser/resources/gpu_internals/
Dtimeline_track.js45 w = ctx.measureText(text).width;
/external/webkit/Source/WebCore/html/canvas/
DCanvasRenderingContext2D.h219 PassRefPtr<TextMetrics> measureText(const String& text);
DCanvasRenderingContext2D.idl86 TextMetrics measureText(in DOMString text);

12