fragment/src/main/java/androidx/fragment/app/FragmentTransitionImpl.java
void captureTransitioningViews(ArrayList<View> transitioningViews, View view) {
        if (view.getVisibility() == View.VISIBLE) {
            if (view instanceof ViewGroup) {
                ViewGroup viewGroup = (ViewGroup) view;
                if (ViewGroupCompat.isTransitionGroup(viewGroup)) {
                    transitioningViews.add(viewGroup);
                } else {
                    int count = viewGroup.getChildCount();
                    for (int i = 0; i < count; i++) {
                        View child = viewGroup.getChildAt(i);
                        captureTransitioningViews(transitioningViews, child);
                    }
                }
            } else {
                transitioningViews.add(view);
            }
        }
    }
/**
     * Gets the Views in the hierarchy affected by entering and exiting Activity Scene transitions.
     *
     * @param transitioningViews This View will be added to transitioningViews if it is VISIBLE and
     *                           a normal View or a ViewGroup with
     *                           {@link android.view.ViewGroup#isTransitionGroup()} true.
     * @param view               The base of the view hierarchy to look in.
     */
Gets the Views in the hierarchy affected by entering and exiting Activity Scene transitions.
@param transitioningViews This View will be added to transitioningViews if it is VISIBLE and
a normal View or a ViewGroup with
android.view.ViewGroup#isTransitionGroup() true.
@param view               The base of the view hierarchy to look in.
Gets the Views in the hierarchy affected by entering and exiting Activity Scene transitions . @param transitioningViews This View will be added to transitioningViews if it is VISIBLE and a normal View or a ViewGroup with android . view . ViewGroup#isTransitionGroup () true . @param view The base of the view hierarchy to look in .
void captureTransitioningViews(ArrayList<View> transitioningViews, View view) {
        if (view.getVisibility() == View.VISIBLE) {
            if (view instanceof ViewGroup) {
                ViewGroup viewGroup = (ViewGroup) view;
                if (ViewGroupCompat.isTransitionGroup(viewGroup)) {
                    transitioningViews.add(viewGroup);
                } else {
                    int count = viewGroup.getChildCount();
                    for (int i = 0; i < count; i++) {
                        View child = viewGroup.getChildAt(i);
                        captureTransitioningViews(transitioningViews, child);
                    }
                }
            } else {
                transitioningViews.add(view);
            }
        }
    }
void captureTransitioningViews ( ArrayList < View > transitioningViews , View view ) { if ( view . getVisibility ( ) == View . VISIBLE ) { if ( view instanceof ViewGroup ) { ViewGroup viewGroup = ( ViewGroup ) view ; if ( ViewGroupCompat . isTransitionGroup ( viewGroup ) ) { transitioningViews . add ( viewGroup ) ; } else { int count = viewGroup . getChildCount ( ) ; for ( int i = 0 ; i < count ; i ++ ) { View child = viewGroup . getChildAt ( i ) ; captureTransitioningViews ( transitioningViews , child ) ; } } } else { transitioningViews . add ( view ) ; } } }
Gets the Views in the hierarchy affected by entering and exiting Activity Scene transitions.
Gets the Views in the hierarchy affected by entering and exiting Activity Scene transitions .