Lines Matching refs:rowBytes
53 mRowBytes = mBitmap->rowBytes(); in freePixels()
113 size_t rowBytes() const { in rowBytes() function in android::BitmapWrapper
115 return mBitmap->rowBytes(); in rowBytes()
252 *outRowBytes = localBitmap->rowBytes(); in getBitmapInfo()
538 return static_cast<jint>(bitmap->rowBytes()); in Bitmap_rowBytes()
712 static bool validateImageInfo(const SkImageInfo& info, int32_t rowBytes) { in validateImageInfo() argument
714 return SkBitmap().setInfo(info, rowBytes); in validateImageInfo()
743 const int32_t rowBytes = p.readInt32(); in Bitmap_createFromParcel() local
758 if (!validateImageInfo(imageInfo, rowBytes)) { in Bitmap_createFromParcel()
762 if (!Bitmap::computeAllocationSize(rowBytes, height, &allocationSize)) { in Bitmap_createFromParcel()
765 height, rowBytes); in Bitmap_createFromParcel()
777 nativeBitmap = Bitmap::allocateHeapBitmap(allocationSize, imageInfo, rowBytes); in Bitmap_createFromParcel()
801 … Bitmap::createFrom(imageInfo, rowBytes, fd.release(), addr, size, !isMutable); in Bitmap_createFromParcel()
849 p.writeInt32(bitmap.rowBytes()); in Bitmap_writeToParcel()