Searched refs:lsdOffset (Results 1 – 2 of 2) sorted by relevance
361 final int lsdOffset = getLsdOffset(res.ratVal, initResult, in doInBackground() local363 final int initDisplayOffset = getPreferredPrec(initResult, msd, lsdOffset); in doInBackground()629 private String getShortString(String cache, int msdIndex, int lsdOffset) { in getShortString() argument644 if (lsdOffset < INIT_PREC) { in getShortString()652 if (lsdOffset < -1 && dotIndex - msdIndex + negative <= SHORT_TARGET_LENGTH in getShortString()653 && lsdOffset >= -CalculatorResult.MAX_TRAILING_ZEROES - 1) { in getShortString()656 lsdOffset = -1; in getShortString()663 } else if (lsdOffset <= SHORT_TARGET_LENGTH - negative - 2 in getShortString()664 && lsdOffset <= CalculatorResult.MAX_LEADING_ZEROES + 1) { in getShortString()675 if (lsdOffset != Integer.MAX_VALUE) { in getShortString()[all …]
242 private void initPositions(int initPrecOffset, int msdIndex, int lsdOffset, in initPositions() argument247 mLsdOffset = lsdOffset; in initPositions()255 if (lsdOffset == Integer.MIN_VALUE) { in initPositions()286 if (lsdOffset < MAX_RIGHT_SCROLL) { in initPositions()287 mMaxCharOffset = lsdOffset; in initPositions()305 newMaxCharOffset = mMaxCharOffset + expLen(-lsdOffset); in initPositions()