Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 131) sorted by relevance

123456

/expo/packages/expo-dev-launcher/bundle/hooks/
H A DuseDebounce.tsx4 export function useDebounce(value: any, delay: number) {
9 // Update debounced value after delay
12 }, delay);
13 // Cancel the timeout if value changes (also on delay change or unmount)
15 // .. within the delay period. Timeout gets cleared and restarted.
20 [value, delay] // Only re-call effect if value or delay changes
/expo/android/vendored/sdk47/react-native-reanimated/android/src/main/java/abi47_0_0/com/swmansion/reanimated/transitions/
H A DSaneSidePropagation.java17 long delay = super.getStartDelay(sceneRoot, transition, startValues, endValues); in getStartDelay() local
18 if (delay != 0) { in getStartDelay()
20 return -delay; in getStartDelay()
23 return delay; in getStartDelay()
/expo/android/vendored/sdk48/react-native-reanimated/android/src/main/java/abi48_0_0/com/swmansion/reanimated/transitions/
H A DSaneSidePropagation.java17 long delay = super.getStartDelay(sceneRoot, transition, startValues, endValues); in getStartDelay() local
18 if (delay != 0) { in getStartDelay()
20 return -delay; in getStartDelay()
23 return delay; in getStartDelay()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/animations/
H A DABI48_0_0utils.cpp22 auto delay = (uint64_t)mutationConfig.delay; in calculateAnimationProgress() local
23 uint64_t endTime = startTime + delay + (uint64_t)mutationConfig.duration; in calculateAnimationProgress()
28 if (now < startTime + delay) { in calculateAnimationProgress()
33 (double)(endTime - delay - now) / (double)(endTime - animation.startTime); in calculateAnimationProgress()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/animations/
H A DABI47_0_0utils.cpp23 auto delay = (uint64_t)mutationConfig.delay; in calculateAnimationProgress() local
24 uint64_t endTime = startTime + delay + (uint64_t)mutationConfig.duration; in calculateAnimationProgress()
29 if (now < startTime + delay) { in calculateAnimationProgress()
34 (double)(endTime - delay - now) / (double)(endTime - animation.startTime); in calculateAnimationProgress()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/animations/
H A DABI49_0_0utils.cpp22 auto delay = (uint64_t)mutationConfig.delay; in calculateAnimationProgress() local
23 uint64_t endTime = startTime + delay + (uint64_t)mutationConfig.duration; in calculateAnimationProgress()
28 if (now < startTime + delay) { in calculateAnimationProgress()
33 (double)(endTime - delay - now) / (double)(endTime - animation.startTime); in calculateAnimationProgress()
/expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/functions/
H A DSuspendFunctionComponentTest.kt46 delay(2000) in suspend block should resolve promise on finish()
59 delay(2000) in suspend block should reject promise when throws()
73 delay(2000) in suspend block should be cancelable()
90 delay(1000) in suspend block should wait for children()
94 delay(4000) in suspend block should wait for children()
98 delay(2000) in suspend block should wait for children()
117 delay(1000) in suspend block should clean whole coroutine hierarchy()
125 delay(2000) in suspend block should clean whole coroutine hierarchy()
140 delay(2000) in should handle multiple calls()
157 delay(2000) in should not cancel siblings()
[all …]
/expo/apps/native-component-list/src/utilities/
H A DuseResettingState.ts3 const useDelayedEffect = (callback: EffectCallback, deps: DependencyList, delay: number) => {
7 timeoutId = setTimeout(callback, delay);
13 }, [callback, delay, ...deps]);
/expo/packages/expo-test-runner/build/
H A DUtils.js6 …sAsync = exports.killSimulatorAsync = exports.killEmulatorAsync = exports.delay = exports.yarnInst…
14 const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); function
15 exports.delay = delay;
H A DBundlerController.js17 await (0, Utils_1.delay)(1000);
62 await (0, Utils_1.delay)(500);
H A DUtils.d.ts3 export declare const delay: (ms: number) => Promise<void>;
/expo/ios/vendored/sdk47/react-native-reanimated/ios/Transitioning/
H A DABI47_0_0REATransitionAnimation.m44 CACurrentMediaTime introduces some kind of delay even if _delay is set to 0
46 which might cause the delay
55 - (void)delayBy:(CFTimeInterval)delay
57 if (delay <= 0) {
60 _delay += delay;
/expo/ios/vendored/sdk48/react-native-reanimated/ios/Transitioning/
H A DABI48_0_0REATransitionAnimation.m44 CACurrentMediaTime introduces some kind of delay even if _delay is set to 0
46 which might cause the delay
55 - (void)delayBy:(CFTimeInterval)delay
57 if (delay <= 0) {
60 _delay += delay;
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/scripts/
H A Dretry36 local delay=1
13 sleep $delay;
/expo/packages/expo-test-runner/src/
H A DBundlerController.ts4 import { delay } from './Utils';
13 await delay(1000);
60 await delay(500);
/expo/packages/expo-dev-launcher/bundle/functions/
H A Ddebounce.ts1 export function debounce<T>(func: (...args: T[]) => unknown, delay = 200): typeof func {
5 timeout = setTimeout(() => func(...args), delay);
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Modules/
H A DABI47_0_0RCTLayoutAnimation.h15 @property (nonatomic, readonly) NSTimeInterval delay;
24 delay:(NSTimeInterval)delay
H A DABI47_0_0RCTLayoutAnimation.m58 delay:(NSTimeInterval)delay
66 _delay = delay;
91 _delay = [ABI47_0_0RCTConvert NSTimeInterval:config[@"delay"]];
111 delay:_delay
122 delay:_delay
131 return _duration == animation.duration && _delay == animation.delay &&
141 …@"<%@: %p; duration: %f; delay: %f; property: %@; springDamping: %f; initialVelocity: %f; animatio…
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Modules/
H A DABI49_0_0RCTLayoutAnimation.h15 @property (nonatomic, readonly) NSTimeInterval delay;
24 delay:(NSTimeInterval)delay
H A DABI49_0_0RCTLayoutAnimation.m58 delay:(NSTimeInterval)delay
66 _delay = delay;
91 _delay = [ABI49_0_0RCTConvert NSTimeInterval:config[@"delay"]];
111 delay:_delay
122 delay:_delay
131 return _duration == animation.duration && _delay == animation.delay &&
141 …@"<%@: %p; duration: %f; delay: %f; property: %@; springDamping: %f; initialVelocity: %f; animatio…
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Modules/
H A DABI48_0_0RCTLayoutAnimation.h15 @property (nonatomic, readonly) NSTimeInterval delay;
24 delay:(NSTimeInterval)delay
H A DABI48_0_0RCTLayoutAnimation.m58 delay:(NSTimeInterval)delay
66 _delay = delay;
91 _delay = [ABI48_0_0RCTConvert NSTimeInterval:config[@"delay"]];
111 delay:_delay
122 delay:_delay
131 return _duration == animation.duration && _delay == animation.delay &&
141 …@"<%@: %p; duration: %f; delay: %f; property: %@; springDamping: %f; initialVelocity: %f; animatio…
/expo/packages/expo-updates/e2e/fixtures/
H A DApp.tsx73 await delay(1000);
89 await delay(1000);
101 await delay(1000);
115 await delay(1000);
128 await delay(1000);
141 await delay(1000);
248 * @param {delay} timeout Timeout in ms
251 const delay = (timeout: number) => {
/expo/android/expoview/src/main/java/host/exp/exponent/test/
H A DTestActionEvent.kt10 val delay: Int, constant in host.exp.exponent.test.TestActionEvent
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/scripts/
H A Dandroid-setup.sh101 local delay=1
107 sleep $delay;

123456