| /expo/packages/expo-font/build/ |
| H A D | ExpoFontLoader.web.js | 98 isLoaded(fontFamilyName, resource = {}) { 104 return getFontFaceRulesMatchingResource(fontFamilyName, resource)?.length > 0; 107 loadAsync(fontFamilyName, resource) { 111 css: _createWebFontTemplate(fontFamilyName, resource), 113 resourceId: resource.uri, 123 const res = getFontFaceRulesMatchingResource(fontFamilyName, resource); 125 _createWebStyle(fontFamilyName, resource); 144 export function _createWebFontTemplate(fontFamily, resource) { argument 145 …return `@font-face{font-family:${fontFamily};src:url(${resource.uri});font-display:${resource.disp… 147 function _createWebStyle(fontFamily, resource) { argument [all …]
|
| H A D | ExpoFontLoader.web.d.ts | 9 isLoaded(fontFamilyName: string, resource?: UnloadFontOptions): boolean; 10 loadAsync(fontFamilyName: string, resource: FontResource): Promise<void>; 13 export declare function _createWebFontTemplate(fontFamily: string, resource: FontResource): string;
|
| /expo/packages/expo-font/src/ |
| H A D | ExpoFontLoader.web.ts | 129 isLoaded(fontFamilyName: string, resource: UnloadFontOptions = {}): boolean { 135 return getFontFaceRulesMatchingResource(fontFamilyName, resource)?.length > 0; 139 loadAsync(fontFamilyName: string, resource: FontResource): Promise<void> { 143 css: _createWebFontTemplate(fontFamilyName, resource), 145 resourceId: resource.uri!, 161 const res = getFontFaceRulesMatchingResource(fontFamilyName, resource); 163 _createWebStyle(fontFamilyName, resource); 188 return `@font-face{font-family:${fontFamily};src:url(${resource.uri});font-display:${ 189 resource.display || FontDisplay.AUTO 193 function _createWebStyle(fontFamily: string, resource: FontResource): HTMLStyleElement { [all …]
|
| /expo/docs/scripts/ |
| H A D | resource-specs-sync.mjs | 6 'https://raw.githubusercontent.com/expo/eas-build/main/public/resource-specs/current.json'; 8 console.log(`Fetching resource specs from ${resourceSpecsSource}`); 12 console.error(`Failed to fetch resource specs from ${resourceSpecsSource}`); 21 const resourcePath = 'public/static/resource-specs.json'; 23 console.log(`Writing resource specs to ${resourcePath}`);
|
| /expo/packages/expo-font/src/__tests__/ |
| H A D | Font-test.web.ts | 27 const resource = { uri: 'font.ttf' }; constant 31 await Font.loadAsync(name, resource); 40 ...resource, 66 const resource = { uri: 'font.ttf' }; constant 69 [name]: resource, 85 const resource = { localUri: 'font.ttf', uri: 'font.ttf', downloadAsync() {}, name: 'font' }; constant 87 await Font.loadAsync(name, resource);
|
| H A D | Font-test.node.ts | 10 const resource = { uri: 'font.ttf' }; constant 15 Font.loadAsync(name, resource);
|
| /expo/packages/expo-image/android/src/main/java/expo/modules/image/events/ |
| H A D | GlideRequestListener.kt | 44 resource: Drawable, in onResourceReady() 55 width = resource.intrinsicWidth, in onResourceReady() 56 height = resource.intrinsicHeight, in onResourceReady()
|
| /expo/packages/expo-image-loader/android/src/main/java/expo/modules/imageloader/ |
| H A D | ImageLoaderModule.kt | 43 override fun onResourceReady(resource: Bitmap, transition: Transition<in Bitmap>?) { in loadImageForDisplayFromURL() 44 resultListener.onSuccess(resource) in loadImageForDisplayFromURL() 83 override fun onResourceReady(resource: Bitmap, transition: Transition<in Bitmap>?) { in loadImageForManipulationFromURL() 84 resultListener.onSuccess(resource) in loadImageForManipulationFromURL()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/imageloader/ |
| H A D | ImageLoaderModule.kt | 43 override fun onResourceReady(resource: Bitmap, transition: Transition<in Bitmap>?) { in loadImageForDisplayFromURL() 44 resultListener.onSuccess(resource) in loadImageForDisplayFromURL() 83 override fun onResourceReady(resource: Bitmap, transition: Transition<in Bitmap>?) { in loadImageForManipulationFromURL() 84 resultListener.onSuccess(resource) in loadImageForManipulationFromURL()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/image/svg/ |
| H A D | SVGDrawableTranscoder.kt | 7 import com.bumptech.glide.load.resource.SimpleResource 8 import com.bumptech.glide.load.resource.transcode.ResourceTranscoder
|
| H A D | SVGSoftwareLayerSetter.kt | 23 …override fun onResourceReady(resource: Any, model: Any, target: Target<Any>, dataSource: DataSourc… in onResourceReady() 25 if (resource is SVGDrawable) { in onResourceReady()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/image/svg/ |
| H A D | SVGDrawableTranscoder.kt | 7 import com.bumptech.glide.load.resource.SimpleResource 8 import com.bumptech.glide.load.resource.transcode.ResourceTranscoder
|
| H A D | SVGSoftwareLayerSetter.kt | 23 …override fun onResourceReady(resource: Any, model: Any, target: Target<Any>, dataSource: DataSourc… in onResourceReady() 25 if (resource is SVGDrawable) { in onResourceReady()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/image/events/ |
| H A D | GlideRequestListener.kt | 44 resource: Drawable, in onResourceReady() 55 width = resource.intrinsicWidth, in onResourceReady() 56 height = resource.intrinsicHeight, in onResourceReady()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/image/events/ |
| H A D | GlideRequestListener.kt | 44 resource: Drawable, in onResourceReady() 55 width = resource.intrinsicWidth, in onResourceReady() 56 height = resource.intrinsicHeight, in onResourceReady()
|
| /expo/packages/expo-image/android/src/main/java/expo/modules/image/svg/ |
| H A D | SVGDrawableTranscoder.kt | 8 import com.bumptech.glide.load.resource.SimpleResource 9 import com.bumptech.glide.load.resource.transcode.ResourceTranscoder
|
| /expo/packages/@expo/cli/src/api/rest/cache/ |
| H A D | wrapFetchWithCache.ts | 132 const resource = requestArguments[0]; constant 136 resource instanceof Request ? getRequestCacheKey(resource) : { url: resource };
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/image/ |
| H A D | ImageViewWrapperTarget.kt | 26 override fun onResourceReady(resource: Drawable, transition: Transition<in Drawable>?) { in onResourceReady() 45 imageView.onResourceReady(this, resource, isPlaceholder) in onResourceReady()
|
| H A D | ExpoImageViewWrapper.kt | 20 import com.bumptech.glide.load.resource.bitmap.DownsampleStrategy in <lambda>() 248 resource: Drawable, in <lambda>() 282 configureView(newView, target, resource, isPlaceholder) in <lambda>() 314 configureView(firstView, target, resource, isPlaceholder) in <lambda>() 330 resource: Drawable, in <lambda>() 334 it.setImageDrawable(resource) in <lambda>() 351 if (resource is Animatable) { in <lambda>() 352 resource.start() in <lambda>()
|
| /expo/ios/Exponent/Kernel/AppLoader/CachedResource/ |
| H A D | EXCachedResource.m | 130 NSLog(@"EXCachedResource: Using cached resource at %@...", resourceLocalPath); 138 // no local bundle found, so call back with the newly downloaded resource 143 NSLog(@"EXCachedResource: Caching resource to %@...", resourceCachePath); 157 …errorBlock(RCTErrorWithMessage([NSString stringWithFormat:@"No cache exists for this resource: %@.… 169 NSLog(@"EXCachedResource: Caching resource to %@...", resourceCachePath); 183 NSLog(@"EXCachedResource: Caching resource to %@...", resourceCachePath); 193 NSLog(@"EXCachedResource: Using cached resource at %@...", resourceLocalPath); 251 // by default, only use the embedded resource if no cached copy exists 321 _reapingQueue = dispatch_queue_create("expo.cached-resource.reaping", DISPATCH_QUEUE_SERIAL);
|
| /expo/packages/expo-document-picker/ios/ |
| H A D | DocumentPickerModule.swift | 90 guard let resource = try? path.resourceValues(forKeys: [.fileSizeKey, .isDirectoryKey]) else { in getFileSize() variable 94 if let isDirectory = resource.isDirectory { in getFileSize() 96 return resource.fileSize in getFileSize()
|
| /expo/ios/versioned/sdk49/ExpoDocumentPicker/ |
| H A D | DocumentPickerModule.swift | 90 guard let resource = try? path.resourceValues(forKeys: [.fileSizeKey, .isDirectoryKey]) else { in getFileSize() variable 94 if let isDirectory = resource.isDirectory { in getFileSize() 96 return resource.fileSize in getFileSize()
|
| /expo/packages/expo-image/android/src/main/java/expo/modules/image/ |
| H A D | ExpoImageViewWrapper.kt | 19 import com.bumptech.glide.load.resource.bitmap.DownsampleStrategy in <lambda>() 254 resource: Drawable, in <lambda>() 288 configureView(newView, target, resource, isPlaceholder) in <lambda>() 325 configureView(firstView, target, resource, isPlaceholder) in <lambda>() 341 resource: Drawable, in <lambda>() 345 it.setImageDrawable(resource) in <lambda>() 363 if (resource is Animatable) { in <lambda>() 364 resource.start() in <lambda>()
|
| /expo/apps/test-suite/firebase/ |
| H A D | storage.rules | 6 allow write: if request.auth.uid == userId && request.resource.size < 10 * 1024;
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | exportStaticAsync.ts | 150 resources.forEach((resource) => { 152 resource.filename, 153 modifyBundlesWithSourceMaps(resource.filename, resource.source, includeMaps)
|