Home
last modified time | relevance | path

Searched defs:canvas (Results 1 – 25 of 981) sorted by relevance

12345678910>>...40

/external/chromium_org/skia/ext/
Danalysis_canvas_unittest.cc12 void SolidColorFill(skia::AnalysisCanvas& canvas) { in SolidColorFill()
16 void TransparentFill(skia::AnalysisCanvas& canvas) { in TransparentFill()
27 skia::AnalysisCanvas canvas(&device); in TEST() local
38 skia::AnalysisCanvas canvas(&device); in TEST() local
76 skia::AnalysisCanvas canvas(&device); in TEST() local
121 skia::AnalysisCanvas canvas(&device); in TEST() local
193 skia::AnalysisCanvas canvas(&device); in TEST() local
223 skia::AnalysisCanvas canvas(&device); in TEST() local
302 skia::AnalysisCanvas canvas(&device); in TEST() local
312 skia::AnalysisCanvas canvas(&device); in TEST() local
[all …]
Dplatform_device.cc21 void SetBoolMetaData(const SkCanvas& canvas, const char* key, bool value) { in SetBoolMetaData()
26 bool GetBoolMetaData(const SkCanvas& canvas, const char* key) { in GetBoolMetaData()
52 SkMetaData& getMetaData(const SkCanvas& canvas) { in getMetaData()
58 void SetIsDraftMode(const SkCanvas& canvas, bool draft_mode) { in SetIsDraftMode()
62 bool IsDraftMode(const SkCanvas& canvas) { in IsDraftMode()
67 void SetIsPreviewMetafile(const SkCanvas& canvas, bool is_preview) { in SetIsPreviewMetafile()
71 bool IsPreviewMetafile(const SkCanvas& canvas) { in IsPreviewMetafile()
Dplatform_canvas.cc12 SkBaseDevice* GetTopDevice(const SkCanvas& canvas) { in GetTopDevice()
16 bool SupportsPlatformPaint(const SkCanvas* canvas) { in SupportsPlatformPaint()
21 PlatformSurface BeginPlatformPaint(SkCanvas* canvas) { in BeginPlatformPaint()
29 void EndPlatformPaint(SkCanvas* canvas) { in EndPlatformPaint()
35 void DrawToNativeContext(SkCanvas* canvas, PlatformSurface context, int x, in DrawToNativeContext()
46 void MakeOpaque(SkCanvas* canvas, int x, int y, int width, int height) { in MakeOpaque()
Dplatform_canvas_unittest.cc33 bool VerifyRect(const PlatformCanvas& canvas, in VerifyRect()
72 bool VerifyRoundedRect(const PlatformCanvas& canvas, in VerifyRoundedRect()
97 bool VerifyBlackRect(const PlatformCanvas& canvas, int x, int y, int w, int h) { in VerifyBlackRect()
102 bool VerifyCanvasColor(const PlatformCanvas& canvas, uint32_t canvas_color) { in VerifyCanvasColor()
107 void DrawNativeRect(PlatformCanvas& canvas, int x, int y, int w, int h) { in DrawNativeRect()
119 void DrawNativeRect(PlatformCanvas& canvas, int x, int y, int w, int h) { in DrawNativeRect()
131 void DrawNativeRect(PlatformCanvas& canvas, int x, int y, int w, int h) { in DrawNativeRect()
138 void AddClip(PlatformCanvas& canvas, int x, int y, int w, int h) { in AddClip()
147 LayerSaver(PlatformCanvas& canvas, int x, int y, int w, int h) in LayerSaver()
196 RefPtr<SkCanvas> canvas = AdoptRef(CreatePlatformCanvas(16, 16, true)); in TEST() local
[all …]
/external/chromium_org/third_party/WebKit/Source/web/
DWebScrollbarThemePainter.cpp46 void WebScrollbarThemePainter::paintScrollbarBackground(WebCanvas* canvas, const WebRect& rect) in paintScrollbarBackground()
56 void WebScrollbarThemePainter::paintTrackBackground(WebCanvas* canvas, const WebRect& rect) in paintTrackBackground()
63 void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRect& rect) in paintBackTrackPart()
70 void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect) in paintForwardTrackPart()
77 void WebScrollbarThemePainter::paintBackButtonStart(WebCanvas* canvas, const WebRect& rect) in paintBackButtonStart()
84 void WebScrollbarThemePainter::paintBackButtonEnd(WebCanvas* canvas, const WebRect& rect) in paintBackButtonEnd()
91 void WebScrollbarThemePainter::paintForwardButtonStart(WebCanvas* canvas, const WebRect& rect) in paintForwardButtonStart()
98 void WebScrollbarThemePainter::paintForwardButtonEnd(WebCanvas* canvas, const WebRect& rect) in paintForwardButtonEnd()
105 void WebScrollbarThemePainter::paintTickmarks(WebCanvas* canvas, const WebRect& rect) in paintTickmarks()
112 void WebScrollbarThemePainter::paintThumb(WebCanvas* canvas, const WebRect& rect) in paintThumb()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCanvasTest.java28 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing() local
41 Canvas canvas = new Canvas(targetBitmap); in shouldDescribeBitmapDrawing_WithMatrix() local
54 Canvas canvas = new Canvas(targetBitmap); in visualize_shouldReturnDescription() local
65 Canvas canvas = new Canvas(targetBitmap); in drawColor_shouldReturnDescription() local
75 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldRecordThePathAndThePaint() local
91 Canvas canvas = new Canvas(targetBitmap); in drawPath_shouldAppendDescriptionToBitmap() local
/external/chromium_org/third_party/skia/src/utils/debugger/
DSkDrawCommand.cpp86 void SkClearCommand::execute(SkCanvas* canvas) { in execute()
92 void xlate_and_scale_to_bounds(SkCanvas* canvas, const SkRect& bounds) { in xlate_and_scale_to_bounds()
109 void render_path(SkCanvas* canvas, const SkPath& path) { in render_path()
125 void render_bitmap(SkCanvas* canvas, const SkBitmap& input, const SkRect* srcRect = NULL) { in render_bitmap()
157 void render_rrect(SkCanvas* canvas, const SkRRect& rrect) { in render_rrect()
187 void SkClipPathCommand::execute(SkCanvas* canvas) { in execute()
205 void SkClipRegionCommand::execute(SkCanvas* canvas) { in execute()
220 void SkClipRectCommand::execute(SkCanvas* canvas) { in execute()
235 void SkClipRRectCommand::execute(SkCanvas* canvas) { in execute()
251 void SkConcatCommand::execute(SkCanvas* canvas) { in execute()
[all …]
/external/skia/src/utils/debugger/
DSkDrawCommand.cpp86 void SkClearCommand::execute(SkCanvas* canvas) { in execute()
92 void xlate_and_scale_to_bounds(SkCanvas* canvas, const SkRect& bounds) { in xlate_and_scale_to_bounds()
109 void render_path(SkCanvas* canvas, const SkPath& path) { in render_path()
125 void render_bitmap(SkCanvas* canvas, const SkBitmap& input, const SkRect* srcRect = NULL) { in render_bitmap()
157 void render_rrect(SkCanvas* canvas, const SkRRect& rrect) { in render_rrect()
187 void SkClipPathCommand::execute(SkCanvas* canvas) { in execute()
205 void SkClipRegionCommand::execute(SkCanvas* canvas) { in execute()
220 void SkClipRectCommand::execute(SkCanvas* canvas) { in execute()
235 void SkClipRRectCommand::execute(SkCanvas* canvas) { in execute()
251 void SkConcatCommand::execute(SkCanvas* canvas) { in execute()
[all …]
/external/skia/gm/
Dgm.cpp21 void GM::draw(SkCanvas* canvas) { in draw()
26 void GM::drawContent(SkCanvas* canvas) { in drawContent()
34 void GM::drawBackground(SkCanvas* canvas) { in drawBackground()
53 void GM::onDrawBackground(SkCanvas* canvas) { in onDrawBackground()
57 void GM::drawSizeBounds(SkCanvas* canvas, SkColor color) { in drawSizeBounds()
Daaclip.cpp12 static void test_quadstroke(SkCanvas* canvas) { in test_quadstroke()
32 static void draw_conic(SkCanvas* canvas, SkScalar weight, const SkPaint& paint) { in draw_conic()
39 static void test_conic(SkCanvas* canvas) { in test_conic()
67 static void test_shallow_gradient(SkCanvas* canvas, SkScalar width, SkScalar height) { in test_shallow_gradient()
80 static void test_giant_dash(SkCanvas* canvas) { in test_giant_dash()
112 static void test_grad(SkCanvas* canvas) { in test_grad()
131 SkCanvas* canvas = new SkCanvas(bm); in MakeCanvas() local
137 static void GetBitmap(const SkCanvas* canvas, SkBitmap* bm) { in GetBitmap()
166 static void drawRectAsPath(SkCanvas* canvas, const SkRect& r, const SkPaint& p) { in drawRectAsPath()
209 static void draw (SkCanvas* canvas, SkRect& target, int x, int y) { in draw()
[all …]
Dsrcmode.cpp37 static void draw_hair(SkCanvas* canvas, const SkPaint& paint) { in draw_hair()
43 static void draw_thick(SkCanvas* canvas, const SkPaint& paint) { in draw_thick()
49 static void draw_rect(SkCanvas* canvas, const SkPaint& paint) { in draw_rect()
53 static void draw_oval(SkCanvas* canvas, const SkPaint& paint) { in draw_oval()
57 static void draw_text(SkCanvas* canvas, const SkPaint& paint) { in draw_text()
79 void drawContent(SkCanvas* canvas) { in drawContent()
118 static SkSurface* compat_surface(SkCanvas* canvas, const SkISize& size, in compat_surface()
137 virtual void onDraw(SkCanvas* canvas) { in onDraw()
Ddropshadowimagefilter.cpp16 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_paint()
26 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_path()
37 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_text()
50 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_bitmap()
70 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_sprite()
108 void draw_frame(SkCanvas* canvas, const SkRect& r) { in draw_frame()
123 virtual void onDraw(SkCanvas* canvas) { in onDraw()
Dimagefilterscropped.cpp22 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_paint()
32 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_path()
43 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_text()
56 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_bitmap()
76 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_sprite()
114 void draw_frame(SkCanvas* canvas, const SkRect& r) { in draw_frame()
129 virtual void onDraw(SkCanvas* canvas) { in onDraw()
Dimagefiltersbase.cpp69 static void draw_paint(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_paint()
79 static void draw_line(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_line()
87 static void draw_rect(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_rect()
96 static void draw_path(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_path()
104 static void draw_text(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_text()
114 static void draw_bitmap(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_bitmap()
131 static void draw_sprite(SkCanvas* canvas, const SkRect& r, SkImageFilter* imf) { in draw_sprite()
166 void draw_frame(SkCanvas* canvas, const SkRect& r) { in draw_frame()
181 virtual void onDraw(SkCanvas* canvas) { in onDraw()
Dthinrects.cpp28 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { in onDraw()
67 static void DrawVertRects(SkCanvas* canvas, const SkPaint& p) { in DrawVertRects()
83 static void DrawHorizRects(SkCanvas* canvas, const SkPaint& p) { in DrawHorizRects()
99 static void DrawSquares(SkCanvas* canvas, const SkPaint& p) { in DrawSquares()
Dpathreverse.cpp13 static void test_path(SkCanvas* canvas, const SkPath& path) { in test_path()
23 static void test_rev(SkCanvas* canvas, const SkPath& path) { in test_rev()
34 static void test_rev(SkCanvas* canvas) { in test_rev()
80 virtual void onDraw(SkCanvas* canvas) { in onDraw()
Dbitmaprecttest.cpp16 SkCanvas canvas(*bm); in make_bm() local
37 static void test_bitmaprect(SkCanvas* canvas) { in test_bitmaprect()
68 virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { in onDraw()
/external/skia/tools/
Dfiltermain.cpp52 static bool check_0(SkDebugCanvas* canvas, int curCommand) { in check_0()
82 static void apply_0(SkDebugCanvas* canvas, int curCommand) { in apply_0()
124 static bool check_1(SkDebugCanvas* canvas, int curCommand) { in check_1()
160 static void apply_1(SkDebugCanvas* canvas, int curCommand) { in apply_1()
190 static bool check_2(SkDebugCanvas* canvas, int curCommand) { in check_2()
212 static void apply_2(SkDebugCanvas* canvas, int curCommand) { in apply_2()
225 static bool check_3(SkDebugCanvas* canvas, int curCommand) { in check_3()
248 static void apply_3(SkDebugCanvas* canvas, int curCommand) { in apply_3()
273 static bool check_4(SkDebugCanvas* canvas, int curCommand) { in check_4()
295 static void apply_4(SkDebugCanvas* canvas, int curCommand) { in apply_4()
[all …]
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DWebTestThemeEngineWin.cpp60 void drawControl(WebCanvas* canvas, const WebRect& rect, WebTestThemeControlWin::Type ctype, WebTes… in drawControl()
66 void drawTextField(WebCanvas* canvas, const WebRect& rect, WebTestThemeControlWin::Type ctype, WebT… in drawTextField()
72 void drawProgressBar(WebCanvas* canvas, WebTestThemeControlWin::Type ctype, WebTestThemeControlWin:… in drawProgressBar()
80 void WebTestThemeEngineWin::paintButton(WebCanvas* canvas, int part, int state, int classicState, c… in paintButton()
261 void WebTestThemeEngineWin::paintMenuList(WebCanvas* canvas, int part, int state, int classicState,… in paintMenuList()
299 void WebTestThemeEngineWin::paintScrollbarArrow(WebCanvas* canvas, int state, int classicState, con… in paintScrollbarArrow()
433 void WebTestThemeEngineWin::paintScrollbarThumb(WebCanvas* canvas, int part, int state, int classic… in paintScrollbarThumb()
493 void WebTestThemeEngineWin::paintScrollbarTrack(WebCanvas* canvas, int part, int state, int classic… in paintScrollbarTrack()
552 void WebTestThemeEngineWin::paintSpinButton(WebCanvas* canvas, int part, int state, int classicStat… in paintSpinButton()
606 void WebTestThemeEngineWin::paintTextField(WebCanvas* canvas, int part, int state, int classicState… in paintTextField()
[all …]
/external/chromium_org/printing/
Dmetafile_skia_wrapper.cc22 void MetafileSkiaWrapper::SetMetafileOnCanvas(const SkCanvas& canvas, in SetMetafileOnCanvas()
33 Metafile* MetafileSkiaWrapper::GetMetafileFromCanvas(const SkCanvas& canvas) { in GetMetafileFromCanvas()
43 void MetafileSkiaWrapper::SetCustomScaleOnCanvas(const SkCanvas& canvas, in SetCustomScaleOnCanvas()
50 bool MetafileSkiaWrapper::GetCustomScaleOnCanvas(const SkCanvas& canvas, in GetCustomScaleOnCanvas()
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
Dimage_encoder.js50 ImageEncoder.encodeMetadata = function(metadata, canvas, quality) { argument
65 ImageEncoder.getBlob = function(canvas, metadataEncoder, quality) { argument
133 ImageEncoder.createThumbnail = function(canvas, opt_shrinkage) { argument
198 ImageEncoder.MetadataEncoder.prototype.setImageData = function(canvas) { argument
208 function(canvas, quality) { argument
/external/chromium/webkit/glue/
Dwebthemeengine_impl_win.cc358 WebCanvas* canvas, int part, int state, int classic_state, in paintButton()
384 WebCanvas* canvas, int part, int state, int classic_state, in paintMenuList()
396 WebCanvas* canvas, int state, int classic_state, in paintScrollbarArrow()
408 WebCanvas* canvas, int part, int state, int classic_state, in paintScrollbarThumb()
420 WebCanvas* canvas, int part, int state, int classic_state, in paintScrollbarTrack()
434 WebCanvas* canvas, int part, int state, int classic_state, in paintSpinButton()
446 WebCanvas* canvas, int part, int state, int classic_state, in paintTextField()
462 WebCanvas* canvas, int part, int state, int classic_state, in paintTrackbar()
474 WebCanvas* canvas, const WebRect& barRect, const WebRect& valueRect, in paintProgressBar()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DGraphicsContextTest.cpp74 SkCanvas canvas(bitmap); in TEST() local
132 SkCanvas canvas(bitmap); in TEST() local
228 SkCanvas canvas(bitmap); in TEST() local
266 SkCanvas canvas(bitmap); in TEST() local
306 SkCanvas canvas(bitmap); in TEST() local
365 SkCanvas canvas(bitmap); in TEST() local
459 SkCanvas canvas(bitmap); in TEST() local
518 SkCanvas canvas(bitmap); in TEST() local
604 SkCanvas canvas(bitmap); in TEST() local
656 SkCanvas canvas(bitmap); in TEST() local
[all …]
/external/chromium_org/chrome/browser/thumbnails/
Dsimple_thumbnail_crop_unittest.cc33 gfx::Canvas canvas(kSize, 1.0f, true); in TEST_F() local
46 gfx::Canvas canvas(kSize, 1.0f, true); in TEST_F() local
63 gfx::Canvas canvas(gfx::Size(40, 90), 1.0f, true); in TEST_F() local
80 gfx::Canvas canvas(gfx::Size(70, 40), 1.0f, true); in TEST_F() local
97 gfx::Canvas canvas(gfx::Size(90, 40), 1.0f, true); in TEST_F() local
114 gfx::Canvas canvas(gfx::Size(40, 40), 1.0f, true); in TEST_F() local
131 gfx::Canvas canvas(gfx::Size(40, 40), 1.0f, true); in TEST_F() local
/external/skia/src/pipe/
DSkGPipeRead.cpp249 static void clipPath_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipPath_rp()
257 static void clipRegion_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRegion_rp()
264 static void clipRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRect_rp()
271 static void clipRRect_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in clipRRect_rp()
281 static void setMatrix_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in setMatrix_rp()
288 static void concat_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in concat_rp()
295 static void scale_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in scale_rp()
301 static void skew_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in skew_rp()
307 static void rotate_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in rotate_rp()
312 static void translate_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, in translate_rp()
[all …]

12345678910>>...40