Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java468 private static void computeAxisStops(float start, float stop, int steps, AxisStops outStops) { in computeAxisStops() argument
471 outStops.stops = new float[]{}; in computeAxisStops()
472 outStops.numStops = 0; in computeAxisStops()
495 outStops.numStops = n; in computeAxisStops()
497 if (outStops.stops.length < n) { in computeAxisStops()
499 outStops.stops = new float[n]; in computeAxisStops()
503 outStops.stops[i] = (float) f; in computeAxisStops()
507 outStops.decimals = (int) Math.ceil(-Math.log10(interval)); in computeAxisStops()
509 outStops.decimals = 0; in computeAxisStops()