Home
last modified time | relevance | path

Searched refs:drawLine (Results 1 – 25 of 81) sorted by relevance

1234

/external/skia/debugger/QT/
DSkListWidget.cpp35 painter->drawLine(r.topLeft(),r.topRight()); in paint()
36 painter->drawLine(r.topRight(),r.bottomRight()); in paint()
37 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
38 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
48 painter->drawLine(r.topLeft(),r.topRight()); in paint()
49 painter->drawLine(r.topRight(),r.bottomRight()); in paint()
50 painter->drawLine(r.bottomLeft(),r.bottomRight()); in paint()
51 painter->drawLine(r.topLeft(),r.bottomLeft()); in paint()
/external/skia/gm/
Dverttext2.cpp47 canvas->drawLine(0, SkIntToScalar(10), in onDraw()
49 canvas->drawLine(0, SkIntToScalar(240), in onDraw()
51 canvas->drawLine(0, SkIntToScalar(470), in onDraw()
Dpixelsnap.cpp80 canvas->drawLine(0.5f, in onDraw()
85 canvas->drawLine(i * SkIntToScalar(kTrans) + 0.5f, in onDraw()
131 canvas->drawLine(1, 1, 4, 1, paint); in drawElement()
132 canvas->drawLine(6, 1, 6, 4, paint); in drawElement()
Dskbug_4868.cpp21 canvas->drawLine(rc.left(), rc.top(), rc.right(), rc.bottom(), paint);
22 canvas->drawLine(rc.right(), rc.top(), rc.left(), rc.bottom(), paint);
Dpictureshadercache.cpp34 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile()
36 canvas->drawLine(fTileSize * 1 / 3, fTileSize / 2, in drawTile()
Dimagemagnifier.cpp58 canvas.drawLine(0, pos, SkIntToScalar(WIDTH_HEIGHT), pos, paint); in make_img()
59 canvas.drawLine(pos, 0, pos, SkIntToScalar(WIDTH_HEIGHT), paint); in make_img()
Dgiantbitmap.cpp46 canvas.drawLine(0, yy, SkIntToScalar(W), yy + SkIntToScalar(W), in getBitmap()
54 canvas.drawLine(xx, 0, xx, SkIntToScalar(H), in getBitmap()
Dhairlines.cpp227 canvas->drawLine(10, 10, 20, 10, paint); in draw_squarehair_tests()
228 canvas->drawLine(30, 10, 30, 20, paint); in draw_squarehair_tests()
229 canvas->drawLine(40, 10, 50, 20, paint); in draw_squarehair_tests()
Dpictureshadertile.cpp73 canvas->drawLine(pictureSize / 2, pictureSize * 1 / 3, in draw_scene()
75 canvas->drawLine(pictureSize * 1 / 3, pictureSize / 2, in draw_scene()
Dcirculararcs.cpp63 canvas->drawLine(kGridW, 0.f , kGridW, SkIntToScalar(kH), linePaint); in draw_arcs()
64 canvas->drawLine(0.f , kGridH, SkIntToScalar(kW), kGridH, linePaint); in draw_arcs()
196 canvas->drawLine(midX, -kPad, midX, height, linePaint);
Dpictureshader.cpp135 canvas->drawLine(fTileSize / 2, fTileSize * 1 / 3, in drawTile()
137 canvas->drawLine(fTileSize * 1 / 3, fTileSize / 2, in drawTile()
195 c->drawLine(20, 20, 80, 80, p);
Dsrcmode.cpp36 canvas->drawLine(0, 0, W, H, p); in draw_hair()
42 canvas->drawLine(0, 0, W, H, p); in draw_thick()
Dglyph_pos.cpp110 canvas->drawLine(0.0f, 0.0f, advance, 0.0f, paint); in drawTestCase()
130 canvas->drawLine(w, 0.0f, w, 5.0f, paint); in drawTestCase()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DCaptureActivity.java237 drawLine(canvas, paint, points[0], points[1]); in drawResultPoints()
241 drawLine(canvas, paint, points[0], points[1]); in drawResultPoints()
242 drawLine(canvas, paint, points[2], points[3]); in drawResultPoints()
252 private static void drawLine(Canvas canvas, Paint paint, ResultPoint a, ResultPoint b) { in drawLine() method in CaptureActivity
253 canvas.drawLine(a.getX(), a.getY(), b.getX(), b.getY(), paint); in drawLine()
/external/skia/samplecode/
DSampleFilterQuality.cpp79 canvas->drawLine(0, y, SkIntToScalar(orig->width()), y, paint); in zoom_up()
83 canvas->drawLine(x, 0, x, SkIntToScalar(orig->height()), paint); in zoom_up()
137 canvas->drawLine(r.left(), r.top(), r.right(), r.bottom(), p); in draw_box_frame()
138 canvas->drawLine(r.left(), r.bottom(), r.right(), r.top(), p); in draw_box_frame()
249 canvas->drawLine(r.left(), r.centerY(), r.right(), r.centerY(), p); in drawBorders()
250 canvas->drawLine(r.centerX(), r.top(), r.centerX(), r.bottom(), p); in drawBorders()
DSampleArc.cpp113 canvas->drawLine(r.fLeft, r.fTop, r.fRight, r.fBottom, p); in DrawRectWithLines()
114 canvas->drawLine(r.fLeft, r.fBottom, r.fRight, r.fTop, p); in DrawRectWithLines()
115 canvas->drawLine(r.fLeft, r.centerY(), r.fRight, r.centerY(), p); in DrawRectWithLines()
116 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p); in DrawRectWithLines()
DSampleRepeatTile.cpp29 canvas.drawLine(x, 0, x, SkIntToScalar(H - 1), paint); in make_bitmap()
32 canvas.drawLine(0, 0, SkIntToScalar(W), 0, paint); in make_bitmap()
DSampleLines.cpp88 canvas->drawLine(x, y, x + SkIntToScalar(90), y + SkIntToScalar(90), paint); in onDrawContent()
92 canvas->drawLine(x, y, x + SkIntToScalar(90), y + SkIntToScalar(90), paint); in onDrawContent()
DSampleDash.cpp74 canvas->drawLine(x0, y0, x1, y0, paint); in onDrawContent()
81 canvas->drawLine(x0, y0, x1, y0, paint); in onDrawContent()
DSampleFatBits.cpp108 void drawLine(SkCanvas*, SkPoint pts[2]);
170 canvas->drawLine(0, y - SK_ScalarHalf, 999, y - SK_ScalarHalf, paint); in copyMinToMax()
174 canvas->drawLine(x - SK_ScalarHalf, 0, x - SK_ScalarHalf, 999, paint); in copyMinToMax()
246 void FatBits::drawLine(SkCanvas* canvas, SkPoint pts[]) { in drawLine() function in FatBits
264 fMinSurface->getCanvas()->drawLine(pts[0], pts[1], paint); in drawLine()
451 fFB.drawLine(canvas, fPts); in onDrawContent()
/external/skia/bench/
DPictureNestingBench.cpp59 c->drawLine(0.5, 0, 0, 1, paint); in sierpinsky()
60 c->drawLine(0.5, 0, 1, 1, paint); in sierpinsky()
61 c->drawLine(0, 1, 1, 1, paint); in sierpinsky()
/external/skia/src/core/
DSkDrawable.cpp31 canvas->drawLine(r.left(), r.top(), r.right(), r.bottom(), paint); in draw_bbox()
32 canvas->drawLine(r.left(), r.bottom(), r.right(), r.top(), paint); in draw_bbox()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYGraphWidget.java456 canvas.drawLine(xPix, gridRect.top, xPix, gridRect.bottom in drawDomainTick()
459 canvas.drawLine(xPix, gridRect.top - domainLabelTickExtension, xPix, in drawDomainTick()
478 canvas.drawLine(xPix, gridRect.top, xPix, gridRect.bottom, in drawDomainTick()
489 canvas.drawLine(gridRect.left - rangeLabelTickExtension, yPix, in drawRangeTick()
492 canvas.drawLine(gridRect.left, yPix, in drawRangeTick()
509 canvas.drawLine(gridRect.left, yPix, gridRect.right, yPix, in drawRangeTick()
713 canvas.drawLine(paddedGridRect.left, yPix, in drawMarkers()
739 canvas.drawLine(xPix, paddedGridRect.top, xPix, in drawMarkers()
764 canvas.drawLine(domainCursorPosition, paddedGridRect.top, in drawCursors()
775 canvas.drawLine(paddedGridRect.left, rangeCursorPosition, in drawCursors()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayBorderPanel.java400 g.drawLine(i, i, width - i - 2, i); in paint()
401 g.drawLine(i, i + 1, i, height - i - 1); in paint()
405 g.drawLine(i + 1, height - i - 1, width - i - 1, height - i - 1); in paint()
406 g.drawLine(width - i - 1, i, width - i - 1, height - i - 2); in paint()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DHistogramView.java201 canvas.drawLine(0, bottom - mXLabelSize, right, bottom - mXLabelSize, mLinePaint); in fillCanvas()
205 canvas.drawLine(yMargin + extraYMargin, bottom, yMargin + extraYMargin, in fillCanvas()
248 canvas.drawLine(xLabelLineStartX, xLabelLineStartY, xLabelLineStartX, in fillCanvas()

1234