Reticle is getting quite small with new larger boundaries for tablets -- go to 60%, to help focus too

git-svn-id: https://zxing.googlecode.com/svn/trunk@1930 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2011-09-24 16:43:04 +00:00
parent 4add23c286
commit db08da3bb1

View file

@ -237,13 +237,13 @@ public final class CameraManager {
return null;
}
Point screenResolution = configManager.getScreenResolution();
int width = screenResolution.x * 3 / 4;
int width = screenResolution.x * 3 / 5;
if (width < MIN_FRAME_WIDTH) {
width = MIN_FRAME_WIDTH;
} else if (width > MAX_FRAME_WIDTH) {
width = MAX_FRAME_WIDTH;
}
int height = screenResolution.y * 3 / 4;
int height = screenResolution.y * 3 / 5;
if (height < MIN_FRAME_HEIGHT) {
height = MIN_FRAME_HEIGHT;
} else if (height > MAX_FRAME_HEIGHT) {