Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java163 private final AxisStops mYStopsBuffer = new AxisStops(); field in InteractiveLineGraphView
335 mYStopsBuffer); in drawAxes()
342 if (mAxisYPositionsBuffer.length < mYStopsBuffer.numStops) { in drawAxes()
343 mAxisYPositionsBuffer = new float[mYStopsBuffer.numStops]; in drawAxes()
348 if (mAxisYLinesBuffer.length < mYStopsBuffer.numStops * 4) { in drawAxes()
349 mAxisYLinesBuffer = new float[mYStopsBuffer.numStops * 4]; in drawAxes()
356 for (i = 0; i < mYStopsBuffer.numStops; i++) { in drawAxes()
357 mAxisYPositionsBuffer[i] = getDrawY(mYStopsBuffer.stops[i]); in drawAxes()
369 for (i = 0; i < mYStopsBuffer.numStops; i++) { in drawAxes()
375 canvas.drawLines(mAxisYLinesBuffer, 0, mYStopsBuffer.numStops * 4, mGridPaint); in drawAxes()
[all …]