Ejemplo n.º 1
0
 /** @return */
 public float getPercentBoxHeight() {
   if (mBoxStory != null) {
     int iBh = mBoxStory.getBoxStoryHeight();
     if (iBh == 0) {
       iBh = mBoxCellSize;
     }
     if (iBh > 2) {
       return (float) ((iBh * 100.0f) / mBoxCellSize);
     } else {
       return (float) (iBh * 1.0f);
     }
   }
   return 1.0f;
 }