Home
last modified time | relevance | path

Searched refs:absoluteFontWeight (Results 1 – 20 of 20) sorted by relevance

/expo/android/vendored/unversioned/react-native-svg/android/src/main/java/com/horcrux/svg/
H A DFontData.java33 static FontWeight nearestFontWeight(int absoluteFontWeight) { in nearestFontWeight() argument
34 return WEIGHTS[Math.round(absoluteFontWeight / 100f)]; in nearestFontWeight()
43 return bolder(parent.absoluteFontWeight); in from()
45 return lighter(parent.absoluteFontWeight); in from()
98 int absoluteFontWeight; field in FontData
120 absoluteFontWeight = AbsoluteFontWeight.normal; in FontData()
147 absoluteFontWeight = parent.absoluteFontWeight; in setInheritedWeight()
154 absoluteFontWeight = (int) weight; in handleNumericWeight()
155 fontWeight = AbsoluteFontWeight.nearestFontWeight(absoluteFontWeight); in handleNumericWeight()
177 absoluteFontWeight = AbsoluteFontWeight.from(FontWeight.get(string), parent); in FontData()
[all …]
H A DTSpanView.java311 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in applySpacingAndFeatures()
491 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in getLinePath()
1128 boolean isBold = font.fontWeight == FontWeight.Bold || font.absoluteFontWeight >= 550; in applyTextPropertiesToPaint()
1143 int weight = font.absoluteFontWeight; in applyTextPropertiesToPaint()
/expo/android/vendored/sdk47/react-native-svg/android/src/main/java/abi47_0_0/com/horcrux/svg/
H A DFontData.java33 static FontWeight nearestFontWeight(int absoluteFontWeight) { in nearestFontWeight() argument
34 return WEIGHTS[Math.round(absoluteFontWeight / 100f)]; in nearestFontWeight()
43 return bolder(parent.absoluteFontWeight); in from()
45 return lighter(parent.absoluteFontWeight); in from()
98 int absoluteFontWeight; field in FontData
120 absoluteFontWeight = AbsoluteFontWeight.normal; in FontData()
147 absoluteFontWeight = parent.absoluteFontWeight; in setInheritedWeight()
154 absoluteFontWeight = (int) weight; in handleNumericWeight()
155 fontWeight = AbsoluteFontWeight.nearestFontWeight(absoluteFontWeight); in handleNumericWeight()
177 absoluteFontWeight = AbsoluteFontWeight.from(FontWeight.get(string), parent); in FontData()
[all …]
H A DTSpanView.java311 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in applySpacingAndFeatures()
491 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in getLinePath()
1128 boolean isBold = font.fontWeight == FontWeight.Bold || font.absoluteFontWeight >= 550; in applyTextPropertiesToPaint()
1143 int weight = font.absoluteFontWeight; in applyTextPropertiesToPaint()
/expo/android/vendored/sdk48/react-native-svg/android/src/main/java/abi48_0_0/com/horcrux/svg/
H A DFontData.java33 static FontWeight nearestFontWeight(int absoluteFontWeight) { in nearestFontWeight() argument
34 return WEIGHTS[Math.round(absoluteFontWeight / 100f)]; in nearestFontWeight()
43 return bolder(parent.absoluteFontWeight); in from()
45 return lighter(parent.absoluteFontWeight); in from()
98 int absoluteFontWeight; field in FontData
120 absoluteFontWeight = AbsoluteFontWeight.normal; in FontData()
147 absoluteFontWeight = parent.absoluteFontWeight; in setInheritedWeight()
154 absoluteFontWeight = (int) weight; in handleNumericWeight()
155 fontWeight = AbsoluteFontWeight.nearestFontWeight(absoluteFontWeight); in handleNumericWeight()
177 absoluteFontWeight = AbsoluteFontWeight.from(FontWeight.get(string), parent); in FontData()
[all …]
H A DTSpanView.java311 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in applySpacingAndFeatures()
491 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in getLinePath()
1128 boolean isBold = font.fontWeight == FontWeight.Bold || font.absoluteFontWeight >= 550; in applyTextPropertiesToPaint()
1143 int weight = font.absoluteFontWeight; in applyTextPropertiesToPaint()
/expo/android/vendored/sdk49/react-native-svg/android/src/main/java/abi49_0_0/com/horcrux/svg/
H A DFontData.java33 static FontWeight nearestFontWeight(int absoluteFontWeight) { in nearestFontWeight() argument
34 return WEIGHTS[Math.round(absoluteFontWeight / 100f)]; in nearestFontWeight()
43 return bolder(parent.absoluteFontWeight); in from()
45 return lighter(parent.absoluteFontWeight); in from()
98 int absoluteFontWeight; field in FontData
120 absoluteFontWeight = AbsoluteFontWeight.normal; in FontData()
147 absoluteFontWeight = parent.absoluteFontWeight; in setInheritedWeight()
154 absoluteFontWeight = (int) weight; in handleNumericWeight()
155 fontWeight = AbsoluteFontWeight.nearestFontWeight(absoluteFontWeight); in handleNumericWeight()
177 absoluteFontWeight = AbsoluteFontWeight.from(FontWeight.get(string), parent); in FontData()
[all …]
H A DTSpanView.java311 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in applySpacingAndFeatures()
491 fontWeightTag + font.absoluteFontWeight + font.fontVariationSettings); in getLinePath()
1128 boolean isBold = font.fontWeight == FontWeight.Bold || font.absoluteFontWeight >= 550; in applyTextPropertiesToPaint()
1143 int weight = font.absoluteFontWeight; in applyTextPropertiesToPaint()
/expo/ios/vendored/sdk47/react-native-svg/apple/Text/
H A DABI47_0_0RNSVGFontData.mm34 self->absoluteFontWeight = 400;
56 absoluteFontWeight = parent->absoluteFontWeight;
60 ABI47_0_0RNSVGFontWeight ABI47_0_0nearestFontWeight(int absoluteFontWeight)
62 return ABI47_0_0RNSVGFontWeights[(int)round(absoluteFontWeight / 100.0)];
69 absoluteFontWeight = (int)roundWeight;
70 fontWeight = ABI47_0_0nearestFontWeight(absoluteFontWeight);
80 return ABI47_0_0bolder(parent->absoluteFontWeight);
82 return ABI47_0_0lighter(parent->absoluteFontWeight);
140 … data->absoluteFontWeight = ABI47_0_0AbsoluteFontWeight((ABI47_0_0RNSVGFontWeight)fw, parent);
141 data->fontWeight = ABI47_0_0nearestFontWeight(data->absoluteFontWeight);
H A DABI47_0_0RNSVGFontData.h16 int absoluteFontWeight; variable
H A DABI47_0_0RNSVGGlyphContext.mm129 double weight = topFont_->absoluteFontWeight;
/expo/ios/vendored/sdk49/react-native-svg/apple/Text/
H A DABI49_0_0RNSVGFontData.mm34 self->absoluteFontWeight = 400;
56 absoluteFontWeight = parent->absoluteFontWeight;
60 ABI49_0_0RNSVGFontWeight ABI49_0_0nearestFontWeight(int absoluteFontWeight)
62 return ABI49_0_0RNSVGFontWeights[(int)round(absoluteFontWeight / 100.0)];
69 absoluteFontWeight = (int)roundWeight;
70 fontWeight = ABI49_0_0nearestFontWeight(absoluteFontWeight);
80 return ABI49_0_0bolder(parent->absoluteFontWeight);
82 return ABI49_0_0lighter(parent->absoluteFontWeight);
140 … data->absoluteFontWeight = ABI49_0_0AbsoluteFontWeight((ABI49_0_0RNSVGFontWeight)fw, parent);
141 data->fontWeight = ABI49_0_0nearestFontWeight(data->absoluteFontWeight);
H A DABI49_0_0RNSVGFontData.h16 int absoluteFontWeight; variable
H A DABI49_0_0RNSVGGlyphContext.mm129 double weight = topFont_->absoluteFontWeight;
/expo/ios/vendored/sdk48/react-native-svg/apple/Text/
H A DABI48_0_0RNSVGFontData.mm34 self->absoluteFontWeight = 400;
56 absoluteFontWeight = parent->absoluteFontWeight;
60 ABI48_0_0RNSVGFontWeight ABI48_0_0nearestFontWeight(int absoluteFontWeight)
62 return ABI48_0_0RNSVGFontWeights[(int)round(absoluteFontWeight / 100.0)];
69 absoluteFontWeight = (int)roundWeight;
70 fontWeight = ABI48_0_0nearestFontWeight(absoluteFontWeight);
80 return ABI48_0_0bolder(parent->absoluteFontWeight);
82 return ABI48_0_0lighter(parent->absoluteFontWeight);
140 … data->absoluteFontWeight = ABI48_0_0AbsoluteFontWeight((ABI48_0_0RNSVGFontWeight)fw, parent);
141 data->fontWeight = ABI48_0_0nearestFontWeight(data->absoluteFontWeight);
H A DABI48_0_0RNSVGFontData.h16 int absoluteFontWeight; variable
H A DABI48_0_0RNSVGGlyphContext.mm129 double weight = topFont_->absoluteFontWeight;
/expo/ios/vendored/unversioned/react-native-svg/apple/Text/
H A DRNSVGFontData.mm34 self->absoluteFontWeight = 400;
56 absoluteFontWeight = parent->absoluteFontWeight;
60 RNSVGFontWeight nearestFontWeight(int absoluteFontWeight)
62 return RNSVGFontWeights[(int)round(absoluteFontWeight / 100.0)];
69 absoluteFontWeight = (int)roundWeight;
70 fontWeight = nearestFontWeight(absoluteFontWeight);
80 return bolder(parent->absoluteFontWeight);
82 return lighter(parent->absoluteFontWeight);
140 data->absoluteFontWeight = AbsoluteFontWeight((RNSVGFontWeight)fw, parent);
141 data->fontWeight = nearestFontWeight(data->absoluteFontWeight);
H A DRNSVGFontData.h16 int absoluteFontWeight; variable
H A DRNSVGGlyphContext.mm129 double weight = topFont_->absoluteFontWeight;