Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DEvaluator.java169 public static final int INVALID_MSD = Integer.MAX_VALUE; field in Evaluator
173 private int mMsdIndex = INVALID_MSD;
356 && msd == INVALID_MSD) { in doInBackground()
641 msdIndex = INVALID_MSD; in getShortString()
643 if (msdIndex == INVALID_MSD) { in getShortString()
716 return INVALID_MSD; in getMsdIndexOf()
727 if (mMsdIndex != INVALID_MSD) { in getMsdIndex()
735 return INVALID_MSD; // None exists in getMsdIndex()
737 int result = INVALID_MSD; in getMsdIndex()
843 mMsdIndex = INVALID_MSD; in clearCache()
DCalculatorResult.java253 if (msdIndex == Evaluator.INVALID_MSD) { in initPositions()
348 return Evaluator.INVALID_MSD; in getNaiveMsdIndexOf()
380 if ((decIndex == -1 || msdIndex != Evaluator.INVALID_MSD in formatResult()
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DEvaluatorTest.java49 check(Evaluator.getMsdIndexOf("-0.01") == Evaluator.INVALID_MSD, "getMsdIndexOf(-0.01)"); in testGetMsdIndexOf()