Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java171 private float[] mSeriesLinesBuffer = new float[(DRAW_STEPS + 1) * 4]; field in InteractiveLineGraphView
537 mSeriesLinesBuffer[0] = mContentRect.left; in drawDataSeriesUnclipped()
538 mSeriesLinesBuffer[1] = getDrawY(fun(mCurrentViewport.left)); in drawDataSeriesUnclipped()
539 mSeriesLinesBuffer[2] = mSeriesLinesBuffer[0]; in drawDataSeriesUnclipped()
540 mSeriesLinesBuffer[3] = mSeriesLinesBuffer[1]; in drawDataSeriesUnclipped()
543 mSeriesLinesBuffer[i * 4 + 0] = mSeriesLinesBuffer[(i - 1) * 4 + 2]; in drawDataSeriesUnclipped()
544 mSeriesLinesBuffer[i * 4 + 1] = mSeriesLinesBuffer[(i - 1) * 4 + 3]; in drawDataSeriesUnclipped()
547 mSeriesLinesBuffer[i * 4 + 2] = getDrawX(x); in drawDataSeriesUnclipped()
548 mSeriesLinesBuffer[i * 4 + 3] = getDrawY(fun(x)); in drawDataSeriesUnclipped()
550 canvas.drawLines(mSeriesLinesBuffer, mDataPaint); in drawDataSeriesUnclipped()