Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java169 private float[] mAxisXLinesBuffer = new float[]{}; field in InteractiveLineGraphView
345 if (mAxisXLinesBuffer.length < mXStopsBuffer.numStops * 4) { in drawAxes()
346 mAxisXLinesBuffer = new float[mXStopsBuffer.numStops * 4]; in drawAxes()
362 mAxisXLinesBuffer[i * 4 + 0] = (float) Math.floor(mAxisXPositionsBuffer[i]); in drawAxes()
363 mAxisXLinesBuffer[i * 4 + 1] = mContentRect.top; in drawAxes()
364 mAxisXLinesBuffer[i * 4 + 2] = (float) Math.floor(mAxisXPositionsBuffer[i]); in drawAxes()
365 mAxisXLinesBuffer[i * 4 + 3] = mContentRect.bottom; in drawAxes()
367 canvas.drawLines(mAxisXLinesBuffer, 0, mXStopsBuffer.numStops * 4, mGridPaint); in drawAxes()