Searched refs:canvas1 (Results 1 – 11 of 11) sorted by relevance
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
D | background.js | 156 var canvas1 = drawIcon(19, options); 159 imageData['' + canvas1.width] = canvas1.getContext('2d').getImageData( 160 0, 0, canvas1.width, canvas1.height); 164 canvas1.parentNode.removeChild(canvas1);
|
/external/chromium_org/third_party/skia/tests/ |
D | CanvasTest.cpp | 578 const SkCanvas* canvas1, in AssertCanvasStatesEqual() argument 581 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getDeviceSize() == in AssertCanvasStatesEqual() 583 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getSaveCount() == in AssertCanvasStatesEqual() 585 REPORTER_ASSERT_MESSAGE(reporter, canvas1->isDrawingToLayer() == in AssertCanvasStatesEqual() 590 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), in AssertCanvasStatesEqual() 595 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getDrawFilter() == in AssertCanvasStatesEqual() 599 canvas1->getClipDeviceBounds(&deviceBounds1) == in AssertCanvasStatesEqual() 603 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getTotalMatrix() == in AssertCanvasStatesEqual() 605 REPORTER_ASSERT_MESSAGE(reporter, equal_clips(*canvas1, *canvas2), testStep->assertMessage()); in AssertCanvasStatesEqual()
|
D | SurfaceTest.cpp | 360 SkCanvas* canvas1 = surface1->getCanvas(); in Test_crbug263329() local 362 canvas1->clear(1); in Test_crbug263329() 365 canvas1->clear(2); in Test_crbug263329() 369 canvas1->clear(3); in Test_crbug263329()
|
D | BlitRowTest.cpp | 222 SkCanvas canvas1(dstBM1); in test_diagonal() local 241 mesh.draw(&canvas1, &paint); in test_diagonal()
|
D | ImageFilterTest.cpp | 607 SkCanvas canvas1(result1); in DEF_TEST() local 611 canvas1.clear(0); in DEF_TEST() 631 draw_picture_clipped(&canvas1, tileRect, picture1); in DEF_TEST()
|
/external/skia/tests/ |
D | CanvasTest.cpp | 611 const SkCanvas* canvas1, in AssertCanvasStatesEqual() argument 614 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getDeviceSize() == in AssertCanvasStatesEqual() 616 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getSaveCount() == in AssertCanvasStatesEqual() 618 REPORTER_ASSERT_MESSAGE(reporter, canvas1->isDrawingToLayer() == in AssertCanvasStatesEqual() 623 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), in AssertCanvasStatesEqual() 628 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getDrawFilter() == in AssertCanvasStatesEqual() 632 canvas1->getClipDeviceBounds(&deviceBounds1) == in AssertCanvasStatesEqual() 636 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getTotalMatrix() == in AssertCanvasStatesEqual() 638 REPORTER_ASSERT_MESSAGE(reporter, equal_clips(*canvas1, *canvas2), testStep->assertMessage()); in AssertCanvasStatesEqual()
|
D | SurfaceTest.cpp | 339 SkCanvas* canvas1 = surface1->getCanvas(); in Test_crbug263329() local 341 canvas1->clear(1); in Test_crbug263329() 344 canvas1->clear(2); in Test_crbug263329() 348 canvas1->clear(3); in Test_crbug263329()
|
D | BlitRowTest.cpp | 222 SkCanvas canvas1(dstBM1); in test_diagonal() local 241 mesh.draw(&canvas1, &paint); in test_diagonal()
|
/external/chromium_org/ui/views/examples/ |
D | table_example.cc | 75 SkCanvas canvas1(icon1_); in CreateExampleView() local 76 canvas1.drawColor(SK_ColorRED); in CreateExampleView()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Canvas2DLayerManagerTest.cpp | 140 OwnPtr<SkDeferredCanvas> canvas1 = adoptPtr(SkDeferredCanvas::Create(surface1.get())); in storageAllocationTrackingTest() local 141 …rBridgePtr layer1(adoptRef(new FakeCanvas2DLayerBridge(webContext.get(), canvas1.release(), surfac… in storageAllocationTrackingTest()
|
D | GraphicsContextTest.cpp | 1173 SkCanvas* canvas1 = context.canvas(); in TEST() local 1174 EXPECT_TRUE(canvas1); in TEST() 1179 EXPECT_NE(canvas1, canvas2); in TEST() 1180 EXPECT_EQ(1, canvas1->getRefCnt()); in TEST()
|