Consolidated all the Android LuminanceSource classes into one file. Either a device...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 23 Nov 2009 03:16:41 +0000 (03:16 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 23 Nov 2009 03:16:41 +0000 (03:16 +0000)
commitacdc884c319f62186da2f9dfa42ce8dc27e79696
tree08182adc1da6345a70e696225560d5c1d24569d4
parent8c055b1599dfadc6b42007ca3739024156aef591
Consolidated all the Android LuminanceSource classes into one file. Either a device can be handled by this file, or the app won't work. The Android platform requires every device to support yuv420sp camera preview buffers, but we also let two other similar formats sneak in for compatibility. I also removed the ability to convert LuminanceSource data into ARGB images, which wasn't used.

I also reverted a String-related change to QRCodeEncoder.java. The new method appears present in Java 1.6's String class but not in Android's.

git-svn-id: http://zxing.googlecode.com/svn/trunk@1121 59b500cc-1b3d-0410-9834-0bbf25fbcc57
android/AndroidManifest.xml
android/src/com/google/zxing/client/android/AbstractPlanarYUVLuminanceSource.java [deleted file]
android/src/com/google/zxing/client/android/BaseLuminanceSource.java [deleted file]
android/src/com/google/zxing/client/android/CameraManager.java
android/src/com/google/zxing/client/android/DecodeThread.java
android/src/com/google/zxing/client/android/InterleavedYUV422LuminanceSource.java [deleted file]
android/src/com/google/zxing/client/android/PlanarYUV420LuminanceSource.java [deleted file]
android/src/com/google/zxing/client/android/PlanarYUV422LuminanceSource.java [deleted file]
android/src/com/google/zxing/client/android/PlanarYUVLuminanceSource.java [new file with mode: 0644]
android/src/com/google/zxing/client/android/encode/QRCodeEncoder.java