/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 30 private var fontScale: Float = 0.toFloat() variable 39 fontScale = currentConfig.fontScale 62 val fontScale = newConfig.fontScale in onConfigurationChanged() constant 66 if (density != this.density || fontScale != this.fontScale || in onConfigurationChanged() 72 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 | 99 public float fontScale; field in Configuration 911 fontScale = o.fontScale; in setTo() 943 sb.append(fontScale); in toString() 1112 protoOutputStream.write(FONT_SCALE, fontScale); in writeToProto() 1180 fontScale = protoInputStream.readFloat(FONT_SCALE); in readFromProto() 1369 fontScale = 1; in setToDefaults() 1399 fontScale = 0; in unset() 1417 if (delta.fontScale > 0 && fontScale != delta.fontScale) { in updateFrom() 1419 fontScale = delta.fontScale; in updateFrom() 1645 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 | 332 newConfig.fontScale = 5; in testSetsRelaunchReason_NonResizeConfigChanges()
|
/frameworks/base/core/java/android/security/ |
D | ConfirmationPrompt.java | 221 float fontScale = Settings.System.getFloat(contentResolver, in getUiOptionsAsFlags() local 223 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 | 3034 outConfig.fontScale = Settings.System.getFloatForUser( in adjustConfigurationForUser() 3036 if (outConfig.fontScale < 0) { in adjustConfigurationForUser() 3037 outConfig.fontScale = DEFAULT_FONT_SCALE; in adjustConfigurationForUser() 3065 inoutConfig.fontScale = 0; in clearConfiguration() 3086 return Settings.System.putFloatForUser(cr, FONT_SCALE, config.fontScale, userHandle) && in putConfigurationForUser()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5237 values.fontScale, in updateGlobalConfigurationLocked() 5486 if (getGlobalConfiguration().fontScale == scaleFactor) { in updateFontScaleIfNeeded() 5492 configuration.fontScale = scaleFactor; in updateFontScaleIfNeeded()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1377 // 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/non-updatable-api/ |
D | current.txt | 12292 field public float fontScale;
|
/frameworks/base/api/ |
D | current.txt | 12292 field public float fontScale;
|