Home
last modified time | relevance | path

Searched refs:setConfig (Results 1 – 25 of 161) sorted by relevance

1234567

/external/skia/tests/
DPremulAlphaRoundTripTest.cpp19 bmp.setConfig(SkBitmap::kARGB_8888_Config, 256, 256); in fillCanvas()
66 readBmp1.setConfig(SkBitmap::kARGB_8888_Config, 256, 256); in PremulAlphaRoundTripTest()
69 readBmp2.setConfig(SkBitmap::kARGB_8888_Config, 256, 256); in PremulAlphaRoundTripTest()
DBitmapCopyTest.cpp265 src.setConfig(gPairs[i].fConfig, W, H); in TestBitmapCopy()
364 tstSafeSize.setConfig(gPairs[i].fConfig, 100000000U, in TestBitmapCopy()
438 src.setConfig(gPairs[i].fConfig, 2 * subW + 1, subH); in TestBitmapCopy()
440 src.setConfig(gPairs[i].fConfig, subW, subH); in TestBitmapCopy()
501 bufBm.setConfig(gPairs[i].fConfig, subW, subH, in TestBitmapCopy()
523 bufBm.setConfig(gPairs[i].fConfig, subW, subH, in TestBitmapCopy()
537 bufBm.setConfig(gPairs[i].fConfig, subW, subH, in TestBitmapCopy()
551 bufBm.setConfig(gPairs[i].fConfig, subW, subH); in TestBitmapCopy()
567 bufBm.setConfig(gPairs[i].fConfig, subW, subH); in TestBitmapCopy()
579 bufBm.setConfig(gPairs[i].fConfig, subW, subH); in TestBitmapCopy()
DBlitRowTest.cpp132 srcBM.setConfig(SkBitmap::kARGB_8888_Config, W, 1); in test_00_FF()
137 dstBM.setConfig(gDstConfig[i], W, 1); in test_00_FF()
215 srcBM.setConfig(SkBitmap::kARGB_8888_Config, W, H); in test_diagonal()
225 dstBM0.setConfig(gDstConfig[i], W, H); in test_diagonal()
226 dstBM1.setConfig(gDstConfig[i], W, H); in test_diagonal()
DQuickRejectTest.cpp39 src.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); in test_drawBitmap()
44 dst.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); in test_drawBitmap()
/external/skia/samplecode/
DSampleXfermodes.cpp48 bm1.setConfig(SkBitmap::kRGB_565_Config, width, 256); bm1.allocPixels(NULL);
49 bm2.setConfig(SkBitmap::kRGB_565_Config, width, 256); bm2.allocPixels(NULL);
50 bm3.setConfig(SkBitmap::kRGB_565_Config, width, 256); bm3.allocPixels(NULL);
93 src->setConfig(SkBitmap::kARGB_8888_Config, w, h); in make_bitmaps()
108 dst->setConfig(SkBitmap::kARGB_8888_Config, w, h); in make_bitmaps()
141 fBG.setConfig(SkBitmap::kARGB_4444_Config, 2, 2, 4); in XfermodesView()
DSampleStrokeText.cpp49 src.setConfig(config, w, h); in lettersToBitmap()
60 dst->setConfig(config, w, h); in lettersToBitmap()
100 dst->setConfig(config, w, h); in lettersToBitmap2()
DSampleHairline.cpp37 bm.setConfig(SkBitmap::kARGB_8888_Config, 800, 600); in test_chromium_9005()
230 bm.setConfig(SkBitmap::kARGB_8888_Config, in onDrawContent()
237 bm2.setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT, in onDrawContent()
DSampleAARectModes.cpp17 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h); in create_canvas()
78 bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); in make_bg_shader()
DSampleHairModes.cpp17 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h); in create_canvas()
77 bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); in make_bg_shader()
DSampleMipMap.cpp17 bitmap.setConfig(SkBitmap::kARGB_8888_Config, n, n); in createBitmap()
71 bg.setConfig(SkBitmap::kARGB_8888_Config, N, N); in drawN2()
DSampleColorFilter.cpp86 bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); in createChecker()
102 bitmap.setConfig(SkBitmap::kARGB_8888_Config, n, n); in createBitmap()
/external/chromium/chrome/browser/webdata/
Dweb_apps_table_unittest.cc74 image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
86 image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
113 image.setConfig(SkBitmap::kARGB_8888_Config, 32, 32); in TEST_F()
/external/skia/bench/
DRepeatTileBench.cpp70 dst->setConfig(SkBitmap::kIndex8_Config, src.width(), src.height()); in convertToIndex666()
97 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h); in RepeatTileBench()
99 bm.setConfig(c, w, h); in RepeatTileBench()
DBitmapBench.cpp74 dst->setConfig(SkBitmap::kIndex8_Config, src.width(), src.height()); in convertToIndex666()
117 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h); in BitmapBench()
119 bm.setConfig(c, w, h); in BitmapBench()
/external/skia/src/effects/
DSkMorphologyImageFilter.cpp134 dst->setConfig(src.config(), src.width(), src.height()); in onFilterImage()
150 temp.setConfig(dst->config(), dst->width(), dst->height()); in onFilterImage()
178 dst->setConfig(src.config(), src.width(), src.height()); in onFilterImage()
194 temp.setConfig(dst->config(), dst->width(), dst->height()); in onFilterImage()
/external/skia/gm/
Dxfermodes.cpp16 src->setConfig(SkBitmap::kARGB_8888_Config, w, h); in make_bitmaps()
31 dst->setConfig(SkBitmap::kARGB_8888_Config, w, h); in make_bitmaps()
61 scratchBitmap.setConfig(SkBitmap::kARGB_4444_Config, 2, 2, 4); in init()
Dhairmodes.cpp15 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h); in create_canvas()
75 bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); in make_bg_shader()
Dtablecolorfilter.cpp16 bm->setConfig(SkBitmap::kARGB_8888_Config, W, H); in make_bm0()
35 bm->setConfig(SkBitmap::kARGB_8888_Config, W, H); in make_bm1()
Daarectmodes.cpp62 bm.setConfig(SkBitmap::kARGB_8888_Config, w, h); in create_canvas()
123 bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); in make_bg_shader()
/external/chromium/chrome/browser/speech/
Dspeech_input_bubble.cc73 empty_spinner.setConfig(SkBitmap::kARGB_8888_Config, frame_size, frame_size); in SpeechInputBubbleImages()
124 mic_image_->setConfig(SkBitmap::kARGB_8888_Config, in SpeechInputBubbleBase()
130 buffer_image_->setConfig(SkBitmap::kARGB_8888_Config, in SpeechInputBubbleBase()
/external/skia/src/images/
DSkImageDecoder_wbmp.cpp115 decodedBitmap->setConfig(SkBitmap::kIndex8_Config, width, height); in onDecode()
126 decodedBitmap->setConfig(SkBitmap::kIndex8_Config, width, height); in onDecode()
DSkImageDecoder_libbmp.cpp115 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecode()
125 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight()); in onDecode()
/external/skia/src/gpu/
DSkGrTexturePixelRef.cpp112 dst->setConfig(SkBitmap::kARGB_8888_Config, width, height); in onReadPixels()
169 dst->setConfig(SkBitmap::kARGB_8888_Config, width, height); in onReadPixels()
Dgr_hello_world.cpp26 bm.setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT); in gr_hello_world()
/external/skia/src/core/
DSkBitmap.cpp255 void SkBitmap::setConfig(Config c, int width, int height, int rowBytes) { in setConfig() function in SkBitmap
798 bm.setConfig(kIndex8_Config, r.width(), r.height()); in extractSubset()
823 dst.setConfig(this->config(), r.width(), r.height(), this->rowBytes()); in extractSubset()
905 tmpDst.setConfig(dstConfig, src->width(), src->height()); in copyTo()
966 dst->setConfig(dstConfig, fWidth, fHeight); in deepCopyTo()
1165 dstBM.setConfig(config, width, height, rowBytes); in buildMipMap()
1201 dst->setConfig((SkBitmap::Config)this->config(), in extractMipLevel()
1317 tmpBitmap.setConfig(SkBitmap::kA8_Config, this->width(), this->height(), in extractAlpha()
1341 tmpBitmap.setConfig(SkBitmap::kA8_Config, dstM.fBounds.width(), in extractAlpha()
1464 this->setConfig((Config)config, width, height, rowBytes); in unflatten()

1234567