Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java162 private final AxisStops mXStopsBuffer = new AxisStops(); field in InteractiveLineGraphView
330 mXStopsBuffer); in drawAxes()
339 if (mAxisXPositionsBuffer.length < mXStopsBuffer.numStops) { in drawAxes()
340 mAxisXPositionsBuffer = new float[mXStopsBuffer.numStops]; in drawAxes()
345 if (mAxisXLinesBuffer.length < mXStopsBuffer.numStops * 4) { in drawAxes()
346 mAxisXLinesBuffer = new float[mXStopsBuffer.numStops * 4]; in drawAxes()
353 for (i = 0; i < mXStopsBuffer.numStops; i++) { in drawAxes()
354 mAxisXPositionsBuffer[i] = getDrawX(mXStopsBuffer.stops[i]); in drawAxes()
361 for (i = 0; i < mXStopsBuffer.numStops; i++) { in drawAxes()
367 canvas.drawLines(mAxisXLinesBuffer, 0, mXStopsBuffer.numStops * 4, mGridPaint); in drawAxes()
[all …]