Searched refs:realMax (Results 1 – 1 of 1) sorted by relevance
229 int realMax = Math.min(maxCharacters, length); in ellipsize() local239 realMax -= extension.length(); in ellipsize()240 if (realMax < 0) in ellipsize()241 realMax = 0; in ellipsize()242 return text.substring(0, realMax) + extension; in ellipsize()