Home
last modified time | relevance | path

Searched refs:sharedElements (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java233 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
234 sharedElements.retainAll(mAllSharedElementNames); in viewsReady()
236 mListener.onMapSharedElements(mAllSharedElementNames, sharedElements); in viewsReady()
238 setSharedElements(sharedElements); in viewsReady()
258 private void setSharedElements(ArrayMap<String, View> sharedElements) { in setSharedElements() argument
260 while (!sharedElements.isEmpty()) { in setSharedElements()
261 final int numSharedElements = sharedElements.size(); in setSharedElements()
263 final View view = sharedElements.valueAt(i); in setSharedElements()
264 final String name = sharedElements.keyAt(i); in setSharedElements()
266 sharedElements.removeAt(i); in setSharedElements()
[all …]
DEnterTransitionCoordinator.java134 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
135 super.viewsReady(sharedElements); in viewsReady()
154 private void triggerViewsReady(final ArrayMap<String, View> sharedElements) { in triggerViewsReady() argument
162 (sharedElements.isEmpty() || !sharedElements.valueAt(0).isLayoutRequested()))) { in triggerViewsReady()
163 viewsReady(sharedElements); in triggerViewsReady()
167 viewsReady(sharedElements); in triggerViewsReady()
175 ArrayMap<String, View> sharedElements = new ArrayMap<String, View>(); in mapNamedElements() local
178 decorView.findNamedViews(sharedElements); in mapNamedElements()
185 View view = sharedElements.get(localName); in mapNamedElements()
187 sharedElements.put(acceptedName, view); in mapNamedElements()
[all …]
DSharedElementCallback.java88 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementStart() argument
119 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementEnd() argument
154 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} in onMapSharedElements() argument
287 List<View> sharedElements, OnSharedElementsReadyListener listener) { in onSharedElementsArrived() argument
DFragmentTransition.java570 ArrayMap<String, View> sharedElements, Collection<String> nameOverridesSet) { in addSharedElementsWithMatchingNames() argument
571 for (int i = sharedElements.size() - 1; i >= 0; i--) { in addSharedElementsWithMatchingNames()
572 View view = sharedElements.valueAt(i); in addSharedElementsWithMatchingNames()
917 boolean isPop, ArrayMap<String, View> sharedElements, boolean isStart) { in callSharedElementStartEnd() argument
924 final int count = sharedElements == null ? 0 : sharedElements.size(); in callSharedElementStartEnd()
926 names.add(sharedElements.keyAt(i)); in callSharedElementStartEnd()
927 views.add(sharedElements.valueAt(i)); in callSharedElementStartEnd()
1103 Fragment fragment, ArrayList<View> sharedElements, View nonExistentView) { in configureEnteringExitingViews() argument
1111 if (sharedElements != null) { in configureEnteringExitingViews()
1112 viewList.removeAll(sharedElements); in configureEnteringExitingViews()
DActivityOptions.java1051 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument
1055 activity.getWindow(), opts, sharedElements); in makeSceneTransitionAnimation()
1079 Pair<View, String>... sharedElements) { in startSharedElementAnimation() argument
1082 exitCallbacks, callback, window, opts, sharedElements); in startSharedElementAnimation()
1119 ActivityOptions opts, Pair<View, String>[] sharedElements) { in makeSceneTransitionAnimation() argument
1129 if (sharedElements != null) { in makeSceneTransitionAnimation()
1130 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation()
1131 Pair<View, String> sharedElement = sharedElements[i]; in makeSceneTransitionAnimation()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java112 Map<String, View> sharedElements) { in setupHero()
113 sharedElements.put("hero", mHero); in setupHero()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java885 List<Pair<View, String>> sharedElements = new ArrayList<>(); in createSharedElementActivityOptions() local
891 sharedElements.add(Pair.create(view, sharedViewNames[i])); in createSharedElementActivityOptions()
897 if (!sharedElements.isEmpty()) { in createSharedElementActivityOptions()
901 sharedElements.toArray(new Pair[sharedElements.size()])); in createSharedElementActivityOptions()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...