Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java417 TypefaceUtils.getStringWidth(label, paint)); in onDrawKeyTopVisuals()
476 final float hintLabelWidth = TypefaceUtils.getStringWidth(hintLabel, paint); in onDrawKeyTopVisuals()
DMainKeyboardView.java829 final float textWidth = TypefaceUtils.getStringWidth(text, paint); in fitsTextIntoWidth()
840 return TypefaceUtils.getStringWidth(text, paint) < maxTextWidth; in fitsTextIntoWidth()
DMoreKeysKeyboard.java326 (int)(TypefaceUtils.getStringWidth(label, paint) + padding)); in getMaxKeyWidth()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java102 public static float getStringWidth(final String string, final Paint paint) { in getStringWidth() method in TypefaceUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java78 mWidths[index] = (int)(TypefaceUtils.getStringWidth(word, paint) + padding); in layout()