Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/style/
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()
/frameworks/base/core/java/android/content/res/
DConfiguration.java407 public int fontWeightAdjustment; field in Configuration
1117 fontWeightAdjustment = o.fontWeightAdjustment; in setTo()
1281 if (fontWeightAdjustment != FONT_WEIGHT_ADJUSTMENT_UNDEFINED) { in toString()
1283 sb.append(fontWeightAdjustment); in toString()
1327 protoOutputStream.write(FONT_WEIGHT_ADJUSTMENT, fontWeightAdjustment); in dumpDebug()
1493 fontWeightAdjustment = protoInputStream.readInt(FONT_WEIGHT_ADJUSTMENT); in readFromProto()
1593 fontWeightAdjustment = FONT_WEIGHT_ADJUSTMENT_UNDEFINED; in setToDefaults()
1792 if (delta.fontWeightAdjustment != FONT_WEIGHT_ADJUSTMENT_UNDEFINED in updateFrom()
1793 && delta.fontWeightAdjustment != fontWeightAdjustment) { in updateFrom()
1795 fontWeightAdjustment = delta.fontWeightAdjustment; in updateFrom()
[all …]
DStringBlock.java252 int fontWeightAdjustment = in applyStyles() local
253 application.getResources().getConfiguration().fontWeightAdjustment; in applyStyles()
254 buffer.setSpan(new StyleSpan(Typeface.BOLD, fontWeightAdjustment), in applyStyles()
/frameworks/base/core/java/android/text/
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()
/frameworks/base/tests/MultiUser/src/com/android/test/multiuser/
DMultiUserSettingsTests.java58 return mContext.getResources().getConfiguration().fontWeightAdjustment; in getGlobalFontWeight()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DAnimatableClockView.kt179 return resources.configuration.fontWeightAdjustment > 100 in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java308 string.setSpan(new StyleSpan(Typeface.BOLD, res.getConfiguration().fontWeightAdjustment), in createOption()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java4940 final int fontWeightAdjustment = in updateFontWeightAdjustmentIfNeeded() local
4948 if (getGlobalConfiguration().fontWeightAdjustment == fontWeightAdjustment) { in updateFontWeightAdjustmentIfNeeded()
4954 configuration.fontWeightAdjustment = fontWeightAdjustment; in updateFontWeightAdjustmentIfNeeded()
/frameworks/base/core/java/android/provider/
DSettings.java4613 outConfig.fontWeightAdjustment = Settings.Secure.getIntForUser( in adjustConfigurationForUser()
4658 inoutConfig.fontWeightAdjustment = Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED; in clearConfiguration()
/frameworks/base/core/java/android/widget/
DTextView.java1858 mFontWeightAdjustment = getContext().getResources().getConfiguration().fontWeightAdjustment;
4646 if (mFontWeightAdjustment != newConfig.fontWeightAdjustment) { in onConfigurationChanged()
4647 mFontWeightAdjustment = newConfig.fontWeightAdjustment; in onConfigurationChanged()
/frameworks/base/core/api/
Dcurrent.txt13872 field public int fontWeightAdjustment;