Home
last modified time | relevance | path

Searched refs:skBounds (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/sample/
DMinikinSkia.cpp42 SkRect skBounds;
44 skPaint.getTextWidths(&glyph16, sizeof(glyph16), NULL, &skBounds);
45 bounds->mLeft = skBounds.fLeft;
46 bounds->mTop = skBounds.fTop;
47 bounds->mRight = skBounds.fRight;
48 bounds->mBottom = skBounds.fBottom;
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp62 SkRect skBounds; in GetBounds() local
64 skPaint.getTextWidths(&glyph16, sizeof(glyph16), NULL, &skBounds); in GetBounds()
65 bounds->mLeft = skBounds.fLeft; in GetBounds()
66 bounds->mTop = skBounds.fTop; in GetBounds()
67 bounds->mRight = skBounds.fRight; in GetBounds()
68 bounds->mBottom = skBounds.fBottom; in GetBounds()
/frameworks/base/core/jni/android/graphics/
DHarfBuzzNGFaceSkia.cpp63 SkRect skBounds; in SkiaGetGlyphWidthAndExtents() local
66 paint->getTextWidths(&glyph, sizeof(glyph), &skWidth, &skBounds); in SkiaGetGlyphWidthAndExtents()
74 extents->x_bearing = SkScalarToHBFixed(skBounds.fLeft); in SkiaGetGlyphWidthAndExtents()
75 extents->y_bearing = SkScalarToHBFixed(-skBounds.fTop); in SkiaGetGlyphWidthAndExtents()
76 extents->width = SkScalarToHBFixed(skBounds.width()); in SkiaGetGlyphWidthAndExtents()
77 extents->height = SkScalarToHBFixed(-skBounds.height()); in SkiaGetGlyphWidthAndExtents()