Home | History | Annotate | Download | only in hwui

Lines Matching refs:row

305             uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
308 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
312 row = cacheY * cacheWidth;
313 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
316 cacheBuffer[row + cacheX] = mGammaTable[tempCol];
318 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
322 row = cacheY * cacheWidth;
323 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth);
324 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
325 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
329 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
330 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
341 // - we actually start one row early, and then increment before first copy
361 uint32_t row = (startY - TEXTURE_BORDER_SIZE) * cacheWidth + startX
365 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
372 row = cacheY * cacheWidth;
373 cacheBuffer[row + startX - TEXTURE_BORDER_SIZE] = 0;
380 cacheBuffer[row + endX + TEXTURE_BORDER_SIZE - 1] = 0;
385 row = (endY + TEXTURE_BORDER_SIZE - 1) * cacheWidth + startX - TEXTURE_BORDER_SIZE;
386 memset(&cacheBuffer[row], 0, glyph.fWidth + 2 * TEXTURE_BORDER_SIZE);
477 // Reset to default unpack row length to avoid affecting texture