HomeSort by relevance Sort by last modified time
    Searched full:canvas (Results 1 - 25 of 4160) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/common/extensions/docs/examples/api/pageAction/set_icon/
background.html 6 <canvas id="canvas" width="19" height="19"></canvas>
  /external/chromium_org/third_party/skia/experimental/Intersection/
EdgeDemo.h 3 bool DrawEdgeDemo(SkCanvas* canvas, int step, bool useOld);
  /external/skia/experimental/Intersection/
EdgeDemo.h 3 bool DrawEdgeDemo(SkCanvas* canvas, int step, bool useOld);
  /external/chromium_org/skia/ext/
analysis_canvas_unittest.cc 14 void SolidColorFill(skia::AnalysisCanvas& canvas) {
15 canvas.clear(SkColorSetARGB(255, 255, 255, 255));
18 void TransparentFill(skia::AnalysisCanvas& canvas) {
19 canvas.clear(SkColorSetARGB(0, 0, 0, 0));
26 skia::AnalysisCanvas canvas(255, 255);
29 EXPECT_TRUE(canvas.GetColorIfSolid(&color));
34 skia::AnalysisCanvas canvas(255, 255);
38 canvas.clear(color);
41 EXPECT_TRUE(canvas.GetColorIfSolid(&outputColor));
46 canvas.clear(color)
    [all...]
  /external/chromium_org/third_party/skia/gm/
filltypes.cpp 40 void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
45 canvas->save();
46 canvas->translate(SkIntToScalar(x), SkIntToScalar(y));
47 canvas->clipRect(r);
48 canvas->drawColor(SK_ColorWHITE);
50 canvas->translate(r.centerX(), r.centerY());
51 canvas->scale(scale, scale);
52 canvas->translate(-r.centerX(), -r.centerY());
53 canvas->drawPath(fPath, paint);
54 canvas->restore()
    [all...]
pathreverse.cpp 13 static void test_path(SkCanvas* canvas, const SkPath& path) {
16 canvas->drawPath(path, paint);
20 canvas->drawPath(path, paint);
23 static void test_rev(SkCanvas* canvas, const SkPath& path) {
24 test_path(canvas, path);
28 canvas->save();
29 canvas->translate(150, 0);
30 test_path(canvas, rev);
31 canvas->restore();
34 static void test_rev(SkCanvas* canvas) {
    [all...]
spritebitmap.cpp 16 SkCanvas canvas(*bm);
20 canvas.drawCircle(50, 50, 50, paint);
23 static void draw_2_bitmaps(SkCanvas* canvas, const SkBitmap& bm, bool doClip,
25 SkAutoCanvasRestore acr(canvas, true);
37 canvas->save();
38 canvas->clipRect(clipR);
40 canvas->drawSprite(bm, dx, dy, &paint);
42 canvas->restore();
45 canvas->translate(SkIntToScalar(bm.width() + 20), 0);
48 canvas->save()
    [all...]
  /external/skia/gm/
filltypes.cpp 40 void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
45 canvas->save();
46 canvas->translate(SkIntToScalar(x), SkIntToScalar(y));
47 canvas->clipRect(r);
48 canvas->drawColor(SK_ColorWHITE);
50 canvas->translate(r.centerX(), r.centerY());
51 canvas->scale(scale, scale);
52 canvas->translate(-r.centerX(), -r.centerY());
53 canvas->drawPath(fPath, paint);
54 canvas->restore()
    [all...]
pathreverse.cpp 13 static void test_path(SkCanvas* canvas, const SkPath& path) {
16 canvas->drawPath(path, paint);
20 canvas->drawPath(path, paint);
23 static void test_rev(SkCanvas* canvas, const SkPath& path) {
24 test_path(canvas, path);
28 canvas->save();
29 canvas->translate(150, 0);
30 test_path(canvas, rev);
31 canvas->restore();
34 static void test_rev(SkCanvas* canvas) {
    [all...]
spritebitmap.cpp 16 SkCanvas canvas(*bm);
20 canvas.drawCircle(50, 50, 50, paint);
23 static void draw_2_bitmaps(SkCanvas* canvas, const SkBitmap& bm, bool doClip,
25 SkAutoCanvasRestore acr(canvas, true);
37 canvas->save();
38 canvas->clipRect(clipR);
40 canvas->drawSprite(bm, dx, dy, &paint);
42 canvas->restore();
45 canvas->translate(SkIntToScalar(bm.width() + 20), 0);
48 canvas->save()
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/
background.html 2 <canvas id="canvas" width="19" height="19">
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
XfermodeActivity.java 21 import android.graphics.Canvas;
54 protected void onDraw(Canvas canvas) {
55 super.onDraw(canvas);
56 //canvas.drawRGB(255, 255, 255);
58 canvas.translate(100.0f, 100.0f);
61 canvas.save();
63 drawRects(canvas, Mode.SRC_OVER);
64 canvas.translate(0.0f, 100.0f);
66 drawRects(canvas, Mode.SRC_IN)
    [all...]
ColoredRectsActivity.java 22 import android.graphics.Canvas;
72 protected void onDraw(Canvas canvas) {
73 super.onDraw(canvas);
79 canvas.save();
80 canvas.translate(mOffset, yOffset);
81 canvas.drawRect(0, 0, 20, 10, p);
82 canvas.drawRect(35, 0, 45, 20, p);
83 canvas.translate(0, -yOffset);
84 canvas.scale(2, 2)
    [all...]
Lines2Activity.java 22 import android.graphics.Canvas;
75 private void drawLines(Canvas canvas, Paint p, float xOffset, float yOffset) {
76 canvas.drawLine(10 + xOffset, yOffset, 10 + xOffset, 40 + yOffset, p);
77 canvas.drawLine(30 + xOffset, yOffset, 40 + xOffset, 40 + yOffset, p);
78 canvas.drawLine(40 + xOffset, yOffset, 75 + xOffset, 35 + yOffset, p);
79 canvas.drawLine(50 + xOffset, 5+ yOffset, 100 + xOffset, 15 + yOffset, p);
80 canvas.drawLine(60 + xOffset, yOffset, 110 + xOffset, 2 + yOffset, p);
81 canvas.drawLine(60 + xOffset, 40 + yOffset, 110 + xOffset, 40 + yOffset, p);
86 canvas.drawLines(copyPoints, 0, 12, p)
    [all...]
ShapesActivity.java 21 import android.graphics.Canvas;
79 protected void onDraw(Canvas canvas) {
80 super.onDraw(canvas);
82 canvas.save();
83 canvas.translate(50.0f, 50.0f);
84 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mNormalPaint);
86 canvas.translate(0.0f, 110.0f);
87 canvas.drawRoundRect(mRect, 6.0f, 6.0f, mStrokePaint);
89 canvas.translate(0.0f, 110.0f)
    [all...]
NewLayersActivity.java 21 import android.graphics.Canvas;
49 protected void onDraw(Canvas canvas) {
50 super.onDraw(canvas);
51 canvas.drawRGB(128, 255, 128);
53 canvas.save();
55 canvas.translate(140.0f, 100.0f);
56 drawStuff(canvas, Canvas.ALL_SAVE_FLAG);
58 canvas.translate(0.0f, 200.0f)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Clipping.java 49 private void drawScene(Canvas canvas) {
50 canvas.clipRect(0, 0, 100, 100);
52 canvas.drawColor(Color.WHITE);
55 canvas.drawLine(0, 0, 100, 100, mPaint);
58 canvas.drawCircle(30, 70, 30, mPaint);
61 canvas.drawText("Clipping", 100, 30, mPaint);
64 @Override protected void onDraw(Canvas canvas) {
65 canvas.drawColor(Color.GRAY)
    [all...]
  /external/chromium_org/tools/perf/page_sets/tough_canvas_cases/many_images/
single_image.html 3 <title>Canvas - Single Image</title>
15 var canvas;
19 canvas = document.getElementById('canvas');
20 context = canvas.getContext('2d');
22 sprites.init(canvas.width, canvas.height);
32 context.clearRect(0, 0, canvas.width, canvas.height);
39 <canvas id="canvas" width="800" height = "600"
    [all...]
  /external/chromium_org/content/test/data/accessibility/
canvas.html 6 <canvas width=100 height=100 alt="Image">Static fallback</canvas>
7 <canvas width=100 height=100><a href="#">Interactive fallback</a></canvas>
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
CanvasTest.java 28 Canvas canvas = new Canvas(targetBitmap); local
29 canvas.drawBitmap(imageBitmap, 1, 2, new Paint());
30 canvas.drawBitmap(imageBitmap, 100, 200, new Paint());
33 "Bitmap for file:/an/image.jpg at (100,200)", shadowOf(canvas).getDescription());
41 Canvas canvas = new Canvas(targetBitmap); local
42 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint())
54 Canvas canvas = new Canvas(targetBitmap); local
65 Canvas canvas = new Canvas(targetBitmap); local
75 Canvas canvas = new Canvas(targetBitmap); local
91 Canvas canvas = new Canvas(targetBitmap); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
CameraPreviewView.java 5 import android.graphics.Canvas;
38 public void onDraw(Canvas canvas) {
39 super.onDraw(canvas);
43 float centerX = canvas.getWidth() / 2.0f;
44 float centerY = canvas.getHeight() / 2.0f;
48 canvas.drawLine(centerX, 0, centerX, canvas.getHeight(), mPaint);
52 int vertLines = canvas.getWidth() / 2 / GRID_WIDTH;
53 int horizLines = canvas.getHeight() / 2 / GRID_WIDTH;
    [all...]
  /external/chromium_org/third_party/skia/samplecode/
SampleFillType.cpp 40 void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
45 canvas->save();
46 canvas->translate(SkIntToScalar(x), SkIntToScalar(y));
47 canvas->clipRect(r);
48 canvas->drawColor(SK_ColorWHITE);
50 canvas->translate(r.centerX(), r.centerY());
51 canvas->scale(scale, scale);
52 canvas->translate(-r.centerX(), -r.centerY());
53 canvas->drawPath(fPath, paint);
54 canvas->restore()
    [all...]
  /external/skia/samplecode/
SampleFillType.cpp 40 void showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft,
45 canvas->save();
46 canvas->translate(SkIntToScalar(x), SkIntToScalar(y));
47 canvas->clipRect(r);
48 canvas->drawColor(SK_ColorWHITE);
50 canvas->translate(r.centerX(), r.centerY());
51 canvas->scale(scale, scale);
52 canvas->translate(-r.centerX(), -r.centerY());
53 canvas->drawPath(fPath, paint);
54 canvas->restore()
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/
Canvas.py 1 # This module exports classes for the various canvas item types
4 # It's best to use the Tkinter.Canvas class directly.
7 warnpy3k("the Canvas module has been removed in Python 3.0", stacklevel=2)
10 from Tkinter import Canvas, _cnfmerge, _flatten
14 def __init__(self, canvas, itemType, *args, **kw):
15 self.canvas = canvas
16 self.id = canvas._create(itemType, args, kw)
17 if not hasattr(canvas, 'items'):
18 canvas.items = {
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/
Canvas.py 1 # This module exports classes for the various canvas item types
4 # It's best to use the Tkinter.Canvas class directly.
7 warnpy3k("the Canvas module has been removed in Python 3.0", stacklevel=2)
10 from Tkinter import Canvas, _cnfmerge, _flatten
14 def __init__(self, canvas, itemType, *args, **kw):
15 self.canvas = canvas
16 self.id = canvas._create(itemType, args, kw)
17 if not hasattr(canvas, 'items'):
18 canvas.items = {
    [all...]

Completed in 1095 milliseconds

1 2 3 4 5 6 7 8 91011>>