Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DEvaluatorTest.java47 check(Evaluator.getMsdIndexOf("-0.0234") == 4, "getMsdIndexOf(-0.0234)"); in testGetMsdIndexOf()
48 check(Evaluator.getMsdIndexOf("23.45") == 0, "getMsdIndexOf(23.45)"); in testGetMsdIndexOf()
49 check(Evaluator.getMsdIndexOf("-0.01") == Evaluator.INVALID_MSD, "getMsdIndexOf(-0.01)"); in testGetMsdIndexOf()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DEvaluator.java354 int msd = getMsdIndexOf(initResult); in doInBackground()
359 msd = getMsdIndexOf(initResult); in doInBackground()
414 final int msdIndex = getMsdIndexOf(mResultString); in onPostExecute()
703 public static int getMsdIndexOf(String s) { in getMsdIndexOf() method in Evaluator
739 result = getMsdIndexOf(mResultString); in getMsdIndex()
1019 getShortString(mResultString, getMsdIndexOf(mResultString), leastDigOffset)); in getResultExpr()