Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt33 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/
DConfigurableTexts.java47 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/
DConfiguration.java98 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 …]
DResourcesImpl.java443 (mConfiguration.fontScale != 0 ? mConfiguration.fontScale : 1.0f); in updateConfiguration()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DConfigurationContainerTests.java71 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()
DDisplayContentTests.java269 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()
DActivityRecordTests.java326 newConfig.fontScale = 5; in testSetsRelaunchReason_NonResizeConfigChanges()
/frameworks/base/core/java/android/security/
DConfirmationPrompt.java222 float fontScale = Settings.System.getFloat(contentResolver, in getUiOptionsAsFlags() local
224 if (fontScale > 1.0) { in getUiOptionsAsFlags()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java212 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/
DTestUtils.java36 config.fontScale = 0.3f; in config()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java232 public void onFontScaleChanged(float fontScale) {
233 mClosedCaptionLayout.setFontScale(fontScale);
1440 public void setFontScale(float fontScale) { in setFontScale() argument
DCea708CaptionRenderer.java1351 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()
DWebVttRenderer.java1511 public void onFontScaleChanged(float fontScale) {
1512 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java182 config1.fontScale = 3.3f; in populateIntervalStats()
/frameworks/base/core/java/android/provider/
DSettings.java3003 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/
DActivityTaskManagerService.java5208 values.fontScale, in updateGlobalConfigurationLocked()
5457 if (getGlobalConfiguration().fontScale == scaleFactor) { in updateFontScaleIfNeeded()
5463 configuration.fontScale = scaleFactor; in updateFontScaleIfNeeded()
/frameworks/base/cmds/statsd/src/
Datoms.proto1323 // See: https://d.android.com/reference/android/content/res/Configuration.html#fontScale
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt9166 field public float fontScale;
/frameworks/base/api/
Dcurrent.txt12275 field public float fontScale;