Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DEvaluator.java614 private static final int SHORT_TARGET_LENGTH = 8; field in Evaluator
640 if (msdIndex >= cache.length() - SHORT_TARGET_LENGTH) { in getShortString()
652 if (lsdOffset < -1 && dotIndex - msdIndex + negative <= SHORT_TARGET_LENGTH in getShortString()
663 } else if (lsdOffset <= SHORT_TARGET_LENGTH - negative - 2 in getShortString()
678 if (totalDigits <= SHORT_TARGET_LENGTH && dotIndex > msdIndex && lsdOffset >= -1) { in getShortString()
682 if (totalDigits <= SHORT_TARGET_LENGTH - 3) { in getShortString()
688 if (dotIndex > msdIndex && dotIndex < msdIndex + SHORT_TARGET_LENGTH - negative - 1) { in getShortString()
690 msdIndex + SHORT_TARGET_LENGTH - negative - 1) + KeyMaps.ELLIPSIS; in getShortString()
694 + cache.substring(msdIndex + 1, msdIndex + SHORT_TARGET_LENGTH - negative - 4) in getShortString()