Searched refs:precOffset (Results 1 – 2 of 2) sorted by relevance
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | Evaluator.java | 352 int precOffset = INIT_PREC; in doInBackground() local 353 String initResult = res.val.toString(precOffset); in doInBackground() 357 precOffset = MAX_MSD_PREC_OFFSET; in doInBackground() 358 initResult = res.val.toString(precOffset); in doInBackground() 365 if (newPrecOffset > precOffset) { in doInBackground() 366 precOffset = newPrecOffset; in doInBackground() 367 initResult = res.val.toString(precOffset); in doInBackground() 370 initResult, precOffset, initDisplayOffset); in doInBackground() 491 final int precOffset = prec[0].intValue(); in doInBackground() local 492 return new ReevalResult(mVal.toString(precOffset), precOffset); in doInBackground() [all …]
|
D | CalculatorResult.java | 369 public String formatResult(String in, int precOffset, int maxDigs, boolean truncated, in formatResult() argument 379 lastDisplayedOffset[0] = precOffset; in formatResult() 381 && msdIndex - decIndex > MAX_LEADING_ZEROES + 1) && precOffset != -1) { in formatResult() 386 final int initExponent = precOffset > 0 ? -precOffset : -precOffset - 1; in formatResult() 426 if (precOffset - dropDigits > mLsdOffset) { in formatResult() 452 private String getFormattedResult(int precOffset, int maxSize, int lastDisplayedOffset[], in getFormattedResult() argument 456 final int requestedPrecOffset[] = {precOffset}; in getFormattedResult()
|