| /expo/packages/expo-dev-launcher/ios/Manifest/ |
| H A D | EXDevLauncherManifestHelper.swift | 7 …private static func defaultOrientationForOrientationMask(_ orientationMask: UIInterfaceOrientation… in defaultOrientationForOrientationMask() 8 if orientationMask.contains(.all) { in defaultOrientationForOrientationMask() 10 } else if orientationMask.contains(.portrait) { in defaultOrientationForOrientationMask() 12 } else if orientationMask.contains(.landscapeLeft) { in defaultOrientationForOrientationMask() 14 } else if orientationMask.contains(.landscapeRight) { in defaultOrientationForOrientationMask() 16 } else if orientationMask.contains(.portraitUpsideDown) { in defaultOrientationForOrientationMask() 25 var orientationMask = UIInterfaceOrientationMask.all in exportManifestOrientation() variable 27 orientationMask = .portrait in exportManifestOrientation() 29 orientationMask = .landscape in exportManifestOrientation() 32 return defaultOrientationForOrientationMask(orientationMask) in exportManifestOrientation()
|
| /expo/packages/expo-screen-orientation/ios/ |
| H A D | ScreenOrientationModule.swift | 15 let orientationMask = orientationLock.toInterfaceOrientationMask() in definition() variable 17 guard !orientationMask.isEmpty else { in definition() 21 guard orientationMask.isSupportedByDevice() else { in definition() 25 screenOrientationRegistry.setMask(orientationMask, forController: self) in definition() 33 let orientationMask = orientation.toInterfaceOrientationMask() in definition() variable 35 guard !orientationMask.isEmpty else { in definition() 39 allowedOrientationsMask.insert(orientationMask) in definition() 54 let orientationMask = screenOrientationRegistry.currentOrientationMask in definition() variable 60 let supportedOrientationMask = orientationMask.intersection(wrappedSingleOrientation) in definition() 70 let orientationMask = orientationLock.toInterfaceOrientationMask() in definition() variable [all …]
|
| H A D | ScreenOrientationViewController.swift | 107 var orientationMask: UIInterfaceOrientationMask = [] in getSupportedInterfaceOrientations() variable 114 orientationMask.insert(orientation) in getSupportedInterfaceOrientations() 117 return orientationMask.isEmpty ? allPossibleOrientations : orientationMask in getSupportedInterfaceOrientations()
|
| H A D | ScreenOrientationRegistry.swift | 77 …public func enforceDesiredDeviceOrientation(withOrientationMask orientationMask: UIInterfaceOrient… in screenOrientationDidChange() 78 var newOrientation = orientationMask.defaultOrientation() in screenOrientationDidChange() 80 if orientationMask.contains(currentScreenOrientation) { in screenOrientationDidChange() 95 windowScene?.requestGeometryUpdate(.iOS(interfaceOrientations: orientationMask)) in screenOrientationDidChange()
|
| /expo/ios/versioned/sdk49/ExpoScreenOrientation/ |
| H A D | ScreenOrientationModule.swift | 15 let orientationMask = orientationLock.toInterfaceOrientationMask() in definition() variable 17 guard !orientationMask.isEmpty else { in definition() 21 guard orientationMask.isSupportedByDevice() else { in definition() 25 screenOrientationRegistry.setMask(orientationMask, forController: self) in definition() 33 let orientationMask = orientation.toInterfaceOrientationMask() in definition() variable 35 guard !orientationMask.isEmpty else { in definition() 39 allowedOrientationsMask.insert(orientationMask) in definition() 54 let orientationMask = screenOrientationRegistry.currentOrientationMask in definition() variable 60 let supportedOrientationMask = orientationMask.intersection(wrappedSingleOrientation) in definition() 70 let orientationMask = orientationLock.toInterfaceOrientationMask() in definition() variable [all …]
|
| H A D | ScreenOrientationViewController.swift | 107 var orientationMask: UIInterfaceOrientationMask = [] in getSupportedInterfaceOrientations() variable 114 orientationMask.insert(orientation) in getSupportedInterfaceOrientations() 117 return orientationMask.isEmpty ? allPossibleOrientations : orientationMask in getSupportedInterfaceOrientations()
|
| /expo/ios/versioned/sdk48/EXScreenOrientation/EXScreenOrientation/ |
| H A D | ABI48_0_0EXScreenOrientationUtilities.m | 17 + (BOOL)doesDeviceSupportOrientationMask:(UIInterfaceOrientationMask)orientationMask 19 …tationMaskPortraitUpsideDown & orientationMask) // UIInterfaceOrientationMaskPortraitUpsideDown is… 68 return (maskFromOrientation & orientationMask); 71 …terfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask 73 if (UIInterfaceOrientationMaskPortrait & orientationMask) { 75 } else if (UIInterfaceOrientationMaskLandscapeLeft & orientationMask) { 77 } else if (UIInterfaceOrientationMaskLandscapeRight & orientationMask) { 79 } else if (UIInterfaceOrientationMaskPortraitUpsideDown & orientationMask) { 137 + (NSNumber *)exportOrientationLock:(UIInterfaceOrientationMask)orientationMask 146 NSNumber *exportedOrientation = exportOrientationLockMap[@(orientationMask)]; [all …]
|
| H A D | ABI48_0_0EXScreenOrientationUtilities.h | 8 + (BOOL)doesDeviceSupportOrientationMask:(UIInterfaceOrientationMask)orientationMask; 9 + (BOOL)doesOrientationMask:(UIInterfaceOrientationMask)orientationMask containOrientation:(UIInter… 10 …erfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask; 18 + (NSNumber *)exportOrientationLock:(UIInterfaceOrientationMask)orientationMask;
|
| H A D | ABI48_0_0EXScreenOrientationModule.m | 51 …UIInterfaceOrientationMask orientationMask = [ABI48_0_0EXScreenOrientationUtilities importOrientat… 53 if (!orientationMask) { 56 if (![ABI48_0_0EXScreenOrientationUtilities doesDeviceSupportOrientationMask:orientationMask]) { 60 [_screenOrientationRegistry setMask:orientationMask forModule:self]; 73 …UIInterfaceOrientationMask orientationMask = [ABI48_0_0EXScreenOrientationUtilities maskFromOrient… 74 if (!orientationMask) { 78 allowedOrientationsMask = allowedOrientationsMask | orientationMask; 100 UIInterfaceOrientationMask orientationMask = [_screenOrientationRegistry currentOrientationMask]; 110 …UIInterfaceOrientationMask supportedOrientationMask = orientationMask & [wrappedSingleOrientation … 124 …UIInterfaceOrientationMask orientationMask = [ABI48_0_0EXScreenOrientationUtilities importOrientat… [all …]
|
| H A D | ABI48_0_0EXScreenOrientationRegistry.m | 73 …void)enforceDesiredDeviceOrientationWithOrientationMask:(UIInterfaceOrientationMask)orientationMask 76 …if (![ABI48_0_0EXScreenOrientationUtilities doesOrientationMask:orientationMask containOrientation… 77 …ion = [ABI48_0_0EXScreenOrientationUtilities defaultOrientationForOrientationMask:orientationMask];
|
| /expo/ios/versioned/sdk47/EXScreenOrientation/EXScreenOrientation/ |
| H A D | ABI47_0_0EXScreenOrientationUtilities.m | 17 + (BOOL)doesDeviceSupportOrientationMask:(UIInterfaceOrientationMask)orientationMask 19 …tationMaskPortraitUpsideDown & orientationMask) // UIInterfaceOrientationMaskPortraitUpsideDown is… 68 return (maskFromOrientation & orientationMask); 71 …terfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask 73 if (UIInterfaceOrientationMaskPortrait & orientationMask) { 75 } else if (UIInterfaceOrientationMaskLandscapeLeft & orientationMask) { 77 } else if (UIInterfaceOrientationMaskLandscapeRight & orientationMask) { 79 } else if (UIInterfaceOrientationMaskPortraitUpsideDown & orientationMask) { 137 + (NSNumber *)exportOrientationLock:(UIInterfaceOrientationMask)orientationMask 146 NSNumber *exportedOrientation = exportOrientationLockMap[@(orientationMask)]; [all …]
|
| H A D | ABI47_0_0EXScreenOrientationUtilities.h | 8 + (BOOL)doesDeviceSupportOrientationMask:(UIInterfaceOrientationMask)orientationMask; 9 + (BOOL)doesOrientationMask:(UIInterfaceOrientationMask)orientationMask containOrientation:(UIInter… 10 …erfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask; 18 + (NSNumber *)exportOrientationLock:(UIInterfaceOrientationMask)orientationMask;
|
| H A D | ABI47_0_0EXScreenOrientationModule.m | 51 …UIInterfaceOrientationMask orientationMask = [ABI47_0_0EXScreenOrientationUtilities importOrientat… 53 if (!orientationMask) { 56 if (![ABI47_0_0EXScreenOrientationUtilities doesDeviceSupportOrientationMask:orientationMask]) { 60 [_screenOrientationRegistry setMask:orientationMask forModule:self]; 73 …UIInterfaceOrientationMask orientationMask = [ABI47_0_0EXScreenOrientationUtilities maskFromOrient… 74 if (!orientationMask) { 78 allowedOrientationsMask = allowedOrientationsMask | orientationMask; 100 UIInterfaceOrientationMask orientationMask = [_screenOrientationRegistry currentOrientationMask]; 110 …UIInterfaceOrientationMask supportedOrientationMask = orientationMask & [wrappedSingleOrientation … 124 …UIInterfaceOrientationMask orientationMask = [ABI47_0_0EXScreenOrientationUtilities importOrientat… [all …]
|
| H A D | ABI47_0_0EXScreenOrientationRegistry.m | 73 …void)enforceDesiredDeviceOrientationWithOrientationMask:(UIInterfaceOrientationMask)orientationMask 76 …if (![ABI47_0_0EXScreenOrientationUtilities doesOrientationMask:orientationMask containOrientation… 77 …ion = [ABI47_0_0EXScreenOrientationUtilities defaultOrientationForOrientationMask:orientationMask];
|
| /expo/ios/vendored/sdk47/react-native-screens/ios/ |
| H A D | ABI47_0_0RNSScreenWindowTraits.mm | 98 …terfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask 100 if (UIInterfaceOrientationMaskPortrait & orientationMask) { 102 } else if (UIInterfaceOrientationMaskLandscapeLeft & orientationMask) { 104 } else if (UIInterfaceOrientationMaskLandscapeRight & orientationMask) { 106 } else if (UIInterfaceOrientationMaskPortraitUpsideDown & orientationMask) { 139 UIInterfaceOrientationMask orientationMask = UIInterfaceOrientationMaskAllButUpsideDown; 145 orientationMask = [firstWindow rootViewController].supportedInterfaceOrientations; 156 …([ABI47_0_0RNSScreenWindowTraits maskFromOrientation:currentDeviceOrientation] & orientationMask) { 157 …I47_0_0RNSScreenWindowTraits maskFromOrientation:currentInterfaceOrientation] & orientationMask)) { 168 …I47_0_0RNSScreenWindowTraits maskFromOrientation:currentInterfaceOrientation] & orientationMask)) { [all …]
|
| H A D | ABI47_0_0RNSScreenWindowTraits.h | 16 …erfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask;
|
| /expo/ios/vendored/sdk48/react-native-screens/ios/ |
| H A D | ABI48_0_0RNSScreenWindowTraits.mm | 98 …terfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask 100 if (UIInterfaceOrientationMaskPortrait & orientationMask) { 102 } else if (UIInterfaceOrientationMaskLandscapeLeft & orientationMask) { 104 } else if (UIInterfaceOrientationMaskLandscapeRight & orientationMask) { 106 } else if (UIInterfaceOrientationMaskPortraitUpsideDown & orientationMask) { 139 UIInterfaceOrientationMask orientationMask = UIInterfaceOrientationMaskAllButUpsideDown; 145 orientationMask = [firstWindow rootViewController].supportedInterfaceOrientations; 156 …([ABI48_0_0RNSScreenWindowTraits maskFromOrientation:currentDeviceOrientation] & orientationMask) { 157 …I48_0_0RNSScreenWindowTraits maskFromOrientation:currentInterfaceOrientation] & orientationMask)) { 168 …I48_0_0RNSScreenWindowTraits maskFromOrientation:currentInterfaceOrientation] & orientationMask)) { [all …]
|
| H A D | ABI48_0_0RNSScreenWindowTraits.h | 16 …erfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask;
|
| /expo/ios/vendored/unversioned/react-native-screens/ios/ |
| H A D | RNSScreenWindowTraits.mm | 98 …terfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask 100 if (UIInterfaceOrientationMaskPortrait & orientationMask) { 102 } else if (UIInterfaceOrientationMaskLandscapeLeft & orientationMask) { 104 } else if (UIInterfaceOrientationMaskLandscapeRight & orientationMask) { 106 } else if (UIInterfaceOrientationMaskPortraitUpsideDown & orientationMask) { 139 UIInterfaceOrientationMask orientationMask = UIInterfaceOrientationMaskAllButUpsideDown; 145 orientationMask = [firstWindow rootViewController].supportedInterfaceOrientations; 156 if ([RNSScreenWindowTraits maskFromOrientation:currentDeviceOrientation] & orientationMask) { 157 …if (!([RNSScreenWindowTraits maskFromOrientation:currentInterfaceOrientation] & orientationMask)) { 171 … newOrientation = [RNSScreenWindowTraits defaultOrientationForOrientationMask:orientationMask]; [all …]
|
| H A D | RNSScreenWindowTraits.h | 16 …erfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask;
|
| /expo/ios/vendored/sdk49/react-native-screens/ios/ |
| H A D | ABI49_0_0RNSScreenWindowTraits.mm | 98 …terfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask 100 if (UIInterfaceOrientationMaskPortrait & orientationMask) { 102 } else if (UIInterfaceOrientationMaskLandscapeLeft & orientationMask) { 104 } else if (UIInterfaceOrientationMaskLandscapeRight & orientationMask) { 106 } else if (UIInterfaceOrientationMaskPortraitUpsideDown & orientationMask) { 139 UIInterfaceOrientationMask orientationMask = UIInterfaceOrientationMaskAllButUpsideDown; 145 orientationMask = [firstWindow rootViewController].supportedInterfaceOrientations; 156 …([ABI49_0_0RNSScreenWindowTraits maskFromOrientation:currentDeviceOrientation] & orientationMask) { 157 …I49_0_0RNSScreenWindowTraits maskFromOrientation:currentInterfaceOrientation] & orientationMask)) { 171 …rientation = [ABI49_0_0RNSScreenWindowTraits defaultOrientationForOrientationMask:orientationMask]; [all …]
|
| H A D | ABI49_0_0RNSScreenWindowTraits.h | 16 …erfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask;
|
| /expo/ios/Client/ |
| H A D | EXRootViewController.m | 284 UIInterfaceOrientationMask orientationMask = [self supportedInterfaceOrientations]; 285 …reenOrientationRegistry.shared enforceDesiredDeviceOrientationWithOrientationMask:orientationMask];
|