Searched refs:FONT_WEIGHT_MAX (Results 1 – 5 of 5) sorted by relevance
103 public static final int FONT_WEIGHT_MAX = 1000; field in FontStyle208 Preconditions.checkArgument(FONT_WEIGHT_MIN <= weight && weight <= FONT_WEIGHT_MAX, in FontStyle()209 "weight value must be [" + FONT_WEIGHT_MIN + ", " + FONT_WEIGHT_MAX + "]"); in FontStyle()
295 @IntRange(from = FontStyle.FONT_WEIGHT_MIN, to = FontStyle.FONT_WEIGHT_MAX) in setWeight()298 FontStyle.FONT_WEIGHT_MIN <= weight && weight <= FontStyle.FONT_WEIGHT_MAX); in setWeight()378 Math.min(FontStyle.FONT_WEIGHT_MAX, mWeight)); in build()
493 final int weight = Math.min(FontStyle.FONT_WEIGHT_MAX, mTextFontWeight); in updateMeasureState()
167 private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) int mWeight = 0;
2124 @IntRange(from = -1, to = FontStyle.FONT_WEIGHT_MAX) int weight) { in setTypefaceFromAttrs()2151 @IntRange(from = -1, to = FontStyle.FONT_WEIGHT_MAX) int weight) { in resolveStyleAndSetTypeface()2153 weight = Math.min(FontStyle.FONT_WEIGHT_MAX, weight); in resolveStyleAndSetTypeface()