Lines Matching refs:kSubPixelPosLen
46 kSubPixelPosLen = 2u, enumerator
50 kGlyphID = kSubPixelPosLen,
51 kSubPixelY = kGlyphIDLen + kSubPixelPosLen,
52 kEndData = kGlyphIDLen + 2 * kSubPixelPosLen,
56 kSubPixelPosMask = (1u << kSubPixelPosLen) - 1,
61 kFixedPointSubPixelPosBits = kFixedPointBinaryPointPos - kSubPixelPosLen,
65 1.f / (1u << (SkPackedGlyphID::kSubPixelPosLen + 1));
137 SkASSERT(x < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
138 SkASSERT(y < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
166 const XY magic = {1.f * (1u << (kSubPixelPosLen + kSubPixelX)), in PackIDSkPoint()
167 1.f * (1u << (kSubPixelPosLen + kSubPixelY))}; in PackIDSkPoint()
172 const float magicX = 1.f * (1u << (kSubPixelPosLen + kSubPixelX)), in PackIDSkPoint()
173 magicY = 1.f * (1u << (kSubPixelPosLen + kSubPixelY)); in PackIDSkPoint()
185 SkASSERT(sub[0] / (1u << kSubPixelX) < (1u << kSubPixelPosLen)); in PackIDSkPoint()
186 SkASSERT(sub[1] / (1u << kSubPixelY) < (1u << kSubPixelPosLen)); in PackIDSkPoint()