Home
last modified time | relevance | path

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

123456

/external/chromium_org/third_party/skia/tests/
DBitmapTest.cpp19 bm.setInfo(info); in test_allocpixels()
27 bm.setInfo(info, explicitRowBytes); in test_allocpixels()
36 bm.setInfo(info, 0); in test_allocpixels()
43 bool success = bm.setInfo(info, info.minRowBytes() - 1); // invalid for 32bit in test_allocpixels()
53 REPORTER_ASSERT(reporter, bm.setInfo(info)); in test_bigwidth()
54 REPORTER_ASSERT(reporter, bm.setInfo(info.makeColorType(kRGB_565_SkColorType))); in test_bigwidth()
62 REPORTER_ASSERT(reporter, !bm.setInfo(info.makeColorType(kN32_SkColorType))); in test_bigwidth()
73 bool setConf = bm.setInfo(SkImageInfo::MakeN32Premul(width, height)); in DEF_TEST()
DPipeTest.cpp19 badBitmap.setInfo(SkImageInfo::MakeUnknown(5, 5)); in testDrawingBadBitmap()
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(64, 64)); in DEF_TEST()
DTextureCompressionTest.cpp58 bool setInfoSuccess = bitmap.setInfo(info); in DEF_TEST()
91 bool setInfoSuccess = bitmap.setInfo(info); in DEF_TEST()
126 bool setInfoSuccess = bitmap.setInfo(info); in DEF_TEST()
212 bool setInfoSuccess = bitmap.setInfo(info); in DEF_TEST()
/external/skia/tests/
DBitmapTest.cpp17 REPORTER_ASSERT(reporter, bm.setInfo(info)); in test_bigwidth()
19 REPORTER_ASSERT(reporter, bm.setInfo(info)); in test_bigwidth()
28 REPORTER_ASSERT(reporter, !bm.setInfo(info)); in test_bigwidth()
39 bool setConf = bm.setInfo(SkImageInfo::MakeN32Premul(width, height)); in DEF_TEST()
DTextureCompressionTest.cpp29 bool setInfoSuccess = bitmap.setInfo(info); in DEF_TEST()
53 bool setInfoSuccess = bitmap.setInfo(info); in DEF_TEST()
74 bool setInfoSuccess = bitmap.setInfo(info); in DEF_TEST()
DPipeTest.cpp19 badBitmap.setInfo(SkImageInfo::MakeUnknown(5, 5)); in testDrawingBadBitmap()
46 bitmap.setInfo(SkImageInfo::MakeN32Premul(64, 64)); in DEF_TEST()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DCallInfoParser.java80 callInfo.setInfo(uri); in parse()
97 callInfo.setInfo(uri); in parse()
/external/skia/src/lazy/
DSkCachingPixelRef.cpp17 || !dst->setInfo(info)) { in Install()
57 if ((!bitmap.setInfo(info, fRowBytes)) || !bitmap.allocPixels()) { in onNewLockPixels()
/external/skia/src/core/
DSkBitmap.cpp186 bool SkBitmap::setInfo(const SkImageInfo& origInfo, size_t rowBytes) { in setInfo() function in SkBitmap
226 return this->setInfo(SkImageInfo::Make(width, height, ct, alphaType), rowBytes); in setConfig()
374 if (!this->setInfo(requestedInfo)) { in allocPixels()
403 if (!this->setInfo(requestedInfo, rb)) { in installPixels()
836 dst.setInfo(SkImageInfo::Make(subset.width(), subset.height(), in extractSubset()
852 dst.setInfo(SkImageInfo::Make(r.width(), r.height(), this->colorType(), this->alphaType()), in extractSubset()
951 if (!tmpDst.setInfo(dstInfo)) { in copyTo()
1060 if (!dst->setInfo(info, rowBytes)) { in deepCopyTo()
1170 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha()
1193 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkBitmap.cpp107 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) { in setInfo() function in SkBitmap
284 if (!this->setInfo(requestedInfo, rowBytes)) { in tryAllocPixels()
314 if (!this->setInfo(requestedInfo)) { in tryAllocPixels()
343 if (!this->setInfo(requestedInfo, rb)) { in installPixels()
772 dst.setInfo(SkImageInfo::Make(subset.width(), subset.height(), in extractSubset()
788 dst.setInfo(SkImageInfo::Make(r.width(), r.height(), this->colorType(), this->alphaType()), in extractSubset()
935 if (!tmpDst.setInfo(dstInfo)) { in copyTo()
1005 if (!dst->setInfo(info, rowBytes)) { in deepCopyTo()
1115 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha()
1138 tmpBitmap.setInfo(SkImageInfo::MakeA8(dstM.fBounds.width(), dstM.fBounds.height()), in extractAlpha()
[all …]
/external/nist-sip/java/javax/sip/header/
DCallInfoHeader.java9 void setInfo(URI info); in setInfo() method
/external/chromium_org/third_party/skia/bench/
DRepeatTileBench.cpp98 fBitmap.setInfo(SkImageInfo::MakeN32(w, h, at)); in RepeatTileBench()
100 fBitmap.setInfo(SkImageInfo::Make(w, h, ct, at)); in RepeatTileBench()
DReadPixBench.cpp46 bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize)); in onDraw()
/external/skia/bench/
DRepeatTileBench.cpp98 fBitmap.setInfo(SkImageInfo::MakeN32(w, h, at)); in RepeatTileBench()
100 fBitmap.setInfo(SkImageInfo::Make(w, h, ct, at)); in RepeatTileBench()
DReadPixBench.cpp46 bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize)); in onDraw()
/external/chromium_org/ui/views/controls/table/
Dtest_table_model.cc32 bitmap.setInfo(SkImageInfo::MakeN32Premul(16, 16)); in GetIcon()
/external/chromium_org/ui/gfx/
Dicon_util_unittest.cc176 bitmap->setInfo(SkImageInfo::MakeA8(kSmallIconWidth, kSmallIconHeight)); in TEST_F()
183 bitmap->setInfo(SkImageInfo::MakeN32Premul(0, 0)); in TEST_F()
190 bitmap->setInfo(SkImageInfo::MakeN32Premul(kSmallIconWidth, in TEST_F()
232 bitmap->setInfo(SkImageInfo::MakeN32Premul(kSmallIconWidth, in TEST_F()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DGaneshUtils.cpp59 bitmap.setInfo(info); in ensureTextureBackedSkBitmap()
/external/nist-sip/java/gov/nist/javax/sip/header/
DCallInfo.java113 public void setInfo(javax.sip.address.URI info) { in setInfo() method in CallInfo
/external/skia/dm/
DDMGpuGMTask.cpp40 bitmap.setInfo(info); in draw()
/external/chromium_org/third_party/skia/dm/
DDMGpuGMTask.cpp44 bitmap.setInfo(info); in draw()
/external/chromium_org/skia/ext/
Dvector_platform_device_skia.cc18 bitmap.setInfo(SkImageInfo::MakeUnknown(width, height)); in makeABitmap()
Dbitmap_platform_device_skia.cc36 bitmap.setInfo(SkImageInfo::MakeN32(width, height, in Create()
/external/chromium_org/third_party/skia/src/lazy/
DSkCachingPixelRef.cpp18 || !dst->setInfo(info)) { in Install()
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder_ktx.cpp116 bm->setInfo(SkImageInfo::MakeA8(w, h)); in onDecode()
120 bm->setInfo(SkImageInfo::MakeN32(w, h, alphaType)); in onDecode()

123456