Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 2492) sorted by relevance

12345678910>>...100

/expo/packages/@expo/cli/src/start/server/middleware/
H A DInterstitialPageMiddleware.ts49 let content = (await readFile(templatePath)).toString('utf-8'); variable
51 content = content.replace(/{{\s*AppName\s*}}/, appName);
52 content = content.replace(/{{\s*Path\s*}}/, this.projectRoot);
53 content = content.replace(/{{\s*Scheme\s*}}/, this.options.scheme ?? 'Unknown');
54 content = content.replace(
58 content = content.replace(/{{\s*ProjectVersion\s*}}/, projectVersion.version ?? 'Undetected');
60 return content;
96 const content = await this._getPageAsync({ appName, projectVersion }); constant
97 res.end(content);
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI48_0_0ParagraphShadowNode.cpp57 if (content.attachments.empty()) { in getContentWithMeasuredAttachments()
59 return content; in getContentWithMeasuredAttachments()
91 return content; in getContentWithMeasuredAttachments()
112 content.attributedString, in updateStateIfNeeded()
113 content.paragraphAttributes, in updateStateIfNeeded()
122 auto content = in measureContent() local
154 auto content = in layout() local
157 updateStateIfNeeded(content); in layout()
161 content.paragraphAttributes, in layout()
166 content.attributedString, in layout()
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI47_0_0ParagraphShadowNode.cpp58 if (content.attachments.empty()) { in getContentWithMeasuredAttachments()
60 return content; in getContentWithMeasuredAttachments()
92 return content; in getContentWithMeasuredAttachments()
113 content.attributedString, in updateStateIfNeeded()
114 content.paragraphAttributes, in updateStateIfNeeded()
123 auto content = in measureContent() local
155 auto content = in layout() local
158 updateStateIfNeeded(content); in layout()
162 content.paragraphAttributes, in layout()
167 content.attributedString, in layout()
[all …]
/expo/docs/components/
H A DHead.tsx13 <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
14 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
18 <meta property="og:title" content={title} />
19 <meta property="og:type" content="website" />
20 <meta property="og:image" content="https://docs.expo.dev/static/images/og.png" />
23 <meta property="og:locale" content="en_US" />
24 <meta property="og:site_name" content={BASE_TITLE} />
27 <meta name="twitter:site" content="@expo" />
28 <meta name="twitter:card" content="summary" />
29 <meta property="twitter:title" content={title} />
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI49_0_0ParagraphShadowNode.cpp58 if (content.attachments.empty()) { in getContentWithMeasuredAttachments()
60 return content; in getContentWithMeasuredAttachments()
92 return content; in getContentWithMeasuredAttachments()
114 content.attributedString, in updateStateIfNeeded()
115 content.paragraphAttributes, in updateStateIfNeeded()
124 auto content = in measureContent() local
154 auto content = in layout() local
157 updateStateIfNeeded(content); in layout()
160 content.attributedString, content.paragraphAttributes, layoutConstraints); in layout()
164 content.attributedString, in layout()
[all …]
/expo/docs/ui/components/CommandMenu/
H A Dutils.ts73 const trimContent = (content: string, length = 36) => {
74 if (!content || !content.length) return '';
77 const trimEnd = Math.min(content.indexOf('</mark>') + length + 6, content.length);
80 trimEnd !== content.length ? '…' : ''
89 __html: item._highlightResult.content?.value
90 ? trimContent(item._highlightResult.content?.value)
154 export const addHighlight = (content: string, query: string) => {
157 if (highlightStart === -1) return content;
161 content.substring(0, highlightStart) +
163 content.substring(highlightStart, highlightEnd) +
[all …]
/expo/packages/expo-status-bar/src/__tests__/
H A DStatusBar-test.native.tsx21 it('uses light-content instead of default when dark mode', () => {
23 expect(renderedPropValue(<ExpoStatusBar style="auto" />, 'barStyle')).toBe('light-content');
27 it('uses dark-content instead of default when light mode', () => {
29 expect(renderedPropValue(<ExpoStatusBar style="auto" />, 'barStyle')).toBe('dark-content');
33 it('uses light-content when inverted in light mode', () => {
36 'light-content'
41 it('uses dark-content when inverted in dark mode', () => {
44 'dark-content'
49 it('translates light to light-content and dark to dark-content', () => {
50 expect(renderedPropValue(<ExpoStatusBar style="light" />, 'barStyle')).toBe('light-content');
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/SharedElement/
H A DABI48_0_0RNSharedElementContent.m56 + (CGSize) sizeForRect:(CGRect)layout content:(ABI48_0_0RNSharedElementContent*)content
58 if (content == nil || content.data == nil) return layout.size;
59 if (content.type != ABI48_0_0RNSharedElementContentTypeRawImage) return layout.size;
61 return [content.data isKindOfClass:[UIImage class]] ? ((UIImage*)content.data).size : size;
64 + (CGRect) layoutForRect:(CGRect)layout content:(ABI48_0_0RNSharedElementContent*) content contentM…
66 if (content == nil || content.data == nil) return layout;
67 if (content.type != ABI48_0_0RNSharedElementContentTypeRawImage) return layout;
69 size.width -= (content.insets.left + content.insets.right);
70 size.height -= (content.insets.top + content.insets.bottom);
71 CGSize contentSize = [ABI48_0_0RNSharedElementContent sizeForRect:layout content:content];
/expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Components/SharedElement/
H A DABI47_0_0RNSharedElementContent.m55 + (CGSize) sizeForRect:(CGRect)layout content:(ABI47_0_0RNSharedElementContent*)content
57 if (content == nil || content.data == nil) return layout.size;
58 if (content.type != ABI47_0_0RNSharedElementContentTypeRawImage) return layout.size;
60 return [content.data isKindOfClass:[UIImage class]] ? ((UIImage*)content.data).size : size;
63 + (CGRect) layoutForRect:(CGRect)layout content:(ABI47_0_0RNSharedElementContent*) content contentM…
65 if (content == nil || content.data == nil) return layout;
66 if (content.type != ABI47_0_0RNSharedElementContentTypeRawImage) return layout;
68 size.width -= (content.insets.left + content.insets.right);
69 size.height -= (content.insets.top + content.insets.bottom);
70 CGSize contentSize = [ABI47_0_0RNSharedElementContent sizeForRect:layout content:content];
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/presentation/builders/
H A DExpoNotificationBuilder.java4 import android.content.Context;
5 import android.content.pm.ApplicationInfo;
6 import android.content.pm.PackageManager;
7 import android.content.res.Resources;
52 builder.setOngoing(content.isSticky()); in createBuilder()
54 builder.setContentTitle(content.getTitle()); in createBuilder()
55 builder.setContentText(content.getText()); in createBuilder()
56 builder.setSubText(content.getSubtitle()); in createBuilder()
79 builder.setSound(content.getSound()); in createBuilder()
89 if (content.getBody() != null) { in createBuilder()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DExpoNotificationBuilder.java4 import android.content.Context;
5 import android.content.pm.ApplicationInfo;
6 import android.content.pm.PackageManager;
7 import android.content.res.Resources;
52 builder.setOngoing(content.isSticky()); in createBuilder()
55 builder.setContentText(content.getText()); in createBuilder()
56 builder.setSubText(content.getSubtitle()); in createBuilder()
79 builder.setSound(content.getSound()); in createBuilder()
89 if (content.getBody() != null) { in createBuilder()
155 boolean contentAllowsSound = content.shouldPlayDefaultSound() || content.getSound() != null; in shouldPlaySound()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DExpoNotificationBuilder.java4 import android.content.Context;
5 import android.content.pm.ApplicationInfo;
6 import android.content.pm.PackageManager;
7 import android.content.res.Resources;
52 builder.setOngoing(content.isSticky()); in createBuilder()
55 builder.setContentText(content.getText()); in createBuilder()
56 builder.setSubText(content.getSubtitle()); in createBuilder()
79 builder.setSound(content.getSound()); in createBuilder()
89 if (content.getBody() != null) { in createBuilder()
155 boolean contentAllowsSound = content.shouldPlayDefaultSound() || content.getSound() != null; in shouldPlaySound()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DExpoNotificationBuilder.java4 import android.content.Context;
5 import android.content.pm.ApplicationInfo;
6 import android.content.pm.PackageManager;
7 import android.content.res.Resources;
52 builder.setOngoing(content.isSticky()); in createBuilder()
55 builder.setContentText(content.getText()); in createBuilder()
56 builder.setSubText(content.getSubtitle()); in createBuilder()
79 builder.setSound(content.getSound()); in createBuilder()
89 if (content.getBody() != null) { in createBuilder()
155 boolean contentAllowsSound = content.shouldPlayDefaultSound() || content.getSound() != null; in shouldPlaySound()
[all …]
/expo/packages/@expo/config-plugins/src/utils/__tests__/
H A DmatchBrackets-test.ts19 const content = ` constant
27 const lastBrace = content.length - 1;
28 expect(findMatchingBracketPosition(content, '{')).toBe(lastBrace);
33 const firstBrace = content.indexOf('{');
34 const secondBrace = content.indexOf('{', firstBrace + 1);
35 expect(findMatchingBracketPosition(content, '}')).toBe(secondBrace);
/expo/packages/expo-notifications/src/__tests__/
H A DNotifications-test.ts6 content: {
19 input.content,
35 input.content,
57 input.content,
80 input.content,
104 input.content,
127 input.content,
151 input.content,
176 input.content,
193 input.content,
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/
H A DABI49_0_0EXScopedNotificationBuilder.m28 UNMutableNotificationContent *content = [super notificationContentFromRequest:request];
29 NSMutableDictionary *userInfo = [content.userInfo mutableCopy];
35 [content setUserInfo:userInfo];
37 if (content.categoryIdentifier && _isInExpoGo) {
38 …Identifier = [ABI49_0_0EXScopedNotificationsUtils scopedIdentifierFromId:content.categoryIdentifier
40 [content setCategoryIdentifier:scopedCategoryIdentifier];
43 return content;
/expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/
H A DABI47_0_0EXScopedNotificationBuilder.m28 UNMutableNotificationContent *content = [super notificationContentFromRequest:request];
29 NSMutableDictionary *userInfo = [content.userInfo mutableCopy];
35 [content setUserInfo:userInfo];
37 if (content.categoryIdentifier && _isInExpoGo) {
38 …Identifier = [ABI47_0_0EXScopedNotificationsUtils scopedIdentifierFromId:content.categoryIdentifier
40 [content setCategoryIdentifier:scopedCategoryIdentifier];
43 return content;
/expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/UniversalModules/EXNotifications/
H A DABI48_0_0EXScopedNotificationBuilder.m28 UNMutableNotificationContent *content = [super notificationContentFromRequest:request];
29 NSMutableDictionary *userInfo = [content.userInfo mutableCopy];
35 [content setUserInfo:userInfo];
37 if (content.categoryIdentifier && _isInExpoGo) {
38 …Identifier = [ABI48_0_0EXScopedNotificationsUtils scopedIdentifierFromId:content.categoryIdentifier
40 [content setCategoryIdentifier:scopedCategoryIdentifier];
43 return content;
/expo/ios/Exponent/Versioned/Core/UniversalModules/EXNotifications/
H A DEXScopedNotificationBuilder.m28 UNMutableNotificationContent *content = [super notificationContentFromRequest:request];
29 NSMutableDictionary *userInfo = [content.userInfo mutableCopy];
35 [content setUserInfo:userInfo];
37 if (content.categoryIdentifier && _isInExpoGo) {
38 …NSString *scopedCategoryIdentifier = [EXScopedNotificationsUtils scopedIdentifierFromId:content.ca…
40 [content setCategoryIdentifier:scopedCategoryIdentifier];
43 return content;
/expo/ios/ExpoNotificationServiceExtension/
H A DNotificationService.swift16 if let bestAttemptContent = request.content.mutableCopy() as? UNMutableNotificationContent {
18 …if !request.content.categoryIdentifier.isEmpty && (request.content.userInfo["experienceId"]) != ni…
19 …icationsUtils.scopedIdentifier(fromId: request.content.categoryIdentifier, forExperience: request.
/expo/packages/@expo/metro-runtime/build/error-overlay/UI/
H A DLogBoxMessage.js16 const cleanContent = (content) => content.replace(/^(TransformError |Warning: (Warning: )?|Error: )… argument
18 const { content, substitutions } = props.message;
20 return react_1.default.createElement(react_native_1.Text, null, cleanContent(content));
39 const prevPart = content.substr(prevOffset, substitution.offset - prevOffset);
42 const substititionPart = content.substr(substitution.offset, substitution.length);
46 if (lastOffset < content.length) {
47 const lastPart = content.substr(lastOffset);
/expo/packages/@expo/cli/src/export/__tests__/
H A DexportHermes.test.ts15 const content = ` constant
20 expect(parseGradleProperties(content)).toEqual({
27 const content = ` constant
31 expect(parseGradleProperties(content)).toEqual({
37 const content = ` constant
175 return Promise.resolve(content);
247 return Promise.resolve(content);
280 for (const content of podfileTestCases) { constant
282 '/expo/ios/Podfile': content,
328 for (const content of podfileTestCases) { constant
[all …]
/expo/tools/src/vendoring/
H A Dlegacy.ts87 content = content.replace(/^#import "(GMU.+?\.h)"$/gm, '#import <Google-Maps-iOS-Utils/$1>');
152 content = content.replace(
156 await fs.writeFile(file, content);
205 content = content.replace(/^(package .+)$/gm, '$1\n\nimport host.exp.expoview.R;');
227 content = content.replace(/^(package .+)$/gm, '$1\nimport host.exp.expoview.R');
244 content = content
261 content = content.replace(
279 content = content.replace(
618 content = content.replace(
642 content = content.replace(
[all …]
/expo/packages/expo-notifications/ios/EXNotifications/Building/
H A DEXNotificationBuilder.m18 UNMutableNotificationContent *content = [UNMutableNotificationContent new];
19 [content setTitle:[request objectForKey:@"title" verifyingClass:[NSString class]]];
20 [content setSubtitle:[request objectForKey:@"subtitle" verifyingClass:[NSString class]]];
21 [content setBody:[request objectForKey:@"body" verifyingClass:[NSString class]]];
23 [content setBadge:[request objectForKey:@"badge" verifyingClass:[NSNumber class]]];
31 [content setSound:[UNNotificationSound defaultSound]];
34 [content setSound:[UNNotificationSound defaultCriticalSound]];
36 [content setSound:[UNNotificationSound defaultSound]];
39 [content setSound:[UNNotificationSound soundNamed:soundName]];
49 [content setAttachments:attachments];
[all …]
/expo/ios/versioned/sdk47/EXNotifications/EXNotifications/Building/
H A DABI47_0_0EXNotificationBuilder.m18 UNMutableNotificationContent *content = [UNMutableNotificationContent new];
19 [content setTitle:[request objectForKey:@"title" verifyingClass:[NSString class]]];
20 [content setSubtitle:[request objectForKey:@"subtitle" verifyingClass:[NSString class]]];
21 [content setBody:[request objectForKey:@"body" verifyingClass:[NSString class]]];
23 [content setBadge:[request objectForKey:@"badge" verifyingClass:[NSNumber class]]];
31 [content setSound:[UNNotificationSound defaultSound]];
34 [content setSound:[UNNotificationSound defaultCriticalSound]];
36 [content setSound:[UNNotificationSound defaultSound]];
39 [content setSound:[UNNotificationSound soundNamed:soundName]];
49 [content setAttachments:attachments];
[all …]

12345678910>>...100