Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt30 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/
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.java99 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 …]
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.java332 newConfig.fontScale = 5; in testSetsRelaunchReason_NonResizeConfigChanges()
/frameworks/base/core/java/android/security/
DConfirmationPrompt.java221 float fontScale = Settings.System.getFloat(contentResolver, in getUiOptionsAsFlags() local
223 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.java3034 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/
DActivityTaskManagerService.java5237 values.fontScale, in updateGlobalConfigurationLocked()
5486 if (getGlobalConfiguration().fontScale == scaleFactor) { in updateFontScaleIfNeeded()
5492 configuration.fontScale = scaleFactor; in updateFontScaleIfNeeded()
/frameworks/base/cmds/statsd/src/
Datoms.proto1377 // 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/non-updatable-api/
Dcurrent.txt12292 field public float fontScale;
/frameworks/base/api/
Dcurrent.txt12292 field public float fontScale;