mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
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:
parent
4add23c286
commit
db08da3bb1
|
@ -237,13 +237,13 @@ public final class CameraManager {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
Point screenResolution = configManager.getScreenResolution();
|
Point screenResolution = configManager.getScreenResolution();
|
||||||
int width = screenResolution.x * 3 / 4;
|
int width = screenResolution.x * 3 / 5;
|
||||||
if (width < MIN_FRAME_WIDTH) {
|
if (width < MIN_FRAME_WIDTH) {
|
||||||
width = MIN_FRAME_WIDTH;
|
width = MIN_FRAME_WIDTH;
|
||||||
} else if (width > MAX_FRAME_WIDTH) {
|
} else if (width > MAX_FRAME_WIDTH) {
|
||||||
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) {
|
if (height < MIN_FRAME_HEIGHT) {
|
||||||
height = MIN_FRAME_HEIGHT;
|
height = MIN_FRAME_HEIGHT;
|
||||||
} else if (height > MAX_FRAME_HEIGHT) {
|
} else if (height > MAX_FRAME_HEIGHT) {
|
||||||
|
|
Loading…
Reference in a new issue