Home | History | Annotate | Download | only in core

Lines Matching defs:setInfo

106 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) {
223 if (!this->setInfo(requestedInfo, rowBytes)) {
227 // setInfo may have corrected info (e.g. 565 is always opaque).
232 // setInfo may have computed a valid rowbytes if 0 were passed in
248 if (!this->setInfo(requestedInfo)) {
252 // setInfo may have corrected info (e.g. 565 is always opaque).
277 if (!this->setInfo(requestedInfo, rb)) {
284 return true; // we behaved as if they called setInfo()
287 // setInfo may have corrected info (e.g. 565 is always opaque).
458 dst.setInfo(this->info().makeWH(r.width(), r.height()), this->rowBytes());
554 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes);
577 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()),