Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java99 private static final float AXIS_X_MAX = 1f; field in InteractiveLineGraphView
115 private RectF mCurrentViewport = new RectF(AXIS_X_MIN, AXIS_Y_MIN, AXIS_X_MAX, AXIS_Y_MAX);
709 Math.min(AXIS_X_MAX, mCurrentViewport.right)); in constrainViewport()
752 / (AXIS_X_MAX - AXIS_X_MIN));
757 || mCurrentViewport.right < AXIS_X_MAX;
810 AXIS_X_MAX - AXIS_X_MIN)); in fling()
834 (int) (mContentRect.width() * (AXIS_X_MAX - AXIS_X_MIN) in computeScrollSurfaceSize()
855 || mCurrentViewport.right < AXIS_X_MAX); in computeScroll()
891 float currXRange = AXIS_X_MIN + (AXIS_X_MAX - AXIS_X_MIN) in computeScroll()
936 x = Math.max(AXIS_X_MIN, Math.min(x, AXIS_X_MAX - curWidth)); in setViewportBottomLeft()