Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkScalerContext.h118 kSubBits = 2, enumerator
119 kSubMask = ((1 << kSubBits) - 1),
123 kSubShiftX = kSubBits,
140 return (n >> (16 - kSubBits)) & kSubMask; in FixedToSub()
145 return sub << (16 - kSubBits); in SubToFixed()
/external/skia/src/core/
DSkGlyphCache.h258 SkGlyph::kSubBits*2 -
DSkDraw.cpp1595 fx += SK_FixedHalf >> SkGlyph::kSubBits; in drawText()
1596 fy += SK_FixedHalf >> SkGlyph::kSubBits; in drawText()
1788 SkFixed fx = SkScalarToFixed(tms.fLoc.fX) + (SK_FixedHalf >> SkGlyph::kSubBits); in drawPosText()
1789 SkFixed fy = SkScalarToFixed(tms.fLoc.fY) + (SK_FixedHalf >> SkGlyph::kSubBits); in drawPosText()
1825 fx = fixedLoc.fX + (SK_FixedHalf >> SkGlyph::kSubBits); in drawPosText()
1826 fy = fixedLoc.fY + (SK_FixedHalf >> SkGlyph::kSubBits); in drawPosText()