Implement Bitmap#getRowBytes and Bitmap#getByteCount.