Searched refs:fontScale (Results 1 – 8 of 8) sorted by relevance
27 final float fontScale = resources.getConfiguration().fontScale; in setTextZoom() local37 textZoom = (int) (textZoom * fontScale); in setTextZoom()
40 mFontScale = config.fontScale; in ConfigMonitor()47 if (mFontScale != config.fontScale || mDensity != config.densityDpi) { in onReceive()
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()
189 mCurConfig.fontScale = Float.parseFloat(objValue.toString()); in writeFontSizePreference()232 pref.setValueIndex(floatToIndex(mCurConfig.fontScale, in readFontSizePreference()
120 public void onFontScaleChanged(float fontScale) { in onFontScaleChanged() argument121 mFontScale = fontScale; in onFontScaleChanged()
69 public void onFontScaleChanged(float fontScale) {
2242 public float fontScale;