| /expo/packages/expo-maps/build/ |
| H A D | Utils.js | 11 if ('type' in child && String(child.type).includes('Polygon') && 'props' in child) { 20 if ('type' in child && String(child.type).includes('Polyline') && 'props' in child) { 29 if ('type' in child && String(child.type).includes('Overlay') && 'props' in child) { 38 if ('type' in child && String(child.type).includes('Circle') && 'props' in child) { 47 if ('type' in child && String(child.type).includes('Marker') && 'props' in child) { 56 if ('type' in child && String(child.type).includes('Cluster') && 'props' in child) { 65 if ('type' in child && String(child.type).includes('KML') && 'props' in child) { 74 if ('type' in child && String(child.type).includes('GeoJson') && 'props' in child) { 83 if ('type' in child && String(child.type).includes('Heatmap') && 'props' in child) { 124 if (typeof child == 'string' || typeof child == 'boolean' || typeof child == 'number') { [all …]
|
| H A D | Utils.d.ts | 11 export declare function isSimpleType(child: any): boolean; 12 export declare function isPolygon(child: any): child is Polygon; 13 export declare function isPolyline(child: any): child is Polyline; 14 export declare function isOverlay(child: any): child is Overlay; 15 export declare function isCircle(child: any): child is Circle; 16 export declare function isMarker(child: any): child is Marker; 17 export declare function isCluster(child: any): child is Cluster; 18 export declare function isKML(child: any): child is KML; 19 export declare function isGeoJson(child: any): child is GeoJson; 20 export declare function isHeatmap(child: any): child is Heatmap; [all …]
|
| H A D | Map.js | 105 if (!Utils.isSimpleType(child)) { 106 if (Utils.isMarker(child)) { 109 else if (Utils.isPolygon(child)) { 112 else if (Utils.isPolyline(child)) { 115 else if (Utils.isCircle(child)) { 118 else if (Utils.isKML(child)) { 121 else if (Utils.isGeoJson(child)) { 124 else if (Utils.isCluster(child)) { 127 else if (Utils.isOverlay(child)) { 130 else if (Utils.isHeatmap(child)) { [all …]
|
| /expo/packages/expo-maps/src/ |
| H A D | Utils.ts | 25 export function isPolygon(child: any): child is Polygon { 26 if ('type' in child && String(child.type).includes('Polygon') && 'props' in child) { 36 if ('type' in child && String(child.type).includes('Polyline') && 'props' in child) { 46 if ('type' in child && String(child.type).includes('Overlay') && 'props' in child) { 56 if ('type' in child && String(child.type).includes('Circle') && 'props' in child) { 66 if ('type' in child && String(child.type).includes('Marker') && 'props' in child) { 76 if ('type' in child && String(child.type).includes('Cluster') && 'props' in child) { 85 export function isKML(child: any): child is KML { 86 if ('type' in child && String(child.type).includes('KML') && 'props' in child) { 96 if ('type' in child && String(child.type).includes('GeoJson') && 'props' in child) { [all …]
|
| /expo/packages/html-elements/build/primitives/ |
| H A D | createDevView.js | 6 React.Children.forEach(inputChildren, (child) => { 7 if (child == null || typeof child === 'boolean') { 9 else if (typeof child === 'string' || typeof child === 'number') { 11 …let message = `Invalid raw text as a child of View: "${child}"${child === '' ? ` [empty string]` :… 16 React.createElement(Text, { style: { fontWeight: 'bold' } }, child), 19 else if ('type' in child && typeof child?.type === 'string' && Platform.OS !== 'web') { 21 throw new Error(`Using unsupported React DOM element: <${child.type} />`); 24 children.push(child);
|
| /expo/android/vendored/unversioned/react-native-pager-view/android/src/main/java/com/reactnativepagerview/ |
| H A D | ViewPagerAdapter.kt | 19 val child = getChildAt(index) in onBindViewHolder() constant 25 if (child.parent != null) { in onBindViewHolder() 26 (child.parent as FrameLayout).removeView(child) in onBindViewHolder() 29 container.addView(child) in onBindViewHolder() 36 fun addChild(child: View, index: Int) { in addChild() 37 childrenViews.add(index, child) in addChild() 45 fun removeChild(child: View) { in removeChild() 46 val index = childrenViews.indexOf(child) in removeChild() 55 val child = childrenViews[index-1] in removeAll() constant 56 if (child.parent?.parent != null) { in removeAll() [all …]
|
| /expo/android/vendored/sdk48/react-native-pager-view/android/src/main/java/abi48_0_0/com/reactnativepagerview/ |
| H A D | ViewPagerAdapter.kt | 19 val child = getChildAt(index) in onBindViewHolder() constant 25 if (child.parent != null) { in onBindViewHolder() 26 (child.parent as FrameLayout).removeView(child) in onBindViewHolder() 29 container.addView(child) in onBindViewHolder() 36 fun addChild(child: View, index: Int) { in addChild() 37 childrenViews.add(index, child) in addChild() 45 fun removeChild(child: View) { in removeChild() 46 val index = childrenViews.indexOf(child) in removeChild() 55 val child = childrenViews[index-1] in removeAll() constant 56 if (child.parent?.parent != null) { in removeAll() [all …]
|
| /expo/android/vendored/sdk49/react-native-pager-view/android/src/main/java/abi49_0_0/com/reactnativepagerview/ |
| H A D | ViewPagerAdapter.kt | 19 val child = getChildAt(index) in onBindViewHolder() constant 25 if (child.parent != null) { in onBindViewHolder() 26 (child.parent as FrameLayout).removeView(child) in onBindViewHolder() 29 container.addView(child) in onBindViewHolder() 36 fun addChild(child: View, index: Int) { in addChild() 37 childrenViews.add(index, child) in addChild() 45 fun removeChild(child: View) { in removeChild() 46 val index = childrenViews.indexOf(child) in removeChild() 55 val child = childrenViews[index-1] in removeAll() constant 56 if (child.parent?.parent != null) { in removeAll() [all …]
|
| /expo/packages/expo-dev-menu/ios/OverlayContainer/Internal/Extensions/ |
| H A D | UIViewController+Children.swift | 11 func addChild(_ child: UIViewController, in containerView: UIView) { in addChild() 13 addChild(child) in addChild() 14 containerView.addSubview(child.view) in addChild() 15 child.view.pinToSuperview() in addChild() 16 child.didMove(toParent: self) in addChild() 19 func removeChild(_ child: UIViewController) { in removeChild() 20 child.willMove(toParent: nil) in removeChild() 21 child.view.removeFromSuperview() in removeChild() 22 child.removeFromParent() in removeChild()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/pagerview/ |
| H A D | ViewPagerAdapter.kt | 18 val child = getChildAt(index) in onBindViewHolder() constant 24 if (child.parent != null) { in onBindViewHolder() 25 (child.parent as FrameLayout).removeView(child) in onBindViewHolder() 28 container.addView(child) in onBindViewHolder() 35 fun addChild(child: View, index: Int) { in addChild() 36 childrenViews.add(index, child) in addChild() 44 fun removeChild(child: View) { in removeChild() 45 val index = childrenViews.indexOf(child) in removeChild() 54 val child = childrenViews[index - 1] in removeAll() constant 55 if (child.parent?.parent != null) { in removeAll() [all …]
|
| /expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/dom/base/ |
| H A D | JsiDomDeclarationNode.h | 43 for (auto &child : getChildren()) { in JSI_EXPORT_PROPERTY_GETTERS() 81 void addChild(std::shared_ptr<JsiDomNode> child) override { in addChild() argument 88 JsiDomNode::addChild(child); in addChild() 94 void insertChildBefore(std::shared_ptr<JsiDomNode> child, in insertChildBefore() argument 102 JsiDomNode::insertChildBefore(child, before); in insertChildBefore() 154 auto child = getChildren()[index]; in optionalChild() local 157 return resolve(child); in optionalChild() 163 virtual ST resolve(std::shared_ptr<JsiDomNode> child) = 0; 171 JsiBaseDomDeclarationNode::removeChild(child); in removeChild() 176 JsiBaseDomDeclarationNode::addChild(child); in addChild() [all …]
|
| H A D | JsiDomNode.h | 102 auto child = in JSI_HOST_FUNCTION() local 104 removeChild(child); in JSI_HOST_FUNCTION() 114 auto child = in JSI_HOST_FUNCTION() local 129 for (auto child : _children) { in JSI_HOST_FUNCTION() local 256 tmp.push_back(child); in resetPendingChanges() 260 for (auto &child : tmp) { in resetPendingChanges() 261 child->dispose(); in resetPendingChanges() 349 child->setParent(this); in addChild() 368 child->setParent(this); in insertChildBefore() 386 [child](const auto &node) { return node == child; }), in removeChild() [all …]
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/dom/base/ |
| H A D | JsiDomDeclarationNode.h | 43 for (auto &child : getChildren()) { in JSI_EXPORT_PROPERTY_GETTERS() 81 void addChild(std::shared_ptr<JsiDomNode> child) override { in addChild() argument 88 JsiDomNode::addChild(child); in addChild() 94 void insertChildBefore(std::shared_ptr<JsiDomNode> child, in insertChildBefore() argument 102 JsiDomNode::insertChildBefore(child, before); in insertChildBefore() 154 auto child = getChildren()[index]; in optionalChild() local 157 return resolve(child); in optionalChild() 163 virtual ST resolve(std::shared_ptr<JsiDomNode> child) = 0; 171 JsiBaseDomDeclarationNode::removeChild(child); in removeChild() 176 JsiBaseDomDeclarationNode::addChild(child); in addChild() [all …]
|
| H A D | JsiDomNode.h | 102 auto child = in JSI_HOST_FUNCTION() local 104 removeChild(child); in JSI_HOST_FUNCTION() 114 auto child = in JSI_HOST_FUNCTION() local 129 for (auto child : _children) { in JSI_HOST_FUNCTION() local 256 tmp.push_back(child); in resetPendingChanges() 260 for (auto &child : tmp) { in resetPendingChanges() 261 child->dispose(); in resetPendingChanges() 349 child->setParent(this); in addChild() 368 child->setParent(this); in insertChildBefore() 386 [child](const auto &node) { return node == child; }), in removeChild() [all …]
|
| /expo/packages/expo-router/build/head/ |
| H A D | ExpoHead.ios.js | 36 metaChildren.push(child); 46 const validMeta = meta.filter((child) => child.type === 'meta' || child.type === 'title'); 47 return validMeta.map((child) => { 48 if (child.type === 'title') { 52 … children: typeof child.props.children === 'string' ? child.props.children : undefined, 59 … property: typeof child.props.property === 'string' ? child.props.property : undefined, 60 content: typeof child.props.content === 'string' ? child.props.content : undefined, 71 …const urlMeta = sortedMeta.find((child) => child.type === 'meta' && child.props.property === 'og:u… 82 const titleTag = sortedMeta.find((child) => child.type === 'title'); 86 …const titleMeta = sortedMeta.find((child) => child.type === 'meta' && child.props.property === 'og… [all …]
|
| /expo/packages/html-elements/src/primitives/ |
| H A D | createDevView.tsx | 7 React.Children.forEach(inputChildren, (child) => { 8 if (child == null || typeof child === 'boolean') { 9 } else if (typeof child === 'string' || typeof child === 'number') { 11 let message = `Invalid raw text as a child of View: "${child}"${ 12 child === '' ? ` [empty string]` : '' 18 Unwrapped text: "<Text style={{ fontWeight: 'bold' }}>{child}</Text>" 21 } else if ('type' in child && typeof child?.type === 'string' && Platform.OS !== 'web') { 23 throw new Error(`Using unsupported React DOM element: <${child.type} />`); 25 children.push(child);
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/dom/nodes/ |
| H A D | JsiBlendNode.h | 39 auto child = children.at(i); in decorate() local 42 std::dynamic_pointer_cast<JsiBaseImageFilterNode>(child); in decorate() 80 void addChild(std::shared_ptr<JsiDomNode> child) override { in addChild() argument 81 JsiBaseDomDeclarationNode::addChild(child); in addChild() 83 verifyChild(child); in addChild() 89 void insertChildBefore(std::shared_ptr<JsiDomNode> child, in insertChildBefore() argument 91 JsiBaseDomDeclarationNode::insertChildBefore(child, before); in insertChildBefore() 93 verifyChild(child); in insertChildBefore() 97 void verifyChild(std::shared_ptr<JsiDomNode> child) { in verifyChild() argument 98 if (std::dynamic_pointer_cast<JsiBaseShaderNode>(child) == nullptr && in verifyChild() [all …]
|
| /expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/rnskia/dom/nodes/ |
| H A D | JsiBlendNode.h | 39 auto child = children.at(i); in decorate() local 42 std::dynamic_pointer_cast<JsiBaseImageFilterNode>(child); in decorate() 80 void addChild(std::shared_ptr<JsiDomNode> child) override { in addChild() argument 81 JsiBaseDomDeclarationNode::addChild(child); in addChild() 83 verifyChild(child); in addChild() 89 void insertChildBefore(std::shared_ptr<JsiDomNode> child, in insertChildBefore() argument 91 JsiBaseDomDeclarationNode::insertChildBefore(child, before); in insertChildBefore() 93 verifyChild(child); in insertChildBefore() 97 void verifyChild(std::shared_ptr<JsiDomNode> child) { in verifyChild() argument 98 if (std::dynamic_pointer_cast<JsiBaseShaderNode>(child) == nullptr && in verifyChild() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/NativeAnimation/Nodes/ |
| H A D | ABI47_0_0RCTAnimatedNode.m | 40 - (void)addChild:(ABI47_0_0RCTAnimatedNode *)child 45 if (child) { 46 [_childNodes setObject:child forKey:child.nodeTag]; 47 [child onAttachedToNode:self]; 51 - (void)removeChild:(ABI47_0_0RCTAnimatedNode *)child 56 if (child) { 57 [_childNodes removeObjectForKey:child.nodeTag]; 58 [child onDetachedFromNode:self]; 88 [self removeChild:child]; 96 [child setNeedsUpdate]; [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/NativeAnimation/Nodes/ |
| H A D | ABI48_0_0RCTAnimatedNode.m | 38 - (void)addChild:(ABI48_0_0RCTAnimatedNode *)child 43 if (child) { 44 [_childNodes setObject:child forKey:child.nodeTag]; 45 [child onAttachedToNode:self]; 49 - (void)removeChild:(ABI48_0_0RCTAnimatedNode *)child 54 if (child) { 55 [_childNodes removeObjectForKey:child.nodeTag]; 56 [child onDetachedFromNode:self]; 86 [self removeChild:child]; 94 [child setNeedsUpdate]; [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/NativeAnimation/Nodes/ |
| H A D | ABI49_0_0RCTAnimatedNode.m | 38 - (void)addChild:(ABI49_0_0RCTAnimatedNode *)child 43 if (child) { 44 [_childNodes setObject:child forKey:child.nodeTag]; 45 [child onAttachedToNode:self]; 49 - (void)removeChild:(ABI49_0_0RCTAnimatedNode *)child 54 if (child) { 55 [_childNodes removeObjectForKey:child.nodeTag]; 56 [child onDetachedFromNode:self]; 86 [self removeChild:child]; 94 [child setNeedsUpdate]; [all …]
|
| /expo/docs/ui/components/Sidebar/ |
| H A D | SidebarSection.tsx | 13 {route.children.map(child => 14 child.type === 'page' ? ( 15 <SidebarLink key={`${route.name}-${child.name}`} info={child}> 16 {child.sidebarTitle || child.name} 21 key={`group-${child.name}-${route.name}`} 22 route={child}
|
| /expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/rnskia/dom/base/ |
| H A D | JsiDomNode.h | 135 auto child = in JSI_HOST_FUNCTION() local 137 removeChild(child); in JSI_HOST_FUNCTION() 147 auto child = in JSI_HOST_FUNCTION() local 162 for (auto child : _children) { in JSI_HOST_FUNCTION() local 245 for (auto &child : _children) { in commitPendingChanges() 410 auto removeChild = [child, in removeChild() 417 [child](const auto &node) { return node == child; }), in removeChild() 420 child->dispose(immediate); in removeChild() 506 tmp.push_back(child); in invalidate() 510 for (auto &child : tmp) { in invalidate() [all …]
|
| /expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/rnskia/dom/base/ |
| H A D | JsiDomNode.h | 135 auto child = in JSI_HOST_FUNCTION() local 137 removeChild(child); in JSI_HOST_FUNCTION() 147 auto child = in JSI_HOST_FUNCTION() local 162 for (auto child : _children) { in JSI_HOST_FUNCTION() local 245 for (auto &child : _children) { in commitPendingChanges() 410 auto removeChild = [child, in removeChild() 417 [child](const auto &node) { return node == child; }), in removeChild() 420 child->dispose(immediate); in removeChild() 506 tmp.push_back(child); in invalidate() 510 for (auto &child : tmp) { in invalidate() [all …]
|
| /expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/rnskia/dom/base/ |
| H A D | JsiDomNode.h | 135 auto child = in JSI_HOST_FUNCTION() local 137 removeChild(child); in JSI_HOST_FUNCTION() 147 auto child = in JSI_HOST_FUNCTION() local 162 for (auto child : _children) { in JSI_HOST_FUNCTION() local 245 for (auto &child : _children) { in commitPendingChanges() 410 auto removeChild = [child, in removeChild() 417 [child](const auto &node) { return node == child; }), in removeChild() 420 child->dispose(immediate); in removeChild() 506 tmp.push_back(child); in invalidate() 510 for (auto &child : tmp) { in invalidate() [all …]
|