public int estimateCellVSpan(int height){
  int availHeight=height - (getPaddingTop() + getPaddingBottom());
  int n=Math.max(1,(availHeight + mHeightGap) / (mCellHeight + mHeightGap));
  return n;
}

public int estimateCellVSpan ( int height ) { int availHeight = height - ( getPaddingTop ( ) + getPaddingBottom ( ) ) ; int n = Math . max ( 1 , ( availHeight + mHeightGap ) / ( mCellHeight + mHeightGap ) ) ; return n ; }
estimates the number of cells that the specified height would take up .
