Searched refs:fontScale (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 54 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 …]
|
D | Resources.java | 1807 mMetrics.scaledDensity = mMetrics.density * mConfiguration.fontScale; in updateConfiguration()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 215 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/ |
D | Settings.java | 1661 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/ |
D | BaseStatusBar.java | 540 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/ |
D | QSTileView.java | 105 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale, in updateTopPadding()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 2899 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/ |
D | WebVttRenderer.java | 1507 public void onFontScaleChanged(float fontScale) { 1508 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarHeaderView.java | 227 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale, 1.0f, in updateClockCollapsedMargin()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 3861 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/ |
D | activity-element.jd | 16 "navigation", "screenLayout", "fontScale", "uiMode", 266 <td>"{@code fontScale}"</td>
|
/frameworks/base/api/ |
D | system-current.txt | 9474 field public float fontScale;
|
D | current.txt | 9168 field public float fontScale;
|