/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 33 private var fontScale: Float = 0.toFloat() variable 42 fontScale = currentConfig.fontScale 65 val fontScale = newConfig.fontScale in onConfigurationChanged() constant 69 if (density != this.density || fontScale != this.fontScale || in onConfigurationChanged() 75 this.fontScale = fontScale in onConfigurationChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | ConfigurableTexts.java | 47 final float fontScale = res.getConfiguration().fontScale; in add() local 50 final int sp = (int)(px / fontScale / density); in add()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 98 public float fontScale; field in Configuration 909 fontScale = o.fontScale; in setTo() 941 sb.append(fontScale); in toString() 1110 protoOutputStream.write(FONT_SCALE, fontScale); in writeToProto() 1178 fontScale = protoInputStream.readFloat(FONT_SCALE); in readFromProto() 1351 fontScale = 1; in setToDefaults() 1381 fontScale = 0; in unset() 1399 if (delta.fontScale > 0 && fontScale != delta.fontScale) { in updateFrom() 1401 fontScale = delta.fontScale; in updateFrom() 1627 if ((compareUndefined || delta.fontScale > 0) && fontScale != delta.fontScale) { in diff() [all …]
|
D | ResourcesImpl.java | 443 (mConfiguration.fontScale != 0 ? mConfiguration.fontScale : 1.0f); in updateConfiguration()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ConfigurationContainerTests.java | 71 rootOverrideConfig.fontScale = 1.3f; in testConfigurationInit() 80 rootParentConfig.fontScale = 0.8f; in testConfigurationInit() 97 rootOverrideConfig.fontScale = 1.3f; in testConfigurationChangeOnAddRemove() 122 rootOverrideConfig2.fontScale = 1.1f; in testConfigurationChangeOnAddRemove() 143 rootOverrideConfig.fontScale = 1.3f; in testConfigurationChangePropagation()
|
D | DisplayContentTests.java | 269 newOverrideConfig.fontScale += 0.3; in testDisplayOverrideConfigUpdate() 288 newOverrideConfig.fontScale += 0.3; in testDefaultDisplayOverrideConfigUpdate() 295 assertEquals(newOverrideConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate() 301 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
|
D | ActivityRecordTests.java | 326 newConfig.fontScale = 5; in testSetsRelaunchReason_NonResizeConfigChanges()
|
/frameworks/base/core/java/android/security/ |
D | ConfirmationPrompt.java | 222 float fontScale = Settings.System.getFloat(contentResolver, in getUiOptionsAsFlags() local 224 if (fontScale > 1.0) { in getUiOptionsAsFlags()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 212 final float fontScale = getFontScale(); in notifyFontScaleChanged() local 215 listener.onFontScaleChanged(fontScale); in notifyFontScaleChanged() 555 public void onFontScaleChanged(float fontScale) {} in onFontScaleChanged() argument
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 36 config.fontScale = 0.3f; in config()
|
/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 | 1511 public void onFontScaleChanged(float fontScale) { 1512 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | UsageStatsDatabaseTest.java | 182 config1.fontScale = 3.3f; in populateIntervalStats()
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 3003 outConfig.fontScale = Settings.System.getFloatForUser( in adjustConfigurationForUser() 3005 if (outConfig.fontScale < 0) { in adjustConfigurationForUser() 3006 outConfig.fontScale = DEFAULT_FONT_SCALE; in adjustConfigurationForUser() 3034 inoutConfig.fontScale = 0; in clearConfiguration() 3055 return Settings.System.putFloatForUser(cr, FONT_SCALE, config.fontScale, userHandle) && in putConfigurationForUser()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5208 values.fontScale, in updateGlobalConfigurationLocked() 5457 if (getGlobalConfiguration().fontScale == scaleFactor) { in updateFontScaleIfNeeded() 5463 configuration.fontScale = scaleFactor; in updateFontScaleIfNeeded()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1323 // See: https://d.android.com/reference/android/content/res/Configuration.html#fontScale
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 9166 field public float fontScale;
|
/frameworks/base/api/ |
D | current.txt | 12275 field public float fontScale;
|