Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorResult.java369 public String formatResult(String in, int precOffset, int maxDigs, boolean truncated, in formatResult() argument
389 if (!truncated && msdIndex < maxDigs - 1 in formatResult()
391 <= maxDigs + SCI_NOTATION_EXTRA) { in formatResult()
DEvaluator.java780 public String getString(int[] precOffset, int maxPrecOffset, int maxDigs, boolean[] truncated, in getString() argument
812 deficit = Math.min(currentPrecOffset - mResultStringOffset, maxDigs); in getString()
818 int startIndex = Math.max(endIndex + deficit - maxDigs, 0); in getString()