Home
last modified time | relevance | path

Searched refs:setInfo (Results 1 – 25 of 116) sorted by relevance

12345

/external/skia/tests/
DBitmapTest.cpp35 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/
DBitmapTest.cpp31 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/
DBitmap_refColorSpace.cpp8 bitmap1.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw()
10 bitmap2.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw()
DBitmap_ComputeIsOpaque.cpp8 bitmap.setInfo(SkImageInfo::Make(2, 2, kN32_SkColorType, kPremul_SkAlphaType)); in draw()
15 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
DBitmap_isOpaque.cpp10 bitmap.setInfo(SkImageInfo::Make(width, height, kN32_SkColorType, kPremul_SkAlphaType)); in draw()
17 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
DImageInfo_isOpaque.cpp11 bitmap.setInfo(imageInfo); in draw()
19 bitmap.setInfo(imageInfo); in draw()
DBitmap_colorType.cpp11 bitmap.setInfo(SkImageInfo::MakeA8(16, 32)); in draw()
DBitmap_rowBytesAsPixels.cpp9 bitmap.setInfo(SkImageInfo::MakeN32(1, 1, kPremul_SkAlphaType), rowBytes); in draw()
DBitmap_rowBytes.cpp9 bool result = bitmap.setInfo(SkImageInfo::MakeA8(4, 4), rowBytes); in draw()
DBitmap_width.cpp9 bitmap.setInfo(info); in draw()
DBitmap_height.cpp9 bitmap.setInfo(info); in draw()
DBitmap_empty.cpp10 bitmap.setInfo(SkImageInfo::MakeA8(width, height)); in draw()
DBitmap_isNull.cpp9 bitmap.setInfo(SkImageInfo::MakeA8(8, 8)); in draw()
DBitmap_drawsNothing.cpp10 bitmap.setInfo(SkImageInfo::MakeA8(w, 8)); in draw()
DBitmap_setImmutable.cpp8 bitmap.setInfo(SkImageInfo::MakeN32(4, 4, kPremul_SkAlphaType)); in draw()
DBitmap_HeapAllocator_allocPixelRef.cpp8 bitmap.setInfo(SkImageInfo::MakeN32(16, 16, kPremul_SkAlphaType)); in draw()
DBitmap_colorSpace.cpp8 bitmap.setInfo(SkImageInfo::MakeN32(16, 32, kPremul_SkAlphaType, in draw()
DBitmap_computeByteSize.cpp11 bitmap.setInfo(imageInfo, width * 5); in draw()
DBitmap_getPixels.cpp8 bitmap.setInfo(SkImageInfo::MakeN32(4, 4, kPremul_SkAlphaType)); in draw()
DBitmap_setPixelRef.cpp8 bitmap.setInfo(SkImageInfo::Make(source.width() - 5, source.height() - 5, in draw()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DCallInfoParser.java80 callInfo.setInfo(uri); in parse()
97 callInfo.setInfo(uri); in parse()
/external/skqp/docs/
DSkBitmap_Reference.bmh87 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/
DSkBitmap.cpp108 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/
DSkBitmap.cpp107 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/
DCallInfoHeader.java9 void setInfo(URI info); in setInfo() method

12345