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()
771 static bool validateImageInfo(const SkImageInfo& info, int32_t rowBytes) { in validateImageInfo() argument
773 return SkBitmap().setInfo(info, rowBytes); in validateImageInfo()
802 const int32_t rowBytes = p.readInt32(); in Bitmap_createFromParcel() local
817 if (!validateImageInfo(imageInfo, rowBytes)) { in Bitmap_createFromParcel()
821 if (!Bitmap::computeAllocationSize(rowBytes, height, &allocationSize)) { in Bitmap_createFromParcel()
824 height, rowBytes); in Bitmap_createFromParcel()
836 nativeBitmap = Bitmap::allocateHeapBitmap(allocationSize, imageInfo, rowBytes); in Bitmap_createFromParcel()
860 … Bitmap::createFrom(imageInfo, rowBytes, fd.release(), addr, size, !isMutable); in Bitmap_createFromParcel()
908 p.writeInt32(bitmap.rowBytes()); in Bitmap_writeToParcel()