Home
last modified time | relevance | path

Searched refs:fontWeightAdjustment (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/core/java/android/text/style/
H A DStyleSpan.java75 public StyleSpan(@Typeface.Style int style, int fontWeightAdjustment) { in StyleSpan() argument
77 mFontWeightAdjustment = fontWeightAdjustment; in StyleSpan()
143 private static void apply(Paint paint, int style, int fontWeightAdjustment) { in apply() argument
164 if (fontWeightAdjustment != 0 in apply()
165 && fontWeightAdjustment != Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED) { in apply()
167 Math.max(tf.getWeight() + fontWeightAdjustment, FontStyle.FONT_WEIGHT_MIN), in apply()
/aosp12/frameworks/base/core/java/android/content/res/
H A DConfiguration.java352 public int fontWeightAdjustment; field in Configuration
983 fontWeightAdjustment = o.fontWeightAdjustment; in setTo()
1141 sb.append(fontWeightAdjustment); in toString()
1646 && delta.fontWeightAdjustment != fontWeightAdjustment) { in updateFrom()
1648 fontWeightAdjustment = delta.fontWeightAdjustment; in updateFrom()
1730 fontWeightAdjustment = delta.fontWeightAdjustment; in setTo()
1890 && fontWeightAdjustment != delta.fontWeightAdjustment) { in diff()
1986 dest.writeInt(fontWeightAdjustment); in writeToParcel()
2117 n = this.fontWeightAdjustment - that.fontWeightAdjustment; in compareTo()
2733 if (base.fontWeightAdjustment != change.fontWeightAdjustment) { in generateDelta()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DAnimatableClockView.java132 return getResources().getConfiguration().fontWeightAdjustment > 100; in useBoldedVersion()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationSnooze.java258 string.setSpan(new StyleSpan(Typeface.BOLD, res.getConfiguration().fontWeightAdjustment), in createOption()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityTaskManagerService.java4449 final int fontWeightAdjustment = in updateFontWeightAdjustmentIfNeeded() local
4457 if (getGlobalConfiguration().fontWeightAdjustment == fontWeightAdjustment) { in updateFontWeightAdjustmentIfNeeded()
4463 configuration.fontWeightAdjustment = fontWeightAdjustment; in updateFontWeightAdjustmentIfNeeded()
/aosp12/frameworks/base/core/java/android/provider/
H A DSettings.java3881 outConfig.fontWeightAdjustment = Settings.Secure.getIntForUser( in adjustConfigurationForUser()
3913 inoutConfig.fontWeightAdjustment = Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED; in clearConfiguration()
/aosp12/frameworks/base/core/java/android/widget/
H A DTextView.java1672 mFontWeightAdjustment = getContext().getResources().getConfiguration().fontWeightAdjustment;
4309 if (mFontWeightAdjustment != newConfig.fontWeightAdjustment) { in onConfigurationChanged()
4310 mFontWeightAdjustment = newConfig.fontWeightAdjustment; in onConfigurationChanged()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt13339 field public int fontWeightAdjustment;