| /expo/packages/expo-image-manipulator/src/actions/ |
| H A D | CropAction.web.ts | 8 let { originX = 0, originY = 0, width = 0, height = 0 } = options; 14 originY = clamp(originY, canvas.height); 18 height = Math.min(originY + height, canvas.height) - originY; 32 context.drawImage(canvas, originX, originY, width, height, 0, 0, width, height);
|
| /expo/packages/expo-image-manipulator/build/actions/ |
| H A D | CropAction.web.js | 5 let { originX = 0, originY = 0, width = 0, height = 0 } = options; 11 originY = clamp(originY, canvas.height); 14 height = Math.min(originY + height, canvas.height) - originY; 22 context.drawImage(canvas, originX, originY, width, height, 0, 0, width, height);
|
| H A D | CropAction.web.js.map | 1 …originY = 0, width = 0, height = 0 } = options;\n const clamp = (value, max) => Math.max(0, Math.…
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/imagemanipulator/actions/ |
| H A D | CropAction.kt | 10 class CropAction(private val originX: Int, private val originY: Int, private val width: Int, privat… constant in abi47_0_0.expo.modules.imagemanipulator.actions.CropAction 14 originY <= bitmap.height && in run() 16 originY + height <= bitmap.height in run() 18 return Bitmap.createBitmap(bitmap, originX, originY, width, height) in run() 25 val originY = (o[KEY_ORIGIN_Y] as Double).toInt() in fromObject() constant 28 return CropAction(originX, originY, width, height) in fromObject()
|
| /expo/ios/vendored/unversioned/react-native-reanimated/ios/LayoutReanimation/ |
| H A D | REASnapshot.m | 40 _values[@"originY"] = _values[@"globalOriginY"]; 57 …float originY = [_values[@"originY"] doubleValue] + headerHeight + headerOriginY + additionalModal… 58 _values[@"originY"] = @(originY); 77 _values[@"originY"] = @([_values[@"originY"] doubleValue] - [ty doubleValue]); 84 _values[@"originY"] = [NSNumber numberWithDouble:view.center.y - view.bounds.size.height / 2.0];
|
| H A D | REAAnimationsManager.m | 53 _array = @[ @"originX", @"originY", @"width", @"height" ]; 206 if (newProps[@"originY"]) { 208 double originY = [self getDoubleOrZero:newProps[@"originY"]]; 209 [newProps removeObjectForKey:@"originY"]; 210 centerY = originY + view.bounds.size.height / 2.0; 247 @"targetOriginY" : values[@"originY"], 259 @"currentOriginY" : values[@"originY"], 276 preparedData[@"currentOriginY"] = currentValues[@"originY"]; 282 preparedData[@"targetOriginY"] = targetValues[@"originY"];
|
| /expo/ios/vendored/sdk49/react-native-reanimated/ios/LayoutReanimation/ |
| H A D | ABI49_0_0REASnapshot.m | 40 _values[@"originY"] = _values[@"globalOriginY"]; 57 …float originY = [_values[@"originY"] doubleValue] + headerHeight + headerOriginY + additionalModal… 58 _values[@"originY"] = @(originY); 77 _values[@"originY"] = @([_values[@"originY"] doubleValue] - [ty doubleValue]); 84 _values[@"originY"] = [NSNumber numberWithDouble:view.center.y - view.bounds.size.height / 2.0];
|
| /expo/packages/expo-image-manipulator/android/src/main/java/expo/modules/imagemanipulator/actions/ |
| H A D | CropAction.kt | 10 rect.originY <= bitmap.height && in run() 14 …return Bitmap.createBitmap(bitmap, rect.originX.toInt(), rect.originY.toInt(), rect.width.toInt(),… in run()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/imagemanipulator/actions/ |
| H A D | CropAction.kt | 10 rect.originY <= bitmap.height && in run() 14 …return Bitmap.createBitmap(bitmap, rect.originX.toInt(), rect.originY.toInt(), rect.width.toInt(),… in run()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/imagemanipulator/actions/ |
| H A D | CropAction.kt | 10 rect.originY <= bitmap.height && in run() 14 …return Bitmap.createBitmap(bitmap, rect.originX.toInt(), rect.originY.toInt(), rect.width.toInt(),… in run()
|
| /expo/android/vendored/sdk49/react-native-reanimated/android/src/main/java/abi49_0_0/com/swmansion/reanimated/layoutReanimation/ |
| H A D | Snapshot.java | 45 public int originY; field in Snapshot 84 originY = view.getTop(); in Snapshot() 96 originY = location[1]; in Snapshot() 114 originY -= (height - height * transformedView.getScaleY()) / 2; in Snapshot() 121 data.put(Snapshot.TARGET_ORIGIN_Y, originY); in addTargetConfig() 131 data.put(Snapshot.CURRENT_ORIGIN_Y, originY); in addCurrentConfig() 141 data.put(Snapshot.ORIGIN_Y, originY); in addBasicConfig()
|
| H A D | SharedTransitionManager.java | 169 currentTargetViewSnapshot.originY in maybeRestartAnimationWithNewLayout() 171 + newTargetViewSnapshot.originY; in maybeRestartAnimationWithNewLayout() 174 currentTargetViewSnapshot.originY = newOriginY; in maybeRestartAnimationWithNewLayout() 434 int originY = viewSourcePreviousSnapshot.originY; in finishSharedAnimation() local 436 viewSourcePreviousSnapshot.originY = viewSourcePreviousSnapshot.originYByParent; in finishSharedAnimation() 449 viewSourcePreviousSnapshot.originY = originY; in finishSharedAnimation()
|
| /expo/android/vendored/unversioned/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/layoutReanimation/ |
| H A D | Snapshot.java | 45 public int originY; field in Snapshot 84 originY = view.getTop(); in Snapshot() 96 originY = location[1]; in Snapshot() 114 originY -= (height - height * transformedView.getScaleY()) / 2; in Snapshot() 121 data.put(Snapshot.TARGET_ORIGIN_Y, originY); in addTargetConfig() 131 data.put(Snapshot.CURRENT_ORIGIN_Y, originY); in addCurrentConfig() 141 data.put(Snapshot.ORIGIN_Y, originY); in addBasicConfig()
|
| H A D | SharedTransitionManager.java | 169 currentTargetViewSnapshot.originY in maybeRestartAnimationWithNewLayout() 171 + newTargetViewSnapshot.originY; in maybeRestartAnimationWithNewLayout() 174 currentTargetViewSnapshot.originY = newOriginY; in maybeRestartAnimationWithNewLayout() 434 int originY = viewSourcePreviousSnapshot.originY; in finishSharedAnimation() local 436 viewSourcePreviousSnapshot.originY = viewSourcePreviousSnapshot.originYByParent; in finishSharedAnimation() 449 viewSourcePreviousSnapshot.originY = originY; in finishSharedAnimation()
|
| /expo/packages/expo-image-manipulator/ios/ |
| H A D | ImageManipulatorArguments.swift | 42 var originY: Double = 0.0 variable 51 return CGRect(x: originX, y: originY, width: width, height: height) in toRect()
|
| /expo/ios/versioned/sdk49/ExpoImageManipulator/ |
| H A D | ImageManipulatorArguments.swift | 42 var originY: Double = 0.0 variable 51 return CGRect(x: originX, y: originY, width: width, height: height) in toRect()
|
| /expo/ios/versioned/sdk48/ExpoImageManipulator/ |
| H A D | ImageManipulatorArguments.swift | 42 var originY: Double = 0.0 variable 51 return CGRect(x: originX, y: originY, width: width, height: height) in toRect()
|
| /expo/ios/versioned/sdk47/ExpoImageManipulator/ |
| H A D | ImageManipulatorArguments.swift | 42 var originY: Double = 0.0 variable 51 return CGRect(x: originX, y: originY, width: width, height: height) in toRect()
|
| /expo/android/vendored/sdk48/react-native-reanimated/android/src/main/java/abi48_0_0/com/swmansion/reanimated/layoutReanimation/ |
| H A D | Snapshot.java | 41 public int originY; field in Snapshot 59 originY = view.getTop(); in Snapshot() 87 data.put(Snapshot.TARGET_ORIGIN_Y, originY); in addTargetConfig() 96 data.put(Snapshot.CURRENT_ORIGIN_Y, originY); in addCurrentConfig()
|
| /expo/android/vendored/sdk47/react-native-reanimated/android/src/main/java/abi47_0_0/com/swmansion/reanimated/layoutReanimation/ |
| H A D | Snapshot.java | 41 public int originY; field in Snapshot 59 originY = view.getTop(); in Snapshot() 87 data.put(Snapshot.TARGET_ORIGIN_Y, originY); in addTargetConfig() 96 data.put(Snapshot.CURRENT_ORIGIN_Y, originY); in addCurrentConfig()
|
| /expo/ios/vendored/sdk47/react-native-reanimated/ios/LayoutReanimation/ |
| H A D | ABI47_0_0REAAnimationsManager.m | 37 _array = @[ @"originX", @"originY", @"width", @"height" ]; 230 if (newProps[@"originY"]) { 231 double originY = [self getDoubleOrZero:newProps[@"originY"]]; 232 view.center = CGPointMake(view.center.x, originY + view.bounds.size.height / 2.0); 233 [newProps removeObjectForKey:@"originY"]; 246 @"targetOriginY" : values[@"originY"], 258 @"currentOriginY" : values[@"originY"], 276 @"currentOriginY" : currentValues[@"originY"], 282 @"targetOriginY" : targetValues[@"originY"],
|
| /expo/ios/vendored/sdk48/react-native-reanimated/ios/LayoutReanimation/ |
| H A D | ABI48_0_0REAAnimationsManager.m | 37 _array = @[ @"originX", @"originY", @"width", @"height" ]; 230 if (newProps[@"originY"]) { 231 double originY = [self getDoubleOrZero:newProps[@"originY"]]; 232 view.center = CGPointMake(view.center.x, originY + view.bounds.size.height / 2.0); 233 [newProps removeObjectForKey:@"originY"]; 246 @"targetOriginY" : values[@"originY"], 258 @"currentOriginY" : values[@"originY"], 276 @"currentOriginY" : currentValues[@"originY"], 282 @"targetOriginY" : targetValues[@"originY"],
|
| /expo/packages/expo-image-manipulator/src/__tests__/ |
| H A D | validators-test.ts | 43 originY: 10, 58 originY: 10,
|
| /expo/packages/expo-image-manipulator/src/ |
| H A D | ImageManipulator.types.ts | 67 originY: number;
|
| /expo/packages/expo-image-manipulator/build/ |
| H A D | ImageManipulator.types.d.ts | 56 originY: number;
|