Searched refs:fontScale (Results 1 – 7 of 7) sorted by relevance
27 final float fontScale = resources.getConfiguration().fontScale; in setTextZoom() local37 textZoom = (int) (textZoom * fontScale); in setTextZoom()
42 mFontScale = config.fontScale; in ConfigMonitor()49 if (mFontScale != config.fontScale || mDensity != getDensity(config)) { in onReceive()
189 mCurConfig.fontScale = Float.parseFloat(objValue.toString()); in writeFontSizePreference()232 pref.setValueIndex(floatToIndex(mCurConfig.fontScale, in readFontSizePreference()
214 final float fontScale = manager.getFontScale(); in applyCaptionProperties() local219 previewText.setTextSize(virtualHeight * LINE_HEIGHT_RATIO * fontScale); in applyCaptionProperties()223 previewText.setTextSize(textSize * fontScale); in applyCaptionProperties()
61 config.fontScale = mValues[index]; in createConfig()
116 public void onFontScaleChanged(float fontScale) { in onFontScaleChanged() argument117 mFontScale = fontScale; in onFontScaleChanged()
69 public void onFontScaleChanged(float fontScale) {