Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java39 import com.android.inputmethod.latin.utils.TypefaceUtils;
400 final float labelCharHeight = TypefaceUtils.getReferenceCharHeight(paint); in onDrawKeyTopVisuals()
401 final float labelCharWidth = TypefaceUtils.getReferenceCharWidth(paint); in onDrawKeyTopVisuals()
417 TypefaceUtils.getStringWidth(label, paint)); in onDrawKeyTopVisuals()
454 final float labelCharHeight = TypefaceUtils.getReferenceCharHeight(paint); in onDrawKeyTopVisuals()
455 final float labelCharWidth = TypefaceUtils.getReferenceCharWidth(paint); in onDrawKeyTopVisuals()
475 final float hintDigitWidth = TypefaceUtils.getReferenceDigitWidth(paint); in onDrawKeyTopVisuals()
476 final float hintLabelWidth = TypefaceUtils.getStringWidth(hintLabel, paint); in onDrawKeyTopVisuals()
525 - TypefaceUtils.getReferenceCharWidth(paint) / 2.0f; in drawKeyPopupHint()
DMoreKeysKeyboard.java28 import com.android.inputmethod.latin.utils.TypefaceUtils;
326 (int)(TypefaceUtils.getStringWidth(label, paint) + padding)); in getMaxKeyWidth()
DMainKeyboardView.java61 import com.android.inputmethod.latin.utils.TypefaceUtils;
829 final float textWidth = TypefaceUtils.getStringWidth(text, paint); in fitsTextIntoWidth()
840 return TypefaceUtils.getStringWidth(text, paint) < maxTextWidth; in fitsTextIntoWidth()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java24 public final class TypefaceUtils { class
28 private TypefaceUtils() { in TypefaceUtils() method in TypefaceUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java32 import com.android.inputmethod.latin.utils.TypefaceUtils;
78 mWidths[index] = (int)(TypefaceUtils.getStringWidth(word, paint) + padding); in layout()