public AnimationRect copy() { AnimationRect resultRect = new AnimationRect(); resultRect.mCurrentScaleValue = this.mCurrentScaleValue; resultRect.mAnimationMatrix.set(this.mAnimationMatrix); resultRect.mOriginalDistance = this.mOriginalDistance; resultRect.mRectF.set(this.mRectF); resultRect.mPreviewWidth = this.mPreviewWidth; resultRect.mPreviewHeight = this.mPreviewHeight; resultRect.mCurrentRotationValue = this.mCurrentRotationValue; resultRect.setLeftTop(this.getLeftTop()); resultRect.setRightTop(this.getRightTop()); resultRect.setLeftBottom(this.getLeftBottom()); resultRect.setRightBottom(this.getRightBottom()); resultRect.setHighLightEnable(this.mIsHighlightEnable); return resultRect; }