private void calculateMasksBounds ( ) { leftMask = new RectF ( 0 , 0 , getWidth ( ) / 2 - toCurrentScale ( optimalPageWidth ) / 2 , getHeight ( ) ) ; rightMask = new RectF ( getWidth ( ) / 2 + toCurrentScale ( optimalPageWidth ) / 2 , 0 , getWidth ( ) , getHeight ( ) ) ; }
Place the left and right masks around the current page .