| /expo/packages/expo-screen-orientation/build/ |
| H A D | ScreenOrientation.types.js | 38 OrientationLock[OrientationLock["DEFAULT"] = 0] = "DEFAULT"; 42 OrientationLock[OrientationLock["ALL"] = 1] = "ALL"; 46 OrientationLock[OrientationLock["PORTRAIT"] = 2] = "PORTRAIT"; 50 OrientationLock[OrientationLock["PORTRAIT_UP"] = 3] = "PORTRAIT_UP"; 54 OrientationLock[OrientationLock["PORTRAIT_DOWN"] = 4] = "PORTRAIT_DOWN"; 58 OrientationLock[OrientationLock["LANDSCAPE"] = 5] = "LANDSCAPE"; 62 OrientationLock[OrientationLock["LANDSCAPE_LEFT"] = 6] = "LANDSCAPE_LEFT"; 66 OrientationLock[OrientationLock["LANDSCAPE_RIGHT"] = 7] = "LANDSCAPE_RIGHT"; 70 OrientationLock[OrientationLock["OTHER"] = 8] = "OTHER"; 74 OrientationLock[OrientationLock["UNKNOWN"] = 9] = "UNKNOWN"; [all …]
|
| H A D | ScreenOrientation.d.ts | 2 import { Orientation, OrientationChangeEvent, OrientationChangeListener, OrientationLock, PlatformO… 3 export { Orientation, OrientationLock, PlatformOrientationInfo, OrientationChangeListener, Orientat… 17 export declare function lockAsync(orientationLock: OrientationLock): Promise<void>; 41 export declare function getOrientationLockAsync(): Promise<OrientationLock>; 55 export declare function supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boo…
|
| H A D | ExpoScreenOrientation.web.js | 3 import { Orientation, OrientationLock, WebOrientationLock, WebOrientation, } from './ScreenOrientat… 5 [OrientationLock.DEFAULT]: WebOrientationLock.NATURAL, 6 [OrientationLock.ALL]: WebOrientationLock.ANY, 7 [OrientationLock.PORTRAIT]: WebOrientationLock.PORTRAIT, 8 [OrientationLock.PORTRAIT_UP]: WebOrientationLock.PORTRAIT_PRIMARY, 9 [OrientationLock.PORTRAIT_DOWN]: WebOrientationLock.PORTRAIT_SECONDARY, 10 [OrientationLock.LANDSCAPE]: WebOrientationLock.LANDSCAPE, 11 [OrientationLock.LANDSCAPE_LEFT]: WebOrientationLock.LANDSCAPE_PRIMARY, 12 [OrientationLock.LANDSCAPE_RIGHT]: WebOrientationLock.LANDSCAPE_SECONDARY,
|
| H A D | ExpoScreenOrientation.web.d.ts | 1 import { Orientation, OrientationLock, WebOrientationLock } from './ScreenOrientation.types'; 4 supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean>; 7 lockAsync(orientationLock: OrientationLock): Promise<void>;
|
| H A D | ScreenOrientation.js | 3 import { Orientation, OrientationLock, WebOrientationLock, WebOrientation, SizeClassIOS, } from './… 4 export { Orientation, OrientationLock, WebOrientationLock, WebOrientation, SizeClassIOS, }; 7 let _lastOrientationLock = OrientationLock.UNKNOWN; 26 const orientationLocks = Object.values(OrientationLock); 30 if (orientationLock === OrientationLock.OTHER) { 78 _lastOrientationLock = OrientationLock.OTHER; 89 await ExpoScreenOrientation.lockAsync(OrientationLock.DEFAULT); 154 const orientationLocks = Object.values(OrientationLock);
|
| H A D | ScreenOrientation.types.d.ts | 29 export declare enum OrientationLock { enum 146 orientationLock: OrientationLock;
|
| H A D | ScreenOrientation.js.map | 1 …OrientationLock,\n PlatformOrientationInfo,\n WebOrientationLock,\n WebOrientation,\n SizeClas…
|
| /expo/packages/expo-screen-orientation/plugin/src/ |
| H A D | withScreenOrientation.ts | 10 const OrientationLock = { constant 21 type OrientationMasks = keyof typeof OrientationLock; 30 initialOrientation?: keyof typeof OrientationLock; 56 initialOrientation in OrientationLock, 58 OrientationLock 62 infoPlist[INITIAL_ORIENTATION_KEY] = OrientationLock[initialOrientation];
|
| /expo/packages/expo-screen-orientation/src/ |
| H A D | ExpoScreenOrientation.web.ts | 6 OrientationLock, 14 [OrientationLock.DEFAULT]: WebOrientationLock.NATURAL, 15 [OrientationLock.ALL]: WebOrientationLock.ANY, constant 16 [OrientationLock.PORTRAIT]: WebOrientationLock.PORTRAIT, constant 17 [OrientationLock.PORTRAIT_UP]: WebOrientationLock.PORTRAIT_PRIMARY, constant 18 [OrientationLock.PORTRAIT_DOWN]: WebOrientationLock.PORTRAIT_SECONDARY, constant 19 [OrientationLock.LANDSCAPE]: WebOrientationLock.LANDSCAPE, constant 20 [OrientationLock.LANDSCAPE_LEFT]: WebOrientationLock.LANDSCAPE_PRIMARY, constant 21 [OrientationLock.LANDSCAPE_RIGHT]: WebOrientationLock.LANDSCAPE_SECONDARY, constant 110 async supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean> { [all …]
|
| H A D | ScreenOrientation.ts | 8 OrientationLock, 18 OrientationLock, 32 let _lastOrientationLock: OrientationLock = OrientationLock.UNKNOWN; 48 export async function lockAsync(orientationLock: OrientationLock): Promise<void> { 53 const orientationLocks = Object.values(OrientationLock); 58 if (orientationLock === OrientationLock.OTHER) { 116 _lastOrientationLock = OrientationLock.OTHER; 128 await ExpoScreenOrientation.lockAsync(OrientationLock.DEFAULT); 150 export async function getOrientationLockAsync(): Promise<OrientationLock> { 191 orientationLock: OrientationLock [all …]
|
| H A D | ScreenOrientation.types.ts | 32 export enum OrientationLock { enum 162 orientationLock: OrientationLock;
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | ScreenOrientationScreen.tsx | 10 orientationLock?: ScreenOrientation.OrientationLock; 101 ScreenOrientation.OrientationLock.PORTRAIT_DOWN 108 value: ScreenOrientation.OrientationLock; 111 ScreenOrientation.OrientationLock.DEFAULT, 112 ScreenOrientation.OrientationLock.ALL, 113 ScreenOrientation.OrientationLock.PORTRAIT, 114 ScreenOrientation.OrientationLock.PORTRAIT_UP, 115 ScreenOrientation.OrientationLock.PORTRAIT_DOWN, 116 ScreenOrientation.OrientationLock.LANDSCAPE, 117 ScreenOrientation.OrientationLock.LANDSCAPE_LEFT, [all …]
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 70 OrientationLock orientationLock = OrientationLock.valueOf(orientationLockStr); in lockAsync() 148 OrientationLock lockJS = OrientationLock.valueOf(orientationLockStr); in supportsOrientationLockAsync() 224 public enum OrientationLock { enum in ScreenOrientationModule 240 return OrientationLock.DEFAULT; in orientationLockNativeToJS() 242 return OrientationLock.ALL; in orientationLockNativeToJS() 244 return OrientationLock.PORTRAIT; in orientationLockNativeToJS() 246 return OrientationLock.PORTRAIT_UP; in orientationLockNativeToJS() 248 return OrientationLock.PORTRAIT_DOWN; in orientationLockNativeToJS() 250 return OrientationLock.LANDSCAPE; in orientationLockNativeToJS() 252 return OrientationLock.LANDSCAPE_LEFT; in orientationLockNativeToJS() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 70 OrientationLock orientationLock = OrientationLock.valueOf(orientationLockStr); in lockAsync() 148 OrientationLock lockJS = OrientationLock.valueOf(orientationLockStr); in supportsOrientationLockAsync() 224 public enum OrientationLock { enum in ScreenOrientationModule 240 return OrientationLock.DEFAULT; in orientationLockNativeToJS() 242 return OrientationLock.ALL; in orientationLockNativeToJS() 244 return OrientationLock.PORTRAIT; in orientationLockNativeToJS() 246 return OrientationLock.PORTRAIT_UP; in orientationLockNativeToJS() 248 return OrientationLock.PORTRAIT_DOWN; in orientationLockNativeToJS() 250 return OrientationLock.LANDSCAPE; in orientationLockNativeToJS() 252 return OrientationLock.LANDSCAPE_LEFT; in orientationLockNativeToJS() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 70 OrientationLock orientationLock = OrientationLock.valueOf(orientationLockStr); in lockAsync() 148 OrientationLock lockJS = OrientationLock.valueOf(orientationLockStr); in supportsOrientationLockAsync() 224 public enum OrientationLock { enum in ScreenOrientationModule 240 return OrientationLock.DEFAULT; in orientationLockNativeToJS() 242 return OrientationLock.ALL; in orientationLockNativeToJS() 244 return OrientationLock.PORTRAIT; in orientationLockNativeToJS() 246 return OrientationLock.PORTRAIT_UP; in orientationLockNativeToJS() 248 return OrientationLock.PORTRAIT_DOWN; in orientationLockNativeToJS() 250 return OrientationLock.LANDSCAPE; in orientationLockNativeToJS() 252 return OrientationLock.LANDSCAPE_LEFT; in orientationLockNativeToJS() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 70 OrientationLock orientationLock = OrientationLock.valueOf(orientationLockStr); in lockAsync() 148 OrientationLock lockJS = OrientationLock.valueOf(orientationLockStr); in supportsOrientationLockAsync() 224 public enum OrientationLock { enum in ScreenOrientationModule 240 return OrientationLock.DEFAULT; in orientationLockNativeToJS() 242 return OrientationLock.ALL; in orientationLockNativeToJS() 244 return OrientationLock.PORTRAIT; in orientationLockNativeToJS() 246 return OrientationLock.PORTRAIT_UP; in orientationLockNativeToJS() 248 return OrientationLock.PORTRAIT_DOWN; in orientationLockNativeToJS() 250 return OrientationLock.LANDSCAPE; in orientationLockNativeToJS() 252 return OrientationLock.LANDSCAPE_LEFT; in orientationLockNativeToJS() [all …]
|
| /expo/apps/test-suite/tests/ |
| H A D | ScreenOrientation.js | 68 desiredOrientationLock: ScreenOrientation.OrientationLock.PORTRAIT_UP, 78 await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.DEFAULT); 89 t.expect(orientationLock).toBe(ScreenOrientation.OrientationLock.LANDSCAPE_LEFT); 94 const desiredOrientationLock = ScreenOrientation.OrientationLock.LANDSCAPE_LEFT; 141 desiredOrientationLock: ScreenOrientation.OrientationLock.LANDSCAPE_LEFT, 150 t.expect(orientationLock).toBe(ScreenOrientation.OrientationLock.DEFAULT); 162 t.expect(orientationLock).toBe(ScreenOrientation.OrientationLock.OTHER); 195 t.expect(orientationLock).toBe(ScreenOrientation.OrientationLock.OTHER); 291 ScreenOrientation.OrientationLock.DEFAULT, 292 ScreenOrientation.OrientationLock.LANDSCAPE_RIGHT, [all …]
|
| /expo/packages/expo-screen-orientation/plugin/build/ |
| H A D | withScreenOrientation.js | 12 const OrientationLock = { variable 39 …ialOrientation in OrientationLock, `Invalid initial orientation "${initialOrientation}" expected o… 40 infoPlist[exports.INITIAL_ORIENTATION_KEY] = OrientationLock[initialOrientation];
|
| H A D | withScreenOrientation.d.ts | 4 declare const OrientationLock: { constant 14 type OrientationMasks = keyof typeof OrientationLock;
|
| /expo/packages/expo-screen-orientation/android/src/main/java/expo/modules/screenorientation/enums/ |
| H A D | OrientationLock.kt | 6 enum class OrientationLock(val value: Int) : Enumerable { class 23 OrientationAttr.values().first { it.name == this@OrientationLock.name } in toOrientationAttr() 37 …OrientationLock.values().any { it.value == value } && value != Other.value && value != Unknown.val… in toPlatformInt()
|
| H A D | OrientationAttr.kt | 26 OrientationLock.values().first { it.name == [email protected] } in toOrientationLock() 28 OrientationLock.Other
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/screenorientation/enums/ |
| H A D | OrientationLock.kt | 6 enum class OrientationLock(val value: Int) : Enumerable { class 23 OrientationAttr.values().first { it.name == this@OrientationLock.name } in toOrientationAttr() 37 …OrientationLock.values().any { it.value == value } && value != Other.value && value != Unknown.val… in toPlatformInt()
|
| H A D | OrientationAttr.kt | 26 OrientationLock.values().first { it.name == [email protected] } in toOrientationLock() 28 OrientationLock.Other
|
| /expo/packages/expo-screen-orientation/android/src/main/java/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 17 import expo.modules.screenorientation.enums.OrientationLock in <lambda>() 35 AsyncFunction("lockAsync") { orientationLock: OrientationLock -> in <lambda>() 53 return@AsyncFunction OrientationLock.fromPlatformInt(currentActivity.requestedOrientation) in <lambda>() 68 return@AsyncFunction OrientationLock.supportsOrientationLock(orientationLock) in <lambda>()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 17 import abi49_0_0.expo.modules.screenorientation.enums.OrientationLock in <lambda>() 35 AsyncFunction("lockAsync") { orientationLock: OrientationLock -> in <lambda>() 53 return@AsyncFunction OrientationLock.fromPlatformInt(currentActivity.requestedOrientation) in <lambda>() 68 return@AsyncFunction OrientationLock.supportsOrientationLock(orientationLock) in <lambda>()
|