private final View [ ] getNonDecorViews ( View [ ] views ) { View [ ] decorViews = null ; if ( views != null ) { decorViews = new View [ views . length ] ; int i = 0 ; View view ; for ( int j = 0 ; j < views . length ; j ++ ) { view = views [ j ] ; if ( ! isDecorView ( view ) ) { decorViews [ i ] = view ; i ++ ; } } } return decorViews ; }
Returns all views that are non DecorViews