Home
last modified time | relevance | path

Searched refs:canvasRect (Results 1 – 13 of 13) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DSizeMetrics.java69 public RectF getRectF(RectF canvasRect) { in getRectF() argument
73 widthMetric.getPixelValue(canvasRect.width()), in getRectF()
74 heightMetric.getPixelValue(canvasRect.height())); in getRectF()
82 public RectF getRoundedRect(RectF canvasRect) { in getRoundedRect() argument
83 return PixelUtils.nearestPixRect(0, 0, widthMetric.getPixelValue(canvasRect.width()), in getRoundedRect()
84 heightMetric.getPixelValue(canvasRect.height())); in getRoundedRect()
DLayoutManager.java84 drawSpacing(canvas, displayDims.canvasRect, displayDims.marginatedRect, marginPaint); in draw()
105 canvas.drawRect(dims.canvasRect, outlineShadowPaint); in draw()
114 canvas.clipRect(dims.canvasRect, Region.Op.INTERSECT); in draw()
116 widget.draw(canvas, dims.canvasRect); in draw()
122 drawSpacing(canvas, dims.canvasRect, dims.marginatedRect, getMarginPaint()); in draw()
139 canvas.drawRect(dims.canvasRect, outlinePaint); in draw()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DDisplayDimensions.java26 public final RectF canvasRect; field in DisplayDimensions
40 public DisplayDimensions(RectF canvasRect, RectF marginatedRect, RectF paddedRect) { in DisplayDimensions() argument
41 this.canvasRect = canvasRect; in DisplayDimensions()
DPlotStatistics.java93 RectF r = source.getDisplayDimensions().canvasRect; in annotatePlot()
/external/skia/tests/
DRecordingXfermodeTest.cpp51 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fImageInfo.width()), in draw() local
58 canvas->drawRect(canvasRect, greenPaint); in draw()
115 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fWidth),SkIntToScalar(fHeight))); in recordAndReplay() local
119 drawer.draw(canvas, canvasRect, mode); in recordAndReplay()
DWritePixelsTest.cpp406 SkIRect canvasRect = SkIRect::MakeSize(canvas->getBaseLayerSize()); in test_write_pixels() local
409 bool expectSuccess = SkIRect::Intersects(canvasRect, writeRect) && in test_write_pixels()
DSerializationTest.cpp378 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize); in serialize_and_compare_typeface() local
379 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(canvasRect.width()), in serialize_and_compare_typeface()
380 SkIntToScalar(canvasRect.height())); in serialize_and_compare_typeface()
/external/skqp/tests/
DRecordingXfermodeTest.cpp50 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fImageInfo.width()), in draw() local
57 canvas->drawRect(canvasRect, greenPaint); in draw()
113 SkRect canvasRect(SkRect::MakeWH(SkIntToScalar(fWidth),SkIntToScalar(fHeight))); in recordAndReplay() local
117 drawer.draw(canvas, canvasRect, mode); in recordAndReplay()
DSerializationTest.cpp351 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize); in serialize_and_compare_typeface() local
352 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(canvasRect.width()), in serialize_and_compare_typeface()
353 SkIntToScalar(canvasRect.height()), in serialize_and_compare_typeface()
DWritePixelsTest.cpp407 SkIRect canvasRect = SkIRect::MakeSize(canvas->getBaseLayerSize()); in test_write_pixels() local
410 bool expectSuccess = SkIRect::Intersects(canvasRect, writeRect) && in test_write_pixels()
/external/clang/test/Sema/
Dinit-struct-qualified.c12 const NSRect canvasRect = { NSZeroPoint, canvasSize() }; in func() local
/external/llvm-project/clang/test/Sema/
Dinit-struct-qualified.c12 const NSRect canvasRect = { NSZeroPoint, canvasSize() }; in func() local
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DWidget.java117 return widgetDimensions.canvasRect.contains(point.x, point.y); in containsPoint()
332 drawBackground(canvas, widgetDimensions.canvasRect); in draw()