Searched refs:maxDigs (Results 1 – 2 of 2) sorted by relevance
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorResult.java | 369 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()
|
D | Evaluator.java | 780 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()
|