Searched refs:rowBytes (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/ |
D | GradientCache.cpp | 244 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()
|
D | TextureCache.cpp | 134 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in get() 166 texture->bitmapSize = bitmap->rowBytes() * bitmap->height(); in getTransient()
|
D | FontRenderer.cpp | 299 int srcStride = glyph.rowBytes(); in cacheBitmap() 369 int rowBytes = srcStride; in cacheBitmap() local 374 while (--rowBytes >= 0) { in cacheBitmap()
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 34 info->stride = bm->rowBytes(); in AndroidBitmap_getInfo()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 134 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()
|
D | GraphicsJNI.h | 95 AndroidPixelRef(JNIEnv* env, const SkImageInfo& info, void* storage, size_t rowBytes, 104 size_t rowBytes, SkColorTable* ctable);
|
D | Graphics.cpp | 437 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()
|
D | BitmapFactory.cpp | 209 bitmapInfo, bitmap->rowBytes(), ctable); in allocPixelRef()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 165 ssize_t rowBytes = screenshot->getStride() * android::bytesPerPixel(screenshot->getFormat()); in nativeScreenshotBitmap() local 168 bitmap->setConfig(screenshotInfo, rowBytes); in nativeScreenshotBitmap()
|
D | com_google_android_gles_jni_EGLImpl.cpp | 294 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()
|