Home
last modified time | relevance | path

Searched refs:intensity (Results 1 – 25 of 55) sorted by relevance

123

/expo/packages/expo-blur/android/src/main/java/expo/modules/blur/
H A DTintStyle.kt59 val intensity = blurRadius / 100 in toColorInt() constant
62 DARK -> ((255 * intensity * 0.69).toInt() shl 24) + (25 shl 16) + (25 shl 8) + 25 in toColorInt()
64 LIGHT -> ((255 * intensity * 0.78).toInt() shl 24) + (249 shl 16) + (249 shl 8) + 249 in toColorInt()
65 REGULAR -> ((255 * intensity * 0.82).toInt() shl 24) + (179 shl 16) + (179 shl 8) + 179 in toColorInt()
67 …SYSTEM_THIN_MATERIAL -> ((255 * intensity * 0.97).toInt() shl 24) + (199 shl 16) + (199 shl 8) + 1… in toColorInt()
68 …SYSTEM_CHROME_MATERIAL -> ((255 * intensity * 0.75).toInt() shl 24) + (255 shl 16) + (255 shl 8) +… in toColorInt()
71 …SYSTEM_THICK_MATERIAL -> ((255 * intensity * 0.97).toInt() shl 24) + (153 shl 16) + (153 shl 8) + … in toColorInt()
72 …SYSTEM_THICK_MATERIAL_DARK -> ((255 * intensity * 0.9).toInt() shl 24) + (37 shl 16) + (37 shl 8) … in toColorInt()
73 …SYSTEM_THIN_MATERIAL_DARK -> ((255 * intensity * 0.7).toInt() shl 24) + (37 shl 16) + (37 shl 8) +… in toColorInt()
75 …SYSTEM_CHROME_MATERIAL_DARK -> ((255 * intensity * 0.75).toInt() shl 24) + (0 shl 16) + (0 shl 8) … in toColorInt()
[all …]
H A DBlurModule.kt11 Prop("intensity") { view: ExpoBlurView, intensity: Float -> in <lambda>() method
12 view.setBlurRadius(intensity) in <lambda>()
/expo/packages/expo-blur/build/
H A DBlurView.web.js12 const { style, tint, intensity: standardIntensity } = this.props;
13 const intensity = nativeProps.style.intensity ?? standardIntensity;
14 const blurStyle = getBlurStyle({ intensity, tint }); field
21 const { tint = 'default', intensity = 50, style, ...props } = this.props;
22 const blurStyle = getBlurStyle({ tint, intensity });
38 function getBlurStyle({ intensity, tint }) { field
40 backgroundColor: getBackgroundColor(Math.min(intensity, 100), tint),
43 const blur = `saturate(180%) blur(${Math.min(intensity, 100) * 0.2}px)`;
H A DBlurView.js16 …const { tint = 'default', intensity = 50, blurReductionFactor = 4, style, children, ...props } = t…
18 …reateElement(NativeBlurView, { ref: this.blurViewRef, tint: tint, intensity: intensity, blurReduct… property
H A DgetBackgroundColor.js1 export default function getBackgroundColor(intensity, tint) { argument
2 const opacity = intensity / 100;
H A DBlurView.types.js.map1 …intensity of the blur effect.\n *\n * You can animate this property using `react-native-reanim…
H A DBlurView.web.js.map1 …intensity from the props, then create and apply new styles,\n * which create the blur based on t…
/expo/apps/native-component-list/src/screens/BlurView/
H A DuseLoopingAnimatedValue.ts5 const intensity = useMemo(() => new Animated.Value(fromValue), []); constant
22 Animated.timing(intensity, animateInConfig).start(() => {
23 Animated.timing(intensity, animateOutConfig).start(_animate);
25 }, [intensity]);
31 return intensity;
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/blur/
H A DBlurModuleUtils.kt4 val intensity = blurRadius / 100 in toColorInt() constant
7 "dark" -> ((255 * intensity * 0.69).toInt() shl 24) + (25 shl 16) + (25 shl 8) + 25 in toColorInt()
9 "light" -> ((255 * intensity * 0.78).toInt() shl 24) + (249 shl 16) + (249 shl 8) + 249 in toColorInt()
11 "default" -> ((255 * intensity * 0.3).toInt() shl 24) + (255 shl 16) + (255 shl 8) + 255 in toColorInt()
/expo/packages/expo-blur/src/
H A DBlurView.web.tsx12 * animation frame. We want to extract intensity from the props, then create and apply new styles,
13 * which create the blur based on the intensity and current tint.
16 const { style, tint, intensity: standardIntensity } = this.props;
17 const intensity = nativeProps.style.intensity ?? standardIntensity;
18 const blurStyle = getBlurStyle({ intensity, tint });
26 const { tint = 'default', intensity = 50, style, ...props } = this.props;
27 const blurStyle = getBlurStyle({ tint, intensity });
47 function getBlurStyle({ intensity, tint }): Record<string, string> {
49 backgroundColor: getBackgroundColor(Math.min(intensity, 100), tint),
53 const blur = `saturate(180%) blur(${Math.min(intensity, 100) * 0.2}px)`;
H A DgetBackgroundColor.ts3 export default function getBackgroundColor(intensity: number, tint: BlurTint): string {
4 const opacity = intensity / 100;
H A DBlurView.tsx23 intensity = 50,
34 intensity={intensity}
/expo/ios/versioned/sdk48/ExpoBlur/
H A DBlurViewModule.swift14 Prop("intensity") { (view, intensity: Double) in in definition()
15 view.setIntensity(intensity / 100) in definition()
26 if let intensity = props["intensity"] as? Double { in definition() variable
27 view.setIntensity(intensity / 100) in definition()
H A DBlurView.swift21 public func setIntensity(_ intensity: Double) { in setIntensity()
22 blurEffectView.intensity = intensity in setIntensity()
/expo/packages/expo-blur/ios/
H A DBlurView.swift21 public func setIntensity(_ intensity: Double) { in setIntensity()
22 blurEffectView.intensity = intensity in setIntensity()
H A DBlurViewModule.swift14 Prop("intensity") { (view, intensity: Double) in in definition()
15 view.setIntensity(intensity / 100) in definition()
H A DBlurEffectView.swift11 var intensity: Double = 0.5 { variable
47 effect = intensity > 0 ? visualEffect : nil in draw()
56 animator?.fractionComplete = CGFloat(intensity) in draw()
/expo/ios/versioned/sdk49/ExpoBlur/
H A DBlurView.swift21 public func setIntensity(_ intensity: Double) { in setIntensity()
22 blurEffectView.intensity = intensity in setIntensity()
H A DBlurViewModule.swift14 Prop("intensity") { (view, intensity: Double) in in definition()
15 view.setIntensity(intensity / 100) in definition()
H A DBlurEffectView.swift10 var intensity: Double = 0.5 { variable
47 effect = intensity > 0 ? visualEffect : nil in draw()
56 animator?.fractionComplete = CGFloat(intensity) in draw()
/expo/ios/versioned/sdk47/EXBlur/EXBlur/
H A DBlurView.swift28 public func setIntensity(_ intensity: Double) { in setIntensity()
29 blurEffectView.intensity = intensity in setIntensity()
/expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/GoogleMaps/
H A DABI48_0_0AIRGoogleMapHeatmap.m27 float intensity = 1.0;
29 intensity = [ABI48_0_0RCTConvert float:points[i][@"weight"]];
31 [w addObject:[[GMUWeightedLatLng alloc] initWithCoordinate:coord intensity:intensity]];
/expo/ios/Exponent/Versioned/Core/Api/Components/GoogleMaps/
H A DAIRGoogleMapHeatmap.m27 float intensity = 1.0;
29 intensity = [RCTConvert float:points[i][@"weight"]];
31 [w addObject:[[GMUWeightedLatLng alloc] initWithCoordinate:coord intensity:intensity]];
/expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/Api/Components/GoogleMaps/
H A DABI49_0_0AIRGoogleMapHeatmap.m27 float intensity = 1.0;
29 intensity = [ABI49_0_0RCTConvert float:points[i][@"weight"]];
31 [w addObject:[[GMUWeightedLatLng alloc] initWithCoordinate:coord intensity:intensity]];
/expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Components/GoogleMaps/
H A DABI47_0_0AIRGoogleMapHeatmap.m27 float intensity = 1.0;
29 intensity = [ABI47_0_0RCTConvert float:points[i][@"weight"]];
31 [w addObject:[[GMUWeightedLatLng alloc] initWithCoordinate:coord intensity:intensity]];

123