| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Base/ |
| H A D | ABI49_0_0RCTPerformanceLogger.m | 34 _data[tag][1] = 0; 45 if (_data[tag][0] != 0 && _data[tag][1] == 0) { 54 _data[tag][0] = 0; 55 _data[tag][1] = value; 60 _data[tag][0] = 0; 61 _data[tag][1] += value; 71 if (_data[tag][0] != 0) { 72 _data[tag][1] += CACurrentMediaTime() * 1000 - _data[tag][0]; 73 _data[tag][0] = 0; 91 return _data[tag][1] - _data[tag][0]; [all …]
|
| H A D | ABI49_0_0RCTPerformanceLogger.h | 19 - (void)markStartForTag:(ABI49_0_0RCTPLTag)tag; 28 - (void)markStopForTag:(ABI49_0_0RCTPLTag)tag; 34 - (void)setValue:(int64_t)value forTag:(ABI49_0_0RCTPLTag)tag; 40 - (void)addValue:(int64_t)value forTag:(ABI49_0_0RCTPLTag)tag; 48 - (void)appendStartForTag:(ABI49_0_0RCTPLTag)tag; 56 - (void)appendStopForTag:(ABI49_0_0RCTPLTag)tag; 68 - (int64_t)durationForTag:(ABI49_0_0RCTPLTag)tag; 73 - (int64_t)valueForTag:(ABI49_0_0RCTPLTag)tag;
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Base/ |
| H A D | ABI48_0_0RCTPerformanceLogger.m | 34 _data[tag][1] = 0; 45 if (_data[tag][0] != 0 && _data[tag][1] == 0) { 54 _data[tag][0] = 0; 55 _data[tag][1] = value; 60 _data[tag][0] = 0; 61 _data[tag][1] += value; 71 if (_data[tag][0] != 0) { 72 _data[tag][1] += CACurrentMediaTime() * 1000 - _data[tag][0]; 73 _data[tag][0] = 0; 91 return _data[tag][1] - _data[tag][0]; [all …]
|
| H A D | ABI48_0_0RCTPerformanceLogger.h | 19 - (void)markStartForTag:(ABI48_0_0RCTPLTag)tag; 28 - (void)markStopForTag:(ABI48_0_0RCTPLTag)tag; 34 - (void)setValue:(int64_t)value forTag:(ABI48_0_0RCTPLTag)tag; 40 - (void)addValue:(int64_t)value forTag:(ABI48_0_0RCTPLTag)tag; 48 - (void)appendStartForTag:(ABI48_0_0RCTPLTag)tag; 56 - (void)appendStopForTag:(ABI48_0_0RCTPLTag)tag; 68 - (int64_t)durationForTag:(ABI48_0_0RCTPLTag)tag; 73 - (int64_t)valueForTag:(ABI48_0_0RCTPLTag)tag;
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Base/ |
| H A D | ABI47_0_0RCTPerformanceLogger.m | 34 _data[tag][1] = 0; 45 if (_data[tag][0] != 0 && _data[tag][1] == 0) { 54 _data[tag][0] = 0; 55 _data[tag][1] = value; 60 _data[tag][0] = 0; 61 _data[tag][1] += value; 71 if (_data[tag][0] != 0) { 72 _data[tag][1] += CACurrentMediaTime() * 1000 - _data[tag][0]; 73 _data[tag][0] = 0; 91 return _data[tag][1] - _data[tag][0]; [all …]
|
| H A D | ABI47_0_0RCTPerformanceLogger.h | 19 - (void)markStartForTag:(ABI47_0_0RCTPLTag)tag; 28 - (void)markStopForTag:(ABI47_0_0RCTPLTag)tag; 34 - (void)setValue:(int64_t)value forTag:(ABI47_0_0RCTPLTag)tag; 40 - (void)addValue:(int64_t)value forTag:(ABI47_0_0RCTPLTag)tag; 48 - (void)appendStartForTag:(ABI47_0_0RCTPLTag)tag; 56 - (void)appendStopForTag:(ABI47_0_0RCTPLTag)tag; 68 - (int64_t)durationForTag:(ABI47_0_0RCTPLTag)tag; 73 - (int64_t)valueForTag:(ABI47_0_0RCTPLTag)tag;
|
| /expo/packages/expo-keep-awake/build/ |
| H A D | index.js | 22 export function useKeepAwake(tag = ExpoKeepAwakeTag, options) { argument 25 activateKeepAwakeAsync(tag).then(() => { 27 addListener(tag, options.listener); 33 deactivateKeepAwake(tag).catch(() => { }); 36 deactivateKeepAwake(tag); 39 }, [tag]); 54 export function activateKeepAwake(tag = ExpoKeepAwakeTag) { argument 56 return activateKeepAwakeAsync(tag); 71 await ExpoKeepAwake.activate?.(tag); 82 await ExpoKeepAwake.deactivate?.(tag); [all …]
|
| H A D | ExpoKeepAwake.web.js | 12 async activate(tag) { 17 wakeLockMap[tag] = wakeLock; 19 async deactivate(tag) { 23 if (wakeLockMap[tag]) { 24 wakeLockMap[tag].release?.(); 25 delete wakeLockMap[tag]; 28 …throw new CodedError('ERR_KEEP_AWAKE_TAG_INVALID', `The wake lock with tag ${tag} has not activate… 31 addListenerForTag(tag, listener) { 35 const sentinel = wakeLockMap[tag]; 46 const sentinel = wakeLockMap[tag];
|
| /expo/packages/expo-keep-awake/src/ |
| H A D | index.ts | 30 activateKeepAwakeAsync(tag).then(() => { 32 addListener(tag, options.listener); 38 deactivateKeepAwake(tag).catch(() => {}); 40 deactivateKeepAwake(tag); 43 }, [tag]); 59 export function activateKeepAwake(tag: string = ExpoKeepAwakeTag): Promise<void> { 61 return activateKeepAwakeAsync(tag); 77 await ExpoKeepAwake.activate?.(tag); 89 await ExpoKeepAwake.deactivate?.(tag); 113 const tag = typeof tagOrListener === 'string' ? tagOrListener : ExpoKeepAwakeTag; constant [all …]
|
| H A D | ExpoKeepAwake.web.ts | 31 async activate(tag: string) { 36 wakeLockMap[tag] = wakeLock; 38 async deactivate(tag: string) { 42 if (wakeLockMap[tag]) { 43 wakeLockMap[tag].release?.(); 44 delete wakeLockMap[tag]; 48 `The wake lock with tag ${tag} has not activated yet` 52 addListenerForTag(tag: string, listener: KeepAwakeListener): Subscription { 56 const sentinel = wakeLockMap[tag]; constant 66 const sentinel = wakeLockMap[tag]; constant
|
| /expo/android/vendored/sdk48/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsProxy.cpp | 20 int tag, in startObserving() argument 23 observedValues[tag] = sv; in startObserving() 24 sv->addListener(tag + idOffset, [sv, tag, this, &rt]() { in startObserving() 27 this->notifyAboutProgress(tag, newValue->shallowClone(rt)); in startObserving() 32 if (observedValues.count(tag) == 0) { in stopObserving() 35 std::shared_ptr<MutableValue> sv = observedValues[tag]; in stopObserving() 36 sv->removeListener(tag + idOffset); in stopObserving() 37 observedValues.erase(tag); in stopObserving() 38 this->notifyAboutEnd(tag, !finished); in stopObserving() 41 void LayoutAnimationsProxy::notifyAboutCancellation(int tag) { in notifyAboutCancellation() argument [all …]
|
| /expo/ios/vendored/sdk47/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsProxy.cpp | 20 int tag, in startObserving() argument 23 observedValues[tag] = sv; in startObserving() 24 sv->addListener(tag + idOffset, [sv, tag, this, &rt]() { in startObserving() 27 this->notifyAboutProgress(tag, newValue->shallowClone(rt)); in startObserving() 32 if (observedValues.count(tag) == 0) { in stopObserving() 35 std::shared_ptr<MutableValue> sv = observedValues[tag]; in stopObserving() 36 sv->removeListener(tag + idOffset); in stopObserving() 37 observedValues.erase(tag); in stopObserving() 38 this->notifyAboutEnd(tag, !finished); in stopObserving() 41 void LayoutAnimationsProxy::notifyAboutCancellation(int tag) { in notifyAboutCancellation() argument [all …]
|
| /expo/ios/vendored/sdk48/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsProxy.cpp | 20 int tag, in startObserving() argument 23 observedValues[tag] = sv; in startObserving() 24 sv->addListener(tag + idOffset, [sv, tag, this, &rt]() { in startObserving() 27 this->notifyAboutProgress(tag, newValue->shallowClone(rt)); in startObserving() 32 if (observedValues.count(tag) == 0) { in stopObserving() 35 std::shared_ptr<MutableValue> sv = observedValues[tag]; in stopObserving() 36 sv->removeListener(tag + idOffset); in stopObserving() 37 observedValues.erase(tag); in stopObserving() 38 this->notifyAboutEnd(tag, !finished); in stopObserving() 41 void LayoutAnimationsProxy::notifyAboutCancellation(int tag) { in notifyAboutCancellation() argument [all …]
|
| /expo/android/vendored/sdk47/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsProxy.cpp | 20 int tag, in startObserving() argument 23 observedValues[tag] = sv; in startObserving() 24 sv->addListener(tag + idOffset, [sv, tag, this, &rt]() { in startObserving() 27 this->notifyAboutProgress(tag, newValue->shallowClone(rt)); in startObserving() 32 if (observedValues.count(tag) == 0) { in stopObserving() 35 std::shared_ptr<MutableValue> sv = observedValues[tag]; in stopObserving() 36 sv->removeListener(tag + idOffset); in stopObserving() 37 observedValues.erase(tag); in stopObserving() 38 this->notifyAboutEnd(tag, !finished); in stopObserving() 41 void LayoutAnimationsProxy::notifyAboutCancellation(int tag) { in notifyAboutCancellation() argument [all …]
|
| /expo/ios/vendored/sdk49/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsManager.cpp | 10 int tag, in configureAnimation() argument 15 getConfigsForType(type)[tag] = config; in configureAnimation() 23 int tag, in hasLayoutAnimation() argument 31 enteringAnimations_.erase(tag); in clearLayoutAnimationConfig() 32 exitingAnimations_.erase(tag); in clearLayoutAnimationConfig() 33 layoutAnimations_.erase(tag); in clearLayoutAnimationConfig() 35 sharedTransitionAnimations_.erase(tag); in clearLayoutAnimationConfig() 45 viewTagToSharedTag_.erase(tag); in clearLayoutAnimationConfig() 50 int tag, in startLayoutAnimation() argument 68 jsi::Value(tag), in startLayoutAnimation() [all …]
|
| /expo/android/vendored/unversioned/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsManager.cpp | 10 int tag, in configureAnimation() argument 15 getConfigsForType(type)[tag] = config; in configureAnimation() 23 int tag, in hasLayoutAnimation() argument 31 enteringAnimations_.erase(tag); in clearLayoutAnimationConfig() 32 exitingAnimations_.erase(tag); in clearLayoutAnimationConfig() 33 layoutAnimations_.erase(tag); in clearLayoutAnimationConfig() 35 sharedTransitionAnimations_.erase(tag); in clearLayoutAnimationConfig() 45 viewTagToSharedTag_.erase(tag); in clearLayoutAnimationConfig() 50 int tag, in startLayoutAnimation() argument 68 jsi::Value(tag), in startLayoutAnimation() [all …]
|
| /expo/ios/vendored/unversioned/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsManager.cpp | 10 int tag, in configureAnimation() argument 15 getConfigsForType(type)[tag] = config; in configureAnimation() 23 int tag, in hasLayoutAnimation() argument 31 enteringAnimations_.erase(tag); in clearLayoutAnimationConfig() 32 exitingAnimations_.erase(tag); in clearLayoutAnimationConfig() 33 layoutAnimations_.erase(tag); in clearLayoutAnimationConfig() 35 sharedTransitionAnimations_.erase(tag); in clearLayoutAnimationConfig() 45 viewTagToSharedTag_.erase(tag); in clearLayoutAnimationConfig() 50 int tag, in startLayoutAnimation() argument 68 jsi::Value(tag), in startLayoutAnimation() [all …]
|
| /expo/android/vendored/sdk49/react-native-reanimated/Common/cpp/LayoutAnimations/ |
| H A D | LayoutAnimationsManager.cpp | 10 int tag, in configureAnimation() argument 15 getConfigsForType(type)[tag] = config; in configureAnimation() 23 int tag, in hasLayoutAnimation() argument 31 enteringAnimations_.erase(tag); in clearLayoutAnimationConfig() 32 exitingAnimations_.erase(tag); in clearLayoutAnimationConfig() 33 layoutAnimations_.erase(tag); in clearLayoutAnimationConfig() 35 sharedTransitionAnimations_.erase(tag); in clearLayoutAnimationConfig() 45 viewTagToSharedTag_.erase(tag); in clearLayoutAnimationConfig() 50 int tag, in startLayoutAnimation() argument 68 jsi::Value(tag), in startLayoutAnimation() [all …]
|
| /expo/packages/@expo/config-plugins/src/utils/ |
| H A D | generateCode.ts | 10 tag: string 14 const end = contents.findIndex((line) => line.includes(`@generated end ${tag}`)); 38 tag, 45 tag: string; 50 const header = createGeneratedHeaderComment(newSrc, tag, comment); 53 const sanitizedTarget = removeGeneratedContents(src, tag); 58 `${comment} @generated end ${tag}`, 67 export function removeContents({ src, tag }: { src: string; tag: string }): MergeResults { 69 const sanitizedTarget = removeGeneratedContents(src, tag); 102 const { contents, start, end } = getGeneratedSectionIndexes(src, tag); [all …]
|
| /expo/android/vendored/unversioned/react-native-reanimated/android/src/main/cpp/ |
| H A D | LayoutAnimations.cpp | 22 int tag, in startAnimationForTag() argument 25 this->animationStartingBlock_(tag, type, values); in startAnimationForTag() 29 int tag, in progressLayoutAnimation() argument 40 int tag, in endLayoutAnimation() argument 46 method(javaPart_.get(), tag, cancelled, removeView); in endLayoutAnimation() 54 bool LayoutAnimations::hasAnimationForTag(int tag, int type) { in hasAnimationForTag() argument 55 return hasAnimationBlock_(tag, type); in hasAnimationForTag() 63 void LayoutAnimations::clearAnimationConfigForTag(int tag) { in clearAnimationConfigForTag() argument 64 clearAnimationConfigBlock_(tag); in clearAnimationConfigForTag() 73 int tag, in cancelAnimationForTag() argument [all …]
|
| /expo/android/vendored/sdk49/react-native-reanimated/android/src/main/cpp/ |
| H A D | LayoutAnimations.cpp | 22 int tag, in startAnimationForTag() argument 25 this->animationStartingBlock_(tag, type, values); in startAnimationForTag() 29 int tag, in progressLayoutAnimation() argument 40 int tag, in endLayoutAnimation() argument 46 method(javaPart_.get(), tag, cancelled, removeView); in endLayoutAnimation() 54 bool LayoutAnimations::hasAnimationForTag(int tag, int type) { in hasAnimationForTag() argument 55 return hasAnimationBlock_(tag, type); in hasAnimationForTag() 63 void LayoutAnimations::clearAnimationConfigForTag(int tag) { in clearAnimationConfigForTag() argument 64 clearAnimationConfigBlock_(tag); in clearAnimationConfigForTag() 73 int tag, in cancelAnimationForTag() argument [all …]
|
| /expo/packages/expo-dev-menu/ios/UITests/ |
| H A D | XCTestCase+DevMenuExtension.swift | 6 func assertViewExists(tag: String) { in assertViewExists() 7 XCTAssertNotNil(DevMenuUIMatchers.findView(tag: tag), "View with tag \(tag) does not exists.") in assertViewExists() 15 func waitForView(tag: String) { in waitForView() 16 XCTAssertNotNil(DevMenuUIMatchers.waitForView(tag: tag)) in waitForView() 20 waitForView(tag: DevMenuViews.mainScreen) in waitForDevMenu() 21 waitForView(tag: DevMenuViews.footer) in waitForDevMenu()
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/mounting/ |
| H A D | ABI49_0_0StubViewTree.cpp | 24 rootTag = shadowView.tag; in StubViewTree() 25 registry[shadowView.tag] = view; in StubViewTree() 33 return *registry.at(tag); in getStubView() 50 auto tag = mutation.newChildShadowView.tag; in mutate() local 56 registry[tag] = stubView; in mutate() 68 auto tag = mutation.oldChildShadowView.tag; in mutate() local 70 auto stubView = registry[tag]; in mutate() 88 registry.erase(tag); in mutate() 194 childStubView->tag); in mutate() 219 mutation.newChildShadowView.tag == mutation.oldChildShadowView.tag); in mutate() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/mounting/ |
| H A D | ABI48_0_0StubViewTree.cpp | 24 rootTag = shadowView.tag; in StubViewTree() 25 registry[shadowView.tag] = view; in StubViewTree() 33 return *registry.at(tag); in getStubView() 50 auto tag = mutation.newChildShadowView.tag; in mutate() local 56 registry[tag] = stubView; in mutate() 68 auto tag = mutation.oldChildShadowView.tag; in mutate() local 70 auto stubView = registry[tag]; in mutate() 88 registry.erase(tag); in mutate() 194 childStubView->tag); in mutate() 219 mutation.newChildShadowView.tag == mutation.oldChildShadowView.tag); in mutate() [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/mounting/ |
| H A D | ABI47_0_0StubViewTree.cpp | 25 rootTag = shadowView.tag; in StubViewTree() 26 registry[shadowView.tag] = view; in StubViewTree() 34 return *registry.at(tag); in getStubView() 51 auto tag = mutation.newChildShadowView.tag; in mutate() local 57 registry[tag] = stubView; in mutate() 69 auto tag = mutation.oldChildShadowView.tag; in mutate() local 71 auto stubView = registry[tag]; in mutate() 89 registry.erase(tag); in mutate() 195 childStubView->tag); in mutate() 220 mutation.newChildShadowView.tag == mutation.oldChildShadowView.tag); in mutate() [all …]
|