| /expo/packages/expo-screen-orientation/src/__tests__/ |
| H A D | ScreenOrientation-test.native.ts | 8 await expect(ScreenOrientation.lockAsync(NaN as any)).rejects.toThrowError(TypeError); 9 await expect(ScreenOrientation.lockAsync('test' as any)).rejects.toThrowError(TypeError); 13 await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.OTHER); 14 expect(ExpoScreenOrientation.lockAsync).not.toHaveBeenCalled();
|
| /expo/packages/expo-screen-orientation/build/ |
| H A D | ScreenOrientation.js | 22 export async function lockAsync(orientationLock) { function 23 if (!ExpoScreenOrientation.lockAsync) { 33 await ExpoScreenOrientation.lockAsync(orientationLock); 86 if (!ExpoScreenOrientation.lockAsync) { 89 await ExpoScreenOrientation.lockAsync(OrientationLock.DEFAULT);
|
| H A D | ExpoScreenOrientation.web.d.ts | 7 lockAsync(orientationLock: OrientationLock): Promise<void>; constant
|
| H A D | ScreenOrientation.d.ts | 17 export declare function lockAsync(orientationLock: OrientationLock): Promise<void>; function
|
| H A D | ScreenOrientation.js.map | 1 …lockAsync(ScreenOrientation.OrientationLock.LANDSCAPE_LEFT);\n * }\n * ```\n */\nexport async func…
|
| H A D | ExpoScreenOrientation.web.js | 94 async lockAsync(orientationLock) {
|
| H A D | ScreenOrientation.types.js.map | 1 …lockAsync`](#screenorientationlockasyncorientationlock)\n * method.\n * > __Note:__ `OrientationLo…
|
| H A D | ExpoScreenOrientation.web.js.map | 1 …\n }\n return OrientationWebToAPI[webOrientation];\n },\n async lockAsync(orientationLock:…
|
| /expo/packages/expo-screen-orientation/src/ |
| H A D | ScreenOrientation.ts | 48 export async function lockAsync(orientationLock: OrientationLock): Promise<void> { function 49 if (!ExpoScreenOrientation.lockAsync) { 62 await ExpoScreenOrientation.lockAsync(orientationLock); 125 if (!ExpoScreenOrientation.lockAsync) { 128 await ExpoScreenOrientation.lockAsync(OrientationLock.DEFAULT);
|
| H A D | ExpoScreenOrientation.web.ts | 124 async lockAsync(orientationLock: OrientationLock): Promise<void> {
|
| /expo/apps/test-suite/tests/ |
| H A D | ScreenOrientation.js | 39 await ScreenOrientation.lockAsync(desiredOrientationLock); 78 await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.DEFAULT); 85 await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.LANDSCAPE_LEFT); 130 await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.LANDSCAPE_LEFT); 231 await ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.LANDSCAPE_LEFT);
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | AccelerometerScreen.tsx | 26 ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.PORTRAIT_UP).catch(() => null); 28 ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.ALL).catch(() => null);
|
| H A D | BarCodeScannerScreen.tsx | 71 ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.PORTRAIT_UP); 73 ScreenOrientation.lockAsync(ScreenOrientation.OrientationLock.ALL);
|
| H A D | ScreenOrientationScreen.tsx | 68 …await ScreenOrientation.lockAsync(orientation).catch(console.warn); // on iPhoneX PortraitUpsideDo…
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 66 public void lockAsync(String orientationLockStr, Promise promise) { in lockAsync() method in ScreenOrientationModule 102 lockAsync(OrientationLock.DEFAULT.toString(), promise); in unlockAsync()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 66 public void lockAsync(String orientationLockStr, Promise promise) { in lockAsync() method in ScreenOrientationModule 102 lockAsync(OrientationLock.DEFAULT.toString(), promise); in unlockAsync()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 66 public void lockAsync(String orientationLockStr, Promise promise) { in lockAsync() method in ScreenOrientationModule 102 lockAsync(OrientationLock.DEFAULT.toString(), promise); in unlockAsync()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/ |
| H A D | ScreenOrientationModule.java | 66 public void lockAsync(String orientationLockStr, Promise promise) { in lockAsync() method in ScreenOrientationModule 102 lockAsync(OrientationLock.DEFAULT.toString(), promise); in unlockAsync()
|
| /expo/ios/versioned/sdk47/EXScreenOrientation/EXScreenOrientation/ |
| H A D | ABI47_0_0EXScreenOrientationModule.m | 46 ABI47_0_0EX_EXPORT_METHOD_AS(lockAsync, category 47 lockAsync:(NSNumber *)orientationLock
|
| /expo/ios/versioned/sdk48/EXScreenOrientation/EXScreenOrientation/ |
| H A D | ABI48_0_0EXScreenOrientationModule.m | 46 ABI48_0_0EX_EXPORT_METHOD_AS(lockAsync, category 47 lockAsync:(NSNumber *)orientationLock
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 61 fun lockAsync(orientationLock: Int, promise: Promise) { in <lambda>() method
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/screenorientation/ |
| H A D | ScreenOrientationModule.kt | 61 fun lockAsync(orientationLock: Int, promise: Promise) { in <lambda>() method
|
| /expo/packages/expo-screen-orientation/ |
| H A D | CHANGELOG.md | 224 - Fixed `ScreenOrientation.lockAsync` to properly convert to web platform equivalent of chosen lock…
|