Searched defs:sharedElements (Results 1 - 12 of 12) sorted by relevance

/frameworks/support/v4/api21/android/support/v4/app/
H A DActivityOptionsCompat21.java37 View[] sharedElements, String[] sharedElementNames) {
39 if (sharedElements != null) {
40 pairs = new Pair[sharedElements.length];
42 pairs[i] = Pair.create(sharedElements[i], sharedElementNames[i]);
36 makeSceneTransitionAnimation(Activity activity, View[] sharedElements, String[] sharedElementNames) argument
H A DActivityCompat21.java58 List<View> sharedElements, List<View> sharedElementSnapshots);
61 List<View> sharedElements, List<View> sharedElementSnapshots);
66 Map<String, View> sharedElements);
89 List<View> sharedElements, List<View> sharedElementSnapshots) {
90 mCallback.onSharedElementStart(sharedElementNames, sharedElements,
95 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, argument
97 mCallback.onSharedElementEnd(sharedElementNames, sharedElements,
107 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { argument
108 mCallback.onMapSharedElements(names, sharedElements);
57 onSharedElementStart(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
60 onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
65 onMapSharedElements(List<String> names, Map<String, View> sharedElements) argument
88 onSharedElementStart(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
/frameworks/base/core/java/android/app/
H A DSharedElementCallback.java60 * @param sharedElements The shared elements that are part of the View hierarchy.
68 List<View> sharedElements, List<View> sharedElementSnapshots) {}
85 * @param sharedElements The shared elements that are part of the View hierarchy.
93 List<View> sharedElements, List<View> sharedElementSnapshots) {}
125 * @param sharedElements The mapping of shared element names to Views. The best guess
126 * will be filled into sharedElements based on the transitionNames.
128 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} argument
67 onSharedElementStart(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
92 onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
H A DEnterTransitionCoordinator.java113 protected void viewsReady(ArrayMap<String, View> sharedElements) { argument
114 super.viewsReady(sharedElements);
130 private void triggerViewsReady(final ArrayMap<String, View> sharedElements) { argument
138 (sharedElements.isEmpty() || !sharedElements.valueAt(0).isLayoutRequested()))) {
139 viewsReady(sharedElements);
146 viewsReady(sharedElements);
155 ArrayMap<String, View> sharedElements = new ArrayMap<String, View>();
158 decorView.findNamedViews(sharedElements);
165 View view = sharedElements
[all...]
H A DFragmentTransaction.java202 public abstract FragmentTransaction setSharedElements(Pair<View, String>... sharedElements); argument
H A DActivityOptions.java474 * Activity. The position of the first element in sharedElements
482 * @param sharedElements The names of the shared elements to transfer to the called
491 Pair<View, String>... sharedElements) {
502 if (sharedElements != null) {
503 for (int i = 0; i < sharedElements.length; i++) {
504 Pair<View, String> sharedElement = sharedElements[i];
490 makeSceneTransitionAnimation(Activity activity, Pair<View, String>... sharedElements) argument
H A DActivityTransitionCoordinator.java222 protected void viewsReady(ArrayMap<String, View> sharedElements) { argument
223 sharedElements.retainAll(mAllSharedElementNames);
225 mListener.onMapSharedElements(mAllSharedElementNames, sharedElements);
227 setSharedElements(sharedElements);
244 * @param sharedElements The map of transition names to shared elements to set into
247 private void setSharedElements(ArrayMap<String, View> sharedElements) { argument
249 while (!sharedElements.isEmpty()) {
250 final int numSharedElements = sharedElements.size();
252 final View view = sharedElements.valueAt(i);
253 final String name = sharedElements
276 isNested(View view, ArrayMap<String, View> sharedElements) argument
660 setOriginalSharedElementState(ArrayList<View> sharedElements, ArrayList<SharedElementOriginalState> originalState) argument
[all...]
H A DBackStackRecord.java570 " sharedElements");
587 " sharedElements");
599 public FragmentTransaction setSharedElements(Pair<View, String>... sharedElements) { argument
600 if (sharedElements == null || sharedElements.length == 0) {
604 ArrayList<String> sourceNames = new ArrayList<String>(sharedElements.length);
605 ArrayList<String> targetNames = new ArrayList<String>(sharedElements.length);
606 for (int i = 0; i < sharedElements.length; i++) {
607 String transitionName = sharedElements[i].first.getTransitionName();
610 + " sharedElements");
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java57 * @param sharedElements The shared elements that are part of the View hierarchy.
65 List<View> sharedElements, List<View> sharedElementSnapshots) {}
82 * @param sharedElements The shared elements that are part of the View hierarchy.
90 List<View> sharedElements, List<View> sharedElementSnapshots) {}
122 * @param sharedElements The mapping of shared element names to Views. The best guess
123 * will be filled into sharedElements based on the transitionNames.
125 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) {} argument
64 onSharedElementStart(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
89 onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
H A DActivityCompat.java228 List<View> sharedElements, List<View> sharedElementSnapshots) {
229 mCallback.onSharedElementStart(sharedElementNames, sharedElements,
234 public void onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, argument
236 mCallback.onSharedElementEnd(sharedElementNames, sharedElements,
246 public void onMapSharedElements(List<String> names, Map<String, View> sharedElements) { argument
247 mCallback.onMapSharedElements(names, sharedElements);
227 onSharedElementStart(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
H A DActivityOptionsCompat.java144 * Activity. The position of the first element in sharedElements
152 * @param sharedElements The names of the shared elements to transfer to the called
159 Pair<View, String>... sharedElements) {
163 if (sharedElements != null) {
164 views = new View[sharedElements.length];
165 names = new String[sharedElements.length];
166 for (int i = 0; i < sharedElements.length; i++) {
167 views[i] = sharedElements[i].first;
168 names[i] = sharedElements[i].second;
158 makeSceneTransitionAnimation(Activity activity, Pair<View, String>... sharedElements) argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDetailsOverviewSharedElementHelper.java108 List<View> sharedElements, List<View> sharedElementSnapshots) {
112 if (sharedElements.size() < 1) {
115 View overviewView = sharedElements.get(0);
145 List<View> sharedElements, List<View> sharedElementSnapshots) {
149 if (sharedElements.size() < 1) {
152 View overviewView = sharedElements.get(0);
107 onSharedElementStart(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument
144 onSharedElementEnd(List<String> sharedElementNames, List<View> sharedElements, List<View> sharedElementSnapshots) argument

Completed in 184 milliseconds