Home
last modified time | relevance | path

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

/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/webkit/WebKit/android/nav/
DFindCanvas.cpp138 SkScalar before = paint.measureText(lineStart, index * sizeof(uint16_t), 0); in addMatchNormal()
142 rect.fRight = paint.measureText(glyphs, countInBytes, 0) + rect.fLeft; in addMatchNormal()
175 paint.measureText(&glyphs[j], sizeof(uint16_t), 0); in addMatchPos()
204 r.fRight = paint.measureText(&glyphs[lastIndex], sizeof(uint16_t), 0) in addMatchPosH()
/external/skia/include/core/
DSkPaint.h663 SkScalar measureText(const void* text, size_t length,
671 SkScalar measureText(const void* text, size_t length) const in measureText() function
673 return this->measureText(text, length, NULL, 0); in measureText()
/external/webkit/WebKit/android/plugins/
DANPPaintInterface.cpp145 SkScalar w = paint->measureText(text, byteLength, in anp_measureText()
209 ASSIGN(i, measureText); in ANPPaintInterfaceV0_Init()
Dandroid_npapi.h381 float (*measureText)(ANPPaint*, const void* text, uint32_t byteLength, member
/external/webkit/WebCore/platform/graphics/android/
DFontAndroid.cpp182 width = paint.measureText(run.characters(), run.length() << 1); in selectionRectForComplexText()
217 SkScalar width = paint.measureText(run.characters(), run.length() << 1); in floatWidthForComplexText()
DFontDataAndroid.cpp123 return SkScalarToFloat(paint.measureText(&glyph, 2)); in platformWidthForGlyph()
/external/skia/src/views/
DSkWidget.cpp48 (void)paint.measureText(nil, 0, &above, &below);
165 fPaint.measureText(nil, 0, &y, nil);
DSkWidgets.cpp345 SkScalar width = fPaint.measureText(fText.c_str(), fText.size(), nil, nil);
354 (void)fPaint.measureText(0, nil, &before, &after);
DSkWidgetViews.cpp372 SkScalar width = fPaint.measureText(fText.c_str(), fText.size()); in computeSize()
DSkListView.cpp376 fPaint[kNormalText_Attr].measureText(0, nil, &ascent, &descent);
/external/webkit/WebCore/platform/graphics/chromium/
DSimpleFontDataLinux.cpp157 SkScalar width = paint.measureText(&glyph, 2); in platformWidthForGlyph()
/external/webkit/WebCore/html/
DCanvasRenderingContext2D.h195 PassRefPtr<TextMetrics> measureText(const String& text);
DCanvasRenderingContext2D.idl90 TextMetrics measureText(in DOMString text);
DCanvasRenderingContext2D.cpp1345 PassRefPtr<TextMetrics> CanvasRenderingContext2D::measureText(const String& text) in measureText() function in WebCore::CanvasRenderingContext2D
/external/skia/src/core/
DSkPaint.cpp711 SkScalar SkPaint::measureText(const void* textData, size_t length, in measureText() function in SkPaint
DSkDraw.cpp1389 underlineWidth = paint.measureText(text, byteLength); in drawText()
/external/webkit/WebCore/
DChangeLog46087 (WebCore::CanvasRenderingContext2D::measureText):