Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java98 private static final float AXIS_X_MIN = -1f; field in InteractiveLineGraphView
115 private RectF mCurrentViewport = new RectF(AXIS_X_MIN, AXIS_Y_MIN, AXIS_X_MAX, AXIS_Y_MAX);
704 mCurrentViewport.left = Math.max(AXIS_X_MIN, mCurrentViewport.left); in constrainViewport()
751 * (mCurrentViewport.left + viewportOffsetX - AXIS_X_MIN)
752 / (AXIS_X_MAX - AXIS_X_MIN));
756 boolean canScrollX = mCurrentViewport.left > AXIS_X_MIN
809 int startX = (int) (mSurfaceSizeBuffer.x * (mScrollerStartViewport.left - AXIS_X_MIN) / ( in fling()
810 AXIS_X_MAX - AXIS_X_MIN)); in fling()
834 (int) (mContentRect.width() * (AXIS_X_MAX - AXIS_X_MIN) in computeScrollSurfaceSize()
854 boolean canScrollX = (mCurrentViewport.left > AXIS_X_MIN in computeScroll()
[all …]