| /expo/packages/expo-image/ios/ |
| H A D | ContentPosition.swift | 31 let diff = containerWidth - contentWidth in offsetX() variable 34 return -diff / 2 + leftDistance in offsetX() 37 return diff / 2 - rightDistance in offsetX() 40 return -diff / 2 + diff * factor in offsetX() 43 return diff / 2 - diff * factor in offsetX() 52 let diff = containerHeight - contentHeight in offsetY() variable 55 return -diff / 2 + topDistance in offsetY() 58 return diff / 2 - bottomDistance in offsetY() 61 return -diff / 2 + diff * factor in offsetY() 64 return diff / 2 - diff * factor in offsetY()
|
| /expo/ios/versioned/sdk49/ExpoImage/ |
| H A D | ContentPosition.swift | 31 let diff = containerWidth - contentWidth in offsetX() variable 34 return -diff / 2 + leftDistance in offsetX() 37 return diff / 2 - rightDistance in offsetX() 40 return -diff / 2 + diff * factor in offsetX() 43 return diff / 2 - diff * factor in offsetX() 52 let diff = containerHeight - contentHeight in offsetY() variable 55 return -diff / 2 + topDistance in offsetY() 58 return diff / 2 - bottomDistance in offsetY() 61 return -diff / 2 + diff * factor in offsetY() 64 return diff / 2 - diff * factor in offsetY()
|
| /expo/ios/versioned/sdk48/ExpoImage/ |
| H A D | ContentPosition.swift | 31 let diff = containerWidth - contentWidth in offsetX() variable 34 return -diff / 2 + leftDistance in offsetX() 37 return diff / 2 - rightDistance in offsetX() 40 return -diff / 2 + diff * factor in offsetX() 43 return diff / 2 - diff * factor in offsetX() 52 let diff = containerHeight - contentHeight in offsetY() variable 55 return -diff / 2 + topDistance in offsetY() 58 return diff / 2 - bottomDistance in offsetY() 61 return -diff / 2 + diff * factor in offsetY() 64 return diff / 2 - diff * factor in offsetY()
|
| /expo/packages/@expo/fingerprint/src/__tests__/ |
| H A D | Fingerprint-test.ts | 19 const diff = await diffFingerprintChangesAsync( constant 24 expect(diff.length).toBe(0); 34 const diff = await diffFingerprintChangesAsync( constant 39 expect(diff).toMatchInlineSnapshot(` 63 let diff = await diffFingerprintChangesAsync( variable 68 expect(diff.length).toBe(0); 74 diff = await diffFingerprintChangesAsync( 80 expect(diff).toMatchInlineSnapshot(` 101 const diff = await diffFingerprintChangesAsync( constant 106 expect(diff).toMatchInlineSnapshot(` [all …]
|
| /expo/tools/src/ |
| H A D | Diff.ts | 7 const diff = diffLines(before, after); constant 8 diff.forEach((part, index) => { 9 const isContextEnd = index > 0 && (diff[index - 1].added || diff[index - 1].removed); 11 index < diff.length - 1 && (diff[index + 1].added || diff[index + 1].removed);
|
| /expo/tools/src/code-review/reviewers/ |
| H A D | checkMissingChangelogs.ts | 15 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> { 23 return diff.some((fileDiff) => { 33 return pkgHasChangelog && diff.every((fileDiff) => fileDiff.path !== pkg.changelogPath); 36 const globalChangelogHasChanges = diff.some( 44 if (globalChangelogHasChanges && !isModifyingVendoredModules(diff)) { 53 function isModifyingVendoredModules(diff: GitFileDiff[]): boolean { 54 return diff.some(
|
| H A D | reviewForbiddenFiles.ts | 14 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> { 22 diff.filter((file) => !file.deleted).map((file) => file.path)
|
| H A D | lintSwiftFiles.ts | 13 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> { 14 const swiftFiles = diff.filter((fileDiff) => {
|
| H A D | reviewChangelogEntries.ts | 10 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput> { 11 const changelogs = diff.filter(
|
| /expo/secrets/ |
| H A D | .gitattributes | 1 * filter=git-crypt diff=git-crypt 2 .gitattributes !filter !diff 3 README.md !filter !diff
|
| /expo/ |
| H A D | .gitattributes | 1 *.pbxproj merge=union -text diff linguist-generated 2 packages/*/build/** -diff linguist-generated 3 packages/*/plugin/build/** -diff linguist-generated 4 packages/@*/*/build/** -diff linguist-generated
|
| /expo/android/vendored/unversioned/@shopify/flash-list/android/src/main/kotlin/com/shopify/reactnative/flash_list/ |
| H A D | AutoLayoutView.kt | 85 val diff = getFooterDiff() in fixFooter() constant 86 if (diff == 0 || footer == null || autoLayoutParent == null) { in fixFooter() 91 footer.offsetLeftAndRight(diff) in fixFooter() 92 right += diff in fixFooter() 93 autoLayoutParent.right += diff in fixFooter() 95 footer.offsetTopAndBottom(diff) in fixFooter() 96 bottom += diff in fixFooter() 97 autoLayoutParent.bottom += diff in fixFooter()
|
| /expo/android/vendored/sdk47/@shopify/flash-list/android/src/main/kotlin/abi47_0_0/com/shopify/reactnative/flash_list/ |
| H A D | AutoLayoutView.kt | 85 val diff = getFooterDiff() in fixFooter() constant 86 if (diff == 0 || footer == null || autoLayoutParent == null) { in fixFooter() 91 footer.offsetLeftAndRight(diff) in fixFooter() 92 right += diff in fixFooter() 93 autoLayoutParent.right += diff in fixFooter() 95 footer.offsetTopAndBottom(diff) in fixFooter() 96 bottom += diff in fixFooter() 97 autoLayoutParent.bottom += diff in fixFooter()
|
| /expo/android/vendored/sdk48/@shopify/flash-list/android/src/main/kotlin/abi48_0_0/com/shopify/reactnative/flash_list/ |
| H A D | AutoLayoutView.kt | 85 val diff = getFooterDiff() in fixFooter() constant 86 if (diff == 0 || footer == null || autoLayoutParent == null) { in fixFooter() 91 footer.offsetLeftAndRight(diff) in fixFooter() 92 right += diff in fixFooter() 93 autoLayoutParent.right += diff in fixFooter() 95 footer.offsetTopAndBottom(diff) in fixFooter() 96 bottom += diff in fixFooter() 97 autoLayoutParent.bottom += diff in fixFooter()
|
| /expo/android/vendored/sdk49/@shopify/flash-list/android/src/main/kotlin/abi49_0_0/com/shopify/reactnative/flash_list/ |
| H A D | AutoLayoutView.kt | 85 val diff = getFooterDiff() in fixFooter() constant 86 if (diff == 0 || footer == null || autoLayoutParent == null) { in fixFooter() 91 footer.offsetLeftAndRight(diff) in fixFooter() 92 right += diff in fixFooter() 93 autoLayoutParent.right += diff in fixFooter() 95 footer.offsetTopAndBottom(diff) in fixFooter() 96 bottom += diff in fixFooter() 97 autoLayoutParent.bottom += diff in fixFooter()
|
| /expo/docs/ui/components/Snippet/blocks/ |
| H A D | DiffBlock.tsx | 3 import { parseDiff, Diff, Hunk } from 'react-diff-view'; 11 // These types come from `react-diff-view` library 27 const [diff, setDiff] = useState<RenderLine[] | null>(raw ? parseDiff(raw) : null); 40 if (!diff) { 61 return <>{diff.map(renderFile)}</>;
|
| /expo/docs/ui/components/Snippet/ |
| H A D | DiffBlock.test.tsx | 11 const DIFF_PATH = '/static/diffs/expo-ios.diff'; 22 it('renders diff from file correctly', async () => { 36 it('renders raw diff correctly on first render', () => { 42 it('renders diff correctly when no commit data', () => {
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/ |
| H A D | lint-java.js | 98 diff: diffProc.stdout, 127 function parseChanges(file, diff) { argument 131 diff.split('\n').forEach(line => { 184 if (argv.diff) { 188 .map(x => parseChanges(x.file, x.diff))
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/ |
| H A D | lint-java.js | 98 diff: diffProc.stdout, 127 function parseChanges(file, diff) { argument 131 diff.split('\n').forEach(line => { 184 if (argv.diff) { 188 .map(x => parseChanges(x.file, x.diff))
|
| /expo/ios/vendored/sdk47/@shopify/flash-list/ios/Sources/ |
| H A D | AutoLayoutView.swift | 243 let diff = footerDiff() in fixFooter() variable 244 guard diff != 0 else { return } in fixFooter() 247 footer.frame.origin.x += diff in fixFooter() 248 frame.size.width += diff in fixFooter() 249 superview?.frame.size.width += diff in fixFooter() 251 footer.frame.origin.y += diff in fixFooter() 252 frame.size.height += diff in fixFooter() 253 superview?.frame.size.height += diff in fixFooter()
|
| /expo/ios/vendored/unversioned/@shopify/flash-list/ios/Sources/ |
| H A D | AutoLayoutView.swift | 248 let diff = footerDiff() in fixFooter() variable 249 guard diff != 0 else { return } in fixFooter() 252 footer.frame.origin.x += diff in fixFooter() 253 frame.size.width += diff in fixFooter() 254 superview?.frame.size.width += diff in fixFooter() 256 footer.frame.origin.y += diff in fixFooter() 257 frame.size.height += diff in fixFooter() 258 superview?.frame.size.height += diff in fixFooter()
|
| /expo/ios/vendored/sdk49/@shopify/flash-list/ios/Sources/ |
| H A D | AutoLayoutView.swift | 248 let diff = footerDiff() in fixFooter() variable 249 guard diff != 0 else { return } in fixFooter() 252 footer.frame.origin.x += diff in fixFooter() 253 frame.size.width += diff in fixFooter() 254 superview?.frame.size.width += diff in fixFooter() 256 footer.frame.origin.y += diff in fixFooter() 257 frame.size.height += diff in fixFooter() 258 superview?.frame.size.height += diff in fixFooter()
|
| /expo/ios/vendored/sdk48/@shopify/flash-list/ios/Sources/ |
| H A D | AutoLayoutView.swift | 243 let diff = footerDiff() in fixFooter() variable 244 guard diff != 0 else { return } in fixFooter() 247 footer.frame.origin.x += diff in fixFooter() 248 frame.size.width += diff in fixFooter() 249 superview?.frame.size.width += diff in fixFooter() 251 footer.frame.origin.y += diff in fixFooter() 252 frame.size.height += diff in fixFooter() 253 superview?.frame.size.height += diff in fixFooter()
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/circleci/ |
| H A D | check_license.sh | 15 diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/circleci/ |
| H A D | check_license.sh | 15 diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true
|