Home | History | Annotate | Download | only in calculator2

Lines Matching refs:dotIndex

658             final int dotIndex = mExprInfo.mResultString.indexOf('.');
659 String truncatedWholePart = mExprInfo.mResultString.substring(0, dotIndex);
667 dotIndex);
925 final int dotIndex = cache.indexOf('.');
942 if (lsdOffset < -1 && dotIndex - msdIndex + negative <= SHORT_TARGET_LENGTH
948 if (msdIndex > dotIndex) {
949 if (msdIndex <= dotIndex + EXP_COST + 1) {
952 msdIndex = dotIndex - 1;
957 msdIndex = dotIndex -1;
960 int exponent = dotIndex - msdIndex;
966 final int lsdIndex = dotIndex + lsdOffset;
968 if (totalDigits <= SHORT_TARGET_LENGTH && dotIndex > msdIndex && lsdOffset >= -1) {
970 final String wholeWithCommas = StringUtils.addCommas(cache, msdIndex, dotIndex);
971 return negativeSign + wholeWithCommas + cache.substring(dotIndex, lsdIndex + 1);
979 if (dotIndex > msdIndex && dotIndex < msdIndex + SHORT_TARGET_LENGTH - negative - 1) {
980 final String wholeWithCommas = StringUtils.addCommas(cache, msdIndex, dotIndex);
982 + cache.substring(dotIndex, msdIndex + SHORT_TARGET_LENGTH - negative - 1)
1171 final int dotIndex = ei.mResultString.indexOf('.');
1172 final String truncatedWholePart = ei.mResultString.substring(0, dotIndex);
1173 final int leastDigOffset = getLsdOffset(ei.mVal.get(), ei.mResultString, dotIndex);
1543 final int dotIndex = rs.indexOf('.');
1544 final int leastDigOffset = getLsdOffset(ei.mVal.get(), rs, dotIndex);