Home
last modified time | relevance | path

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

12345678910>>...19

/external/chromium_org/ui/gfx/
Dskbitmap_operations_unittest.cc47 bmp->setConfig(SkBitmap::kARGB_8888_Config, w, h); in FillDataToBitmap()
65 shifted.setConfig(SkBitmap::kARGB_8888_Config, bitmap.width(), in ReferenceCreateHSLShiftedBitmap()
94 src.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h); in TEST()
129 src_a.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h); in TEST()
133 src_b.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h); in TEST()
176 alpha.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h); in TEST()
221 src.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h); in TEST()
259 src.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h); in TEST()
292 src.setConfig(SkBitmap::kARGB_8888_Config, dim*dim, dim*dim); in TEST()
382 input.setConfig(SkBitmap::kARGB_8888_Config, 3, 3); in TEST()
[all …]
Dcolor_analysis_unittest.cc239 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
262 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
286 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 100, 200); in TEST_F()
322 source.setConfig(SkBitmap::kARGB_8888_Config, 300, 200); in TEST_F()
323 result.setConfig(SkBitmap::kA8_Config, 300, 200); in TEST_F()
375 result.setConfig(SkBitmap::kA8_Config, 300, 200); in TEST_F()
416 result.setConfig(SkBitmap::kA8_Config, 300, 200); in TEST_F()
443 source.setConfig(SkBitmap::kARGB_8888_Config, 300, 200); in TEST_F()
444 result.setConfig(SkBitmap::kA8_Config, 300, 200); in TEST_F()
464 result.setConfig(SkBitmap::kA8_Config, 300, 200); in TEST_F()
Dskbitmap_operations.cc29 inverted.setConfig(SkBitmap::kARGB_8888_Config, image.width(), image.height(), in CreateInvertedBitmap()
60 superimposed.setConfig(SkBitmap::kARGB_8888_Config, in CreateSuperimposedBitmap()
101 blended.setConfig(SkBitmap::kARGB_8888_Config, first.width(), first.height(), in CreateBlendedBitmap()
143 masked.setConfig(SkBitmap::kARGB_8888_Config, rgb.width(), rgb.height(), 0); in CreateMaskedBitmap()
181 background.setConfig( in CreateButtonBackground()
562 shifted.setConfig(SkBitmap::kARGB_8888_Config, bitmap.width(), in CreateHSLShiftedBitmap()
588 cropped.setConfig(SkBitmap::kARGB_8888_Config, dst_w, dst_h, 0); in CreateTiledBitmap()
638 result.setConfig(SkBitmap::kARGB_8888_Config, in DownsampleByTwo()
706 opaque_bitmap.setConfig(bitmap.config(), bitmap.width(), bitmap.height(), in UnPreMultiply()
731 transposed.setConfig( in CreateTransposedBitmap()
[all …]
Dicon_util_unittest.cc53 bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); in CreateBlackSkBitmap()
175 bitmap->setConfig(SkBitmap::kA8_Config, kSmallIconWidth, kSmallIconHeight); in TEST_F()
182 bitmap->setConfig(SkBitmap::kARGB_8888_Config, 0, 0); in TEST_F()
189 bitmap->setConfig(SkBitmap::kARGB_8888_Config, in TEST_F()
209 bitmap->setConfig(SkBitmap::kA8_Config, kSmallIconWidth, kSmallIconHeight); in TEST_F()
223 bitmap->setConfig(SkBitmap::kARGB_8888_Config, 0, 0); in TEST_F()
234 bitmap->setConfig(SkBitmap::kARGB_8888_Config, in TEST_F()
/external/skia/tests/
DPipeTest.cpp20 badBitmap.setConfig(SkBitmap::kNo_Config, 5, 5); in testDrawingBadBitmap()
33 bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2); in testDrawingAfterEndRecording()
48 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 64, 64); in DEF_TEST()
DBitmapCopyTest.cpp233 srcOpaque.setConfig(gPairs[i].fConfig, W, H, 0, kOpaque_SkAlphaType); in DEF_TEST()
234 srcPremul.setConfig(gPairs[i].fConfig, W, H, 0, kPremul_SkAlphaType); in DEF_TEST()
344 tstSafeSize.setConfig(gPairs[i].fConfig, 100000000U, in DEF_TEST()
396 src.setConfig(gPairs[i].fConfig, 2 * subW + 1, subH); in DEF_TEST()
398 src.setConfig(gPairs[i].fConfig, subW, subH); in DEF_TEST()
455 bufBm.setConfig(gPairs[i].fConfig, subW, subH, in DEF_TEST()
476 bufBm.setConfig(gPairs[i].fConfig, subW, subH, in DEF_TEST()
490 bufBm.setConfig(gPairs[i].fConfig, subW, subH, in DEF_TEST()
504 bufBm.setConfig(gPairs[i].fConfig, subW, subH); in DEF_TEST()
520 bufBm.setConfig(gPairs[i].fConfig, subW, subH); in DEF_TEST()
[all …]
DPremulAlphaRoundTripTest.cpp20 bmp.setConfig(SkBitmap::kARGB_8888_Config, 256, 256); in fillCanvas()
75 readBmp1.setConfig(SkBitmap::kARGB_8888_Config, 256, 256); in PremulAlphaRoundTripTest()
78 readBmp2.setConfig(SkBitmap::kARGB_8888_Config, 256, 256); in PremulAlphaRoundTripTest()
DBlitRowTest.cpp129 srcBM.setConfig(SkBitmap::kARGB_8888_Config, W, 1); in test_00_FF()
134 dstBM.setConfig(gDstConfig[i], W, 1); in test_00_FF()
211 srcBM.setConfig(SkBitmap::kARGB_8888_Config, W, H); in test_diagonal()
221 dstBM0.setConfig(gDstConfig[i], W, H); in test_diagonal()
222 dstBM1.setConfig(gDstConfig[i], W, H); in test_diagonal()
DImageCacheTest.cpp14 bm->setConfig(SkBitmap::kARGB_8888_Config, w, h); in make_bm()
113 original.setConfig(SkBitmap::kARGB_8888_Config, 40, 40); in DEF_TEST()
117 scaled.setConfig(SkBitmap::kARGB_8888_Config, 20, 20); in DEF_TEST()
DQuickRejectTest.cpp44 src.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); in test_drawBitmap()
49 dst.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); in test_drawBitmap()
DDeferredCanvasTest.cpp27 bm->setConfig(config, gWidth, gHeight); in create()
52 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); in MockSurface()
90 srcBitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); in TestDeferredCanvasWritePixelsToSurface()
453 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); in TestDeferredCanvasMemoryLimit()
461 sourceImage.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); in TestDeferredCanvasMemoryLimit()
503 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); in TestDeferredCanvasBitmapCaching()
514 sourceImages[i].setConfig(SkBitmap::kARGB_8888_Config, 100, 100); in TestDeferredCanvasBitmapCaching()
586 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); in TestDeferredCanvasSkip()
607 store.setConfig(SkBitmap::kARGB_8888_Config, 100, 100); in TestDeferredCanvasBitmapShaderNoLeak()
619 paintPattern.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); in TestDeferredCanvasBitmapShaderNoLeak()
[all …]
DShaderImageFilterTest.cpp21 filterResult.setConfig(SkBitmap::kARGB_8888_Config, w, h); in DEF_TEST()
26 shaderResult.setConfig(SkBitmap::kARGB_8888_Config, w, h); in DEF_TEST()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DGraphicsContextTest.cpp71 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 400, 400); in TEST()
130 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 400, 400); in TEST()
225 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 400, 400); in TEST()
263 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 400, 400); in TEST()
304 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 400, 400); in TEST()
362 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 200, 200); in TEST()
457 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 200, 200); in TEST()
516 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 200, 200); in TEST()
527 opaqueBitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10, 0, kOpaque_SkAlphaType); in TEST()
537 alphaBitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10, 0, kPremul_SkAlphaType); in TEST()
[all …]
/external/chromium_org/skia/ext/
Dbitmap_platform_device_skia.cc13 bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, in Create()
38 bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, in Create()
90 bitmap_.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0, in Allocate()
Danalysis_canvas_unittest.cc25 emptyBitmap.setConfig(SkBitmap::kNo_Config, 255, 255); in TEST()
36 emptyBitmap.setConfig(SkBitmap::kNo_Config, 255, 255); in TEST()
74 emptyBitmap.setConfig(SkBitmap::kNo_Config, 255, 255); in TEST()
111 secondBitmap.setConfig(SkBitmap::kNo_Config, 255, 255); in TEST()
119 emptyBitmap.setConfig(SkBitmap::kNo_Config, 255, 255); in TEST()
191 emptyBitmap.setConfig(SkBitmap::kNo_Config, 255, 255); in TEST()
221 emptyBitmap.setConfig(SkBitmap::kNo_Config, 255, 255); in TEST()
286 bitmap.setConfig(SkBitmap::kNo_Config, width, height); in TEST()
/external/skia/bench/
DImageCacheBench.cpp21 fBM.setConfig(SkBitmap::kARGB_8888_Config, DIM, DIM); in ImageCacheBench()
29 tmp.setConfig(SkBitmap::kARGB_8888_Config, 1, 1); in populateCache()
DPremulAndUnpremulAlphaOpsBench.cpp33 bmp1.setConfig(SkBitmap::kARGB_8888_Config, size.width(), in onDraw()
45 bmp2.setConfig(SkBitmap::kARGB_8888_Config, size.width(), in onDraw()
DRepeatTileBench.cpp72 dst->setConfig(SkBitmap::kIndex8_Config, src.width(), src.height()); in convert_to_index666()
102 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h); in RepeatTileBench()
104 fBitmap.setConfig(fConfig, w, h); in RepeatTileBench()
DBitmapScaleBench.cpp60 fInputBitmap.setConfig(SkBitmap::kARGB_8888_Config, in onPreDraw()
65 fOutputBitmap.setConfig(SkBitmap::kARGB_8888_Config, in onPreDraw()
/external/chromium_org/cc/output/
Dsoftware_renderer_unittest.cc103 output.setConfig( in TEST_F()
136 yellow_tile.setConfig( in TEST_F()
142 cyan_tile.setConfig( in TEST_F()
206 output.setConfig( in TEST_F()
233 cyan_tile.setConfig( in TEST_F()
287 output.setConfig( in TEST_F()
322 output.setConfig(SkBitmap::kARGB_8888_Config, in TEST_F()
387 output.setConfig(SkBitmap::kARGB_8888_Config, in TEST_F()
/external/chromium_org/chrome/browser/webdata/
Dweb_apps_table_unittest.cc68 image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
80 image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); in TEST_F()
107 image.setConfig(SkBitmap::kARGB_8888_Config, 32, 32); in TEST_F()
/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/src/images/
DSkImageRef.cpp34 fBitmap.setConfig(info); in SkImageRef()
62 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height()); in getInfo()
184 fBitmap.setConfig(this->info()); in SkImageRef()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBitmap.java45 shadowBitmap.setConfig(config); in createBitmap()
83 shadowBitmap.setConfig(config); in copy()
93 public void setConfig(Bitmap.Config config) { in setConfig() method in ShadowBitmap
/external/skia/gm/
Dbitmapshader.cpp20 bm->setConfig(SkBitmap::kARGB_8888_Config, 20, 20); in draw_bm()
32 bm->setConfig(SkBitmap::kA8_Config, 20, 20); in draw_mask()

12345678910>>...19