Searched refs:gridRect (Results 1 – 2 of 2) sorted by relevance
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/ |
D | XYSeriesRendererTest.java | 72 RectF gridRect = new RectF(); in testDataToGridCorrelation() local 79 …XYStep domainStep = XYStepCalculator.getStep(plot, XYAxisType.DOMAIN, gridRect, plot.getCalculated… in testDataToGridCorrelation() 81 float width = gridRect.width(); in testDataToGridCorrelation() 84 float val = ValPixConverter.valToPix(x, 0, 9, gridRect.width(), false) + (gridRect.left); in testDataToGridCorrelation() 89 val = ValPixConverter.valToPix(x, 0, 9, gridRect.width(), false) + (gridRect.left); in testDataToGridCorrelation() 94 val = ValPixConverter.valToPix(x, 0, 9, gridRect.width(), false) + (gridRect.left); in testDataToGridCorrelation()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYGraphWidget.java | 100 private RectF gridRect; field in XYGraphWidget 375 gridRect = getGridRect(widgetRect); // used for drawing the background in doOnDraw() 377 paddedGridRect = getPaddedGridRect(gridRect); // used for drawing lines in doOnDraw() 406 private RectF getPaddedGridRect(RectF gridRect) { in getPaddedGridRect() argument 407 return new RectF(gridRect.left + gridPaddingLeft, gridRect.top in getPaddedGridRect() 408 + gridPaddingTop, gridRect.right - gridPaddingRight, in getPaddedGridRect() 409 gridRect.bottom - gridPaddingBottom); in getPaddedGridRect() 456 canvas.drawLine(xPix, gridRect.top, xPix, gridRect.bottom in drawDomainTick() 459 canvas.drawLine(xPix, gridRect.top - domainLabelTickExtension, xPix, in drawDomainTick() 460 gridRect.bottom , linePaint); in drawDomainTick() [all …]
|