Home
last modified time | relevance | path

Searched refs:FONT_WEIGHT_MAX (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/graphics/fonts/
DFontStyle.java103 public static final int FONT_WEIGHT_MAX = 1000; field in FontStyle
208 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()
DFont.java295 @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()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java493 final int weight = Math.min(FontStyle.FONT_WEIGHT_MAX, mTextFontWeight); in updateMeasureState()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java167 private @IntRange(from = 0, to = FontStyle.FONT_WEIGHT_MAX) int mWeight = 0;
/frameworks/base/core/java/android/widget/
DTextView.java2124 @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()