Home
last modified time | relevance | path

Searched refs:allowedOrientations (Results 1 – 6 of 6) sorted by relevance

/expo/packages/expo-screen-orientation/ios/
H A DScreenOrientationModule.swift28 AsyncFunction("lockPlatformAsync") { (allowedOrientations: [ModuleOrientation]) in in definition()
31 for allowedOrientation in allowedOrientations { in definition()
55 var allowedOrientations: [Int] = [] in definition() variable
63 … allowedOrientations.append(ModuleOrientation.from(orientation: supportedOrientation).rawValue) in definition()
66 return allowedOrientations in definition()
/expo/ios/versioned/sdk49/ExpoScreenOrientation/
H A DScreenOrientationModule.swift28 AsyncFunction("lockPlatformAsync") { (allowedOrientations: [ModuleOrientation]) in in definition()
31 for allowedOrientation in allowedOrientations { in definition()
55 var allowedOrientations: [Int] = [] in definition() variable
63 … allowedOrientations.append(ModuleOrientation.from(orientation: supportedOrientation).rawValue) in definition()
66 return allowedOrientations in definition()
/expo/ios/versioned/sdk47/EXScreenOrientation/EXScreenOrientation/
H A DABI47_0_0EXScreenOrientationModule.m65 lockPlatformAsync:(NSArray <NSNumber *> *)allowedOrientations
69 // combine all the allowedOrientations into one bitmask
71 for (NSNumber *allowedOrientation in allowedOrientations) {
107 // If the particular orientation is supported, we add it to the array of allowedOrientations
108 NSMutableArray *allowedOrientations = [[NSMutableArray alloc] init];
113 …[allowedOrientations addObject:[ABI47_0_0EXScreenOrientationUtilities exportOrientation:supportedO…
116 resolve(allowedOrientations);
/expo/ios/versioned/sdk48/EXScreenOrientation/EXScreenOrientation/
H A DABI48_0_0EXScreenOrientationModule.m65 lockPlatformAsync:(NSArray <NSNumber *> *)allowedOrientations
69 // combine all the allowedOrientations into one bitmask
71 for (NSNumber *allowedOrientation in allowedOrientations) {
107 // If the particular orientation is supported, we add it to the array of allowedOrientations
108 NSMutableArray *allowedOrientations = [[NSMutableArray alloc] init];
113 …[allowedOrientations addObject:[ABI48_0_0EXScreenOrientationUtilities exportOrientation:supportedO…
116 resolve(allowedOrientations);
/expo/packages/expo-modules-core/ios/AppDelegates/
H A DExpoAppDelegate.swift301 let deviceOrientationMask = allowedOrientations(for: UIDevice.current.userInterfaceIdiom) in application()
302 let universalOrientationMask = allowedOrientations(for: .unspecified) in application()
358 private func allowedOrientations(for userInterfaceIdiom: UIUserInterfaceIdiom) -> UIInterfaceOrient… in allowedOrientations() function
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/AppDelegates/
H A DExpoAppDelegate.swift298 let deviceOrientationMask = allowedOrientations(for: UIDevice.current.userInterfaceIdiom) in application()
299 let universalOrientationMask = allowedOrientations(for: .unspecified) in application()
350 private func allowedOrientations(for userInterfaceIdiom: UIUserInterfaceIdiom) -> UIInterfaceOrient… in allowedOrientations() function