/external/skia/tests/ |
D | BitmapTest.cpp | 35 bm.setInfo(SkImageInfo::MakeN32Premul(10, 10)); in test_peekpixels() 68 bm.setInfo(info); in test_allocpixels() 76 bm.setInfo(info, explicitRowBytes); in test_allocpixels() 85 bm.setInfo(info, 0); in test_allocpixels() 92 bool success = bm.setInfo(info, info.minRowBytes() - 1); // invalid for 32bit in test_allocpixels() 119 success = bm.setInfo(imageInfo, imageInfo.minRowBytes() + rowBytesPadding); in test_allocpixels() 138 REPORTER_ASSERT(reporter, bm.setInfo(info)); in test_bigwidth() 139 REPORTER_ASSERT(reporter, bm.setInfo(info.makeColorType(kRGB_565_SkColorType))); in test_bigwidth() 147 REPORTER_ASSERT(reporter, !bm.setInfo(info.makeColorType(kN32_SkColorType))); in test_bigwidth() 155 bool setConf = bm.setInfo(SkImageInfo::MakeN32Premul(width, height)); in DEF_TEST() [all …]
|
/external/skqp/tests/ |
D | BitmapTest.cpp | 31 bm.setInfo(SkImageInfo::MakeN32Premul(10, 10)); in test_peekpixels() 64 bm.setInfo(info); in test_allocpixels() 72 bm.setInfo(info, explicitRowBytes); in test_allocpixels() 81 bm.setInfo(info, 0); in test_allocpixels() 88 bool success = bm.setInfo(info, info.minRowBytes() - 1); // invalid for 32bit in test_allocpixels() 98 REPORTER_ASSERT(reporter, bm.setInfo(info)); in test_bigwidth() 99 REPORTER_ASSERT(reporter, bm.setInfo(info.makeColorType(kRGB_565_SkColorType))); in test_bigwidth() 107 REPORTER_ASSERT(reporter, !bm.setInfo(info.makeColorType(kN32_SkColorType))); in test_bigwidth() 118 bool setConf = bm.setInfo(SkImageInfo::MakeN32Premul(width, height)); in DEF_TEST()
|
/external/skia/docs/examples/ |
D | Bitmap_refColorSpace.cpp | 8 bitmap1.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw() 10 bitmap2.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw()
|
D | Bitmap_ComputeIsOpaque.cpp | 8 bitmap.setInfo(SkImageInfo::Make(2, 2, kN32_SkColorType, kPremul_SkAlphaType)); in draw() 15 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
|
D | Bitmap_isOpaque.cpp | 10 bitmap.setInfo(SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType)); in draw() 17 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
|
D | ImageInfo_isOpaque.cpp | 11 bitmap.setInfo(imageInfo); in draw() 19 bitmap.setInfo(imageInfo); in draw()
|
D | Bitmap_colorType.cpp | 11 bitmap.setInfo(SkImageInfo::MakeA8(16, 32)); in draw()
|
D | Bitmap_rowBytesAsPixels.cpp | 9 bitmap.setInfo(SkImageInfo::MakeN32(1, 1, kPremul_SkAlphaType), rowBytes); in draw()
|
D | Bitmap_rowBytes.cpp | 9 bool result = bitmap.setInfo(SkImageInfo::MakeA8(4, 4), rowBytes); in draw()
|
D | Bitmap_width.cpp | 9 bitmap.setInfo(info); in draw()
|
D | Bitmap_height.cpp | 9 bitmap.setInfo(info); in draw()
|
D | Bitmap_empty.cpp | 10 bitmap.setInfo(SkImageInfo::MakeA8(width, height)); in draw()
|
D | Bitmap_isNull.cpp | 9 bitmap.setInfo(SkImageInfo::MakeA8(8, 8)); in draw()
|
D | Bitmap_drawsNothing.cpp | 10 bitmap.setInfo(SkImageInfo::MakeA8(w, 8)); in draw()
|
D | Bitmap_setImmutable.cpp | 8 bitmap.setInfo(SkImageInfo::MakeN32(4, 4, kPremul_SkAlphaType)); in draw()
|
D | Bitmap_HeapAllocator_allocPixelRef.cpp | 8 bitmap.setInfo(SkImageInfo::MakeN32(16, 16, kPremul_SkAlphaType)); in draw()
|
D | Bitmap_colorSpace.cpp | 8 bitmap.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw()
|
D | Bitmap_computeByteSize.cpp | 11 bitmap.setInfo(imageInfo, width * 5); in draw()
|
D | Bitmap_getPixels.cpp | 8 bitmap.setInfo(SkImageInfo::MakeN32(4, 4, kPremul_SkAlphaType)); in draw()
|
D | Bitmap_setPixelRef.cpp | 8 bitmap.setInfo(SkImageInfo::Make(source.width() - 5, source.height() - 5, in draw()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | CallInfoParser.java | 80 callInfo.setInfo(uri); in parse() 97 callInfo.setInfo(uri); in parse()
|
/external/skqp/docs/ |
D | SkBitmap_Reference.bmh | 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)); [all …]
|
/external/skqp/src/core/ |
D | SkBitmap.cpp | 108 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) { in setInfo() function in SkBitmap 225 if (!this->setInfo(requestedInfo, rowBytes)) { in tryAllocPixels() 250 if (!this->setInfo(requestedInfo)) { in tryAllocPixelsFlags() 279 if (!this->setInfo(requestedInfo, rb)) { in installPixels() 436 dst.setInfo(this->info().makeWH(r.width(), r.height()), this->rowBytes()); in extractSubset() 532 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 555 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha()
|
/external/skia/src/core/ |
D | SkBitmap.cpp | 107 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) { in setInfo() function in SkBitmap 253 if (!this->setInfo(requestedInfo, rowBytes)) { in tryAllocPixels() 278 if (!this->setInfo(requestedInfo)) { in tryAllocPixelsFlags() 306 if (!this->setInfo(requestedInfo, rb)) { in installPixels() 445 dst.setInfo(this->info().makeDimensions(r.size()), this->rowBytes()); in extractSubset() 542 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 565 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha()
|
/external/nist-sip/java/javax/sip/header/ |
D | CallInfoHeader.java | 9 void setInfo(URI info); in setInfo() method
|