/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SpTexts.java | 43 final float fontScale = res.getConfiguration().fontScale; in add() local 46 final int sp = (int)(px / fontScale / density); in add()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 61 public float fontScale; field in Configuration 752 fontScale = o.fontScale; in setTo() 781 sb.append(fontScale); in toString() 921 fontScale = 1; in setToDefaults() 956 if (delta.fontScale > 0 && fontScale != delta.fontScale) { in updateFrom() 958 fontScale = delta.fontScale; in updateFrom() 1122 if (delta.fontScale > 0 && fontScale != delta.fontScale) { in diff() 1254 dest.writeFloat(fontScale); in writeToParcel() 1291 fontScale = source.readFloat(); in readFromParcel() 1343 float a = this.fontScale; in compareTo() [all …]
|
D | ResourcesImpl.java | 386 mMetrics.scaledDensity = mMetrics.density * mConfiguration.fontScale; in updateConfiguration()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplV14.java | 213 final float originalFontScale = config.fontScale; in updateForNightMode() 219 config.fontScale = originalFontScale * 2; in updateForNightMode() 227 config.fontScale = originalFontScale; in updateForNightMode()
|
D | NotificationCompatImplBase.java | 442 float fontScale = ctx.getResources().getConfiguration().fontScale; in calculateTopPadding() local 443 float largeFactor = (constrain(fontScale, 1.0f, 1.3f) - 1f) / (1.3f - 1f); in calculateTopPadding()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 216 final float fontScale = getFontScale(); in notifyFontScaleChanged() local 219 listener.onFontScaleChanged(fontScale); in notifyFontScaleChanged() 558 public void onFontScaleChanged(float fontScale) {} in onFontScaleChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileView.java | 71 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale, in updateTopPadding()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | TaskRecord.java | 1542 config.fontScale = serviceConfig.fontScale; in calculateOverrideConfig() 1571 extracted.fontScale = config.fontScale; in extractOverrideConfig() 1607 mOverrideConfig.fontScale = globalConfig.fontScale; in sanitizeOverrideConfiguration()
|
D | ActivityRecord.java | 459 overrideConfig.fontScale = service.mConfiguration.fontScale; in scheduleConfigurationChanged()
|
D | ActivityManagerService.java | 18937 if (mConfiguration.fontScale != scaleFactor) { in updateFontScaleIfNeeded() 18939 configuration.fontScale = scaleFactor; in updateFontScaleIfNeeded()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 232 public void onFontScaleChanged(float fontScale) { 233 mClosedCaptionLayout.setFontScale(fontScale); 1440 public void setFontScale(float fontScale) { in setFontScale() argument
|
D | Cea708CaptionRenderer.java | 1351 public void setFontScale(float fontScale) { in setFontScale() argument 1356 windowLayout.setFontScale(fontScale); in setFontScale() 1729 public void setFontScale(float fontScale) { in setFontScale() argument 1730 mFontScale = fontScale; in setFontScale()
|
D | WebVttRenderer.java | 1509 public void onFontScaleChanged(float fontScale) { 1510 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | BaseStatusBar.java | 747 mFontScale = currentConfig.fontScale; in start() 948 final float fontScale = newConfig.fontScale; in onConfigurationChanged() local 950 if (density != mDensity || mFontScale != fontScale) { in onConfigurationChanged() 953 mFontScale = fontScale; in onConfigurationChanged()
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 2265 outConfig.fontScale = Settings.System.getFloatForUser( in adjustConfigurationForUser() 2267 if (outConfig.fontScale < 0) { in adjustConfigurationForUser() 2268 outConfig.fontScale = DEFAULT_FONT_SCALE; in adjustConfigurationForUser() 2296 inoutConfig.fontScale = 0; in clearConfiguration() 2317 return Settings.System.putFloatForUser(cr, FONT_SCALE, config.fontScale, userHandle) && in putConfigurationForUser()
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | activity-element.jd | 16 "navigation", "screenLayout", "fontScale", 269 <td>"{@code fontScale}"</td>
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 7500 config.fontScale = 0; in computeNewConfigurationLocked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 9166 field public float fontScale;
|
/frameworks/base/api/ |
D | current.txt | 10293 field public float fontScale;
|
D | system-current.txt | 10741 field public float fontScale;
|
D | test-current.txt | 10311 field public float fontScale;
|