Searched refs:availableFontScales (Results 1 – 2 of 2) sorted by relevance
226 final String[] availableFontScales = new String[]{"0.5", "0.9", "1.0", "1.1", "1.5"}; in testFindClosestAllowedFontScale() local229 availableFontScales); in testFindClosestAllowedFontScale()
975 @NonNull String[] availableFontScales) { in findClosestAllowedFontScale() argument983 for (int i = 0; !fontScaleFound && i < availableFontScales.length; i++) { in findClosestAllowedFontScale()984 final float fontScale = Float.parseFloat(availableFontScales[i]); in findClosestAllowedFontScale()993 availableFontScales[availableFontScales.length - 1]); in findClosestAllowedFontScale()