| /expo/apps/test-suite/tests/ |
| H A D | MediaLibrary.js | 75 async function createAlbum(assets, name) { argument 77 if (assets.length > 1) { 289 t.expect(assets.length).toBe(2); 308 t.expect(assets.length).toBe(1); 324 assets.forEach((asset) => { 335 assets.forEach((asset) => { 348 const first = assets[0].height; 349 const last = assets[assets.length - 1].height; 374 const createdAfter = assets[assets.length - 1].creationTime; 510 assets[0], [all …]
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | exportAssets.ts | 23 assets: Asset[] 25 if (!exp.assetBundlePatterns?.length || !assets.length) { 40 const allBundledAssets = assets 89 const assets: Asset[] = uniqBy( constant 90 Object.values(bundles).flatMap((bundle) => bundle!.assets), 94 if (assets[0]?.fileHashes) { 96 await saveAssetsAsync(projectRoot, { assets, outputDir }); 105 return { exp, assets }; 117 const assets = uniqBy( constant 122 const cssDirectory = assets[0]?.filename; [all …]
|
| H A D | saveAssets.ts | 21 function collectAssetPaths(assets: Asset[]): Record<string, string> { 24 assets.forEach((asset) => { 34 { assets, outputDir }: { assets: Asset[]; outputDir: string } 37 const paths = collectAssetPaths(assets);
|
| H A D | createMetadataJson.ts | 9 type PlatformMetadata = { bundle: string; assets: PlatformMetadataAsset[] }; 40 assets: bundle.assets
|
| /expo/packages/expo-dev-launcher/ |
| H A D | write_embedded_bundle.sh | 12 --assets-dest ios \ 15 rm ios/assets/__react-native-lab/react-native/package.json 16 rm ios/assets/__node_modules/css-tree/package.json 24 --bundle-output android/src/debug/assets/expo_dev_launcher_android.bundle \ 25 --assets-dest android/src/debug/res \
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | FlashListScreen.tsx | 14 …'https://raw.githubusercontent.com/EvanBacon/anime-lorem/master/assets/dr-stone/Chrome_Portrait.pn… 15 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Alumi_Portrait.png?raw=true', 16 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Azura_Portrait.png?raw=true', 17 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Carbo_Portrait.png?raw=true', 18 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Chalk_Portrait.png?raw=true', 19 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Chrome_Portrait.png?raw=true… 20 'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/En_Portrait.png?raw=true', 21 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Ganen_Portrait.png?raw=true', 22 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Gen_Asagiri_Portrait.png?raw… 23 …'https://github.com/EvanBacon/anime-lorem/blob/master/assets/dr-stone/Genbu_portrait.png?raw=true', [all …]
|
| /expo/apps/test-suite/ |
| H A D | metro.config.js | 17 const assets = '/node_modules/@react-navigation/stack/src/views/assets'; constant 19 if (req.url.startsWith(assets)) { 20 req.url = req.url.replace(assets, `/assets/../..${assets}`);
|
| /expo/packages/expo-asset/build/ |
| H A D | AssetHooks.js.map | 1 …assets locally.\n * After the assets are loaded, this hook returns a list of asset instances.\n * …
|
| /expo/docs/pages/archive/classic-updates/ |
| H A D | preloading-and-caching-assets.mdx | 7 This section covers all things related to loading assets in your apps, from bundling with an app bi… 9 ### Bundling assets 11 …assets into your binary will provide for the best user experience as your assets will be available… 17 "assets/images/*" 23 …assets or assets that are abnormally large in size, asset bundling may not be the best solution as… 25 ### Pre-loading and caching assets 36 files={{'assets/images/circle.jpg': 'https://snack-code-uploads.s3.us-west-1.amazonaws.com/~asset/4… 71 require('./assets/images/circle.jpg'), 120 ### Publishing assets 122 …assets to the CDN so that they may be fetched when users run your app. However, in order for asset… [all …]
|
| /expo/docs/pages/eas-update/ |
| H A D | optimize-assets.mdx | 2 title: Optimize assets for EAS Update 3 sidebar_title: Optimize assets 4 description: Learn how EAS Update downloads assets and how to optimize them for download size. 10 …ew update, it downloads a manifest and then downloads any new or updated assets so that it can run… 16 ## Code assets 22 ## Image assets 24 …assets when they detect a new update, if those assets are not already a part of their build. You c… 34 ## Other assets 36 For assets like GIFs or movies, or non-code and non-image assets, it's up to the developer to optim… 40 …that a user's app will only download new or updated assets. It will not re-download unchanged asse… [all …]
|
| /expo/packages/@expo/metro-config/src/serializer/ |
| H A D | getCssDeps.ts | 47 const assets: JSModule[] = []; constant 56 assets.push(module as JSModule); 59 return assets; 66 const assets: SerialAsset[] = []; constant 87 assets.push({ 99 return assets;
|
| /expo/packages/expo-document-picker/src/ |
| H A D | types.ts | 64 assets: DocumentPickerAsset[] | null; 77 assets: DocumentPickerAsset[]; 85 assets: null;
|
| /expo/packages/expo-document-picker/build/ |
| H A D | types.d.ts | 60 assets: DocumentPickerAsset[] | null; 72 assets: DocumentPickerAsset[]; 79 assets: null;
|
| /expo/home/ |
| H A D | metro.config.js | 19 const assets = '/node_modules/@react-navigation/elements/src/assets'; constant 21 if (req.url.startsWith(assets)) { 22 req.url = req.url.replace(assets, `/assets/..${assets}`);
|
| H A D | HomeApp.tsx | 35 // Download and cache stack assets, don't block loading on this though 116 'Inter-Black': require('./assets/Inter/Inter-Black.otf'), 118 'Inter-Bold': require('./assets/Inter/Inter-Bold.otf'), 119 'Inter-BoldItalic': require('./assets/Inter/Inter-BoldItalic.otf'), 120 'Inter-ExtraBold': require('./assets/Inter/Inter-ExtraBold.otf'), 124 'Inter-Regular': require('./assets/Inter/Inter-Regular.otf'), 125 'Inter-Italic': require('./assets/Inter/Inter-Italic.otf'), 126 'Inter-Light': require('./assets/Inter/Inter-Light.otf'), 128 'Inter-Medium': require('./assets/Inter/Inter-Medium.otf'), 130 'Inter-SemiBold': require('./assets/Inter/Inter-SemiBold.otf'), [all …]
|
| /expo/home/menu/ |
| H A D | DevMenuView.tsx | 100 'Inter-Black': require('../assets/Inter/Inter-Black.otf'), 102 'Inter-Bold': require('../assets/Inter/Inter-Bold.otf'), 103 'Inter-BoldItalic': require('../assets/Inter/Inter-BoldItalic.otf'), 104 'Inter-ExtraBold': require('../assets/Inter/Inter-ExtraBold.otf'), 106 'Inter-ExtraLight': require('../assets/Inter/Inter-ExtraLight.otf'), 108 'Inter-Regular': require('../assets/Inter/Inter-Regular.otf'), 109 'Inter-Italic': require('../assets/Inter/Inter-Italic.otf'), 110 'Inter-Light': require('../assets/Inter/Inter-Light.otf'), 112 'Inter-Medium': require('../assets/Inter/Inter-Medium.otf'), 114 'Inter-SemiBold': require('../assets/Inter/Inter-SemiBold.otf'), [all …]
|
| /expo/apps/bare-expo/ |
| H A D | metro.config.js | 16 const assets = '/node_modules/@react-navigation/elements/src/assets'; constant 18 if (req.url.startsWith(assets)) { 19 req.url = req.url.replace(assets, `/assets/../..${assets}`);
|
| /expo/packages/@expo/metro-config/build/serializer/ |
| H A D | getCssDeps.js | 45 const assets = []; 48 assets.push(module); 51 return assets; 57 const assets = []; 75 assets.push({ 86 return assets;
|
| /expo/packages/@expo/cli/src/export/__tests__/ |
| H A D | createMetadataJson-test.ts | 12 assets: [{ type: 'font' } as any], 24 assets: [{ type: 'image', fileHashes: ['foobar', 'other'] } as any], 33 assets: [
|
| /expo/apps/native-component-list/ |
| H A D | metro.config.js | 34 const assets = '/node_modules/@react-navigation/elements/src/assets'; constant 36 if (req.url.startsWith(assets)) { 37 req.url = req.url.replace(assets, `/assets/../..${assets}`);
|
| /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');
|
| 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');
|
| 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');
|
| /expo/apps/native-component-list/src/screens/Image/ |
| H A D | ImageMediaLibraryScreen.tsx | 15 const { assets } = await ImagePicker.launchImageLibraryAsync(); 16 const uri = assets?.[0].uri; 26 const { assets } = await MediaLibrary.getAssetsAsync(); 27 const randomIndex = Math.floor(Math.random() * assets.length); 28 const randomAsset = assets[randomIndex]; 42 placeholder={require('../../../assets/images/expo-icon.png')}
|
| /expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/ |
| H A D | EmbeddedLoaderTest.kt | 81 val assets = db.assetDao().loadAllAssets() in testEmbeddedLoader_SimpleCase() constant 82 Assert.assertEquals(2, assets.size.toLong()) in testEmbeddedLoader_SimpleCase() 101 val assets = db.assetDao().loadAllAssets() in testEmbeddedLoader_FailureToCopyAssets() constant 102 Assert.assertEquals(0, assets.size.toLong()) in testEmbeddedLoader_FailureToCopyAssets() 125 val assets = db.assetDao().loadAllAssets() in testEmbeddedLoader_MultipleScales() constant 126 Assert.assertEquals(2, assets.size.toLong()) in testEmbeddedLoader_MultipleScales() 149 val assets = db.assetDao().loadAllAssets() in testEmbeddedLoader_MultipleScales_ReverseOrder() constant 177 val assets = db.assetDao().loadAllAssets() in testEmbeddedLoader_AssetExists_BothDbAndDisk() constant 205 val assets = db.assetDao().loadAllAssets() in testEmbeddedLoader_AssetExists_DbOnly() constant 232 val assets = db.assetDao().loadAllAssets() in testEmbeddedLoader_AssetExists_DiskOnly() constant [all …]
|