| /expo/packages/expo-font/src/__tests__/ |
| H A D | Font-test.native.ts | 3 let Font; variable 35 Font = require('expo-font'); 70 await Font.loadAsync('test-font', mockAsset); 195 await Font.loadAsync({ 214 Font.loadAsync({ 233 const loadPromise1 = Font.loadAsync({ 246 const loadPromise2 = Font.loadAsync({ 303 Font.loadAsync(fontName, mockAsset); 357 await Font.loadAsync(fontName, mockAsset); 358 expect(Font.isLoaded(fontName)).toBe(true); [all …]
|
| H A D | Font-test.web.ts | 4 import * as Font from '../index'; 19 await Font.unloadAllAsync(); 29 expect(Font.isLoaded(name)).toBe(false); 31 await Font.loadAsync(name, resource); 33 expect(Font.isLoaded(name)).toBe(true); 41 display: Font.FontDisplay.AUTO, 44 await Font.unloadAsync(name); 73 await Font.loadAsync(map); 87 await Font.loadAsync(name, resource); 91 display: Font.FontDisplay.AUTO, [all …]
|
| H A D | FontLoader-test.web.ts | 3 import * as Font from '../Font'; 48 expect((FontLoader.getAssetForSource('foo') as any).display).toBe(Font.FontDisplay.AUTO); 50 Font.FontDisplay.AUTO 53 (FontLoader.getAssetForSource({ uri: 'foo', display: Font.FontDisplay.SWAP }) as any).display 54 ).toBe(Font.FontDisplay.SWAP); 56 (FontLoader.getAssetForSource({ default: 'foo', display: Font.FontDisplay.SWAP }) as any) 58 ).toBe(Font.FontDisplay.SWAP);
|
| H A D | Font-test.node.ts | 1 import * as Font from '../index'; 13 expect(Font.isLoaded(name)).toBe(false); 15 Font.loadAsync(name, resource); 17 expect(Font.isLoaded(name)).toBe(true); 24 expect(Font.isLoaded(name)).toBe(false);
|
| H A D | FontHooks-test.ts | 3 import * as Font from '../Font'; 14 const loadAsyncSpy = jest.spyOn(Font, 'loadAsync').mockResolvedValue();
|
| /expo/apps/test-suite/tests/ |
| H A D | Font.js | 1 import * as Font from 'expo-font'; 10 await Font.unloadAsync('cool-font'); 23 expect(Font.isLoaded('cool-font')).toBe(false); 24 expect(Font.isLoading('cool-font')).toBe(false); 27 await Font.loadAsync({ 30 display: Font.FontDisplay.SWAP, 37 expect(Font.isLoaded('cool-font')).toBe(true);
|
| /expo/apps/native-component-list/src/utilities/ |
| H A D | loadAssetsAsync.ts | 5 import * as Font from 'expo-font'; 11 Font.loadAsync(Ionicons.font), 12 Font.loadAsync(MaterialIcons.font), 13 Font.loadAsync({ 19 Font.loadAsync({
|
| /expo/packages/expo/build/ |
| H A D | Expo.fx.js | 3 import * as Font from 'expo-font'; 10 StyleSheet.setStyleAttributePreprocessor('fontFamily', Font.processFontFamily);
|
| H A D | Expo.fx.js.map | 1 …Font from 'expo-font';\nimport { NativeModulesProxy, Platform } from 'expo-modules-core';\nimport …
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | FontScreen.tsx | 7 title: 'Font', 31 Font icons sets and other custom fonts can be loaded from the web 34 Font icons sets and other custom fonts can be loaded by providing remote uri as well.
|
| /expo/packages/expo-font/build/ |
| H A D | Font.types.d.ts.map | 1 {"version":3,"file":"Font.types.d.ts","sourceRoot":"","sources":["../src/Font.types.ts"],"names":[]…
|
| H A D | Font.d.ts.map | 1 {"version":3,"file":"Font.d.ts","sourceRoot":"","sources":["../src/Font.ts"],"names":[],"mappings":…
|
| H A D | index.js.map | 1 …B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC","sourcesContent":["export * from './Font';\nexport { useFont…
|
| /expo/apps/router-e2e/__e2e__/static-rendering/app/ |
| H A D | _layout.tsx | 3 import * as Font from 'expo-font'; 8 const [isLoaded] = Font.useFonts({ sweet: require('../sweet.ttf') });
|
| /expo/packages/expo-router/build/static/ |
| H A D | renderStaticContent.js | 38 const Font = __importStar(require("expo-font/build/server")); constant 87 Font.resetServerContext(); 97 const fonts = Font.getServerResources();
|
| /expo/apps/native-component-list/src/screens/SVG/examples/ |
| H A D | VictoryNative.tsx | 1 import * as Font from 'expo-font'; 60 fontFamily={Font.processFontFamily('space-mono')!}
|
| /expo/packages/expo/src/ |
| H A D | Expo.fx.tsx | 4 import * as Font from 'expo-font'; 13 StyleSheet.setStyleAttributePreprocessor('fontFamily', Font.processFontFamily);
|
| /expo/packages/expo-router/src/static/ |
| H A D | renderStaticContent.tsx | 10 import * as Font from 'expo-font/build/server'; 77 Font.resetServerContext(); 96 const fonts = Font.getServerResources();
|
| /expo/home/ |
| H A D | HomeApp.tsx | 8 import * as Font from 'expo-font'; 111 Font.loadAsync(Ionicons.font), 113 ? Font.loadAsync(MaterialIcons.font) 115 Font.loadAsync({
|
| /expo/docs/pages/versions/unversioned/sdk/ |
| H A D | font.mdx | 2 title: Font 76 import * as Font from 'expo-font';
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | font.mdx | 2 title: Font 76 import * as Font from 'expo-font';
|
| /expo/docs/pages/versions/v49.0.0/sdk/ |
| H A D | font.mdx | 2 title: Font 76 import * as Font from 'expo-font';
|
| /expo/docs/pages/versions/v48.0.0/sdk/ |
| H A D | font.mdx | 2 title: Font 76 import * as Font from 'expo-font';
|
| /expo/docs/pages/versions/v47.0.0/sdk/ |
| H A D | font.mdx | 2 title: Font 76 import * as Font from 'expo-font';
|
| /expo/packages/expo-font/src/__tests__/__snapshots__/ |
| H A D | Font-test.native.ts.snap.ios | 22 …t "loading", but used it before it finished loading. You need to wait for Font.loadAsync to comple…
|