Home
last modified time | relevance | path

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

/frameworks/support/v4/api21/android/support/v4/app/
DActivityCompat21.java58 List<View> sharedElements, List<View> sharedElementSnapshots); in onSharedElementStart() argument
61 List<View> sharedElements, List<View> sharedElementSnapshots); in onSharedElementEnd() argument
66 Map<String, View> sharedElements); in onMapSharedElements() argument
89 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
90 mCallback.onSharedElementStart(sharedElementNames, sharedElements, in onSharedElementStart()
95 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, in onSharedElementEnd() argument
97 mCallback.onSharedElementEnd(sharedElementNames, sharedElements, in onSharedElementEnd()
107 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElements() argument
108 mCallback.onMapSharedElements(names, sharedElements); in onMapSharedElements()
DActivityOptionsCompat21.java37 View[] sharedElements, String[] sharedElementNames) { in makeSceneTransitionAnimation() argument
39 if (sharedElements != null) { in makeSceneTransitionAnimation()
40 pairs = new Pair[sharedElements.length]; in makeSceneTransitionAnimation()
42 pairs[i] = Pair.create(sharedElements[i], sharedElementNames[i]); in makeSceneTransitionAnimation()
/frameworks/support/v4/java/android/support/v4/app/
DActivityOptionsCompat.java159 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument
163 if (sharedElements != null) { in makeSceneTransitionAnimation()
164 views = new View[sharedElements.length]; in makeSceneTransitionAnimation()
165 names = new String[sharedElements.length]; in makeSceneTransitionAnimation()
166 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation()
167 views[i] = sharedElements[i].first; in makeSceneTransitionAnimation()
168 names[i] = sharedElements[i].second; in makeSceneTransitionAnimation()
DActivityCompat.java228 List<View> sharedElements, List<View> sharedElementSnapshots) { in onSharedElementStart() argument
229 mCallback.onSharedElementStart(sharedElementNames, sharedElements, in onSharedElementStart()
234 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, in onSharedElementEnd() argument
236 mCallback.onSharedElementEnd(sharedElementNames, sharedElements, in onSharedElementEnd()
246 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { in onMapSharedElements() argument
247 mCallback.onMapSharedElements(names, sharedElements); in onMapSharedElements()
DSharedElementCallback.java65 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementStart() argument
90 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementEnd() argument
125 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} in onMapSharedElements() argument
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java222 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
223 sharedElements.retainAll(mAllSharedElementNames); in viewsReady()
225 mListener.onMapSharedElements(mAllSharedElementNames, sharedElements); in viewsReady()
227 setSharedElements(sharedElements); in viewsReady()
247 private void setSharedElements(ArrayMap<String, View> sharedElements) { in setSharedElements() argument
249 while (!sharedElements.isEmpty()) { in setSharedElements()
250 final int numSharedElements = sharedElements.size(); in setSharedElements()
252 final View view = sharedElements.valueAt(i); in setSharedElements()
253 final String name = sharedElements.keyAt(i); in setSharedElements()
255 sharedElements.removeAt(i); in setSharedElements()
[all …]
DEnterTransitionCoordinator.java113 protected void viewsReady(ArrayMap<String, View> sharedElements) { in viewsReady() argument
114 super.viewsReady(sharedElements); in viewsReady()
130 private void triggerViewsReady(final ArrayMap<String, View> sharedElements) { in triggerViewsReady() argument
138 (sharedElements.isEmpty() || !sharedElements.valueAt(0).isLayoutRequested()))) { in triggerViewsReady()
139 viewsReady(sharedElements); in triggerViewsReady()
146 viewsReady(sharedElements); in triggerViewsReady()
155 ArrayMap<String, View> sharedElements = new ArrayMap<String, View>(); in mapNamedElements() local
158 decorView.findNamedViews(sharedElements); in mapNamedElements()
165 View view = sharedElements.remove(localName); in mapNamedElements()
167 sharedElements.put(acceptedName, view); in mapNamedElements()
[all …]
DSharedElementCallback.java68 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementStart() argument
93 List<View> sharedElements, List<View> sharedElementSnapshots) {} in onSharedElementEnd() argument
128 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} in onMapSharedElements() argument
DActivityOptions.java491 Pair<View, String>... sharedElements) { in makeSceneTransitionAnimation() argument
502 if (sharedElements != null) { in makeSceneTransitionAnimation()
503 for (int i = 0; i < sharedElements.length; i++) { in makeSceneTransitionAnimation()
504 Pair<View, String> sharedElement = sharedElements[i]; in makeSceneTransitionAnimation()
DFragmentTransaction.java202 public abstract FragmentTransaction setSharedElements(Pair<View, String>... sharedElements); in setSharedElements() argument
DBackStackRecord.java599 public FragmentTransaction setSharedElements(Pair<View, String>... sharedElements) { in setSharedElements() argument
600 if (sharedElements == null || sharedElements.length == 0) { in setSharedElements()
604 ArrayList<String> sourceNames = new ArrayList<String>(sharedElements.length); in setSharedElements()
605 ArrayList<String> targetNames = new ArrayList<String>(sharedElements.length); in setSharedElements()
606 for (int i = 0; i < sharedElements.length; i++) { in setSharedElements()
607 String transitionName = sharedElements[i].first.getTransitionName(); in setSharedElements()
613 targetNames.add(sharedElements[i].second); in setSharedElements()
/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()