Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 25 of 149) sorted by relevance

123456

/expo/packages/expo-router/src/__tests__/
H A DgetId.test.tsx13 const getId = createGetIdForRoute(createMockRoute('foo'));
14 expect(getId).toBeUndefined();
18 expect(getId).toBeDefined();
28 expect(getId({ params: { bacon: ['foo'] } })).toBe('foo');
31 expect(getId({ params: { bacon: [] } })).toBe('[...bacon]');
36 expect(getId).toBeDefined();
39 expect(getId({ params: { user: 'bacon' } })).toBe('bacon');
41 expect(getId({ params: { bar: 'foo' } })).toBe('[user]');
43 expect(getId({ params: undefined })).toBe('[user]');
46 expect(getId({ params: { user: '' } })).toBe('[user]');
[all …]
/expo/android/vendored/sdk49/react-native-reanimated/android/src/main/java/abi49_0_0/com/swmansion/reanimated/layoutReanimation/
H A DSharedTransitionManager.java116 if (parent.getId() == parentTag) { in isViewChildParentWithTag()
214 Collections.sort(views, (v1, v2) -> Integer.compare(v2.getId(), v1.getId())); in sortViewsByTags()
223 viewTags.add(view.getId()); in getSharedElementsForCurrentTransition()
281 secondScreen.getId() == viewSourceScreen.getId() in getSharedElementsForCurrentTransition()
282 && topScreen.getId() == viewTargetScreen.getId(); in getSharedElementsForCurrentTransition()
285 topScreen.getId() == viewSourceScreen.getId() in getSharedElementsForCurrentTransition()
286 && secondScreen.getId() == viewTargetScreen.getId(); in getSharedElementsForCurrentTransition()
422 int viewTag = view.getId(); in finishSharedAnimation()
532 int tag = view.getId(); in visitTree()
579 int viewTag = view.getId(); in clearAllSharedConfigsForView()
[all …]
/expo/android/vendored/unversioned/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/layoutReanimation/
H A DSharedTransitionManager.java116 if (parent.getId() == parentTag) { in isViewChildParentWithTag()
214 Collections.sort(views, (v1, v2) -> Integer.compare(v2.getId(), v1.getId())); in sortViewsByTags()
223 viewTags.add(view.getId()); in getSharedElementsForCurrentTransition()
281 secondScreen.getId() == viewSourceScreen.getId() in getSharedElementsForCurrentTransition()
282 && topScreen.getId() == viewTargetScreen.getId(); in getSharedElementsForCurrentTransition()
285 topScreen.getId() == viewSourceScreen.getId() in getSharedElementsForCurrentTransition()
286 && secondScreen.getId() == viewTargetScreen.getId(); in getSharedElementsForCurrentTransition()
422 int viewTag = view.getId(); in finishSharedAnimation()
532 int tag = view.getId(); in visitTree()
579 int viewTag = view.getId(); in clearAllSharedConfigsForView()
[all …]
/expo/android/vendored/sdk48/react-native-reanimated/android/src/main/java/abi48_0_0/com/swmansion/reanimated/layoutReanimation/
H A DAnimationsManager.java107 Integer tag = view.getId(); in onViewRemoval()
118 mToRemove.add(view.getId()); in onViewRemoval()
144 Integer tag = view.getId(); in onViewCreate()
162 Integer tag = view.getId(); in onViewUpdate()
213 mParent.get(tag).getId()); in notifyAboutProgress()
269 out.append(view.getId()); in printSubTree()
321 if ((!cands.contains(view.getId())) && (mStates.containsKey(view.getId()))) { in dfs()
341 mCallbacks.remove(view.getId()); in dfs()
351 mStates.remove(curView.getId()); in dfs()
355 mParent.remove(curView.getId()); in dfs()
[all …]
/expo/android/vendored/sdk47/react-native-reanimated/android/src/main/java/abi47_0_0/com/swmansion/reanimated/layoutReanimation/
H A DAnimationsManager.java107 Integer tag = view.getId(); in onViewRemoval()
118 mToRemove.add(view.getId()); in onViewRemoval()
144 Integer tag = view.getId(); in onViewCreate()
162 Integer tag = view.getId(); in onViewUpdate()
213 mParent.get(tag).getId()); in notifyAboutProgress()
269 out.append(view.getId()); in printSubTree()
321 if ((!cands.contains(view.getId())) && (mStates.containsKey(view.getId()))) { in dfs()
341 mCallbacks.remove(view.getId()); in dfs()
351 mStates.remove(curView.getId()); in dfs()
355 mParent.remove(curView.getId()); in dfs()
[all …]
H A DReanimatedNativeHierarchyManager.java88 if (view.getId() != -1) { in applyLayoutUpdate()
119 viewManager = nativeViewHierarchyManager.resolveViewManager(view.getId()); in deleteView()
162 int tag = view.getId(); in dfs()
331 tagsToRemove.add(childToRemove.getId()); in manageChildren()
336 if (tagsToRemove.contains(child.getId())) { in manageChildren()
359 view.getId(), in manageChildren()
398 if (toBeRemoved.containsKey(view.getId())) { in dropView()
399 toBeRemoved.remove(view.getId()); in dropView()
401 if (cleanerCallback.containsKey(view.getId())) { in dropView()
402 Runnable runnable = cleanerCallback.get(view.getId()); in dropView()
[all …]
/expo/packages/expo-media-library/build/
H A DMediaLibrary.js12 function getId(ref) { function
194 const assetIds = arrayize(assets).map(getId);
195 const albumId = getId(album);
219 const assetIds = arrayize(assets).map(getId);
220 const albumId = getId(album);
236 const assetIds = arrayize(assets).map(getId);
251 const assetId = getId(asset);
305 const assetId = getId(asset);
336 const albumIds = arrayize(albums).map(getId);
356 after: getId(after),
[all …]
/expo/packages/expo-media-library/src/
H A DMediaLibrary.ts331 function getId(ref: any): string | undefined { function
539 const assetIds = arrayize(assets).map(getId);
540 const albumId = getId(album);
572 const assetIds = arrayize(assets).map(getId);
573 const albumId = getId(album);
592 const assetIds = arrayize(assets).map(getId);
613 const assetId = getId(asset);
680 const assetId = getId(asset);
718 const albumIds = arrayize(albums).map(getId);
742 after: getId(after),
[all …]
/expo/android/vendored/sdk48/react-native-reanimated/android/src/reactNativeVersionPatch/nativeHierarchyManager/latest/com/swmansion/reanimated/layoutReanimation/
H A DReanimatedNativeHierarchyManager.java88 if (view.getId() != -1) { in applyLayoutUpdate()
119 viewManager = nativeViewHierarchyManager.resolveViewManager(view.getId()); in deleteView()
162 int tag = view.getId(); in dfs()
304 tagsToRemove.add(childToRemove.getId()); in manageChildren()
309 if (tagsToRemove.contains(child.getId())) { in manageChildren()
332 view.getId(), in manageChildren()
371 if (toBeRemoved.containsKey(view.getId())) { in dropView()
372 toBeRemoved.remove(view.getId()); in dropView()
374 if (cleanerCallback.containsKey(view.getId())) { in dropView()
375 Runnable runnable = cleanerCallback.get(view.getId()); in dropView()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/webview/
H A DRNCWebViewClient.java74 webView.getId(), in doUpdateVisitedHistory()
128 int reactTag = view.getId(); in shouldOverrideUrlLoading()
243 int reactTag = webView.getId(); in onReceivedError()
244 …ebView.getContext(), reactTag).dispatchEvent(new TopLoadingErrorEvent(webView.getId(), eventData)); in onReceivedError()
260 int reactTag = webView.getId(); in onReceivedHttpError()
261 …) webView.getContext(), reactTag).dispatchEvent(new TopHttpErrorEvent(webView.getId(), eventData)); in onReceivedHttpError()
290 int reactTag = webView.getId(); in onRenderProcessGone()
291 …bView.getContext(), reactTag).dispatchEvent(new TopRenderProcessGoneEvent(webView.getId(), event)); in onRenderProcessGone()
298 int reactTag = webView.getId(); in emitFinishEvent()
299 …w.getContext(), reactTag).dispatchEvent(new TopLoadingFinishEvent(webView.getId(), createWebViewEv… in emitFinishEvent()
[all …]
/expo/android/vendored/unversioned/react-native-reanimated/android/src/reactNativeVersionPatch/nativeHierarchyManager/62/com/swmansion/reanimated/layoutReanimation/
H A DReanimatedNativeHierarchyManager.java88 if (view.getId() != -1) { in applyLayoutUpdate()
119 viewManager = nativeViewHierarchyManager.resolveViewManager(view.getId()); in deleteView()
136 nativeViewHierarchyManager.resolveViewManager(screenParentView.getId()); in deleteView()
296 tagsToRemove.add(childToRemove.getId()); in manageChildren()
301 if (tagsToRemove.contains(child.getId())) { in manageChildren()
324 view.getId(), in manageChildren()
364 if (toBeRemoved.containsKey(view.getId())) { in dropView()
365 toBeRemoved.remove(view.getId()); in dropView()
367 if (cleanerCallback.containsKey(view.getId())) { in dropView()
368 Runnable runnable = cleanerCallback.get(view.getId()); in dropView()
[all …]
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/webview/
H A DRNCWebViewClient.java74 webView.getId(), in doUpdateVisitedHistory()
128 int reactTag = view.getId(); in shouldOverrideUrlLoading()
243 int reactTag = webView.getId(); in onReceivedError()
244 …ebView.getContext(), reactTag).dispatchEvent(new TopLoadingErrorEvent(webView.getId(), eventData)); in onReceivedError()
260 int reactTag = webView.getId(); in onReceivedHttpError()
261 …) webView.getContext(), reactTag).dispatchEvent(new TopHttpErrorEvent(webView.getId(), eventData)); in onReceivedHttpError()
290 int reactTag = webView.getId(); in onRenderProcessGone()
291 …bView.getContext(), reactTag).dispatchEvent(new TopRenderProcessGoneEvent(webView.getId(), event)); in onRenderProcessGone()
298 int reactTag = webView.getId(); in emitFinishEvent()
299 …w.getContext(), reactTag).dispatchEvent(new TopLoadingFinishEvent(webView.getId(), createWebViewEv… in emitFinishEvent()
[all …]
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/presentation/builders/
H A DChannelAwareNotificationBuilder.java53 return getFallbackNotificationChannel().getId(); in getChannelId()
58 return getFallbackNotificationChannel().getId(); in getChannelId()
65 return getFallbackNotificationChannel().getId(); in getChannelId()
68 return channel.getId(); in getChannelId()
/expo/android/vendored/sdk48/react-native-reanimated/android/src/reactNativeVersionPatch/nativeHierarchyManager/62/com/swmansion/reanimated/layoutReanimation/
H A DReanimatedNativeHierarchyManager.java88 if (view.getId() != -1) { in applyLayoutUpdate()
119 viewManager = nativeViewHierarchyManager.resolveViewManager(view.getId()); in deleteView()
162 int tag = view.getId(); in dfs()
332 tagsToRemove.add(childToRemove.getId()); in manageChildren()
337 if (tagsToRemove.contains(child.getId())) { in manageChildren()
360 view.getId(), in manageChildren()
400 if (toBeRemoved.containsKey(view.getId())) { in dropView()
401 toBeRemoved.remove(view.getId()); in dropView()
403 if (cleanerCallback.containsKey(view.getId())) { in dropView()
404 Runnable runnable = cleanerCallback.get(view.getId()); in dropView()
[all …]
/expo/android/vendored/sdk49/react-native-reanimated/android/src/reactNativeVersionPatch/nativeHierarchyManager/latest/com/swmansion/reanimated/layoutReanimation/
H A DReanimatedNativeHierarchyManager.java111 if (view.getId() != -1) { in applyLayoutUpdate()
140 viewManager = nativeViewHierarchyManager.resolveViewManager(view.getId()); in deleteView()
158 nativeViewHierarchyManager.resolveViewManager(screenParentView.getId()); in deleteView()
343 tagsToRemove.add(childToRemove.getId()); in manageChildren()
348 if (tagsToRemove.contains(child.getId())) { in manageChildren()
372 view.getId(), in manageChildren()
408 if (toBeRemoved.containsKey(view.getId())) { in dropView()
409 toBeRemoved.remove(view.getId()); in dropView()
411 if (cleanerCallback.containsKey(view.getId())) { in dropView()
412 Runnable runnable = cleanerCallback.get(view.getId()); in dropView()
[all …]
/expo/android/vendored/unversioned/react-native-reanimated/android/src/reactNativeVersionPatch/nativeHierarchyManager/latest/com/swmansion/reanimated/layoutReanimation/
H A DReanimatedNativeHierarchyManager.java111 if (view.getId() != -1) { in applyLayoutUpdate()
140 viewManager = nativeViewHierarchyManager.resolveViewManager(view.getId()); in deleteView()
158 nativeViewHierarchyManager.resolveViewManager(screenParentView.getId()); in deleteView()
343 tagsToRemove.add(childToRemove.getId()); in manageChildren()
348 if (tagsToRemove.contains(child.getId())) { in manageChildren()
372 view.getId(), in manageChildren()
408 if (toBeRemoved.containsKey(view.getId())) { in dropView()
409 toBeRemoved.remove(view.getId()); in dropView()
411 if (cleanerCallback.containsKey(view.getId())) { in dropView()
412 Runnable runnable = cleanerCallback.get(view.getId()); in dropView()
[all …]
/expo/packages/expo-modules-core/android/src/main/cpp/
H A DJNIFunctionBody.cpp25 auto result = jni::Environment::current()->CallObjectMethod(this->self(), method.getId(), args); in invoke()
47 jni::Environment::current()->CallVoidMethod(this->self(), method.getId(), args, promise); in invoke()
/expo/android/vendored/sdk49/react-native-reanimated/android/src/reactNativeVersionPatch/nativeHierarchyManager/62/com/swmansion/reanimated/layoutReanimation/
H A DReanimatedNativeHierarchyManager.java88 if (view.getId() != -1) { in applyLayoutUpdate()
119 viewManager = nativeViewHierarchyManager.resolveViewManager(view.getId()); in deleteView()
136 nativeViewHierarchyManager.resolveViewManager(screenParentView.getId()); in deleteView()
296 tagsToRemove.add(childToRemove.getId()); in manageChildren()
301 if (tagsToRemove.contains(child.getId())) { in manageChildren()
324 view.getId(), in manageChildren()
364 if (toBeRemoved.containsKey(view.getId())) { in dropView()
365 toBeRemoved.remove(view.getId()); in dropView()
367 if (cleanerCallback.containsKey(view.getId())) { in dropView()
368 Runnable runnable = cleanerCallback.get(view.getId()); in dropView()
[all …]
/expo/packages/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/channels/serializers/
H A DExpoNotificationsChannelGroupSerializer.java31 result.putString(ID_KEY, getId(group)); in toBundle()
43 protected String getId(@NonNull NotificationChannelGroup channel) { in getId() method in ExpoNotificationsChannelGroupSerializer
44 return channel.getId(); in getId()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/notifications/notifications/channels/serializers/
H A DExpoNotificationsChannelGroupSerializer.java31 result.putString(ID_KEY, getId(group)); in toBundle()
43 protected String getId(@NonNull NotificationChannelGroup channel) { in getId() method in ExpoNotificationsChannelGroupSerializer
44 return channel.getId(); in getId()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/channels/serializers/
H A DExpoNotificationsChannelGroupSerializer.java31 result.putString(ID_KEY, getId(group)); in toBundle()
43 protected String getId(@NonNull NotificationChannelGroup channel) { in getId() method in ExpoNotificationsChannelGroupSerializer
44 return channel.getId(); in getId()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/channels/serializers/
H A DExpoNotificationsChannelGroupSerializer.java31 result.putString(ID_KEY, getId(group)); in toBundle()
43 protected String getId(@NonNull NotificationChannelGroup channel) { in getId() method in ExpoNotificationsChannelGroupSerializer
44 return channel.getId(); in getId()
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/notifications/channels/
H A DScopedGroupSerializer.java21 protected String getId(@NonNull NotificationChannelGroup channel) { in getId() method in ScopedGroupSerializer
22 return ScopedNotificationsIdUtils.getUnscopedId(super.getId(channel)); in getId()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DChannelAwareNotificationBuilder.java53 return getFallbackNotificationChannel().getId(); in getChannelId()
58 return getFallbackNotificationChannel().getId(); in getChannelId()
65 return getFallbackNotificationChannel().getId(); in getChannelId()
68 return channel.getId(); in getChannelId()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/notifications/notifications/presentation/builders/
H A DChannelAwareNotificationBuilder.java53 return getFallbackNotificationChannel().getId(); in getChannelId()
58 return getFallbackNotificationChannel().getId(); in getChannelId()
65 return getFallbackNotificationChannel().getId(); in getChannelId()
68 return channel.getId(); in getChannelId()

123456