Home
last modified time | relevance | path

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

/frameworks/support/compat/api23/android/support/v4/app/
DActivityCompatApi23.java74 List<View> sharedElements, OnSharedElementsReadyListenerBridge listener); in onSharedElementsArrived() argument
86 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
87 mCallback.onSharedElementStart(sharedElementNames, sharedElements, in onSharedElementStart()
92 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, in onSharedElementEnd() argument
94 mCallback.onSharedElementEnd(sharedElementNames, sharedElements, in onSharedElementEnd()
104 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElements() argument
105 mCallback.onMapSharedElements(names, sharedElements); in onMapSharedElements()
122 List<View> sharedElements, final OnSharedElementsReadyListener listener) { in onSharedElementsArrived() argument
123 mCallback.onSharedElementsArrived(sharedElementNames, sharedElements, in onSharedElementsArrived()
DActivityOptionsCompat23.java58 View[] sharedElements, String[] sharedElementNames) { in makeSceneTransitionAnimation() argument
60 if (sharedElements != null) { in makeSceneTransitionAnimation()
61 pairs = new Pair[sharedElements.length]; in makeSceneTransitionAnimation()
63 pairs[i] = Pair.create(sharedElements[i], sharedElementNames[i]); in makeSceneTransitionAnimation()
/frameworks/support/compat/api21/android/support/v4/app/
DActivityCompatApi21.java63 List<View> sharedElements, List<View> sharedElementSnapshots); in onSharedElementStart() argument
66 List<View> sharedElements, List<View> sharedElementSnapshots); in onSharedElementEnd() argument
71 Map<String, View> sharedElements); in onMapSharedElements() argument
94 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
95 mCallback.onSharedElementStart(sharedElementNames, sharedElements, in onSharedElementStart()
100 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, in onSharedElementEnd() argument
102 mCallback.onSharedElementEnd(sharedElementNames, sharedElements, in onSharedElementEnd()
112 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElements() argument
113 mCallback.onMapSharedElements(names, sharedElements); in onMapSharedElements()
DActivityOptionsCompat21.java57 View[] sharedElements, String[] sharedElementNames) { in makeSceneTransitionAnimation() argument
59 if (sharedElements != null) { in makeSceneTransitionAnimation()
60 pairs = new Pair[sharedElements.length]; in makeSceneTransitionAnimation()
62 pairs[i] = Pair.create(sharedElements[i], sharedElementNames[i]); in makeSceneTransitionAnimation()
/frameworks/support/compat/java/android/support/v4/app/
DActivityCompat.java465 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
466 mCallback.onSharedElementStart(sharedElementNames, sharedElements, in onSharedElementStart()
471 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, in onSharedElementEnd() argument
473 mCallback.onSharedElementEnd(sharedElementNames, sharedElements, in onSharedElementEnd()
483 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElements() argument
484 mCallback.onMapSharedElements(names, sharedElements); in onMapSharedElements()
511 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
512 mCallback.onSharedElementStart(sharedElementNames, sharedElements, in onSharedElementStart()
517 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, in onSharedElementEnd() argument
519 mCallback.onSharedElementEnd(sharedElementNames, sharedElements, in onSharedElementEnd()
[all …]
DActivityOptionsCompat.java244 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument
248 if (sharedElements != null) { in makeSceneTransitionAnimation()
249 views = new View[sharedElements.length]; in makeSceneTransitionAnimation()
250 names = new String[sharedElements.length]; in makeSceneTransitionAnimation()
251 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation()
252 views[i] = sharedElements[i].first; in makeSceneTransitionAnimation()
253 names[i] = 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.java220 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
221 sharedElements.retainAll(mAllSharedElementNames); in viewsReady()
223 mListener.onMapSharedElements(mAllSharedElementNames, sharedElements); in viewsReady()
225 setSharedElements(sharedElements); in viewsReady()
245 private void setSharedElements(ArrayMap<String, View> sharedElements) { in setSharedElements() argument
247 while (!sharedElements.isEmpty()) { in setSharedElements()
248 final int numSharedElements = sharedElements.size(); in setSharedElements()
250 final View view = sharedElements.valueAt(i); in setSharedElements()
251 final String name = sharedElements.keyAt(i); in setSharedElements()
253 sharedElements.removeAt(i); in setSharedElements()
[all …]
DEnterTransitionCoordinator.java121 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
122 super.viewsReady(sharedElements); in viewsReady()
138 private void triggerViewsReady(final ArrayMap<String, View> sharedElements) { in triggerViewsReady() argument
146 (sharedElements.isEmpty() || !sharedElements.valueAt(0).isLayoutRequested()))) { in triggerViewsReady()
147 viewsReady(sharedElements); in triggerViewsReady()
154 viewsReady(sharedElements); in triggerViewsReady()
165 ArrayMap<String, View> sharedElements = new ArrayMap<String, View>(); in mapNamedElements() local
168 decorView.findNamedViews(sharedElements); in mapNamedElements()
175 View view = sharedElements.remove(localName); in mapNamedElements()
177 sharedElements.put(acceptedName, view); in mapNamedElements()
[all …]
DSharedElementCallback.java82 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementStart() argument
113 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementEnd() argument
148 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} in onMapSharedElements() argument
262 List<View> sharedElements, OnSharedElementsReadyListener listener) { in onSharedElementsArrived() argument
DActivityOptions.java646 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument
649 activity.mExitTransitionListener, sharedElements); in makeSceneTransitionAnimation()
666 Pair<View, String>... sharedElements) { in startSharedElementAnimation() argument
673 makeSceneTransitionAnimation(null, window, opts, null, sharedElements); in startSharedElementAnimation()
708 Pair<View, String>[] sharedElements) { in makeSceneTransitionAnimation() argument
718 if (sharedElements != null) { in makeSceneTransitionAnimation()
719 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation()
720 Pair<View, String> sharedElement = sharedElements[i]; in makeSceneTransitionAnimation()
/frameworks/support/compat/api24/android/support/v4/app/
DActivityOptionsCompat24.java58 View[] sharedElements, String[] sharedElementNames) { in makeSceneTransitionAnimation() argument
60 if (sharedElements != null) { in makeSceneTransitionAnimation()
61 pairs = new Pair[sharedElements.length]; in makeSceneTransitionAnimation()
63 pairs[i] = Pair.create(sharedElements[i], sharedElementNames[i]); in makeSceneTransitionAnimation()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsOverviewSharedElementHelper.java108 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
112 if (sharedElements.size() < 1) { in onSharedElementStart()
115 View overviewView = sharedElements.get(0); in onSharedElementStart()
145 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementEnd() argument
149 if (sharedElements.size() < 1) { in onSharedElementEnd()
152 View overviewView = sharedElements.get(0); in onSharedElementEnd()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DActivityTransition.java112 Map<String, View> sharedElements) { in setupHero()
113 sharedElements.put("hero", mHero); in setupHero()