question: public boolean isLastWindow ( AccessibilityWindowInfo baseWindow , int windowType ) { int index = getWindowIndex ( baseWindow ) ; if ( index == WRONG_INDEX ) { return true ; } int count = mWindows . size ( ) ; for ( int i = index + 1 ; i < count ; i ++ ) { AccessibilityWindowInfo window = mWindows . get ( i ) ; if ( window != null && window . getType ( ) == windowType ) { return false ; } } return true ; }
target:  returns true if there is no window with windowType after baseWindow