Home | History | Annotate | Download | only in interactivechart

Lines Matching refs:mContentRect

113      * @see #mContentRect
123 private Rect mContentRect = new Rect();
271 mContentRect.set(
307 canvas.clipRect(mContentRect);
316 canvas.drawRect(mContentRect, mAxisPaint);
329 mContentRect.width() / mMaxLabelWidth / 2,
334 mContentRect.height() / mLabelHeight / 2,
363 mAxisXLinesBuffer[i * 4 + 1] = mContentRect.top;
365 mAxisXLinesBuffer[i * 4 + 3] = mContentRect.bottom;
370 mAxisYLinesBuffer[i * 4 + 0] = mContentRect.left;
372 mAxisYLinesBuffer[i * 4 + 2] = mContentRect.right;
388 mContentRect.bottom + mLabelHeight + mLabelSeparation,
400 mContentRect.left - mLabelSeparation,
517 return mContentRect.left
518 + mContentRect.width()
526 return mContentRect.bottom
527 - mContentRect.height()
537 mSeriesLinesBuffer[0] = mContentRect.left;
555 * of the chart region are stored in {@link #mContentRect}.
567 canvas.translate(mContentRect.left, mContentRect.top);
568 mEdgeEffectTop.setSize(mContentRect.width(), mContentRect.height());
577 canvas.translate(2 * mContentRect.left - mContentRect.right, mContentRect.bottom);
578 canvas.rotate(180, mContentRect.width(), 0);
579 mEdgeEffectBottom.setSize(mContentRect.width(), mContentRect.height());
588 canvas.translate(mContentRect.left, mContentRect.bottom);
590 mEdgeEffectLeft.setSize(mContentRect.height(), mContentRect.width());
599 canvas.translate(mContentRect.right, mContentRect.top);
601 mEdgeEffectRight.setSize(mContentRect.height(), mContentRect.width());
622 * {@link #mContentRect}. If the point is found, the "dest" argument is set to the point and
626 if (!mContentRect.contains((int) x, (int) y)) {
633 * (x - mContentRect.left) / mContentRect.width(),
636 * (y - mContentRect.bottom) / -mContentRect.height());
681 - newWidth * (focusX - mContentRect.left)
682 / mContentRect.width(),
684 - newHeight * (mContentRect.bottom - focusY)
685 / mContentRect.height(),
747 float viewportOffsetX = distanceX * mCurrentViewport.width() / mContentRect.width();
748 float viewportOffsetY = -distanceY * mCurrentViewport.height() / mContentRect.height();
765 mEdgeEffectLeft.onPull(scrolledX / (float) mContentRect.width());
769 mEdgeEffectTop.onPull(scrolledY / (float) mContentRect.height());
772 if (canScrollX && scrolledX > mSurfaceSizeBuffer.x - mContentRect.width()) {
773 mEdgeEffectRight.onPull((scrolledX - mSurfaceSizeBuffer.x + mContentRect.width())
774 / (float) mContentRect.width());
777 if (canScrollY && scrolledY > mSurfaceSizeBuffer.y - mContentRect.height()) {
778 mEdgeEffectBottom.onPull((scrolledY - mSurfaceSizeBuffer.y + mContentRect.height())
779 / (float) mContentRect.height());
819 0, mSurfaceSizeBuffer.x - mContentRect.width(),
820 0, mSurfaceSizeBuffer.y - mContentRect.height(),
821 mContentRect.width() / 2,
822 mContentRect.height() / 2);
828 * area is visible, this is simply the current size of {@link #mContentRect}. If the chart
834 (int) (mContentRect.width() * (AXIS_X_MAX - AXIS_X_MIN)
836 (int) (mContentRect.height() * (AXIS_Y_MAX - AXIS_Y_MIN)
867 && currX > (mSurfaceSizeBuffer.x - mContentRect.width())
883 && currY > (mSurfaceSizeBuffer.y - mContentRect.height())