Home
last modified time | relevance | path

Searched refs:rowBytes (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
DGradientCache.cpp244 const GLsizei rowBytes = width * bytesPerPixel(); in generateTexture() local
245 uint8_t pixels[rowBytes * texture->height]; in generateTexture()
286 memcpy(pixels + rowBytes, pixels, rowBytes); in generateTexture()
DTextureCache.cpp134 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in get()
166 texture->bitmapSize = bitmap->rowBytes() * bitmap->height(); in getTransient()
DFontRenderer.cpp234 int stride = glyph.rowBytes(); in cacheBitmap()
266 int rowBytes = stride; in cacheBitmap() local
271 while (--rowBytes >= 0) { in cacheBitmap()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp101 dst = (char*)dst + dstBitmap.rowBytes(); in SetPixels()
336 return bitmap->rowBytes(); in Bitmap_rowBytes()
379 const int rowBytes = p->readInt32(); in Bitmap_createFromParcel() local
393 bitmap->setConfig(config, width, height, rowBytes); in Bitmap_createFromParcel()
447 p->writeInt32(bitmap->rowBytes()); in Bitmap_writeToParcel()
550 src = (void*)((const char*)src + bitmap->rowBytes()); in Bitmap_getPixels()
/frameworks/base/native/graphics/jni/
Dbitmap.cpp34 info->stride = bm->rowBytes(); in AndroidBitmap_getInfo()
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp295 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()