| /expo/packages/expo-image-picker/ios/ |
| H A D | UIImage+fixOrientation.swift | 19 .rotated(by: .pi) in fixOrientation() 24 .rotated(by: .pi / 2) in fixOrientation() 29 .rotated(by: -.pi / 2) in fixOrientation()
|
| /expo/ios/versioned/sdk49/ExpoImagePicker/ |
| H A D | UIImage+fixOrientation.swift | 19 .rotated(by: .pi) in fixOrientation() 24 .rotated(by: .pi / 2) in fixOrientation() 29 .rotated(by: -.pi / 2) in fixOrientation()
|
| /expo/ios/versioned/sdk48/ExpoImagePicker/ |
| H A D | UIImage+fixOrientation.swift | 19 .rotated(by: .pi) in fixOrientation() 24 .rotated(by: .pi / 2) in fixOrientation() 29 .rotated(by: -.pi / 2) in fixOrientation()
|
| /expo/ios/versioned/sdk47/ExpoImagePicker/ |
| H A D | UIImage+fixOrientation.swift | 19 .rotated(by: .pi) in fixOrientation() 24 .rotated(by: .pi / 2) in fixOrientation() 29 .rotated(by: -.pi / 2) in fixOrientation()
|
| /expo/packages/expo-dev-menu/ios/OverlayContainer/ |
| H A D | SpringOverlayTranslationAnimationController.swift | 66 let stiffness = pow(2 * .pi / response, 2) 67 let damp = 4 * .pi * damping / response
|
| /expo/packages/expo-modules-core/ios/Tests/ |
| H A D | ExpoModulesSpec.swift | 26 Function(testFunctionName) { Double.pi } in spec() 74 … expect(try runtime.eval("expo.modules.TestModule.\(testFunctionName)()").asDouble()) == Double.pi in spec()
|
| H A D | FunctionSpec.swift | 248 Function("returnPi") { Double.pi } in spec() 276 expect(try runtime.eval("expo.modules.TestModule.returnPi()").asDouble()) == Double.pi in spec()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/ |
| H A D | ExpoModulesSpec.swift | 26 Function(testFunctionName) { Double.pi } in spec() 74 … expect(try runtime.eval("expo.modules.TestModule.\(testFunctionName)()").asDouble()) == Double.pi in spec()
|
| H A D | FunctionSpec.swift | 248 Function("returnPi") { Double.pi } in spec() 276 expect(try runtime.eval("expo.modules.TestModule.returnPi()").asDouble()) == Double.pi in spec()
|
| /expo/packages/expo-module-template/ios/ |
| H A D | {%- project.moduleName %}.swift | 15 "PI": Double.pi in definition()
|
| /expo/packages/expo-module-template-local/ios/ |
| H A D | {%- project.moduleName %}.swift | 15 "PI": Double.pi in definition()
|
| /expo/packages/expo-sensors/ios/ |
| H A D | SensorsUtils.swift | 28 return radians * 180 / Double.pi in radiansToDegrees()
|
| /expo/packages/expo-image-manipulator/ios/ |
| H A D | ImageManipulations.swift | 65 let rads = rotate * Double.pi / 180 in manipulate() 140 transform = transform.rotated(by: Double.pi) in fixImageOrientation() 143 transform = transform.rotated(by: Double.pi / 2) in fixImageOrientation() 146 transform = transform.rotated(by: -Double.pi / 2) in fixImageOrientation()
|
| /expo/ios/versioned/sdk49/ExpoImageManipulator/ |
| H A D | ImageManipulations.swift | 65 let rads = rotate * Double.pi / 180 in manipulate() 140 transform = transform.rotated(by: Double.pi) in fixImageOrientation() 143 transform = transform.rotated(by: Double.pi / 2) in fixImageOrientation() 146 transform = transform.rotated(by: -Double.pi / 2) in fixImageOrientation()
|
| /expo/ios/versioned/sdk48/ExpoImageManipulator/ |
| H A D | ImageManipulations.swift | 65 let rads = rotate * Double.pi / 180 in manipulate() 137 transform = transform.rotated(by: Double.pi) in fixImageOrientation() 140 transform = transform.rotated(by: Double.pi / 2) in fixImageOrientation() 143 transform = transform.rotated(by: -Double.pi / 2) in fixImageOrientation()
|
| /expo/ios/versioned/sdk47/ExpoImageManipulator/ |
| H A D | ImageManipulations.swift | 65 let rads = rotate * Double.pi / 180 in manipulate() 137 transform = transform.rotated(by: Double.pi) in fixImageOrientation() 140 transform = transform.rotated(by: Double.pi / 2) in fixImageOrientation() 143 transform = transform.rotated(by: -Double.pi / 2) in fixImageOrientation()
|
| /expo/packages/expo-image/ios/ |
| H A D | Blurhash.swift | 59 …let basis = cos(Float.pi * Float(x) * Float(i) / Float(width)) * cos(Float.pi * Float(y) * Float(j… in image() 145 …normalisation * cos(Float.pi * Float(x) * $0 / Float(width)) as Float * cos(Float.pi * Float(y) * …
|
| H A D | Thumbhash.swift | 122 fx[x] = cos(Float32.pi / fw * fcx * (fxx + 0.5)) in rgbaToThumbHash() 130 let fy = cos(Float32.pi / fh * fcy * (fyy + 0.5)) in rgbaToThumbHash() 337 fx[cx] = cos(Float32.pi / fw * (fxx + 0.5) * fcx) in thumbHashToRGBA() 345 fy[cy] = cos(Float32.pi / fh * (fyy + 0.5) * fcy) in thumbHashToRGBA()
|
| /expo/ios/versioned/sdk49/ExpoImage/ |
| H A D | Blurhash.swift | 59 …let basis = cos(Float.pi * Float(x) * Float(i) / Float(width)) * cos(Float.pi * Float(y) * Float(j… in image() 145 …normalisation * cos(Float.pi * Float(x) * $0 / Float(width)) as Float * cos(Float.pi * Float(y) * …
|
| H A D | Thumbhash.swift | 122 fx[x] = cos(Float32.pi / fw * fcx * (fxx + 0.5)) in rgbaToThumbHash() 130 let fy = cos(Float32.pi / fh * fcy * (fyy + 0.5)) in rgbaToThumbHash() 337 fx[cx] = cos(Float32.pi / fw * (fxx + 0.5) * fcx) in thumbHashToRGBA() 345 fy[cy] = cos(Float32.pi / fh * (fyy + 0.5) * fcy) in thumbHashToRGBA()
|
| /expo/ios/versioned/sdk48/ExpoImage/ |
| H A D | Blurhash.swift | 59 …let basis = cos(Float.pi * Float(x) * Float(i) / Float(width)) * cos(Float.pi * Float(y) * Float(j… in image() 145 …normalisation * cos(Float.pi * Float(x) * $0 / Float(width)) as Float * cos(Float.pi * Float(y) * …
|
| /expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/AppleMaps/ |
| H A D | AppleMapsCameraAnimations.swift | 33 newCamera.altitude = distance * cos(Double(newCamera.pitch) * Double.pi / 180) in moveCamera()
|
| /expo/packages/expo-maps/ios/ExpoMaps/AppleMaps/ |
| H A D | AppleMapsCameraAnimations.swift | 33 newCamera.altitude = distance * cos(Double(newCamera.pitch) * Double.pi / 180) in moveCamera()
|
| /expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/AppleMaps/ |
| H A D | AppleMapsCameraAnimations.swift | 33 newCamera.altitude = distance * cos(Double(newCamera.pitch) * Double.pi / 180) in moveCamera()
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Fabric/ |
| H A D | ABI47_0_0RCTSurfaceTouchHandler.mm | 118 // for azimuthRad == math.pi/2 the pen is on the positive X axis 121 // for azimuthRad == math.pi, the pen is on the negative Y axis 124 // for azimuthRad == math.pi + math.pi/2 pen on negative X axis
|