Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java123 private Rect mContentRect = new Rect(); field in InteractiveLineGraphView
271 mContentRect.set( in onSizeChanged()
307 canvas.clipRect(mContentRect); in onDraw()
316 canvas.drawRect(mContentRect, mAxisPaint); in onDraw()
329 mContentRect.width() / mMaxLabelWidth / 2, in drawAxes()
334 mContentRect.height() / mLabelHeight / 2, in drawAxes()
363 mAxisXLinesBuffer[i * 4 + 1] = mContentRect.top; in drawAxes()
365 mAxisXLinesBuffer[i * 4 + 3] = mContentRect.bottom; in drawAxes()
370 mAxisYLinesBuffer[i * 4 + 0] = mContentRect.left; in drawAxes()
372 mAxisYLinesBuffer[i * 4 + 2] = mContentRect.right; in drawAxes()
[all …]