mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Allow selection of larger preview size; keep max reticle size the same
git-svn-id: https://zxing.googlecode.com/svn/trunk@2319 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
585318cb22
commit
4f0766724b
|
@ -45,7 +45,7 @@ final class CameraConfigurationManager {
|
|||
// below will still select the default (presumably 320x240) size for these. This prevents
|
||||
// accidental selection of very low resolution on some devices.
|
||||
private static final int MIN_PREVIEW_PIXELS = 470 * 320; // normal screen
|
||||
private static final int MAX_PREVIEW_PIXELS = 800 * 600; // more than large/HD screen
|
||||
private static final int MAX_PREVIEW_PIXELS = 960 * 720; // uses full screen resolution on all 'large' screens
|
||||
|
||||
private final Context context;
|
||||
private Point screenResolution;
|
||||
|
|
Loading…
Reference in a new issue