Releases/January2014/src/src/org/nypl/CoverFlow.java
/**
      * Transform the Image Bitmap by the Angle passed
      *
      * @param imageView ImageView the ImageView whose bitmap we want to rotate
      * @param t transformation
      * @param rotationAngle the Angle by which to rotate the Bitmap
      */
Transform the Image Bitmap by the Angle passed
@param imageView ImageView the ImageView whose bitmap we want to rotate
@param t transformation
@param rotationAngle the Angle by which to rotate the Bitmap
Transform the Image Bitmap by the Angle passed @param imageView ImageView the ImageView whose bitmap we want to rotate @param t transformation @param rotationAngle the Angle by which to rotate the Bitmap
private void transformImageBitmap(ImageView child, Transformation t, int rotationAngle) {       
      mCamera.save();
      final Matrix imageMatrix = t.getMatrix();;
      final int imageHeight = child.getLayoutParams().height;;
      final int imageWidth = child.getLayoutParams().width;
      final int rotation = Math.abs(rotationAngle);
      mCamera.translate(0.0f, 0.0f, 100.0f);
      if ( rotation < mMaxRotationAngle ) {
       float zoomAmount = (float) (mMaxZoom +  (rotation * 1.5));
       mCamera.translate(0.0f, 0.0f, zoomAmount);        
      }
      mCamera.rotateY(rotationAngle);
      mCamera.getMatrix(imageMatrix);              
      imageMatrix.preTranslate(-(imageWidth/2), -(imageHeight/2));
      imageMatrix.postTranslate((imageWidth/2), (imageHeight/2));
      mCamera.restore();
 }
private void transformImageBitmap ( ImageView child , Transformation t , int rotationAngle ) { mCamera . save ( ) ; final Matrix imageMatrix = t . getMatrix ( ) ; ; final int imageHeight = child . getLayoutParams ( ) . height ; ; final int imageWidth = child . getLayoutParams ( ) . width ; final int rotation = Math . abs ( rotationAngle ) ; mCamera . translate ( 0.0f , 0.0f , 100.0f ) ; if ( rotation < mMaxRotationAngle ) { float zoomAmount = ( float ) ( mMaxZoom + ( rotation * 1.5 ) ) ; mCamera . translate ( 0.0f , 0.0f , zoomAmount ) ; } mCamera . rotateY ( rotationAngle ) ; mCamera . getMatrix ( imageMatrix ) ; imageMatrix . preTranslate ( - ( imageWidth / 2 ) , - ( imageHeight / 2 ) ) ; imageMatrix . postTranslate ( ( imageWidth / 2 ) , ( imageHeight / 2 ) ) ; mCamera . restore ( ) ; }
Transform the Image Bitmap by the Angle passed
 @param imageView ImageView the ImageView whose bitmap we want to rotate
 @param t transformation
 @param rotationAngle the Angle by which to rotate the Bitmap
Transform the Image Bitmap by the Angle passed @param imageView ImageView the ImageView whose bitmap we want to rotate @param t transformation @param rotationAngle the Angle by which to rotate the Bitmap
//As the angle of the view gets less, zoom in    