Searched refs:sharedElements (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | ActivityTransitionCoordinator.java | 233 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 …]
|
D | EnterTransitionCoordinator.java | 132 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument 133 super.viewsReady(sharedElements); in viewsReady() 152 private void triggerViewsReady(final ArrayMap<String, View> sharedElements) { in triggerViewsReady() argument 160 (sharedElements.isEmpty() || !sharedElements.valueAt(0).isLayoutRequested()))) { in triggerViewsReady() 161 viewsReady(sharedElements); in triggerViewsReady() 165 viewsReady(sharedElements); in triggerViewsReady() 173 ArrayMap<String, View> sharedElements = new ArrayMap<String, View>(); in mapNamedElements() local 176 decorView.findNamedViews(sharedElements); in mapNamedElements() 183 View view = sharedElements.get(localName); in mapNamedElements() 185 sharedElements.put(acceptedName, view); in mapNamedElements() [all …]
|
D | SharedElementCallback.java | 89 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementStart() argument 120 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementEnd() argument 155 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} in onMapSharedElements() argument 289 List<View> sharedElements, OnSharedElementsReadyListener listener) { in onSharedElementsArrived() argument
|
D | FragmentTransition.java | 570 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()
|
D | ActivityOptions.java | 720 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument 723 activity.mExitTransitionListener, sharedElements); in makeSceneTransitionAnimation() 740 Pair<View, String>... sharedElements) { in startSharedElementAnimation() argument 747 makeSceneTransitionAnimation(null, window, opts, null, sharedElements); in startSharedElementAnimation() 782 Pair<View, String>[] sharedElements) { in makeSceneTransitionAnimation() argument 792 if (sharedElements != null) { in makeSceneTransitionAnimation() 793 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation() 794 Pair<View, String> sharedElement = sharedElements[i]; in makeSceneTransitionAnimation()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | ActivityTransition.java | 112 Map<String, View> sharedElements) { in setupHero() 113 sharedElements.put("hero", mHero); in setupHero()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 692 List<Pair<View, String>> sharedElements = new ArrayList<>(); in createSharedElementActivityOptions() local 698 sharedElements.add(Pair.create(view, sharedViewNames[i])); in createSharedElementActivityOptions() 704 if (!sharedElements.isEmpty()) { in createSharedElementActivityOptions() 708 sharedElements.toArray(new Pair[sharedElements.size()])); in createSharedElementActivityOptions()
|