We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CameraActivity中,saveToSDCard方法: if (mCurrentCameraId == 1) { r = new Rect(height - PHOTO_SIZE, 0, height, PHOTO_SIZE); } else { r = new Rect(0, 0, PHOTO_SIZE, PHOTO_SIZE); }
请问这里为什么要根据不同的摄像头设定不同的截图范围呢,然后height-PHOTO_SIZE这个代表个啥呢,有点不理解,可以解答下吗?谢谢。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CameraActivity中,saveToSDCard方法:
if (mCurrentCameraId == 1) {
r = new Rect(height - PHOTO_SIZE, 0, height, PHOTO_SIZE);
} else {
r = new Rect(0, 0, PHOTO_SIZE, PHOTO_SIZE);
}
请问这里为什么要根据不同的摄像头设定不同的截图范围呢,然后height-PHOTO_SIZE这个代表个啥呢,有点不理解,可以解答下吗?谢谢。
The text was updated successfully, but these errors were encountered: