Home
last modified time | relevance | path

Searched refs:attachments (Results 1 – 25 of 91) sorted by relevance

1234

/expo/packages/expo-sms/build/
H A DSMS.js4 function processAttachments(attachments) { argument
5 if (!attachments) {
8 attachments = Array.isArray(attachments) ? attachments : [attachments];
9 if (Platform.OS === 'android' && attachments.length > 1) {
13 attachments = attachments.slice(0, 1);
15 return attachments;
65 if (options?.attachments) {
66 finalOptions.attachments = processAttachments(options?.attachments) || undefined;
H A DSMS.js.map1attachments: SMSAttachment | SMSAttachment[] | undefined\n): SMSAttachment[] | null {\n if (!atta…
H A DSMS.types.d.ts26 attachments?: SMSAttachment | SMSAttachment[] | undefined;
/expo/packages/expo-sms/src/
H A DSMS.ts10 attachments: SMSAttachment | SMSAttachment[] | undefined
12 if (!attachments) {
15 attachments = Array.isArray(attachments) ? attachments : [attachments];
16 if (Platform.OS === 'android' && attachments.length > 1) {
20 attachments = attachments.slice(0, 1);
22 return attachments;
77 if (options?.attachments) {
78 finalOptions.attachments = processAttachments(options?.attachments) || undefined;
H A DSMS.types.ts31 attachments?: SMSAttachment | SMSAttachment[] | undefined;
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI48_0_0ParagraphShadowNode.cpp43 auto attachments = Attachments{}; in getContent()
44 buildAttributedString(textAttributes, *this, attributedString, attachments); in getContent()
47 attributedString, getConcreteProps().paragraphAttributes, attachments}; in getContent()
57 if (content.attachments.empty()) { in getContentWithMeasuredAttachments()
68 for (auto const &attachment : content.attachments) { in getContentWithMeasuredAttachments()
172 if (content.attachments.empty()) { in layout()
186 content.attachments.size() == measurement.attachments.size()); in layout()
188 for (size_t i = 0; i < content.attachments.size(); i++) { in layout()
189 auto &attachment = content.attachments.at(i); in layout()
211 auto attachmentFrame = measurement.attachments[i].frame; in layout()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI47_0_0ParagraphShadowNode.cpp44 auto attachments = Attachments{}; in getContent()
45 buildAttributedString(textAttributes, *this, attributedString, attachments); in getContent()
48 attributedString, getConcreteProps().paragraphAttributes, attachments}; in getContent()
58 if (content.attachments.empty()) { in getContentWithMeasuredAttachments()
69 for (auto const &attachment : content.attachments) { in getContentWithMeasuredAttachments()
173 if (content.attachments.empty()) { in layout()
187 content.attachments.size() == measurement.attachments.size()); in layout()
189 for (size_t i = 0; i < content.attachments.size(); i++) { in layout()
190 auto &attachment = content.attachments.at(i); in layout()
211 auto attachmentFrame = measurement.attachments[i].frame; in layout()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/components/text/
H A DABI49_0_0ParagraphShadowNode.cpp44 auto attachments = Attachments{}; in getContent()
45 buildAttributedString(textAttributes, *this, attributedString, attachments); in getContent()
48 attributedString, getConcreteProps().paragraphAttributes, attachments}; in getContent()
58 if (content.attachments.empty()) { in getContentWithMeasuredAttachments()
69 for (auto const &attachment : content.attachments) { in getContentWithMeasuredAttachments()
170 if (content.attachments.empty()) { in layout()
184 content.attachments.size() == measurement.attachments.size()); in layout()
186 for (size_t i = 0; i < content.attachments.size(); i++) { in layout()
187 auto &attachment = content.attachments.at(i); in layout()
209 auto attachmentFrame = measurement.attachments[i].frame; in layout()
/expo/packages/expo-sms/src/__tests__/
H A DSMS-test.ts32 await SMS.sendSMSAsync('0123456789', 'test', { attachments: imageAttachment });
34 attachments: [imageAttachment],
43 await SMS.sendSMSAsync('0123456789', 'test', { attachments: multipleAttachments });
45 attachments: Platform.OS === 'android' ? [imageAttachment] : multipleAttachments,
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/cxx/
H A DABI48_0_0TextLayoutManager.cpp21 TextMeasurement::Attachments attachments; in measure() local
24 attachments.push_back( in measure()
28 return TextMeasurement{{0, 0}, attachments}; in measure()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/cxx/
H A DABI47_0_0TextLayoutManager.cpp21 TextMeasurement::Attachments attachments; in measure() local
24 attachments.push_back( in measure()
28 return TextMeasurement{{0, 0}, attachments}; in measure()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/cxx/
H A DABI49_0_0TextLayoutManager.cpp22 TextMeasurement::Attachments attachments; in measure() local
25 attachments.push_back( in measure()
29 return TextMeasurement{{0, 0}, attachments}; in measure()
/expo/ios/versioned/sdk49/ExpoMailComposer/
H A DMailComposingSession.swift29 if let attachments = options.attachments { in compose() variable
33 for attachment in attachments { in compose()
/expo/ios/versioned/sdk47/ExpoMailComposer/
H A DMailComposingSession.swift29 if let attachments = options.attachments { in compose() variable
33 for attachment in attachments { in compose()
/expo/ios/versioned/sdk48/ExpoMailComposer/
H A DMailComposingSession.swift29 if let attachments = options.attachments { in compose() variable
33 for attachment in attachments { in compose()
/expo/packages/expo-mail-composer/ios/
H A DMailComposingSession.swift29 if let attachments = options.attachments { in compose() variable
33 for attachment in attachments { in compose()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/mailcomposer/
H A DMailIntentBuilder.kt73 options.attachments?.let { requestedAttachments -> in <lambda>()
74 val attachments = requestedAttachments.toTypedArray().map { requestedAttachment -> in <lambda>() constant
82 mailIntent.putParcelableArrayListExtra(intentName, attachments) in <lambda>()
/expo/apps/test-suite/tests/
H A DSMSCommon.js65 attachments: { property
75 attachments: [ property
92 attachments: [ property
/expo/packages/expo-mail-composer/android/src/main/java/expo/modules/mailcomposer/
H A DMailIntentBuilder.kt73 options.attachments?.let { requestedAttachments -> in <lambda>()
74 val attachments = requestedAttachments.toTypedArray().map { requestedAttachment -> in <lambda>() constant
82 mailIntent.putParcelableArrayListExtra(intentName, attachments) in <lambda>()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/android/react/renderer/textlayoutmanager/
H A DABI48_0_0TextLayoutManager.cpp213 auto attachments = TextMeasurement::Attachments{}; in measureCachedSpannableById()
215 return TextMeasurement{size, attachments}; in measureCachedSpannableById()
294 auto attachments = TextMeasurement::Attachments{}; in doMeasure()
309 attachments.push_back(TextMeasurement::Attachment{rect, false}); in doMeasure()
320 return TextMeasurement{size, attachments}; in doMeasure()
359 auto attachments = TextMeasurement::Attachments{}; in doMeasureMapBuffer()
372 attachments.push_back(TextMeasurement::Attachment{rect, false}); in doMeasureMapBuffer()
383 return TextMeasurement{size, attachments}; in doMeasureMapBuffer()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/android/react/renderer/textlayoutmanager/
H A DABI49_0_0TextLayoutManager.cpp224 auto attachments = TextMeasurement::Attachments{}; in measureCachedSpannableById()
226 return TextMeasurement{size, attachments}; in measureCachedSpannableById()
305 auto attachments = TextMeasurement::Attachments{}; in doMeasure()
320 attachments.push_back(TextMeasurement::Attachment{rect, false}); in doMeasure()
331 return TextMeasurement{size, attachments}; in doMeasure()
370 auto attachments = TextMeasurement::Attachments{}; in doMeasureMapBuffer()
383 attachments.push_back(TextMeasurement::Attachment{rect, false}); in doMeasureMapBuffer()
394 return TextMeasurement{size, attachments}; in doMeasureMapBuffer()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/android/react/renderer/textlayoutmanager/
H A DABI47_0_0TextLayoutManager.cpp222 auto attachments = TextMeasurement::Attachments{}; in measureCachedSpannableById()
224 return TextMeasurement{size, attachments}; in measureCachedSpannableById()
357 auto attachments = TextMeasurement::Attachments{}; in doMeasure()
372 attachments.push_back(TextMeasurement::Attachment{rect, false}); in doMeasure()
383 return TextMeasurement{size, attachments}; in doMeasure()
422 auto attachments = TextMeasurement::Attachments{}; in doMeasureMapBuffer()
435 attachments.push_back(TextMeasurement::Attachment{rect, false}); in doMeasureMapBuffer()
446 return TextMeasurement{size, attachments}; in doMeasureMapBuffer()
/expo/packages/expo-mail-composer/src/
H A DMailComposer.types.ts34 attachments?: string[];
/expo/packages/expo-mail-composer/build/
H A DMailComposer.types.d.ts33 attachments?: string[];
/expo/packages/expo-sms/ios/
H A DSMSOptions.swift4 @Field var attachments: [SMSAttachment] variable

1234