Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java170 private float[] mAxisYLinesBuffer = new float[]{}; field in InteractiveLineGraphView
348 if (mAxisYLinesBuffer.length < mYStopsBuffer.numStops * 4) { in drawAxes()
349 mAxisYLinesBuffer = new float[mYStopsBuffer.numStops * 4]; in drawAxes()
370 mAxisYLinesBuffer[i * 4 + 0] = mContentRect.left; in drawAxes()
371 mAxisYLinesBuffer[i * 4 + 1] = (float) Math.floor(mAxisYPositionsBuffer[i]); in drawAxes()
372 mAxisYLinesBuffer[i * 4 + 2] = mContentRect.right; in drawAxes()
373 mAxisYLinesBuffer[i * 4 + 3] = (float) Math.floor(mAxisYPositionsBuffer[i]); in drawAxes()
375 canvas.drawLines(mAxisYLinesBuffer, 0, mYStopsBuffer.numStops * 4, mGridPaint); in drawAxes()