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.h718 SkScalar measureText(const void* text, size_t length,
726 SkScalar measureText(const void* text, size_t length) const in measureText() function
728 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.h550 float (*measureText)(ANPPaint*, const void* text, uint32_t byteLength, member
/external/webkit/WebCore/platform/graphics/android/
DFontAndroid.cpp187 width = paint.measureText(run.characters(), run.length() << 1); in selectionRectForComplexText()
222 SkScalar width = paint.measureText(run.characters(), run.length() << 1); in floatWidthForComplexText()
DFontDataAndroid.cpp130 return SkScalarToFloat(paint.measureText(&glyph, 2)); in platformWidthForGlyph()
/external/skia/src/views/
DSkWidget.cpp48 (void)paint.measureText(NULL, 0, &above, &below);
165 fPaint.measureText(NULL, 0, &y, NULL);
DSkWidgets.cpp345 SkScalar width = fPaint.measureText(fText.c_str(), fText.size(), NULL, NULL);
354 (void)fPaint.measureText(0, NULL, &before, &after);
DSkWidgetViews.cpp372 SkScalar width = fPaint.measureText(fText.c_str(), fText.size()); in computeSize()
DSkListView.cpp376 fPaint[kNormalText_Attr].measureText(0, NULL, &ascent, &descent);
/external/webkit/WebCore/platform/graphics/chromium/
DSimpleFontDataLinux.cpp184 SkScalar width = paint.measureText(&glyph, 2); in platformWidthForGlyph()
/external/webkit/WebCore/html/canvas/
DCanvasRenderingContext2D.h201 PassRefPtr<TextMetrics> measureText(const String& text);
DCanvasRenderingContext2D.idl90 TextMetrics measureText(in DOMString text);
DCanvasRenderingContext2D.cpp1443 PassRefPtr<TextMetrics> CanvasRenderingContext2D::measureText(const String& text) in measureText() function in WebCore::CanvasRenderingContext2D
/external/skia/src/core/
DSkPaint.cpp722 SkScalar SkPaint::measureText(const void* textData, size_t length, in measureText() function in SkPaint
DSkDraw.cpp1440 underlineWidth = paint.measureText(text, byteLength); in drawText()
/external/webkit/WebCore/
DChangeLog-2009-06-1693126 (WebCore::CanvasRenderingContext2D::measureText):