| /expo/packages/expo-image-manipulator/src/actions/ |
| H A D | ResizeAction.web.ts | 43 let weight = 0; 67 weight = 2 * w * w * w - 3 * w * w + 1; 70 gx_a += weight * data[xPosition + 3]; 71 weightsAlpha += weight; 74 weight = (weight * data[xPosition + 3]) / 250; 76 gx_r += weight * data[xPosition]; 77 gx_g += weight * data[xPosition + 1]; 78 gx_b += weight * data[xPosition + 2]; 79 weights += weight;
|
| /expo/packages/expo-image-manipulator/build/actions/ |
| H A D | ResizeAction.web.js | 31 let weight = 0; 55 weight = 2 * w * w * w - 3 * w * w + 1; 58 gx_a += weight * data[xPosition + 3]; 59 weightsAlpha += weight; 62 weight = (weight * data[xPosition + 3]) / 250; 64 gx_r += weight * data[xPosition]; 65 gx_g += weight * data[xPosition + 1]; 66 gx_b += weight * data[xPosition + 2]; 67 weights += weight;
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/ios/ |
| H A D | ABI48_0_0RCTFontUtils.mm | 23 defaultFontProperties.weight = UIFontWeightRegular; 38 …fontProperties.weight = !isnan(fontProperties.weight) ? fontProperties.weight : baseFontProperties… 75 …ing *cacheKey = [NSString stringWithFormat:@"%.1f/%.2f", effectiveFontSize, fontProperties.weight]; 87 font = [UIFont systemFontOfSize:effectiveFontSize weight:fontProperties.weight]; 130 font = [UIFont systemFontOfSize:effectiveFontSize weight:fontProperties.weight]; 133 // Get the closest font that matches the given weight for the fontFamily 143 if (ABS(testWeight - fontProperties.weight) < ABS(closestWeight - fontProperties.weight)) {
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/ |
| H A D | ABI49_0_0RCTFontUtils.mm | 23 defaultFontProperties.weight = UIFontWeightRegular; 38 …fontProperties.weight = !isnan(fontProperties.weight) ? fontProperties.weight : baseFontProperties… 75 …ing *cacheKey = [NSString stringWithFormat:@"%.1f/%.2f", effectiveFontSize, fontProperties.weight]; 87 font = [UIFont systemFontOfSize:effectiveFontSize weight:fontProperties.weight]; 130 font = [UIFont systemFontOfSize:effectiveFontSize weight:fontProperties.weight]; 133 // Get the closest font that matches the given weight for the fontFamily 143 if (ABS(testWeight - fontProperties.weight) < ABS(closestWeight - fontProperties.weight)) {
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/ios/ |
| H A D | ABI47_0_0RCTFontUtils.mm | 23 defaultFontProperties.weight = UIFontWeightRegular; 38 …fontProperties.weight = !isnan(fontProperties.weight) ? fontProperties.weight : baseFontProperties… 75 …ing *cacheKey = [NSString stringWithFormat:@"%.1f/%.2f", effectiveFontSize, fontProperties.weight]; 87 font = [UIFont systemFontOfSize:effectiveFontSize weight:fontProperties.weight]; 130 font = [UIFont systemFontOfSize:effectiveFontSize weight:fontProperties.weight]; 133 // Get the closest font that matches the given weight for the fontFamily 143 if (ABS(testWeight - fontProperties.weight) < ABS(closestWeight - fontProperties.weight)) {
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Services/ |
| H A D | ABI49_0_0EXReactFontManager.m | 21 weight:(NSString *)weight 28 …font = [fontProcessor updateFont:uiFont withFamily:family size:size weight:weight style:style vari… 34 …return [self ABI49_0_0EXUpdateFont:uiFont withFamily:family size:size weight:weight style:style va… 43 …* providing an instance of UIFont for given (family, size, weight, style, variant, scaleMultiplier… 46 …* - add a new class method to ABI49_0_0RCTFont, `ABI49_0_0EXUpdateFont:withFamily:size:weight:sty… 90 SEL rtcUpdate = @selector(updateFont:withFamily:size:weight:style:variant:scaleMultiplier:); 91 …SEL exUpdate = @selector(ABI49_0_0EXUpdateFont:withFamily:size:weight:style:variant:scaleMultiplie…
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Services/ |
| H A D | ABI47_0_0EXReactFontManager.m | 21 weight:(NSString *)weight 28 …font = [fontProcessor updateFont:uiFont withFamily:family size:size weight:weight style:style vari… 34 …return [self ABI47_0_0EXUpdateFont:uiFont withFamily:family size:size weight:weight style:style va… 43 …* providing an instance of UIFont for given (family, size, weight, style, variant, scaleMultiplier… 46 …* - add a new class method to ABI47_0_0RCTFont, `ABI47_0_0EXUpdateFont:withFamily:size:weight:sty… 90 SEL rtcUpdate = @selector(updateFont:withFamily:size:weight:style:variant:scaleMultiplier:); 91 …SEL exUpdate = @selector(ABI47_0_0EXUpdateFont:withFamily:size:weight:style:variant:scaleMultiplie…
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Services/ |
| H A D | ABI48_0_0EXReactFontManager.m | 21 weight:(NSString *)weight 28 …font = [fontProcessor updateFont:uiFont withFamily:family size:size weight:weight style:style vari… 34 …return [self ABI48_0_0EXUpdateFont:uiFont withFamily:family size:size weight:weight style:style va… 43 …* providing an instance of UIFont for given (family, size, weight, style, variant, scaleMultiplier… 46 …* - add a new class method to ABI48_0_0RCTFont, `ABI48_0_0EXUpdateFont:withFamily:size:weight:sty… 90 SEL rtcUpdate = @selector(updateFont:withFamily:size:weight:style:variant:scaleMultiplier:); 91 …SEL exUpdate = @selector(ABI48_0_0EXUpdateFont:withFamily:size:weight:style:variant:scaleMultiplie…
|
| /expo/android/vendored/sdk47/react-native-svg/android/src/main/java/abi47_0_0/com/horcrux/svg/ |
| H A D | TextProperties.java | 115 private final String weight; field in TextProperties.FontWeight 117 FontWeight(String weight) { in FontWeight() argument 118 this.weight = weight; in FontWeight() 133 weightToEnum.put(en.weight, en); in weightToEnum.put() argument 140 return weight; in toString()
|
| /expo/android/vendored/sdk49/react-native-svg/android/src/main/java/abi49_0_0/com/horcrux/svg/ |
| H A D | TextProperties.java | 115 private final String weight; field in TextProperties.FontWeight 117 FontWeight(String weight) { in FontWeight() argument 118 this.weight = weight; in FontWeight() 133 weightToEnum.put(en.weight, en); in weightToEnum.put() argument 140 return weight; in toString()
|
| /expo/android/vendored/sdk48/react-native-svg/android/src/main/java/abi48_0_0/com/horcrux/svg/ |
| H A D | TextProperties.java | 115 private final String weight; field in TextProperties.FontWeight 117 FontWeight(String weight) { in FontWeight() argument 118 this.weight = weight; in FontWeight() 133 weightToEnum.put(en.weight, en); in weightToEnum.put() argument 140 return weight; in toString()
|
| /expo/android/vendored/unversioned/react-native-svg/android/src/main/java/com/horcrux/svg/ |
| H A D | TextProperties.java | 115 private final String weight; field in TextProperties.FontWeight 117 FontWeight(String weight) { in FontWeight() argument 118 this.weight = weight; in FontWeight() 133 weightToEnum.put(en.weight, en); in weightToEnum.put() argument 140 return weight; in toString()
|
| /expo/packages/expo-modules-core/ios/Services/ |
| H A D | EXReactFontManager.m | 22 …UIFont *font = [fontProcessor updateFont:nil withFamily:name size:size weight:nil style:nil varian… 37 weight:(NSString *)weight 44 …font = [fontProcessor updateFont:uiFont withFamily:family size:size weight:weight style:style vari… 49 …return [self EXUpdateFont:uiFont withFamily:family size:size weight:weight style:style variant:var… 58 …* providing an instance of UIFont for given (family, size, weight, style, variant, scaleMultiplier… 61 …* - add a new class method to RCTFont, `EXUpdateFont:withFamily:size:weight:style:variant:scaleMu… 113 SEL rtcUpdate = @selector(updateFont:withFamily:size:weight:style:variant:scaleMultiplier:); 114 SEL exUpdate = @selector(EXUpdateFont:withFamily:size:weight:style:variant:scaleMultiplier:);
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Views/ |
| H A D | ABI47_0_0RCTFont.mm | 130 static UIFont *cachedSystemFont(CGFloat size, ABI47_0_0RCTFontWeight weight) 136 ABI47_0_0RCTFontWeight weight; 139 CacheKey key{size, weight}; 148 font = [UIFont systemFontOfSize:size weight:weight]; 272 weight:(NSString *)weight 308 fontWeight = weight ? [ABI47_0_0RCTConvert ABI47_0_0RCTFontWeight:weight] : fontWeight; 342 fontWeight = weight ? fontWeight : weightOfFont(font); 348 if ([UIFont respondsToSelector:@selector(systemFontOfSize:weight:)]) { 349 font = [UIFont systemFontOfSize:fontSize weight:fontWeight]; 401 + (UIFont *)updateFont:(UIFont *)font withWeight:(NSString *)weight [all …]
|
| H A D | ABI47_0_0RCTFont.h | 33 weight:(NSString *)weight 40 + (UIFont *)updateFont:(UIFont *)font withWeight:(NSString *)weight;
|
| /expo/docs/ui/components/CommandMenu/Items/ |
| H A D | RNDocsItem.tsx | 27 <CALLOUT weight="medium" {...getHighlightHTML(item, 'lvl4')} /> 38 <CALLOUT weight="medium" {...getHighlightHTML(item, 'lvl3')} /> 48 <CALLOUT weight="medium" {...getHighlightHTML(item, 'lvl2')} /> 57 <CALLOUT weight="medium" {...getHighlightHTML(item, 'lvl1')} /> 62 <CALLOUT weight="medium" {...getHighlightHTML(item, 'lvl0')} />
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Views/ |
| H A D | ABI48_0_0RCTFont.h | 33 weight:(NSString *)weight 40 + (UIFont *)updateFont:(UIFont *)font withWeight:(NSString *)weight;
|
| H A D | ABI48_0_0RCTFont.mm | 130 static UIFont *cachedSystemFont(CGFloat size, ABI48_0_0RCTFontWeight weight) 136 ABI48_0_0RCTFontWeight weight; 139 CacheKey key{size, weight}; 148 font = [UIFont systemFontOfSize:size weight:weight]; 352 weight:(NSString *)weight 388 fontWeight = weight ? [ABI48_0_0RCTConvert ABI48_0_0RCTFontWeight:weight] : fontWeight; 422 fontWeight = weight ? fontWeight : weightOfFont(font); 428 if ([UIFont respondsToSelector:@selector(systemFontOfSize:weight:)]) { 429 font = [UIFont systemFontOfSize:fontSize weight:fontWeight]; 481 + (UIFont *)updateFont:(UIFont *)font withWeight:(NSString *)weight [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Views/ |
| H A D | ABI49_0_0RCTFont.h | 33 weight:(NSString *)weight 40 + (UIFont *)updateFont:(UIFont *)font withWeight:(NSString *)weight;
|
| H A D | ABI49_0_0RCTFont.mm | 130 static UIFont *cachedSystemFont(CGFloat size, ABI49_0_0RCTFontWeight weight) 136 ABI49_0_0RCTFontWeight weight; 139 CacheKey key{size, weight}; 148 font = [UIFont systemFontOfSize:size weight:weight]; 352 weight:(NSString *)weight 388 fontWeight = weight ? [ABI49_0_0RCTConvert ABI49_0_0RCTFontWeight:weight] : fontWeight; 422 fontWeight = weight ? fontWeight : weightOfFont(font); 428 if ([UIFont respondsToSelector:@selector(systemFontOfSize:weight:)]) { 429 font = [UIFont systemFontOfSize:fontSize weight:fontWeight]; 481 + (UIFont *)updateFont:(UIFont *)font withWeight:(NSString *)weight [all …]
|
| /expo/packages/expo-modules-core/ios/Interfaces/Font/ |
| H A D | EXFontProcessorInterface.h | 10 weight:(NSString *)weight
|
| /expo/ios/versioned/sdk47/ExpoModulesCore/ios/Interfaces/Font/ |
| H A D | ABI47_0_0EXFontProcessorInterface.h | 10 weight:(NSString *)weight
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Interfaces/Font/ |
| H A D | ABI49_0_0EXFontProcessorInterface.h | 10 weight:(NSString *)weight
|
| /expo/ios/versioned/sdk48/ExpoModulesCore/ios/Interfaces/Font/ |
| H A D | ABI48_0_0EXFontProcessorInterface.h | 10 weight:(NSString *)weight
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkFontStyle.h | 48 constexpr SkFontStyle(int weight, int width, Slant slant) : fValue( in SkFontStyle() argument 49 (SkTPin<int>(weight, kInvisible_Weight, kExtraBlack_Weight)) + in SkFontStyle() 60 int weight() const { return fValue & 0xFFFF; } in weight() function
|