Home | History | Annotate | Download | only in hwui

Lines Matching defs:startX

209         const SkGlyph& glyph, uint32_t* startX, uint32_t* startY) {
211 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) {
260 uint32_t startX = 0;
263 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
270 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
281 *retOriginX = startX;
284 uint32_t endX = startX + glyph.fWidth;
306 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
314 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
315 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) {
324 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth);
325 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
330 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
344 uint8_t* dst = &cacheBuffer[cacheTexture->getOffset(startX, startY - 1)];
345 uint8_t* dstEnd = &cacheBuffer[cacheTexture->getOffset(startX, endY - 1)];
362 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
369 cacheX = startX;
374 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
386 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;