Home
last modified time | relevance | path

Searched refs:OS (Results 1 – 25 of 623) sorted by relevance

12345678910>>...25

/expo/packages/jest-expo/tests/__tests__/
H A Djest-test.js3 const { OS } = require('../default-extension');
5 expect(OS).toContain(Platform.OS);
6 expect(OS).toMatchSnapshot();
9 const { OS } = require('../fallback-extension');
11 expect(OS).toContain(Platform.OS);
12 expect(OS).toMatchSnapshot();
H A Djest-test.node.js3 expect(Platform.OS).toBe('web');
4 expect(Platform.OS).toMatchSnapshot();
H A Djest-test.web.js3 expect(Platform.OS).toBe('web');
4 expect(Platform.OS).toMatchSnapshot();
H A Djest-test.ios.js3 expect(Platform.OS).toBe('ios');
4 expect(Platform.OS).toMatchSnapshot();
H A Djest-test.android.js3 expect(Platform.OS).toBe('android');
4 expect(Platform.OS).toMatchSnapshot();
H A Djest-test.native.js3 expect(['ios', 'android'].includes(Platform.OS)).toBe(true);
4 expect(Platform.OS).toMatchSnapshot();
/expo/packages/expo-navigation-bar/build/
H A DNavigationBar.js42 if (Platform.OS !== 'android') {
59 if (Platform.OS !== 'android') {
75 if (Platform.OS !== 'android') {
92 if (Platform.OS !== 'android') {
108 if (Platform.OS !== 'android') {
124 if (Platform.OS !== 'android') {
140 if (Platform.OS !== 'android') {
156 if (Platform.OS !== 'android') {
179 if (Platform.OS !== 'android') {
199 if (Platform.OS !== 'android') {
[all …]
/expo/packages/expo-navigation-bar/src/
H A DNavigationBar.ts56 if (Platform.OS !== 'android') {
74 if (Platform.OS !== 'android') {
91 if (Platform.OS !== 'android') {
109 if (Platform.OS !== 'android') {
127 if (Platform.OS !== 'android') {
144 if (Platform.OS !== 'android') {
161 if (Platform.OS !== 'android') {
178 if (Platform.OS !== 'android') {
202 if (Platform.OS !== 'android') {
223 if (Platform.OS !== 'android') {
[all …]
/expo/packages/expo-screen-orientation/build/
H A DScreenOrientation.js49 if (Platform.OS === 'android' && screenOrientationConstantAndroid) {
55 else if (Platform.OS === 'ios' && screenOrientationArrayIOS) {
67 else if (Platform.OS === 'web' && screenOrientationLockWeb) {
123 if (Platform.OS === 'android') {
128 else if (Platform.OS === 'ios') {
133 else if (Platform.OS === 'web') {
162 return Platform.OS === 'ios' || Platform.OS === 'web'
184 if (Platform.OS === 'ios' || Platform.OS === 'web') {
/expo/packages/expo-screen-orientation/src/
H A DScreenOrientation.ts81 if (Platform.OS === 'android' && screenOrientationConstantAndroid) {
88 } else if (Platform.OS === 'ios' && screenOrientationArrayIOS) {
104 } else if (Platform.OS === 'web' && screenOrientationLockWeb) {
165 if (Platform.OS === 'android') {
169 } else if (Platform.OS === 'ios') {
173 } else if (Platform.OS === 'web') {
207 return Platform.OS === 'ios' || Platform.OS === 'web'
232 if (Platform.OS === 'ios' || Platform.OS === 'web') {
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Utilities/
H A DPlatform.d.ts53 OS: 'ios'; property
71 OS: 'android'; property
76 OS: 'macos'; property
84 OS: 'windows'; property
92 OS: 'web'; property
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Utilities/
H A DPlatform.d.ts53 OS: 'ios'; property
71 OS: 'android'; property
76 OS: 'macos'; property
84 OS: 'windows'; property
92 OS: 'web'; property
/expo/packages/expo-brightness/build/
H A DBrightness.js72 if (Platform.OS !== 'android') {
93 if (Platform.OS !== 'android') {
113 if (Platform.OS !== 'android') {
127 if (Platform.OS !== 'android') {
141 if (Platform.OS !== 'android') {
154 if (Platform.OS !== 'android' || brightnessMode === BrightnessMode.UNKNOWN) {
/expo/packages/expo-brightness/src/
H A DBrightness.ts96 if (Platform.OS !== 'android') {
118 if (Platform.OS !== 'android') {
140 if (Platform.OS !== 'android') {
155 if (Platform.OS !== 'android') {
170 if (Platform.OS !== 'android') {
184 if (Platform.OS !== 'android' || brightnessMode === BrightnessMode.UNKNOWN) {
/expo/packages/expo-web-browser/build/
H A DWebBrowser.js26 if (Platform.OS !== 'android') {
47 if (Platform.OS !== 'android') {
70 if (Platform.OS !== 'android') {
94 if (Platform.OS !== 'android') {
209 if (['ios', 'web'].includes(Platform.OS)) {
278 if (Platform.OS === 'android') {
281 else if (Platform.OS === 'web') {
340 if (Platform.OS === 'android') {
/expo/packages/expo-web-browser/src/
H A DWebBrowser.ts68 if (Platform.OS !== 'android') {
89 if (Platform.OS !== 'android') {
115 if (Platform.OS !== 'android') {
139 if (Platform.OS !== 'android') {
269 if (['ios', 'web'].includes(Platform.OS)) {
343 if (Platform.OS === 'android') {
345 } else if (Platform.OS === 'web') {
426 if (Platform.OS === 'android') {
/expo/apps/native-component-list/src/screens/
H A DPickerScreen.tsx16 {Platform.OS === 'ios' && (
22 {Platform.OS === 'ios' && (
29 Platform.OS === 'ios' && (
36 {Platform.OS !== 'ios' && (
42 {Platform.OS === 'android' && (
50 {Platform.OS === 'android' && (
58 {Platform.OS === 'android' && (
64 {Platform.OS === 'android' && (
70 {Platform.OS === 'android' && (
76 {Platform.OS === 'web' && (
/expo/packages/expo-tracking-transparency/build/
H A DTrackingTransparency.js31 if (Platform.OS !== 'ios') {
56 if (Platform.OS !== 'ios') {
92 return (Platform.OS === 'ios' &&
/expo/apps/native-component-list/src/api/
H A Dguid.ts32 Platform.OS
40 Platform.OS
51 Platform.OS
/expo/packages/expo-tracking-transparency/src/
H A DTrackingTransparency.ts41 if (Platform.OS !== 'ios') {
68 if (Platform.OS !== 'ios') {
108 Platform.OS === 'ios' &&
/expo/packages/html-elements/src/css/
H A Dunits.ts4 if (Platform.OS === 'web') return `${value}rem`;
9 if (Platform.OS === 'web') return `${value}em`;
/expo/packages/html-elements/build/css/
H A Dunits.js3 if (Platform.OS === 'web')
8 if (Platform.OS === 'web')
/expo/packages/expo-sms/src/__tests__/
H A DSMS-test.ts16 if (Platform.OS === 'web') {
45 attachments: Platform.OS === 'android' ? [imageAttachment] : multipleAttachments,
48 if (Platform.OS === 'web') {
/expo/packages/expo-modules-core/build/
H A DPlatform.js8 OS: ReactNativePlatform.OS, property
/expo/packages/expo-modules-core/src/__tests__/
H A DPlatform-test.ts7 OS: Platform.OS,

12345678910>>...25