| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/sharedelement/ |
| H A D | RNSharedElementTransitionItem.java | 131 RectF bounds = new RectF(); in getClippedLayout() local 139 if (!clippedLayout.intersect(bounds)) { in getClippedLayout() 140 if (clippedLayout.bottom < bounds.top) { in getClippedLayout() 141 clippedLayout.top = bounds.top; in getClippedLayout() 142 clippedLayout.bottom = bounds.top; in getClippedLayout() 145 clippedLayout.top = bounds.bottom; in getClippedLayout() 146 clippedLayout.bottom = bounds.bottom; in getClippedLayout() 149 clippedLayout.left = bounds.left; in getClippedLayout() 150 clippedLayout.right = bounds.left; in getClippedLayout() 153 clippedLayout.left = bounds.right; in getClippedLayout() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/sharedelement/ |
| H A D | RNSharedElementTransitionItem.java | 131 RectF bounds = new RectF(); in getClippedLayout() local 139 if (!clippedLayout.intersect(bounds)) { in getClippedLayout() 140 if (clippedLayout.bottom < bounds.top) { in getClippedLayout() 141 clippedLayout.top = bounds.top; in getClippedLayout() 142 clippedLayout.bottom = bounds.top; in getClippedLayout() 145 clippedLayout.top = bounds.bottom; in getClippedLayout() 146 clippedLayout.bottom = bounds.bottom; in getClippedLayout() 149 clippedLayout.left = bounds.left; in getClippedLayout() 150 clippedLayout.right = bounds.left; in getClippedLayout() 153 clippedLayout.left = bounds.right; in getClippedLayout() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/maps/ |
| H A D | RegionChangeEvent.java | 11 private final LatLngBounds bounds; field in RegionChangeEvent 15 public RegionChangeEvent(int id, LatLngBounds bounds, boolean continuous, boolean isGesture) { in RegionChangeEvent() argument 17 this.bounds = bounds; in RegionChangeEvent() 38 LatLng center = bounds.getCenter(); in dispatch() 41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch() 42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/maps/ |
| H A D | RegionChangeEvent.java | 11 private final LatLngBounds bounds; field in RegionChangeEvent 15 public RegionChangeEvent(int id, LatLngBounds bounds, boolean continuous, boolean isGesture) { in RegionChangeEvent() argument 17 this.bounds = bounds; in RegionChangeEvent() 38 LatLng center = bounds.getCenter(); in dispatch() 41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch() 42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/maps/ |
| H A D | RegionChangeEvent.java | 11 private final LatLngBounds bounds; field in RegionChangeEvent 15 public RegionChangeEvent(int id, LatLngBounds bounds, boolean continuous, boolean isGesture) { in RegionChangeEvent() argument 17 this.bounds = bounds; in RegionChangeEvent() 38 LatLng center = bounds.getCenter(); in dispatch() 41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch() 42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/maps/ |
| H A D | RegionChangeEvent.java | 11 private final LatLngBounds bounds; field in RegionChangeEvent 15 public RegionChangeEvent(int id, LatLngBounds bounds, boolean continuous, boolean isGesture) { in RegionChangeEvent() argument 17 this.bounds = bounds; in RegionChangeEvent() 38 LatLng center = bounds.getCenter(); in dispatch() 41 region.putDouble("latitudeDelta", bounds.northeast.latitude - bounds.southwest.latitude); in dispatch() 42 region.putDouble("longitudeDelta", bounds.northeast.longitude - bounds.southwest.longitude); in dispatch()
|
| /expo/ios/vendored/sdk47/react-native-svg/apple/Brushes/ |
| H A D | ABI47_0_0RNSVGPainter.mm | 86 - (void)paint:(CGContextRef)context bounds:(CGRect)bounds 89 [self paintLinearGradient:context bounds:bounds]; 91 [self paintRadialGradient:context bounds:bounds]; 93 [self paintPattern:context bounds:bounds]; 97 - (CGRect)getPaintRect:(CGContextRef)context bounds:(CGRect)bounds 132 CGRect bounds = _painter.bounds; 146 - (void)paintPattern:(CGContextRef)context bounds:(CGRect)bounds 148 CGRect rect = [self getPaintRect:context bounds:bounds]; 190 - (void)paintLinearGradient:(CGContextRef)context bounds:(CGRect)bounds 199 CGRect rect = [self getPaintRect:context bounds:bounds]; [all …]
|
| /expo/ios/vendored/sdk49/react-native-svg/apple/Brushes/ |
| H A D | ABI49_0_0RNSVGPainter.mm | 86 - (void)paint:(CGContextRef)context bounds:(CGRect)bounds 89 [self paintLinearGradient:context bounds:bounds]; 91 [self paintRadialGradient:context bounds:bounds]; 93 [self paintPattern:context bounds:bounds]; 97 - (CGRect)getPaintRect:(CGContextRef)context bounds:(CGRect)bounds 132 CGRect bounds = _painter.bounds; 146 - (void)paintPattern:(CGContextRef)context bounds:(CGRect)bounds 148 CGRect rect = [self getPaintRect:context bounds:bounds]; 190 - (void)paintLinearGradient:(CGContextRef)context bounds:(CGRect)bounds 199 CGRect rect = [self getPaintRect:context bounds:bounds]; [all …]
|
| /expo/ios/vendored/unversioned/react-native-svg/apple/Brushes/ |
| H A D | RNSVGPainter.mm | 86 - (void)paint:(CGContextRef)context bounds:(CGRect)bounds 89 [self paintLinearGradient:context bounds:bounds]; 91 [self paintRadialGradient:context bounds:bounds]; 93 [self paintPattern:context bounds:bounds]; 97 - (CGRect)getPaintRect:(CGContextRef)context bounds:(CGRect)bounds 132 CGRect bounds = _painter.bounds; 146 - (void)paintPattern:(CGContextRef)context bounds:(CGRect)bounds 148 CGRect rect = [self getPaintRect:context bounds:bounds]; 190 - (void)paintLinearGradient:(CGContextRef)context bounds:(CGRect)bounds 199 CGRect rect = [self getPaintRect:context bounds:bounds]; [all …]
|
| /expo/ios/vendored/sdk48/react-native-svg/apple/Brushes/ |
| H A D | ABI48_0_0RNSVGPainter.mm | 86 - (void)paint:(CGContextRef)context bounds:(CGRect)bounds 89 [self paintLinearGradient:context bounds:bounds]; 91 [self paintRadialGradient:context bounds:bounds]; 93 [self paintPattern:context bounds:bounds]; 97 - (CGRect)getPaintRect:(CGContextRef)context bounds:(CGRect)bounds 132 CGRect bounds = _painter.bounds; 146 - (void)paintPattern:(CGContextRef)context bounds:(CGRect)bounds 148 CGRect rect = [self getPaintRect:context bounds:bounds]; 190 - (void)paintLinearGradient:(CGContextRef)context bounds:(CGRect)bounds 199 CGRect rect = [self getPaintRect:context bounds:bounds]; [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/SharedElement/ |
| H A D | ABI48_0_0RNSharedElementCornerRadii.h | 30 - (void)updateClipMaskForLayer:(CALayer *)layer bounds:(CGRect)bounds; 31 - (void)updateShadowPathForLayer:(CALayer *)layer bounds:(CGRect)bounds; 32 - (ABI48_0_0RCTCornerRadii)radiiForBounds:(CGRect)bounds;
|
| H A D | ABI48_0_0RNSharedElementCornerRadii.m | 65 - (void)updateClipMaskForLayer:(CALayer *)layer bounds:(CGRect)bounds 67 ABI48_0_0RCTCornerRadii radii = [self radiiForBounds:bounds]; 77 CGPathRef path = ABI48_0_0RCTPathCreateWithRoundedRect(bounds, cornerInsets, NULL); 87 - (void)updateShadowPathForLayer:(CALayer *)layer bounds:(CGRect)bounds 89 ABI48_0_0RCTCornerRadii radii = [self radiiForBounds:bounds]; 98 CGPathRef path = ABI48_0_0RCTPathCreateWithRoundedRect(bounds, cornerInsets, NULL); 103 - (ABI48_0_0RCTCornerRadii)radiiForBounds:(CGRect)bounds; 105 if (!_invalidated && CGRectEqualToRect(_cachedBounds, bounds)) { 145 …const CGFloat topScaleFactor = ABI48_0_0RCTZeroIfNaN(MIN(1, bounds.size.width / (result.topLeft + … 148 …const CGFloat leftScaleFactor = ABI48_0_0RCTZeroIfNaN(MIN(1, bounds.size.height / (result.topLeft … [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Components/SharedElement/ |
| H A D | ABI47_0_0RNSharedElementCornerRadii.h | 30 - (void)updateClipMaskForLayer:(CALayer *)layer bounds:(CGRect)bounds; 31 - (void)updateShadowPathForLayer:(CALayer *)layer bounds:(CGRect)bounds; 32 - (ABI47_0_0RCTCornerRadii)radiiForBounds:(CGRect)bounds;
|
| H A D | ABI47_0_0RNSharedElementCornerRadii.m | 65 - (void)updateClipMaskForLayer:(CALayer *)layer bounds:(CGRect)bounds 67 ABI47_0_0RCTCornerRadii radii = [self radiiForBounds:bounds]; 77 CGPathRef path = ABI47_0_0RCTPathCreateWithRoundedRect(bounds, cornerInsets, NULL); 87 - (void)updateShadowPathForLayer:(CALayer *)layer bounds:(CGRect)bounds 89 ABI47_0_0RCTCornerRadii radii = [self radiiForBounds:bounds]; 98 CGPathRef path = ABI47_0_0RCTPathCreateWithRoundedRect(bounds, cornerInsets, NULL); 103 - (ABI47_0_0RCTCornerRadii)radiiForBounds:(CGRect)bounds; 105 if (!_invalidated && CGRectEqualToRect(_cachedBounds, bounds)) { 145 …const CGFloat topScaleFactor = ABI47_0_0RCTZeroIfNaN(MIN(1, bounds.size.width / (result.topLeft + … 148 …const CGFloat leftScaleFactor = ABI47_0_0RCTZeroIfNaN(MIN(1, bounds.size.height / (result.topLeft … [all …]
|
| /expo/ios/vendored/sdk47/react-native-reanimated/ios/LayoutReanimation/ |
| H A D | ABI47_0_0REASnapshot.m | 17 _values[@"width"] = [NSNumber numberWithDouble:(double)(view.bounds.size.width)]; 18 _values[@"height"] = [NSNumber numberWithDouble:(double)(view.bounds.size.height)]; 19 _values[@"originX"] = [NSNumber numberWithDouble:view.center.x - view.bounds.size.width / 2.0]; 20 _values[@"originY"] = [NSNumber numberWithDouble:view.center.y - view.bounds.size.height / 2.0]; 21 …_values[@"globalOriginX"] = [NSNumber numberWithDouble:originFromRootPerspective.x - view.bounds.s… 22 …_values[@"globalOriginY"] = [NSNumber numberWithDouble:originFromRootPerspective.y - view.bounds.s…
|
| /expo/ios/vendored/sdk48/react-native-reanimated/ios/LayoutReanimation/ |
| H A D | ABI48_0_0REASnapshot.m | 17 _values[@"width"] = [NSNumber numberWithDouble:(double)(view.bounds.size.width)]; 18 _values[@"height"] = [NSNumber numberWithDouble:(double)(view.bounds.size.height)]; 19 _values[@"originX"] = [NSNumber numberWithDouble:view.center.x - view.bounds.size.width / 2.0]; 20 _values[@"originY"] = [NSNumber numberWithDouble:view.center.y - view.bounds.size.height / 2.0]; 21 …_values[@"globalOriginX"] = [NSNumber numberWithDouble:originFromRootPerspective.x - view.bounds.s… 22 …_values[@"globalOriginY"] = [NSNumber numberWithDouble:originFromRootPerspective.y - view.bounds.s…
|
| /expo/packages/expo-maps/ios/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsOverlays.swift | 14 …CLLocationCoordinate2D(latitude: overlayObject.bounds.southWest.latitude, longitude: overlayObject… in setOverlays() 15 …CLLocationCoordinate2D(latitude: overlayObject.bounds.northEast.latitude, longitude: overlayObject… in setOverlays() 19 let overlay = GMSGroundOverlay(bounds: overlayBounds, icon: icon) in setOverlays()
|
| /expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsOverlays.swift | 14 …CLLocationCoordinate2D(latitude: overlayObject.bounds.southWest.latitude, longitude: overlayObject… in setOverlays() 15 …CLLocationCoordinate2D(latitude: overlayObject.bounds.northEast.latitude, longitude: overlayObject… in setOverlays() 19 let overlay = GMSGroundOverlay(bounds: overlayBounds, icon: icon) in setOverlays()
|
| /expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsOverlays.swift | 14 …CLLocationCoordinate2D(latitude: overlayObject.bounds.southWest.latitude, longitude: overlayObject… in setOverlays() 15 …CLLocationCoordinate2D(latitude: overlayObject.bounds.northEast.latitude, longitude: overlayObject… in setOverlays() 19 let overlay = GMSGroundOverlay(bounds: overlayBounds, icon: icon) in setOverlays()
|
| /expo/packages/expo-dev-menu/ios/UITests/ |
| H A D | UIView+DevMenuExtension.swift | 5 …return isHidden == false && window != nil && bounds.isEmpty == false && bounds.width > 0 && bounds… in isVisible()
|
| /expo/packages/expo-maps/android/src/main/java/expo/modules/maps/googleMaps/ |
| H A D | GoogleMapsOverlays.kt | 22 …val southWest = LatLng(overlayObject.bounds.southWest.latitude, overlayObject.bounds.southWest.lon… in <lambda>() 23 …val northEast = LatLng(overlayObject.bounds.northEast.latitude, overlayObject.bounds.northEast.lon… in <lambda>() 24 val bounds = LatLngBounds(southWest, northEast) in <lambda>() constant 25 …GroundOverlayOptions().image(BitmapDescriptorFactory.fromPath(localUri)).positionFromBounds(bounds) in <lambda>()
|
| /expo/apps/test-suite/tests/ |
| H A D | BarCodeScanner.js | 25 t.expect(bounds).toBeDefined(); 26 t.expect(typeof bounds.origin).toBe('object'); 27 t.expect(typeof bounds.origin.x).toBe('number'); 28 t.expect(typeof bounds.origin.y).toBe('number'); 29 t.expect(typeof bounds.size).toBe('object'); 30 t.expect(typeof bounds.size.width).toBe('number'); 31 t.expect(typeof bounds.size.height).toBe('number'); 33 testPoint(bounds.origin.x, expectedBounds.origin.x, originInaccuracy); 87 result[0].bounds, 116 result[0].bounds, [all …]
|
| /expo/ios/versioned/sdk49/EXBarCodeScanner/EXBarCodeScanner/Utilities/ |
| H A D | ABI49_0_0EXBarCodeScannerUtils.m | 63 if (!CGRectIsEmpty(barCodeScannerResult.bounds)) { 79 result[@"bounds"] = @{ 81 @"x": @(barCodeScannerResult.bounds.origin.x), 82 @"y": @(barCodeScannerResult.bounds.origin.y), 85 @"width": @(barCodeScannerResult.bounds.size.width), 86 @"height": @(barCodeScannerResult.bounds.size.height), 111 result[@"bounds"] = @{ 113 @"x": @(barCodeScannerResult.bounds.origin.x), 114 @"y": @(barCodeScannerResult.bounds.origin.y), 117 @"width": @(barCodeScannerResult.bounds.size.width), [all …]
|
| /expo/ios/versioned/sdk48/EXBarCodeScanner/EXBarCodeScanner/Utilities/ |
| H A D | ABI48_0_0EXBarCodeScannerUtils.m | 63 if (!CGRectIsEmpty(barCodeScannerResult.bounds)) { 79 result[@"bounds"] = @{ 81 @"x": @(barCodeScannerResult.bounds.origin.x), 82 @"y": @(barCodeScannerResult.bounds.origin.y), 85 @"width": @(barCodeScannerResult.bounds.size.width), 86 @"height": @(barCodeScannerResult.bounds.size.height), 111 result[@"bounds"] = @{ 113 @"x": @(barCodeScannerResult.bounds.origin.x), 114 @"y": @(barCodeScannerResult.bounds.origin.y), 117 @"width": @(barCodeScannerResult.bounds.size.width), [all …]
|
| /expo/ios/versioned/sdk47/EXBarCodeScanner/EXBarCodeScanner/Utilities/ |
| H A D | ABI47_0_0EXBarCodeScannerUtils.m | 62 if (!CGRectIsEmpty(barCodeScannerResult.bounds)) { 78 result[@"bounds"] = @{ 80 @"x": @(barCodeScannerResult.bounds.origin.x), 81 @"y": @(barCodeScannerResult.bounds.origin.y), 84 @"width": @(barCodeScannerResult.bounds.size.width), 85 @"height": @(barCodeScannerResult.bounds.size.height), 110 result[@"bounds"] = @{ 112 @"x": @(barCodeScannerResult.bounds.origin.x), 113 @"y": @(barCodeScannerResult.bounds.origin.y), 116 @"width": @(barCodeScannerResult.bounds.size.width), [all …]
|