Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 162) sorted by relevance

1234567

/expo/packages/expo-image/ios/
H A DContentPosition.swift31 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 DContentPosition.swift31 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 DContentPosition.swift31 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 DFingerprint-test.ts19 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 DDiff.ts7 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 DcheckMissingChangelogs.ts15 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 DreviewForbiddenFiles.ts14 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> {
22 diff.filter((file) => !file.deleted).map((file) => file.path)
H A DlintSwiftFiles.ts13 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> {
14 const swiftFiles = diff.filter((fileDiff) => {
H A DreviewChangelogEntries.ts10 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput> {
11 const changelogs = diff.filter(
/expo/secrets/
H A D.gitattributes1 * filter=git-crypt diff=git-crypt
2 .gitattributes !filter !diff
3 README.md !filter !diff
/expo/
H A D.gitattributes1 *.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 DAutoLayoutView.kt85 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 DAutoLayoutView.kt85 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 DAutoLayoutView.kt85 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 DAutoLayoutView.kt85 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 DDiffBlock.tsx3 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 DDiffBlock.test.tsx11 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 Dlint-java.js98 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 Dlint-java.js98 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 DAutoLayoutView.swift243 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 DAutoLayoutView.swift248 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 DAutoLayoutView.swift248 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 DAutoLayoutView.swift243 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 Dcheck_license.sh15 diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/circleci/
H A Dcheck_license.sh15 diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true

1234567