Searched refs:realMax (Results 1 – 1 of 1) sorted by relevance
234 int realMax = Math.min(maxCharacters, length); in ellipsize() local244 realMax -= extension.length(); in ellipsize()245 if (realMax < 0) in ellipsize()246 realMax = 0; in ellipsize()247 return text.substring(0, realMax) + extension; in ellipsize()