| /expo/android/vendored/unversioned/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/ |
| H A D | RotationGestureDetector.kt | 22 var rotation = 0.0 in onRotation() variable 71 rotation = if (previousAngle.isNaN()) { in onRotation() 76 if (rotation > Math.PI) { in onRotation() 77 rotation -= Math.PI in onRotation() 78 } else if (rotation < -Math.PI) { in onRotation() 79 rotation += Math.PI in onRotation() 81 if (rotation > Math.PI / 2.0) { in onRotation() 82 rotation -= Math.PI in onRotation() 83 } else if (rotation < -Math.PI / 2.0) { in onRotation() 84 rotation += Math.PI in onRotation()
|
| H A D | RotationGestureHandler.kt | 10 var rotation = 0.0 variable 25 val prevRotation: Double = rotation in onRotation() 26 rotation += detector.rotation in onRotation() 29 velocity = (rotation - prevRotation) / delta in onRotation() 31 if (abs(rotation) >= ROTATION_RECOGNITION_THRESHOLD && state == STATE_BEGAN) { in onRotation() 87 rotation = 0.0 in resetProgress()
|
| /expo/android/vendored/sdk49/react-native-gesture-handler/android/src/main/java/abi49_0_0/com/swmansion/gesturehandler/core/ |
| H A D | RotationGestureDetector.kt | 22 var rotation = 0.0 in onRotation() variable 71 rotation = if (previousAngle.isNaN()) { in onRotation() 76 if (rotation > Math.PI) { in onRotation() 77 rotation -= Math.PI in onRotation() 78 } else if (rotation < -Math.PI) { in onRotation() 79 rotation += Math.PI in onRotation() 81 if (rotation > Math.PI / 2.0) { in onRotation() 82 rotation -= Math.PI in onRotation() 83 } else if (rotation < -Math.PI / 2.0) { in onRotation() 84 rotation += Math.PI in onRotation()
|
| H A D | RotationGestureHandler.kt | 10 var rotation = 0.0 variable in abi49_0_0.com.swmansion.gesturehandler.core.RotationGestureHandler 25 val prevRotation: Double = rotation in onRotation() 26 rotation += detector.rotation in onRotation() 29 velocity = (rotation - prevRotation) / delta in onRotation() 31 if (abs(rotation) >= ROTATION_RECOGNITION_THRESHOLD && state == STATE_BEGAN) { in onRotation() 87 rotation = 0.0 in resetProgress()
|
| /expo/android/vendored/sdk48/react-native-gesture-handler/android/src/main/java/abi48_0_0/com/swmansion/gesturehandler/core/ |
| H A D | RotationGestureDetector.kt | 22 var rotation = 0.0 in onRotation() variable 71 rotation = if (previousAngle.isNaN()) { in onRotation() 76 if (rotation > Math.PI) { in onRotation() 77 rotation -= Math.PI in onRotation() 78 } else if (rotation < -Math.PI) { in onRotation() 79 rotation += Math.PI in onRotation() 81 if (rotation > Math.PI / 2.0) { in onRotation() 82 rotation -= Math.PI in onRotation() 83 } else if (rotation < -Math.PI / 2.0) { in onRotation() 84 rotation += Math.PI in onRotation()
|
| H A D | RotationGestureHandler.kt | 10 var rotation = 0.0 variable in abi48_0_0.com.swmansion.gesturehandler.core.RotationGestureHandler 25 val prevRotation: Double = rotation in onRotation() 26 rotation += detector.rotation in onRotation() 29 velocity = (rotation - prevRotation) / delta in onRotation() 31 if (abs(rotation) >= ROTATION_RECOGNITION_THRESHOLD && state == STATE_BEGAN) { in onRotation() 87 rotation = 0.0 in resetProgress()
|
| /expo/android/vendored/sdk47/react-native-gesture-handler/android/src/main/java/abi47_0_0/com/swmansion/gesturehandler/core/ |
| H A D | RotationGestureDetector.kt | 22 var rotation = 0.0 in onRotation() variable in abi47_0_0.com.swmansion.gesturehandler.core.RotationGestureDetector 71 rotation = if (previousAngle.isNaN()) { in onRotation() 76 if (rotation > Math.PI) { in onRotation() 77 rotation -= Math.PI in onRotation() 78 } else if (rotation < -Math.PI) { in onRotation() 79 rotation += Math.PI in onRotation() 81 if (rotation > Math.PI / 2.0) { in onRotation() 82 rotation -= Math.PI in onRotation() 83 } else if (rotation < -Math.PI / 2.0) { in onRotation() 84 rotation += Math.PI in onRotation()
|
| H A D | RotationGestureHandler.kt | 10 var rotation = 0.0 variable in abi47_0_0.com.swmansion.gesturehandler.core.RotationGestureHandler 25 val prevRotation: Double = rotation in onRotation() 26 rotation += detector.rotation in onRotation() 29 velocity = (rotation - prevRotation) / delta in onRotation() 31 if (abs(rotation) >= ROTATION_RECOGNITION_THRESHOLD && state == STATE_BEGAN) { in onRotation() 87 rotation = 0.0 in resetProgress()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/imagemanipulator/actions/ |
| H A D | RotateAction.kt | 6 class RotateAction(private val rotation: Int) : Action { constant in abi47_0_0.expo.modules.imagemanipulator.actions.RotateAction 12 get() = Matrix().apply { postRotate(rotation.toFloat()) } in <lambda>() 15 fun fromObject(rotation: Int): RotateAction { in fromObject() 16 return RotateAction(rotation) in fromObject()
|
| /expo/packages/expo-screen-orientation/android/src/main/java/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 96 val rotation = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { in <lambda>() constant 97 currentActivity.window.context.display?.rotation ?: return Orientation.UNKNOWN in <lambda>() 99 windowManager.defaultDisplay.rotation in <lambda>() 115 if (isPortraitNaturalOrientation(rotation, dm.widthPixels, dm.heightPixels)) { in <lambda>() 116 currentOrientation = when (rotation) { in <lambda>() 126 currentOrientation = when (rotation) { in <lambda>() 141 private fun isPortraitNaturalOrientation(rotation: Int, width: Int, height: Int): Boolean { in <lambda>() 142 return (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) && in <lambda>() 143 height > width || (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) && in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 96 val rotation = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { in <lambda>() constant 97 currentActivity.window.context.display?.rotation ?: return Orientation.UNKNOWN in <lambda>() 99 windowManager.defaultDisplay.rotation in <lambda>() 115 if (isPortraitNaturalOrientation(rotation, dm.widthPixels, dm.heightPixels)) { in <lambda>() 116 currentOrientation = when (rotation) { in <lambda>() 126 currentOrientation = when (rotation) { in <lambda>() 141 private fun isPortraitNaturalOrientation(rotation: Int, width: Int, height: Int): Boolean { in <lambda>() 142 return (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) && in <lambda>() 143 height > width || (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) && in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/barcodescanner/ |
| H A D | ExpoBarCodeScanner.kt | 34 var rotation = 0 in <lambda>() variable 101 rotation = (tmpCameraInfo.info.orientation + degrees) % 360 in <lambda>() 102 rotation = (360 - rotation) % 360 in <lambda>() 104 rotation = (tmpCameraInfo.info.orientation - degrees + 360) % 360 in <lambda>() 106 setDisplayOrientation(rotation) in <lambda>() 108 temporaryParameters.setRotation(rotation) in <lambda>() 123 if (rotation == 90 || rotation == 270) { in <lambda>() 131 var rotation = 0 in <lambda>() variable
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/barcodescanner/ |
| H A D | ExpoBarCodeScanner.kt | 34 var rotation = 0 in <lambda>() variable 101 rotation = (tmpCameraInfo.info.orientation + degrees) % 360 in <lambda>() 102 rotation = (360 - rotation) % 360 in <lambda>() 104 rotation = (tmpCameraInfo.info.orientation - degrees + 360) % 360 in <lambda>() 106 setDisplayOrientation(rotation) in <lambda>() 108 temporaryParameters.setRotation(rotation) in <lambda>() 123 if (rotation == 90 || rotation == 270) { in <lambda>() 131 var rotation = 0 in <lambda>() variable
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/barcodescanner/ |
| H A D | ExpoBarCodeScanner.kt | 34 var rotation = 0 in <lambda>() variable 101 rotation = (tmpCameraInfo.info.orientation + degrees) % 360 in <lambda>() 102 rotation = (360 - rotation) % 360 in <lambda>() 104 rotation = (tmpCameraInfo.info.orientation - degrees + 360) % 360 in <lambda>() 106 setDisplayOrientation(rotation) in <lambda>() 108 temporaryParameters.setRotation(rotation) in <lambda>() 123 if (rotation == 90 || rotation == 270) { in <lambda>() 131 var rotation = 0 in <lambda>() variable in abi48_0_0.expo.modules.barcodescanner.ExpoBarCodeScanner.CameraInfoWrapper
|
| /expo/packages/expo-barcode-scanner/android/src/main/java/expo/modules/barcodescanner/ |
| H A D | ExpoBarCodeScanner.kt | 34 var rotation = 0 in <lambda>() variable in expo.modules.barcodescanner.ExpoBarCodeScanner 101 rotation = (tmpCameraInfo.info.orientation + degrees) % 360 in <lambda>() 102 rotation = (360 - rotation) % 360 in <lambda>() 104 rotation = (tmpCameraInfo.info.orientation - degrees + 360) % 360 in <lambda>() 106 setDisplayOrientation(rotation) in <lambda>() 108 temporaryParameters.setRotation(rotation) in <lambda>() 123 if (rotation == 90 || rotation == 270) { in <lambda>() 131 var rotation = 0 in <lambda>() variable
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 139 val rotation = windowManager.defaultDisplay.rotation in <lambda>() constant 144 if (isPortraitNaturalOrientation(rotation, dm.widthPixels, dm.heightPixels)) { in <lambda>() 145 currentOrientation = when (rotation) { in <lambda>() 155 currentOrientation = when (rotation) { in <lambda>() 170 private fun isPortraitNaturalOrientation(rotation: Int, width: Int, height: Int): Boolean { in <lambda>() 171 return (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) && in <lambda>() 172 height > width || (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) && in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 139 val rotation = windowManager.defaultDisplay.rotation in <lambda>() constant 144 if (isPortraitNaturalOrientation(rotation, dm.widthPixels, dm.heightPixels)) { in <lambda>() 145 currentOrientation = when (rotation) { in <lambda>() 155 currentOrientation = when (rotation) { in <lambda>() 170 private fun isPortraitNaturalOrientation(rotation: Int, width: Int, height: Int): Boolean { in <lambda>() 171 return (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) && in <lambda>() 172 height > width || (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) && in <lambda>()
|
| /expo/packages/expo-barcode-scanner/android/src/main/java/expo/modules/barcodescanner/utils/ |
| H A D | ImageDimensions.kt | 6 val rotation: Int = 0, constant in expo.modules.barcodescanner.utils.ImageDimensions 9 private val isLandscape = rotation % 180 == 90
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/barcodescanner/utils/ |
| H A D | ImageDimensions.kt | 6 val rotation: Int = 0, constant in abi48_0_0.expo.modules.barcodescanner.utils.ImageDimensions 9 private val isLandscape = rotation % 180 == 90
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/barcodescanner/utils/ |
| H A D | ImageDimensions.kt | 6 val rotation: Int = 0, constant in abi49_0_0.expo.modules.barcodescanner.utils.ImageDimensions 9 private val isLandscape = rotation % 180 == 90
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/barcodescanner/utils/ |
| H A D | ImageDimensions.kt | 6 val rotation: Int = 0, constant in abi47_0_0.expo.modules.barcodescanner.utils.ImageDimensions 9 private val isLandscape = rotation % 180 == 90
|
| /expo/packages/expo-camera/android/src/main/java/expo/modules/camera/utils/ |
| H A D | ImageDimensions.kt | 3 …oads constructor(private val mWidth: Int, private val mHeight: Int, val rotation: Int = 0, val fac… constant in expo.modules.camera.utils.ImageDimensions 5 get() = rotation % 180 == 90
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/camera/utils/ |
| H A D | ImageDimensions.kt | 3 …oads constructor(private val mWidth: Int, private val mHeight: Int, val rotation: Int = 0, val fac… constant in abi48_0_0.expo.modules.camera.utils.ImageDimensions 5 get() = rotation % 180 == 90
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/camera/utils/ |
| H A D | ImageDimensions.kt | 3 …oads constructor(private val mWidth: Int, private val mHeight: Int, val rotation: Int = 0, val fac… constant in abi47_0_0.expo.modules.camera.utils.ImageDimensions 5 get() = rotation % 180 == 90
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/camera/utils/ |
| H A D | ImageDimensions.kt | 3 …oads constructor(private val mWidth: Int, private val mHeight: Int, val rotation: Int = 0, val fac… constant in abi49_0_0.expo.modules.camera.utils.ImageDimensions 5 get() = rotation % 180 == 90
|