Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 25 of 36) sorted by relevance

12

/expo/packages/expo-image-picker/ios/
H A DUIImage+fixOrientation.swift19 .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 DUIImage+fixOrientation.swift19 .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 DUIImage+fixOrientation.swift19 .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 DUIImage+fixOrientation.swift19 .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 DSpringOverlayTranslationAnimationController.swift66 let stiffness = pow(2 * .pi / response, 2)
67 let damp = 4 * .pi * damping / response
/expo/packages/expo-modules-core/ios/Tests/
H A DExpoModulesSpec.swift26 Function(testFunctionName) { Double.pi } in spec()
74 … expect(try runtime.eval("expo.modules.TestModule.\(testFunctionName)()").asDouble()) == Double.pi in spec()
H A DFunctionSpec.swift248 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 DExpoModulesSpec.swift26 Function(testFunctionName) { Double.pi } in spec()
74 … expect(try runtime.eval("expo.modules.TestModule.\(testFunctionName)()").asDouble()) == Double.pi in spec()
H A DFunctionSpec.swift248 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 %}.swift15 "PI": Double.pi in definition()
/expo/packages/expo-module-template-local/ios/
H A D{%- project.moduleName %}.swift15 "PI": Double.pi in definition()
/expo/packages/expo-sensors/ios/
H A DSensorsUtils.swift28 return radians * 180 / Double.pi in radiansToDegrees()
/expo/packages/expo-image-manipulator/ios/
H A DImageManipulations.swift65 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 DImageManipulations.swift65 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 DImageManipulations.swift65 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 DImageManipulations.swift65 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 DBlurhash.swift59 …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 DThumbhash.swift122 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 DBlurhash.swift59 …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 DThumbhash.swift122 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 DBlurhash.swift59 …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 DAppleMapsCameraAnimations.swift33 newCamera.altitude = distance * cos(Double(newCamera.pitch) * Double.pi / 180) in moveCamera()
/expo/packages/expo-maps/ios/ExpoMaps/AppleMaps/
H A DAppleMapsCameraAnimations.swift33 newCamera.altitude = distance * cos(Double(newCamera.pitch) * Double.pi / 180) in moveCamera()
/expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/AppleMaps/
H A DAppleMapsCameraAnimations.swift33 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 DABI47_0_0RCTSurfaceTouchHandler.mm118 // 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

12