Lines Matching defs:glyph
226 bool CacheTexture::fitBitmap(const SkGlyph& glyph, uint32_t* retOriginX, uint32_t* retOriginY) {
227 switch (glyph.fMaskFormat) {
248 ALOGD("fitBitmap: unknown glyph format %x encountered", glyph.fMaskFormat);
253 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > getHeight()) {
257 uint16_t glyphW = glyph.fWidth + TEXTURE_BORDER_SIZE;
258 uint16_t glyphH = glyph.fHeight + TEXTURE_BORDER_SIZE;
268 // Store glyph in this block iff: it fits the block's remaining space and:
269 // it's the remainder space (mY == 0) or there's only enough height for this one glyph
275 // Only enough space for this glyph - don't bother rounding up the width
333 ALOGD("fitBitmap: returning false for glyph of size %d, %d", glyphW, glyphH);