Searched refs:maxTextWidth (Results 1 – 1 of 1) sorted by relevance
827 final int maxTextWidth = width - mLanguageOnSpacebarHorizontalMargin * 2; in fitsTextIntoWidth() local834 final float scaleX = maxTextWidth / textWidth; in fitsTextIntoWidth()840 return TypefaceUtils.getStringWidth(text, paint) < maxTextWidth; in fitsTextIntoWidth()