Home
last modified time | relevance | path

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

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
DValPixConverterTest.java141 assertEquals(1.0, ValPixConverter.valPerPix(0, 100, 100)); in testValPerPix()
143 assertEquals(expected, ValPixConverter.valPerPix(100, 300, 100)); in testValPerPix()
145 assertEquals(expected, ValPixConverter.valPerPix(0, 50, 100)); in testValPerPix()
147 assertEquals(expected, ValPixConverter.valPerPix(-100, 100, 100)); in testValPerPix()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYStepCalculator.java59 …stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(),… in getStep()
65 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep()
70 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DValPixConverter.java49 public static double valPerPix(double min, double max, float lengthPix) { in valPerPix() method in ValPixConverter