Home | History | Annotate | Download | only in app

Lines Matching refs:sharedElements

219     protected void viewsReady(ArrayMap<String, View> sharedElements) {
220 sharedElements.retainAll(mAllSharedElementNames);
222 mListener.onMapSharedElements(mAllSharedElementNames, sharedElements);
224 setSharedElements(sharedElements);
241 * @param sharedElements The map of transition names to shared elements to set into
244 private void setSharedElements(ArrayMap<String, View> sharedElements) {
246 while (!sharedElements.isEmpty()) {
247 final int numSharedElements = sharedElements.size();
249 final View view = sharedElements.valueAt(i);
250 final String name = sharedElements.keyAt(i);
252 sharedElements.removeAt(i);
253 } else if (!isNested(view, sharedElements)) {
256 sharedElements.removeAt(i);
264 * Returns true when view is nested in any of the values of sharedElements.
266 private static boolean isNested(View view, ArrayMap<String, View> sharedElements) {
271 if (sharedElements.containsValue(parentView)) {
399 ArrayMap<String, View> sharedElements = new ArrayMap<String, View>();
402 sharedElements.put(accepted.get(i), localViews.get(i));
407 decorView.findNamedViews(sharedElements);
410 return sharedElements;
640 protected static void setOriginalSharedElementState(ArrayList<View> sharedElements,
643 View view = sharedElements.get(i);