Home
last modified time | relevance | path

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

/frameworks/support/compat/java/android/support/v4/app/
DActivityCompat.java457 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
458 mCallback.onSharedElementStart(sharedElementNames, sharedElements, in onSharedElementStart()
463 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, in onSharedElementEnd() argument
465 mCallback.onSharedElementEnd(sharedElementNames, sharedElements, in onSharedElementEnd()
475 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElements() argument
476 mCallback.onMapSharedElements(names, sharedElements); in onMapSharedElements()
500 List<View> sharedElements, final OnSharedElementsReadyListener listener) { in onSharedElementsArrived() argument
501 mCallback.onSharedElementsArrived(sharedElementNames, sharedElements, in onSharedElementsArrived()
DActivityOptionsCompat.java197 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument
200 if (sharedElements != null) { in makeSceneTransitionAnimation()
201 pairs = new android.util.Pair[sharedElements.length]; in makeSceneTransitionAnimation()
202 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation()
204 sharedElements[i].first, sharedElements[i].second); in makeSceneTransitionAnimation()
DSharedElementCallback.java78 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementStart() argument
109 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementEnd() argument
144 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} in onMapSharedElements() argument
300 List<View> sharedElements, OnSharedElementsReadyListener listener) { in onSharedElementsArrived() argument
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java226 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
227 sharedElements.retainAll(mAllSharedElementNames); in viewsReady()
229 mListener.onMapSharedElements(mAllSharedElementNames, sharedElements); in viewsReady()
231 setSharedElements(sharedElements); in viewsReady()
251 private void setSharedElements(ArrayMap<String, View> sharedElements) { in setSharedElements() argument
253 while (!sharedElements.isEmpty()) { in setSharedElements()
254 final int numSharedElements = sharedElements.size(); in setSharedElements()
256 final View view = sharedElements.valueAt(i); in setSharedElements()
257 final String name = sharedElements.keyAt(i); in setSharedElements()
259 sharedElements.removeAt(i); in setSharedElements()
[all …]
DEnterTransitionCoordinator.java131 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
132 super.viewsReady(sharedElements); in viewsReady()
151 private void triggerViewsReady(final ArrayMap<String, View> sharedElements) { in triggerViewsReady() argument
159 (sharedElements.isEmpty() || !sharedElements.valueAt(0).isLayoutRequested()))) { in triggerViewsReady()
160 viewsReady(sharedElements); in triggerViewsReady()
164 viewsReady(sharedElements); in triggerViewsReady()
172 ArrayMap<String, View> sharedElements = new ArrayMap<String, View>(); in mapNamedElements() local
175 decorView.findNamedViews(sharedElements); in mapNamedElements()
182 View view = sharedElements.get(localName); in mapNamedElements()
184 sharedElements.put(acceptedName, view); in mapNamedElements()
[all …]
DSharedElementCallback.java86 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementStart() argument
117 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementEnd() argument
152 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} in onMapSharedElements() argument
276 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()
1098 Fragment fragment, ArrayList<View> sharedElements, View nonExistentView) { in configureEnteringExitingViews() argument
1106 if (sharedElements != null) { in configureEnteringExitingViews()
1107 viewList.removeAll(sharedElements); in configureEnteringExitingViews()
DActivityOptions.java651 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument
654 activity.mExitTransitionListener, sharedElements); in makeSceneTransitionAnimation()
671 Pair<View, String>... sharedElements) { in startSharedElementAnimation() argument
678 makeSceneTransitionAnimation(null, window, opts, null, sharedElements); in startSharedElementAnimation()
713 Pair<View, String>[] sharedElements) { in makeSceneTransitionAnimation() argument
723 if (sharedElements != null) { in makeSceneTransitionAnimation()
724 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation()
725 Pair<View, String> sharedElement = sharedElements[i]; in makeSceneTransitionAnimation()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsOverviewSharedElementHelper.java127 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
131 if (sharedElements.size() < 1) { in onSharedElementStart()
134 View overviewView = sharedElements.get(0); in onSharedElementStart()
164 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementEnd() argument
168 if (sharedElements.size() < 1) { in onSharedElementEnd()
171 View overviewView = sharedElements.get(0); in onSharedElementEnd()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentTransitionTest.java333 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElementOut()
336 assertEquals(1, sharedElements.size()); in onMapSharedElementOut()
337 assertEquals(startBlue, sharedElements.get("blueSquare")); in onMapSharedElementOut()
338 sharedElements.put("blueSquare", startGreen); in onMapSharedElementOut()
362 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElementOut()
365 assertEquals(1, sharedElements.size()); in onMapSharedElementOut()
367 assertEquals(expectedBlue, sharedElements.get("blueSquare")); in onMapSharedElementOut()
369 sharedElements.put("blueSquare", greenSquare); in onMapSharedElementOut()
398 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElementIn()
401 assertEquals(1, sharedElements.size()); in onMapSharedElementIn()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransition.java643 ArrayMap<String, View> sharedElements, Collection<String> nameOverridesSet) { in addSharedElementsWithMatchingNames() argument
644 for (int i = sharedElements.size() - 1; i >= 0; i--) { in addSharedElementsWithMatchingNames()
645 View view = sharedElements.valueAt(i); in addSharedElementsWithMatchingNames()
971 boolean isPop, ArrayMap<String, View> sharedElements, boolean isStart) { in callSharedElementStartEnd() argument
978 final int count = sharedElements == null ? 0 : sharedElements.size(); in callSharedElementStartEnd()
980 names.add(sharedElements.keyAt(i)); in callSharedElementStartEnd()
981 views.add(sharedElements.valueAt(i)); in callSharedElementStartEnd()
993 Fragment fragment, ArrayList<View> sharedElements, View nonExistentView) { in configureEnteringExitingViews() argument
1001 if (sharedElements != null) { in configureEnteringExitingViews()
1002 viewList.removeAll(sharedElements); in configureEnteringExitingViews()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java112 Map<String, View> sharedElements) { in setupHero()
113 sharedElements.put("hero", mHero); in setupHero()