Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java646 final float upscaledWidth = maxWidth / MIN_TEXT_XSCALE; in getEllipsizedText() local
648 text, paint, upscaledWidth, TextUtils.TruncateAt.MIDDLE); in getEllipsizedText()
659 if (upscaledWidth <= ellipsizedTextWidth) { in getEllipsizedText()
661 text, paint, upscaledWidth - (ellipsizedTextWidth - upscaledWidth) - 2, in getEllipsizedText()