Home
last modified time | relevance | path

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

/aosp14/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()
145 private static void apply(Paint paint, int style, int fontWeightAdjustment) { in apply() argument
166 if (fontWeightAdjustment != 0 in apply()
167 && fontWeightAdjustment != Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED) { in apply()
169 Math.max(tf.getWeight() + fontWeightAdjustment, FontStyle.FONT_WEIGHT_MIN), in apply()
/aosp14/frameworks/base/core/java/android/content/res/
H A DConfiguration.java400 public int fontWeightAdjustment; field in Configuration
1096 fontWeightAdjustment = o.fontWeightAdjustment; in setTo()
1262 sb.append(fontWeightAdjustment); in toString()
1772 && delta.fontWeightAdjustment != fontWeightAdjustment) { in updateFrom()
1774 fontWeightAdjustment = delta.fontWeightAdjustment; in updateFrom()
1860 fontWeightAdjustment = delta.fontWeightAdjustment; in setTo()
1997 && fontWeightAdjustment != delta.fontWeightAdjustment) { in diff()
2097 dest.writeInt(fontWeightAdjustment); in writeToParcel()
2232 n = this.fontWeightAdjustment - that.fontWeightAdjustment; in compareTo()
2895 if (base.fontWeightAdjustment != change.fontWeightAdjustment) { in generateDelta()
[all …]
H A DStringBlock.java244 int fontWeightAdjustment = in applyStyles() local
245 application.getResources().getConfiguration().fontWeightAdjustment; in applyStyles()
246 buffer.setSpan(new StyleSpan(Typeface.BOLD, fontWeightAdjustment), in applyStyles()
/aosp14/frameworks/base/core/java/android/text/
H A DHtml.java862 int fontWeightAdjustment = in handleEndTag() local
863 application.getResources().getConfiguration().fontWeightAdjustment; in handleEndTag()
865 fontWeightAdjustment)); in handleEndTag()
868 int fontWeightAdjustment = in handleEndTag() local
869 application.getResources().getConfiguration().fontWeightAdjustment; in handleEndTag()
871 fontWeightAdjustment)); in handleEndTag()
1040 int fontWeightAdjustment = in endHeading() local
1041 application.getResources().getConfiguration().fontWeightAdjustment; in endHeading()
1043 new StyleSpan(Typeface.BOLD, fontWeightAdjustment)); in endHeading()
/aosp14/frameworks/base/tests/MultiUser/src/com/android/test/multiuser/
H A DMultiUserSettingsTests.java58 return mContext.getResources().getConfiguration().fontWeightAdjustment; in getGlobalFontWeight()
/aosp14/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
H A DAnimatableClockView.kt146 return resources.configuration.fontWeightAdjustment > 100
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationSnooze.java260 string.setSpan(new StyleSpan(Typeface.BOLD, res.getConfiguration().fontWeightAdjustment), in createOption()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityTaskManagerService.java4750 final int fontWeightAdjustment = in updateFontWeightAdjustmentIfNeeded() local
4758 if (getGlobalConfiguration().fontWeightAdjustment == fontWeightAdjustment) { in updateFontWeightAdjustmentIfNeeded()
4764 configuration.fontWeightAdjustment = fontWeightAdjustment; in updateFontWeightAdjustmentIfNeeded()
/aosp14/frameworks/base/core/java/android/provider/
H A DSettings.java4287 outConfig.fontWeightAdjustment = Settings.Secure.getIntForUser( in adjustConfigurationForUser()
4319 inoutConfig.fontWeightAdjustment = Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED; in clearConfiguration()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextView.java1811 mFontWeightAdjustment = getContext().getResources().getConfiguration().fontWeightAdjustment;
4568 if (mFontWeightAdjustment != newConfig.fontWeightAdjustment) { in onConfigurationChanged()
4569 mFontWeightAdjustment = newConfig.fontWeightAdjustment; in onConfigurationChanged()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt13388 field public int fontWeightAdjustment;