Lines Matching refs:height
196 const int height = this->readInt();
229 if (bitmap->width() == width && bitmap->height() == height) {
236 fDecodedBitmapIndex, width, height, length, xOffset,
240 // If the width and height match, there should be no offset.
246 // the recorded width and height must be smaller than or equal to
247 // the encoded width and height.
249 // sources encoder agree on the width and height which may not
252 //SkASSERT(width <= bitmap->width() && height <= bitmap->height());
255 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height);
268 bitmap->setInfo(SkImageInfo::MakeUnknown(width, height));
275 bitmap->setInfo(SkImageInfo::MakeUnknown(width, height));
295 int height = this->read32();
296 if (width <= 0 || height <= 0) { // SkImage never has a zero dimension
305 new EmptyImageGenerator(SkImageInfo::MakeN32Premul(width, height)));
315 const SkIRect subset = SkIRect::MakeXYWH(originX, originY, width, height);
322 new EmptyImageGenerator(SkImageInfo::MakeN32Premul(width, height)));