Searched refs:fontScale (Results 1 – 9 of 9) sorted by relevance
27 final float fontScale = resources.getConfiguration().fontScale; in setTextZoom() local37 textZoom = (int) (textZoom * fontScale); in setTextZoom()
61 mFontScale = config.fontScale; in ConfigMonitor()87 if (mFontScale != config.fontScale || mDensity != config.densityDpi) { in onReceive()
177 final float fontScale = manager.getFontScale(); in applyCaptionProperties() local182 previewText.setTextSize(virtualHeight * LINE_HEIGHT_RATIO * fontScale); in applyCaptionProperties()186 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
217 final float fontScale = manager.getFontScale(); in applyCaptionProperties() local222 previewText.setTextSize(virtualHeight * LINE_HEIGHT_RATIO * fontScale); in applyCaptionProperties()226 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
189 mCurConfig.fontScale = Float.parseFloat(objValue.toString()); in writeFontSizePreference()232 pref.setValueIndex(floatToIndex(mCurConfig.fontScale, in readFontSizePreference()
118 public void onFontScaleChanged(float fontScale) { in onFontScaleChanged() argument119 mFontScale = fontScale; in onFontScaleChanged()
78 config.fontScale = mValues[index]; in createConfig()
70 public void onFontScaleChanged(float fontScale) {