Loading core/java/android/util/MathUtils.java +1 −3 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ package android.util; import java.util.Random; /** * A class that contains utility methods related to numbers. * Loading Loading @@ -181,7 +179,7 @@ public final class MathUtils { } public static float map(float minStart, float minStop, float maxStart, float maxStop, float value) { return maxStart + (maxStart - maxStop) * ((value - minStart) / (minStop - minStart)); return maxStart + (maxStop - maxStart) * ((value - minStart) / (minStop - minStart)); } /** Loading Loading
core/java/android/util/MathUtils.java +1 −3 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ package android.util; import java.util.Random; /** * A class that contains utility methods related to numbers. * Loading Loading @@ -181,7 +179,7 @@ public final class MathUtils { } public static float map(float minStart, float minStop, float maxStart, float maxStop, float value) { return maxStart + (maxStart - maxStop) * ((value - minStart) / (minStop - minStart)); return maxStart + (maxStop - maxStart) * ((value - minStart) / (minStop - minStart)); } /** Loading