Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DTypefaceUtils.java37 private static float getCharHeight(final char[] referenceChar, final Paint paint) { in getCharHeight() argument
38 final int key = getCharGeometryCacheKey(referenceChar[0], paint); in getCharHeight()
45 paint.getTextBounds(referenceChar, 0, 1, sTextHeightBounds); in getCharHeight()
57 private static float getCharWidth(final char[] referenceChar, final Paint paint) { in getCharWidth() argument
58 final int key = getCharGeometryCacheKey(referenceChar[0], paint); in getCharWidth()
65 paint.getTextBounds(referenceChar, 0, 1, sTextWidthBounds); in getCharWidth()
72 private static int getCharGeometryCacheKey(final char referenceChar, final Paint paint) { in getCharGeometryCacheKey() argument
75 final int codePointOffset = referenceChar << 15; in getCharGeometryCacheKey()