| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/safeareacontext/ |
| H A D | SerializationUtils.kt | 7 fun edgeInsetsToJsMap(insets: EdgeInsets): WritableMap { in edgeInsetsToJsMap() 9 insetsMap.putDouble("top", PixelUtil.toDIPFromPixel(insets.top).toDouble()) in edgeInsetsToJsMap() 10 insetsMap.putDouble("right", PixelUtil.toDIPFromPixel(insets.right).toDouble()) in edgeInsetsToJsMap() 11 insetsMap.putDouble("bottom", PixelUtil.toDIPFromPixel(insets.bottom).toDouble()) in edgeInsetsToJsMap() 12 insetsMap.putDouble("left", PixelUtil.toDIPFromPixel(insets.left).toDouble()) in edgeInsetsToJsMap() 16 fun edgeInsetsToJavaMap(insets: EdgeInsets): Map<String, Float> { in edgeInsetsToJavaMap() 18 "top" to PixelUtil.toDIPFromPixel(insets.top), in edgeInsetsToJavaMap() 19 "right" to PixelUtil.toDIPFromPixel(insets.right), in edgeInsetsToJavaMap() 20 "bottom" to PixelUtil.toDIPFromPixel(insets.bottom), in edgeInsetsToJavaMap() 21 "left" to PixelUtil.toDIPFromPixel(insets.left) in edgeInsetsToJavaMap()
|
| H A D | SafeAreaUtils.kt | 14 val insets = in getRootWindowInsetsCompatR() constant 22 top = insets.top.toFloat(), in getRootWindowInsetsCompatR() 23 right = insets.right.toFloat(), in getRootWindowInsetsCompatR() 24 bottom = insets.bottom.toFloat(), in getRootWindowInsetsCompatR() 25 left = insets.left.toFloat() in getRootWindowInsetsCompatR() 32 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM() constant 34 top = insets.systemWindowInsetTop.toFloat(), in getRootWindowInsetsCompatM() 35 right = insets.systemWindowInsetRight.toFloat(), in getRootWindowInsetsCompatM() 41 bottom = min(insets.systemWindowInsetBottom, insets.stableInsetBottom).toFloat(), in getRootWindowInsetsCompatM() 42 left = insets.systemWindowInsetLeft.toFloat() in getRootWindowInsetsCompatM()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/safeareacontext/ |
| H A D | SerializationUtils.kt | 7 fun edgeInsetsToJsMap(insets: EdgeInsets): WritableMap { in edgeInsetsToJsMap() 9 insetsMap.putDouble("top", PixelUtil.toDIPFromPixel(insets.top).toDouble()) in edgeInsetsToJsMap() 10 insetsMap.putDouble("right", PixelUtil.toDIPFromPixel(insets.right).toDouble()) in edgeInsetsToJsMap() 11 insetsMap.putDouble("bottom", PixelUtil.toDIPFromPixel(insets.bottom).toDouble()) in edgeInsetsToJsMap() 12 insetsMap.putDouble("left", PixelUtil.toDIPFromPixel(insets.left).toDouble()) in edgeInsetsToJsMap() 16 fun edgeInsetsToJavaMap(insets: EdgeInsets): Map<String, Float> { in edgeInsetsToJavaMap() 18 "top" to PixelUtil.toDIPFromPixel(insets.top), in edgeInsetsToJavaMap() 19 "right" to PixelUtil.toDIPFromPixel(insets.right), in edgeInsetsToJavaMap() 20 "bottom" to PixelUtil.toDIPFromPixel(insets.bottom), in edgeInsetsToJavaMap() 21 "left" to PixelUtil.toDIPFromPixel(insets.left) in edgeInsetsToJavaMap()
|
| H A D | SafeAreaUtils.kt | 14 val insets = in getRootWindowInsetsCompatR() constant 22 top = insets.top.toFloat(), in getRootWindowInsetsCompatR() 23 right = insets.right.toFloat(), in getRootWindowInsetsCompatR() 24 bottom = insets.bottom.toFloat(), in getRootWindowInsetsCompatR() 25 left = insets.left.toFloat() in getRootWindowInsetsCompatR() 32 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM() constant 34 top = insets.systemWindowInsetTop.toFloat(), in getRootWindowInsetsCompatM() 35 right = insets.systemWindowInsetRight.toFloat(), in getRootWindowInsetsCompatM() 41 bottom = min(insets.systemWindowInsetBottom, insets.stableInsetBottom).toFloat(), in getRootWindowInsetsCompatM() 42 left = insets.systemWindowInsetLeft.toFloat() in getRootWindowInsetsCompatM()
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/safeareacontext/ |
| H A D | SerializationUtils.kt | 7 fun edgeInsetsToJsMap(insets: EdgeInsets): WritableMap { in edgeInsetsToJsMap() 9 insetsMap.putDouble("top", PixelUtil.toDIPFromPixel(insets.top).toDouble()) in edgeInsetsToJsMap() 10 insetsMap.putDouble("right", PixelUtil.toDIPFromPixel(insets.right).toDouble()) in edgeInsetsToJsMap() 11 insetsMap.putDouble("bottom", PixelUtil.toDIPFromPixel(insets.bottom).toDouble()) in edgeInsetsToJsMap() 12 insetsMap.putDouble("left", PixelUtil.toDIPFromPixel(insets.left).toDouble()) in edgeInsetsToJsMap() 16 fun edgeInsetsToJavaMap(insets: EdgeInsets): Map<String, Float> { in edgeInsetsToJavaMap() 18 "top" to PixelUtil.toDIPFromPixel(insets.top), in edgeInsetsToJavaMap() 19 "right" to PixelUtil.toDIPFromPixel(insets.right), in edgeInsetsToJavaMap() 20 "bottom" to PixelUtil.toDIPFromPixel(insets.bottom), in edgeInsetsToJavaMap() 21 "left" to PixelUtil.toDIPFromPixel(insets.left)) in edgeInsetsToJavaMap()
|
| H A D | SafeAreaUtils.kt | 14 val insets = in getRootWindowInsetsCompatR() constant 21 top = insets.top.toFloat(), in getRootWindowInsetsCompatR() 22 right = insets.right.toFloat(), in getRootWindowInsetsCompatR() 23 bottom = insets.bottom.toFloat(), in getRootWindowInsetsCompatR() 24 left = insets.left.toFloat()) in getRootWindowInsetsCompatR() 30 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM() constant 32 top = insets.systemWindowInsetTop.toFloat(), in getRootWindowInsetsCompatM() 33 right = insets.systemWindowInsetRight.toFloat(), in getRootWindowInsetsCompatM() 39 bottom = min(insets.systemWindowInsetBottom, insets.stableInsetBottom).toFloat(), in getRootWindowInsetsCompatM() 40 left = insets.systemWindowInsetLeft.toFloat()) in getRootWindowInsetsCompatM()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/safeareacontext/ |
| H A D | SerializationUtils.kt | 7 fun edgeInsetsToJsMap(insets: EdgeInsets): WritableMap { in edgeInsetsToJsMap() 9 insetsMap.putDouble("top", PixelUtil.toDIPFromPixel(insets.top).toDouble()) in edgeInsetsToJsMap() 10 insetsMap.putDouble("right", PixelUtil.toDIPFromPixel(insets.right).toDouble()) in edgeInsetsToJsMap() 11 insetsMap.putDouble("bottom", PixelUtil.toDIPFromPixel(insets.bottom).toDouble()) in edgeInsetsToJsMap() 12 insetsMap.putDouble("left", PixelUtil.toDIPFromPixel(insets.left).toDouble()) in edgeInsetsToJsMap() 16 fun edgeInsetsToJavaMap(insets: EdgeInsets): Map<String, Float> { in edgeInsetsToJavaMap() 18 "top" to PixelUtil.toDIPFromPixel(insets.top), in edgeInsetsToJavaMap() 19 "right" to PixelUtil.toDIPFromPixel(insets.right), in edgeInsetsToJavaMap() 20 "bottom" to PixelUtil.toDIPFromPixel(insets.bottom), in edgeInsetsToJavaMap() 21 "left" to PixelUtil.toDIPFromPixel(insets.left) in edgeInsetsToJavaMap()
|
| H A D | SafeAreaUtils.kt | 14 val insets = in getRootWindowInsetsCompatR() constant 22 top = insets.top.toFloat(), in getRootWindowInsetsCompatR() 23 right = insets.right.toFloat(), in getRootWindowInsetsCompatR() 24 bottom = insets.bottom.toFloat(), in getRootWindowInsetsCompatR() 25 left = insets.left.toFloat() in getRootWindowInsetsCompatR() 32 val insets = rootView.rootWindowInsets ?: return null in getRootWindowInsetsCompatM() constant 34 top = insets.systemWindowInsetTop.toFloat(), in getRootWindowInsetsCompatM() 35 right = insets.systemWindowInsetRight.toFloat(), in getRootWindowInsetsCompatM() 41 bottom = min(insets.systemWindowInsetBottom, insets.stableInsetBottom).toFloat(), in getRootWindowInsetsCompatM() 42 left = insets.systemWindowInsetLeft.toFloat() in getRootWindowInsetsCompatM()
|
| /expo/packages/expo-dev-menu/ios/OverlayContainer/Internal/Extensions/ |
| H A D | UIView+Constraints.swift | 11 func pinToSuperview(with insets: UIEdgeInsets = .zero, edges: UIRectEdge = .all) { in pinToSuperview() 15 topAnchor.constraint(equalTo: superview.topAnchor, constant: insets.top).isActive = true in pinToSuperview() 18 … bottomAnchor.constraint(equalTo: superview.bottomAnchor, constant: -insets.bottom).isActive = true in pinToSuperview() 21 … leadingAnchor.constraint(equalTo: superview.leadingAnchor, constant: insets.left).isActive = true in pinToSuperview() 24 …trailingAnchor.constraint(equalTo: superview.trailingAnchor, constant: -insets.right).isActive = t… in pinToSuperview()
|
| /expo/packages/expo-dev-menu/vendored/react-native-safe-area-context/src/ |
| H A D | SafeAreaContext.tsx | 32 const [insets, setInsets] = React.useState<EdgeInsets | null>( 48 nativeEvent: { frame: nextFrame, insets: nextInsets }, 63 !insets || 64 nextInsets.bottom !== insets.bottom || 65 nextInsets.left !== insets.left || 66 nextInsets.right !== insets.right || 67 nextInsets.top !== insets.top 72 [frame, insets], 80 {insets != null ? ( 82 <SafeAreaInsetsContext.Provider value={insets}> [all …]
|
| H A D | SafeAreaView.tsx | 28 const insets = useSafeAreaInsets(); 36 const insetTop = edgeBitmask & TOP ? insets.top : 0; 37 const insetRight = edgeBitmask & RIGHT ? insets.right : 0; 38 const insetBottom = edgeBitmask & BOTTOM ? insets.bottom : 0; 39 const insetLeft = edgeBitmask & LEFT ? insets.left : 0; 82 }, [style, insets, mode, edgeBitmask]);
|
| /expo/packages/expo-dev-menu/vendored/react-native-safe-area-context/android/devmenu/com/th3rdwave/safeareacontext/ |
| H A D | InsetsChangeEvent.kt | 8 insets: EdgeInsets, 13 PixelUtil.toDIPFromPixel(insets.top), 14 PixelUtil.toDIPFromPixel(insets.right), 15 PixelUtil.toDIPFromPixel(insets.bottom), 16 PixelUtil.toDIPFromPixel(insets.left)
|
| H A D | SerializationUtils.java | 9 static Map<String, Float> edgeInsetsToJavaMap(EdgeInsets insets) { in edgeInsetsToJavaMap() argument 12 PixelUtil.toDIPFromPixel(insets.getTop()), in edgeInsetsToJavaMap() 14 PixelUtil.toDIPFromPixel(insets.getRight()), in edgeInsetsToJavaMap() 16 PixelUtil.toDIPFromPixel(insets.getBottom()), in edgeInsetsToJavaMap() 18 PixelUtil.toDIPFromPixel(insets.getLeft())); in edgeInsetsToJavaMap()
|
| H A D | SafeAreaUtils.java | 15 WindowInsets insets = rootView.getRootWindowInsets(); in getRootWindowInsetsCompat() local 16 if (insets == null) { in getRootWindowInsetsCompat() 20 insets.getSystemWindowInsetTop(), in getRootWindowInsetsCompat() 21 insets.getSystemWindowInsetRight(), in getRootWindowInsetsCompat() 27 Math.min(insets.getSystemWindowInsetBottom(), insets.getStableInsetBottom()), in getRootWindowInsetsCompat() 28 insets.getSystemWindowInsetLeft()); in getRootWindowInsetsCompat()
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Fabric/Mounting/ComponentViews/SafeAreaView/ |
| H A D | ABI49_0_0RCTSafeAreaViewComponentView.mm | 45 UIEdgeInsets insets = self.safeAreaInsets; 46 insets.left = ABI49_0_0RCTRoundPixelValue(insets.left); 47 insets.top = ABI49_0_0RCTRoundPixelValue(insets.top); 48 insets.right = ABI49_0_0RCTRoundPixelValue(insets.right); 49 insets.bottom = ABI49_0_0RCTRoundPixelValue(insets.bottom); 51 auto newPadding = ABI49_0_0RCTEdgeInsetsFromUIEdgeInsets(insets);
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Fabric/Mounting/ComponentViews/SafeAreaView/ |
| H A D | ABI48_0_0RCTSafeAreaViewComponentView.mm | 45 UIEdgeInsets insets = self.safeAreaInsets; 46 insets.left = ABI48_0_0RCTRoundPixelValue(insets.left); 47 insets.top = ABI48_0_0RCTRoundPixelValue(insets.top); 48 insets.right = ABI48_0_0RCTRoundPixelValue(insets.right); 49 insets.bottom = ABI48_0_0RCTRoundPixelValue(insets.bottom); 51 auto newPadding = ABI48_0_0RCTEdgeInsetsFromUIEdgeInsets(insets);
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Fabric/Mounting/ComponentViews/SafeAreaView/ |
| H A D | ABI47_0_0RCTSafeAreaViewComponentView.mm | 46 UIEdgeInsets insets = self.safeAreaInsets; 47 insets.left = ABI47_0_0RCTRoundPixelValue(insets.left); 48 insets.top = ABI47_0_0RCTRoundPixelValue(insets.top); 49 insets.right = ABI47_0_0RCTRoundPixelValue(insets.right); 50 insets.bottom = ABI47_0_0RCTRoundPixelValue(insets.bottom); 52 auto newPadding = ABI47_0_0RCTEdgeInsetsFromUIEdgeInsets(insets);
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Views/SafeAreaView/ |
| H A D | ABI48_0_0RCTSafeAreaShadowView.m | 23 UIEdgeInsets insets = localData.insets; 25 super.paddingLeft = (ABI48_0_0YGValue){insets.left, ABI48_0_0YGUnitPoint}; 26 super.paddingRight = (ABI48_0_0YGValue){insets.right, ABI48_0_0YGUnitPoint}; 27 super.paddingTop = (ABI48_0_0YGValue){insets.top, ABI48_0_0YGUnitPoint}; 28 super.paddingBottom = (ABI48_0_0YGValue){insets.bottom, ABI48_0_0YGUnitPoint};
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Views/SafeAreaView/ |
| H A D | ABI49_0_0RCTSafeAreaShadowView.m | 23 UIEdgeInsets insets = localData.insets; 25 super.paddingLeft = (ABI49_0_0YGValue){insets.left, ABI49_0_0YGUnitPoint}; 26 super.paddingRight = (ABI49_0_0YGValue){insets.right, ABI49_0_0YGUnitPoint}; 27 super.paddingTop = (ABI49_0_0YGValue){insets.top, ABI49_0_0YGUnitPoint}; 28 super.paddingBottom = (ABI49_0_0YGValue){insets.bottom, ABI49_0_0YGUnitPoint};
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Views/SafeAreaView/ |
| H A D | ABI47_0_0RCTSafeAreaShadowView.m | 23 UIEdgeInsets insets = localData.insets; 25 super.paddingLeft = (ABI47_0_0YGValue){insets.left, ABI47_0_0YGUnitPoint}; 26 super.paddingRight = (ABI47_0_0YGValue){insets.right, ABI47_0_0YGUnitPoint}; 27 super.paddingTop = (ABI47_0_0YGValue){insets.top, ABI47_0_0YGUnitPoint}; 28 super.paddingBottom = (ABI47_0_0YGValue){insets.bottom, ABI47_0_0YGUnitPoint};
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/graphics/ |
| H A D | ABI47_0_0RectangleEdges.h | 79 inline Rect insetBy(Rect const &rect, EdgeInsets const &insets) noexcept { in insetBy() argument 81 {rect.origin.x + insets.left, rect.origin.y + insets.top}, in insetBy() 82 {rect.size.width - insets.left - insets.right, in insetBy() 83 rect.size.height - insets.top - insets.bottom}}; in insetBy()
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/graphics/ |
| H A D | ABI48_0_0RectangleEdges.h | 79 inline Rect insetBy(Rect const &rect, EdgeInsets const &insets) noexcept { in insetBy() argument 81 {rect.origin.x + insets.left, rect.origin.y + insets.top}, in insetBy() 82 {rect.size.width - insets.left - insets.right, in insetBy() 83 rect.size.height - insets.top - insets.bottom}}; in insetBy()
|
| /expo/packages/expo-updates/ios/EXUpdates/ASN1Decoder/ |
| H A D | ASN1Object.swift | 89 fileprivate func printAsn1(insets: String = "") -> String { in printAsn1() 90 var output = insets in printAsn1() 101 output.append(item.printAsn1(insets: insets + " ")) in printAsn1() 103 output.append(sub != nil && sub!.count > 0 ? insets + "}\n": "") in printAsn1()
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/graphics/ |
| H A D | ABI49_0_0RectangleEdges.h | 79 inline Rect insetBy(Rect const &rect, EdgeInsets const &insets) noexcept { in insetBy() argument 81 {rect.origin.x + insets.left, rect.origin.y + insets.top}, in insetBy() 82 {rect.size.width - insets.left - insets.right, in insetBy() 83 rect.size.height - insets.top - insets.bottom}}; in insetBy()
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/SharedElement/ |
| H A D | ABI48_0_0RNSharedElementContent.h | 15 @property (nonatomic, readonly) UIEdgeInsets insets; 17 …)initWithData:(id) data type:(ABI48_0_0RNSharedElementContentType)type insets:(UIEdgeInsets)insets;
|