| /expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/private/base/ |
| H A D | SkMalloc.h | 59 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 60 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 63 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 67 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 70 if (size > 200000) { in sk_calloc_canfail() 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 88 if (size > 200000) { in sk_malloc_canfail() 92 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 97 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 99 if (size) { in sk_bzero() [all …]
|
| /expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/base/ |
| H A D | SkMalloc.h | 59 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 60 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 63 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 67 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 70 if (size > 200000) { in sk_calloc_canfail() 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 88 if (size > 200000) { in sk_malloc_canfail() 92 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 97 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 99 if (size) { in sk_bzero() [all …]
|
| /expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/base/ |
| H A D | SkMalloc.h | 59 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 60 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 63 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 67 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 70 if (size > 200000) { in sk_calloc_canfail() 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 88 if (size > 200000) { in sk_malloc_canfail() 92 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 97 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 99 if (size) { in sk_bzero() [all …]
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkMalloc.h | 58 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 59 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 62 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 66 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 69 if (size > 200000) { in sk_calloc_canfail() 88 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 91 if (size > 200000) { in sk_malloc_canfail() 95 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 100 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 102 if (size) { in sk_bzero() [all …]
|
| /expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/private/base/ |
| H A D | SkMalloc.h | 59 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 60 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 63 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 67 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 70 if (size > 200000) { in sk_calloc_canfail() 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 88 if (size > 200000) { in sk_malloc_canfail() 92 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 97 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 99 if (size) { in sk_bzero() [all …]
|
| /expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/base/ |
| H A D | SkMalloc.h | 59 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 60 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 63 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 67 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 70 if (size > 200000) { in sk_calloc_canfail() 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 88 if (size > 200000) { in sk_malloc_canfail() 92 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 97 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 99 if (size) { in sk_bzero() [all …]
|
| /expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/ |
| H A D | SkMalloc.h | 58 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 59 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 62 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 66 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 69 if (size > 200000) { in sk_calloc_canfail() 84 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 87 if (size > 200000) { in sk_malloc_canfail() 91 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 96 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 98 if (size) { in sk_bzero() [all …]
|
| /expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/private/base/ |
| H A D | SkMalloc.h | 59 static inline void* sk_malloc_throw(size_t size) { in sk_malloc_throw() argument 60 return sk_malloc_flags(size, SK_MALLOC_THROW); in sk_malloc_throw() 63 static inline void* sk_calloc_throw(size_t size) { in sk_calloc_throw() argument 67 static inline void* sk_calloc_canfail(size_t size) { in sk_calloc_canfail() argument 70 if (size > 200000) { in sk_calloc_canfail() 85 static inline void* sk_malloc_canfail(size_t size) { in sk_malloc_canfail() argument 88 if (size > 200000) { in sk_malloc_canfail() 92 return sk_malloc_flags(size, 0); in sk_malloc_canfail() 97 static inline void sk_bzero(void* buffer, size_t size) { in sk_bzero() argument 99 if (size) { in sk_bzero() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/SharedElement/ |
| H A D | ABI48_0_0RNSharedElementContent.m | 60 CGSize size = layout.size; 68 CGSize size = layout.size; 73 BOOL lo = (size.width / size.height) < contentAspectRatio; 80 size.height = size.width / contentAspectRatio; 82 size.width = size.height * contentAspectRatio; 87 size.width = size.height * contentAspectRatio; 89 size.height = size.width / contentAspectRatio; 93 size = contentSize; 99 contentLayout.origin.x += (contentLayout.size.width - size.width) / 2; 100 contentLayout.origin.y += (contentLayout.size.height - size.height) / 2; [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Components/SharedElement/ |
| H A D | ABI47_0_0RNSharedElementContent.m | 59 CGSize size = layout.size; 67 CGSize size = layout.size; 72 BOOL lo = (size.width / size.height) < contentAspectRatio; 79 size.height = size.width / contentAspectRatio; 81 size.width = size.height * contentAspectRatio; 86 size.width = size.height * contentAspectRatio; 88 size.height = size.width / contentAspectRatio; 92 size = contentSize; 98 contentLayout.origin.x += (contentLayout.size.width - size.width) / 2; 99 contentLayout.origin.y += (contentLayout.size.height - size.height) / 2; [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/graphics/tests/ |
| H A D | ABI49_0_0TransformTest.cpp | 16 auto size = ABI49_0_0facebook::ABI49_0_0React::Size{100, 200}; in TEST() 17 auto scaledSize = size * Transform::Scale(0.5, 0.5, 1); in TEST() 33 auto size = ABI49_0_0facebook::ABI49_0_0React::Size{300, 400}; in TEST() 40 ABI49_0_0EXPECT_EQ(transformedRect.size.width, 150); in TEST() 41 ABI49_0_0EXPECT_EQ(transformedRect.size.height, 200); in TEST() 46 auto transformedSize = size * Transform::VerticalInversion(); in TEST() 53 auto size = ABI49_0_0facebook::ABI49_0_0React::Size{10, 10}; in TEST() 60 ASSERT_NEAR(transformedRect.size.width, 14.1421, 0.0001); in TEST() 61 ASSERT_NEAR(transformedRect.size.height, 14.1421, 0.0001); in TEST() 74 ABI49_0_0EXPECT_EQ(transformedRect.size.width, 150); in TEST() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/graphics/tests/ |
| H A D | ABI48_0_0TransformTest.cpp | 16 auto size = ABI48_0_0facebook::ABI48_0_0React::Size{100, 200}; in TEST() 17 auto scaledSize = size * Transform::Scale(0.5, 0.5, 1); in TEST() 33 auto size = ABI48_0_0facebook::ABI48_0_0React::Size{300, 400}; in TEST() 40 ABI48_0_0EXPECT_EQ(transformedRect.size.width, 150); in TEST() 41 ABI48_0_0EXPECT_EQ(transformedRect.size.height, 200); in TEST() 46 auto transformedSize = size * Transform::VerticalInversion(); in TEST() 53 auto size = ABI48_0_0facebook::ABI48_0_0React::Size{10, 10}; in TEST() 60 ASSERT_NEAR(transformedRect.size.width, 14.1421, 0.0001); in TEST() 61 ASSERT_NEAR(transformedRect.size.height, 14.1421, 0.0001); in TEST() 74 ABI48_0_0EXPECT_EQ(transformedRect.size.width, 150); in TEST() [all …]
|
| /expo/packages/expo-image/ios/ |
| H A D | ImageUtils.swift | 80 if size.width <= 0 || size.height <= 0 { in shouldDownscale() 85 if size.width.isInfinite || size.height.isInfinite { in shouldDownscale() 89 let imageSize = image.size * image.scale in shouldDownscale() 90 return imageSize.width > (size.width * scale) && imageSize.height > (size.height * scale) in shouldDownscale() 110 return resize(image: image, toSize: size, scale: scale) in resize() 120 return UIGraphicsImageRenderer(size: size, format: format).image { _ in in resize() 121 image.draw(in: CGRect(origin: .zero, size: size)) in resize() 133 if size.width <= 0 || size.height <= 0 { in getBestSource() 141 let targetPixelCount = size.width * size.height * scale * scale in getBestSource() 171 return CGSize(width: size.width * scalar, height: size.height * scalar) in *() [all …]
|
| /expo/ios/versioned/sdk49/ExpoImage/ |
| H A D | ImageUtils.swift | 80 if size.width <= 0 || size.height <= 0 { in shouldDownscale() 85 if size.width.isInfinite || size.height.isInfinite { in shouldDownscale() 89 let imageSize = image.size * image.scale in shouldDownscale() 90 return imageSize.width > (size.width * scale) && imageSize.height > (size.height * scale) in shouldDownscale() 110 return resize(image: image, toSize: size, scale: scale) in resize() 120 return UIGraphicsImageRenderer(size: size, format: format).image { _ in in resize() 121 image.draw(in: CGRect(origin: .zero, size: size)) in resize() 133 if size.width <= 0 || size.height <= 0 { in getBestSource() 141 let targetPixelCount = size.width * size.height * scale * scale in getBestSource() 171 return CGSize(width: size.width * scalar, height: size.height * scalar) in *() [all …]
|
| /expo/ios/versioned/sdk48/ExpoImage/ |
| H A D | ImageUtils.swift | 80 if size.width <= 0 || size.height <= 0 { in shouldDownscale() 85 if size.width.isInfinite || size.height.isInfinite { in shouldDownscale() 89 let imageSize = image.size * image.scale in shouldDownscale() 90 return imageSize.width > size.width && imageSize.height > size.height in shouldDownscale() 110 return resize(image: image, toSize: size, scale: scale) in resize() 120 return UIGraphicsImageRenderer(size: size, format: format).image { _ in in resize() 121 image.draw(in: CGRect(origin: .zero, size: size)) in resize() 133 if size.width <= 0 || size.height <= 0 { in getBestSource() 141 let targetPixelCount = size.width * size.height * scale * scale in getBestSource() 171 return CGSize(width: size.width * scalar, height: size.height * scalar) in *() [all …]
|
| /expo/packages/expo-image-manipulator/ios/ |
| H A D | ImageManipulations.swift | 31 let imageWidth = image.size.width in manipulate() 32 let imageHeight = image.size.height in manipulate() 66 let rotatedView = UIView(frame: CGRect(origin: .zero, size: image.size)) in manipulate() 71 let origin = CGPoint(x: -image.size.width / 2, y: -image.size.height / 2) in manipulate() 77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate() 87 return try drawInNewContext(size: imageView.frame.size) { context in in manipulate() 107 || rect.width > image.size.width in manipulate() 108 || rect.height > image.size.height in manipulate() 139 transform = transform.translatedBy(x: image.size.width, y: image.size.height) in fixImageOrientation() 164 width: Int(image.size.width), in fixImageOrientation() [all …]
|
| /expo/ios/versioned/sdk49/ExpoImageManipulator/ |
| H A D | ImageManipulations.swift | 31 let imageWidth = image.size.width in manipulate() 32 let imageHeight = image.size.height in manipulate() 66 let rotatedView = UIView(frame: CGRect(origin: .zero, size: image.size)) in manipulate() 71 let origin = CGPoint(x: -image.size.width / 2, y: -image.size.height / 2) in manipulate() 77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate() 87 return try drawInNewContext(size: imageView.frame.size) { context in in manipulate() 107 || rect.width > image.size.width in manipulate() 108 || rect.height > image.size.height in manipulate() 139 transform = transform.translatedBy(x: image.size.width, y: image.size.height) in fixImageOrientation() 164 width: Int(image.size.width), in fixImageOrientation() [all …]
|
| /expo/ios/versioned/sdk48/ExpoImageManipulator/ |
| H A D | ImageManipulations.swift | 31 let imageWidth = image.size.width in manipulate() 32 let imageHeight = image.size.height in manipulate() 66 let rotatedView = UIView(frame: CGRect(origin: .zero, size: image.size)) in manipulate() 71 let origin = CGPoint(x: -image.size.width / 2, y: -image.size.height / 2) in manipulate() 77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate() 87 return try drawInNewContext(size: imageView.frame.size) { context in in manipulate() 107 || rect.width > image.size.width in manipulate() 108 || rect.height > image.size.height in manipulate() 136 transform = transform.translatedBy(x: image.size.width, y: image.size.height) in fixImageOrientation() 161 width: Int(image.size.width), in fixImageOrientation() [all …]
|
| /expo/ios/versioned/sdk47/ExpoImageManipulator/ |
| H A D | ImageManipulations.swift | 31 let imageWidth = image.size.width in manipulate() 32 let imageHeight = image.size.height in manipulate() 66 let rotatedView = UIView(frame: CGRect(origin: .zero, size: image.size)) in manipulate() 71 let origin = CGPoint(x: -image.size.width / 2, y: -image.size.height / 2) in manipulate() 77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate() 87 return try drawInNewContext(size: imageView.frame.size) { context in in manipulate() 107 || rect.width > image.size.width in manipulate() 108 || rect.height > image.size.height in manipulate() 136 transform = transform.translatedBy(x: image.size.width, y: image.size.height) in fixImageOrientation() 161 width: Int(image.size.width), in fixImageOrientation() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/graphics/tests/ |
| H A D | ABI47_0_0TransformTest.cpp | 16 auto size = ABI47_0_0facebook::ABI47_0_0React::Size{100, 200}; in TEST() 17 auto scaledSize = size * Transform::Scale(0.5, 0.5, 1); in TEST() 33 auto size = ABI47_0_0facebook::ABI47_0_0React::Size{300, 400}; in TEST() 40 ABI47_0_0EXPECT_EQ(transformedRect.size.width, 150); in TEST() 41 ABI47_0_0EXPECT_EQ(transformedRect.size.height, 200); in TEST() 46 auto size = ABI47_0_0facebook::ABI47_0_0React::Size{10, 10}; in TEST() 53 ASSERT_NEAR(transformedRect.size.width, 14.1421, 0.0001); in TEST() 54 ASSERT_NEAR(transformedRect.size.height, 14.1421, 0.0001); in TEST() 59 auto size = ABI47_0_0facebook::ABI47_0_0React::Size{300, 400}; in TEST() 67 ABI47_0_0EXPECT_EQ(transformedRect.size.width, 150); in TEST() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/functions/ |
| H A D | AnyFunction.kt | 22 internal val argsCount get() = desiredArgsTypes.size in <lambda>() 32 return@run desiredArgsTypes.size in <lambda>() 35 return@run desiredArgsTypes.size - nonNullableArgIndex in <lambda>() 46 if (requiredArgumentsCount > args.size() || args.size() > desiredArgsTypes.size) { in <lambda>() 47 throw InvalidArgsNumberException(args.size(), desiredArgsTypes.size, requiredArgumentsCount) in <lambda>() 50 val finalArgs = Array<Any?>(desiredArgsTypes.size) { null } in <lambda>() 52 for (index in 0 until args.size()) { in <lambda>() 73 if (requiredArgumentsCount > args.size || args.size > desiredArgsTypes.size) { in <lambda>() 74 throw InvalidArgsNumberException(args.size, desiredArgsTypes.size, requiredArgumentsCount) in <lambda>() 77 val finalArgs = Array<Any?>(desiredArgsTypes.size) { null } in <lambda>()
|
| /expo/packages/expo-image-picker/ios/ |
| H A D | UIImage+fixOrientation.swift | 18 .translatedBy(x: self.size.width, y: self.size.height) in fixOrientation() 23 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 28 .translatedBy(x: 0, y: self.size.height) in fixOrientation() 39 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 44 .translatedBy(x: self.size.height, y: 0) in fixOrientation() 53 width: Int(self.size.width), in fixOrientation() 54 height: Int(self.size.height), in fixOrientation() 70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation() 72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
|
| /expo/ios/versioned/sdk49/ExpoImagePicker/ |
| H A D | UIImage+fixOrientation.swift | 18 .translatedBy(x: self.size.width, y: self.size.height) in fixOrientation() 23 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 28 .translatedBy(x: 0, y: self.size.height) in fixOrientation() 39 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 44 .translatedBy(x: self.size.height, y: 0) in fixOrientation() 53 width: Int(self.size.width), in fixOrientation() 54 height: Int(self.size.height), in fixOrientation() 70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation() 72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
|
| /expo/ios/versioned/sdk48/ExpoImagePicker/ |
| H A D | UIImage+fixOrientation.swift | 18 .translatedBy(x: self.size.width, y: self.size.height) in fixOrientation() 23 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 28 .translatedBy(x: 0, y: self.size.height) in fixOrientation() 39 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 44 .translatedBy(x: self.size.height, y: 0) in fixOrientation() 53 width: Int(self.size.width), in fixOrientation() 54 height: Int(self.size.height), in fixOrientation() 70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation() 72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
|
| /expo/ios/versioned/sdk47/ExpoImagePicker/ |
| H A D | UIImage+fixOrientation.swift | 18 .translatedBy(x: self.size.width, y: self.size.height) in fixOrientation() 23 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 28 .translatedBy(x: 0, y: self.size.height) in fixOrientation() 39 .translatedBy(x: self.size.width, y: 0) in fixOrientation() 44 .translatedBy(x: self.size.height, y: 0) in fixOrientation() 53 width: Int(self.size.width), in fixOrientation() 54 height: Int(self.size.height), in fixOrientation() 70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation() 72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
|