| /expo/apps/native-component-list/src/constants/ |
| H A D | ComparisonImages.ts | 6 thumbhash: string; 17 thumbhash: '1EgOHYQImHiZZ4iCe3eWeAinolA8', 22 thumbhash: '5xcSHQZpeI94KIenaHhoh2ufo/Y4', 27 thumbhash: 'EQgKHQZlh2122Hb4dm2Gh2hwkQc3', 42 thumbhash: 'JRkaPQh4d394V4doeHd3h3iAgAcI', 47 thumbhash: 'JtcRFQR6d3+IaIZYeXWHd28h+naS', 52 thumbhash: 'yPcFDQJ3d3mHB4hIiH23R5eAfxn4', 57 thumbhash: 'HHsOPQYIpnt2WHdnl4eYh4hzgA4n', 62 thumbhash: 'nRkWLQh4eHB3h3iId3d3iHhwiAl4', 67 thumbhash: 'YecNDQJpiI+Hh3h3eIdnWFyVv3f4', [all …]
|
| /expo/packages/expo-image/ios/ |
| H A D | ThumbhashLoader.swift | 27 var thumbhash = (url.pathComponents[1] ?? "").replacingOccurrences(of: "\\", with: "/") variable 30 let remainder = thumbhash.count % 4 32 …thumbhash = thumbhash.padding(toLength: thumbhash.count + 4 - remainder, withPad: "=", startingAt:… 35 …guard !thumbhash.isEmpty, let thumbhashData = Data(base64Encoded: thumbhash, options: .ignoreUnkno…
|
| /expo/ios/versioned/sdk49/ExpoImage/ |
| H A D | ThumbhashLoader.swift | 27 var thumbhash = (url.pathComponents[1] ?? "").replacingOccurrences(of: "\\", with: "/") variable 30 let remainder = thumbhash.count % 4 32 …thumbhash = thumbhash.padding(toLength: thumbhash.count + 4 - remainder, withPad: "=", startingAt:… 35 …guard !thumbhash.isEmpty, let thumbhashData = Data(base64Encoded: thumbhash, options: .ignoreUnkno…
|
| /expo/packages/expo-image/android/src/main/java/expo/modules/image/thumbhash/ |
| H A D | ThumbhashFetcher.kt | 1 package expo.modules.image.thumbhash 10 class ThumbhashDecodingFailure(thumbhash: String?, cause: Exception?) : CodedException( 11 message = "Cannot decode provided thumbhash '$thumbhash' $cause" 15 private val thumbhash: String? constant in ThumbhashFetcher 24 val decodedThumbhash = Base64.decode(thumbhash, Base64.DEFAULT) in cleanup() 28 callback.onLoadFailed(ThumbhashDecodingFailure(thumbhash, e)) in cleanup()
|
| H A D | ThumbhashModelLoader.kt | 1 package expo.modules.image.thumbhash 19 val thumbhash = model.uri.pathSegments.joinToString(separator = "/").replace("\\", "/") in handles() constant 23 ThumbhashFetcher(thumbhash) in handles()
|
| H A D | ThumbhashModelLoaderFactory.kt | 1 package expo.modules.image.thumbhash
|
| H A D | ThumbhashModule.kt | 1 package expo.modules.image.thumbhash
|
| /expo/packages/expo-image/src/utils/ |
| H A D | resolveHashString.tsx | 3 type ImageHashType = 'blurhash' | 'thumbhash'; 25 * Converts a thumbhash string (`thumbhash:/<hash>` or `<hash>`) into an `ImageSource`. 27 * @return An ImageSource representing the provided thumbhash. 32 const thumbhash = str.replace(/^thumbhash:\//, '').replace(/\//g, '\\'); 34 uri: hashToUri('thumbhash', thumbhash),
|
| H A D | resolveHashString.web.tsx | 21 * Converts a string in thumbhash format (`thumbhash:/<hash>` or `<hash>`) 23 * Note: Unlike the `resolveBlurhashString` the `thumbhash:/` scheme has to be present, 24 * as the scheme has to be explicitly stated to be interpreted a `thumbhash` source. 26 * @return An ImageSource representing the provided thumbhash. 29 const hash = str.replace(/^thumbhash:\//, ''); 31 uri: 'thumbhash:/' + hash,
|
| H A D | resolveSources.tsx | 10 // interpret as thumbhash only if correct uri scheme is provided 12 return str.startsWith('thumbhash:/'); 27 if (typeof source === 'object' && (source?.blurhash || source?.thumbhash)) { 28 const { blurhash, thumbhash, ...restSource } = source; 29 const resolved = thumbhash 30 ? resolveThumbhashString(thumbhash)
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/image/thumbhash/ |
| H A D | ThumbhashFetcher.kt | 1 package abi49_0_0.expo.modules.image.thumbhash 10 class ThumbhashDecodingFailure(thumbhash: String?, cause: Exception?) : CodedException( 11 message = "Cannot decode provided thumbhash '$thumbhash' $cause" 15 private val thumbhash: String? constant in ThumbhashFetcher 24 val decodedThumbhash = Base64.decode(thumbhash, Base64.DEFAULT) in cleanup() 28 callback.onLoadFailed(ThumbhashDecodingFailure(thumbhash, e)) in cleanup()
|
| H A D | ThumbhashModelLoader.kt | 1 package abi49_0_0.expo.modules.image.thumbhash 19 val thumbhash = model.uri.pathSegments.joinToString(separator = "/").replace("\\", "/") in handles() constant 23 ThumbhashFetcher(thumbhash) in handles()
|
| H A D | ThumbhashModelLoaderFactory.kt | 1 package abi49_0_0.expo.modules.image.thumbhash
|
| /expo/packages/expo-image/build/utils/ |
| H A D | resolveSources.js | 24 if (typeof source === 'object' && (source?.blurhash || source?.thumbhash)) { 25 const { blurhash, thumbhash, ...restSource } = source; 26 const resolved = thumbhash 27 ? resolveThumbhashString(thumbhash)
|
| H A D | resolveHashString.web.js.map | 1 …thumbhash format (`thumbhash:/<hash>` or `<hash>`)\n * into an `ImageSource`.\n * Note: Unlike the…
|
| H A D | resolveHashString.js.map | 1 …thumbhash';\n\nfunction hashToUri(type: ImageHashType, hash: string): string {\n const encodedBlu…
|
| H A D | resolveHashString.js | 26 const thumbhash = str.replace(/^thumbhash:\//, '').replace(/\//g, '\\'); 28 uri: hashToUri('thumbhash', thumbhash),
|
| H A D | resolveSources.js.map | 1 …thumbhash only if correct uri scheme is provided\nexport function isThumbhashString(str: string): …
|
| /expo/packages/expo-image/build/web/ |
| H A D | hooks.js | 12 const thumbhash = useThumbhash(source); 15 resolvedSource: blurhash ?? thumbhash ?? source, 16 isImageHash: !!blurhash || !!thumbhash, 17 }), [blurhash, thumbhash]);
|
| H A D | hooks.js.map | 1 …thumbhash/thumbhash';\n\nexport function useThumbhash(source: ImageSource | null | undefined) {\n …
|
| /expo/packages/expo-image/src/web/ |
| H A D | hooks.ts | 20 const thumbhash = useThumbhash(source); constant 24 resolvedSource: blurhash ?? thumbhash ?? source, 25 isImageHash: !!blurhash || !!thumbhash, 27 [blurhash, thumbhash]
|
| /expo/apps/native-component-list/src/components/HashPlaceholdersDemo/ |
| H A D | ComparisonRow.tsx | 10 thumbhash: string; 18 thumbhash, 32 placeholder={{ thumbhash }}
|
| /expo/packages/expo-image/build/utils/thumbhash/ |
| H A D | thumbhash.d.ts.map | 1 {"version":3,"file":"thumbhash.d.ts","sourceRoot":"","sources":["../../../src/utils/thumbhash/thumb…
|
| H A D | thumbhash.d.ts | 65 export declare function thumbHashStringToDataURL(thumbhash: string): string;
|
| /expo/apps/native-component-list/src/screens/Image/ |
| H A D | ImageHashPlaceholdersScreen.tsx | 23 thumbhash={item.thumbhash} 26 key={item.blurhash + item.thumbhash}
|