question: protected boolean scrollUp ( TextView widget , Spannable buffer , int amount ) { final Layout layout = widget . getLayout ( ) ; final int top = widget . getScrollY ( ) ; int topLine = layout . getLineForVertical ( top ) ; if ( layout . getLineTop ( topLine ) == top ) { topLine -= 1 ; } if ( topLine >= 0 ) { topLine = Math . max ( topLine - amount + 1 , 0 ) ; Touch . scrollTo ( widget , layout , widget . getScrollX ( ) , layout . getLineTop ( topLine ) ) ; return true ; } return false ; }
target:  Performs a scroll up action. Scrolls up by the specified number of lines.