Home
last modified time | relevance | path

Searched refs:canvas1 (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
Dbackground.js156 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/skia/tests/
DCanvasTest.cpp591 const SkCanvas* canvas1, in AssertCanvasStatesEqual() argument
594 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getDeviceSize() == in AssertCanvasStatesEqual()
596 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getSaveCount() == in AssertCanvasStatesEqual()
598 REPORTER_ASSERT_MESSAGE(reporter, canvas1->isDrawingToLayer() == in AssertCanvasStatesEqual()
603 canvas1->getClipBounds(&bounds1) == canvas2->getClipBounds(&bounds2), in AssertCanvasStatesEqual()
608 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getDrawFilter() == in AssertCanvasStatesEqual()
612 canvas1->getClipDeviceBounds(&deviceBounds1) == in AssertCanvasStatesEqual()
617 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getBounder() == in AssertCanvasStatesEqual()
619 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getTotalMatrix() == in AssertCanvasStatesEqual()
621 REPORTER_ASSERT_MESSAGE(reporter, canvas1->getClipType() == in AssertCanvasStatesEqual()
[all …]
DSurfaceTest.cpp159 SkCanvas* canvas1 = surface1->getCanvas(); in Test_crbug263329() local
161 canvas1->clear(1); in Test_crbug263329()
164 canvas1->clear(2); in Test_crbug263329()
168 canvas1->clear(3); in Test_crbug263329()
DBlitRowTest.cpp227 SkCanvas canvas1(dstBM1); in test_diagonal() local
246 mesh.draw(&canvas1, &paint); in test_diagonal()
/external/chromium_org/ui/views/examples/
Dtable_example.cc74 SkCanvas canvas1(icon1_); in CreateExampleView() local
75 canvas1.drawColor(SK_ColorRED); in CreateExampleView()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DCanvas2DLayerManagerTest.cpp122 OwnPtr<SkDeferredCanvas> canvas1 = createCanvas(context.get()); in storageAllocationTrackingTest() local
123 …FakeCanvas2DLayerBridgePtr layer1(adoptRef(new FakeCanvas2DLayerBridge(context, canvas1.release())… in storageAllocationTrackingTest()