Home
last modified time | relevance | path

Searched refs:fontScale (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/content/res/
DConfiguration.java54 public float fontScale; field in Configuration
623 fontScale = o.fontScale; in setTo()
652 sb.append(fontScale); in toString()
791 fontScale = 1; in setToDefaults()
826 if (delta.fontScale > 0 && fontScale != delta.fontScale) { in updateFrom()
828 fontScale = delta.fontScale; in updateFrom()
988 if (delta.fontScale > 0 && fontScale != delta.fontScale) { in diff()
1117 dest.writeFloat(fontScale); in writeToParcel()
1153 fontScale = source.readFloat(); in readFromParcel()
1200 float a = this.fontScale; in compareTo()
[all …]
DResources.java1807 mMetrics.scaledDensity = mMetrics.density * mConfiguration.fontScale; in updateConfiguration()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java215 final float fontScale = getFontScale(); in notifyFontScaleChanged() local
218 listener.onFontScaleChanged(fontScale); in notifyFontScaleChanged()
527 public void onFontScaleChanged(float fontScale) {} in onFontScaleChanged() argument
/frameworks/base/core/java/android/provider/
DSettings.java1661 outConfig.fontScale = Settings.System.getFloatForUser( in getConfigurationForUser()
1662 cr, FONT_SCALE, outConfig.fontScale, userHandle); in getConfigurationForUser()
1663 if (outConfig.fontScale < 0) { in getConfigurationForUser()
1664 outConfig.fontScale = 1; in getConfigurationForUser()
1673 inoutConfig.fontScale = 0; in clearConfiguration()
1691 return Settings.System.putFloatForUser(cr, FONT_SCALE, config.fontScale, userHandle); in putConfigurationForUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java540 mFontScale = currentConfig.fontScale; in start()
713 final float fontScale = newConfig.fontScale; in onConfigurationChanged() local
715 if (! locale.equals(mLocale) || ld != mLayoutDirection || fontScale != mFontScale) { in onConfigurationChanged()
1492 mContext.getResources().getConfiguration().fontScale);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileView.java105 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale, in updateTopPadding()
/frameworks/base/core/java/android/app/
DNotification.java2899 mHasThreeLines, mContext.getResources().getConfiguration().fontScale),
2948 float fontScale) { in calculateTopPadding() argument
2955 float largeFactor = (MathUtils.constrain(fontScale, 1.0f, LARGE_TEXT_SCALE) - 1f) in calculateTopPadding()
3633 mBuilder.mContext.getResources().getConfiguration().fontScale); in applyTopPadding()
4071 mBuilder.mContext.getResources().getConfiguration().fontScale > 1f; in makeBigContentView()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1507 public void onFontScaleChanged(float fontScale) {
1508 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHeaderView.java227 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale, 1.0f, in updateClockCollapsedMargin()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3861 mTempConfiguration.fontScale = currentConfig.fontScale; in updateOrientationFromAppTokensLocked()
7073 config.fontScale = 0; in computeNewConfigurationLocked()
8459 mTempConfiguration.fontScale = mCurConfiguration.fontScale; in reconfigureDisplayLocked()
/frameworks/base/docs/html/guide/topics/manifest/
Dactivity-element.jd16 "navigation", "screenLayout", "fontScale", "uiMode",
266 <td>"{@code fontScale}"</td>
/frameworks/base/api/
Dsystem-current.txt9474 field public float fontScale;
Dcurrent.txt9168 field public float fontScale;