Home
last modified time | relevance | path

Searched refs:widgetRect (Results 1 – 7 of 7) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DWidget.java157 public RectF getMarginatedRect(RectF widgetRect) { in getMarginatedRect() argument
158 return boxModel.getMarginatedRect(widgetRect); in getMarginatedRect()
263 RectF widgetRect = new RectF(coords.x, coords.y, in refreshLayout() local
265 RectF marginatedWidgetRect = getMarginatedRect(widgetRect); in refreshLayout()
267 widgetDimensions = new DisplayDimensions(widgetRect, in refreshLayout()
319 public static PointF getAnchorCoordinates(RectF widgetRect, AnchorPosition anchorPosition) { in getAnchorCoordinates() argument
320 return PixelUtils.add(new PointF(widgetRect.left, widgetRect.top), in getAnchorCoordinates()
321 getAnchorOffset(widgetRect.width(), widgetRect.height(), anchorPosition)); in getAnchorCoordinates()
328 public void draw(Canvas canvas, RectF widgetRect) throws PlotRenderException { in draw() argument
354 protected void drawBackground(Canvas canvas, RectF widgetRect) { in drawBackground() argument
[all …]
DTextLabelWidget.java105 public void doOnDraw(Canvas canvas, RectF widgetRect) { in doOnDraw() argument
111 PointF start = getAnchorCoordinates(widgetRect, in doOnDraw()
DEmptyWidget.java31 protected void doOnDraw(Canvas canvas, RectF widgetRect) throws PlotRenderException { in doOnDraw() argument
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DPieWidget.java41 protected void doOnDraw(Canvas canvas, RectF widgetRect) throws PlotRenderException { in doOnDraw() argument
44 renderer.render(canvas, widgetRect); in doOnDraw()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYGraphWidget.java373 protected void doOnDraw(Canvas canvas, RectF widgetRect) in doOnDraw() argument
375 gridRect = getGridRect(widgetRect); // used for drawing the background in doOnDraw()
399 private RectF getGridRect(RectF widgetRect) { in getGridRect() argument
400 return new RectF(widgetRect.left + ((rangeAxisLeft)?rangeLabelWidth:1), in getGridRect()
401 widgetRect.top + ((domainAxisBottom)?1:domainLabelWidth), in getGridRect()
402 widgetRect.right - ((rangeAxisLeft)?1:rangeLabelWidth), in getGridRect()
403 widgetRect.bottom - ((domainAxisBottom)?domainLabelWidth:1)); in getGridRect()
DXYLegendWidget.java145 protected synchronized void doOnDraw(Canvas canvas, RectF widgetRect) { in doOnDraw() argument
177 Iterator<RectF> it = tableModel.getIterator(widgetRect, seriesCount); in doOnDraw()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DXYLegendWidgetTest.java56 public void doOnDraw(Canvas canvas, RectF widgetRect) {} in doOnDraw() argument