private void resetImageView(Bitmap b) {
   mImageView.clear();
   mImageView.setImageBitmap(b);
   mImageView.setImageBitmapResetBase(b, true);
   mCrop = new CropImage(this, mImageView, mHandler);
   mCrop.crop(b);
 }
 public void onClick(View v) {
   switch (v.getId()) {
     case R.id.gl_modify_avatar_cancel:
       // mCrop.cropCancel();
       finish();
       break;
     case R.id.gl_modify_avatar_save:
       String path = mCrop.saveToLocal(mCrop.cropAndSave());
       Log.i(TAG, "截取后图片的路径是 = " + path);
       Intent intent = new Intent();
       intent.putExtra("path", path);
       setResult(RESULT_OK, intent);
       finish();
       break;
     case R.id.gl_modify_avatar_rotate_left:
       mCrop.startRotate(270.f);
       break;
     case R.id.gl_modify_avatar_rotate_right:
       mCrop.startRotate(90.f);
       break;
   }
 }