Home
last modified time | relevance | path

Searched refs:rowBytes (Results 1 – 10 of 10) 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.cpp299 int srcStride = glyph.rowBytes(); in cacheBitmap()
369 int rowBytes = srcStride; in cacheBitmap() local
374 while (--rowBytes >= 0) { in cacheBitmap()
/frameworks/base/native/graphics/jni/
Dbitmap.cpp34 info->stride = bm->rowBytes(); in AndroidBitmap_getInfo()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp134 dst = (char*)dst + dstBitmap.rowBytes(); in SetPixels()
430 return bitmap->rowBytes(); in Bitmap_rowBytes()
479 const int rowBytes = p->readInt32(); in Bitmap_createFromParcel() local
493 bitmap->setConfig(config, width, height, rowBytes); in Bitmap_createFromParcel()
549 p->writeInt32(bitmap->rowBytes()); in Bitmap_writeToParcel()
653 src = (void*)((const char*)src + bitmap->rowBytes()); in Bitmap_getPixels()
DGraphicsJNI.h95 AndroidPixelRef(JNIEnv* env, const SkImageInfo& info, void* storage, size_t rowBytes,
104 size_t rowBytes, SkColorTable* ctable);
DGraphics.cpp437 size_t rowBytes, jbyteArray storageObj, SkColorTable* ctable) : in AndroidPixelRef() argument
438 SkMallocPixelRef(info, storage, rowBytes, ctable, (storageObj == NULL)), in AndroidPixelRef()
456 size_t rowBytes, SkColorTable* ctable) : in AndroidPixelRef() argument
457 SkMallocPixelRef(info, wrappedPixelRef.getAddr(), rowBytes, ctable, false), in AndroidPixelRef()
578 bitmap->rowBytes(), arrayObj, ctable); in allocateJavaPixelRef()
DBitmapFactory.cpp209 bitmapInfo, bitmap->rowBytes(), ctable); in allocPixelRef()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp165 ssize_t rowBytes = screenshot->getStride() * android::bytesPerPixel(screenshot->getFormat()); in nativeScreenshotBitmap() local
168 bitmap->setConfig(screenshotInfo, rowBytes); in nativeScreenshotBitmap()
Dcom_google_android_gles_jni_EGLImpl.cpp294 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()