Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DEvaluator.java578 private int getPreferredPrec(String cache, int msd, int lastDigitOffset) { in getPreferredPrec() argument
583 if (lastDigitOffset == 0) { in getPreferredPrec()
584 lastDigitOffset = -1; in getPreferredPrec()
586 if (lastDigitOffset != Integer.MAX_VALUE) { in getPreferredPrec()
587 if (wholeSize <= lineLength && lastDigitOffset <= 0) { in getPreferredPrec()
591 if (lastDigitOffset >= 0 in getPreferredPrec()
592 && wholeSize + lastDigitOffset + 1 /* decimal pt. */ <= lineLength) { in getPreferredPrec()
594 return lastDigitOffset; in getPreferredPrec()