Lines Matching refs:setInfo
87 bitmap.setInfo(SkImageInfo::MakeN32(16, 16, kPremul_SkAlphaType));
125 bitmap.setInfo(SkImageInfo::Make(25, 35, kRGBA_8888_SkColorType, kOpaque_SkAlphaType),
135 #SeeAlso setInfo
164 #SeeAlso setInfo setPixelRef setPixels swap
193 #SeeAlso setInfo setPixelRef setPixels swap
236 #SeeAlso setInfo setPixelRef setPixels swap
265 #SeeAlso setInfo setPixelRef setPixels swap
402 bitmap.setInfo(info);
423 bitmap.setInfo(info);
447 bitmap.setInfo(SkImageInfo::MakeA8(16, 32));
493 bitmap.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType,
518 bitmap1.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType,
520 bitmap2.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType,
550 bitmap.setInfo(info.makeColorType(colorType));
584 bitmap.setInfo(SkImageInfo::MakeN32(1, 1, kPremul_SkAlphaType), rowBytes);
614 bitmap.setInfo(info.makeColorType(colorType));
649 bitmap.setInfo(SkImageInfo::MakeA8(width, height));
676 bitmap.setInfo(SkImageInfo::MakeA8(8, 8));
702 bitmap.setInfo(SkImageInfo::MakeA8(w, 8));
729 setInfo is not large enough to hold a row of pixels.
736 bool result = bitmap.setInfo(SkImageInfo::MakeA8(4, 4), rowBytes);
737 SkDebugf("setInfo returned:%s rowBytes:%d\n", result ? "true " : "false", bitmap.rowBytes());
740 setInfo returned:false rowBytes:0
741 setInfo returned:true rowBytes:8
745 #SeeAlso info() setInfo SkImageInfo::minRowBytes
771 bitmap.setInfo(SkImageInfo::Make(4, 4, colorType, canonicalAlphaType));
781 #SeeAlso Alpha_Type Color_Type Image_Info setInfo
794 bitmap.setInfo(SkImageInfo::MakeN32(4, 4, kPremul_SkAlphaType));
825 bitmap.setInfo(imageInfo, width * 5);
886 bitmap.setInfo(SkImageInfo::MakeN32(4, 4, kPremul_SkAlphaType));
914 bitmap.setInfo(SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType));
921 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType));
972 bitmap.setInfo(SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kOpaque_SkAlphaType));
997 bitmap.setInfo(SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kOpaque_SkAlphaType));
1023 bitmap.setInfo(SkImageInfo::Make(2, 2, kN32_SkColorType, kPremul_SkAlphaType));
1030 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType));
1120 bitmap.setInfo(SkImageInfo::MakeN32(33, 55, kOpaque_SkAlphaType));
1162 #Method bool setInfo(const SkImageInfo& imageInfo, size_t rowBytes = 0)
1200 bitmap.setInfo(SkImageInfo::MakeN32(44, 16, kOpaque_SkAlphaType));
1678 bitmap.setInfo(SkImageInfo::MakeN32(width, height, kOpaque_SkAlphaType));
1720 bitmap.setInfo(SkImageInfo::MakeN32(2, 2, kOpaque_SkAlphaType));
1796 bitmap.setInfo(SkImageInfo::Make(source.width() - 5, source.height() - 5,
1802 #SeeAlso setInfo
1861 bitmap.setInfo(SkImageInfo::Make(1, 1, kRGBA_8888_SkColorType, kOpaque_SkAlphaType));