Home | History | Annotate | Download | only in hwui

Lines Matching refs:startX

208         const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) {
210 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) {
259 uint32_t startX = 0;
262 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
269 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
280 *retOriginX = startX;
283 uint32_t endX = startX + glyph.fWidth;
305 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
313 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
314 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) {
323 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth);
324 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
329 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
343 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)];
344 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)];
361 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
368 cacheX = startX;
373 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
385 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;