Lines Matching refs:rowBytes
58 mRowBytes = mBitmap->rowBytes(); in freePixels()
118 size_t rowBytes() const { in rowBytes() function in android::BitmapWrapper
120 return mBitmap->rowBytes(); in rowBytes()
257 *outRowBytes = localBitmap->rowBytes(); in getBitmapInfo()
513 return static_cast<jint>(bitmap->rowBytes()); in Bitmap_rowBytes()
773 static bool validateImageInfo(const SkImageInfo& info, int32_t rowBytes) { in validateImageInfo() argument
775 return SkBitmap().setInfo(info, rowBytes); in validateImageInfo()
804 const int32_t rowBytes = p.readInt32(); in Bitmap_createFromParcel() local
819 if (!validateImageInfo(imageInfo, rowBytes)) { in Bitmap_createFromParcel()
823 if (!Bitmap::computeAllocationSize(rowBytes, height, &allocationSize)) { in Bitmap_createFromParcel()
826 height, rowBytes); in Bitmap_createFromParcel()
834 nativeBitmap = Bitmap::allocateHeapBitmap(allocationSize, imageInfo, rowBytes); in Bitmap_createFromParcel()
852 … Bitmap::createFrom(imageInfo, rowBytes, fd.release(), addr, size, !isMutable); in Bitmap_createFromParcel()
897 p.writeInt32(bitmap.rowBytes()); in Bitmap_writeToParcel()