Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java87 final float width = getTextWidth(text, getPaint()); in setTextAndScaleX()
99 private static float getTextWidth(final String text, final TextPaint paint) { in getTextWidth() method in KeyPreviewView
/packages/apps/Settings/src/com/android/settings/accessibility/
DPaletteListPreference.java133 final int textWidth = getTextWidth(context, maxLengthData); in initPaletteView()
179 private int getTextWidth(Context context, String text) { in getTextWidth() method in PaletteListPreference
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java572 final int width = getTextWidth(text, paint); in getTextScaleX()
626 private static int getTextWidth(@Nullable final CharSequence text, final TextPaint paint) { in getTextWidth() method in SuggestionStripLayoutHelper