| /expo/packages/@expo/prebuild-config/src/plugins/icons/__tests__/ |
| H A D | withIosIcons-test.ts | 21 icon: 'icon', 26 icon: 'icon', 28 icon: 'iosIcon', 37 icon: '', 39 icon: '', 46 icon: 'icon', 48 icon: '', 60 const icon = fsReal.readFileSync(iconPath); constant 65 vol.writeFileSync('/app/assets/icon.png', icon); 80 icon: '/app/assets/icon.png',
|
| H A D | withAndroidIcons-test.ts | 68 icon: 'icon', 70 icon: 'androidIcon', 81 const icon = foregroundImage || getIcon(config as ExpoConfig); constant 82 expect(icon).toMatch('adaptiveIcon'); 106 icon: null, 119 const icon = require('../../icons/withAndroidIcons'); constant 120 const spyOnConfigureAdaptiveIconAsync = jest.spyOn(icon, 'configureAdaptiveIconAsync'); 122 const icon = fsReal.readFileSync(legacyIconPath); constant 129 vol.writeFileSync('/app/assets/iconForeground.png', icon); 132 icon: '/app/assets/iconForeground.png', [all …]
|
| /expo/packages/expo-notifications/plugin/src/ |
| H A D | withNotificationsAndroid.ts | 43 export const withNotificationIcons: ConfigPlugin<{ icon: string | null }> = (config, { icon }) => { 45 icon = icon || getNotificationIcon(config); 68 icon: string | null; 70 }> = (config, { icon, color }) => { 72 icon = icon || getNotificationIcon(config); 91 return config.notification?.icon || null; 112 if (icon) { 124 if (props.icon) { 162 src: icon, 232 { icon = null, color = null, sounds = [] } [all …]
|
| /expo/packages/@expo/prebuild-config/src/plugins/icons/ |
| H A D | withAndroidIcons.ts | 44 if (!icon) { 55 icon, 89 return config.android?.icon || config.icon || null; 109 icon, 122 if (!icon) { 145 icon: string, 150 icon, 161 icon: string, 166 icon, 274 icon, [all …]
|
| H A D | withIosIcons.ts | 26 return config.ios?.icon || config.icon || null; 30 const icon = getIcons(config); constant 31 if (!icon) { 47 icon, 74 icon, 78 }: { platform: 'watchos' | 'ios'; icon: string; iosNamedProjectRoot: string; cacheKey: string } 87 src: icon,
|
| /expo/docs/pages/develop/user-interface/ |
| H A D | app-icons.mdx | 3 description: Learn about configuring the app's icon and best practices for Android and iOS. 10 An app's icon is what your app users see on their device's home screen and app stores. Android and … 12 ## Configure an app's icon 14 …y to provide an icon for your app is to provide a local path or a remote URL as a value to the [`i… 16 …icon for Android, you will use [`android.icon`](/versions/latest/config/app/#icon-3) and for iOS, … 20 ## Create an app icon 22 …app icon, you can use this [Figma template](https://www.figma.com/community/file/11553629094413412… 34 … OS to mask the icon into different shapes and also supports visual effects. For Android 13 and la… 43 …a separate icon for older Android devices that do not support Adaptive Icons. You can do so with t… 53 - The icon must be exactly square. For example, a 1023x1024 icon is not valid. [all …]
|
| /expo/packages/expo-notifications/plugin/build/ |
| H A D | withNotificationsAndroid.js | 26 const withNotificationIcons = (config, { icon }) => { argument 28 icon = icon || getNotificationIcon(config); 47 const withNotificationManifest = (config, { icon, color }) => { argument 49 icon = icon || getNotificationIcon(config); 68 return config.notification?.icon || null; 85 async function setNotificationIconAsync(projectRoot, icon) { argument 86 if (icon) { 87 await writeNotificationIconImageFilesAsync(icon, projectRoot); 96 if (props.icon) { 120 src: icon, [all …]
|
| /expo/home/screens/SettingsScreen/ |
| H A D | RadioListItem.tsx | 7 icon?: ReactNode; 12 export function RadioListItem({ onPress, icon, title, checked }: Props) { 19 {icon} 20 {icon ? <Spacer.Horizontal size="small" /> : null} 31 borderColor: theme.icon.secondary, 40 backgroundColor: theme.icon.default,
|
| H A D | CheckListItem.tsx | 8 icon?: ReactNode; 13 export function CheckListItem({ onPress, icon, title, checked }: Props) { 20 {icon} 21 {icon ? <Spacer.Horizontal size="small" /> : null} 26 {checked ? <CheckIcon size={iconSize.regular} color={theme.icon.default} /> : null}
|
| /expo/packages/expo-dev-client-components/src/icons/ |
| H A D | SettingsFilledIcon.tsx | 6 const activeLightIcon = require('../../assets/settings-filled-active-icon-light.png'); 7 const activeIcon = require('../../assets/settings-filled-active-icon.png'); 8 const inactiveLightIcon = require('../../assets/settings-filled-inactive-icon-light.png'); 9 const inactiveIcon = require('../../assets/settings-filled-inactive-icon.png'); 29 const icon = props.focused ? themedIcon.active : themedIcon.inactive; 30 return <Image source={icon} {...props} />;
|
| H A D | ExtensionsFilledIcon.tsx | 6 const activeLightIcon = require('../../assets/extensions-filled-active-icon-light.png'); 7 const activeIcon = require('../../assets/extensions-filled-active-icon.png'); 8 const inactiveLightIcon = require('../../assets/extensions-filled-inactive-icon-light.png'); 9 const inactiveIcon = require('../../assets/extensions-filled-inactive-icon.png'); 29 const icon = props.focused ? themedIcon.active : themedIcon.inactive; 30 return <Image source={icon} {...props} />;
|
| H A D | HomeFilledIcon.tsx | 6 const activeLightIcon = require('../../assets/home-filled-active-icon-light.png'); 7 const activeIcon = require('../../assets/home-filled-active-icon.png'); 8 const inactiveLightIcon = require('../../assets/home-filled-inactive-icon-light.png'); 9 const inactiveIcon = require('../../assets/home-filled-inactive-icon.png'); 29 const icon = props.focused ? themedIcon.active : themedIcon.inactive; 30 return <Image source={icon} {...props} />;
|
| H A D | UpdateIcon.tsx | 6 const lightIcon = require('../../assets/update-icon-light.png'); 7 const icon = require('../../assets/update-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | ExtensionsIcon.tsx | 6 const lightIcon = require('../../assets/extensions-icon-light.png'); 7 const icon = require('../../assets/extensions-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | BranchIcon.tsx | 6 const lightIcon = require('../../assets/branch-icon-light.png'); 7 const icon = require('../../assets/branch-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | InfoIcon.tsx | 6 const lightIcon = require('../../assets/info-icon-light.png'); 7 const icon = require('../../assets/info-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | CheckIcon.tsx | 6 const lightIcon = require('../../assets/check-icon-light.png'); 7 const icon = require('../../assets/check-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | UserIcon.tsx | 6 const lightIcon = require('../../assets/user-icon-light.png'); 7 const icon = require('../../assets/user-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | XIcon.tsx | 6 const lightIcon = require('../../assets/x-icon-light.png'); 7 const icon = require('../../assets/x-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | ShakeDeviceIcon.tsx | 6 const lightIcon = require('../../assets/shake-device-icon-light.png'); 7 const icon = require('../../assets/shake-device-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| H A D | WarningIcon.tsx | 6 const lightIcon = require('../../assets/warning-triangle-icon-light.png'); 7 const icon = require('../../assets/warning-triangle-icon.png'); 11 const themedIcon = theme === 'dark' ? lightIcon : icon;
|
| /expo/packages/@expo/prebuild-config/build/plugins/icons/ |
| H A D | withAndroidIcons.js | 96 if (!icon) { 105 icon, field 152 icon, field 158 if (!icon) { 179 icon, field 189 icon, field 218 icon: foregroundImage, 265 icon, field 280 src: icon, 311 icon, field [all …]
|
| /expo/packages/expo-maps/ios/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsClusters.swift | 48 icon: clusterObject.icon, in setClusters() 72 private let icon: String? variable 76 init(title: String?, snippet: String?, icon: String?, color: Double, opacity: Double) { 79 self.icon = icon 86 let iconURL = (icon != nil) ? URL(fileURLWithPath: icon!) : nil in renderer() 92 marker.icon = UIImage(contentsOfFile: iconURL!.standardized.path) in renderer()
|
| /expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsClusters.swift | 48 icon: clusterObject.icon, in setClusters() 72 private let icon: String? variable 76 init(title: String?, snippet: String?, icon: String?, color: Double, opacity: Double) { 79 self.icon = icon 86 let iconURL = (icon != nil) ? URL(fileURLWithPath: icon!) : nil in renderer() 92 marker.icon = UIImage(contentsOfFile: iconURL!.standardized.path) in renderer()
|
| /expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/GoogleMaps/ |
| H A D | GoogleMapsClusters.swift | 48 icon: clusterObject.icon, in setClusters() 72 private let icon: String? variable 76 init(title: String?, snippet: String?, icon: String?, color: Double, opacity: Double) { 79 self.icon = icon 86 let iconURL = (icon != nil) ? URL(fileURLWithPath: icon!) : nil in renderer() 92 marker.icon = UIImage(contentsOfFile: iconURL!.standardized.path) in renderer()
|