Lines Matching refs:setInfo
107 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) {
253 if (!this->setInfo(requestedInfo, rowBytes)) {
257 // setInfo may have corrected info (e.g. 565 is always opaque).
262 // setInfo may have computed a valid rowbytes if 0 were passed in
278 if (!this->setInfo(requestedInfo)) {
282 // setInfo may have corrected info (e.g. 565 is always opaque).
306 if (!this->setInfo(requestedInfo, rb)) {
313 return true; // we behaved as if they called setInfo()
316 // setInfo may have corrected info (e.g. 565 is always opaque).
445 dst.setInfo(this->info().makeDimensions(r.size()), this->rowBytes());
542 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes);
565 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()),