Searched refs:referenceChar (Results 1 – 1 of 1) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | TypefaceUtils.java | 36 public static float getCharHeight(final char[] referenceChar, final Paint paint) { in getCharHeight() argument 37 final int key = getCharGeometryCacheKey(referenceChar[0], paint); in getCharHeight() 44 paint.getTextBounds(referenceChar, 0, 1, sTextHeightBounds); in getCharHeight() 56 public static float getCharWidth(final char[] referenceChar, final Paint paint) { in getCharWidth() argument 57 final int key = getCharGeometryCacheKey(referenceChar[0], paint); in getCharWidth() 64 paint.getTextBounds(referenceChar, 0, 1, sTextWidthBounds); in getCharWidth() 71 private static int getCharGeometryCacheKey(final char referenceChar, final Paint paint) { in getCharGeometryCacheKey() argument 74 final int codePointOffset = referenceChar << 15; in getCharGeometryCacheKey()
|