Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSpTexts.java43 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/
DConfiguration.java61 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 …]
DResourcesImpl.java386 mMetrics.scaledDensity = mMetrics.density * mConfiguration.fontScale; in updateConfiguration()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplV14.java213 final float originalFontScale = config.fontScale; in updateForNightMode()
219 config.fontScale = originalFontScale * 2; in updateForNightMode()
227 config.fontScale = originalFontScale; in updateForNightMode()
DNotificationCompatImplBase.java442 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/
DCaptioningManager.java216 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/
DQSTileView.java71 float largeFactor = (MathUtils.constrain(getResources().getConfiguration().fontScale, in updateTopPadding()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java1542 config.fontScale = serviceConfig.fontScale; in calculateOverrideConfig()
1571 extracted.fontScale = config.fontScale; in extractOverrideConfig()
1607 mOverrideConfig.fontScale = globalConfig.fontScale; in sanitizeOverrideConfiguration()
DActivityRecord.java459 overrideConfig.fontScale = service.mConfiguration.fontScale; in scheduleConfigurationChanged()
DActivityManagerService.java18937 if (mConfiguration.fontScale != scaleFactor) { in updateFontScaleIfNeeded()
18939 configuration.fontScale = scaleFactor; in updateFontScaleIfNeeded()
/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.java1509 public void onFontScaleChanged(float fontScale) {
1510 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBaseStatusBar.java747 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/
DSettings.java2265 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/
Dactivity-element.jd16 "navigation", "screenLayout", "fontScale",
269 <td>"{@code fontScale}"</td>
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7500 config.fontScale = 0; in computeNewConfigurationLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt9166 field public float fontScale;
/frameworks/base/api/
Dcurrent.txt10293 field public float fontScale;
Dsystem-current.txt10741 field public float fontScale;
Dtest-current.txt10311 field public float fontScale;