Searched refs:fontWeightAdjustment (Results 1 – 8 of 8) sorted by relevance
75 public StyleSpan(@Typeface.Style int style, int fontWeightAdjustment) { in StyleSpan() argument77 mFontWeightAdjustment = fontWeightAdjustment; in StyleSpan()143 private static void apply(Paint paint, int style, int fontWeightAdjustment) { in apply() argument164 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()
352 public int fontWeightAdjustment; field in Configuration983 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 …]
132 return getResources().getConfiguration().fontWeightAdjustment > 100; in useBoldedVersion()
258 string.setSpan(new StyleSpan(Typeface.BOLD, res.getConfiguration().fontWeightAdjustment), in createOption()
4449 final int fontWeightAdjustment = in updateFontWeightAdjustmentIfNeeded() local4457 if (getGlobalConfiguration().fontWeightAdjustment == fontWeightAdjustment) { in updateFontWeightAdjustmentIfNeeded()4463 configuration.fontWeightAdjustment = fontWeightAdjustment; in updateFontWeightAdjustmentIfNeeded()
3881 outConfig.fontWeightAdjustment = Settings.Secure.getIntForUser( in adjustConfigurationForUser()3913 inoutConfig.fontWeightAdjustment = Configuration.FONT_WEIGHT_ADJUSTMENT_UNDEFINED; in clearConfiguration()
1672 mFontWeightAdjustment = getContext().getResources().getConfiguration().fontWeightAdjustment;4309 if (mFontWeightAdjustment != newConfig.fontWeightAdjustment) { in onConfigurationChanged()4310 mFontWeightAdjustment = newConfig.fontWeightAdjustment; in onConfigurationChanged()
13339 field public int fontWeightAdjustment;