Offset 1, 18 lines modified | Offset 0, 0 lines modified | ||
1 | Verifies | ||
2 | Verified·using·v1·scheme·(JAR·signing):·true | ||
3 | Verified·using·v2·scheme·(APK·Signature·Scheme·v2):·false | ||
4 | Verified·using·v3·scheme·(APK·Signature·Scheme·v3):·false | ||
5 | Verified·using·v4·scheme·(APK·Signature·Scheme·v4):·false | ||
6 | Verified·for·SourceStamp:·false | ||
7 | Number·of·signers:·1 | ||
8 | Signer·#1·certificate·DN:·CN=FDroid,·OU=FDroid,·O=fdroid.org,·L=ORG,·ST=ORG,·C=UK | ||
9 | Signer·#1·certificate·SHA-256·digest:·d0767c0e22b0d26c2b8bbc6297c0dfe747a1d934251da5ef3d56cc4c48caf050 | ||
10 | Signer·#1·certificate·SHA-1·digest:·25a812375383af12698fb6dcfdd93f0532dfc49b | ||
11 | Signer·#1·certificate·MD5·digest:·012e9ba93345e6ef88d77891e185bbe7 | ||
12 | Signer·#1·key·algorithm:·RSA | ||
13 | Signer·#1·key·size·(bits):·2048 | ||
14 | Signer·#1·public·key·SHA-256·digest:·afb5a2639632711c12da19219b931e07a7f638dc64d2a33bae3917517e02d197 | ||
15 | Signer·#1·public·key·SHA-1·digest:·fe5fae1e8e0cde51d4abbece55d8f4d3f6008fd6 | ||
16 | Signer·#1·public·key·MD5·digest:·db9c8a807b4d9661b015bf1146450db1 | ||
17 | WARNING:·META-INF/buildserverid·not·protected·by·signature.·Unauthorized·modifications·to·this·JAR·entry·will·not·be·detected.·Delete·or·move·the·entry·outside·of·META-INF/. | ||
18 | WARNING:·META-INF/fdroidserverid·not·protected·by·signature.·Unauthorized·modifications·to·this·JAR·entry·will·not·be·detected.·Delete·or·move·the·entry·outside·of·META-INF/. |
Offset 1, 37 lines modified | Offset 1, 35 lines modified | ||
1 | Zip·file·size:·29 | 1 | Zip·file·size:·292726·bytes,·number·of·entries:·33 |
2 | -rw----·····2.0·fat·····2758·bl·defN·15-Nov-02·09:10·META-INF/MANIFEST.MF | ||
3 | -rw----·····2.0·fat·····2879·bl·defN·15-Nov-02·09:10·META-INF/3AB63F5D.SF | ||
4 | -rw----·····2.0·fat·····1326·bl·defN·15-Nov-02·09:10·META-INF/3AB63F5D.RSA | ||
5 | -rw----·····2.0·fat·······41·bl·defN·15-Nov-01·08:08·META-INF/buildserverid | ||
6 | -rw----·····2.0·fat·······41·bl·defN·15-Nov-01·08:08·META-INF/fdroidserverid | ||
7 | -rw----·····2.0·fat·····3572·bX·defN·1 | 2 | -rw----·····2.0·fat·····3572·bX·defN·17-Oct-08·00:38·AndroidManifest.xml |
8 | -rw----·····1.0·fat······450·b-·stor·1 | 3 | -rw----·····1.0·fat······450·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_clipboard.png |
9 | -rw----·····1.0·fat······717·b-·stor·1 | 4 | -rw----·····1.0·fat······717·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_file.png |
10 | -rw----·····1.0·fat·····2870·b-·stor·1 | 5 | -rw----·····1.0·fat·····2870·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_launcher.png |
11 | -rw----·····1.0·fat·····1430·b-·stor·1 | 6 | -rw----·····1.0·fat·····1430·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_receive.png |
12 | -rw----·····1.0·fat······389·b-·stor·1 | 7 | -rw----·····1.0·fat······389·b-·stor·17-Oct-08·00:38·res/drawable-hdpi-v4/ic_settings.png |
13 | -rw----·····1.0·fat······530·b-·stor·1 | 8 | -rw----·····1.0·fat······530·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_clipboard.png |
14 | -rw----·····1.0·fat······506·b-·stor·1 | 9 | -rw----·····1.0·fat······506·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_file.png |
15 | -rw----·····1.0·fat·····2027·b-·stor·1 | 10 | -rw----·····1.0·fat·····2027·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_launcher.png |
16 | -rw----·····1.0·fat·····1075·b-·stor·1 | 11 | -rw----·····1.0·fat·····1075·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_receive.png |
17 | -rw----·····1.0·fat······383·b-·stor·1 | 12 | -rw----·····1.0·fat······383·b-·stor·17-Oct-08·00:38·res/drawable-mdpi-v4/ic_settings.png |
18 | -rw----·····1.0·fat······757·b-·stor·1 | 13 | -rw----·····1.0·fat······757·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_clipboard.png |
19 | -rw----·····1.0·fat······852·b-·stor·1 | 14 | -rw----·····1.0·fat······852·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_file.png |
20 | -rw----·····1.0·fat·····3635·b-·stor·1 | 15 | -rw----·····1.0·fat·····3635·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_launcher.png |
21 | -rw----·····1.0·fat·····1771·b-·stor·1 | 16 | -rw----·····1.0·fat·····1771·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_receive.png |
22 | -rw----·····1.0·fat······534·b-·stor·1 | 17 | -rw----·····1.0·fat······534·b-·stor·17-Oct-08·00:38·res/drawable-xhdpi-v4/ic_settings.png |
23 | -rw----·····1.0·fat·····1041·b-·stor·1 | 18 | -rw----·····1.0·fat·····1041·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_clipboard.png |
24 | -rw----·····1.0·fat·····1195·b-·stor·1 | 19 | -rw----·····1.0·fat·····1195·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_file.png |
25 | -rw----·····1.0·fat·····2815·b-·stor·1 | 20 | -rw----·····1.0·fat·····2815·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_launcher.png |
26 | -rw----·····1.0·fat·····2436·b-·stor·1 | 21 | -rw----·····1.0·fat·····2436·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_receive.png |
27 | -rw----·····1.0·fat······943·b-·stor·1 | 22 | -rw----·····1.0·fat······943·b-·stor·17-Oct-08·00:38·res/drawable-xxhdpi-v4/ic_settings.png |
28 | -rw----·····2.0·fat·····1076·bl·defN·1 | 23 | -rw----·····2.0·fat·····1076·bl·defN·17-Oct-08·00:38·res/layout/activity_launcher.xml |
29 | -rw----·····2.0·fat·····1240·bl·defN·1 | 24 | -rw----·····2.0·fat·····1240·bl·defN·17-Oct-08·00:38·res/layout/activity_send.xml |
30 | -rw----·····2.0·fat······632·bl·defN·1 | 25 | -rw----·····2.0·fat······632·bl·defN·17-Oct-08·00:38·res/xml-v11/pref_headers.xml |
31 | -rw----·····2.0·fat······240·bl·defN·1 | 26 | -rw----·····2.0·fat······240·bl·defN·17-Oct-08·00:38·res/xml/pref_general.xml |
32 | -rw----·····2.0·fat······436·bl·defN·1 | 27 | -rw----·····2.0·fat······436·bl·defN·17-Oct-08·00:38·res/xml/pref_headers.xml |
33 | -rw----·····2.0·fat······708·bl·defN·1 | 28 | -rw----·····2.0·fat······708·bl·defN·17-Oct-08·00:38·res/xml/pref_receiving.xml |
34 | -rw----·····2.0·fat······852·bl·defN·1 | 29 | -rw----·····2.0·fat······852·bl·defN·17-Oct-08·00:38·res/xml/pref_sending.xml |
35 | -rw----·····1.0·fat·····7 | 30 | -rw----·····1.0·fat·····7356·b-·stor·17-Oct-08·00:38·resources.arsc |
36 | -rw----·····2.0·fat···67 | 31 | -rw----·····2.0·fat···676048·bl·defN·17-Oct-08·00:38·classes.dex |
32 | -rw----·····2.0·fat·····2758·b-·defN·17-Oct-08·00:38·META-INF/MANIFEST.MF | ||
33 | -rw----·····2.0·fat·····2879·b-·defN·17-Oct-08·00:38·META-INF/3AB63F5D.SF | ||
34 | -rw----·····2.0·fat·····1326·b-·defN·17-Oct-08·00:38·META-INF/3AB63F5D.RSA | ||
37 | 3 | 35 | 33·files,·725479·bytes·uncompressed,·288024·bytes·compressed:··60.3% |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | 1 | Java·archive·data·(JAR) |
Offset 1, 29 lines modified | Offset 1, 29 lines modified | ||
00000000:·0200·0c00· | 00000000:·0200·0c00·bc1c·0000·0100·0000·0100·1c00··................ | ||
00000010:·180a·0000·4f00·0000·0000·0000·0001·0000··....O........... | 00000010:·180a·0000·4f00·0000·0000·0000·0001·0000··....O........... | ||
00000020:·5801·0000·0000·0000·0000·0000·2300·0000··X...........#... | 00000020:·5801·0000·0000·0000·0000·0000·2300·0000··X...........#... | ||
00000030:·4200·0000·5d00·0000·7800·0000·9500·0000··B...]...x....... | 00000030:·4200·0000·5d00·0000·7800·0000·9500·0000··B...]...x....... | ||
00000040:·b000·0000·cf00·0000·f700·0000·1a01·0000··................ | 00000040:·b000·0000·cf00·0000·f700·0000·1a01·0000··................ | ||
00000050:·4101·0000·6701·0000·8e01·0000·b601·0000··A...g........... | 00000050:·4101·0000·6701·0000·8e01·0000·b601·0000··A...g........... | ||
00000060:·d901·0000·0002·0000·2602·0000·4d02·0000··........&...M... | 00000060:·d901·0000·0002·0000·2602·0000·4d02·0000··........&...M... | ||
00000070:·7602·0000·9a02·0000·c202·0000·e902·0000··v............... | 00000070:·7602·0000·9a02·0000·c202·0000·e902·0000··v............... | ||
00000080:·1103·0000·3b03·0000·6003·0000·8903·0000··....;...`....... | 00000080:·1103·0000·3b03·0000·6003·0000·8903·0000··....;...`....... | ||
00000090:·b103·0000·da03·0000·e403·0000·f103·0000··................ | 00000090:·b103·0000·da03·0000·e403·0000·f103·0000··................ | ||
000000a0:·f | 000000a0:·fb03·0000·1904·0000·2e04·0000·4504·0000··............E... | ||
000000b0:· | 000000b0:·7204·0000·8904·0000·a604·0000·b704·0000··r............... | ||
000000c0:· | 000000c0:·c304·0000·d104·0000·0305·0000·0f05·0000··................ | ||
000000d0:·4e05·0000·6b05·0000·8505·0000·9605·0000··N...k........... | |||
000000 | 000000d0:·1905·0000·2205·0000·3c05·0000·4d05·0000··...."...<...M... | ||
000000e0:·5f05·0000·7105·0000·9605·0000·d305·0000··_...q........... | |||
000000f0:· | 000000f0:·f605·0000·0106·0000·0b06·0000·1306·0000··................ | ||
00000100:·1e06·0000·4606·0000· | 00000100:·1e06·0000·4606·0000·5006·0000·5d06·0000··....F...P...]... | ||
00000110:·9006·0000·a106·0000·ae06·0000·c806·0000··................ | |||
000001 | 00000110:·6b06·0000·8f06·0000·a606·0000·bd06·0000··k............... | ||
00000120:·ed06·0000·0607·0000·2407·0000·3e07·0000··........$...>... | |||
00000130:·4 | 00000130:·4f07·0000·5f07·0000·8e07·0000·9907·0000··O..._........... | ||
00000140:· | 00000140:·a607·0000·af07·0000·cc07·0000·e807·0000··................ | ||
00000150:· | 00000150:·ff07·0000·1e08·0000·5608·0000·8908·0000··........V....... | ||
00000160:·b008·0000·2020·7265·732f·6c61·796f·7574··....··res/layout | 00000160:·b008·0000·2020·7265·732f·6c61·796f·7574··....··res/layout | ||
00000170:·2f61·6374·6976·6974·795f·6c61·756e·6368··/activity_launch | 00000170:·2f61·6374·6976·6974·795f·6c61·756e·6368··/activity_launch | ||
00000180:·6572·2e78·6d6c·001c·1c72·6573·2f6c·6179··er.xml...res/lay | 00000180:·6572·2e78·6d6c·001c·1c72·6573·2f6c·6179··er.xml...res/lay | ||
00000190:·6f75·742f·6163·7469·7669·7479·5f73·656e··out/activity_sen | 00000190:·6f75·742f·6163·7469·7669·7479·5f73·656e··out/activity_sen | ||
000001a0:·642e·786d·6c00·1818·7265·732f·786d·6c2f··d.xml...res/xml/ | 000001a0:·642e·786d·6c00·1818·7265·732f·786d·6c2f··d.xml...res/xml/ | ||
000001b0:·7072·6566·5f67·656e·6572·616c·2e78·6d6c··pref_general.xml | 000001b0:·7072·6566·5f67·656e·6572·616c·2e78·6d6c··pref_general.xml | ||
000001c0:·0018·1872·6573·2f78·6d6c·2f70·7265·665f··...res/xml/pref_ | 000001c0:·0018·1872·6573·2f78·6d6c·2f70·7265·665f··...res/xml/pref_ | ||
Offset 79, 92 lines modified | Offset 79, 92 lines modified | ||
000004e0:·6c61·756e·6368·6572·2e70·6e67·0025·2572··launcher.png.%%r | 000004e0:·6c61·756e·6368·6572·2e70·6e67·0025·2572··launcher.png.%%r | ||
000004f0:·6573·2f64·7261·7761·626c·652d·7878·6864··es/drawable-xxhd | 000004f0:·6573·2f64·7261·7761·626c·652d·7878·6864··es/drawable-xxhd | ||
00000500:·7069·2d76·342f·6963·5f72·6563·6569·7665··pi-v4/ic_receive | 00000500:·7069·2d76·342f·6963·5f72·6563·6569·7665··pi-v4/ic_receive | ||
00000510:·2e70·6e67·0026·2672·6573·2f64·7261·7761··.png.&&res/drawa | 00000510:·2e70·6e67·0026·2672·6573·2f64·7261·7761··.png.&&res/drawa | ||
00000520:·626c·652d·7878·6864·7069·2d76·342f·6963··ble-xxhdpi-v4/ic | 00000520:·626c·652d·7878·6864·7069·2d76·342f·6963··ble-xxhdpi-v4/ic | ||
00000530:·5f73·6574·7469·6e67·732e·706e·6700·0707··_settings.png... | 00000530:·5f73·6574·7469·6e67·732e·706e·6700·0707··_settings.png... | ||
00000540:·5152·2043·6f64·6500·0a0a·417a·7465·6320··QR·Code...Aztec· | 00000540:·5152·2043·6f64·6500·0a0a·417a·7465·6320··QR·Code...Aztec· | ||
00000550:·436f·6465·0008·0853·6574·7469·6e67·7300··Code...Settings. | |||
00000560:·2020·5365·6e64·696e·6720·2531·2464·2062····Sending·%1$d·b | |||
00000570:·7974·6573·2069·6e20·2532·2464·2063·6f64··ytes·in·%2$d·cod | |||
000005 | 00000550:·436f·6465·0007·0741·6476·616e·6365·001b··Code...Advance.. | ||
00000560:·1b46·6f75·6e64·206e·6f74·6869·6e67·2069··.Found·nothing·i | |||
00000570:·6e20·636c·6970·626f·6172·642e·0012·1246··n·clipboard....F | |||
00000580:·696c·6520·6e6f·7420·666f·756e·643a·2025··ile·not·found:·% | |||
00000590:·6f6c·756d·6520·5570·2f44·6f77·6e3a·2061··olume·Up/Down:·a | |||
000005a0:·646a·7573·7420·636f·6465·2073·697a·650a··djust·code·size. | |||
000005b0:·4d65·6e75·2f43·616d·6572·613a·2061·6476··Menu/Camera:·adv | |||
000005c0:·616e·6365·2063·6f64·6500·1b1b·466f·756e··ance·code...Foun | |||
000005d0:·6420·6e6f·7468·696e·6720·696e·2063·6c69··d·nothing·in·cli | |||
000005e0:·7062·6f61·7264·2e00·1212·4669·6c65·206e··pboard....File·n | |||
000005f0:·6f74·2066·6f75·6e64·3a20·2573·0022·2253··ot·found:·%s.""S | |||
00000600:·6361·6e20·636f·6465·2023·2564·206f·7220··can·code·#%d·or· | |||
00000610:·6869·7420·6261·636b·2069·6620·646f·6e65··hit·back·if·done | |||
00000 | 00000590:·7300·1414·494f·2045·7272·6f72·3a20·2531··s...IO·Error:·%1 | ||
000005a0:·2473·3a20·2532·2473·002a·2a25·3124·7320··$s:·%2$s.**%1$s· | |||
00000630:·2473·3a20·2532·2473·000f·0f53·6361·6e20··$s:·%2$s...Scan· | |||
00000640:·6465·6c61·7920·286d·7329·002a·2a25·3124··delay·(ms).**%1$ | |||
00000 | 000005b0:·6c61·756e·6368·6564·2077·6974·6820·756e··launched·with·un | ||
00000 | 000005c0:·6578·6570·6563·7465·6420·696e·7465·6e74··exepected·intent | ||
000005d0:·2025·3224·7300·1414·5265·6365·6976·6520···%2$s...Receive· | |||
00000670:·6e74·2025·3224·7300·0f0f·4472·6f70·2064··nt·%2$s...Drop·d | |||
00000680:·7570·6c69·6361·7465·7300·1414·5265·6365··uplicates...Rece | |||
00000 | 000005e0:·5152·2053·7472·6561·6d2e·2e2e·001a·1a52··QR·Stream......R | ||
000005f0:·6573·756c·7420·696e·2063·6c69·7062·6f61··esult·in·clipboa | |||
00000600:·7264·2061·6e64·2025·7300·0e0e·5365·6e64··rd·and·%s...Send | |||
00000610:·2043·6c69·7062·6f61·7264·0009·0953·656e···Clipboard...Sen | |||
00000620:·6420·4669·6c65·000b·0b53·6574·7469·6e67··d·File...Setting | |||
000006a0:·000e·0e42·6172·636f·6465·2046·6f72·6d61··...Barcode·Forma | |||
000006b0:·7400·1a1a·5265·7375·6c74·2069·6e20·636c··t...Result·in·cl | |||
000006c0:·6970·626f·6172·6420·616e·6420·2573·0016··ipboard·and·%s.. | |||
000006d0:·174d·696e·696d·756d·2063·656c·6c20·7369··.Minimum·cell·si | |||
000006e0:·7a65·2028·c2b5·6d29·000e·0e53·656e·6420··ze·(..m)...Send· | |||
000006f0:·436c·6970·626f·6172·6400·0606·5369·6c65··Clipboard...Sile | |||
00000700:·6e74·0009·0953·656e·6420·4669·6c65·0007··nt...Send·File.. | |||
00000710:·0753·656e·6469·6e67·000b·0b53·6574·7469··.Sending...Setti | |||
00000720:·6e67·732e·2e2e·0009·0952·6563·6569·7669··ngs......Receivi | |||
00000 | 00000630:·732e·2e2e·002f·2f49·676e·6f72·6520·7265··s....//Ignore·re | ||
00000 | 00000640:·7065·6174·6564·2073·6361·6e73·206f·6620··peated·scans·of· | ||
00000 | 00000650:·6578·6163·746c·7920·7468·6520·7361·6d65··exactly·the·same | ||
00000660:·2063·6f64·652e·0009·0952·6563·6569·7669···code....Receivi | |||
00000670:·6e67·0007·0753·656e·6469·6e67·0006·0653··ng...Sending...S | |||
00000680:·696c·656e·7400·1617·4d69·6e69·6d75·6d20··ilent...Minimum· | |||
00000690:·6365·6c6c·2073·697a·6520·28c2·b56d·2900··cell·size·(..m). | |||
000006a0:·0e0e·4261·7263·6f64·6520·466f·726d·6174··..Barcode·Format | |||
000006b0:·000f·0f44·726f·7020·6475·706c·6963·6174··...Drop·duplicat | |||
000006c0:·6573·000f·0f53·6361·6e20·6465·6c61·7920··es...Scan·delay· | |||
000006d0:·286d·7329·0022·2253·6361·6e20·636f·6465··(ms).""Scan·code | |||
000006e0:·2023·2564·206f·7220·6869·7420·6261·636b···#%d·or·hit·back | |||
000006f0:·2069·6620·646f·6e65·2e00·3a3a·566f·6c75···if·done..::Volu | |||
00000700:·6d65·2055·702f·446f·776e·3a20·6164·6a75··me·Up/Down:·adju | |||
00000710:·7374·2063·6f64·6520·7369·7a65·0a4d·656e··st·code·size.Men | |||
00000720:·752f·4361·6d65·7261·3a20·6164·7661·6e63··u/Camera:·advanc | |||
00000730:·6520·636f·6465·0020·2053·656e·6469·6e67··e·code.··Sending | |||
00000740:·2025·3124·6420·6279·7465·7320·696e·2025···%1$d·bytes·in·% | |||
00000750:·3224·6420·636f·6465·7300·0808·5365·7474··2$d·codes...Sett | |||
00000760:·6 | 00000760:·696e·6773·0007·0751·525f·434f·4445·0005··ings...QR_CODE.. | ||
00000770:·0541·5a54·4543·0008·0851·5253·7472·6561··.AZTEC...QRStrea | 00000770:·0541·5a54·4543·0008·0851·5253·7472·6561··.AZTEC...QRStrea | ||
00000780:·6d00·2525·2325·3124·642f·2532·2464·2062··m.%%#%1$d/%2$d·b | 00000780:·6d00·2525·2325·3124·642f·2532·2464·2062··m.%%#%1$d/%2$d·b | ||
00000790:·6c6f·636b·7369·7a65·3d25·3324·6420·6f66··locksize=%3$d·of | 00000790:·6c6f·636b·7369·7a65·3d25·3324·6420·6f66··locksize=%3$d·of | ||
000007a0:·6673·6574·3d25·3424·6400· | 000007a0:·6673·6574·3d25·3424·6400·0607·5152·206b··fset=%4$d...QR·k | ||
000007b0:·726f·7661·7420·6f70·616b·6f76·616e·c3a9··rovat·opakovan.. | |||
000007c0:·2073·6b65·6e79·2073·7465·6a6e·c3bd·6368···skeny·stejn..ch | |||
000007d0:·206b·c3b3·64c5·af2e·000c·0d4e·6173·7461···k..d......Nasta | |||
000007 | 000007b0:·c3b3·6400·090a·417a·7465·6320·6bc3·b364··..d...Aztec·k..d | ||
000007c0:·000a·0b50·6f6b·7261·c48d·6f76·6174·0020··...Pokra..ovat.· | |||
000007d0:·2156·6520·7363·6872·c3a1·6e63·6520·6e65··!Ve·schr..nce·ne | |||
000007e0:·6279·6c6f·206e·6963·206e·616c·657a·656e··bylo·nic·nalezen | |||
000007f0:·6f2e·0014·1453·6f75·626f·7220·6e65·6e61··o....Soubor·nena | |||
00000800:·6c65·7a65·6e3a·2025·7300·1414·494f·2063··lezen:·%s...IO·c | |||
00000810:·6879·6261·3a20·2531·2473·3a20·2532·2473··hyba:·%1$s:·%2$s | |||
00000820:·0028·2d25·3124·7320·7370·75c5·a174·c49b··.(-%1$s·spu..t.. | |||
00000830:·6e20·7320·6e65·6fc4·8d65·6bc3·a176·616e··n·s·neo..ek..van | |||
00000840:·c3bd·6d20·646f·7461·7a65·6d20·2532·2473··..m·dotazem·%2$s | |||
00000850:·0015·1650·c599·696a·6d6f·7574·2051·5220··...P..ijmout·QR· | |||
00000860:·5374·7265·616d·2e2e·2e00·191b·56c3·bd73··Stream......V..s | |||
00000870:·6c65·6465·6b20·646f·2073·6368·72c3·a16e··ledek·do·schr..n | |||
00000880:·6b79·2061·2025·7300·1617·4f64·6573·6c61··ky·a·%s...Odesla | |||
00000890:·7420·6f62·7361·6820·7363·6872·c3a1·6e6b··t·obsah·schr..nk | |||
00000 | 000008a0:·7900·0e0e·4f64·6573·6c61·7420·736f·7562··y...Odeslat·soub | ||
00000800:·7562·6f72·0008·0a4f·6465·73c3·ad6c·c3a1··ubor...Odes..l.. | |||
00000810:·6d00·1617·4f64·6573·6c61·7420·6f62·7361··m...Odeslat·obsa | |||
00000820:·6820·7363·6872·c3a1·6e6b·7900·0506·5469··h·schr..nky...Ti | |||
00000830:·6368·c3a9·0019·1b56·c3bd·736c·6564·656b··ch.....V..sledek | |||
000008 | 000008b0:·6f72·000c·0d4e·6173·7461·7665·6ec3·ad2e··or...Nastaven... | ||
000008c0:·2e2e·0028·2c49·676e·6f72·6f76·6174·206f··...(,Ignorovat·o | |||
Max diff block lines reached; 27470/41515 bytes (66.17%) of diff not shown. |
Offset 1, 36 lines modified | Offset 1, 36 lines modified | ||
1 | DEX·version·'035' | 1 | DEX·version·'035' |
2 | DEX·file·header: | 2 | DEX·file·header: |
3 | magic···············:·'dex\n035\0' | 3 | magic···············:·'dex\n035\0' |
4 | checksum············:· | 4 | checksum············:·a8df8a72 |
5 | signature···········:· | 5 | signature···········:·4d12...4f89 |
6 | file_size···········:·67 | 6 | file_size···········:·676048 |
7 | header_size·········:·112 | 7 | header_size·········:·112 |
8 | link_size···········:·0 | 8 | link_size···········:·0 |
9 | link_off············:·0·(0x000000) | 9 | link_off············:·0·(0x000000) |
10 | string_ids_size·····:·51 | 10 | string_ids_size·····:·5127 |
11 | string_ids_off······:·112·(0x000070) | 11 | string_ids_off······:·112·(0x000070) |
12 | type_ids_size·······:·49 | 12 | type_ids_size·······:·494 |
13 | type_ids_off········:·206 | 13 | type_ids_off········:·20620·(0x00508c) |
14 | proto_ids_size······:·8 | 14 | proto_ids_size······:·816 |
15 | proto_ids_off·······:·22 | 15 | proto_ids_off·······:·22596·(0x005844) |
16 | field_ids_size······:·11 | 16 | field_ids_size······:·1122 |
17 | field_ids_off·······:·323 | 17 | field_ids_off·······:·32388·(0x007e84) |
18 | method_ids_size·····:·24 | 18 | method_ids_size·····:·2475 |
19 | method_ids_off······:·41 | 19 | method_ids_off······:·41364·(0x00a194) |
20 | class_defs_size·····:·29 | 20 | class_defs_size·····:·294 |
21 | class_defs_off······:·6 | 21 | class_defs_off······:·61164·(0x00eeec) |
22 | data_size···········:·60 | 22 | data_size···········:·603720 |
23 | data_off············:·7 | 23 | data_off············:·72328·(0x011a88) |
24 | Class·#0·header: | 24 | Class·#0·header: |
25 | class_idx···········:·55 | 25 | class_idx···········:·55 |
26 | access_flags········:·17·(0x0011) | 26 | access_flags········:·17·(0x0011) |
27 | superclass_idx······:·39 | 27 | superclass_idx······:·393 |
28 | source_file_idx·····:·47 | 28 | source_file_idx·····:·478 |
29 | static_fields_size··:·6 | 29 | static_fields_size··:·6 |
30 | instance_fields_size:·0 | 30 | instance_fields_size:·0 |
31 | direct_methods_size·:·1 | 31 | direct_methods_size·:·1 |
32 | virtual_methods_size:·0 | 32 | virtual_methods_size:·0 |
33 | Class·#0············- | 33 | Class·#0············- |
34 | ··Class·descriptor··:·'Lcom/github/xloem/qrstream/BuildConfig;' | 34 | ··Class·descriptor··:·'Lcom/github/xloem/qrstream/BuildConfig;' |
Offset 75, 31 lines modified | Offset 75, 31 lines modified | ||
75 | ······type··········:·'()V' | 75 | ······type··········:·'()V' |
76 | ······access········:·0x10001·(PUBLIC·CONSTRUCTOR) | 76 | ······access········:·0x10001·(PUBLIC·CONSTRUCTOR) |
77 | ······code··········- | 77 | ······code··········- |
78 | ······registers·····:·1 | 78 | ······registers·····:·1 |
79 | ······ins···········:·1 | 79 | ······ins···········:·1 |
80 | ······outs··········:·1 | 80 | ······outs··········:·1 |
81 | ······insns·size····:·4·16-bit·code·units | 81 | ······insns·size····:·4·16-bit·code·units |
82 | 018 | 82 | 018404:········································|[018404]·com.github.xloem.qrstream.BuildConfig.<init>:()V |
83 | 018 | 83 | 018414:·7010·eb08·0000·························|0000:·invoke-direct·{v0},·Ljava/lang/Object;.<init>:()V·//·method@08eb |
84 | 0181a | 84 | 01841a:·0e00···································|0003:·return-void |
85 | ······catches·······:·(none) | 85 | ······catches·······:·(none) |
86 | ······positions·····:· | 86 | ······positions·····:· |
87 | ········0x0000·line=6 | 87 | ········0x0000·line=6 |
88 | ······locals········:· | 88 | ······locals········:· |
89 | ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/BuildConfig;· | 89 | ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/BuildConfig;· |
90 | ··Virtual·methods···- | 90 | ··Virtual·methods···- |
91 | ··source_file_idx···:·47 | 91 | ··source_file_idx···:·478·(BuildConfig.java) |
92 | Class·#1·header: | 92 | Class·#1·header: |
93 | class_idx···········:·56 | 93 | class_idx···········:·56 |
94 | access_flags········:·1025·(0x0401) | 94 | access_flags········:·1025·(0x0401) |
95 | superclass_idx······:·39 | 95 | superclass_idx······:·393 |
96 | source_file_idx·····:·5 | 96 | source_file_idx·····:·573 |
97 | static_fields_size··:·0 | 97 | static_fields_size··:·0 |
98 | instance_fields_size:·4 | 98 | instance_fields_size:·4 |
99 | direct_methods_size·:·2 | 99 | direct_methods_size·:·2 |
100 | virtual_methods_size:·12 | 100 | virtual_methods_size:·12 |
101 | Class·#1············- | 101 | Class·#1············- |
102 | ··Class·descriptor··:·'Lcom/github/xloem/qrstream/CodeMetric;' | 102 | ··Class·descriptor··:·'Lcom/github/xloem/qrstream/CodeMetric;' |
Offset 130, 17 lines modified | Offset 130, 17 lines modified | ||
130 | ······type··········:·'()V' | 130 | ······type··········:·'()V' |
131 | ······access········:·0x10001·(PUBLIC·CONSTRUCTOR) | 131 | ······access········:·0x10001·(PUBLIC·CONSTRUCTOR) |
132 | ······code··········- | 132 | ······code··········- |
133 | ······registers·····:·1 | 133 | ······registers·····:·1 |
134 | ······ins···········:·1 | 134 | ······ins···········:·1 |
135 | ······outs··········:·1 | 135 | ······outs··········:·1 |
136 | ······insns·size····:·4·16-bit·code·units | 136 | ······insns·size····:·4·16-bit·code·units |
137 | 018 | 137 | 01841c:········································|[01841c]·com.github.xloem.qrstream.CodeMetric.<init>:()V |
138 | 018 | 138 | 01842c:·7010·eb08·0000·························|0000:·invoke-direct·{v0},·Ljava/lang/Object;.<init>:()V·//·method@08eb |
139 | 018 | 139 | 018432:·0e00···································|0003:·return-void |
140 | ······catches·······:·(none) | 140 | ······catches·······:·(none) |
141 | ······positions·····:· | 141 | ······positions·····:· |
142 | ········0x0000·line=7 | 142 | ········0x0000·line=7 |
143 | ······locals········:· | 143 | ······locals········:· |
144 | ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/CodeMetric;· | 144 | ········0x0000·-·0x0004·reg=0·this·Lcom/github/xloem/qrstream/CodeMetric;· |
145 | ····#1··············:·(in·Lcom/github/xloem/qrstream/CodeMetric;) | 145 | ····#1··············:·(in·Lcom/github/xloem/qrstream/CodeMetric;) |
Offset 148, 28 lines modified | Offset 148, 28 lines modified | ||
148 | ······type··········:·'(Lcom/google/zxing/BarcodeFormat;)Lcom/github/xloem/qrstream/CodeMetric;' | 148 | ······type··········:·'(Lcom/google/zxing/BarcodeFormat;)Lcom/github/xloem/qrstream/CodeMetric;' |
149 | ······access········:·0x0009·(PUBLIC·STATIC) | 149 | ······access········:·0x0009·(PUBLIC·STATIC) |
150 | ······code··········- | 150 | ······code··········- |
151 | ······registers·····:·2 | 151 | ······registers·····:·2 |
152 | ······ins···········:·1 | 152 | ······ins···········:·1 |
153 | ······outs··········:·1 | 153 | ······outs··········:·1 |
154 | ······insns·size····:·26·16-bit·code·units | 154 | ······insns·size····:·26·16-bit·code·units |
155 | 018 | 155 | 018434:········································|[018434]·com.github.xloem.qrstream.CodeMetric.create:(Lcom/google/zxing/BarcodeFormat;)Lcom/github/xloem/qrstream/CodeMetric; |
156 | 018 | 156 | 018444:·6200·7100······························|0000:·sget-object·v0,·Lcom/google/zxing/BarcodeFormat;.QR_CODE:Lcom/google/zxing/BarcodeFormat;·//·field@0071 |
157 | 018 | 157 | 018448:·3301·0800······························|0002:·if-ne·v1,·v0,·000a·//·+0008 |
158 | 018 | 158 | 01844c:·2200·3e00······························|0004:·new-instance·v0,·Lcom/github/xloem/qrstream/QRCodeMetric;·//·type@003e |
159 | 018 | 159 | 018450:·7010·8e00·0000·························|0006:·invoke-direct·{v0},·Lcom/github/xloem/qrstream/QRCodeMetric;.<init>:()V·//·method@008e |
160 | 018 | 160 | 018456:·1100···································|0009:·return-object·v0 |
161 | 018 | 161 | 018458:·6200·6600······························|000a:·sget-object·v0,·Lcom/google/zxing/BarcodeFormat;.AZTEC:Lcom/google/zxing/BarcodeFormat;·//·field@0066 |
162 | 018 | 162 | 01845c:·3301·0800······························|000c:·if-ne·v1,·v0,·0014·//·+0008 |
163 | 018 | 163 | 018460:·2200·3600······························|000e:·new-instance·v0,·Lcom/github/xloem/qrstream/AztecMetric;·//·type@0036 |
164 | 018 | 164 | 018464:·7010·6600·0000·························|0010:·invoke-direct·{v0},·Lcom/github/xloem/qrstream/AztecMetric;.<init>:()V·//·method@0066 |
165 | 018 | 165 | 01846a:·28f6···································|0013:·goto·0009·//·-000a |
166 | 018 | 166 | 01846c:·2200·8001······························|0014:·new-instance·v0,·Ljava/lang/IllegalArgumentException;·//·type@0180 |
167 | 018 | 167 | 018470:·7010·d108·0000·························|0016:·invoke-direct·{v0},·Ljava/lang/IllegalArgumentException;.<init>:()V·//·method@08d1 |
168 | 018 | 168 | 018476:·2700···································|0019:·throw·v0 |
169 | ······catches·······:·(none) | 169 | ······catches·······:·(none) |
170 | ······positions·····:· | 170 | ······positions·····:· |
171 | ········0x0000·line=86 | 171 | ········0x0000·line=86 |
172 | ········0x0004·line=87 | 172 | ········0x0004·line=87 |
173 | ········0x0009·line=89 | 173 | ········0x0009·line=89 |
174 | ········0x000a·line=88 | 174 | ········0x000a·line=88 |
175 | ········0x000e·line=89 | 175 | ········0x000e·line=89 |
Offset 183, 17 lines modified | Offset 183, 17 lines modified | ||
183 | ······type··········:·'()I' | 183 | ······type··········:·'()I' |
184 | ······access········:·0x0001·(PUBLIC) | 184 | ······access········:·0x0001·(PUBLIC) |
185 | ······code··········- | 185 | ······code··········- |
186 | ······registers·····:·2 | 186 | ······registers·····:·2 |
187 | ······ins···········:·1 | 187 | ······ins···········:·1 |
188 | ······outs··········:·0 | 188 | ······outs··········:·0 |
189 | ······insns·size····:·3·16-bit·code·units | 189 | ······insns·size····:·3·16-bit·code·units |
190 | 018 | 190 | 018478:········································|[018478]·com.github.xloem.qrstream.CodeMetric.getCapacity:()I |
191 | 018 | 191 | 018488:·5210·1200······························|0000:·iget·v0,·v1,·Lcom/github/xloem/qrstream/CodeMetric;.capacity:I·//·field@0012 |
192 | 018 | 192 | 01848c:·0f00···································|0002:·return·v0 |
193 | ······catches·······:·(none) | 193 | ······catches·······:·(none) |
Max diff block lines reached; 13081582/13090529 bytes (99.93%) of diff not shown. |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | Zip·file·size:·74 | 1 | Zip·file·size:·749751·bytes,·number·of·entries:·294 |
2 | ?rwxrwxr-x··2.0·unx······441·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/BuildConfig.class | 2 | ?rwxrwxr-x··2.0·unx······441·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/BuildConfig.class |
3 | ?rwxrwxr-x··2.0·unx·····1402·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/CodeMetric.class | 3 | ?rwxrwxr-x··2.0·unx·····1402·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/CodeMetric.class |
4 | ?rwxrwxr-x··2.0·unx······706·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$1.class | 4 | ?rwxrwxr-x··2.0·unx······706·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$1.class |
5 | ?rwxrwxr-x··2.0·unx······752·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$2.class | 5 | ?rwxrwxr-x··2.0·unx······752·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$2.class |
6 | ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$3.class | 6 | ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$3.class |
7 | ?rwxrwxr-x··2.0·unx······689·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$4.class | 7 | ?rwxrwxr-x··2.0·unx······689·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher$4.class |
8 | ?rwxrwxr-x··2.0·unx·····3539·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher.class | 8 | ?rwxrwxr-x··2.0·unx·····3539·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Launcher.class |
Offset 23, 272 lines modified | Offset 23, 274 lines modified | ||
23 | ?rwxrwxr-x··2.0·unx······573·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings$SendingPreferenceFragment.class | 23 | ?rwxrwxr-x··2.0·unx······573·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings$SendingPreferenceFragment.class |
24 | ?rwxrwxr-x··2.0·unx·····2809·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings.class | 24 | ?rwxrwxr-x··2.0·unx·····2809·b-·stor·80-Jan-01·00:00·com/github/xloem/qrstream/Settings.class |
25 | ?rwxrwxr-x··2.0·unx·····1760·b-·stor·80-Jan-01·00:00·com/google/zxing/BarcodeFormat.class | 25 | ?rwxrwxr-x··2.0·unx·····1760·b-·stor·80-Jan-01·00:00·com/google/zxing/BarcodeFormat.class |
26 | ?rwxrwxr-x··2.0·unx······750·b-·stor·80-Jan-01·00:00·com/google/zxing/Binarizer.class | 26 | ?rwxrwxr-x··2.0·unx······750·b-·stor·80-Jan-01·00:00·com/google/zxing/Binarizer.class |
27 | ?rwxrwxr-x··2.0·unx·····1772·b-·stor·80-Jan-01·00:00·com/google/zxing/BinaryBitmap.class | 27 | ?rwxrwxr-x··2.0·unx·····1772·b-·stor·80-Jan-01·00:00·com/google/zxing/BinaryBitmap.class |
28 | ?rwxrwxr-x··2.0·unx·····1784·b-·stor·80-Jan-01·00:00·com/google/zxing/DecodeHintType.class | 28 | ?rwxrwxr-x··2.0·unx·····1784·b-·stor·80-Jan-01·00:00·com/google/zxing/DecodeHintType.class |
29 | ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/Dimension.class | 29 | ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/Dimension.class |
30 | ?rwxrwxr-x··2.0·unx·····1 | 30 | ?rwxrwxr-x··2.0·unx·····1417·b-·stor·80-Jan-01·00:00·com/google/zxing/EncodeHintType.class |
31 | ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/google/zxing/LuminanceSource.class | 31 | ?rwxrwxr-x··2.0·unx·····1525·b-·stor·80-Jan-01·00:00·com/google/zxing/LuminanceSource.class |
32 | ?rwxrwxr-x··2.0·unx·····1 | 32 | ?rwxrwxr-x··2.0·unx·····1471·b-·stor·80-Jan-01·00:00·com/google/zxing/MultiFormatWriter$1.class |
33 | ?rwxrwxr-x··2.0·unx······259·b-·stor·80-Jan-01·00:00·com/google/zxing/Reader.class | 33 | ?rwxrwxr-x··2.0·unx······259·b-·stor·80-Jan-01·00:00·com/google/zxing/Reader.class |
34 | ?rwxrwxr-x··2.0·unx······61 | 34 | ?rwxrwxr-x··2.0·unx······618·b-·stor·80-Jan-01·00:00·com/google/zxing/ReaderException.class |
35 | ?rwxrwxr-x··2.0·unx····· | 35 | ?rwxrwxr-x··2.0·unx·····2165·b-·stor·80-Jan-01·00:00·com/google/zxing/Result.class |
36 | ?rwxrwxr-x··2.0·unx·····1481·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultMetadataType.class | 36 | ?rwxrwxr-x··2.0·unx·····1481·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultMetadataType.class |
37 | ?rwxrwxr-x··2.0·unx·····155 | 37 | ?rwxrwxr-x··2.0·unx·····1553·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultPoint.class |
38 | ?rwxrwxr-x··2.0·unx······159·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultPointCallback.class | 38 | ?rwxrwxr-x··2.0·unx······159·b-·stor·80-Jan-01·00:00·com/google/zxing/ResultPointCallback.class |
39 | ?rwxrwxr-x··2.0·unx······299·b-·stor·80-Jan-01·00:00·com/google/zxing/Writer.class | 39 | ?rwxrwxr-x··2.0·unx······299·b-·stor·80-Jan-01·00:00·com/google/zxing/Writer.class |
40 | ?rwxrwxr-x··2.0·unx······285·b-·stor·80-Jan-01·00:00·com/google/zxing/WriterException.class | 40 | ?rwxrwxr-x··2.0·unx······285·b-·stor·80-Jan-01·00:00·com/google/zxing/WriterException.class |
41 | ?rwxrwxr-x··2.0·unx······865·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$1.class | 41 | ?rwxrwxr-x··2.0·unx······865·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$1.class |
42 | ?rwxrwxr-x··2.0·unx·····1075·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$Table.class | 42 | ?rwxrwxr-x··2.0·unx·····1075·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder$Table.class |
43 | ?rwxrwxr-x··2.0·unx····· | 43 | ?rwxrwxr-x··2.0·unx·····7178·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/decoder/Decoder.class |
44 | ?rwxrwxr-x··2.0·unx······ | 44 | ?rwxrwxr-x··2.0·unx······768·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/detector/Detector$Point.class |
45 | ?rwxrwxr-x··2.0·unx·····8 | 45 | ?rwxrwxr-x··2.0·unx·····8915·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/detector/Detector.class |
46 | ?rwxrwxr-x··2.0·unx······883·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/AztecCode.class | 46 | ?rwxrwxr-x··2.0·unx······883·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/AztecCode.class |
47 | ?rwxrwxr-x··2.0·unx·····5 | 47 | ?rwxrwxr-x··2.0·unx·····5891·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/Encoder.class |
48 | ?rwxrwxr-x··2.0·unx······632·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder$1.class | 48 | ?rwxrwxr-x··2.0·unx······632·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder$1.class |
49 | ?rwxrwxr-x··2.0·unx·····4818·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder.class | 49 | ?rwxrwxr-x··2.0·unx·····4818·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/HighLevelEncoder.class |
50 | ?rwxrwxr-x··2.0·unx····· | 50 | ?rwxrwxr-x··2.0·unx·····3000·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/State.class |
51 | ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/Token.class | 51 | ?rwxrwxr-x··2.0·unx······806·b-·stor·80-Jan-01·00:00·com/google/zxing/aztec/encoder/Token.class |
52 | ?rwxrwxr-x··2.0·unx······953·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResult.class | 52 | ?rwxrwxr-x··2.0·unx······953·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResult.class |
53 | ?rwxrwxr-x··2.0·unx·····1485·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResultType.class | 53 | ?rwxrwxr-x··2.0·unx·····1485·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ParsedResultType.class |
54 | ?rwxrwxr-x··2.0·unx·····6301·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ResultParser.class | 54 | ?rwxrwxr-x··2.0·unx·····6301·b-·stor·80-Jan-01·00:00·com/google/zxing/client/result/ResultParser.class |
55 | ?rwxrwxr-x··2.0·unx····· | 55 | ?rwxrwxr-x··2.0·unx·····3978·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitArray.class |
56 | ?rwxrwxr-x··2.0·unx·····53 | 56 | ?rwxrwxr-x··2.0·unx·····5371·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitMatrix.class |
57 | ?rwxrwxr-x··2.0·unx······9 | 57 | ?rwxrwxr-x··2.0·unx······971·b-·stor·80-Jan-01·00:00·com/google/zxing/common/BitSource.class |
58 | ?rwxrwxr-x··2.0·unx·····4758·b-·stor·80-Jan-01·00:00·com/google/zxing/common/CharacterSetECI.class | 58 | ?rwxrwxr-x··2.0·unx·····4758·b-·stor·80-Jan-01·00:00·com/google/zxing/common/CharacterSetECI.class |
59 | ?rwxrwxr-x··2.0·unx·····1 | 59 | ?rwxrwxr-x··2.0·unx·····1724·b-·stor·80-Jan-01·00:00·com/google/zxing/common/DecoderResult.class |
60 | ?rwxrwxr-x··2.0·unx······519·b-·stor·80-Jan-01·00:00·com/google/zxing/common/DetectorResult.class | 60 | ?rwxrwxr-x··2.0·unx······519·b-·stor·80-Jan-01·00:00·com/google/zxing/common/DetectorResult.class |
61 | ?rwxrwxr-x··2.0·unx·····1431·b-·stor·80-Jan-01·00:00·com/google/zxing/common/GridSampler.class | 61 | ?rwxrwxr-x··2.0·unx·····1431·b-·stor·80-Jan-01·00:00·com/google/zxing/common/GridSampler.class |
62 | ?rwxrwxr-x··2.0·unx·····2909·b-·stor·80-Jan-01·00:00·com/google/zxing/common/PerspectiveTransform.class | 62 | ?rwxrwxr-x··2.0·unx·····2909·b-·stor·80-Jan-01·00:00·com/google/zxing/common/PerspectiveTransform.class |
63 | ?rwxrwxr-x··2.0·unx·····19 | 63 | ?rwxrwxr-x··2.0·unx·····1969·b-·stor·80-Jan-01·00:00·com/google/zxing/common/StringUtils.class |
64 | ?rwxrwxr-x··2.0·unx······ | 64 | ?rwxrwxr-x··2.0·unx······516·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/MathUtils.class |
65 | ?rwxrwxr-x··2.0·unx·····21 | 65 | ?rwxrwxr-x··2.0·unx·····2112·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/MonochromeRectangleDetector.class |
66 | ?rwxrwxr-x··2.0·unx·····3164·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/WhiteRectangleDetector.class | 66 | ?rwxrwxr-x··2.0·unx·····3164·b-·stor·80-Jan-01·00:00·com/google/zxing/common/detector/WhiteRectangleDetector.class |
67 | ?rwxrwxr-x··2.0·unx·····25 | 67 | ?rwxrwxr-x··2.0·unx·····2564·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/GenericGF.class |
68 | ?rwxrwxr-x··2.0·unx·····347 | 68 | ?rwxrwxr-x··2.0·unx·····3474·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/GenericGFPoly.class |
69 | ?rwxrwxr-x··2.0·unx·····31 | 69 | ?rwxrwxr-x··2.0·unx·····3179·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonDecoder.class |
70 | ?rwxrwxr-x··2.0·unx·····19 | 70 | ?rwxrwxr-x··2.0·unx·····1938·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonEncoder.class |
71 | ?rwxrwxr-x··2.0·unx······193·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonException.class | 71 | ?rwxrwxr-x··2.0·unx······193·b-·stor·80-Jan-01·00:00·com/google/zxing/common/reedsolomon/ReedSolomonException.class |
72 | ?rwxrwxr-x··2.0·unx·····42 | 72 | ?rwxrwxr-x··2.0·unx·····4270·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/BitMatrixParser.class |
73 | ?rwxrwxr-x··2.0·unx·····169 | 73 | ?rwxrwxr-x··2.0·unx·····1699·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DataBlock.class |
74 | ?rwxrwxr-x··2.0·unx······999·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$1.class | 74 | ?rwxrwxr-x··2.0·unx······999·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$1.class |
75 | ?rwxrwxr-x··2.0·unx·····1284·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$Mode.class | 75 | ?rwxrwxr-x··2.0·unx·····1284·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser$Mode.class |
76 | ?rwxrwxr-x··2.0·unx·····636 | 76 | ?rwxrwxr-x··2.0·unx·····6364·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/DecodedBitStreamParser.class |
77 | ?rwxrwxr-x··2.0·unx·····201 | 77 | ?rwxrwxr-x··2.0·unx·····2016·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Decoder.class |
78 | ?rwxrwxr-x··2.0·unx·······97·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$1.class | 78 | ?rwxrwxr-x··2.0·unx·······97·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$1.class |
79 | ?rwxrwxr-x··2.0·unx······440·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECB.class | 79 | ?rwxrwxr-x··2.0·unx······440·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECB.class |
80 | ?rwxrwxr-x··2.0·unx·····1082·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECBlocks.class | 80 | ?rwxrwxr-x··2.0·unx·····1082·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version$ECBlocks.class |
81 | ?rwxrwxr-x··2.0·unx·····4109·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version.class | 81 | ?rwxrwxr-x··2.0·unx·····4109·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/decoder/Version.class |
82 | ?rwxrwxr-x··2.0·unx·······99·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$1.class | 82 | ?rwxrwxr-x··2.0·unx·······99·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$1.class |
83 | ?rwxrwxr-x··2.0·unx·····1092·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions.class | 83 | ?rwxrwxr-x··2.0·unx·····1092·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions.class |
84 | ?rwxrwxr-x··2.0·unx······756·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator.class | 84 | ?rwxrwxr-x··2.0·unx······756·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator.class |
85 | ?rwxrwxr-x··2.0·unx·····651 | 85 | ?rwxrwxr-x··2.0·unx·····6515·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/detector/Detector.class |
86 | ?rwxrwxr-x··2.0·unx·····25 | 86 | ?rwxrwxr-x··2.0·unx·····2590·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/DefaultPlacement.class |
87 | ?rwxrwxr-x··2.0·unx······202·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/Encoder.class | 87 | ?rwxrwxr-x··2.0·unx······202·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/Encoder.class |
88 | ?rwxrwxr-x··2.0·unx·····3070·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/EncoderContext.class | 88 | ?rwxrwxr-x··2.0·unx·····3070·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/EncoderContext.class |
89 | ?rwxrwxr-x··2.0·unx·····578 | 89 | ?rwxrwxr-x··2.0·unx·····5786·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/ErrorCorrection.class |
90 | ?rwxrwxr-x··2.0·unx·····68 | 90 | ?rwxrwxr-x··2.0·unx·····6803·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/HighLevelEncoder.class |
91 | ?rwxrwxr-x··2.0·unx·····49 | 91 | ?rwxrwxr-x··2.0·unx·····4962·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/SymbolInfo.class |
92 | ?rwxrwxr-x··2.0·unx······917·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/SymbolShapeHint.class | 92 | ?rwxrwxr-x··2.0·unx······917·b-·stor·80-Jan-01·00:00·com/google/zxing/datamatrix/encoder/SymbolShapeHint.class |
93 | ?rwxrwxr-x··2.0·unx·····1921·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator$1.class | 93 | ?rwxrwxr-x··2.0·unx·····1921·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator$1.class |
94 | ?rwxrwxr-x··2.0·unx·····9379·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator.class | 94 | ?rwxrwxr-x··2.0·unx·····9379·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentIntegrator.class |
95 | ?rwxrwxr-x··2.0·unx·····1 | 95 | ?rwxrwxr-x··2.0·unx·····1343·b-·stor·80-Jan-01·00:00·com/google/zxing/integration/android/IntentResult.class |
96 | ?rwxrwxr-x··2.0·unx·····7149·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/BitMatrixParser.class | 96 | ?rwxrwxr-x··2.0·unx·····7149·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/BitMatrixParser.class |
97 | ?rwxrwxr-x··2.0·unx·····4 | 97 | ?rwxrwxr-x··2.0·unx·····4644·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/DecodedBitStreamParser.class |
98 | ?rwxrwxr-x··2.0·unx·····209 | 98 | ?rwxrwxr-x··2.0·unx·····2095·b-·stor·80-Jan-01·00:00·com/google/zxing/maxicode/decoder/Decoder.class |
99 | ?rwxrwxr-x··2.0·unx······268·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/MultipleBarcodeReader.class | 99 | ?rwxrwxr-x··2.0·unx······268·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/MultipleBarcodeReader.class |
100 | ?rwxrwxr-x··2.0·unx······101·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$1.class | 100 | ?rwxrwxr-x··2.0·unx······101·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$1.class |
101 | ?rwxrwxr-x··2.0·unx······929·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator.class | 101 | ?rwxrwxr-x··2.0·unx······929·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator.class |
102 | ?rwxrwxr-x··2.0·unx······117·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class | 102 | ?rwxrwxr-x··2.0·unx······117·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class |
103 | ?rwxrwxr-x··2.0·unx······778·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class | 103 | ?rwxrwxr-x··2.0·unx······778·b-·stor·80-Jan-01·00:00·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class |
104 | ?rwxrwxr-x··2.0·unx······925·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/Code128Writer$CType.class | ||
104 | ?rwxrwxr-x··2.0·unx·····7672·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/EANManufacturerOrgSupport.class | 105 | ?rwxrwxr-x··2.0·unx·····7672·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/EANManufacturerOrgSupport.class |
105 | ?rwxrwxr-x··2.0·unx·····2428·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtension2Support.class | 106 | ?rwxrwxr-x··2.0·unx·····2428·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtension2Support.class |
106 | ?rwxrwxr-x··2.0·unx·····3 | 107 | ?rwxrwxr-x··2.0·unx·····3524·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtension5Support.class |
107 | ?rwxrwxr-x··2.0·unx······98 | 108 | ?rwxrwxr-x··2.0·unx······982·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/UPCEANExtensionSupport.class |
108 | ?rwxrwxr-x··2.0·unx······824·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/DataCharacter.class | 109 | ?rwxrwxr-x··2.0·unx······824·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/DataCharacter.class |
109 | ?rwxrwxr-x··2.0·unx······771·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/FinderPattern.class | 110 | ?rwxrwxr-x··2.0·unx······771·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/FinderPattern.class |
110 | ?rwxrwxr-x··2.0·unx······765·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/RSSUtils.class | 111 | ?rwxrwxr-x··2.0·unx······765·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/RSSUtils.class |
111 | ?rwxrwxr-x··2.0·unx······94 | 112 | ?rwxrwxr-x··2.0·unx······941·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/BitArrayBuilder.class |
112 | ?rwxrwxr-x··2.0·unx·····18 | 113 | ?rwxrwxr-x··2.0·unx·····1847·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/ExpandedPair.class |
113 | ?rwxrwxr-x··2.0·unx·····12 | 114 | ?rwxrwxr-x··2.0·unx·····1253·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/ExpandedRow.class |
114 | ?rwxrwxr-x··2.0·unx·····2 | 115 | ?rwxrwxr-x··2.0·unx·····2347·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder.class |
115 | ?rwxrwxr-x··2.0·unx······620·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/BlockParsedResult.class | 116 | ?rwxrwxr-x··2.0·unx······620·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/BlockParsedResult.class |
116 | ?rwxrwxr-x··2.0·unx······993·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState$State.class | 117 | ?rwxrwxr-x··2.0·unx······993·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState$State.class |
117 | ?rwxrwxr-x··2.0·unx······975·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState.class | 118 | ?rwxrwxr-x··2.0·unx······975·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/CurrentParsingState.class |
118 | ?rwxrwxr-x··2.0·unx······274·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/DecodedObject.class | 119 | ?rwxrwxr-x··2.0·unx······274·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/DecodedObject.class |
119 | ?rwxrwxr-x··2.0·unx·····80 | 120 | ?rwxrwxr-x··2.0·unx·····8070·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/FieldParser.class |
120 | ?rwxrwxr-x··2.0·unx·····6 | 121 | ?rwxrwxr-x··2.0·unx·····6895·b-·stor·80-Jan-01·00:00·com/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder.class |
121 | ?rwxrwxr-x··2.0·unx····564 | 122 | ?rwxrwxr-x··2.0·unx····56454·b-·defN·80-Jan-01·00:00·com/google/zxing/pdf417/PDF417Common.class |
122 | ?rwxrwxr-x··2.0·unx······787·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/PDF417ResultMetadata.class | 123 | ?rwxrwxr-x··2.0·unx······787·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/PDF417ResultMetadata.class |
123 | ?rwxrwxr-x··2.0·unx······650·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeMetadata.class | 124 | ?rwxrwxr-x··2.0·unx······650·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeMetadata.class |
124 | ?rwxrwxr-x··2.0·unx·····1331·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeValue.class | 125 | ?rwxrwxr-x··2.0·unx·····1331·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BarcodeValue.class |
125 | ?rwxrwxr-x··2.0·unx·····2592·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BoundingBox.class | 126 | ?rwxrwxr-x··2.0·unx·····2592·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/BoundingBox.class |
126 | ?rwxrwxr-x··2.0·unx·····1222·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/Codeword.class | 127 | ?rwxrwxr-x··2.0·unx·····1222·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/Codeword.class |
127 | ?rwxrwxr-x··2.0·unx·····1034·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$1.class | 128 | ?rwxrwxr-x··2.0·unx·····1034·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$1.class |
128 | ?rwxrwxr-x··2.0·unx·····1161·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode.class | 129 | ?rwxrwxr-x··2.0·unx·····1161·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode.class |
129 | ?rwxrwxr-x··2.0·unx····· | 130 | ?rwxrwxr-x··2.0·unx·····6869·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DecodedBitStreamParser.class |
130 | ?rwxrwxr-x··2.0·unx·····486 | 131 | ?rwxrwxr-x··2.0·unx·····4860·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DetectionResult.class |
131 | ?rwxrwxr-x··2.0·unx·····1863·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DetectionResultColumn.class | 132 | ?rwxrwxr-x··2.0·unx·····1863·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/DetectionResultColumn.class |
132 | ?rwxrwxr-x··2.0·unx·····15 | 133 | ?rwxrwxr-x··2.0·unx·····1550·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/PDF417CodewordDecoder.class |
133 | ?rwxrwxr-x··2.0·unx····111 | 134 | ?rwxrwxr-x··2.0·unx····11133·b-·defN·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/PDF417ScanningDecoder.class |
134 | ?rwxrwxr-x··2.0·unx·····3096·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ErrorCorrection.class | 135 | ?rwxrwxr-x··2.0·unx·····3096·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ErrorCorrection.class |
135 | ?rwxrwxr-x··2.0·unx·····1636·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ModulusGF.class | 136 | ?rwxrwxr-x··2.0·unx·····1636·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ModulusGF.class |
136 | ?rwxrwxr-x··2.0·unx·····3 | 137 | ?rwxrwxr-x··2.0·unx·····3155·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/decoder/ec/ModulusPoly.class |
137 | ?rwxrwxr-x··2.0·unx·····43 | 138 | ?rwxrwxr-x··2.0·unx·····4378·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/detector/Detector.class |
138 | ?rwxrwxr-x··2.0·unx······489·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/detector/PDF417DetectorResult.class | 139 | ?rwxrwxr-x··2.0·unx······489·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/detector/PDF417DetectorResult.class |
139 | ?rwxrwxr-x··2.0·unx·····1148·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/encoder/BarcodeMatrix.class | 140 | ?rwxrwxr-x··2.0·unx·····1148·b-·stor·80-Jan-01·00:00·com/google/zxing/pdf417/encoder/BarcodeMatrix.class |
Max diff block lines reached; 25089/43716 bytes (57.39%) of diff not shown. |
Offset 300, 14 lines modified | Offset 300, 17 lines modified | ||
300 | Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class | 300 | Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$1.class |
301 | Comment:· | 301 | Comment:· |
302 | Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class | 302 | Filename:·com/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator.class |
303 | Comment:· | 303 | Comment:· |
304 | Filename:·com/google/zxing/oned/Code128Writer$CType.class | ||
305 | Comment:· | ||
304 | Filename:·com/google/zxing/oned/EANManufacturerOrgSupport.class | 306 | Filename:·com/google/zxing/oned/EANManufacturerOrgSupport.class |
305 | Comment:· | 307 | Comment:· |
306 | Filename:·com/google/zxing/oned/UPCEANExtension2Support.class | 308 | Filename:·com/google/zxing/oned/UPCEANExtension2Support.class |
307 | Comment:· | 309 | Comment:· |
308 | Filename:·com/google/zxing/oned/UPCEANExtension5Support.class | 310 | Filename:·com/google/zxing/oned/UPCEANExtension5Support.class |
Offset 432, 17 lines modified | Offset 435, 14 lines modified | ||
432 | Filename:·com/google/zxing/qrcode/decoder/BitMatrixParser.class | 435 | Filename:·com/google/zxing/qrcode/decoder/BitMatrixParser.class |
433 | Comment:· | 436 | Comment:· |
434 | Filename:·com/google/zxing/qrcode/decoder/DataBlock.class | 437 | Filename:·com/google/zxing/qrcode/decoder/DataBlock.class |
435 | Comment:· | 438 | Comment:· |
436 | Filename:·com/google/zxing/qrcode/decoder/DataMask$1.class | ||
437 | Comment:· | ||
438 | Filename:·com/google/zxing/qrcode/decoder/DataMask.class | 439 | Filename:·com/google/zxing/qrcode/decoder/DataMask.class |
439 | Comment:· | 440 | Comment:· |
440 | Filename:·com/google/zxing/qrcode/decoder/DecodedBitStreamParser.class | 441 | Filename:·com/google/zxing/qrcode/decoder/DecodedBitStreamParser.class |
441 | Comment:· | 442 | Comment:· |
442 | Filename:·com/google/zxing/qrcode/decoder/Decoder.class | 443 | Filename:·com/google/zxing/qrcode/decoder/Decoder.class |
Offset 726, 36 lines modified | Offset 726, 36 lines modified | ||
726 | Filename:·com/google/zxing/qrcode/QRCodeReader.class | 726 | Filename:·com/google/zxing/qrcode/QRCodeReader.class |
727 | Comment:· | 727 | Comment:· |
728 | Filename:·com/google/zxing/qrcode/QRCodeWriter.class | 728 | Filename:·com/google/zxing/qrcode/QRCodeWriter.class |
729 | Comment:· | 729 | Comment:· |
730 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 730 | Filename:·com/google/zxing/qrcode/decoder/DataMask$1.class |
731 | Comment:· | 731 | Comment:· |
732 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 732 | Filename:·com/google/zxing/qrcode/decoder/DataMask$2.class |
733 | Comment:· | 733 | Comment:· |
734 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 734 | Filename:·com/google/zxing/qrcode/decoder/DataMask$3.class |
735 | Comment:· | 735 | Comment:· |
736 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 736 | Filename:·com/google/zxing/qrcode/decoder/DataMask$4.class |
737 | Comment:· | 737 | Comment:· |
738 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 738 | Filename:·com/google/zxing/qrcode/decoder/DataMask$5.class |
739 | Comment:· | 739 | Comment:· |
740 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 740 | Filename:·com/google/zxing/qrcode/decoder/DataMask$6.class |
741 | Comment:· | 741 | Comment:· |
742 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 742 | Filename:·com/google/zxing/qrcode/decoder/DataMask$7.class |
743 | Comment:· | 743 | Comment:· |
744 | Filename:·com/google/zxing/qrcode/decoder/DataMask$ | 744 | Filename:·com/google/zxing/qrcode/decoder/DataMask$8.class |
745 | Comment:· | 745 | Comment:· |
746 | Filename:·com/google/zxing/qrcode/detector/AlignmentPattern.class | 746 | Filename:·com/google/zxing/qrcode/detector/AlignmentPattern.class |
747 | Comment:· | 747 | Comment:· |
748 | Filename:·com/google/zxing/qrcode/detector/FinderPattern.class | 748 | Filename:·com/google/zxing/qrcode/detector/FinderPattern.class |
749 | Comment:· | 749 | Comment:· |
Offset 801, 14 lines modified | Offset 801, 17 lines modified | ||
801 | Filename:·com/google/zxing/oned/Code39Writer.class | 801 | Filename:·com/google/zxing/oned/Code39Writer.class |
802 | Comment:· | 802 | Comment:· |
803 | Filename:·com/google/zxing/oned/Code93Reader.class | 803 | Filename:·com/google/zxing/oned/Code93Reader.class |
804 | Comment:· | 804 | Comment:· |
805 | Filename:·com/google/zxing/oned/Code93Writer.class | ||
806 | Comment:· | ||
805 | Filename:·com/google/zxing/oned/ITFReader.class | 807 | Filename:·com/google/zxing/oned/ITFReader.class |
806 | Comment:· | 808 | Comment:· |
807 | Filename:·com/google/zxing/oned/ITFWriter.class | 809 | Filename:·com/google/zxing/oned/ITFWriter.class |
808 | Comment:· | 810 | Comment:· |
809 | Filename:·com/google/zxing/oned/MultiFormatOneDReader.class | 811 | Filename:·com/google/zxing/oned/MultiFormatOneDReader.class |
Offset 852, 14 lines modified | Offset 855, 17 lines modified | ||
852 | Filename:·com/google/zxing/oned/UPCAReader.class | 855 | Filename:·com/google/zxing/oned/UPCAReader.class |
853 | Comment:· | 856 | Comment:· |
854 | Filename:·com/google/zxing/oned/UPCEReader.class | 857 | Filename:·com/google/zxing/oned/UPCEReader.class |
855 | Comment:· | 858 | Comment:· |
859 | Filename:·com/google/zxing/oned/UPCEWriter.class | ||
860 | Comment:· | ||
856 | Filename:·com/google/zxing/oned/rss/RSS14Reader.class | 861 | Filename:·com/google/zxing/oned/rss/RSS14Reader.class |
857 | Comment:· | 862 | Comment:· |
858 | Filename:·com/google/zxing/oned/rss/expanded/RSSExpandedReader.class | 863 | Filename:·com/google/zxing/oned/rss/expanded/RSSExpandedReader.class |
859 | Comment:· | 864 | Comment:· |
860 | Filename:·com/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder.class | 865 | Filename:·com/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder.class |
Offset 277, 15 lines modified | Offset 277, 15 lines modified | ||
277 | ·········1:·invokevirtual·#71·················//·Method·getBlackMatrix:()Lcom/google/zxing/common/BitMatrix; | 277 | ·········1:·invokevirtual·#71·················//·Method·getBlackMatrix:()Lcom/google/zxing/common/BitMatrix; |
278 | ·········4:·astore_1 | 278 | ·········4:·astore_1 |
279 | ·········5:·aload_1 | 279 | ·········5:·aload_1 |
280 | ·········6:·invokevirtual·#77·················//·Method·com/google/zxing/common/BitMatrix.toString:()Ljava/lang/String; | 280 | ·········6:·invokevirtual·#77·················//·Method·com/google/zxing/common/BitMatrix.toString:()Ljava/lang/String; |
281 | ·········9:·astore_1 | 281 | ·········9:·astore_1 |
282 | ········10:·aload_1 | 282 | ········10:·aload_1 |
283 | ········11:·areturn | 283 | ········11:·areturn |
284 | ········12:· | 284 | ········12:·astore_1 |
285 | ········13:·ldc···········#79·················//·String | 285 | ········13:·ldc···········#79·················//·String |
286 | ········15:·astore_1 | 286 | ········15:·astore_1 |
287 | ········16:·goto··········10 | 287 | ········16:·goto··········10 |
288 | ······Exception·table: | 288 | ······Exception·table: |
289 | ·········from····to··target·type | 289 | ·········from····to··target·type |
290 | ·············0·····4····12···Class·com/google/zxing/NotFoundException | 290 | ·············0·····4····12···Class·com/google/zxing/NotFoundException |
291 | ·············5·····9····12···Class·com/google/zxing/NotFoundException | 291 | ·············5·····9····12···Class·com/google/zxing/NotFoundException |
Offset 8, 31 lines modified | Offset 8, 33 lines modified | ||
8 | ····DATA_MATRIX_SHAPE("DATA_MATRIX_SHAPE",·n3),· | 8 | ····DATA_MATRIX_SHAPE("DATA_MATRIX_SHAPE",·n3),· |
9 | ····ERROR_CORRECTION("ERROR_CORRECTION",·0),· | 9 | ····ERROR_CORRECTION("ERROR_CORRECTION",·0),· |
10 | ····MARGIN("MARGIN",·5),· | 10 | ····MARGIN("MARGIN",·5),· |
11 | ····MAX_SIZE("MAX_SIZE",·n),· | 11 | ····MAX_SIZE("MAX_SIZE",·n),· |
12 | ····MIN_SIZE("MIN_SIZE",·n2),· | 12 | ····MIN_SIZE("MIN_SIZE",·n2),· |
13 | ····PDF417_COMPACT("PDF417_COMPACT",·6),· | 13 | ····PDF417_COMPACT("PDF417_COMPACT",·6),· |
14 | ····PDF417_COMPACTION("PDF417_COMPACTION",·7),· | 14 | ····PDF417_COMPACTION("PDF417_COMPACTION",·7),· |
15 | ····PDF417_DIMENSIONS("PDF417_DIMENSIONS",·8) | 15 | ····PDF417_DIMENSIONS("PDF417_DIMENSIONS",·8),· |
16 | ····QR_VERSION("QR_VERSION",·10); | ||
16 | ···· | 17 | ···· |
17 | ····static·{ | 18 | ····static·{ |
18 | ········final·int·n·=·4; | 19 | ········final·int·n·=·4; |
19 | ········final·int·n2·=·3; | 20 | ········final·int·n2·=·3; |
20 | ········final·int·n3·=·2; | 21 | ········final·int·n3·=·2; |
21 | ········final·int·n4·=·1; | 22 | ········final·int·n4·=·1; |
22 | ········final·EncodeHintType[]·$values·=·new·EncodeHintType[1 | 23 | ········final·EncodeHintType[]·$values·=·new·EncodeHintType[11]; |
23 | ········$values[0]·=·EncodeHintType.ERROR_CORRECTION; | 24 | ········$values[0]·=·EncodeHintType.ERROR_CORRECTION; |
24 | ········$values[n4]·=·EncodeHintType.CHARACTER_SET; | 25 | ········$values[n4]·=·EncodeHintType.CHARACTER_SET; |
25 | ········$values[n3]·=·EncodeHintType.DATA_MATRIX_SHAPE; | 26 | ········$values[n3]·=·EncodeHintType.DATA_MATRIX_SHAPE; |
26 | ········$values[n2]·=·EncodeHintType.MIN_SIZE; | 27 | ········$values[n2]·=·EncodeHintType.MIN_SIZE; |
27 | ········$values[n]·=·EncodeHintType.MAX_SIZE; | 28 | ········$values[n]·=·EncodeHintType.MAX_SIZE; |
28 | ········$values[5]·=·EncodeHintType.MARGIN; | 29 | ········$values[5]·=·EncodeHintType.MARGIN; |
29 | ········$values[6]·=·EncodeHintType.PDF417_COMPACT; | 30 | ········$values[6]·=·EncodeHintType.PDF417_COMPACT; |
30 | ········$values[7]·=·EncodeHintType.PDF417_COMPACTION; | 31 | ········$values[7]·=·EncodeHintType.PDF417_COMPACTION; |
31 | ········$values[8]·=·EncodeHintType.PDF417_DIMENSIONS; | 32 | ········$values[8]·=·EncodeHintType.PDF417_DIMENSIONS; |
32 | ········$values[9]·=·EncodeHintType.AZTEC_LAYERS; | 33 | ········$values[9]·=·EncodeHintType.AZTEC_LAYERS; |
34 | ········$values[10]·=·EncodeHintType.QR_VERSION; | ||
33 | ········$VALUES·=·$values; | 35 | ········$VALUES·=·$values; |
34 | ····} | 36 | ····} |
35 | ···· | 37 | ···· |
36 | ····private·EncodeHintType(final·String·name,·final·int·ordinal)·{ | 38 | ····private·EncodeHintType(final·String·name,·final·int·ordinal)·{ |
37 | ····} | 39 | ····} |
38 | } | 40 | } |
Offset 16, 10 lines modified | Offset 16, 12 lines modified | ||
16 | ···· | 16 | ···· |
17 | ····ReaderException(final·Throwable·cause)·{ | 17 | ····ReaderException(final·Throwable·cause)·{ |
18 | ········super(cause); | 18 | ········super(cause); |
19 | ····} | 19 | ····} |
20 | ···· | 20 | ···· |
21 | ····@Override | 21 | ····@Override |
22 | ····public·final·Throwable·fillInStackTrace()·{ | 22 | ····public·final·Throwable·fillInStackTrace()·{ |
23 | ········//·monitorenter(this) | ||
24 | ········//·monitorexit(this) | ||
23 | ········return·null; | 25 | ········return·null; |
24 | ····} | 26 | ····} |
25 | } | 27 | } |
Offset 3, 33 lines modified | Offset 3, 46 lines modified | ||
3 | import·java.util.EnumMap; | 3 | import·java.util.EnumMap; |
4 | import·java.util.Map; | 4 | import·java.util.Map; |
5 | public·final·class·Result | 5 | public·final·class·Result |
6 | { | 6 | { |
7 | ····private·final·BarcodeFormat·format; | 7 | ····private·final·BarcodeFormat·format; |
8 | ····private·final·int·numBits; | ||
8 | ····private·final·byte[]·rawBytes; | 9 | ····private·final·byte[]·rawBytes; |
9 | ····private·Map·resultMetadata; | 10 | ····private·Map·resultMetadata; |
10 | ····private·ResultPoint[]·resultPoints; | 11 | ····private·ResultPoint[]·resultPoints; |
11 | ····private·final·String·text; | 12 | ····private·final·String·text; |
12 | ····private·final·long·timestamp; | 13 | ····private·final·long·timestamp; |
13 | ···· | 14 | ···· |
14 | ····public·Result(final·String·s,·final·byte[]·array,·final·ResultPoint[]·array2,·final·BarcodeFormat·barcodeFormat)·{ | ||
15 | ········this(s,·array,·array2,·barcodeFormat,·System.currentTimeMillis()); | ||
16 | ····} | ||
17 | ···· | ||
18 | ····public·Result(final·String·text,·final·byte[]·rawBytes,·final·ResultPoint[]·resultPoints,·final·BarcodeFormat·format,·final·long·timestamp)·{ | 15 | ····public·Result(final·String·text,·final·byte[]·rawBytes,·final·int·numBits,·final·ResultPoint[]·resultPoints,·final·BarcodeFormat·format,·final·long·timestamp)·{ |
19 | ········this.text·=·text; | 16 | ········this.text·=·text; |
20 | ········this.rawBytes·=·rawBytes; | 17 | ········this.rawBytes·=·rawBytes; |
18 | ········this.numBits·=·numBits; | ||
21 | ········this.resultPoints·=·resultPoints; | 19 | ········this.resultPoints·=·resultPoints; |
22 | ········this.format·=·format; | 20 | ········this.format·=·format; |
23 | ········this.resultMetadata·=·null; | 21 | ········this.resultMetadata·=·null; |
24 | ········this.timestamp·=·timestamp; | 22 | ········this.timestamp·=·timestamp; |
25 | ····} | 23 | ····} |
26 | ···· | 24 | ···· |
25 | ····public·Result(final·String·s,·final·byte[]·array,·final·ResultPoint[]·array2,·final·BarcodeFormat·barcodeFormat)·{ | ||
26 | ········this(s,·array,·array2,·barcodeFormat,·System.currentTimeMillis()); | ||
27 | ····} | ||
28 | ···· | ||
29 | ····public·Result(final·String·s,·final·byte[]·array,·final·ResultPoint[]·array2,·final·BarcodeFormat·barcodeFormat,·final·long·n)·{ | ||
30 | ········int·n2; | ||
31 | ········if·(array·==·null)·{ | ||
32 | ············n2·=·0; | ||
33 | ········} | ||
34 | ········else·{ | ||
35 | ············n2·=·array.length·*·8; | ||
36 | ········} | ||
37 | ········this(s,·array,·n2,·array2,·barcodeFormat,·n); | ||
38 | ····} | ||
39 | ···· | ||
27 | ····public·void·addResultPoints(final·ResultPoint[]·resultPoints)·{ | 40 | ····public·void·addResultPoints(final·ResultPoint[]·resultPoints)·{ |
28 | ········final·ResultPoint[]·resultPoints2·=·this.resultPoints; | 41 | ········final·ResultPoint[]·resultPoints2·=·this.resultPoints; |
29 | ········if·(resultPoints2·==·null)·{ | 42 | ········if·(resultPoints2·==·null)·{ |
30 | ············this.resultPoints·=·resultPoints; | 43 | ············this.resultPoints·=·resultPoints; |
31 | ········} | 44 | ········} |
32 | ········else·if·(resultPoints·!=·null·&&·resultPoints.length·>·0)·{ | 45 | ········else·if·(resultPoints·!=·null·&&·resultPoints.length·>·0)·{ |
33 | ············final·ResultPoint[]·resultPoints3·=·new·ResultPoint[resultPoints2.length·+·resultPoints.length]; | 46 | ············final·ResultPoint[]·resultPoints3·=·new·ResultPoint[resultPoints2.length·+·resultPoints.length]; |
Offset 39, 14 lines modified | Offset 52, 18 lines modified | ||
39 | ········} | 52 | ········} |
40 | ····} | 53 | ····} |
41 | ···· | 54 | ···· |
42 | ····public·BarcodeFormat·getBarcodeFormat()·{ | 55 | ····public·BarcodeFormat·getBarcodeFormat()·{ |
43 | ········return·this.format; | 56 | ········return·this.format; |
44 | ····} | 57 | ····} |
45 | ···· | 58 | ···· |
59 | ····public·int·getNumBits()·{ | ||
60 | ········return·this.numBits; | ||
61 | ····} | ||
62 | ···· | ||
46 | ····public·byte[]·getRawBytes()·{ | 63 | ····public·byte[]·getRawBytes()·{ |
47 | ········return·this.rawBytes; | 64 | ········return·this.rawBytes; |
48 | ····} | 65 | ····} |
49 | ···· | 66 | ···· |
50 | ····public·Map·getResultMetadata()·{ | 67 | ····public·Map·getResultMetadata()·{ |
51 | ········return·this.resultMetadata; | 68 | ········return·this.resultMetadata; |
52 | ····} | 69 | ····} |
Offset 80, 16 lines modified | Offset 80, 10 lines modified | ||
80 | ····@Override | 80 | ····@Override |
81 | ····public·final·int·hashCode()·{ | 81 | ····public·final·int·hashCode()·{ |
82 | ········return·Float.floatToIntBits(this.x)·*·31·+·Float.floatToIntBits(this.y); | 82 | ········return·Float.floatToIntBits(this.x)·*·31·+·Float.floatToIntBits(this.y); |
83 | ····} | 83 | ····} |
84 | ···· | 84 | ···· |
85 | ····@Override | 85 | ····@Override |
86 | ····public·final·String·toString()·{ | 86 | ····public·final·String·toString()·{ |
87 | ········return·"("·+·this.x·+·','·+·this.y·+·')'; | ||
87 | ········final·StringBuilder·sb·=·new·StringBuilder(25); | ||
88 | ········sb.append('('); | ||
89 | ········sb.append(this.x); | ||
90 | ········sb.append(','); | ||
91 | ········sb.append(this.y); | ||
92 | ········sb.append(')'); | ||
93 | ········return·sb.toString(); | ||
94 | ····} | 88 | ····} |
95 | } | 89 | } |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | package·com.google.zxing.aztec.decoder; | 1 | package·com.google.zxing.aztec.decoder; |
2 | import·com.google.zxing.common.BitMatrix; | ||
3 | import·java.util.List; | 2 | import·java.util.List; |
4 | import·com.google.zxing.common.DecoderResult; | 3 | import·com.google.zxing.common.DecoderResult; |
4 | import·com.google.zxing.common.BitMatrix; | ||
5 | import·java.util.Arrays; | 5 | import·java.util.Arrays; |
6 | import·com.google.zxing.common.reedsolomon.ReedSolomonException; | 6 | import·com.google.zxing.common.reedsolomon.ReedSolomonException; |
7 | import·com.google.zxing.common.reedsolomon.ReedSolomonDecoder; | 7 | import·com.google.zxing.common.reedsolomon.ReedSolomonDecoder; |
8 | import·com.google.zxing.FormatException; | 8 | import·com.google.zxing.FormatException; |
9 | import·com.google.zxing.common.reedsolomon.GenericGF; | 9 | import·com.google.zxing.common.reedsolomon.GenericGF; |
10 | import·com.google.zxing.aztec.AztecDetectorResult; | 10 | import·com.google.zxing.aztec.AztecDetectorResult; |
Offset 177, 14 lines modified | Offset 177, 22 lines modified | ||
177 | ········digit_TABLE[12]·=·","; | 177 | ········digit_TABLE[12]·=·","; |
178 | ········digit_TABLE[13]·=·"."; | 178 | ········digit_TABLE[13]·=·"."; |
179 | ········digit_TABLE[14]·=·"CTRL_UL"; | 179 | ········digit_TABLE[14]·=·"CTRL_UL"; |
180 | ········digit_TABLE[15]·=·"CTRL_US"; | 180 | ········digit_TABLE[15]·=·"CTRL_US"; |
181 | ········DIGIT_TABLE·=·digit_TABLE; | 181 | ········DIGIT_TABLE·=·digit_TABLE; |
182 | ····} | 182 | ····} |
183 | ···· | 183 | ···· |
184 | ····static·byte[]·convertBoolArrayToByteArray(final·boolean[]·array)·{ | ||
185 | ········final·byte[]·array2·=·new·byte[(array.length·+·7)·/·8]; | ||
186 | ········for·(int·i·=·0;·i·<·array2.length;·++i)·{ | ||
187 | ············array2[i]·=·readByte(array,·i·<<·3); | ||
188 | ········} | ||
189 | ········return·array2; | ||
190 | ····} | ||
191 | ···· | ||
184 | ····private·boolean[]·correctBits(final·boolean[]·array)·{ | 192 | ····private·boolean[]·correctBits(final·boolean[]·array)·{ |
185 | ········int·n; | 193 | ········int·n; |
186 | ········GenericGF·genericGF; | 194 | ········GenericGF·genericGF; |
187 | ········if·(this.ddata.getNbLayers()·<=·2)·{ | 195 | ········if·(this.ddata.getNbLayers()·<=·2)·{ |
188 | ············n·=·6; | 196 | ············n·=·6; |
189 | ············genericGF·=·GenericGF.AZTEC_DATA_6; | 197 | ············genericGF·=·GenericGF.AZTEC_DATA_6; |
190 | ········} | 198 | ········} |
Offset 202, 74 lines modified | Offset 210, 127 lines modified | ||
202 | ········} | 210 | ········} |
203 | ········final·int·nbDatablocks·=·this.ddata.getNbDatablocks(); | 211 | ········final·int·nbDatablocks·=·this.ddata.getNbDatablocks(); |
204 | ········final·int·n2·=·array.length·/·n; | 212 | ········final·int·n2·=·array.length·/·n; |
205 | ········if·(n2·<·nbDatablocks)·{ | 213 | ········if·(n2·<·nbDatablocks)·{ |
206 | ············throw·FormatException.getFormatInstance(); | 214 | ············throw·FormatException.getFormatInstance(); |
207 | ········} | 215 | ········} |
208 | ········int·n3·=·array.length·%·n; | 216 | ········int·n3·=·array.length·%·n; |
209 | ········final·int·n4·=·n2·-·nbDatablocks; | ||
210 | ········final·int[]·array2·=·new·int[n2]; | 217 | ········final·int[]·array2·=·new·int[n2]; |
211 | ········for·(int·i·=·0;·i·<·n2;·++i,·n3·+=·n)·{ | 218 | ········for·(int·i·=·0;·i·<·n2;·++i,·n3·+=·n)·{ |
212 | ············array2[i]·=·readCode(array,·n3,·n); | 219 | ············array2[i]·=·readCode(array,·n3,·n); |
213 | ········} | 220 | ········} |
221 | ········int·n4; | ||
214 | ········int·n5; | 222 | ········int·n5; |
215 | ········int·n6; | ||
216 | ········while·(true)·{ | 223 | ········while·(true)·{ |
217 | ············while·(true)·{ | 224 | ············while·(true)·{ |
225 | ················int·n6; | ||
218 | ················int·n7; | 226 | ················int·n7; |
219 | ················int·n8; | ||
220 | ················try·{ | 227 | ················try·{ |
221 | ····················new·ReedSolomonDecoder(genericGF).decode(array2,·n | 228 | ····················new·ReedSolomonDecoder(genericGF).decode(array2,·n2·-·nbDatablocks); |
222 | ····················n | 229 | ····················n4·=·(1·<<·n)·-·1; |
230 | ····················n5·=·0; | ||
223 | ····················n6·=·0; | 231 | ····················n6·=·0; |
224 | ····················n7·=·0; | ||
225 | ····················if·(n | 232 | ····················if·(n6·>=·nbDatablocks)·{ |
226 | ························break; | 233 | ························break; |
227 | ····················} | 234 | ····················} |
228 | ····················n | 235 | ····················n7·=·array2[n6]; |
229 | ····················if·(n | 236 | ····················if·(n7·==·0·||·n7·==·n4)·{ |
230 | ························throw·FormatException.getFormatInstance(); | 237 | ························throw·FormatException.getFormatInstance(); |
231 | ····················} | 238 | ····················} |
232 | ················} | 239 | ················} |
233 | ················catch·(ReedSolomonException·ex)·{ | 240 | ················catch·(ReedSolomonException·ex)·{ |
234 | ····················throw·FormatException.getFormatInstance((Throwable)ex); | 241 | ····················throw·FormatException.getFormatInstance((Throwable)ex); |
235 | ················} | 242 | ················} |
236 | ················final·int·n9; | ||
237 | ················if·(n | 243 | ················if·(n7·==·1·||·n7·==·n4·-·1)·{ |
238 | ····················++n | 244 | ····················++n5; |
239 | ················} | 245 | ················} |
240 | ················++n | 246 | ················++n6; |
241 | ················continue; | 247 | ················continue; |
242 | ············} | 248 | ············} |
243 | ········} | 249 | ········} |
244 | ········final·boolean[]·a·=·new·boolean[nbDatablocks·*·n·-·n | 250 | ········final·boolean[]·a·=·new·boolean[nbDatablocks·*·n·-·n5]; |
245 | ········int·fromIndex·=·0; | 251 | ········int·fromIndex·=·0; |
246 | ········for·(int·j·=·0;·j·<·nbDatablocks;·++j)·{ | 252 | ········for·(int·j·=·0;·j·<·nbDatablocks;·++j)·{ |
247 | ············final·int·n | 253 | ············final·int·n8·=·array2[j]; |
248 | ············final·int·n11; | ||
249 | ············if·(n | 254 | ············if·(n8·==·1·||·n8·==·n4·-·1)·{ |
250 | ················final·int·n12; | ||
251 | ················Arrays.fill(a,·fromIndex,·fromIndex·+·n·-·1,·n | 255 | ················Arrays.fill(a,·fromIndex,·fromIndex·+·n·-·1,·n8·>·1); |
252 | ················fromIndex·+=·n·-·1; | 256 | ················fromIndex·+=·n·-·1; |
253 | ············} | 257 | ············} |
254 | ············else·{ | 258 | ············else·{ |
255 | ················int·k·=·n·-·1; | 259 | ················int·k·=·n·-·1; |
256 | ················int·n | 260 | ················int·n9·=·fromIndex; |
257 | ················while·(k·>=·0)·{ | 261 | ················while·(k·>=·0)·{ |
258 | ····················final·int·n1 | 262 | ····················final·int·n10·=·n9·+·1; |
259 | ····················a[n | 263 | ····················a[n9]·=·((1·<<·k·&·n8)·!=·0x0); |
260 | ····················--k; | 264 | ····················--k; |
261 | ····················n | 265 | ····················n9·=·n10; |
262 | ················} | 266 | ················} |
263 | ················fromIndex·=·n | 267 | ················fromIndex·=·n9; |
264 | ············} | 268 | ············} |
265 | ········} | 269 | ········} |
266 | ········return·a; | 270 | ········return·a; |
267 | ····} | 271 | ····} |
268 | ···· | 272 | ···· |
273 | ····private·boolean[]·extractBits(final·BitMatrix·bitMatrix)·{ | ||
274 | ········final·boolean·compact·=·this.ddata.isCompact(); | ||
275 | ········final·int·nbLayers·=·this.ddata.getNbLayers(); | ||
276 | ········int·n; | ||
277 | ········if·(compact)·{ | ||
278 | ············n·=·11; | ||
279 | ········} | ||
280 | ········else·{ | ||
281 | ············n·=·14; | ||
282 | ········} | ||
283 | ········final·int·n2·=·n·+·(nbLayers·<<·2); | ||
284 | ········final·int[]·array·=·new·int[n2]; | ||
285 | ········final·boolean[]·array2·=·new·boolean[totalBitsInLayer(nbLayers,·compact)]; | ||
286 | ········if·(compact)·{ | ||
287 | ············for·(int·i·=·0;·i·<·array.length;·++i)·{ | ||
288 | ················array[i]·=·i; | ||
289 | ············} | ||
290 | ········} | ||
291 | ········else·{ | ||
Max diff block lines reached; 4445/10948 bytes (40.60%) of diff not shown. |
Offset 31, 37 lines modified | Offset 31, 36 lines modified | ||
31 | ··#23·=·NameAndType········#22:#19········//·getY:()I | 31 | ··#23·=·NameAndType········#22:#19········//·getY:()I |
32 | ··#24·=·Methodref··········#2.#23·········//·com/google/zxing/aztec/detector/Detector$Point.getY:()I | 32 | ··#24·=·Methodref··········#2.#23·········//·com/google/zxing/aztec/detector/Detector$Point.getY:()I |
33 | ··#25·=·Utf8···············(FF)V | 33 | ··#25·=·Utf8···············(FF)V |
34 | ··#26·=·NameAndType········#8:#25·········//·"<init>":(FF)V | 34 | ··#26·=·NameAndType········#8:#25·········//·"<init>":(FF)V |
35 | ··#27·=·Methodref··········#17.#26········//·com/google/zxing/ResultPoint."<init>":(FF)V | 35 | ··#27·=·Methodref··········#17.#26········//·com/google/zxing/ResultPoint."<init>":(FF)V |
36 | ··#28·=·Utf8···············java/lang/StringBuilder | 36 | ··#28·=·Utf8···············java/lang/StringBuilder |
37 | ··#29·=·Class··············#28············//·java/lang/StringBuilder | 37 | ··#29·=·Class··············#28············//·java/lang/StringBuilder |
38 | ··#30·=·Methodref··········#29.#10········//·java/lang/StringBuilder."<init>":()V | ||
39 | ··#3 | 38 | ··#30·=·Utf8···············< |
40 | ··#3 | 39 | ··#31·=·String·············#30············//·< |
40 | ··#32·=·Utf8···············(Ljava/lang/String;)V | ||
41 | ··#33·=·NameAndType········#8:#32·········//·"<init>":(Ljava/lang/String;)V | ||
42 | ··#34·=·Methodref··········#29.#33········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V | ||
41 | ··#3 | 43 | ··#35·=·Utf8···············append |
42 | ··#34·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
43 | ··#35·=·NameAndType········#33:#34········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
44 | ··#36·=·Methodref··········#29.#35········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
45 | ··#3 | 44 | ··#36·=·Utf8···············(I)Ljava/lang/StringBuilder; |
46 | ··#3 | 45 | ··#37·=·NameAndType········#35:#36········//·append:(I)Ljava/lang/StringBuilder; |
47 | ··#3 | 46 | ··#38·=·Methodref··········#29.#37········//·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; |
48 | ··# | 47 | ··#39·=·Float··············4.5E-44f |
49 | ··#4 | 48 | ··#40·=·Utf8···············(C)Ljava/lang/StringBuilder; |
50 | ··#4 | 49 | ··#41·=·NameAndType········#35:#40········//·append:(C)Ljava/lang/StringBuilder; |
51 | ··#4 | 50 | ··#42·=·Methodref··········#29.#41········//·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder; |
52 | ··#4 | 51 | ··#43·=·Float··············8.7E-44f |
53 | ··#4 | 52 | ··#44·=·Utf8···············toString |
54 | ··#4 | 53 | ··#45·=·Utf8···············()Ljava/lang/String; |
55 | ··#4 | 54 | ··#46·=·NameAndType········#44:#45········//·toString:()Ljava/lang/String; |
56 | ··#4 | 55 | ··#47·=·Methodref··········#29.#46········//·java/lang/StringBuilder.toString:()Ljava/lang/String; |
57 | ··#4 | 56 | ··#48·=·Utf8···············Code |
58 | ··# | 57 | ··#49·=·Utf8···············(II)V |
59 | ··#5 | 58 | ··#50·=·Utf8···············toResultPoint |
60 | ··#5 | 59 | ··#51·=·Utf8···············()Lcom/google/zxing/ResultPoint; |
61 | { | 60 | { |
62 | ··private·final·int·x; | 61 | ··private·final·int·x; |
63 | ····descriptor:·I | 62 | ····descriptor:·I |
64 | ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL | 63 | ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL |
65 | ··private·final·int·y; | 64 | ··private·final·int·y; |
66 | ····descriptor:·I | 65 | ····descriptor:·I |
Offset 126, 32 lines modified | Offset 125, 29 lines modified | ||
126 | ····descriptor:·()Ljava/lang/String; | 125 | ····descriptor:·()Ljava/lang/String; |
127 | ····flags:·(0x0001)·ACC_PUBLIC | 126 | ····flags:·(0x0001)·ACC_PUBLIC |
128 | ····Code: | 127 | ····Code: |
129 | ······stack=300,·locals=3,·args_size=1 | 128 | ······stack=300,·locals=3,·args_size=1 |
130 | ·········0:·new···········#29·················//·class·java/lang/StringBuilder | 129 | ·········0:·new···········#29·················//·class·java/lang/StringBuilder |
131 | ·········3:·astore_1 | 130 | ·········3:·astore_1 |
132 | ·········4:·aload_1 | 131 | ·········4:·aload_1 |
133 | ·········5:·invokespecial·#30·················//·Method·java/lang/StringBuilder."<init>":()V | ||
134 | ·········8:·aload_1 | ||
135 | ········· | 132 | ·········5:·ldc···········#31·················//·String·< |
136 | ········ | 133 | ·········7:·invokespecial·#34·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V |
137 | ········14:·astore_1 | ||
138 | ········1 | 134 | ········10:·aload_0 |
139 | ········1 | 135 | ········11:·getfield······#13·················//·Field·x:I |
140 | ········1 | 136 | ········14:·istore_2 |
141 | ········ | 137 | ········15:·aload_1 |
142 | ········ | 138 | ········16:·iload_2 |
143 | ········ | 139 | ········17:·invokevirtual·#38·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; |
144 | ········2 | 140 | ········20:·bipush········32 |
145 | ········2 | 141 | ········22:·invokevirtual·#42·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder; |
146 | ········ | 142 | ········25:·astore_1 |
147 | ········ | 143 | ········26:·aload_0 |
148 | ········ | 144 | ········27:·getfield······#15·················//·Field·y:I |
149 | ········3 | 145 | ········30:·istore_2 |
150 | ········3 | 146 | ········31:·aload_1 |
151 | ········3 | 147 | ········32:·iload_2 |
152 | ········3 | 148 | ········33:·invokevirtual·#38·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; |
153 | ········ | 149 | ········36:·bipush········62 |
154 | ········ | 150 | ········38:·invokevirtual·#42·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder; |
155 | ········4 | 151 | ········41:·invokevirtual·#47·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String; |
156 | ········4 | 152 | ········44:·areturn |
157 | } | 153 | } |
Offset 144, 15 lines modified | Offset 144, 15 lines modified | ||
144 | ························if·(n5·!=·Encoder.WORD_SIZE[abs])·{ | 144 | ························if·(n5·!=·Encoder.WORD_SIZE[abs])·{ |
145 | ····························n5·=·Encoder.WORD_SIZE[abs]; | 145 | ····························n5·=·Encoder.WORD_SIZE[abs]; |
146 | ····························bitArray·=·stuffBits(encode,·n5); | 146 | ····························bitArray·=·stuffBits(encode,·n5); |
147 | ························} | 147 | ························} |
148 | ························final·int·n7·=·n6·-·n6·%·n5; | 148 | ························final·int·n7·=·n6·-·n6·%·n5; |
149 | ························final·int·size; | 149 | ························final·int·size; |
150 | ························final·int·n8; | 150 | ························final·int·n8; |
151 | ························if·(( | 151 | ························if·((compact·||·(size·=·bitArray.getSize())·<=·n5·<<·6)·&&·(n8·=·bitArray.getSize()·+·n3)·<=·n7)·{ |
152 | ····························break·Label_0471; | 152 | ····························break·Label_0471; |
153 | ························} | 153 | ························} |
154 | ····················} | 154 | ····················} |
155 | ················} | 155 | ················} |
156 | ················throw·new·IllegalArgumentException("Data·too·large·for·an·Aztec·code"); | 156 | ················throw·new·IllegalArgumentException("Data·too·large·for·an·Aztec·code"); |
157 | ············} | 157 | ············} |
158 | ············compact·=·(n2·<·0); | 158 | ············compact·=·(n2·<·0); |
Offset 171, 89 lines modified | Offset 171, 92 lines modified | ||
171 | ············n5·=·Encoder.WORD_SIZE[abs]; | 171 | ············n5·=·Encoder.WORD_SIZE[abs]; |
172 | ············final·int·n10·=·n6·-·n6·%·n5; | 172 | ············final·int·n10·=·n6·-·n6·%·n5; |
173 | ············bitArray·=·stuffBits(encode,·n5); | 173 | ············bitArray·=·stuffBits(encode,·n5); |
174 | ············if·(bitArray.getSize()·+·n3·>·n10)·{ | 174 | ············if·(bitArray.getSize()·+·n3·>·n10)·{ |
175 | ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer"); | 175 | ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer"); |
176 | ············} | 176 | ············} |
177 | ············final·int·size2; | 177 | ············final·int·size2; |
178 | ············if·(compact·&&·(size2·=·bitArray.getSize())·>·n5· | 178 | ············if·(compact·&&·(size2·=·bitArray.getSize())·>·n5·<<·6)·{ |
179 | ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer"); | 179 | ················throw·new·IllegalArgumentException("Data·to·large·for·user·specified·layer"); |
180 | ············} | 180 | ············} |
181 | ········} | 181 | ········} |
182 | ········final·BitArray·generateCheckWords·=·generateCheckWords(bitArray,·n6,·n5); | 182 | ········final·BitArray·generateCheckWords·=·generateCheckWords(bitArray,·n6,·n5); |
183 | ········final·int·codeWords·=·bitArray.getSize()·/·n5; | 183 | ········final·int·codeWords·=·bitArray.getSize()·/·n5; |
184 | ········final·BitArray·generateModeMessage·=·generateModeMessage(compact,·abs,·codeWords); | 184 | ········final·BitArray·generateModeMessage·=·generateModeMessage(compact,·abs,·codeWords); |
185 | ········int·n11; | 185 | ········int·n11; |
186 | ········if·(compact)·{ | 186 | ········if·(compact)·{ |
187 | ············n11·=· | 187 | ············n11·=·11; |
188 | ········} | 188 | ········} |
189 | ········else·{ | 189 | ········else·{ |
190 | ············n11·=· | 190 | ············n11·=·14; |
191 | ········} | 191 | ········} |
192 | ········final·int·n12·=·n11·+·(abs·<<·2); | ||
192 | ········final·int[]·array2·=·new·int[n1 | 193 | ········final·int[]·array2·=·new·int[n12]; |
193 | ········int·size3; | 194 | ········int·size3; |
194 | ········if·(compact)·{ | 195 | ········if·(compact)·{ |
195 | ············size3·=·n1 | 196 | ············size3·=·n12; |
196 | ············for·(int·j·=·0;·j·<·array2.length;·++j)·{ | 197 | ············for·(int·j·=·0;·j·<·array2.length;·++j)·{ |
197 | ················array2[j]·=·j; | 198 | ················array2[j]·=·j; |
198 | ············} | 199 | ············} |
199 | ········} | 200 | ········} |
200 | ········else·{ | 201 | ········else·{ |
201 | ············size3·=·n1 | 202 | ············size3·=·n12·+·1·+·(n12·/·2·-·1)·/·15·*·2; |
202 | ············final·int·n1 | 203 | ············final·int·n13·=·n12·/·2; |
203 | ············final·int·n1 | 204 | ············final·int·n14·=·size3·/·2; |
204 | ············for·(int·k·=·0;·k·<·n1 | 205 | ············for·(int·k·=·0;·k·<·n13;·++k)·{ |
205 | ················final·int·n1 | 206 | ················final·int·n15·=·k·+·k·/·15; |
206 | ················array2[n1 | 207 | ················array2[n13·-·k·-·1]·=·n14·-·n15·-·1; |
207 | ················array2[n1 | 208 | ················array2[n13·+·k]·=·n14·+·n15·+·1; |
208 | ············} | 209 | ············} |
209 | ········} | 210 | ········} |
210 | ········final·BitMatrix·matrix·=·new·BitMatrix(size3); | 211 | ········final·BitMatrix·matrix·=·new·BitMatrix(size3); |
211 | ········int·l·=·0; | 212 | ········int·l·=·0; |
212 | ········int·n1 | 213 | ········int·n16·=·0; |
213 | ········while·(l·<·abs)·{ | 214 | ········while·(l·<·abs)·{ |
215 | ············final·int·n17·=·abs·-·l·<<·2; | ||
214 | ············int·n1 | 216 | ············int·n18; |
215 | ············if·(compact)·{ | 217 | ············if·(compact)·{ |
216 | ················n1 | 218 | ················n18·=·9; |
217 | ············} | 219 | ············} |
218 | ············else·{ | 220 | ············else·{ |
219 | ················n1 | 221 | ················n18·=·12; |
220 | ············} | 222 | ············} |
223 | ············final·int·n19·=·n17·+·n18; | ||
221 | ············for·(int·n | 224 | ············for·(int·n20·=·0;·n20·<·n19;·++n20)·{ |
222 | ················final·int·n | 225 | ················final·int·n21·=·n20·<<·1; |
223 | ················for·(int·n | 226 | ················for·(int·n22·=·0;·n22·<·2;·++n22)·{ |
224 | ····················if·(generateCheckWords.get(n1 | 227 | ····················if·(generateCheckWords.get(n16·+·n21·+·n22))·{ |
225 | ························matrix.set(array2[l· | 228 | ························matrix.set(array2[(l·<<·1)·+·n22],·array2[(l·<<·1)·+·n20]); |
226 | ····················} | 229 | ····················} |
227 | ····················if·(generateCheckWords.get(n1 | 230 | ····················if·(generateCheckWords.get((n19·<<·1)·+·n16·+·n21·+·n22))·{ |
228 | ························matrix.set(array2[l· | 231 | ························matrix.set(array2[(l·<<·1)·+·n20],·array2[n12·-·1·-·(l·<<·1)·-·n22]); |
229 | ····················} | 232 | ····················} |
230 | ····················if·(generateCheckWords.get(n1 | 233 | ····················if·(generateCheckWords.get((n19·<<·2)·+·n16·+·n21·+·n22))·{ |
231 | ························matrix.set(array2[n1 | 234 | ························matrix.set(array2[n12·-·1·-·(l·<<·1)·-·n22],·array2[n12·-·1·-·(l·<<·1)·-·n20]); |
232 | ····················} | 235 | ····················} |
233 | ····················if·(generateCheckWords.get(n1 | 236 | ····················if·(generateCheckWords.get(n19·*·6·+·n16·+·n21·+·n22))·{ |
234 | ························matrix.set(array2[n1 | 237 | ························matrix.set(array2[n12·-·1·-·(l·<<·1)·-·n20],·array2[(l·<<·1)·+·n22]); |
235 | ····················} | 238 | ····················} |
236 | ················} | 239 | ················} |
237 | ············} | 240 | ············} |
238 | ············n1 | 241 | ············n16·+=·n19·<<·3; |
239 | ············++l; | 242 | ············++l; |
240 | ········} | 243 | ········} |
241 | ········drawModeMessage(matrix,·compact,·size3,·generateModeMessage); | 244 | ········drawModeMessage(matrix,·compact,·size3,·generateModeMessage); |
242 | ········if·(compact)·{ | 245 | ········if·(compact)·{ |
243 | ············drawBullsEye(matrix,·size3·/·2,·5); | 246 | ············drawBullsEye(matrix,·size3·/·2,·5); |
244 | ········} | 247 | ········} |
245 | ········else·{ | 248 | ········else·{ |
246 | ············drawBullsEye(matrix,·size3·/·2,·7); | 249 | ············drawBullsEye(matrix,·size3·/·2,·7); |
247 | ············for·(int·n2 | 250 | ············for·(int·n23·=·0,·n24·=·0;·n23·<·n12·/·2·-·1;·n23·+=·15,·n24·+=·16)·{ |
248 | ················for·(int·n2 | 251 | ················for·(int·n25·=·size3·/·2·&·0x1;·n25·<·size3;·n25·+=·2)·{ |
249 | ····················matrix.set(size3·/·2·-·n2 | 252 | ····················matrix.set(size3·/·2·-·n24,·n25); |
250 | ····················matrix.set(size3·/·2·+·n2 | 253 | ····················matrix.set(size3·/·2·+·n24,·n25); |
251 | ····················matrix.set(n2 | 254 | ····················matrix.set(n25,·size3·/·2·-·n24); |
252 | ····················matrix.set(n2 | 255 | ····················matrix.set(n25,·size3·/·2·+·n24); |
253 | ················} | 256 | ················} |
254 | ············} | 257 | ············} |
255 | ········} | 258 | ········} |
256 | ········final·AztecCode·aztecCode·=·new·AztecCode(); | 259 | ········final·AztecCode·aztecCode·=·new·AztecCode(); |
257 | ········aztecCode.setCompact(compact); | 260 | ········aztecCode.setCompact(compact); |
258 | ········aztecCode.setSize(size3); | 261 | ········aztecCode.setSize(size3); |
259 | ········aztecCode.setLayers(abs); | 262 | ········aztecCode.setLayers(abs); |
Offset 357, 10 lines modified | Offset 360, 10 lines modified | ||
357 | ········int·n2; | 360 | ········int·n2; |
358 | ········if·(b)·{ | 361 | ········if·(b)·{ |
359 | ············n2·=·88; | 362 | ············n2·=·88; |
360 | ········} | 363 | ········} |
361 | ········else·{ | 364 | ········else·{ |
362 | ············n2·=·112; | 365 | ············n2·=·112; |
363 | ········} | 366 | ········} |
364 | ········return·(n2·+·n· | 367 | ········return·(n2·+·(n·<<·4))·*·n; |
365 | ····} | 368 | ····} |
366 | } | 369 | } |
Offset 73, 16 lines modified | Offset 73, 15 lines modified | ||
73 | ········array10[0]·=·327711; | 73 | ········array10[0]·=·327711; |
74 | ········array10[1]·=·656380; | 74 | ········array10[1]·=·656380; |
75 | ········array10[2]·=·656382; | 75 | ········array10[2]·=·656382; |
76 | ········array10[3]·=·656381; | 76 | ········array10[3]·=·656381; |
77 | ········array10[4]·=·0; | 77 | ········array10[4]·=·0; |
78 | ········latch_TABLE[n]·=·array9; | 78 | ········latch_TABLE[n]·=·array9; |
79 | ········LATCH_TABLE·=·latch_TABLE; | 79 | ········LATCH_TABLE·=·latch_TABLE; |
80 | ········CHAR_MAP·=·(int[][])Array.newInstance(Integer.TYPE,·n2,·256); | 80 | ········(CHAR_MAP·=·(int[][])Array.newInstance(Integer.TYPE,·n2,·256))[0][32]·=·n4; |
81 | ········HighLevelEncoder.CHAR_MAP[0][32]·=·n4; | ||
82 | ········for·(int·i·=·65;·i·<=·90;·++i)·{ | 81 | ········for·(int·i·=·65;·i·<=·90;·++i)·{ |
83 | ············HighLevelEncoder.CHAR_MAP[0][i]·=·i·-·65·+·2; | 82 | ············HighLevelEncoder.CHAR_MAP[0][i]·=·i·-·65·+·2; |
84 | ········} | 83 | ········} |
85 | ········HighLevelEncoder.CHAR_MAP[n4][32]·=·n4; | 84 | ········HighLevelEncoder.CHAR_MAP[n4][32]·=·n4; |
86 | ········for·(int·j·=·97;·j·<=·122;·++j)·{ | 85 | ········for·(int·j·=·97;·j·<=·122;·++j)·{ |
87 | ············HighLevelEncoder.CHAR_MAP[n4][j]·=·j·-·97·+·2; | 86 | ············HighLevelEncoder.CHAR_MAP[n4][j]·=·j·-·97·+·2; |
88 | ········} | 87 | ········} |
Offset 118, 15 lines modified | Offset 117, 15 lines modified | ||
118 | ········array12[21]·=·92; | 117 | ········array12[21]·=·92; |
119 | ········array12[22]·=·94; | 118 | ········array12[22]·=·94; |
120 | ········array12[23]·=·95; | 119 | ········array12[23]·=·95; |
121 | ········array12[24]·=·96; | 120 | ········array12[24]·=·96; |
122 | ········array12[25]·=·124; | 121 | ········array12[25]·=·124; |
123 | ········array12[26]·=·126; | 122 | ········array12[26]·=·126; |
124 | ········array12[27]·=·127; | 123 | ········array12[27]·=·127; |
125 | ········for·(int·l·=·0;·l·<· | 124 | ········for·(int·l·=·0;·l·<·28;·++l)·{ |
126 | ············HighLevelEncoder.CHAR_MAP[3][array11[l]]·=·l; | 125 | ············HighLevelEncoder.CHAR_MAP[3][array11[l]]·=·l; |
127 | ········} | 126 | ········} |
128 | ········final·int[]·array14; | 127 | ········final·int[]·array14; |
129 | ········final·int[]·array13·=·array14·=·new·int[31]; | 128 | ········final·int[]·array13·=·array14·=·new·int[31]; |
130 | ········array14[0]·=·0; | 129 | ········array14[0]·=·0; |
131 | ········array14[1]·=·13; | 130 | ········array14[1]·=·13; |
132 | ········array14[3]·=·(array14[2]·=·0); | 131 | ········array14[3]·=·(array14[2]·=·0); |
Offset 152, 23 lines modified | Offset 151, 22 lines modified | ||
152 | ········array14[24]·=·61; | 151 | ········array14[24]·=·61; |
153 | ········array14[25]·=·62; | 152 | ········array14[25]·=·62; |
154 | ········array14[26]·=·63; | 153 | ········array14[26]·=·63; |
155 | ········array14[27]·=·91; | 154 | ········array14[27]·=·91; |
156 | ········array14[28]·=·93; | 155 | ········array14[28]·=·93; |
157 | ········array14[29]·=·123; | 156 | ········array14[29]·=·123; |
158 | ········array14[30]·=·125; | 157 | ········array14[30]·=·125; |
159 | ········for·(int·n5·=·0;·n5·<· | 158 | ········for·(int·n5·=·0;·n5·<·31;·++n5)·{ |
160 | ············if·(array13[n5]·>·0)·{ | 159 | ············if·(array13[n5]·>·0)·{ |
161 | ················HighLevelEncoder.CHAR_MAP[n][array13[n5]]·=·n5; | 160 | ················HighLevelEncoder.CHAR_MAP[n][array13[n5]]·=·n5; |
162 | ············} | 161 | ············} |
163 | ········} | 162 | ········} |
164 | ········SHIFT_TABLE·=·(int[][])Array.newInstance(Integer.TYPE,·6,·6); | 163 | ········final·int[][]·array15·=·SHIFT_TABLE·=·(int[][])Array.newInstance(Integer.TYPE,·6,·6); |
165 | ········final·int[][]·shift_TABLE·=·HighLevelEncoder.SHIFT_TABLE; | ||
166 | ········for·(int·length·=· | 164 | ········for·(int·length·=·array15.length,·n6·=·0;·n6·<·length;·++n6)·{ |
167 | ············Arrays.fill( | 165 | ············Arrays.fill(array15[n6],·-1); |
168 | ········} | 166 | ········} |
169 | ········HighLevelEncoder.SHIFT_TABLE[0][n]·=·0; | 167 | ········HighLevelEncoder.SHIFT_TABLE[0][n]·=·0; |
170 | ········HighLevelEncoder.SHIFT_TABLE[n4][n]·=·0; | 168 | ········HighLevelEncoder.SHIFT_TABLE[n4][n]·=·0; |
171 | ········HighLevelEncoder.SHIFT_TABLE[n4][0]·=·28; | 169 | ········HighLevelEncoder.SHIFT_TABLE[n4][0]·=·28; |
172 | ········HighLevelEncoder.SHIFT_TABLE[3][n]·=·0; | 170 | ········HighLevelEncoder.SHIFT_TABLE[3][n]·=·0; |
173 | ········HighLevelEncoder.SHIFT_TABLE[n3][n]·=·0; | 171 | ········HighLevelEncoder.SHIFT_TABLE[n3][n]·=·0; |
174 | ········HighLevelEncoder.SHIFT_TABLE[n3][0]·=·15; | 172 | ········HighLevelEncoder.SHIFT_TABLE[n3][0]·=·15; |
Offset 329, 57 lines modified | Offset 329, 59 lines modified | ||
329 | ·······225:·istore········9 | 329 | ·······225:·istore········9 |
330 | ·······227:·goto··········132 | 330 | ·······227:·goto··········132 |
331 | ··com.google.zxing.aztec.encoder.State·endBinaryShift(int); | 331 | ··com.google.zxing.aztec.encoder.State·endBinaryShift(int); |
332 | ····descriptor:·(I)Lcom/google/zxing/aztec/encoder/State; | 332 | ····descriptor:·(I)Lcom/google/zxing/aztec/encoder/State; |
333 | ····flags:·(0x0000) | 333 | ····flags:·(0x0000) |
334 | ····Code: | 334 | ····Code: |
335 | ······stack=300,·locals= | 335 | ······stack=300,·locals=8,·args_size=2 |
336 | ·········0:·aload_0 | 336 | ·········0:·aload_0 |
337 | ·········1:·getfield······#32·················//·Field·binaryShiftByteCount:I | 337 | ·········1:·getfield······#32·················//·Field·binaryShiftByteCount:I |
338 | ·········4:·istore_2 | 338 | ·········4:·istore_2 |
339 | ·········5:·iload_2 | 339 | ·········5:·iload_2 |
340 | ·········6:·ifne··········11 | 340 | ·········6:·ifne··········11 |
341 | ·········9:·aload_0 | 341 | ·········9:·aload_0 |
342 | ········10:·areturn | 342 | ········10:·areturn |
343 | ········11:·aload_0 | 343 | ········11:·aload_0 |
344 | ········12:·getfield······#28·················//·Field·token:Lcom/google/zxing/aztec/encoder/Token; | 344 | ········12:·getfield······#28·················//·Field·token:Lcom/google/zxing/aztec/encoder/Token; |
345 | ········15:·astore_3 | 345 | ········15:·astore_3 |
346 | ········16:·aload_0 | 346 | ········16:·aload_0 |
347 | ········17:·getfield······#32·················//·Field·binaryShiftByteCount:I | 347 | ········17:·getfield······#32·················//·Field·binaryShiftByteCount:I |
348 | ········20:·istore | 348 | ········20:·istore········4 |
349 | ········2 | 349 | ········22:·iload_1 |
350 | ········2 | 350 | ········23:·iload·········4 |
351 | ········2 | 351 | ········25:·isub |
352 | ········2 | 352 | ········26:·istore········4 |
353 | ········2 | 353 | ········28:·aload_0 |
354 | ········2 | 354 | ········29:·getfield······#32·················//·Field·binaryShiftByteCount:I |
355 | ········ | 355 | ········32:·istore········5 |
356 | ········3 | 356 | ········34:·aload_3 |
357 | ········32:·iload_2 | ||
358 | ········3 | 357 | ········35:·iload·········4 |
358 | ········37:·iload·········5 | ||
359 | ········3 | 359 | ········39:·invokevirtual·#60·················//·Method·com/google/zxing/aztec/encoder/Token.addBinaryShift:(II)Lcom/google/zxing/aztec/encoder/Token; |
360 | ········ | 360 | ········42:·astore········6 |
361 | ········ | 361 | ········44:·new···········#2··················//·class·com/google/zxing/aztec/encoder/State |
362 | ········4 | 362 | ········47:·astore_3 |
363 | ········4 | 363 | ········48:·aload_0 |
364 | ········4 | 364 | ········49:·getfield······#30·················//·Field·mode:I |
365 | ········ | 365 | ········52:·istore········4 |
366 | ········54:·iconst_0 | ||
367 | ········55:·istore········5 | ||
366 | ········5 | 368 | ········57:·aload_0 |
367 | ········5 | 369 | ········58:·getfield······#34·················//·Field·bitCount:I |
368 | ········ | 370 | ········61:·istore········7 |
371 | ········63:·aload_3 | ||
369 | ········ | 372 | ········64:·aload·········6 |
370 | ········58:·aload_3 | ||
371 | ········ | 373 | ········66:·iload·········4 |
372 | ········6 | 374 | ········68:·iconst_0 |
373 | ········6 | 375 | ········69:·iload·········7 |
374 | ········ | 376 | ········71:·invokespecial·#21·················//·Method·"<init>":(Lcom/google/zxing/aztec/encoder/Token;III)V |
375 | ········ | 377 | ········74:·aload_3 |
376 | ········ | 378 | ········75:·astore_0 |
377 | ········7 | 379 | ········76:·goto··········9 |
378 | ··int·getBinaryShiftByteCount(); | 380 | ··int·getBinaryShiftByteCount(); |
379 | ····descriptor:·()I | 381 | ····descriptor:·()I |
380 | ····flags:·(0x0000) | 382 | ····flags:·(0x0000) |
381 | ····Code: | 383 | ····Code: |
382 | ······stack=300,·locals=1,·args_size=1 | 384 | ······stack=300,·locals=1,·args_size=1 |
383 | ·········0:·aload_0 | 385 | ·········0:·aload_0 |
Offset 625, 15 lines modified | Offset 627, 15 lines modified | ||
625 | ·······101:·istore········7 | 627 | ·······101:·istore········7 |
626 | ·······103:·goto··········27 | 628 | ·······103:·goto··········27 |
627 | ··com.google.zxing.common.BitArray·toBitArray(byte[]); | 629 | ··com.google.zxing.common.BitArray·toBitArray(byte[]); |
628 | ····descriptor:·([B)Lcom/google/zxing/common/BitArray; | 630 | ····descriptor:·([B)Lcom/google/zxing/common/BitArray; |
629 | ····flags:·(0x0000) | 631 | ····flags:·(0x0000) |
630 | ····Code: | 632 | ····Code: |
631 | ······stack=300,·locals= | 633 | ······stack=300,·locals=8,·args_size=2 |
632 | ·········0:·new···········#67·················//·class·java/util/LinkedList | 634 | ·········0:·new···········#67·················//·class·java/util/LinkedList |
633 | ·········3:·astore_2 | 635 | ·········3:·astore_2 |
634 | ·········4:·aload_2 | 636 | ·········4:·aload_2 |
635 | ·········5:·invokespecial·#68·················//·Method·java/util/LinkedList."<init>":()V | 637 | ·········5:·invokespecial·#68·················//·Method·java/util/LinkedList."<init>":()V |
636 | ·········8:·aload_1 | 638 | ·········8:·aload_1 |
637 | ·········9:·arraylength | 639 | ·········9:·arraylength |
638 | ········10:·istore_3 | 640 | ········10:·istore_3 |
Offset 655, 31 lines modified | Offset 657, 31 lines modified | ||
655 | ········45:·goto··········25 | 657 | ········45:·goto··········25 |
656 | ········48:·new···········#80·················//·class·com/google/zxing/common/BitArray | 658 | ········48:·new···········#80·················//·class·com/google/zxing/common/BitArray |
657 | ········51:·astore········6 | 659 | ········51:·astore········6 |
658 | ········53:·aload·········6 | 660 | ········53:·aload·········6 |
659 | ········55:·invokespecial·#81·················//·Method·com/google/zxing/common/BitArray."<init>":()V | 661 | ········55:·invokespecial·#81·················//·Method·com/google/zxing/common/BitArray."<init>":()V |
660 | ········58:·aload_2 | 662 | ········58:·aload_2 |
661 | ········59:·invokeinterface·#85,··1···········//·InterfaceMethod·java/util/Deque.iterator:()Ljava/util/Iterator; | 663 | ········59:·invokeinterface·#85,··1···········//·InterfaceMethod·java/util/Deque.iterator:()Ljava/util/Iterator; |
662 | ········64:·astore········ | 664 | ········64:·astore········7 |
663 | ········66:·aload········· | 665 | ········66:·aload·········7 |
664 | ········68:·invokeinterface·#91,··1···········//·InterfaceMethod·java/util/Iterator.hasNext:()Z | 666 | ········68:·invokeinterface·#91,··1···········//·InterfaceMethod·java/util/Iterator.hasNext:()Z |
665 | ········73:·istore | 667 | ········73:·istore_3 |
666 | ········7 | 668 | ········74:·iload_3 |
667 | ········7 | 669 | ········75:·ifeq··········101 |
668 | ········ | 670 | ········78:·aload·········7 |
669 | ········8 | 671 | ········80:·invokeinterface·#95,··1···········//·InterfaceMethod·java/util/Iterator.next:()Ljava/lang/Object; |
670 | ········8 | 672 | ········85:·checkcast·····#14·················//·class·com/google/zxing/aztec/encoder/Token |
671 | ········ | 673 | ········88:·astore········4 |
674 | ········90:·aload·········4 | ||
672 | ········92:·aload········· | 675 | ········92:·aload·········6 |
673 | ········94:·aload·········6 | ||
674 | ········9 | 676 | ········94:·aload_1 |
675 | ········9 | 677 | ········95:·invokevirtual·#99·················//·Method·com/google/zxing/aztec/encoder/Token.appendTo:(Lcom/google/zxing/common/BitArray;[B)V |
676 | ······· | 678 | ········98:·goto··········66 |
677 | ·······10 | 679 | ·······101:·aload·········6 |
678 | ·······10 | 680 | ·······103:·areturn |
679 | ··public·java.lang.String·toString(); | 681 | ··public·java.lang.String·toString(); |
680 | ····descriptor:·()Ljava/lang/String; | 682 | ····descriptor:·()Ljava/lang/String; |
681 | ····flags:·(0x0001)·ACC_PUBLIC | 683 | ····flags:·(0x0001)·ACC_PUBLIC |
682 | ····Code: | 684 | ····Code: |
683 | ······stack=300,·locals=4,·args_size=1 | 685 | ······stack=300,·locals=4,·args_size=1 |
684 | ·········0:·iconst_3 | 686 | ·········0:·iconst_3 |
Offset 20, 15 lines modified | Offset 20, 15 lines modified | ||
20 | ···· | 20 | ···· |
21 | ····BitArray(final·int[]·bits,·final·int·size)·{ | 21 | ····BitArray(final·int[]·bits,·final·int·size)·{ |
22 | ········this.bits·=·bits; | 22 | ········this.bits·=·bits; |
23 | ········this.size·=·size; | 23 | ········this.size·=·size; |
24 | ····} | 24 | ····} |
25 | ···· | 25 | ···· |
26 | ····private·void·ensureCapacity(final·int·n)·{ | 26 | ····private·void·ensureCapacity(final·int·n)·{ |
27 | ········if·(n·>·this.bits.length· | 27 | ········if·(n·>·this.bits.length·<<·5)·{ |
28 | ············final·int[]·array·=·makeArray(n); | 28 | ············final·int[]·array·=·makeArray(n); |
29 | ············System.arraycopy(this.bits,·0,·array,·0,·this.bits.length); | 29 | ············System.arraycopy(this.bits,·0,·array,·0,·this.bits.length); |
30 | ············this.bits·=·array; | 30 | ············this.bits·=·array; |
31 | ········} | 31 | ········} |
32 | ····} | 32 | ····} |
33 | ···· | 33 | ···· |
34 | ····private·static·int[]·makeArray(final·int·n)·{ | 34 | ····private·static·int[]·makeArray(final·int·n)·{ |
Offset 115, 15 lines modified | Offset 115, 15 lines modified | ||
115 | ············for·(n3·=·n·/·32,·i·=·(this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·this.bits[n3])·{ | 115 | ············for·(n3·=·n·/·32,·i·=·(this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·this.bits[n3])·{ |
116 | ················++n3; | 116 | ················++n3; |
117 | ················if·(n3·==·this.bits.length)·{ | 117 | ················if·(n3·==·this.bits.length)·{ |
118 | ····················n2·=·this.size; | 118 | ····················n2·=·this.size; |
119 | ····················return·n2; | 119 | ····················return·n2; |
120 | ················} | 120 | ················} |
121 | ············} | 121 | ············} |
122 | ············n2·=·n3· | 122 | ············n2·=·(n3·<<·5)·+·Integer.numberOfTrailingZeros(i); |
123 | ············if·(n2·>·this.size)·{ | 123 | ············if·(n2·>·this.size)·{ |
124 | ················n2·=·this.size; | 124 | ················n2·=·this.size; |
125 | ············} | 125 | ············} |
126 | ········} | 126 | ········} |
127 | ········return·n2; | 127 | ········return·n2; |
128 | ····} | 128 | ····} |
129 | ···· | 129 | ···· |
Offset 138, 15 lines modified | Offset 138, 15 lines modified | ||
138 | ············for·(n3·=·n·/·32,·i·=·(~this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·~this.bits[n3])·{ | 138 | ············for·(n3·=·n·/·32,·i·=·(~this.bits[n3]·&·~((1·<<·(n·&·0x1F))·-·1));·i·==·0;·i·=·~this.bits[n3])·{ |
139 | ················++n3; | 139 | ················++n3; |
140 | ················if·(n3·==·this.bits.length)·{ | 140 | ················if·(n3·==·this.bits.length)·{ |
141 | ····················n2·=·this.size; | 141 | ····················n2·=·this.size; |
142 | ····················return·n2; | 142 | ····················return·n2; |
143 | ················} | 143 | ················} |
144 | ············} | 144 | ············} |
145 | ············n2·=·n3· | 145 | ············n2·=·(n3·<<·5)·+·Integer.numberOfTrailingZeros(i); |
146 | ············if·(n2·>·this.size)·{ | 146 | ············if·(n2·>·this.size)·{ |
147 | ················n2·=·this.size; | 147 | ················n2·=·this.size; |
148 | ············} | 148 | ············} |
149 | ········} | 149 | ········} |
150 | ········return·n2; | 150 | ········return·n2; |
151 | ····} | 151 | ····} |
152 | ···· | 152 | ···· |
Offset 160, 85 lines modified | Offset 160, 71 lines modified | ||
160 | ···· | 160 | ···· |
161 | ····@Override | 161 | ····@Override |
162 | ····public·int·hashCode()·{ | 162 | ····public·int·hashCode()·{ |
163 | ········return·this.size·*·31·+·Arrays.hashCode(this.bits); | 163 | ········return·this.size·*·31·+·Arrays.hashCode(this.bits); |
164 | ····} | 164 | ····} |
165 | ···· | 165 | ···· |
166 | ····public·boolean·isRange(final·int·n,·int·n2,·final·boolean·b)·{ | 166 | ····public·boolean·isRange(final·int·n,·int·n2,·final·boolean·b)·{ |
167 | ········final·int·n3·=·31; | ||
168 | ········int·n | 167 | ········int·n3·=·1; |
169 | ········if·(n2·<·n)·{ | 168 | ········if·(n2·<·n·||·n·<·0·||·n2·>·this.size)·{ |
170 | ············throw·new·IllegalArgumentException(); | 169 | ············throw·new·IllegalArgumentException(); |
171 | ········} | 170 | ········} |
172 | ········if·(n2·!=·n)·{ | 171 | ········if·(n2·!=·n)·{ |
173 | ············--n2; | 172 | ············--n2; |
174 | ············final·int·n | 173 | ············final·int·n4·=·n·/·32; |
175 | ············for·(int·n | 174 | ············for·(int·n5·=·n2·/·32,·i·=·n4;·i·<=·n5;·++i)·{ |
176 | ················int·n | 175 | ················int·n6; |
177 | ················if·(i·>·n | 176 | ················if·(i·>·n4)·{ |
178 | ····················n | 177 | ····················n6·=·0; |
179 | ················} | ||
180 | ················else·{ | ||
181 | ····················n7·=·(n·&·0x1F); | ||
182 | ················} | ||
183 | ················int·n8; | ||
184 | ················if·(i·<·n6)·{ | ||
185 | ····················n8·=·n3; | ||
186 | ················} | 178 | ················} |
187 | ················else·{ | 179 | ················else·{ |
188 | ····················n | 180 | ····················n6·=·(n·&·0x1F); |
189 | ················} | 181 | ················} |
190 | ················int·n | 182 | ················int·n7; |
191 | ················if·( | 183 | ················if·(i·<·n5)·{ |
192 | ····················n | 184 | ····················n7·=·31; |
193 | ················} | 185 | ················} |
194 | ················else·{ | 186 | ················else·{ |
195 | ····················n | 187 | ····················n7·=·(n2·&·0x1F); |
196 | ····················for·(int·j·=·n7;·j·<=·n8;·++j)·{ | ||
197 | ························n9·|=·n4·<<·j; | ||
198 | ····················} | ||
199 | ················} | 188 | ················} |
189 | ················int·n8·=·(2·<<·n7)·-·(n3·<<·n6); | ||
200 | ················final·int·n | 190 | ················final·int·n9·=·this.bits[i]·&·n8; |
201 | ················if·(!b)·{ | 191 | ················if·(!b)·{ |
202 | ····················n | 192 | ····················n8·=·0; |
203 | ················} | 193 | ················} |
204 | ················if·(n | 194 | ················if·(n9·!=·n8)·{ |
205 | ····················n | 195 | ····················n3·=·0; |
206 | ····················break; | 196 | ····················break; |
207 | ················} | 197 | ················} |
208 | ············} | 198 | ············} |
209 | ········} | 199 | ········} |
210 | ········return·n | 200 | ········return·n3·!=·0; |
211 | ····} | 201 | ····} |
212 | ···· | 202 | ···· |
213 | ····public·void·reverse()·{ | 203 | ····public·void·reverse()·{ |
214 | ········final·int[]·bits·=·new·int[this.bits.length]; | 204 | ········final·int[]·bits·=·new·int[this.bits.length]; |
215 | ········final·int·n·=·(this.size·-·1)·/·32; | 205 | ········final·int·n·=·(this.size·-·1)·/·32; |
216 | ········final·int·n2·=·n·+·1; | 206 | ········final·int·n2·=·n·+·1; |
217 | ········for·(int·i·=·0;·i·<·n2;·++i)·{ | 207 | ········for·(int·i·=·0;·i·<·n2;·++i)·{ |
218 | ············final·long·n3·=·(long)this.bits[i]; | 208 | ············final·long·n3·=·(long)this.bits[i]; |
219 | ············final·long·n4·=·(n3·>>·1·&·0x55555555L)·|·(0x55555555L·&·n3)·<<·1; | 209 | ············final·long·n4·=·(n3·>>·1·&·0x55555555L)·|·(0x55555555L·&·n3)·<<·1; |
220 | ············final·long·n5·=·(n4·>>·2·&·0x33333333L)·|·(0x33333333L·&·n4)·<<·2; | 210 | ············final·long·n5·=·(n4·>>·2·&·0x33333333L)·|·(0x33333333L·&·n4)·<<·2; |
221 | ············final·long·n6·=·(n5·>>·4·&·0xF0F0F0FL)·|·(0xF0F0F0FL·&·n5)·<<·4; | 211 | ············final·long·n6·=·(n5·>>·4·&·0xF0F0F0FL)·|·(0xF0F0F0FL·&·n5)·<<·4; |
222 | ············final·long·n7·=·(n6·>>·8·&·0xFF00FFL)·|·(0xFF00FFL·&·n6)·<<·8; | 212 | ············final·long·n7·=·(n6·>>·8·&·0xFF00FFL)·|·(0xFF00FFL·&·n6)·<<·8; |
223 | ············bits[n·-·i]·=·(int)((n7·>>·16·&·(long)(char)(-1))·|·((long)(char)(-1)·&·n7)·<<·16); | 213 | ············bits[n·-·i]·=·(int)((n7·>>·16·&·(long)(char)(-1))·|·((long)(char)(-1)·&·n7)·<<·16); |
224 | ········} | 214 | ········} |
225 | ········if·(this.size·!=·n2· | 215 | ········if·(this.size·!=·n2·<<·5)·{ |
226 | ············final·int·n8·=·n2· | 216 | ············final·int·n8·=·(n2·<<·5)·-·this.size; |
227 | ············int·n9·=·1; | ||
228 | ············for·(int·j·=·0;·j·<·31·-·n8;·++j)·{ | ||
229 | ················n9·=·(n9·<<·1·|·0x1); | ||
230 | ············} | ||
231 | ············int·n | 217 | ············int·n9·=·bits[0]·>>>·n8; |
232 | ············for·(int· | 218 | ············for·(int·j·=·1;·j·<·n2;·++j)·{ |
233 | ················final·int·n1 | 219 | ················final·int·n10·=·bits[j]; |
234 | ················bits[ | 220 | ················bits[j·-·1]·=·(n9·|·n10·<<·32·-·n8); |
235 | ················n | 221 | ················n9·=·n10·>>>·n8; |
236 | ············} | 222 | ············} |
237 | ············bits[n2·-·1]·=·n | 223 | ············bits[n2·-·1]·=·n9; |
Max diff block lines reached; 2512/7728 bytes (32.51%) of diff not shown. |
Offset 11, 16 lines modified | Offset 11, 15 lines modified | ||
11 | ····private·final·int·width; | 11 | ····private·final·int·width; |
12 | ···· | 12 | ···· |
13 | ····public·BitMatrix(final·int·n)·{ | 13 | ····public·BitMatrix(final·int·n)·{ |
14 | ········this(n,·n); | 14 | ········this(n,·n); |
15 | ····} | 15 | ····} |
16 | ···· | 16 | ···· |
17 | ····public·BitMatrix(final·int·width,·final·int·height)·{ | 17 | ····public·BitMatrix(final·int·width,·final·int·height)·{ |
18 | ········final·int·n·=·1; | ||
19 | ········if·(width·<· | 18 | ········if·(width·<=·0·||·height·<=·0)·{ |
20 | ············throw·new·IllegalArgumentException("Both·dimensions·must·be·greater·than·0"); | 19 | ············throw·new·IllegalArgumentException("Both·dimensions·must·be·greater·than·0"); |
21 | ········} | 20 | ········} |
22 | ········this.width·=·width; | 21 | ········this.width·=·width; |
23 | ········this.height·=·height; | 22 | ········this.height·=·height; |
24 | ········this.rowSize·=·(width·+·31)·/·32; | 23 | ········this.rowSize·=·(width·+·31)·/·32; |
25 | ········this.bits·=·new·int[this.rowSize·*·height]; | 24 | ········this.bits·=·new·int[this.rowSize·*·height]; |
26 | ····} | 25 | ····} |
Offset 28, 14 lines modified | Offset 27, 32 lines modified | ||
28 | ····private·BitMatrix(final·int·width,·final·int·height,·final·int·rowSize,·final·int[]·bits)·{ | 27 | ····private·BitMatrix(final·int·width,·final·int·height,·final·int·rowSize,·final·int[]·bits)·{ |
29 | ········this.width·=·width; | 28 | ········this.width·=·width; |
30 | ········this.height·=·height; | 29 | ········this.height·=·height; |
31 | ········this.rowSize·=·rowSize; | 30 | ········this.rowSize·=·rowSize; |
32 | ········this.bits·=·bits; | 31 | ········this.bits·=·bits; |
33 | ····} | 32 | ····} |
34 | ···· | 33 | ···· |
34 | ····private·String·buildToString(final·String·s,·final·String·s2,·final·String·str)·{ | ||
35 | ········final·StringBuilder·sb·=·new·StringBuilder(this.height·*·(this.width·+·1)); | ||
36 | ········for·(int·i·=·0;·i·<·this.height;·++i)·{ | ||
37 | ············for·(int·j·=·0;·j·<·this.width;·++j)·{ | ||
38 | ················String·str2; | ||
39 | ················if·(this.get(j,·i))·{ | ||
40 | ····················str2·=·s; | ||
41 | ················} | ||
42 | ················else·{ | ||
43 | ····················str2·=·s2; | ||
44 | ················} | ||
45 | ················sb.append(str2); | ||
46 | ············} | ||
47 | ············sb.append(str); | ||
48 | ········} | ||
49 | ········return·sb.toString(); | ||
50 | ····} | ||
51 | ···· | ||
35 | ····public·static·BitMatrix·parse(final·String·s,·final·String·anObject,·final·String·anObject2)·{ | 52 | ····public·static·BitMatrix·parse(final·String·s,·final·String·anObject,·final·String·anObject2)·{ |
36 | ········final·int·n·=·-1; | 53 | ········final·int·n·=·-1; |
37 | ········if·(s·==·null)·{ | 54 | ········if·(s·==·null)·{ |
38 | ············throw·new·IllegalArgumentException(); | 55 | ············throw·new·IllegalArgumentException(); |
39 | ········} | 56 | ········} |
40 | ········final·boolean[]·array·=·new·boolean[s.length()]; | 57 | ········final·boolean[]·array·=·new·boolean[s.length()]; |
41 | ········int·n2·=·0; | 58 | ········int·n2·=·0; |
Offset 126, 15 lines modified | Offset 143, 15 lines modified | ||
126 | ········for·(n·=·this.bits.length·-·1;·n·>=·0·&&·this.bits[n]·==·0;·--n)·{} | 143 | ········for·(n·=·this.bits.length·-·1;·n·>=·0·&&·this.bits[n]·==·0;·--n)·{} |
127 | ········int[]·array; | 144 | ········int[]·array; |
128 | ········if·(n·<·0)·{ | 145 | ········if·(n·<·0)·{ |
129 | ············array·=·null; | 146 | ············array·=·null; |
130 | ········} | 147 | ········} |
131 | ········else·{ | 148 | ········else·{ |
132 | ············final·int·n2·=·n·/·this.rowSize; | 149 | ············final·int·n2·=·n·/·this.rowSize; |
133 | ············final·int·n3·=·n·%·this.rowSize· | 150 | ············final·int·n3·=·n·%·this.rowSize·<<·5; |
134 | ············int·n4; | 151 | ············int·n4; |
135 | ············int·n5; | 152 | ············int·n5; |
136 | ············for·(n4·=·this.bits[n],·n5·=·31;·n4·>>>·n5·==·0;·--n5)·{} | 153 | ············for·(n4·=·this.bits[n],·n5·=·31;·n4·>>>·n5·==·0;·--n5)·{} |
137 | ············array·=·new·int[]·{·n3·+·n5,·n2·}; | 154 | ············array·=·new·int[]·{·n3·+·n5,·n2·}; |
138 | ········} | 155 | ········} |
139 | ········return·array; | 156 | ········return·array; |
140 | ····} | 157 | ····} |
Offset 150, 39 lines modified | Offset 167, 37 lines modified | ||
150 | ················if·(n3·!=·0)·{ | 167 | ················if·(n3·!=·0)·{ |
151 | ····················if·(i·<·height)·{ | 168 | ····················if·(i·<·height)·{ |
152 | ························height·=·i; | 169 | ························height·=·i; |
153 | ····················} | 170 | ····················} |
154 | ····················if·(i·>·n2)·{ | 171 | ····················if·(i·>·n2)·{ |
155 | ························n2·=·i; | 172 | ························n2·=·i; |
156 | ····················} | 173 | ····················} |
157 | ····················if·(j· | 174 | ····················if·(j·<<·5·<·width)·{ |
158 | ························int·n4; | 175 | ························int·n4; |
159 | ························for·(n4·=·0;·n3·<<·31·-·n4·==·0;·++n4)·{} | 176 | ························for·(n4·=·0;·n3·<<·31·-·n4·==·0;·++n4)·{} |
160 | ························if·(j· | 177 | ························if·((j·<<·5)·+·n4·<·width)·{ |
161 | ····························width·=·j· | 178 | ····························width·=·(j·<<·5)·+·n4; |
162 | ························} | 179 | ························} |
163 | ····················} | 180 | ····················} |
164 | ····················if·(j· | 181 | ····················if·((j·<<·5)·+·31·>·n)·{ |
165 | ························int·n5; | 182 | ························int·n5; |
166 | ························for·(n5·=·31;·n3·>>>·n5·==·0;·--n5)·{} | 183 | ························for·(n5·=·31;·n3·>>>·n5·==·0;·--n5)·{} |
167 | ························if·(j· | 184 | ························if·((j·<<·5)·+·n5·>·n)·{ |
168 | ····························n·=·j· | 185 | ····························n·=·(j·<<·5)·+·n5; |
169 | ························} | 186 | ························} |
170 | ····················} | 187 | ····················} |
171 | ················} | 188 | ················} |
172 | ············} | 189 | ············} |
173 | ········} | 190 | ········} |
174 | ········final·int·n6·=·n·-·width; | ||
175 | ········final·int·n7·=·n2·-·height; | ||
176 | ········int[]·array; | 191 | ········int[]·array; |
177 | ········if·(n | 192 | ········if·(n·<·width·||·n2·<·height)·{ |
178 | ············array·=·null; | 193 | ············array·=·null; |
179 | ········} | 194 | ········} |
180 | ········else·{ | 195 | ········else·{ |
181 | ············array·=·new·int[]·{·width,·height,·n | 196 | ············array·=·new·int[]·{·width,·height,·n·-·width·+·1,·n2·-·height·+·1·}; |
182 | ········} | 197 | ········} |
183 | ········return·array; | 198 | ········return·array; |
184 | ····} | 199 | ····} |
185 | ···· | 200 | ···· |
186 | ····public·int·getHeight()·{ | 201 | ····public·int·getHeight()·{ |
187 | ········return·this.height; | 202 | ········return·this.height; |
188 | ····} | 203 | ····} |
Offset 192, 15 lines modified | Offset 207, 15 lines modified | ||
192 | ············bitArray·=·new·BitArray(this.width); | 207 | ············bitArray·=·new·BitArray(this.width); |
193 | ········} | 208 | ········} |
194 | ········else·{ | 209 | ········else·{ |
195 | ············bitArray.clear(); | 210 | ············bitArray.clear(); |
196 | ········} | 211 | ········} |
197 | ········final·int·n2·=·n·*·this.rowSize; | 212 | ········final·int·n2·=·n·*·this.rowSize; |
198 | ········for·(int·i·=·0;·i·<·this.rowSize;·++i)·{ | 213 | ········for·(int·i·=·0;·i·<·this.rowSize;·++i)·{ |
199 | ············bitArray.setBulk(i· | 214 | ············bitArray.setBulk(i·<<·5,·this.bits[n2·+·i]); |
200 | ········} | 215 | ········} |
201 | ········return·bitArray; | 216 | ········return·bitArray; |
202 | ····} | 217 | ····} |
203 | ···· | 218 | ···· |
204 | ····public·int·getRowSize()·{ | 219 | ····public·int·getRowSize()·{ |
205 | ········return·this.rowSize; | 220 | ········return·this.rowSize; |
206 | ····} | 221 | ····} |
Offset 210, 15 lines modified | Offset 225, 15 lines modified | ||
210 | ········for·(n·=·0;·n·<·this.bits.length·&&·this.bits[n]·==·0;·++n)·{} | 225 | ········for·(n·=·0;·n·<·this.bits.length·&&·this.bits[n]·==·0;·++n)·{} |
211 | ········int[]·array; | 226 | ········int[]·array; |
212 | ········if·(n·==·this.bits.length)·{ | 227 | ········if·(n·==·this.bits.length)·{ |
213 | ············array·=·null; | 228 | ············array·=·null; |
214 | ········} | 229 | ········} |
Max diff block lines reached; 3199/7761 bytes (41.22%) of diff not shown. |
Offset 22, 15 lines modified | Offset 22, 15 lines modified | ||
22 | ····public·int·getByteOffset()·{ | 22 | ····public·int·getByteOffset()·{ |
23 | ········return·this.byteOffset; | 23 | ········return·this.byteOffset; |
24 | ····} | 24 | ····} |
25 | ···· | 25 | ···· |
26 | ····public·int·readBits(int·i)·{ | 26 | ····public·int·readBits(int·i)·{ |
27 | ········final·int·n·=·255; | 27 | ········final·int·n·=·255; |
28 | ········final·int·n2·=·8; | 28 | ········final·int·n2·=·8; |
29 | ········if·(i·<· | 29 | ········if·(i·<=·0·||·i·>·32·||·i·>·this.available())·{ |
30 | ············throw·new·IllegalArgumentException(String.valueOf(i)); | 30 | ············throw·new·IllegalArgumentException(String.valueOf(i)); |
31 | ········} | 31 | ········} |
32 | ········int·n3·=·0; | 32 | ········int·n3·=·0; |
33 | ········if·(this.bitOffset·>·0)·{ | 33 | ········if·(this.bitOffset·>·0)·{ |
34 | ············final·int·n4·=·8·-·this.bitOffset; | 34 | ············final·int·n4·=·8·-·this.bitOffset; |
35 | ············int·n5; | 35 | ············int·n5; |
36 | ············if·(i·<·n4)·{ | 36 | ············if·(i·<·n4)·{ |
Offset 5, 27 lines modified | Offset 5, 36 lines modified | ||
5 | public·final·class·DecoderResult | 5 | public·final·class·DecoderResult |
6 | { | 6 | { |
7 | ····private·final·List·byteSegments; | 7 | ····private·final·List·byteSegments; |
8 | ····private·final·String·ecLevel; | 8 | ····private·final·String·ecLevel; |
9 | ····private·Integer·erasures; | 9 | ····private·Integer·erasures; |
10 | ····private·Integer·errorsCorrected; | 10 | ····private·Integer·errorsCorrected; |
11 | ····private·int·numBits; | ||
11 | ····private·Object·other; | 12 | ····private·Object·other; |
12 | ····private·final·byte[]·rawBytes; | 13 | ····private·final·byte[]·rawBytes; |
13 | ····private·final·int·structuredAppendParity; | 14 | ····private·final·int·structuredAppendParity; |
14 | ····private·final·int·structuredAppendSequenceNumber; | 15 | ····private·final·int·structuredAppendSequenceNumber; |
15 | ····private·final·String·text; | 16 | ····private·final·String·text; |
16 | ···· | 17 | ···· |
17 | ····public·DecoderResult(final·byte[]·array,·final·String·s,·final·List·list,·final·String·s2)·{ | 18 | ····public·DecoderResult(final·byte[]·array,·final·String·s,·final·List·list,·final·String·s2)·{ |
18 | ········final·int·n·=·-1; | 19 | ········final·int·n·=·-1; |
19 | ········this(array,·s,·list,·s2,·n,·n); | 20 | ········this(array,·s,·list,·s2,·n,·n); |
20 | ····} | 21 | ····} |
21 | ···· | 22 | ···· |
22 | ····public·DecoderResult(final·byte[]·rawBytes,·final·String·text,·final·List·byteSegments,·final·String·ecLevel,·final·int·structuredAppendSequenceNumber,·final·int·structuredAppendParity)·{ | 23 | ····public·DecoderResult(final·byte[]·rawBytes,·final·String·text,·final·List·byteSegments,·final·String·ecLevel,·final·int·structuredAppendSequenceNumber,·final·int·structuredAppendParity)·{ |
23 | ········this.rawBytes·=·rawBytes; | 24 | ········this.rawBytes·=·rawBytes; |
25 | ········int·numBits; | ||
26 | ········if·(rawBytes·==·null)·{ | ||
27 | ············numBits·=·0; | ||
28 | ········} | ||
29 | ········else·{ | ||
30 | ············numBits·=·rawBytes.length·*·8; | ||
31 | ········} | ||
32 | ········this.numBits·=·numBits; | ||
24 | ········this.text·=·text; | 33 | ········this.text·=·text; |
25 | ········this.byteSegments·=·byteSegments; | 34 | ········this.byteSegments·=·byteSegments; |
26 | ········this.ecLevel·=·ecLevel; | 35 | ········this.ecLevel·=·ecLevel; |
27 | ········this.structuredAppendParity·=·structuredAppendParity; | 36 | ········this.structuredAppendParity·=·structuredAppendParity; |
28 | ········this.structuredAppendSequenceNumber·=·structuredAppendSequenceNumber; | 37 | ········this.structuredAppendSequenceNumber·=·structuredAppendSequenceNumber; |
29 | ····} | 38 | ····} |
30 | ···· | 39 | ···· |
Offset 41, 14 lines modified | Offset 50, 18 lines modified | ||
41 | ········return·this.erasures; | 50 | ········return·this.erasures; |
42 | ····} | 51 | ····} |
43 | ···· | 52 | ···· |
44 | ····public·Integer·getErrorsCorrected()·{ | 53 | ····public·Integer·getErrorsCorrected()·{ |
45 | ········return·this.errorsCorrected; | 54 | ········return·this.errorsCorrected; |
46 | ····} | 55 | ····} |
47 | ···· | 56 | ···· |
57 | ····public·int·getNumBits()·{ | ||
58 | ········return·this.numBits; | ||
59 | ····} | ||
60 | ···· | ||
48 | ····public·Object·getOther()·{ | 61 | ····public·Object·getOther()·{ |
49 | ········return·this.other; | 62 | ········return·this.other; |
50 | ····} | 63 | ····} |
51 | ···· | 64 | ···· |
52 | ····public·byte[]·getRawBytes()·{ | 65 | ····public·byte[]·getRawBytes()·{ |
53 | ········return·this.rawBytes; | 66 | ········return·this.rawBytes; |
54 | ····} | 67 | ····} |
Offset 73, 11 lines modified | Offset 86, 15 lines modified | ||
73 | ········this.erasures·=·erasures; | 86 | ········this.erasures·=·erasures; |
74 | ····} | 87 | ····} |
75 | ···· | 88 | ···· |
76 | ····public·void·setErrorsCorrected(final·Integer·errorsCorrected)·{ | 89 | ····public·void·setErrorsCorrected(final·Integer·errorsCorrected)·{ |
77 | ········this.errorsCorrected·=·errorsCorrected; | 90 | ········this.errorsCorrected·=·errorsCorrected; |
78 | ····} | 91 | ····} |
79 | ···· | 92 | ···· |
93 | ····public·void·setNumBits(final·int·numBits)·{ | ||
94 | ········this.numBits·=·numBits; | ||
95 | ····} | ||
96 | ···· | ||
80 | ····public·void·setOther(final·Object·other)·{ | 97 | ····public·void·setOther(final·Object·other)·{ |
81 | ········this.other·=·other; | 98 | ········this.other·=·other; |
82 | ····} | 99 | ····} |
83 | } | 100 | } |
Offset 19, 161 lines modified | Offset 19, 157 lines modified | ||
19 | ········PLATFORM_DEFAULT_ENCODING·=·Charset.defaultCharset().name(); | 19 | ········PLATFORM_DEFAULT_ENCODING·=·Charset.defaultCharset().name(); |
20 | ····} | 20 | ····} |
21 | ···· | 21 | ···· |
22 | ····private·StringUtils()·{ | 22 | ····private·StringUtils()·{ |
23 | ····} | 23 | ····} |
24 | ···· | 24 | ···· |
25 | ····public·static·String·guessEncoding(final·byte[]·array,·final·Map·map)·{ | 25 | ····public·static·String·guessEncoding(final·byte[]·array,·final·Map·map)·{ |
26 | ········String·s; | ||
27 | ········if·(map·!=·null·&&·map.containsKey(DecodeHintType.CHARACTER_SET))·{ | ||
28 | ············s·=·map.get(DecodeHintType.CHARACTER_SET).toString(); | ||
26 | ········Label_0025:·{ | ||
27 | ············if·(map·==·null)·{ | ||
28 | ················break·Label_0025; | ||
29 | ············} | ||
30 | ············final·String·platform_DEFAULT_ENCODING·=·(String)map.get(DecodeHintType.CHARACTER_SET); | ||
31 | ············if·(platform_DEFAULT_ENCODING·==·null)·{ | ||
32 | ················break·Label_0025; | ||
33 | ············} | ||
34 | ············return·platform_DEFAULT_ENCODING; | ||
35 | ········} | 29 | ········} |
30 | ········else·{ | ||
36 | ········final·int·length·=·array.length; | 31 | ············final·int·length·=·array.length; |
37 | ········int·n·=·1; | 32 | ············int·n·=·1; |
38 | ········int·n2·=·1; | 33 | ············int·n2·=·1; |
39 | ········int·n3·=·1; | 34 | ············int·n3·=·1; |
40 | ········int·n4·=·0; | 35 | ············int·n4·=·0; |
41 | ········int·n5·=·0; | 36 | ············int·n5·=·0; |
42 | ········int·n6·=·0; | 37 | ············int·n6·=·0; |
43 | ········int·n7·=·0; | 38 | ············int·n7·=·0; |
44 | ········int·n8·=·0; | 39 | ············int·n8·=·0; |
45 | ········int·n9·=·0; | 40 | ············int·n9·=·0; |
46 | ········int·n10·=·0; | 41 | ············int·n10·=·0; |
47 | ········int·n11·=·0; | 42 | ············int·n11·=·0; |
48 | ········int·n12·=·0; | 43 | ············int·n12·=·0; |
49 | ········int·n13·=·0; | 44 | ············int·n13·=·0; |
50 | ········int·n14·=·0; | 45 | ············int·n14·=·0; |
51 | ········final·byte·b2; | 46 | ············final·byte·b2; |
52 | ········final·byte·b3; | 47 | ············final·byte·b3; |
53 | ········final·byte·b4; | 48 | ············final·byte·b4; |
54 | ········final·boolean·b·=·array.length·>·3·&&·(b2·=·array[0])·==·-17·&&·(b3·=·array[1])·==·-69·&&·(b4·=·array[2])·==·-65; | 49 | ············final·boolean·b·=·array.length·>·3·&&·(b2·=·array[0])·==·-17·&&·(b3·=·array[1])·==·-69·&&·(b4·=·array[2])·==·-65; |
55 | ········for·(int·n15·=·0;·n15·<·length·&&·(n·!=·0·||·n2·!=·0·||·n3·!=·0);·++n15)·{ | 50 | ············for·(int·n15·=·0;·n15·<·length·&&·(n·!=·0·||·n2·!=·0·||·n3·!=·0);·++n15)·{ |
56 | ············final·int·n17; | 51 | ················final·int·n17; |
57 | ············final·int·n16·=·n17·=·(array[n15]·&·0xFF); | 52 | ················final·int·n16·=·n17·=·(array[n15]·&·0xFF); |
53 | ················Label_0232:·{ | ||
58 | ············if·(n3·!=·0)·{ | 54 | ····················if·(n3·!=·0)·{ |
59 | ················if·(n4·>·0)·{ | 55 | ························if·(n4·>·0)·{ |
60 | ····················if·((n16·&·0x80)·==·0x0)·{ | ||
61 | ························n3·=·0; | ||
62 | ····················} | ||
63 | ····················else·{ | ||
64 | ························--n4; | ||
65 | ····················} | ||
66 | ················} | ||
67 | ················else·if·((n16·&·0x80)·!=·0x0)·{ | ||
68 | ····················if·((n17·&·0x40)·==·0x0)·{ | ||
69 | ························n3·=·0; | ||
70 | ····················} | ||
71 | ····················else·{ | ||
72 | ························++n4; | ||
73 | ························if·((n1 | 56 | ····························if·((n16·&·0x80)·!=·0x0)·{ |
57 | ································--n4; | ||
58 | ································break·Label_0232; | ||
74 | ···························· | 59 | ····························} |
75 | ························} | 60 | ························} |
76 | ························else·{ | 61 | ························else·{ |
77 | ····························++n4; | ||
78 | ····························if·((n1 | 62 | ····························if·((n16·&·0x80)·==·0x0)·{ |
79 | ································ | 63 | ································break·Label_0232; |
80 | ····························} | 64 | ····························} |
65 | ····························if·((n17·&·0x40)·!=·0x0)·{ | ||
66 | ································++n4; | ||
67 | ································if·((n17·&·0x20)·==·0x0)·{ | ||
68 | ····································++n5; | ||
69 | ····································break·Label_0232; | ||
81 | ···························· | 70 | ································} |
71 | ································++n4; | ||
72 | ································if·((n17·&·0x10)·==·0x0)·{ | ||
73 | ····································++n6; | ||
74 | ····································break·Label_0232; | ||
75 | ································} | ||
82 | ································++n4; | 76 | ································++n4; |
83 | ································if·((n17·&·0x8)·==·0x0)·{ | 77 | ································if·((n17·&·0x8)·==·0x0)·{ |
84 | ····································++n7; | 78 | ····································++n7; |
85 | ································} | ||
86 | ································else·{ | ||
87 | ···································· | 79 | ····································break·Label_0232; |
88 | ································} | 80 | ································} |
89 | ····························} | 81 | ····························} |
90 | ························} | 82 | ························} |
83 | ························n3·=·0; | ||
91 | ····················} | 84 | ····················} |
92 | ················} | 85 | ················} |
93 | ············} | ||
94 | ············if·(n·!=·0)·{ | 86 | ················if·(n·!=·0)·{ |
95 | ················if·(n17·>·127·&&·n17·<·160)·{ | 87 | ····················if·(n17·>·127·&&·n17·<·160)·{ |
96 | ····················n·=·0; | ||
97 | ················} | ||
98 | ················else·{ | ||
99 | ····················final·int·n18; | ||
100 | ····················if·((n18·=·n17)·>·159·&&·(n17·<·192·||·n17·==·215·||·n17·==·247))·{ | ||
101 | ························++n14; | ||
102 | ····················} | ||
103 | ················} | ||
104 | ············} | ||
105 | ············if·(n2·!=·0)·{ | ||
106 | ················if·(n8·>·0)·{ | ||
107 | ····················if·(n17·<·64·||·n17·==·127·||·n17·>·252)·{ | ||
108 | ························n | 88 | ························n·=·0; |
109 | ····················} | 89 | ····················} |
110 | ····················else·{ | 90 | ····················else·{ |
91 | ························final·int·n18; | ||
92 | ························if·((n18·=·n17)·>·159·&&·(n17·<·192·||·n17·==·215·||·n17·==·247))·{ | ||
93 | ····························++n14; | ||
111 | ························ | 94 | ························} |
112 | ····················} | 95 | ····················} |
113 | ················} | 96 | ················} |
114 | ················else·if·(n17·==·128·||·n17·==·160·||·n17·>·239)·{ | ||
115 | ················ | 97 | ················if·(n2·!=·0)·{ |
116 | ················} | ||
117 | ················else·if·(n17·>·160·&&·n17·<·224)·{ | ||
118 | ····················++n9; | ||
119 | ····················n11·=·0; | ||
120 | ····················++n10; | ||
121 | ····················if·(n | 98 | ····················if·(n8·>·0)·{ |
99 | ························if·(n17·<·64·||·n17·==·127·||·n17·>·252)·{ | ||
122 | ························ | 100 | ····························n2·=·0; |
101 | ························} | ||
Max diff block lines reached; 3605/9700 bytes (37.16%) of diff not shown. |
Offset 24, 8 lines modified | Offset 24, 16 lines modified | ||
24 | ············n2·=·-0.5f; | 24 | ············n2·=·-0.5f; |
25 | ········} | 25 | ········} |
26 | ········else·{ | 26 | ········else·{ |
27 | ············n2·=·0.5f; | 27 | ············n2·=·0.5f; |
28 | ········} | 28 | ········} |
29 | ········return·(int)(n2·+·n); | 29 | ········return·(int)(n2·+·n); |
30 | ····} | 30 | ····} |
31 | ···· | ||
32 | ····public·static·int·sum(final·int[]·array)·{ | ||
33 | ········int·n·=·0; | ||
34 | ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{ | ||
35 | ············n·+=·array[i]; | ||
36 | ········} | ||
37 | ········return·n; | ||
38 | ····} | ||
31 | } | 39 | } |
Offset 133, 44 lines modified | Offset 133, 44 lines modified | ||
133 | ····················throw·NotFoundException.getNotFoundInstance(); | 133 | ····················throw·NotFoundException.getNotFoundInstance(); |
134 | ················} | 134 | ················} |
135 | ················ResultPoint·resultPoint; | 135 | ················ResultPoint·resultPoint; |
136 | ················if·(n2·==·0)·{ | 136 | ················if·(n2·==·0)·{ |
137 | ····················final·int·n12·=·n10·-·n6; | 137 | ····················final·int·n12·=·n10·-·n6; |
138 | ····················if·(array[0]·<·n)·{ | 138 | ····················if·(array[0]·<·n)·{ |
139 | ························if·(array[1]·>·n)·{ | 139 | ························if·(array[1]·>·n)·{ |
140 | ···························· | 140 | ····························int·n13; |
141 | ····························if·(n6·>·0)·{ | 141 | ····························if·(n6·>·0)·{ |
142 | ································n13·=· | 142 | ································n13·=·0; |
143 | ····························} | 143 | ····························} |
144 | ····························else·{ | 144 | ····························else·{ |
145 | ································n13·=· | 145 | ································n13·=·1; |
146 | ····························} | 146 | ····························} |
147 | ····························resultPoint·=·new·ResultPoint(n13,·(float)n12); | 147 | ····························resultPoint·=·new·ResultPoint((float)array[n13],·(float)n12); |
148 | ························} | 148 | ························} |
149 | ························else·{ | 149 | ························else·{ |
150 | ····························resultPoint·=·new·ResultPoint((float)array[0],·(float)n12); | 150 | ····························resultPoint·=·new·ResultPoint((float)array[0],·(float)n12); |
151 | ························} | 151 | ························} |
152 | ····················} | 152 | ····················} |
153 | ····················else·{ | 153 | ····················else·{ |
154 | ························resultPoint·=·new·ResultPoint((float)array[1],·(float)n12); | 154 | ························resultPoint·=·new·ResultPoint((float)array[1],·(float)n12); |
155 | ····················} | 155 | ····················} |
156 | ················} | 156 | ················} |
157 | ················else·{ | 157 | ················else·{ |
158 | ····················final·int·n14·=·n11·-·n2; | 158 | ····················final·int·n14·=·n11·-·n2; |
159 | ····················if·(array[0]·<·n5)·{ | 159 | ····················if·(array[0]·<·n5)·{ |
160 | ························if·(array[1]·>·n5)·{ | 160 | ························if·(array[1]·>·n5)·{ |
161 | ····························final·float·n15·=·(float)n14; | 161 | ····························final·float·n15·=·(float)n14; |
162 | ···························· | 162 | ····························int·n16; |
163 | ····························if·(n2·<·0)·{ | 163 | ····························if·(n2·<·0)·{ |
164 | ································n16·=· | 164 | ································n16·=·0; |
165 | ····························} | 165 | ····························} |
166 | ····························else·{ | 166 | ····························else·{ |
167 | ································n16·=· | 167 | ································n16·=·1; |
168 | ····························} | 168 | ····························} |
169 | ····························resultPoint·=·new·ResultPoint(n15,·n16); | 169 | ····························resultPoint·=·new·ResultPoint(n15,·(float)array[n16]); |
170 | ························} | 170 | ························} |
171 | ························else·{ | 171 | ························else·{ |
172 | ····························resultPoint·=·new·ResultPoint((float)n14,·(float)array[0]); | 172 | ····························resultPoint·=·new·ResultPoint((float)n14,·(float)array[0]); |
173 | ························} | 173 | ························} |
174 | ····················} | 174 | ····················} |
175 | ····················else·{ | 175 | ····················else·{ |
176 | ························resultPoint·=·new·ResultPoint((float)n14,·(float)array[1]); | 176 | ························resultPoint·=·new·ResultPoint((float)n14,·(float)array[1]); |
Offset 186, 49 lines modified | Offset 186, 33 lines modified | ||
186 | ············b2·=·true; | 186 | ············b2·=·true; |
187 | ········} | 187 | ········} |
188 | ········if·(b·||·!b2)·{ | 188 | ········if·(b·||·!b2)·{ |
189 | ············throw·NotFoundException.getNotFoundInstance(); | 189 | ············throw·NotFoundException.getNotFoundInstance(); |
190 | ········} | 190 | ········} |
191 | ········final·int·n6·=·rightInit·-·leftInit; | 191 | ········final·int·n6·=·rightInit·-·leftInit; |
192 | ········ResultPoint·blackPointOnSegment·=·null; | 192 | ········ResultPoint·blackPointOnSegment·=·null; |
193 | ········int·n8; | ||
194 | ········for·(int·n7·=·1;·blackPointOnSegment·==·null·&&·n7·<·(n8·=·n6);·blackPointOnSegment·=·this.getBlackPointOnSegment((float)leftInit,·(float)(downInit·-·n7),·(float)(leftInit·+·n7),·(float)downInit),·++n7)·{} | ||
193 | ········for·(int·j·=·1;·j·<·n6;·++j)·{ | ||
194 | ············blackPointOnSegment·=·this.getBlackPointOnSegment((float)leftInit,·(float)(downInit·-·j),·(float)(leftInit·+·j),·(float)downInit); | ||
195 | ············if·(blackPointOnSegment·!=·null)·{ | ||
196 | ················break; | ||
197 | ············} | ||
198 | ········} | ||
199 | ········if·(blackPointOnSegment·==·null)·{ | 195 | ········if·(blackPointOnSegment·==·null)·{ |
200 | ············throw·NotFoundException.getNotFoundInstance(); | 196 | ············throw·NotFoundException.getNotFoundInstance(); |
201 | ········} | 197 | ········} |
202 | ········ResultPoint·blackPointOnSegment2·=·null; | 198 | ········ResultPoint·blackPointOnSegment2·=·null; |
199 | ········int·n10; | ||
200 | ········for·(int·n9·=·1;·blackPointOnSegment2·==·null·&&·n9·<·(n10·=·n6);·blackPointOnSegment2·=·this.getBlackPointOnSegment((float)leftInit,·(float)(upInit·+·n9),·(float)(leftInit·+·n9),·(float)upInit),·++n9)·{} | ||
203 | ········for·(int·k·=·1;·k·<·n6;·++k)·{ | ||
204 | ············blackPointOnSegment2·=·this.getBlackPointOnSegment((float)leftInit,·(float)(upInit·+·k),·(float)(leftInit·+·k),·(float)upInit); | ||
205 | ············if·(blackPointOnSegment2·!=·null)·{ | ||
206 | ················break; | ||
207 | ············} | ||
208 | ········} | ||
209 | ········if·(blackPointOnSegment2·==·null)·{ | 201 | ········if·(blackPointOnSegment2·==·null)·{ |
210 | ············throw·NotFoundException.getNotFoundInstance(); | 202 | ············throw·NotFoundException.getNotFoundInstance(); |
211 | ········} | 203 | ········} |
212 | ········ResultPoint·blackPointOnSegment3·=·null; | 204 | ········ResultPoint·blackPointOnSegment3·=·null; |
205 | ········int·n12; | ||
206 | ········for·(int·n11·=·1;·blackPointOnSegment3·==·null·&&·n11·<·(n12·=·n6);·blackPointOnSegment3·=·this.getBlackPointOnSegment((float)rightInit,·(float)(upInit·+·n11),·(float)(rightInit·-·n11),·(float)upInit),·++n11)·{} | ||
213 | ········for·(int·l·=·1;·l·<·n6;·++l)·{ | ||
214 | ············blackPointOnSegment3·=·this.getBlackPointOnSegment((float)rightInit,·(float)(upInit·+·l),·(float)(rightInit·-·l),·(float)upInit); | ||
215 | ············if·(blackPointOnSegment3·!=·null)·{ | ||
216 | ················break; | ||
217 | ············} | ||
218 | ········} | ||
219 | ········if·(blackPointOnSegment3·==·null)·{ | 207 | ········if·(blackPointOnSegment3·==·null)·{ |
220 | ············throw·NotFoundException.getNotFoundInstance(); | 208 | ············throw·NotFoundException.getNotFoundInstance(); |
221 | ········} | 209 | ········} |
222 | ········ResultPoint·blackPointOnSegment4·=·null; | 210 | ········ResultPoint·blackPointOnSegment4·=·null; |
211 | ········int·n14; | ||
212 | ········for·(int·n13·=·1;·blackPointOnSegment4·==·null·&&·n13·<·(n14·=·n6);·blackPointOnSegment4·=·this.getBlackPointOnSegment((float)rightInit,·(float)(downInit·-·n13),·(float)(rightInit·-·n13),·(float)downInit),·++n13)·{} | ||
223 | ········for·(int·n7·=·1;·n7·<·n6;·++n7)·{ | ||
224 | ············blackPointOnSegment4·=·this.getBlackPointOnSegment((float)rightInit,·(float)(downInit·-·n7),·(float)(rightInit·-·n7),·(float)downInit); | ||
225 | ············if·(blackPointOnSegment4·!=·null)·{ | ||
226 | ················break; | ||
227 | ············} | ||
228 | ········} | ||
229 | ········if·(blackPointOnSegment4·==·null)·{ | 213 | ········if·(blackPointOnSegment4·==·null)·{ |
230 | ············throw·NotFoundException.getNotFoundInstance(); | 214 | ············throw·NotFoundException.getNotFoundInstance(); |
231 | ········} | 215 | ········} |
232 | ········return·this.centerEdges(blackPointOnSegment4,·blackPointOnSegment,·blackPointOnSegment3,·blackPointOnSegment2); | 216 | ········return·this.centerEdges(blackPointOnSegment4,·blackPointOnSegment,·blackPointOnSegment3,·blackPointOnSegment2); |
233 | ····} | 217 | ····} |
234 | } | 218 | } |
Offset 23, 30 lines modified | Offset 23, 29 lines modified | ||
23 | ········final·int·n·=·256; | 23 | ········final·int·n·=·256; |
24 | ········final·int·n2·=·1; | 24 | ········final·int·n2·=·1; |
25 | ········AZTEC_DATA_12·=·new·GenericGF(4201,·4096,·n2); | 25 | ········AZTEC_DATA_12·=·new·GenericGF(4201,·4096,·n2); |
26 | ········AZTEC_DATA_10·=·new·GenericGF(1033,·1024,·n2); | 26 | ········AZTEC_DATA_10·=·new·GenericGF(1033,·1024,·n2); |
27 | ········AZTEC_DATA_6·=·new·GenericGF(67,·64,·n2); | 27 | ········AZTEC_DATA_6·=·new·GenericGF(67,·64,·n2); |
28 | ········AZTEC_PARAM·=·new·GenericGF(19,·16,·n2); | 28 | ········AZTEC_PARAM·=·new·GenericGF(19,·16,·n2); |
29 | ········QR_CODE_FIELD_256·=·new·GenericGF(285,·n,·0); | 29 | ········QR_CODE_FIELD_256·=·new·GenericGF(285,·n,·0); |
30 | ········DATA_MATRIX_FIELD_256·=·new·GenericGF(301,·n,·n2); | 30 | ········AZTEC_DATA_8·=·(DATA_MATRIX_FIELD_256·=·new·GenericGF(301,·n,·n2)); |
31 | ········AZTEC_DATA_8·=·GenericGF.DATA_MATRIX_FIELD_256; | ||
32 | ········MAXICODE_FIELD_64·=·GenericGF.AZTEC_DATA_6; | 31 | ········MAXICODE_FIELD_64·=·GenericGF.AZTEC_DATA_6; |
33 | ····} | 32 | ····} |
34 | ···· | 33 | ···· |
35 | ····public·GenericGF(final·int·primitive,·final·int·size,·final·int·generatorBase)·{ | 34 | ····public·GenericGF(final·int·primitive,·final·int·size,·final·int·generatorBase)·{ |
36 | ········final·int·n·=·1; | 35 | ········final·int·n·=·1; |
37 | ········this.primitive·=·primitive; | 36 | ········this.primitive·=·primitive; |
38 | ········this.size·=·size; | 37 | ········this.size·=·size; |
39 | ········this.generatorBase·=·generatorBase; | 38 | ········this.generatorBase·=·generatorBase; |
40 | ········this.expTable·=·new·int[size]; | 39 | ········this.expTable·=·new·int[size]; |
41 | ········this.logTable·=·new·int[size]; | 40 | ········this.logTable·=·new·int[size]; |
42 | ········int·n2·=·1; | 41 | ········int·n2·=·1; |
43 | ········for·(int·i·=·0;·i·<·size;·++i)·{ | 42 | ········for·(int·i·=·0;·i·<·size;·++i)·{ |
44 | ············this.expTable[i]·=·n2; | 43 | ············this.expTable[i]·=·n2; |
45 | ············n2· | 44 | ············n2·<<=·1; |
46 | ············if·(n2·>=·size)·{ | 45 | ············if·(n2·>=·size)·{ |
47 | ················n2·=·((n2·^·primitive)·&·size·-·1); | 46 | ················n2·=·((n2·^·primitive)·&·size·-·1); |
48 | ············} | 47 | ············} |
49 | ········} | 48 | ········} |
50 | ········for·(int·j·=·0;·j·<·size·-·1;·++j)·{ | 49 | ········for·(int·j·=·0;·j·<·size·-·1;·++j)·{ |
51 | ············this.logTable[this.expTable[j]]·=·j; | 50 | ············this.logTable[this.expTable[j]]·=·j; |
52 | ········} | 51 | ········} |
Offset 80, 27 lines modified | Offset 80, 24 lines modified | ||
80 | ···· | 80 | ···· |
81 | ····int·evaluateAt(final·int·n)·{ | 81 | ····int·evaluateAt(final·int·n)·{ |
82 | ········int·i·=·0; | 82 | ········int·i·=·0; |
83 | ········int·n2; | 83 | ········int·n2; |
84 | ········if·(n·==·0)·{ | 84 | ········if·(n·==·0)·{ |
85 | ············n2·=·this.getCoefficient(0); | 85 | ············n2·=·this.getCoefficient(0); |
86 | ········} | 86 | ········} |
87 | ········else·{ | ||
88 | ············final·int·length·=·this.coefficients.length; | ||
89 | ········ | 87 | ········else·if·(n·==·1)·{ |
90 | ············ | 88 | ············n2·=·0; |
91 | ············ | 89 | ············for·(int[]·coefficients·=·this.coefficients;·i·<·coefficients.length;·++i)·{ |
92 | ················ | 90 | ················n2·=·GenericGF.addOrSubtract(n2,·coefficients[i]); |
93 | ················} | ||
94 | ············} | 91 | ············} |
92 | ········} | ||
95 | ········ | 93 | ········else·{ |
96 | ············ | 94 | ············n2·=·this.coefficients[0]; |
97 | ················ | 95 | ············for·(int·length·=·this.coefficients.length,·j·=·1;·j·<·length;·++j)·{ |
98 | ················ | 96 | ················n2·=·GenericGF.addOrSubtract(this.field.multiply(n,·n2),·this.coefficients[j]); |
99 | ················} | ||
100 | ············} | 97 | ············} |
101 | ········} | 98 | ········} |
102 | ········return·n2; | 99 | ········return·n2; |
103 | ····} | 100 | ····} |
104 | ···· | 101 | ···· |
105 | ····int·getCoefficient(final·int·n)·{ | 102 | ····int·getCoefficient(final·int·n)·{ |
106 | ········return·this.coefficients[this.coefficients.length·-·1·-·n]; | 103 | ········return·this.coefficients[this.coefficients.length·-·1·-·n]; |
Offset 101, 15 lines modified | Offset 101, 15 lines modified | ||
101 | ····} | 101 | ····} |
102 | ···· | 102 | ···· |
103 | ····public·void·decode(final·int[]·array,·final·int·n)·{ | 103 | ····public·void·decode(final·int[]·array,·final·int·n)·{ |
104 | ········final·GenericGFPoly·genericGFPoly·=·new·GenericGFPoly(this.field,·array); | 104 | ········final·GenericGFPoly·genericGFPoly·=·new·GenericGFPoly(this.field,·array); |
105 | ········final·int[]·array2·=·new·int[n]; | 105 | ········final·int[]·array2·=·new·int[n]; |
106 | ········boolean·b·=·true; | 106 | ········boolean·b·=·true; |
107 | ········for·(int·i·=·0;·i·<·n;·++i)·{ | 107 | ········for·(int·i·=·0;·i·<·n;·++i)·{ |
108 | ············if·((array2[ | 108 | ············if·((array2[n·-·1·-·i]·=·genericGFPoly.evaluateAt(this.field.exp(this.field.getGeneratorBase()·+·i)))·!=·0)·{ |
109 | ················b·=·false; | 109 | ················b·=·false; |
110 | ············} | 110 | ············} |
111 | ········} | 111 | ········} |
112 | ········if·(!b)·{ | 112 | ········if·(!b)·{ |
113 | ············final·GenericGFPoly[]·runEuclideanAlgorithm·=·this.runEuclideanAlgorithm(this.field.buildMonomial(n,·1),·new·GenericGFPoly(this.field,·array2),·n); | 113 | ············final·GenericGFPoly[]·runEuclideanAlgorithm·=·this.runEuclideanAlgorithm(this.field.buildMonomial(n,·1),·new·GenericGFPoly(this.field,·array2),·n); |
114 | ············final·GenericGFPoly·genericGFPoly2·=·runEuclideanAlgorithm[0]; | 114 | ············final·GenericGFPoly·genericGFPoly2·=·runEuclideanAlgorithm[0]; |
115 | ············final·GenericGFPoly·genericGFPoly3·=·runEuclideanAlgorithm[1]; | 115 | ············final·GenericGFPoly·genericGFPoly3·=·runEuclideanAlgorithm[1]; |
Offset 295, 71 lines modified | Offset 295, 67 lines modified | ||
295 | ········64:·aload_1 | 295 | ········64:·aload_1 |
296 | ········65:·iconst_0 | 296 | ········65:·iconst_0 |
297 | ········66:·aload·········8 | 297 | ········66:·aload·········8 |
298 | ········68:·iconst_0 | 298 | ········68:·iconst_0 |
299 | ········69:·iload·········6 | 299 | ········69:·iload·········6 |
300 | ········71:·invokestatic··#72·················//·Method·java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V | 300 | ········71:·invokestatic··#72·················//·Method·java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V |
301 | ········74:·new···········#22·················//·class·com/google/zxing/common/reedsolomon/GenericGFPoly | 301 | ········74:·new···········#22·················//·class·com/google/zxing/common/reedsolomon/GenericGFPoly |
302 | ········77:·astore········ | 302 | ········77:·astore········4 |
303 | ········79:·aload_0 | 303 | ········79:·aload_0 |
304 | ········80:·getfield······#15·················//·Field·field:Lcom/google/zxing/common/reedsolomon/GenericGF; | 304 | ········80:·getfield······#15·················//·Field·field:Lcom/google/zxing/common/reedsolomon/GenericGF; |
305 | ········83:·astore········ | 305 | ········83:·astore········9 |
306 | ········85:·aload········· | 306 | ········85:·aload·········4 |
307 | ········87:·aload········· | 307 | ········87:·aload·········9 |
308 | ········89:·aload·········8 | 308 | ········89:·aload·········8 |
309 | ········91:·invokespecial·#25·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly."<init>":(Lcom/google/zxing/common/reedsolomon/GenericGF;[I)V | 309 | ········91:·invokespecial·#25·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly."<init>":(Lcom/google/zxing/common/reedsolomon/GenericGF;[I)V |
310 | ········94:·aload········· | 310 | ········94:·aload·········4 |
311 | ········96:·iload_2 | 311 | ········96:·iload_2 |
312 | ········97:·iload_3 | 312 | ········97:·iload_3 |
313 | ········98:·invokevirtual·#76·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.multiplyByMonomial:(II)Lcom/google/zxing/common/reedsolomon/GenericGFPoly; | 313 | ········98:·invokevirtual·#76·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.multiplyByMonomial:(II)Lcom/google/zxing/common/reedsolomon/GenericGFPoly; |
314 | ·······101:·astore········9 | ||
315 | ·······103:·aload·········9 | ||
316 | ·······10 | 314 | ·······101:·aload·········7 |
317 | ·······10 | 315 | ·······103:·invokevirtual·#80·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.divide:(Lcom/google/zxing/common/reedsolomon/GenericGFPoly;)[Lcom/google/zxing/common/reedsolomon/GenericGFPoly; |
316 | ·······106:·iload_3 | ||
317 | ·······107:·aaload | ||
318 | ·······1 | 318 | ·······108:·astore········4 |
319 | ·······11 | 319 | ·······110:·aload·········4 |
320 | ·······114:·iload_3 | ||
321 | ·······115:·aaload | ||
322 | ·······116:·astore········10 | ||
323 | ·······118:·aload·········10 | ||
324 | ·······1 | 320 | ·······112:·invokevirtual·#84·················//·Method·com/google/zxing/common/reedsolomon/GenericGFPoly.getCoefficients:()[I |
325 | ·······1 | 321 | ·······115:·astore········10 |
326 | ·······1 | 322 | ·······117:·aload·········10 |
327 | ·······1 | 323 | ·······119:·arraylength |
328 | ·······12 | 324 | ·······120:·istore········5 |
329 | ·······1 | 325 | ·······122:·iload_2 |
330 | ·······1 | 326 | ·······123:·iload·········5 |
331 | ·······1 | 327 | ·······125:·isub |
328 | ·······126:·istore········11 | ||
329 | ·······128:·iconst_0 | ||
332 | ·······1 | 330 | ·······129:·istore········12 |
333 | ·······136:·iconst_0 | ||
334 | ·······137:·istore········13 | ||
335 | ·······139:·iload·········13 | ||
336 | ·······1 | 331 | ·······131:·iload·········12 |
332 | ·······133:·iload·········11 | ||
337 | ·······1 | 333 | ·······135:·if_icmpge·····159 |
334 | ·······138:·iload·········6 | ||
335 | ·······140:·iload·········12 | ||
336 | ·······142:·iadd | ||
337 | ·······143:·istore········5 | ||
338 | ·······145:·aload_1 | ||
338 | ·······146:·iload········· | 339 | ·······146:·iload·········5 |
340 | ·······148:·iconst_0 | ||
341 | ·······149:·iastore | ||
339 | ·······1 | 342 | ·······150:·iload·········12 |
343 | ·······152:·iconst_1 | ||
340 | ·······15 | 344 | ·······153:·iadd |
341 | ·······15 | 345 | ·······154:·istore········12 |
342 | ·······15 | 346 | ·······156:·goto··········131 |
343 | ·······15 | 347 | ·······159:·iload·········6 |
344 | ·······156:·iconst_0 | ||
345 | ·······157:·iastore | ||
346 | ·······1 | 348 | ·······161:·iload·········11 |
347 | ·······160:·iconst_1 | ||
348 | ·······16 | 349 | ·······163:·iadd |
350 | ·······164:·istore········5 | ||
351 | ·······166:·aload·········10 | ||
352 | ·······168:·arraylength | ||
349 | ·······16 | 353 | ·······169:·istore········13 |
350 | ·······164:·goto··········139 | ||
351 | ·······167:·iload·········6 | ||
352 | ·······169:·iload·········12 | ||
353 | ·······171:·iadd | ||
354 | ·······172:·istore········5 | ||
355 | ·······17 | 354 | ·······171:·aload·········10 |
356 | ·······176:·arraylength | ||
357 | ·······177:·istore_3 | ||
358 | ·······178:·aload·········11 | ||
359 | ·······1 | 355 | ·······173:·iconst_0 |
360 | ·······1 | 356 | ·······174:·aload_1 |
361 | ·······1 | 357 | ·······175:·iload·········5 |
362 | ·······1 | 358 | ·······177:·iload·········13 |
363 | ·······1 | 359 | ·······179:·invokestatic··#72·················//·Method·java/lang/System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V |
364 | ·······18 | 360 | ·······182:·return |
365 | } | 361 | } |
Offset 16, 19 lines modified | Offset 16, 15 lines modified | ||
16 | ············throw·FormatException.getFormatInstance(); | 16 | ············throw·FormatException.getFormatInstance(); |
17 | ········} | 17 | ········} |
18 | ········this.version·=·readVersion(bitMatrix); | 18 | ········this.version·=·readVersion(bitMatrix); |
19 | ········this.mappingBitMatrix·=·this.extractDataRegion(bitMatrix); | 19 | ········this.mappingBitMatrix·=·this.extractDataRegion(bitMatrix); |
20 | ········this.readMappingMatrix·=·new·BitMatrix(this.mappingBitMatrix.getWidth(),·this.mappingBitMatrix.getHeight()); | 20 | ········this.readMappingMatrix·=·new·BitMatrix(this.mappingBitMatrix.getWidth(),·this.mappingBitMatrix.getHeight()); |
21 | ····} | 21 | ····} |
22 | ···· | 22 | ···· |
23 | ····private·static·Version·readVersion(final·BitMatrix·bitMatrix)·{ | ||
24 | ········return·Version.getVersionForDimensions(bitMatrix.getHeight(),·bitMatrix.getWidth()); | ||
25 | ····} | ||
26 | ···· | ||
27 | ····BitMatrix·extractDataRegion(final·BitMatrix·bitMatrix)·{ | 23 | ····private·BitMatrix·extractDataRegion(final·BitMatrix·bitMatrix)·{ |
28 | ········final·int·symbolSizeRows·=·this.version.getSymbolSizeRows(); | 24 | ········final·int·symbolSizeRows·=·this.version.getSymbolSizeRows(); |
29 | ········final·int·symbolSizeColumns·=·this.version.getSymbolSizeColumns(); | 25 | ········final·int·symbolSizeColumns·=·this.version.getSymbolSizeColumns(); |
30 | ········if·(bitMatrix.getHeight()·!=·symbolSizeRows)·{ | 26 | ········if·(bitMatrix.getHeight()·!=·symbolSizeRows)·{ |
31 | ············throw·new·IllegalArgumentException("Dimension·of·bitMarix·must·match·the·version·size"); | 27 | ············throw·new·IllegalArgumentException("Dimension·of·bitMarix·must·match·the·version·size"); |
32 | ········} | 28 | ········} |
33 | ········final·int·dataRegionSizeRows·=·this.version.getDataRegionSizeRows(); | 29 | ········final·int·dataRegionSizeRows·=·this.version.getDataRegionSizeRows(); |
34 | ········final·int·dataRegionSizeColumns·=·this.version.getDataRegionSizeColumns(); | 30 | ········final·int·dataRegionSizeColumns·=·this.version.getDataRegionSizeColumns(); |
Offset 49, 114 lines modified | Offset 45, 20 lines modified | ||
49 | ····················} | 45 | ····················} |
50 | ················} | 46 | ················} |
51 | ············} | 47 | ············} |
52 | ········} | 48 | ········} |
53 | ········return·bitMatrix2; | 49 | ········return·bitMatrix2; |
54 | ····} | 50 | ····} |
55 | ···· | 51 | ···· |
56 | ····Version·getVersion()·{ | ||
57 | ········return·this.version; | ||
58 | ····} | ||
59 | ···· | ||
60 | ····byte[]·readCodewords()·{ | ||
61 | ········final·byte[]·array·=·new·byte[this.version.getTotalCodewords()]; | ||
62 | ········int·n·=·4; | ||
63 | ········int·n2·=·0; | ||
64 | ········final·int·height·=·this.mappingBitMatrix.getHeight(); | ||
65 | ········final·int·width·=·this.mappingBitMatrix.getWidth(); | ||
66 | ········int·n3·=·0; | ||
67 | ········int·n4·=·0; | ||
68 | ········int·n5·=·0; | ||
69 | ········int·n6·=·0; | ||
70 | ········int·n7·=·0; | ||
71 | ········int·n8; | ||
72 | ········while·(true)·{ | ||
73 | ············if·(n·==·height·&&·n2·==·0·&&·n3·==·0)·{ | ||
74 | ················n8·=·n7·+·1; | ||
75 | ················array[n7]·=·(byte)this.readCorner1(height,·width); | ||
76 | ················n·-=·2; | ||
77 | ················n2·+=·2; | ||
78 | ················n3·=·1; | ||
79 | ············} | ||
80 | ············else·if·(n·==·height·-·2·&&·n2·==·0·&&·(width·&·0x3)·!=·0x0·&&·n4·==·0)·{ | ||
81 | ················n8·=·n7·+·1; | ||
82 | ················array[n7]·=·(byte)this.readCorner2(height,·width); | ||
83 | ················n·-=·2; | ||
84 | ················n2·+=·2; | ||
85 | ················n4·=·1; | ||
86 | ············} | ||
87 | ············else·if·(n·==·height·+·4·&&·n2·==·2·&&·(width·&·0x7)·==·0x0·&&·n5·==·0)·{ | ||
88 | ················n8·=·n7·+·1; | ||
89 | ················array[n7]·=·(byte)this.readCorner3(height,·width); | ||
90 | ················n·-=·2; | ||
91 | ················n2·+=·2; | ||
92 | ················n5·=·1; | ||
93 | ············} | ||
94 | ············else·if·(n·==·height·-·2·&&·n2·==·0·&&·(width·&·0x7)·==·0x4·&&·n6·==·0)·{ | ||
95 | ················n8·=·n7·+·1; | ||
96 | ················array[n7]·=·(byte)this.readCorner4(height,·width); | ||
97 | ················n·-=·2; | ||
98 | ················n2·+=·2; | ||
99 | ················n6·=·1; | ||
100 | ············} | ||
101 | ············else·{ | ||
102 | ················int·n9; | ||
103 | ················while·(true)·{ | ||
104 | ····················if·(n·<·height·&&·n2·>=·0·&&·!this.readMappingMatrix.get(n2,·n))·{ | ||
105 | ························n9·=·n7·+·1; | ||
106 | ························array[n7]·=·(byte)this.readUtah(n,·n2,·height,·width); | ||
107 | ····················} | ||
108 | ····················else·{ | ||
109 | ························n9·=·n7; | ||
110 | ····················} | ||
111 | ····················n·-=·2; | ||
112 | ····················n2·+=·2; | ||
113 | ····················if·(n·<·0·||·n2·>=·width)·{ | ||
114 | ························break; | ||
115 | ····················} | ||
116 | ····················n7·=·n9; | ||
117 | ················} | ||
118 | ················int·n10·=·n·+·1; | ||
119 | ················int·n11·=·n2·+·3; | ||
120 | ················int·n12·=·n9; | ||
121 | ················while·(true)·{ | ||
122 | ····················if·(n10·>=·0·&&·n11·<·width·&&·!this.readMappingMatrix.get(n11,·n10))·{ | ||
123 | ························n8·=·n12·+·1; | ||
124 | ························array[n12]·=·(byte)this.readUtah(n10,·n11,·height,·width); | ||
125 | ····················} | ||
126 | ····················else·{ | ||
127 | ························n8·=·n12; | ||
128 | ····················} | ||
129 | ····················n10·+=·2; | ||
130 | ····················n11·-=·2; | ||
131 | ····················if·(n10·>=·height·||·n11·<·0)·{ | ||
132 | ························break; | ||
133 | ····················} | ||
134 | ····················n12·=·n8; | ||
135 | ················} | ||
136 | ················n·=·n10·+·3; | ||
137 | ················n2·=·n11·+·1; | ||
138 | ············} | ||
139 | ············if·(n·>=·height·&&·n2·>=·width)·{ | ||
140 | ················break; | ||
141 | ············} | ||
142 | ············n7·=·n8; | ||
143 | ········} | ||
144 | ········if·(n8·!=·this.version.getTotalCodewords())·{ | ||
145 | ············throw·FormatException.getFormatInstance(); | ||
146 | ········} | ||
147 | ········return·array; | ||
148 | ····} | ||
149 | ···· | ||
150 | ····int·readCorner1(final·int·n,·final·int·n2)·{ | 52 | ····private·int·readCorner1(final·int·n,·final·int·n2)·{ |
151 | ········final·int·n3·=·2; | 53 | ········final·int·n3·=·2; |
152 | ········final·int·n4·=·1; | 54 | ········final·int·n4·=·1; |
153 | ········int·n5·=·0; | 55 | ········int·n5·=·0; |
154 | ········if·(this.readModule(n·-·1,·0,·n,·n2))·{ | 56 | ········if·(this.readModule(n·-·1,·0,·n,·n2))·{ |
155 | ············n5·=· | 57 | ············n5·=·1; |
Max diff block lines reached; 6720/11467 bytes (58.60%) of diff not shown. |
Offset 207, 23 lines modified | Offset 207, 23 lines modified | ||
207 | ··#199·=·Utf8···············ISO8859_1 | 207 | ··#199·=·Utf8···············ISO8859_1 |
208 | ··#200·=·String·············#199··········//·ISO8859_1 | 208 | ··#200·=·String·············#199··········//·ISO8859_1 |
209 | ··#201·=·Utf8···············([BLjava/lang/String;)V | 209 | ··#201·=·Utf8···············([BLjava/lang/String;)V |
210 | ··#202·=·NameAndType········#24:#201······//·"<init>":([BLjava/lang/String;)V | 210 | ··#202·=·NameAndType········#24:#201······//·"<init>":([BLjava/lang/String;)V |
211 | ··#203·=·Methodref··········#198.#202·····//·java/lang/String."<init>":([BLjava/lang/String;)V | 211 | ··#203·=·Methodref··········#198.#202·····//·java/lang/String."<init>":([BLjava/lang/String;)V |
212 | ··#204·=·Utf8···············java/lang/IllegalStateException | 212 | ··#204·=·Utf8···············java/lang/IllegalStateException |
213 | ··#205·=·Class··············#204··········//·java/lang/IllegalStateException | 213 | ··#205·=·Class··············#204··········//·java/lang/IllegalStateException |
214 | ··#206·=·Methodref··········#34.#26·······//·java/lang/StringBuilder."<init>":()V | ||
215 | ··#20 | 214 | ··#206·=·Utf8···············Platform·does·not·support·required·encoding: |
216 | ··#20 | 215 | ··#207·=·String·············#206··········//·Platform·does·not·support·required·encoding: |
216 | ··#208·=·Utf8···············(Ljava/lang/String;)V | ||
217 | ··#209·=·NameAndType········#24:#208······//·"<init>":(Ljava/lang/String;)V | ||
218 | ··#210·=·Methodref··········#34.#209······//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V | ||
217 | ··#2 | 219 | ··#211·=·Utf8···············(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
218 | ··#21 | 220 | ··#212·=·NameAndType········#63:#211······//·append:(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
219 | ··#21 | 221 | ··#213·=·Methodref··········#34.#212······//·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
220 | ··#212·=·Utf8···············(Ljava/lang/String;)V | ||
221 | ··#213·=·NameAndType········#24:#212······//·"<init>":(Ljava/lang/String;)V | ||
222 | ··#214·=·Methodref··········#205.#2 | 222 | ··#214·=·Methodref··········#205.#209·····//·java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V |
223 | ··#215·=·Utf8···············java/io/UnsupportedEncodingException | 223 | ··#215·=·Utf8···············java/io/UnsupportedEncodingException |
224 | ··#216·=·Class··············#215··········//·java/io/UnsupportedEncodingException | 224 | ··#216·=·Class··············#215··········//·java/io/UnsupportedEncodingException |
225 | ··#217·=·Float··············4.2E-44f | 225 | ··#217·=·Float··············4.2E-44f |
226 | ··#218·=·Float··············2.24E-44f | 226 | ··#218·=·Float··············2.24E-44f |
227 | ··#219·=·Float··············5.6E-45f | 227 | ··#219·=·Float··············5.6E-45f |
228 | ··#220·=·Float··············8.4E-45f | 228 | ··#220·=·Float··············8.4E-45f |
229 | ··#221·=·Float··············4.3E-44f | 229 | ··#221·=·Float··············4.3E-44f |
Offset 1382, 27 lines modified | Offset 1382, 26 lines modified | ||
1382 | ·······244:·return | 1382 | ·······244:·return |
1383 | ·······245:·astore········14 | 1383 | ·······245:·astore········14 |
1384 | ·······247:·new···········#205················//·class·java/lang/IllegalStateException | 1384 | ·······247:·new···········#205················//·class·java/lang/IllegalStateException |
1385 | ·······250:·astore········12 | 1385 | ·······250:·astore········12 |
1386 | ·······252:·new···········#34·················//·class·java/lang/StringBuilder | 1386 | ·······252:·new···········#34·················//·class·java/lang/StringBuilder |
1387 | ·······255:·astore········13 | 1387 | ·······255:·astore········13 |
1388 | ·······257:·aload·········13 | 1388 | ·······257:·aload·········13 |
1389 | ·······259:·invokespecial·#206················//·Method·java/lang/StringBuilder."<init>":()V | ||
1390 | ·······262:·aload·········13 | ||
1391 | ·······2 | 1389 | ·······259:·ldc···········#207················//·String·Platform·does·not·support·required·encoding: |
1392 | ·······26 | 1390 | ·······261:·invokespecial·#210················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V |
1391 | ·······264:·aload·········13 | ||
1393 | ·······26 | 1392 | ·······266:·aload·········14 |
1394 | ·······2 | 1393 | ·······268:·invokevirtual·#213················//·Method·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
1395 | ·······27 | 1394 | ·······271:·invokevirtual·#72·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String; |
1396 | ·······27 | 1395 | ·······274:·astore········13 |
1397 | ·······27 | 1396 | ·······276:·aload·········12 |
1398 | ·······2 | 1397 | ·······278:·aload·········13 |
1399 | ·······28 | 1398 | ·······280:·invokespecial·#214················//·Method·java/lang/IllegalStateException."<init>":(Ljava/lang/String;)V |
1400 | ·······28 | 1399 | ·······283:·aload·········12 |
1401 | ·······28 | 1400 | ·······285:·athrow |
1402 | ······Exception·table: | 1401 | ······Exception·table: |
1403 | ·········from····to··target·type | 1402 | ·········from····to··target·type |
1404 | ···········219···222···245···Class·java/io/UnsupportedEncodingException | 1403 | ···········219···222···245···Class·java/io/UnsupportedEncodingException |
1405 | ···········232···237···245···Class·java/io/UnsupportedEncodingException | 1404 | ···········232···237···245···Class·java/io/UnsupportedEncodingException |
1406 | ···········238···244···245···Class·java/io/UnsupportedEncodingException | 1405 | ···········238···244···245···Class·java/io/UnsupportedEncodingException |
1407 | ··private·static·void·decodeC40Segment(com.google.zxing.common.BitSource,·java.lang.StringBuilder); | 1406 | ··private·static·void·decodeC40Segment(com.google.zxing.common.BitSource,·java.lang.StringBuilder); |
Offset 18, 42 lines modified | Offset 18, 44 lines modified | ||
18 | ···· | 18 | ···· |
19 | ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{ | 19 | ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{ |
20 | ········final·int·length·=·array.length; | 20 | ········final·int·length·=·array.length; |
21 | ········final·int[]·array2·=·new·int[length]; | 21 | ········final·int[]·array2·=·new·int[length]; |
22 | ········for·(int·i·=·0;·i·<·length;·++i)·{ | 22 | ········for·(int·i·=·0;·i·<·length;·++i)·{ |
23 | ············array2[i]·=·(array[i]·&·0xFF); | 23 | ············array2[i]·=·(array[i]·&·0xFF); |
24 | ········} | 24 | ········} |
25 | ········final·int·n2·=·array.length·-·n; | ||
26 | ········try·{ | 25 | ········try·{ |
26 | ············final·ReedSolomonDecoder·rsDecoder·=·this.rsDecoder; | ||
27 | ············try·{ | ||
27 | ············ | 28 | ················rsDecoder.decode(array2,·array.length·-·n); |
28 | ············for·(int·j·=·0;·j·<·n;·++j)·{ | 29 | ················for·(int·j·=·0;·j·<·n;·++j)·{ |
29 | ················array[j]·=·(byte)array2[j]; | 30 | ····················array[j]·=·(byte)array2[j]; |
31 | ················} | ||
32 | ············} | ||
33 | ············catch·(ReedSolomonException·ex)·{ | ||
34 | ················throw·ChecksumException.getChecksumInstance(); | ||
30 | ············} | 35 | ············} |
31 | ········} | 36 | ········} |
32 | ········catch·(ReedSolomonException·ex)·{ | 37 | ········catch·(ReedSolomonException·ex2)·{} |
33 | ············throw·ChecksumException.getChecksumInstance(); | ||
34 | ········} | ||
35 | ····} | 38 | ····} |
36 | ···· | 39 | ···· |
37 | ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{ | 40 | ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{ |
38 | ········final·BitMatrixParser·bitMatrixParser·=·new·BitMatrixParser(bitMatrix); | 41 | ········final·BitMatrixParser·bitMatrixParser·=·new·BitMatrixParser(bitMatrix); |
39 | ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·bitMatrixParser.getVersion()); | 42 | ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·bitMatrixParser.getVersion()); |
40 | ········final·int·length·=·dataBlocks.length; | ||
41 | ········int·n·=·0; | 43 | ········int·n·=·0; |
42 | ········for·(int·length | 44 | ········for·(int·length·=·dataBlocks.length,·i·=·0;·i·<·length;·++i)·{ |
43 | ············n·+=·dataBlocks[i].getNumDataCodewords(); | 45 | ············n·+=·dataBlocks[i].getNumDataCodewords(); |
44 | ········} | 46 | ········} |
45 | ········final·byte[]·array·=·new·byte[n]; | 47 | ········final·byte[]·array·=·new·byte[n]; |
46 | ········for·(int·j·=·0;·j·<·length;·++j)·{ | 48 | ········for·(int·length2·=·dataBlocks.length,·j·=·0;·j·<·length2;·++j)·{ |
47 | ············final·DataBlock·dataBlock·=·dataBlocks[j]; | 49 | ············final·DataBlock·dataBlock·=·dataBlocks[j]; |
48 | ············final·byte[]·codewords·=·dataBlock.getCodewords(); | 50 | ············final·byte[]·codewords·=·dataBlock.getCodewords(); |
49 | ············final·int·numDataCodewords·=·dataBlock.getNumDataCodewords(); | 51 | ············final·int·numDataCodewords·=·dataBlock.getNumDataCodewords(); |
50 | ············this.correctErrors(codewords,·numDataCodewords); | 52 | ············this.correctErrors(codewords,·numDataCodewords); |
51 | ············for·(int·k·=·0;·k·<·numDataCodewords;·++k)·{ | 53 | ············for·(int·k·=·0;·k·<·numDataCodewords;·++k)·{ |
52 | ················array[k·*·length·+·j]·=·codewords[k]; | 54 | ················array[k·*·length2·+·j]·=·codewords[k]; |
53 | ············} | 55 | ············} |
54 | ········} | 56 | ········} |
55 | ········return·DecodedBitStreamParser.decode(array); | 57 | ········return·DecodedBitStreamParser.decode(array); |
56 | ····} | 58 | ····} |
57 | ···· | 59 | ···· |
58 | ····public·DecoderResult·decode(final·boolean[][]·array)·{ | 60 | ····public·DecoderResult·decode(final·boolean[][]·array)·{ |
59 | ········final·int·length·=·array.length; | 61 | ········final·int·length·=·array.length; |
Offset 19, 15 lines modified | Offset 19, 15 lines modified | ||
19 | ········return·this.from; | 19 | ········return·this.from; |
20 | ····} | 20 | ····} |
21 | ···· | 21 | ···· |
22 | ····ResultPoint·getTo()·{ | 22 | ····ResultPoint·getTo()·{ |
23 | ········return·this.to; | 23 | ········return·this.to; |
24 | ····} | 24 | ····} |
25 | ···· | 25 | ···· |
26 | ···· | 26 | ····int·getTransitions()·{ |
27 | ········return·this.transitions; | 27 | ········return·this.transitions; |
28 | ····} | 28 | ····} |
29 | ···· | 29 | ···· |
30 | ····@Override | 30 | ····@Override |
31 | ····public·String·toString()·{ | 31 | ····public·String·toString()·{ |
32 | ········return·this.from·+·"/"·+·this.to·+·'/'·+·this.transitions; | 32 | ········return·this.from·+·"/"·+·this.to·+·'/'·+·this.transitions; |
33 | ····} | 33 | ····} |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | package·com.google.zxing.datamatrix.detector; | 1 | package·com.google.zxing.datamatrix.detector; |
2 | import·java.io.Serializable; | ||
3 | import·java.util.Comparator; | 2 | import·java.util.Comparator; |
3 | import·java.io.Serializable; | ||
4 | final·class·Detector$ResultPointsAndTransitionsComparator·implements· | 4 | final·class·Detector$ResultPointsAndTransitionsComparator·implements·Serializable,·Comparator |
5 | { | 5 | { |
6 | ····private·Detector$ResultPointsAndTransitionsComparator()·{ | 6 | ····private·Detector$ResultPointsAndTransitionsComparator()·{ |
7 | ····} | 7 | ····} |
8 | ···· | 8 | ···· |
9 | ····public·int·compare(final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions,·final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions2)·{ | 9 | ····public·int·compare(final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions,·final·Detector$ResultPointsAndTransitions·detector$ResultPointsAndTransitions2)·{ |
10 | ········return·detector$ResultPointsAndTransitions.getTransitions()·-·detector$ResultPointsAndTransitions2.getTransitions(); | 10 | ········return·detector$ResultPointsAndTransitions.getTransitions()·-·detector$ResultPointsAndTransitions2.getTransitions(); |
11 | ····} | 11 | ····} |
Offset 25, 30 lines modified | Offset 25, 30 lines modified | ||
25 | ········this.image·=·image; | 25 | ········this.image·=·image; |
26 | ········this.rectangleDetector·=·new·WhiteRectangleDetector(image); | 26 | ········this.rectangleDetector·=·new·WhiteRectangleDetector(image); |
27 | ····} | 27 | ····} |
28 | ···· | 28 | ···· |
29 | ····private·ResultPoint·correctTopRight(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n)·{ | 29 | ····private·ResultPoint·correctTopRight(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n)·{ |
30 | ········final·float·n2·=·distance(resultPoint,·resultPoint2)·/·(float)n; | 30 | ········final·float·n2·=·distance(resultPoint,·resultPoint2)·/·(float)n; |
31 | ········final·int·distance·=·distance(resultPoint3,·resultPoint4); | 31 | ········final·int·distance·=·distance(resultPoint3,·resultPoint4); |
32 | ········ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n2·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n2·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance)); | 32 | ········final·ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n2·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n2·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance)); |
33 | ········final·float·n3·=·distance(resultPoint,·resultPoint3)·/·(float)n; | 33 | ········final·float·n3·=·distance(resultPoint,·resultPoint3)·/·(float)n; |
34 | ········final·int·distance2·=·distance(resultPoint2,·resultPoint4); | 34 | ········final·int·distance2·=·distance(resultPoint2,·resultPoint4); |
35 | ········ | 35 | ········ResultPoint·resultPoint6·=·new·ResultPoint(resultPoint4.getX()·+·n3·*·((resultPoint4.getX()·-·resultPoint2.getX())·/·distance2),·resultPoint4.getY()·+·n3·*·((resultPoint4.getY()·-·resultPoint2.getY())·/·distance2)); |
36 | ········if·(!this.isValid(resultPoint5))·{ | 36 | ········if·(!this.isValid(resultPoint5))·{ |
37 | ············if·(this.isValid(resultPoint6))·{ | 37 | ············if·(!this.isValid(resultPoint6))·{ |
38 | ················resultPoint5·=·resultPoint6; | ||
39 | ············} | ||
40 | ············else·{ | ||
41 | ················resultPoint | 38 | ················resultPoint6·=·null; |
42 | ············} | 39 | ············} |
43 | ········} | 40 | ········} |
41 | ········else·if·(!this.isValid(resultPoint6))·{ | ||
42 | ············resultPoint6·=·resultPoint5; | ||
43 | ········} | ||
44 | ········else·if·( | 44 | ········else·if·(Math.abs(this.transitionsBetween(resultPoint3,·resultPoint5).getTransitions()·-·this.transitionsBetween(resultPoint2,·resultPoint5).getTransitions())·<=·Math.abs(this.transitionsBetween(resultPoint3,·resultPoint6).getTransitions()·-·this.transitionsBetween(resultPoint2,·resultPoint6).getTransitions()))·{ |
45 | ············resultPoint | 45 | ············resultPoint6·=·resultPoint5; |
46 | ········} | 46 | ········} |
47 | ········return·resultPoint | 47 | ········return·resultPoint6; |
48 | ····} | 48 | ····} |
49 | ···· | 49 | ···· |
50 | ····private·ResultPoint·correctTopRightRectangular(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n,·final·int·n2)·{ | 50 | ····private·ResultPoint·correctTopRightRectangular(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3,·final·ResultPoint·resultPoint4,·final·int·n,·final·int·n2)·{ |
51 | ········final·float·n3·=·distance(resultPoint,·resultPoint2)·/·(float)n; | 51 | ········final·float·n3·=·distance(resultPoint,·resultPoint2)·/·(float)n; |
52 | ········final·int·distance·=·distance(resultPoint3,·resultPoint4); | 52 | ········final·int·distance·=·distance(resultPoint3,·resultPoint4); |
53 | ········final·ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n3·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n3·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance)); | 53 | ········final·ResultPoint·resultPoint5·=·new·ResultPoint(resultPoint4.getX()·+·n3·*·((resultPoint4.getX()·-·resultPoint3.getX())·/·distance),·resultPoint4.getY()·+·n3·*·((resultPoint4.getY()·-·resultPoint3.getY())·/·distance)); |
54 | ········final·float·n4·=·distance(resultPoint,·resultPoint3)·/·(float)n2; | 54 | ········final·float·n4·=·distance(resultPoint,·resultPoint3)·/·(float)n2; |
Offset 65, 14 lines modified | Offset 65, 18 lines modified | ||
65 | ········this.module(0,·this.numcols·-·2,·n,·4); | 65 | ········this.module(0,·this.numcols·-·2,·n,·4); |
66 | ········this.module(0,·this.numcols·-·1,·n,·5); | 66 | ········this.module(0,·this.numcols·-·1,·n,·5); |
67 | ········this.module(n2,·this.numcols·-·3,·n,·6); | 67 | ········this.module(n2,·this.numcols·-·3,·n,·6); |
68 | ········this.module(n2,·this.numcols·-·2,·n,·7); | 68 | ········this.module(n2,·this.numcols·-·2,·n,·7); |
69 | ········this.module(n2,·this.numcols·-·1,·n,·8); | 69 | ········this.module(n2,·this.numcols·-·1,·n,·8); |
70 | ····} | 70 | ····} |
71 | ···· | 71 | ···· |
72 | ····private·boolean·hasBit(final·int·n,·final·int·n2)·{ | ||
73 | ········return·this.bits[this.numcols·*·n2·+·n]·>=·0; | ||
74 | ····} | ||
75 | ···· | ||
72 | ····private·void·module(int·n,·int·n2,·final·int·n3,·final·int·n4)·{ | 76 | ····private·void·module(int·n,·int·n2,·final·int·n3,·final·int·n4)·{ |
73 | ········int·n5·=·1; | 77 | ········int·n5·=·1; |
74 | ········if·(n·<·0)·{ | 78 | ········if·(n·<·0)·{ |
75 | ············n·+=·this.numrows; | 79 | ············n·+=·this.numrows; |
76 | ············n2·+=·4·-·(this.numrows·+·4)·%·8; | 80 | ············n2·+=·4·-·(this.numrows·+·4)·%·8; |
77 | ········} | 81 | ········} |
78 | ········if·(n2·<·0)·{ | 82 | ········if·(n2·<·0)·{ |
Offset 81, 14 lines modified | Offset 85, 27 lines modified | ||
81 | ········} | 85 | ········} |
82 | ········if·((this.codewords.charAt(n3)·&·n5·<<·8·-·n4)·==·0x0)·{ | 86 | ········if·((this.codewords.charAt(n3)·&·n5·<<·8·-·n4)·==·0x0)·{ |
83 | ············n5·=·0; | 87 | ············n5·=·0; |
84 | ········} | 88 | ········} |
85 | ········this.setBit(n2,·n,·(boolean)(n5·!=·0)); | 89 | ········this.setBit(n2,·n,·(boolean)(n5·!=·0)); |
86 | ····} | 90 | ····} |
87 | ···· | 91 | ···· |
92 | ····private·void·setBit(final·int·n,·final·int·n2,·final·boolean·b)·{ | ||
93 | ········final·byte[]·bits·=·this.bits; | ||
94 | ········final·int·n3·=·this.numcols·*·n2·+·n; | ||
95 | ········int·n4; | ||
96 | ········if·(b)·{ | ||
97 | ············n4·=·1; | ||
98 | ········} | ||
99 | ········else·{ | ||
100 | ············n4·=·0; | ||
101 | ········} | ||
102 | ········bits[n3]·=·(byte)n4; | ||
103 | ····} | ||
104 | ···· | ||
88 | ····private·void·utah(final·int·n,·final·int·n2,·final·int·n3)·{ | 105 | ····private·void·utah(final·int·n,·final·int·n2,·final·int·n3)·{ |
89 | ········this.module(n·-·2,·n2·-·2,·n3,·1); | 106 | ········this.module(n·-·2,·n2·-·2,·n3,·1); |
90 | ········this.module(n·-·2,·n2·-·1,·n3,·2); | 107 | ········this.module(n·-·2,·n2·-·1,·n3,·2); |
91 | ········this.module(n·-·1,·n2·-·2,·n3,·3); | 108 | ········this.module(n·-·1,·n2·-·2,·n3,·3); |
92 | ········this.module(n·-·1,·n2·-·1,·n3,·4); | 109 | ········this.module(n·-·1,·n2·-·1,·n3,·4); |
93 | ········this.module(n·-·1,·n2,·n3,·5); | 110 | ········this.module(n·-·1,·n2,·n3,·5); |
94 | ········this.module(n,·n2·-·2,·n3,·6); | 111 | ········this.module(n,·n2·-·2,·n3,·6); |
Offset 112, 18 lines modified | Offset 129, 14 lines modified | ||
112 | ········return·this.numcols; | 129 | ········return·this.numcols; |
113 | ····} | 130 | ····} |
114 | ···· | 131 | ···· |
115 | ····final·int·getNumrows()·{ | 132 | ····final·int·getNumrows()·{ |
116 | ········return·this.numrows; | 133 | ········return·this.numrows; |
117 | ····} | 134 | ····} |
118 | ···· | 135 | ···· |
119 | ····final·boolean·hasBit(final·int·n,·final·int·n2)·{ | ||
120 | ········return·this.bits[this.numcols·*·n2·+·n]·>=·0; | ||
121 | ····} | ||
122 | ···· | ||
123 | ····public·final·void·place()·{ | 136 | ····public·final·void·place()·{ |
124 | ········final·boolean·b·=·true; | 137 | ········final·boolean·b·=·true; |
125 | ········int·n·=·0; | 138 | ········int·n·=·0; |
126 | ········int·n2·=·4; | 139 | ········int·n2·=·4; |
127 | ········int·n3·=·0; | 140 | ········int·n3·=·0; |
128 | ········do·{ | 141 | ········do·{ |
129 | ············if·(n2·==·this.numrows·&&·n3·==·0)·{ | 142 | ············if·(n2·==·this.numrows·&&·n3·==·0)·{ |
Offset 177, 21 lines modified | Offset 190, 8 lines modified | ||
177 | ············n3·=·n10·+·1; | 190 | ············n3·=·n10·+·1; |
178 | ········}·while·(n2·<·this.numrows·||·n3·<·this.numcols); | 191 | ········}·while·(n2·<·this.numrows·||·n3·<·this.numcols); |
179 | ········if·(!this.hasBit(this.numcols·-·1,·this.numrows·-·1))·{ | 192 | ········if·(!this.hasBit(this.numcols·-·1,·this.numrows·-·1))·{ |
180 | ············this.setBit(this.numcols·-·1,·this.numrows·-·1,·b); | 193 | ············this.setBit(this.numcols·-·1,·this.numrows·-·1,·b); |
181 | ············this.setBit(this.numcols·-·2,·this.numrows·-·2,·b); | 194 | ············this.setBit(this.numcols·-·2,·this.numrows·-·2,·b); |
182 | ········} | 195 | ········} |
183 | ····} | 196 | ····} |
184 | ···· | ||
185 | ····final·void·setBit(final·int·n,·final·int·n2,·final·boolean·b)·{ | ||
186 | ········final·byte[]·bits·=·this.bits; | ||
187 | ········final·int·n3·=·this.numcols·*·n2·+·n; | ||
188 | ········byte·b2; | ||
189 | ········if·(b)·{ | ||
190 | ············b2·=·1; | ||
191 | ········} | ||
192 | ········else·{ | ||
193 | ············b2·=·0; | ||
194 | ········} | ||
195 | ········bits[n3]·=·b2; | ||
196 | ····} | ||
197 | } | 197 | } |
Offset 545, 15 lines modified | Offset 545, 15 lines modified | ||
545 | ········FACTORS·=·factors; | 545 | ········FACTORS·=·factors; |
546 | ········LOG·=·new·int[256]; | 546 | ········LOG·=·new·int[256]; |
547 | ········ALOG·=·new·int[255]; | 547 | ········ALOG·=·new·int[255]; |
548 | ········int·n7·=·1; | 548 | ········int·n7·=·1; |
549 | ········for·(int·i·=·0;·i·<·255;·++i)·{ | 549 | ········for·(int·i·=·0;·i·<·255;·++i)·{ |
550 | ············ErrorCorrection.ALOG[i]·=·n7; | 550 | ············ErrorCorrection.ALOG[i]·=·n7; |
551 | ············ErrorCorrection.LOG[n7]·=·i; | 551 | ············ErrorCorrection.LOG[n7]·=·i; |
552 | ············n7· | 552 | ············n7·<<=·1; |
553 | ············if·(n7·>=·256)·{ | 553 | ············if·(n7·>=·256)·{ |
554 | ················n7·^=·0x12D; | 554 | ················n7·^=·0x12D; |
555 | ············} | 555 | ············} |
556 | ········} | 556 | ········} |
557 | ····} | 557 | ····} |
558 | ···· | 558 | ···· |
559 | ····private·ErrorCorrection()·{ | 559 | ····private·ErrorCorrection()·{ |
Offset 61, 20 lines modified | Offset 61, 20 lines modified | ||
61 | ········array[n]·=·(Encoder)new·Base256Encoder(); | 61 | ········array[n]·=·(Encoder)new·Base256Encoder(); |
62 | ········final·EncoderContext·encoderContext·=·new·EncoderContext(s); | 62 | ········final·EncoderContext·encoderContext·=·new·EncoderContext(s); |
63 | ········encoderContext.setSymbolShape(symbolShape); | 63 | ········encoderContext.setSymbolShape(symbolShape); |
64 | ········encoderContext.setSizeConstraints(dimension,·dimension2); | 64 | ········encoderContext.setSizeConstraints(dimension,·dimension2); |
65 | ········if·(s.startsWith("[)>\u001e05\u001d")·&&·s.endsWith("\u001e\u0004"))·{ | 65 | ········if·(s.startsWith("[)>\u001e05\u001d")·&&·s.endsWith("\u001e\u0004"))·{ |
66 | ············encoderContext.writeCodeword('\u00ec'); | 66 | ············encoderContext.writeCodeword('\u00ec'); |
67 | ············encoderContext.setSkipAtEnd(n2); | 67 | ············encoderContext.setSkipAtEnd(n2); |
68 | ············encoderContext.pos·+=· | 68 | ············encoderContext.pos·+=·7; |
69 | ········} | 69 | ········} |
70 | ········else·if·(s.startsWith("[)>\u001e06\u001d")·&&·s.endsWith("\u001e\u0004"))·{ | 70 | ········else·if·(s.startsWith("[)>\u001e06\u001d")·&&·s.endsWith("\u001e\u0004"))·{ |
71 | ············encoderContext.writeCodeword('\u00ed'); | 71 | ············encoderContext.writeCodeword('\u00ed'); |
72 | ············encoderContext.setSkipAtEnd(n2); | 72 | ············encoderContext.setSkipAtEnd(n2); |
73 | ············encoderContext.pos·+=· | 73 | ············encoderContext.pos·+=·7; |
74 | ········} | 74 | ········} |
75 | ········int·newEncoding·=·0; | 75 | ········int·newEncoding·=·0; |
76 | ········while·(encoderContext.hasMoreCharacters())·{ | 76 | ········while·(encoderContext.hasMoreCharacters())·{ |
77 | ············array[newEncoding].encode(encoderContext); | 77 | ············array[newEncoding].encode(encoderContext); |
78 | ············if·(encoderContext.getNewEncoding()·>=·0)·{ | 78 | ············if·(encoderContext.getNewEncoding()·>=·0)·{ |
79 | ················newEncoding·=·encoderContext.getNewEncoding(); | 79 | ················newEncoding·=·encoderContext.getNewEncoding(); |
80 | ················encoderContext.resetEncoderSignal(); | 80 | ················encoderContext.resetEncoderSignal(); |
Offset 178, 22 lines modified | Offset 178, 22 lines modified | ||
178 | ················array[n2]·=·0.0f; | 178 | ················array[n2]·=·0.0f; |
179 | ············} | 179 | ············} |
180 | ············int·n3·=·0; | 180 | ············int·n3·=·0; |
181 | ············while·(n·+·n3·!=·charSequence.length())·{ | 181 | ············while·(n·+·n3·!=·charSequence.length())·{ |
182 | ················final·char·char1·=·charSequence.charAt(n·+·n3); | 182 | ················final·char·char1·=·charSequence.charAt(n·+·n3); |
183 | ················++n3; | 183 | ················++n3; |
184 | ················if·(isDigit(char1))·{ | 184 | ················if·(isDigit(char1))·{ |
185 | ····················array[0]·+=·0.5; | 185 | ····················array[0]·+=·0.5f; |
186 | ················} | 186 | ················} |
187 | ················else·if·(isExtendedASCII(char1))·{ | 187 | ················else·if·(isExtendedASCII(char1))·{ |
188 | ····················array[0]·=·(float) | 188 | ····················array[0]·=·(float)Math.ceil(array[0]); |
189 | ····················array[0]·+=·2.0f; | 189 | ····················array[0]·+=·2.0f; |
190 | ················} | 190 | ················} |
191 | ················else·{ | 191 | ················else·{ |
192 | ····················array[0]·=·(float) | 192 | ····················array[0]·=·(float)Math.ceil(array[0]); |
193 | ····················++array[0]; | 193 | ····················++array[0]; |
194 | ················} | 194 | ················} |
195 | ················if·(isNativeC40(char1))·{ | 195 | ················if·(isNativeC40(char1))·{ |
196 | ····················final·int·n4·=·1; | 196 | ····················final·int·n4·=·1; |
197 | ····················array[n4]·+=·0.6666667f; | 197 | ····················array[n4]·+=·0.6666667f; |
198 | ················} | 198 | ················} |
199 | ················else·if·(isExtendedASCII(char1))·{ | 199 | ················else·if·(isExtendedASCII(char1))·{ |
Offset 320, 18 lines modified | Offset 320, 14 lines modified | ||
320 | ················n2·=·1; | 320 | ················n2·=·1; |
321 | ············} | 321 | ············} |
322 | ········} | 322 | ········} |
323 | ········return·n2; | 323 | ········return·n2; |
324 | ····} | 324 | ····} |
325 | ···· | 325 | ···· |
326 | ····private·static·char·randomize253State(final·char·c,·final·int·n)·{ | 326 | ····private·static·char·randomize253State(final·char·c,·final·int·n)·{ |
327 | ········ | 327 | ········int·n2·=·c·+·(n·*·149·%·253·+·1); |
328 | ········char·c2; | ||
329 | ········if·(n2· | 328 | ········if·(n2·>·254)·{ |
330 | ············ | 329 | ············n2·-=·254; |
331 | ········} | 330 | ········} |
332 | ········else·{ | ||
333 | ············c2·=·(char)(n2·-·254); | ||
334 | ········} | ||
335 | ········return·c2; | 331 | ········return·(char)n2; |
336 | ····} | 332 | ····} |
337 | } | 333 | } |
Offset 13, 16 lines modified | Offset 13, 15 lines modified | ||
13 | ····public·final·int·matrixHeight; | 13 | ····public·final·int·matrixHeight; |
14 | ····public·final·int·matrixWidth; | 14 | ····public·final·int·matrixWidth; |
15 | ····private·final·boolean·rectangular; | 15 | ····private·final·boolean·rectangular; |
16 | ····private·final·int·rsBlockData; | 16 | ····private·final·int·rsBlockData; |
17 | ····private·final·int·rsBlockError; | 17 | ····private·final·int·rsBlockError; |
18 | ···· | 18 | ···· |
19 | ····static·{ | 19 | ····static·{ |
20 | ········PROD_SYMBOLS·=·new·SymbolInfo[]·{·new·SymbolInfo(false,·3,·5,·8,·8,·1),·new·SymbolInfo(false,·5,·7,·10,·10,·1),·new·SymbolInfo(true,·5,·7,·16,·6,·1),·new·SymbolInfo(false,·8,·10,·12,·12,·1),·new·SymbolInfo(true,·10,·11,·14,·6,·2),·new | 20 | ········SymbolInfo.symbols·=·(PROD_SYMBOLS·=·new·SymbolInfo[]·{·new·SymbolInfo(false,·3,·5,·8,·8,·1),·new·SymbolInfo(false,·5,·7,·10,·10,·1),·new·SymbolInfo(true,·5,·7,·16,·6,·1),·new·SymbolInfo(false,·8,·10,·12,·12,·1),·new·SymbolInfo(true,·10,·11,·14,·6,·2),·new[·...·truncated·by·diffoscope;·len:·1155,·SHA:·b62e4712c8144e6e274b05dceed462acdbb8fde2709c2e90e3d64271637f297c·...·]; |
21 | ········SymbolInfo.symbols·=·SymbolInfo.PROD_SYMBOLS; | ||
22 | ····} | 21 | ····} |
23 | ···· | 22 | ···· |
24 | ····public·SymbolInfo(final·boolean·b,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4,·final·int·n5)·{ | 23 | ····public·SymbolInfo(final·boolean·b,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4,·final·int·n5)·{ |
25 | ········this(b,·n,·n2,·n3,·n4,·n5,·n,·n2); | 24 | ········this(b,·n,·n2,·n3,·n4,·n5,·n,·n2); |
26 | ····} | 25 | ····} |
27 | ···· | 26 | ···· |
28 | ····SymbolInfo(final·boolean·rectangular,·final·int·dataCapacity,·final·int·errorCodewords,·final·int·matrixWidth,·final·int·matrixHeight,·final·int·dataRegions,·final·int·rsBlockData,·final·int·rsBlockError)·{ | 27 | ····SymbolInfo(final·boolean·rectangular,·final·int·dataCapacity,·final·int·errorCodewords,·final·int·matrixWidth,·final·int·matrixHeight,·final·int·dataRegions,·final·int·rsBlockData,·final·int·rsBlockError)·{ |
Offset 32, 14 lines modified | Offset 31, 68 lines modified | ||
32 | ········this.matrixWidth·=·matrixWidth; | 31 | ········this.matrixWidth·=·matrixWidth; |
33 | ········this.matrixHeight·=·matrixHeight; | 32 | ········this.matrixHeight·=·matrixHeight; |
34 | ········this.dataRegions·=·dataRegions; | 33 | ········this.dataRegions·=·dataRegions; |
35 | ········this.rsBlockData·=·rsBlockData; | 34 | ········this.rsBlockData·=·rsBlockData; |
36 | ········this.rsBlockError·=·rsBlockError; | 35 | ········this.rsBlockError·=·rsBlockError; |
37 | ····} | 36 | ····} |
38 | ···· | 37 | ···· |
38 | ····private·int·getHorizontalDataRegions()·{ | ||
39 | ········int·n·=·0; | ||
40 | ········switch·(this.dataRegions)·{ | ||
41 | ············default:·{ | ||
42 | ················throw·new·IllegalStateException("Cannot·handle·this·number·of·data·regions"); | ||
43 | ············} | ||
44 | ············case·1:·{ | ||
45 | ················n·=·1; | ||
46 | ················break; | ||
47 | ············} | ||
48 | ············case·2: | ||
49 | ············case·4:·{ | ||
50 | ················n·=·2; | ||
51 | ················break; | ||
52 | ············} | ||
53 | ············case·16:·{ | ||
54 | ················n·=·4; | ||
55 | ················break; | ||
56 | ············} | ||
57 | ············case·36:·{ | ||
58 | ················n·=·6; | ||
59 | ················break; | ||
60 | ············} | ||
61 | ········} | ||
62 | ········return·n; | ||
63 | ····} | ||
64 | ···· | ||
65 | ····private·int·getVerticalDataRegions()·{ | ||
66 | ········int·n·=·0; | ||
67 | ········switch·(this.dataRegions)·{ | ||
68 | ············default:·{ | ||
69 | ················throw·new·IllegalStateException("Cannot·handle·this·number·of·data·regions"); | ||
70 | ············} | ||
71 | ············case·1: | ||
72 | ············case·2:·{ | ||
73 | ················n·=·1; | ||
74 | ················break; | ||
75 | ············} | ||
76 | ············case·4:·{ | ||
77 | ················n·=·2; | ||
78 | ················break; | ||
79 | ············} | ||
80 | ············case·16:·{ | ||
81 | ················n·=·4; | ||
82 | ················break; | ||
83 | ············} | ||
84 | ············case·36:·{ | ||
85 | ················n·=·6; | ||
86 | ················break; | ||
87 | ············} | ||
88 | ········} | ||
89 | ········return·n; | ||
90 | ····} | ||
91 | ···· | ||
39 | ····public·static·SymbolInfo·lookup(final·int·n)·{ | 92 | ····public·static·SymbolInfo·lookup(final·int·n)·{ |
40 | ········return·lookup(n,·SymbolShapeHint.FORCE_NONE,·true); | 93 | ········return·lookup(n,·SymbolShapeHint.FORCE_NONE,·true); |
41 | ····} | 94 | ····} |
42 | ···· | 95 | ···· |
43 | ····public·static·SymbolInfo·lookup(final·int·n,·final·SymbolShapeHint·symbolShapeHint)·{ | 96 | ····public·static·SymbolInfo·lookup(final·int·n,·final·SymbolShapeHint·symbolShapeHint)·{ |
44 | ········return·lookup(n,·symbolShapeHint,·true); | 97 | ········return·lookup(n,·symbolShapeHint,·true); |
45 | ····} | 98 | ····} |
Offset 93, 94 lines modified | Offset 146, 41 lines modified | ||
93 | ········return·this.errorCodewords; | 146 | ········return·this.errorCodewords; |
94 | ····} | 147 | ····} |
95 | ···· | 148 | ···· |
96 | ····public·final·int·getErrorLengthForInterleavedBlock(final·int·n)·{ | 149 | ····public·final·int·getErrorLengthForInterleavedBlock(final·int·n)·{ |
97 | ········return·this.rsBlockError; | 150 | ········return·this.rsBlockError; |
98 | ····} | 151 | ····} |
99 | ···· | 152 | ···· |
100 | ····final·int·getHorizontalDataRegions()·{ | ||
101 | ········int·n·=·2; | ||
102 | ········switch·(this.dataRegions)·{ | ||
103 | ············default:·{ | ||
104 | ················throw·new·IllegalStateException("Cannot·handle·this·number·of·data·regions"); | ||
105 | ············} | ||
106 | ············case·1:·{ | ||
107 | ················n·=·1; | ||
108 | ················return·n; | ||
109 | ············} | ||
110 | ············case·36:·{ | ||
111 | ················n·=·6; | ||
112 | ················return·n; | ||
113 | ············} | ||
114 | ············case·16:·{ | ||
115 | ················n·=·4; | ||
116 | ············} | ||
117 | ············case·2: | ||
118 | ············case·4:·{ | ||
119 | ················return·n; | ||
120 | ············} | ||
121 | ········} | ||
122 | ····} | ||
123 | ···· | ||
124 | ····public·int·getInterleavedBlockCount()·{ | 153 | ····public·int·getInterleavedBlockCount()·{ |
125 | ········return·this.dataCapacity·/·this.rsBlockData; | 154 | ········return·this.dataCapacity·/·this.rsBlockData; |
126 | ····} | 155 | ····} |
127 | ···· | 156 | ···· |
128 | ····public·final·int·getSymbolDataHeight()·{ | 157 | ····public·final·int·getSymbolDataHeight()·{ |
129 | ········return·this.getVerticalDataRegions()·*·this.matrixHeight; | 158 | ········return·this.getVerticalDataRegions()·*·this.matrixHeight; |
130 | ····} | 159 | ····} |
131 | ···· | 160 | ···· |
132 | ····public·final·int·getSymbolDataWidth()·{ | 161 | ····public·final·int·getSymbolDataWidth()·{ |
133 | ········return·this.getHorizontalDataRegions()·*·this.matrixWidth; | 162 | ········return·this.getHorizontalDataRegions()·*·this.matrixWidth; |
Max diff block lines reached; 2255/8691 bytes (25.95%) of diff not shown. |
Offset 40, 23 lines modified | Offset 40, 17 lines modified | ||
40 | ····public·byte[]·getRawBytes()·{ | 40 | ····public·byte[]·getRawBytes()·{ |
41 | ········return·this.rawBytes; | 41 | ········return·this.rawBytes; |
42 | ····} | 42 | ····} |
43 | ···· | 43 | ···· |
44 | ····@Override | 44 | ····@Override |
45 | ····public·String·toString()·{ | 45 | ····public·String·toString()·{ |
46 | ········final·char·c·=·'\n'; | 46 | ········final·char·c·=·'\n'; |
47 | ········final·StringBuilder·sb·=·new·StringBuilder(100); | ||
48 | ········sb.append("Format:·").append(this.formatName).append(c); | ||
49 | ········sb.append("Contents:·").append(this.contents).append(c); | ||
50 | ········int·length; | 47 | ········int·length; |
51 | ········if·(this.rawBytes·==·null)·{ | 48 | ········if·(this.rawBytes·==·null)·{ |
52 | ············length·=·0; | 49 | ············length·=·0; |
53 | ········} | 50 | ········} |
54 | ········else·{ | 51 | ········else·{ |
55 | ············length·=·this.rawBytes.length; | 52 | ············length·=·this.rawBytes.length; |
56 | ········} | 53 | ········} |
54 | ········return·"Format:·"·+·this.formatName·+·c·+·"Contents:·"·+·this.contents·+·c·+·"Raw·bytes:·("·+·length·+·"·bytes)\nOrientation:·"·+·this.orientation·+·c·+·"EC·level:·"·+·this.errorCorrectionLevel·+·c; | ||
57 | ········sb.append("Raw·bytes:·(").append(length).append("·bytes)\n"); | ||
58 | ········sb.append("Orientation:·").append(this.orientation).append(c); | ||
59 | ········sb.append("EC·level:·").append(this.errorCorrectionLevel).append(c); | ||
60 | ········return·sb.toString(); | ||
61 | ····} | 55 | ····} |
62 | } | 56 | } |
Offset 1, 40 lines modified | Offset 1, 35 lines modified | ||
1 | package·com.google.zxing.maxicode.decoder; | 1 | package·com.google.zxing.maxicode.decoder; |
2 | import·java.util.List; | 2 | import·java.util.List; |
3 | import·com.google.zxing.common.DecoderResult; | ||
4 | import·java.text.DecimalFormat; | 3 | import·java.text.DecimalFormat; |
5 | import· | 4 | import·com.google.zxing.common.DecoderResult; |
6 | final·class·DecodedBitStreamParser | 5 | final·class·DecodedBitStreamParser |
7 | { | 6 | { |
8 | ····private·static·final·char·ECI·=·'\ufffa'; | 7 | ····private·static·final·char·ECI·=·'\ufffa'; |
9 | ····private·static·final·char·FS·=·'\u001c'; | 8 | ····private·static·final·char·FS·=·'\u001c'; |
10 | ····private·static·final·char·GS·=·'\u001d'; | 9 | ····private·static·final·char·GS·=·'\u001d'; |
11 | ····private·static·final·char·LATCHA·=·'\ufff7'; | 10 | ····private·static·final·char·LATCHA·=·'\ufff7'; |
12 | ····private·static·final·char·LATCHB·=·'\ufff8'; | 11 | ····private·static·final·char·LATCHB·=·'\ufff8'; |
13 | ····private·static·final·char·LOCK·=·'\ufff9'; | 12 | ····private·static·final·char·LOCK·=·'\ufff9'; |
14 | ····private·static·final·NumberFormat·NINE_DIGITS; | ||
15 | ····private·static·final·char·NS·=·'\ufffb'; | 13 | ····private·static·final·char·NS·=·'\ufffb'; |
16 | ····private·static·final·char·PAD·=·'\ufffc'; | 14 | ····private·static·final·char·PAD·=·'\ufffc'; |
17 | ····private·static·final·char·RS·=·'\u001e'; | 15 | ····private·static·final·char·RS·=·'\u001e'; |
18 | ····private·static·final·String[]·SETS; | 16 | ····private·static·final·String[]·SETS; |
19 | ····private·static·final·char·SHIFTA·=·'\ufff0'; | 17 | ····private·static·final·char·SHIFTA·=·'\ufff0'; |
20 | ····private·static·final·char·SHIFTB·=·'\ufff1'; | 18 | ····private·static·final·char·SHIFTB·=·'\ufff1'; |
21 | ····private·static·final·char·SHIFTC·=·'\ufff2'; | 19 | ····private·static·final·char·SHIFTC·=·'\ufff2'; |
22 | ····private·static·final·char·SHIFTD·=·'\ufff3'; | 20 | ····private·static·final·char·SHIFTD·=·'\ufff3'; |
23 | ····private·static·final·char·SHIFTE·=·'\ufff4'; | 21 | ····private·static·final·char·SHIFTE·=·'\ufff4'; |
24 | ····private·static·final·char·THREESHIFTA·=·'\ufff6'; | 22 | ····private·static·final·char·THREESHIFTA·=·'\ufff6'; |
25 | ····private·static·final·NumberFormat·THREE_DIGITS; | ||
26 | ····private·static·final·char·TWOSHIFTA·=·'\ufff5'; | 23 | ····private·static·final·char·TWOSHIFTA·=·'\ufff5'; |
27 | ···· | 24 | ···· |
28 | ····static·{ | 25 | ····static·{ |
29 | ········NINE_DIGITS·=·new·DecimalFormat("000000000"); | ||
30 | ········THREE_DIGITS·=·new·DecimalFormat("000"); | ||
31 | ········SETS·=·new·String[]·{·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8",·"`abcdefghijklmnopqrstuvwxyz\ufffa\u001c\u001d\u001e\ufffb{\ufffc}~\u007f;<=>?[\\]^_·,./:@!|\ufffc\ufff5\ufff6\ufffc\ufff0\ufff2\ufff3\ufff4\ufff7",·"\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\ufffa\u001c\u001d\u001e\u00db\u00dc\u00dd\u00de\u00dfª¬±²³µ¹º¼½¾\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\ufff7·\ufff9\ufff3\ufff4\ufff8",·"\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\ufffa\u001c\u001d\u001e\ufffb\u00fb\u00fc\u00fd\u00fe\u00ff¡¨«¯°´·¸»¿\u008a\u008b\u008c\u008d\u008e\u008f\u0090\u0091\u0092\u0093\u0094\ufff7·\ufff2\ufff9\ufff4\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\ufffa\ufffc\ufffc\u001b\ufffb\u001c\u001d\u001e\u001f\u009f ¢£¤¥¦§©\u00ad®¶\u0095\u0096\u0097\u0098\u0099\u009a\u009b\u009c\u009d\u009e\ufff7·\ufff2\ufff3\ufff9\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f·!\"#$%&'()*+,-./0123456789:;<=>?"·}; | 26 | ········SETS·=·new·String[]·{·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8",·"`abcdefghijklmnopqrstuvwxyz\ufffa\u001c\u001d\u001e\ufffb{\ufffc}~\u007f;<=>?[\\]^_·,./:@!|\ufffc\ufff5\ufff6\ufffc\ufff0\ufff2\ufff3\ufff4\ufff7",·"\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\ufffa\u001c\u001d\u001e\u00db\u00dc\u00dd\u00de\u00dfª¬±²³µ¹º¼½¾\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\ufff7·\ufff9\ufff3\ufff4\ufff8",·"\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\ufffa\u001c\u001d\u001e\ufffb\u00fb\u00fc\u00fd\u00fe\u00ff¡¨«¯°´·¸»¿\u008a\u008b\u008c\u008d\u008e\u008f\u0090\u0091\u0092\u0093\u0094\ufff7·\ufff2\ufff9\ufff4\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\ufffa\ufffc\ufffc\u001b\ufffb\u001c\u001d\u001e\u001f\u009f ¢£¤¥¦§©\u00ad®¶\u0095\u0096\u0097\u0098\u0099\u009a\u009b\u009c\u009d\u009e\ufff7·\ufff2\ufff3\ufff9\ufff8",·"\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f·!\"#$%&'()*+,-./0123456789:;<=>?"·}; |
32 | ····} | 27 | ····} |
33 | ···· | 28 | ···· |
34 | ····private·DecodedBitStreamParser()·{ | 29 | ····private·DecodedBitStreamParser()·{ |
35 | ····} | 30 | ····} |
36 | ···· | 31 | ···· |
37 | ····static·DecoderResult·decode(final·byte[]·array,·final·int·i)·{ | 32 | ····static·DecoderResult·decode(final·byte[]·array,·final·int·i)·{ |
Offset 47, 16 lines modified | Offset 42, 17 lines modified | ||
47 | ················String·s; | 42 | ················String·s; |
48 | ················if·(i·==·2)·{ | 43 | ················if·(i·==·2)·{ |
49 | ····················s·=·new·DecimalFormat("0000000000".substring(0,·getPostCode2Length(array))).format(getPostCode2(array)); | 44 | ····················s·=·new·DecimalFormat("0000000000".substring(0,·getPostCode2Length(array))).format(getPostCode2(array)); |
50 | ················} | 45 | ················} |
51 | ················else·{ | 46 | ················else·{ |
52 | ····················s·=·getPostCode3(array); | 47 | ····················s·=·getPostCode3(array); |
53 | ················} | 48 | ················} |
49 | ················final·DecimalFormat·decimalFormat·=·new·DecimalFormat("000"); | ||
54 | ················final·String·format·=· | 50 | ················final·String·format·=·decimalFormat.format(getCountry(array)); |
55 | ················final·String·format2·=· | 51 | ················final·String·format2·=·decimalFormat.format(getServiceClass(array)); |
56 | ················sb.append(getMessage(array,·10,·84)); | 52 | ················sb.append(getMessage(array,·10,·84)); |
57 | ················if·(sb.toString().startsWith("[)>\u001e01\u001d"))·{ | 53 | ················if·(sb.toString().startsWith("[)>\u001e01\u001d"))·{ |
58 | ····················sb.insert(9,·s·+·c·+·format·+·c·+·format2·+·c); | 54 | ····················sb.insert(9,·s·+·c·+·format·+·c·+·format2·+·c); |
59 | ····················break; | 55 | ····················break; |
60 | ················} | 56 | ················} |
61 | ················sb.insert(0,·s·+·c·+·format·+·c·+·format2·+·c); | 57 | ················sb.insert(0,·s·+·c·+·format·+·c·+·format2·+·c); |
62 | ················break; | 58 | ················break; |
Offset 161, 15 lines modified | Offset 157, 15 lines modified | ||
161 | ····················final·int·n9·=·n7·+·1; | 157 | ····················final·int·n9·=·n7·+·1; |
162 | ····················final·int·n10·=·n8·+·(array[n9]·<<·18); | 158 | ····················final·int·n10·=·n8·+·(array[n9]·<<·18); |
163 | ····················final·int·n11·=·n9·+·1; | 159 | ····················final·int·n11·=·n9·+·1; |
164 | ····················final·int·n12·=·n10·+·(array[n11]·<<·12); | 160 | ····················final·int·n12·=·n10·+·(array[n11]·<<·12); |
165 | ····················final·int·n13·=·n11·+·1; | 161 | ····················final·int·n13·=·n11·+·1; |
166 | ····················final·int·n14·=·n12·+·(array[n13]·<<·6); | 162 | ····················final·int·n14·=·n12·+·(array[n13]·<<·6); |
167 | ····················i·=·n13·+·1; | 163 | ····················i·=·n13·+·1; |
168 | ····················sb.append( | 164 | ····················sb.append(new·DecimalFormat("000000000").format((long)(n14·+·array[i]))); |
169 | ····················n6·=·n3; | 165 | ····················n6·=·n3; |
170 | ····················break; | 166 | ····················break; |
171 | ················} | 167 | ················} |
172 | ················case·65529:·{ | 168 | ················case·65529:·{ |
173 | ····················n6·=·-1; | 169 | ····················n6·=·-1; |
174 | ····················break; | 170 | ····················break; |
175 | ················} | 171 | ················} |
Offset 50, 35 lines modified | Offset 50, 39 lines modified | ||
50 | ····} | 50 | ····} |
51 | ···· | 51 | ···· |
52 | ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{ | 52 | ····public·DecoderResult·decode(final·BitMatrix·bitMatrix)·{ |
53 | ········return·this.decode(bitMatrix,·null); | 53 | ········return·this.decode(bitMatrix,·null); |
54 | ····} | 54 | ····} |
55 | ···· | 55 | ···· |
56 | ····public·DecoderResult·decode(final·BitMatrix·bitMatrix,·final·Map·map)·{ | 56 | ····public·DecoderResult·decode(final·BitMatrix·bitMatrix,·final·Map·map)·{ |
57 | ········final·int·n·=·2; | ||
58 | ········final·int·n2·=·1; | ||
59 | ········final·int·n3·=·10; | ||
60 | ········final·int·n4·=·20; | ||
57 | ········final·byte[]·codewords·=·new·BitMatrixParser(bitMatrix).readCodewords(); | 61 | ········final·byte[]·codewords·=·new·BitMatrixParser(bitMatrix).readCodewords(); |
58 | ········this.correctErrors(codewords,·0,· | 62 | ········this.correctErrors(codewords,·0,·n3,·n3,·0); |
59 | ········final·int·n·=·codewords[0]·&·0xF; | 63 | ········final·int·n5·=·codewords[0]·&·0xF; |
60 | ········byte[]·array·=·null; | 64 | ········byte[]·array·=·null; |
61 | ········switch·(n)·{ | 65 | ········switch·(n5)·{ |
62 | ············default:·{ | 66 | ············default:·{ |
63 | ················throw·FormatException.getFormatInstance(); | 67 | ················throw·FormatException.getFormatInstance(); |
64 | ············} | 68 | ············} |
65 | ············case·2: | 69 | ············case·2: |
66 | ············case·3: | 70 | ············case·3: |
67 | ············case·4:·{ | 71 | ············case·4:·{ |
68 | ················this.correctErrors(codewords,·20,·84,·40,·1); | ||
69 | ················this.correctErrors(codewords,· | 72 | ················this.correctErrors(codewords,·n4,·84,·40,·n2); |
73 | ················this.correctErrors(codewords,·n4,·84,·40,·n); | ||
70 | ················array·=·new·byte[94]; | 74 | ················array·=·new·byte[94]; |
71 | ················break; | 75 | ················break; |
72 | ············} | 76 | ············} |
73 | ············case·5:·{ | 77 | ············case·5:·{ |
74 | ················this.correctErrors(codewords,·20,·68,·56,·1); | ||
75 | ················this.correctErrors(codewords,· | 78 | ················this.correctErrors(codewords,·n4,·68,·56,·n2); |
79 | ················this.correctErrors(codewords,·n4,·68,·56,·n); | ||
76 | ················array·=·new·byte[78]; | 80 | ················array·=·new·byte[78]; |
77 | ················break; | 81 | ················break; |
78 | ············} | 82 | ············} |
79 | ········} | 83 | ········} |
80 | ········System.arraycopy(codewords,·0,·array,·0,· | 84 | ········System.arraycopy(codewords,·0,·array,·0,·n3); |
81 | ········System.arraycopy(codewords,· | 85 | ········System.arraycopy(codewords,·n4,·array,·n3,·array.length·-·10); |
82 | ········return·DecodedBitStreamParser.decode(array,·n); | 86 | ········return·DecodedBitStreamParser.decode(array,·n5); |
83 | ····} | 87 | ····} |
84 | } | 88 | } |
Offset 1, 16 lines modified | Offset 1, 16 lines modified | ||
1 | package·com.google.zxing.multi.qrcode; | 1 | package·com.google.zxing.multi.qrcode; |
2 | import·com.google.zxing.ResultMetadataType; | 2 | import·com.google.zxing.ResultMetadataType; |
3 | import·com.google.zxing.Result; | 3 | import·com.google.zxing.Result; |
4 | import·java.io.Serializable; | ||
5 | import·java.util.Comparator; | 4 | import·java.util.Comparator; |
5 | import·java.io.Serializable; | ||
6 | final·class·QRCodeMultiReader$SAComparator·implements· | 6 | final·class·QRCodeMultiReader$SAComparator·implements·Serializable,·Comparator |
7 | { | 7 | { |
8 | ····private·QRCodeMultiReader$SAComparator()·{ | 8 | ····private·QRCodeMultiReader$SAComparator()·{ |
9 | ····} | 9 | ····} |
10 | ···· | 10 | ···· |
11 | ····public·int·compare(final·Result·result,·final·Result·result2)·{ | 11 | ····public·int·compare(final·Result·result,·final·Result·result2)·{ |
12 | ········final·int·intValue·=·(int)Integer.valueOf(result.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE)); | 12 | ········final·int·intValue·=·(int)Integer.valueOf(result.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE)); |
13 | ········final·int·intValue2·=·(int)Integer.valueOf(result2.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE)); | 13 | ········final·int·intValue2·=·(int)Integer.valueOf(result2.getResultMetadata().get((Object)ResultMetadataType.STRUCTURED_APPEND_SEQUENCE)); |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | package·com.google.zxing.multi.qrcode.detector; | 1 | package·com.google.zxing.multi.qrcode.detector; |
2 | import·com.google.zxing.qrcode.detector.FinderPattern; | 2 | import·com.google.zxing.qrcode.detector.FinderPattern; |
3 | import·java.io.Serializable; | ||
4 | import·java.util.Comparator; | 3 | import·java.util.Comparator; |
4 | import·java.io.Serializable; | ||
5 | final·class·MultiFinderPatternFinder$ModuleSizeComparator·implements· | 5 | final·class·MultiFinderPatternFinder$ModuleSizeComparator·implements·Serializable,·Comparator |
6 | { | 6 | { |
7 | ····private·MultiFinderPatternFinder$ModuleSizeComparator()·{ | 7 | ····private·MultiFinderPatternFinder$ModuleSizeComparator()·{ |
8 | ····} | 8 | ····} |
9 | ···· | 9 | ···· |
10 | ····public·int·compare(final·FinderPattern·finderPattern,·final·FinderPattern·finderPattern2)·{ | 10 | ····public·int·compare(final·FinderPattern·finderPattern,·final·FinderPattern·finderPattern2)·{ |
11 | ········final·double·n·=·0.0; | 11 | ········final·double·n·=·0.0; |
12 | ········final·float·n2·=·finderPattern2.getEstimatedModuleSize()·-·finderPattern.getEstimatedModuleSize(); | 12 | ········final·float·n2·=·finderPattern2.getEstimatedModuleSize()·-·finderPattern.getEstimatedModuleSize(); |
Offset 1, 42 lines modified | Offset 1, 30 lines modified | ||
1 | package·com.google.zxing.oned; | 1 | package·com.google.zxing.oned; |
2 | import·com.google.zxing.BarcodeFormat; | 2 | import·com.google.zxing.BarcodeFormat; |
3 | import·com.google.zxing.ResultPoint; | 3 | import·com.google.zxing.ResultPoint; |
4 | import·com.google.zxing.Result; | 4 | import·com.google.zxing.Result; |
5 | import·com.google.zxing.NotFoundException; | ||
6 | import·com.google.zxing.common.BitArray; | ||
7 | import·java.util.EnumMap; | 5 | import·java.util.EnumMap; |
8 | import·com.google.zxing.ResultMetadataType; | 6 | import·com.google.zxing.ResultMetadataType; |
9 | import·java.util.Map; | 7 | import·java.util.Map; |
8 | import·com.google.zxing.NotFoundException; | ||
9 | import·com.google.zxing.common.BitArray; | ||
10 | final·class·UPCEANExtension2Support | 10 | final·class·UPCEANExtension2Support |
11 | { | 11 | { |
12 | ····private·final·int[]·decodeMiddleCounters; | 12 | ····private·final·int[]·decodeMiddleCounters; |
13 | ····private·final·StringBuilder·decodeRowStringBuffer; | 13 | ····private·final·StringBuilder·decodeRowStringBuffer; |
14 | ···· | 14 | ···· |
15 | ····UPCEANExtension2Support()·{ | 15 | ····UPCEANExtension2Support()·{ |
16 | ········this.decodeMiddleCounters·=·new·int[4]; | 16 | ········this.decodeMiddleCounters·=·new·int[4]; |
17 | ········this.decodeRowStringBuffer·=·new·StringBuilder(); | 17 | ········this.decodeRowStringBuffer·=·new·StringBuilder(); |
18 | ····} | 18 | ····} |
19 | ···· | 19 | ···· |
20 | ····private·static·Map·parseExtensionString(final·String·s)·{ | ||
21 | ········Map<ResultMetadataType,·Integer>·map; | ||
22 | ········if·(s.length()·!=·2)·{ | ||
23 | ············map·=·null; | ||
24 | ········} | ||
25 | ········else·{ | ||
26 | ············map·=·new·EnumMap<ResultMetadataType,·Integer>(ResultMetadataType.class); | ||
27 | ············map.put(ResultMetadataType.ISSUE_NUMBER,·Integer.valueOf(s)); | ||
28 | ········} | ||
29 | ········return·map; | ||
30 | ····} | ||
31 | ···· | ||
32 | ····int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{ | 20 | ····private·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{ |
33 | ········final·int·n·=·2; | 21 | ········final·int·n·=·2; |
34 | ········final·int·n2·=·1; | 22 | ········final·int·n2·=·1; |
35 | ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters; | 23 | ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters; |
36 | ········decodeMiddleCounters[n2]·=·(decodeMiddleCounters[0]·=·0); | 24 | ········decodeMiddleCounters[n2]·=·(decodeMiddleCounters[0]·=·0); |
37 | ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[n]·=·0); | 25 | ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[n]·=·0); |
38 | ········final·int·size·=·bitArray.getSize(); | 26 | ········final·int·size·=·bitArray.getSize(); |
39 | ········int·nextUnset·=·array[n2]; | 27 | ········int·nextUnset·=·array[n2]; |
Offset 59, 14 lines modified | Offset 47, 26 lines modified | ||
59 | ········} | 47 | ········} |
60 | ········if·(Integer.parseInt(sb.toString())·%·4·!=·n3)·{ | 48 | ········if·(Integer.parseInt(sb.toString())·%·4·!=·n3)·{ |
61 | ············throw·NotFoundException.getNotFoundInstance(); | 49 | ············throw·NotFoundException.getNotFoundInstance(); |
62 | ········} | 50 | ········} |
63 | ········return·nextUnset; | 51 | ········return·nextUnset; |
64 | ····} | 52 | ····} |
65 | ···· | 53 | ···· |
54 | ····private·static·Map·parseExtensionString(final·String·s)·{ | ||
55 | ········Map<ResultMetadataType,·Integer>·map; | ||
56 | ········if·(s.length()·!=·2)·{ | ||
57 | ············map·=·null; | ||
58 | ········} | ||
59 | ········else·{ | ||
60 | ············map·=·new·EnumMap<ResultMetadataType,·Integer>(ResultMetadataType.class); | ||
61 | ············map.put(ResultMetadataType.ISSUE_NUMBER,·Integer.valueOf(s)); | ||
62 | ········} | ||
63 | ········return·map; | ||
64 | ····} | ||
65 | ···· | ||
66 | ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{ | 66 | ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{ |
67 | ········final·int·n2·=·1; | 67 | ········final·int·n2·=·1; |
68 | ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer; | 68 | ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer; |
69 | ········decodeRowStringBuffer.setLength(0); | 69 | ········decodeRowStringBuffer.setLength(0); |
70 | ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer); | 70 | ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer); |
71 | ········final·String·string·=·decodeRowStringBuffer.toString(); | 71 | ········final·String·string·=·decodeRowStringBuffer.toString(); |
72 | ········final·Map·extensionString·=·parseExtensionString(string); | 72 | ········final·Map·extensionString·=·parseExtensionString(string); |
Offset 1, 18 lines modified | Offset 1, 18 lines modified | ||
1 | package·com.google.zxing.oned; | 1 | package·com.google.zxing.oned; |
2 | import·com.google.zxing.BarcodeFormat; | 2 | import·com.google.zxing.BarcodeFormat; |
3 | import·com.google.zxing.ResultPoint; | 3 | import·com.google.zxing.ResultPoint; |
4 | import·com.google.zxing.Result; | 4 | import·com.google.zxing.Result; |
5 | import·com.google.zxing.common.BitArray; | ||
6 | import·java.util.EnumMap; | 5 | import·java.util.EnumMap; |
7 | import·com.google.zxing.ResultMetadataType; | 6 | import·com.google.zxing.ResultMetadataType; |
8 | import·java.util.Map; | 7 | import·java.util.Map; |
9 | import·com.google.zxing.NotFoundException; | 8 | import·com.google.zxing.NotFoundException; |
9 | import·com.google.zxing.common.BitArray; | ||
10 | final·class·UPCEANExtension5Support | 10 | final·class·UPCEANExtension5Support |
11 | { | 11 | { |
12 | ····private·static·final·int[]·CHECK_DIGIT_ENCODINGS; | 12 | ····private·static·final·int[]·CHECK_DIGIT_ENCODINGS; |
13 | ····private·final·int[]·decodeMiddleCounters; | 13 | ····private·final·int[]·decodeMiddleCounters; |
14 | ····private·final·StringBuilder·decodeRowStringBuffer; | 14 | ····private·final·StringBuilder·decodeRowStringBuffer; |
15 | ···· | 15 | ···· |
Offset 31, 14 lines modified | Offset 31, 43 lines modified | ||
31 | ····} | 31 | ····} |
32 | ···· | 32 | ···· |
33 | ····UPCEANExtension5Support()·{ | 33 | ····UPCEANExtension5Support()·{ |
34 | ········this.decodeMiddleCounters·=·new·int[4]; | 34 | ········this.decodeMiddleCounters·=·new·int[4]; |
35 | ········this.decodeRowStringBuffer·=·new·StringBuilder(); | 35 | ········this.decodeRowStringBuffer·=·new·StringBuilder(); |
36 | ····} | 36 | ····} |
37 | ···· | 37 | ···· |
38 | ····private·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{ | ||
39 | ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters; | ||
40 | ········decodeMiddleCounters[1]·=·(decodeMiddleCounters[0]·=·0); | ||
41 | ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0); | ||
42 | ········final·int·size·=·bitArray.getSize(); | ||
43 | ········int·nextUnset·=·array[1]; | ||
44 | ········int·n·=·0; | ||
45 | ········for·(int·n2·=·0;·n2·<·5·&&·nextUnset·<·size;·++n2)·{ | ||
46 | ············final·int·decodeDigit·=·UPCEANReader.decodeDigit(bitArray,·decodeMiddleCounters,·nextUnset,·UPCEANReader.L_AND_G_PATTERNS); | ||
47 | ············sb.append((char)(decodeDigit·%·10·+·48)); | ||
48 | ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{ | ||
49 | ················nextUnset·+=·decodeMiddleCounters[i]; | ||
50 | ············} | ||
51 | ············if·(decodeDigit·>=·10)·{ | ||
52 | ················n·|=·1·<<·4·-·n2; | ||
53 | ············} | ||
54 | ············if·(n2·!=·4)·{ | ||
55 | ················nextUnset·=·bitArray.getNextUnset(bitArray.getNextSet(nextUnset)); | ||
56 | ············} | ||
57 | ········} | ||
58 | ········if·(sb.length()·!=·5)·{ | ||
59 | ············throw·NotFoundException.getNotFoundInstance(); | ||
60 | ········} | ||
61 | ········if·(extensionChecksum(sb.toString())·!=·determineCheckDigit(n))·{ | ||
62 | ············throw·NotFoundException.getNotFoundInstance(); | ||
63 | ········} | ||
64 | ········return·nextUnset; | ||
65 | ····} | ||
66 | ···· | ||
38 | ····private·static·int·determineCheckDigit(final·int·n)·{ | 67 | ····private·static·int·determineCheckDigit(final·int·n)·{ |
39 | ········for·(int·i·=·0;·i·<·10;·++i)·{ | 68 | ········for·(int·i·=·0;·i·<·10;·++i)·{ |
40 | ············if·(n·==·UPCEANExtension5Support.CHECK_DIGIT_ENCODINGS[i])·{ | 69 | ············if·(n·==·UPCEANExtension5Support.CHECK_DIGIT_ENCODINGS[i])·{ |
41 | ················return·i; | 70 | ················return·i; |
42 | ············} | 71 | ············} |
43 | ········} | 72 | ········} |
44 | ········throw·NotFoundException.getNotFoundInstance(); | 73 | ········throw·NotFoundException.getNotFoundInstance(); |
Offset 107, 43 lines modified | Offset 136, 14 lines modified | ||
107 | ················map·=·new·EnumMap<ResultMetadataType,·String>(ResultMetadataType.class); | 136 | ················map·=·new·EnumMap<ResultMetadataType,·String>(ResultMetadataType.class); |
108 | ················map.put(ResultMetadataType.SUGGESTED_PRICE,·extension5String); | 137 | ················map.put(ResultMetadataType.SUGGESTED_PRICE,·extension5String); |
109 | ············} | 138 | ············} |
110 | ········} | 139 | ········} |
111 | ········return·map; | 140 | ········return·map; |
112 | ····} | 141 | ····} |
113 | ···· | 142 | ···· |
114 | ····int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{ | ||
115 | ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters; | ||
116 | ········decodeMiddleCounters[1]·=·(decodeMiddleCounters[0]·=·0); | ||
117 | ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0); | ||
118 | ········final·int·size·=·bitArray.getSize(); | ||
119 | ········int·nextUnset·=·array[1]; | ||
120 | ········int·n·=·0; | ||
121 | ········for·(int·n2·=·0;·n2·<·5·&&·nextUnset·<·size;·++n2)·{ | ||
122 | ············final·int·decodeDigit·=·UPCEANReader.decodeDigit(bitArray,·decodeMiddleCounters,·nextUnset,·UPCEANReader.L_AND_G_PATTERNS); | ||
123 | ············sb.append((char)(decodeDigit·%·10·+·48)); | ||
124 | ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{ | ||
125 | ················nextUnset·+=·decodeMiddleCounters[i]; | ||
126 | ············} | ||
127 | ············if·(decodeDigit·>=·10)·{ | ||
128 | ················n·|=·1·<<·4·-·n2; | ||
129 | ············} | ||
130 | ············if·(n2·!=·4)·{ | ||
131 | ················nextUnset·=·bitArray.getNextUnset(bitArray.getNextSet(nextUnset)); | ||
132 | ············} | ||
133 | ········} | ||
134 | ········if·(sb.length()·!=·5)·{ | ||
135 | ············throw·NotFoundException.getNotFoundInstance(); | ||
136 | ········} | ||
137 | ········if·(extensionChecksum(sb.toString())·!=·determineCheckDigit(n))·{ | ||
138 | ············throw·NotFoundException.getNotFoundInstance(); | ||
139 | ········} | ||
140 | ········return·nextUnset; | ||
141 | ····} | ||
142 | ···· | ||
143 | ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{ | 143 | ····Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·int[]·array)·{ |
144 | ········final·int·n2·=·1; | 144 | ········final·int·n2·=·1; |
145 | ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer; | 145 | ········final·StringBuilder·decodeRowStringBuffer·=·this.decodeRowStringBuffer; |
146 | ········decodeRowStringBuffer.setLength(0); | 146 | ········decodeRowStringBuffer.setLength(0); |
147 | ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer); | 147 | ········final·int·decodeMiddle·=·this.decodeMiddle(bitArray,·array,·decodeRowStringBuffer); |
148 | ········final·String·string·=·decodeRowStringBuffer.toString(); | 148 | ········final·String·string·=·decodeRowStringBuffer.toString(); |
149 | ········final·Map·extensionString·=·parseExtensionString(string); | 149 | ········final·Map·extensionString·=·parseExtensionString(string); |
Offset 131, 21 lines modified | Offset 131, 21 lines modified | ||
131 | ········26:·iload_1 | 131 | ········26:·iload_1 |
132 | ········27:·aload_2 | 132 | ········27:·aload_2 |
133 | ········28:·aload·········6 | 133 | ········28:·aload·········6 |
134 | ········30:·invokevirtual·#37·················//·Method·com/google/zxing/oned/UPCEANExtension5Support.decodeRow:(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result; | 134 | ········30:·invokevirtual·#37·················//·Method·com/google/zxing/oned/UPCEANExtension5Support.decodeRow:(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result; |
135 | ········33:·astore········4 | 135 | ········33:·astore········4 |
136 | ········35:·aload·········4 | 136 | ········35:·aload·········4 |
137 | ········37:·areturn | 137 | ········37:·areturn |
138 | ········38:· | 138 | ········38:·astore········4 |
139 | ········ | 139 | ········40:·aload_0 |
140 | ········4 | 140 | ········41:·getfield······#22·················//·Field·twoSupport:Lcom/google/zxing/oned/UPCEANExtension2Support; |
141 | ········4 | 141 | ········44:·iload_1 |
142 | ········4 | 142 | ········45:·aload_2 |
143 | ········4 | 143 | ········46:·aload·········6 |
144 | ········4 | 144 | ········48:·invokevirtual·#38·················//·Method·com/google/zxing/oned/UPCEANExtension2Support.decodeRow:(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result; |
145 | ········5 | 145 | ········51:·astore········4 |
146 | ········5 | 146 | ········53:·goto··········35 |
147 | ······Exception·table: | 147 | ······Exception·table: |
148 | ·········from····to··target·type | 148 | ·········from····to··target·type |
149 | ············18····22····38···Class·com/google/zxing/ReaderException | 149 | ············18····22····38···Class·com/google/zxing/ReaderException |
150 | ············28····33····38···Class·com/google/zxing/ReaderException | 150 | ············28····33····38···Class·com/google/zxing/ReaderException |
151 | } | 151 | } |
Offset 31, 34 lines modified | Offset 31, 33 lines modified | ||
31 | ············++i; | 31 | ············++i; |
32 | ········} | 32 | ········} |
33 | ········return·n5; | 33 | ········return·n5; |
34 | ····} | 34 | ····} |
35 | ···· | 35 | ···· |
36 | ····public·static·int·getRSSvalue(final·int[]·array,·final·int·n,·final·boolean·b)·{ | 36 | ····public·static·int·getRSSvalue(final·int[]·array,·final·int·n,·final·boolean·b)·{ |
37 | ········final·int·n2·=·1; | 37 | ········final·int·n2·=·1; |
38 | ········final·int·length·=·array.length; | ||
39 | ········int·n3·=·0; | 38 | ········int·n3·=·0; |
40 | ········for·(int·length | 39 | ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{ |
41 | ············n3·+=·array[i]; | 40 | ············n3·+=·array[i]; |
42 | ········} | 41 | ········} |
43 | ········int·n4·=·0; | 42 | ········int·n4·=·0; |
44 | ········int·n5·=·0; | 43 | ········int·n5·=·0; |
45 | ········for·(int·j·=·0;·j·<·length·-·1;·++j)·{ | 44 | ········for·(int·length2·=·array.length,·j·=·0;·j·<·length2·-·1;·++j)·{ |
46 | ············int·k; | 45 | ············int·k; |
47 | ············for·(k·=·1,·n5·|=·n2·<<·j;·k·<·array[j];·++k,·n5·&=·~(n2·<<·j))·{ | 46 | ············for·(k·=·1,·n5·|=·n2·<<·j;·k·<·array[j];·++k,·n5·&=·~(n2·<<·j))·{ |
48 | ················int·combins·=·combins(n3·-·k·-·1,·length·-·j·-·2); | 47 | ················int·combins·=·combins(n3·-·k·-·1,·length2·-·j·-·2); |
49 | ················if·(b·&&·n5·==·0·&&·n3·-·k·-·(length·-·j·-·1)·>=·length·-·j·-·1)·{ | 48 | ················if·(b·&&·n5·==·0·&&·n3·-·k·-·(length2·-·j·-·1)·>=·length2·-·j·-·1)·{ |
50 | ····················combins·-=·combins(n3·-·k·-·(length·-·j),·length·-·j·-·2); | 49 | ····················combins·-=·combins(n3·-·k·-·(length2·-·j),·length2·-·j·-·2); |
51 | ················} | 50 | ················} |
52 | ················if·(length·-·j·-·1·>·n2)·{ | 51 | ················if·(length2·-·j·-·1·>·n2)·{ |
53 | ····················int·n6·=·0; | 52 | ····················int·n6·=·0; |
54 | ····················for·(int·l·=·n3·-·k·-·(length·-·j·-·2);·l·>·n;·--l)·{ | 53 | ····················for·(int·l·=·n3·-·k·-·(length2·-·j·-·2);·l·>·n;·--l)·{ |
55 | ························n6·+=·combins(n3·-·k·-·l·-·1,·length·-·j·-·3); | 54 | ························n6·+=·combins(n3·-·k·-·l·-·1,·length2·-·j·-·3); |
56 | ····················} | 55 | ····················} |
57 | ····················combins·-=·(length·-·1·-·j)·*·n6; | 56 | ····················combins·-=·(length2·-·1·-·j)·*·n6; |
58 | ················} | 57 | ················} |
59 | ················else·if·(n3·-·k·>·n)·{ | 58 | ················else·if·(n3·-·k·>·n)·{ |
60 | ····················--combins; | 59 | ····················--combins; |
61 | ················} | 60 | ················} |
62 | ················n4·+=·combins; | 61 | ················n4·+=·combins; |
63 | ············} | 62 | ············} |
64 | ············n3·-=·k; | 63 | ············n3·-=·k; |
Offset 7, 15 lines modified | Offset 7, 15 lines modified | ||
7 | final·class·BitArrayBuilder | 7 | final·class·BitArrayBuilder |
8 | { | 8 | { |
9 | ····private·BitArrayBuilder()·{ | 9 | ····private·BitArrayBuilder()·{ |
10 | ····} | 10 | ····} |
11 | ···· | 11 | ···· |
12 | ····static·BitArray·buildBitArray(final·List·list)·{ | 12 | ····static·BitArray·buildBitArray(final·List·list)·{ |
13 | ········final·int·n·=·1; | 13 | ········final·int·n·=·1; |
14 | ········int·n2·=·list.size()· | 14 | ········int·n2·=·(list.size()·<<·1)·-·1; |
15 | ········if·(((ExpandedPair)list.get(list.size()·-·1)).getRightChar()·==·null)·{ | 15 | ········if·(((ExpandedPair)list.get(list.size()·-·1)).getRightChar()·==·null)·{ |
16 | ············--n2; | 16 | ············--n2; |
17 | ········} | 17 | ········} |
18 | ········final·BitArray·bitArray·=·new·BitArray(n2·*·12); | 18 | ········final·BitArray·bitArray·=·new·BitArray(n2·*·12); |
19 | ········int·n3·=·0; | 19 | ········int·n3·=·0; |
20 | ········final·int·value·=·((ExpandedPair)list.get(0)).getRightChar().getValue(); | 20 | ········final·int·value·=·((ExpandedPair)list.get(0)).getRightChar().getValue(); |
21 | ········for·(int·i·=·11;·i·>=·0;·--i)·{ | 21 | ········for·(int·i·=·11;·i·>=·0;·--i)·{ |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | ···· | 76 | ···· |
77 | ····public·boolean·mustBeLast()·{ | 77 | ····public·boolean·mustBeLast()·{ |
78 | ········return·this.rightChar·==·null; | 78 | ········return·this.rightChar·==·null; |
79 | ····} | 79 | ····} |
80 | ···· | 80 | ···· |
81 | ····@Override | 81 | ····@Override |
82 | ····public·String·toString()·{ | 82 | ····public·String·toString()·{ |
83 | ········final·StringBuilder·append·=·new·StringBuilder( | 83 | ········final·StringBuilder·append·=·new·StringBuilder("[·").append(this.leftChar).append("·,·").append(this.rightChar).append("·:·"); |
84 | ········Serializable·value; | 84 | ········Serializable·value; |
85 | ········if·(this.finderPattern·==·null)·{ | 85 | ········if·(this.finderPattern·==·null)·{ |
86 | ············value·=·"null"; | 86 | ············value·=·"null"; |
87 | ········} | 87 | ········} |
88 | ········else·{ | 88 | ········else·{ |
89 | ············value·=·Integer.valueOf(this.finderPattern.getValue()); | 89 | ············value·=·Integer.valueOf(this.finderPattern.getValue()); |
90 | ········} | 90 | ········} |
Offset 51, 37 lines modified | Offset 51, 39 lines modified | ||
51 | ··#43·=·Utf8···············valueOf | 51 | ··#43·=·Utf8···············valueOf |
52 | ··#44·=·Utf8···············(Z)Ljava/lang/Boolean; | 52 | ··#44·=·Utf8···············(Z)Ljava/lang/Boolean; |
53 | ··#45·=·NameAndType········#43:#44········//·valueOf:(Z)Ljava/lang/Boolean; | 53 | ··#45·=·NameAndType········#43:#44········//·valueOf:(Z)Ljava/lang/Boolean; |
54 | ··#46·=·Methodref··········#42.#45········//·java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean; | 54 | ··#46·=·Methodref··········#42.#45········//·java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean; |
55 | ··#47·=·Methodref··········#42.#39········//·java/lang/Boolean.hashCode:()I | 55 | ··#47·=·Methodref··········#42.#39········//·java/lang/Boolean.hashCode:()I |
56 | ··#48·=·Utf8···············java/lang/StringBuilder | 56 | ··#48·=·Utf8···············java/lang/StringBuilder |
57 | ··#49·=·Class··············#48············//·java/lang/StringBuilder | 57 | ··#49·=·Class··············#48············//·java/lang/StringBuilder |
58 | ··#50·=·Methodref··········#49.#13········//·java/lang/StringBuilder."<init>":()V | ||
59 | ··#5 | 58 | ··#50·=·Utf8···············{ |
60 | ··#5 | 59 | ··#51·=·String·············#50············//·{ |
60 | ··#52·=·Utf8···············(Ljava/lang/String;)V | ||
61 | ··#53·=·NameAndType········#11:#52········//·"<init>":(Ljava/lang/String;)V | ||
62 | ··#54·=·Methodref··········#49.#53········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V | ||
61 | ··#5 | 63 | ··#55·=·Utf8···············append |
62 | ··#54·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
63 | ··#55·=·NameAndType········#53:#54········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
64 | ··#56·=·Methodref··········#49.#55········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
65 | ··#5 | 64 | ··#56·=·Utf8···············(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
66 | ··#5 | 65 | ··#57·=·NameAndType········#55:#56········//·append:(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
67 | ··#5 | 66 | ··#58·=·Methodref··········#49.#57········//·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
68 | ··# | 67 | ··#59·=·Utf8················} |
69 | ··#6 | 68 | ··#60·=·String·············#59············//··} |
69 | ··#61·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
70 | ··#62·=·NameAndType········#55:#61········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
71 | ··#63·=·Methodref··········#49.#62········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
70 | ··#6 | 72 | ··#64·=·Utf8···············toString |
71 | ··#6 | 73 | ··#65·=·Utf8···············()Ljava/lang/String; |
72 | ··#6 | 74 | ··#66·=·NameAndType········#64:#65········//·toString:()Ljava/lang/String; |
73 | ··#6 | 75 | ··#67·=·Methodref··········#49.#66········//·java/lang/StringBuilder.toString:()Ljava/lang/String; |
74 | ··#6 | 76 | ··#68·=·Utf8···············Code |
75 | ··#6 | 77 | ··#69·=·Utf8···············(Ljava/util/List;IZ)V |
76 | ··# | 78 | ··#70·=·Utf8···············getRowNumber |
77 | ··# | 79 | ··#71·=·Utf8···············isEquivalent |
78 | ··#7 | 80 | ··#72·=·Utf8···············(Ljava/util/List;)Z |
79 | ··#7 | 81 | ··#73·=·Utf8···············isReversed |
80 | ··#7 | 82 | ··#74·=·Utf8···············()Z |
81 | { | 83 | { |
82 | ··private·final·java.util.List·pairs; | 84 | ··private·final·java.util.List·pairs; |
83 | ····descriptor:·Ljava/util/List; | 85 | ····descriptor:·Ljava/util/List; |
84 | ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL | 86 | ····flags:·(0x0012)·ACC_PRIVATE,·ACC_FINAL |
85 | ··private·final·int·rowNumber; | 87 | ··private·final·int·rowNumber; |
86 | ····descriptor:·I | 88 | ····descriptor:·I |
Offset 219, 23 lines modified | Offset 221, 20 lines modified | ||
219 | ····descriptor:·()Ljava/lang/String; | 221 | ····descriptor:·()Ljava/lang/String; |
220 | ····flags:·(0x0001)·ACC_PUBLIC | 222 | ····flags:·(0x0001)·ACC_PUBLIC |
221 | ····Code: | 223 | ····Code: |
222 | ······stack=300,·locals=3,·args_size=1 | 224 | ······stack=300,·locals=3,·args_size=1 |
223 | ·········0:·new···········#49·················//·class·java/lang/StringBuilder | 225 | ·········0:·new···········#49·················//·class·java/lang/StringBuilder |
224 | ·········3:·astore_1 | 226 | ·········3:·astore_1 |
225 | ·········4:·aload_1 | 227 | ·········4:·aload_1 |
226 | ·········5:·invokespecial·#50·················//·Method·java/lang/StringBuilder."<init>":()V | ||
227 | ·········8:·aload_1 | ||
228 | ········· | 228 | ·········5:·ldc···········#51·················//·String·{ |
229 | ········ | 229 | ·········7:·invokespecial·#54·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V |
230 | ········14:·astore_1 | ||
231 | ········1 | 230 | ········10:·aload_0 |
232 | ········1 | 231 | ········11:·getfield······#21·················//·Field·pairs:Ljava/util/List; |
233 | ········1 | 232 | ········14:·astore_2 |
234 | ········ | 233 | ········15:·aload_1 |
235 | ········ | 234 | ········16:·aload_2 |
236 | ········ | 235 | ········17:·invokevirtual·#58·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
237 | ········2 | 236 | ········20:·ldc···········#60·················//·String··} |
238 | ········2 | 237 | ········22:·invokevirtual·#63·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
239 | ········ | 238 | ········25:·invokevirtual·#67·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String; |
240 | ········ | 239 | ········28:·areturn |
241 | } | 240 | } |
Offset 661, 15 lines modified | Offset 661, 15 lines modified | ||
661 | ········} | 661 | ········} |
662 | ········final·String·substring·=·s.substring(0,·n); | 662 | ········final·String·substring·=·s.substring(0,·n); |
663 | ········if·(s.length()·<·n·+·n2)·{ | 663 | ········if·(s.length()·<·n·+·n2)·{ |
664 | ············throw·NotFoundException.getNotFoundInstance(); | 664 | ············throw·NotFoundException.getNotFoundInstance(); |
665 | ········} | 665 | ········} |
666 | ········final·String·substring2·=·s.substring(n,·n·+·n2); | 666 | ········final·String·substring2·=·s.substring(n,·n·+·n2); |
667 | ········final·String·substring3·=·s.substring(n·+·n2); | 667 | ········final·String·substring3·=·s.substring(n·+·n2); |
668 | ········String·str·=· | 668 | ········String·str·=·"("·+·substring·+·')'·+·substring2; |
669 | ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3); | 669 | ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3); |
670 | ········if·(fieldsInGeneralPurpose·!=·null)·{ | 670 | ········if·(fieldsInGeneralPurpose·!=·null)·{ |
671 | ············str·+=·fieldsInGeneralPurpose; | 671 | ············str·+=·fieldsInGeneralPurpose; |
672 | ········} | 672 | ········} |
673 | ········return·str; | 673 | ········return·str; |
674 | ····} | 674 | ····} |
675 | ···· | 675 | ···· |
Offset 680, 15 lines modified | Offset 680, 15 lines modified | ||
680 | ············length·=·s.length(); | 680 | ············length·=·s.length(); |
681 | ········} | 681 | ········} |
682 | ········else·{ | 682 | ········else·{ |
683 | ············length·=·n·+·n2; | 683 | ············length·=·n·+·n2; |
684 | ········} | 684 | ········} |
685 | ········final·String·substring2·=·s.substring(n,·length); | 685 | ········final·String·substring2·=·s.substring(n,·length); |
686 | ········final·String·substring3·=·s.substring(length); | 686 | ········final·String·substring3·=·s.substring(length); |
687 | ········String·str·=· | 687 | ········String·str·=·"("·+·substring·+·')'·+·substring2; |
688 | ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3); | 688 | ········final·String·fieldsInGeneralPurpose·=·parseFieldsInGeneralPurpose(substring3); |
689 | ········if·(fieldsInGeneralPurpose·!=·null)·{ | 689 | ········if·(fieldsInGeneralPurpose·!=·null)·{ |
690 | ············str·+=·fieldsInGeneralPurpose; | 690 | ············str·+=·fieldsInGeneralPurpose; |
691 | ········} | 691 | ········} |
692 | ········return·str; | 692 | ········return·str; |
693 | ····} | 693 | ····} |
694 | } | 694 | } |
Offset 254, 52 lines modified | Offset 254, 50 lines modified | ||
254 | ········} | 254 | ········} |
255 | ········return·b; | 255 | ········return·b; |
256 | ····} | 256 | ····} |
257 | ···· | 257 | ···· |
258 | ····private·boolean·isStillAlpha(final·int·n)·{ | 258 | ····private·boolean·isStillAlpha(final·int·n)·{ |
259 | ········final·int·n2·=·16; | 259 | ········final·int·n2·=·16; |
260 | ········final·int·n3·=·5; | 260 | ········final·int·n3·=·5; |
261 | ········boolean·b·=·true; | 261 | ········final·boolean·b·=·true; |
262 | ········boolean·b2·=·false; | 262 | ········boolean·b2·=·false; |
263 | ········if·(n·+·5·<=·this.information.getSize())·{ | 263 | ········if·(n·+·5·<=·this.information.getSize())·{ |
264 | ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n3); | 264 | ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n3); |
265 | ············if·(numericValueFromBitArray·>=·n3·&&·numericValueFromBitArray·<·n2)·{ | 265 | ············if·(numericValueFromBitArray·>=·n3·&&·numericValueFromBitArray·<·n2)·{ |
266 | ················b2·=·b; | 266 | ················b2·=·b; |
267 | ············} | 267 | ············} |
268 | ············else·if·(n·+·6·<=·this.information.getSize())·{ | 268 | ············else·if·(n·+·6·<=·this.information.getSize())·{ |
269 | ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·6); | 269 | ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·6); |
270 | ················if·(numericValueFromBitArray2· | 270 | ················if·(numericValueFromBitArray2·>=·n2·&&·numericValueFromBitArray2·<·63)·{ |
271 | ····················b·=· | 271 | ····················b2·=·b; |
272 | ················} | 272 | ················} |
273 | ················b2·=·b; | ||
274 | ············} | 273 | ············} |
275 | ········} | 274 | ········} |
276 | ········return·b2; | 275 | ········return·b2; |
277 | ····} | 276 | ····} |
278 | ···· | 277 | ···· |
279 | ····private·boolean·isStillIsoIec646(final·int·n)·{ | 278 | ····private·boolean·isStillIsoIec646(final·int·n)·{ |
280 | ········final·int·n2·=·5; | 279 | ········final·int·n2·=·5; |
281 | ········boolean·b·=·true; | 280 | ········final·boolean·b·=·true; |
282 | ········boolean·b2·=·false; | 281 | ········boolean·b2·=·false; |
283 | ········if·(n·+·5·<=·this.information.getSize())·{ | 282 | ········if·(n·+·5·<=·this.information.getSize())·{ |
284 | ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n2); | 283 | ············final·int·numericValueFromBitArray·=·this.extractNumericValueFromBitArray(n,·n2); |
285 | ············if·(numericValueFromBitArray·>=·n2·&&·numericValueFromBitArray·<·16)·{ | 284 | ············if·(numericValueFromBitArray·>=·n2·&&·numericValueFromBitArray·<·16)·{ |
286 | ················b2·=·b; | 285 | ················b2·=·b; |
287 | ············} | 286 | ············} |
288 | ············else·if·(n·+·7·<=·this.information.getSize())·{ | 287 | ············else·if·(n·+·7·<=·this.information.getSize())·{ |
289 | ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·7); | 288 | ················final·int·numericValueFromBitArray2·=·this.extractNumericValueFromBitArray(n,·7); |
290 | ················if·(numericValueFromBitArray2·>=·64·&&·numericValueFromBitArray2·<·116)·{ | 289 | ················if·(numericValueFromBitArray2·>=·64·&&·numericValueFromBitArray2·<·116)·{ |
291 | ····················b2·=·b; | 290 | ····················b2·=·b; |
292 | ················} | 291 | ················} |
293 | ················else·if·(n·+·8·<=·this.information.getSize())·{ | 292 | ················else·if·(n·+·8·<=·this.information.getSize())·{ |
294 | ····················final·int·numericValueFromBitArray3·=·this.extractNumericValueFromBitArray(n,·8); | 293 | ····················final·int·numericValueFromBitArray3·=·this.extractNumericValueFromBitArray(n,·8); |
295 | ····················if·(numericValueFromBitArray3· | 294 | ····················if·(numericValueFromBitArray3·>=·232·&&·numericValueFromBitArray3·<·253)·{ |
296 | ························b·=· | 295 | ························b2·=·b; |
297 | ····················} | 296 | ····················} |
298 | ····················b2·=·b; | ||
299 | ················} | 297 | ················} |
300 | ············} | 298 | ············} |
301 | ········} | 299 | ········} |
302 | ········return·b2; | 300 | ········return·b2; |
303 | ····} | 301 | ····} |
304 | ···· | 302 | ···· |
305 | ····private·boolean·isStillNumeric(final·int·n)·{ | 303 | ····private·boolean·isStillNumeric(final·int·n)·{ |
Offset 1, 13 lines modified | Offset 1, 14 lines modified | ||
1 | package·com.google.zxing.pdf417; | 1 | package·com.google.zxing.pdf417; |
2 | import·java.util.Iterator; | 2 | import·java.util.Iterator; |
3 | import·java.util.Collection; | 3 | import·java.util.Collection; |
4 | import·java.util.Arrays; | 4 | import·java.util.Arrays; |
5 | import·com.google.zxing.common.detector.MathUtils; | ||
5 | public·final·class·PDF417Common | 6 | public·final·class·PDF417Common |
6 | { | 7 | { |
7 | ····public·static·final·int·BARS_IN_MODULE·=·8; | 8 | ····public·static·final·int·BARS_IN_MODULE·=·8; |
8 | ····private·static·final·int[]·CODEWORD_TABLE; | 9 | ····private·static·final·int[]·CODEWORD_TABLE; |
9 | ····private·static·final·int[]·EMPTY_INT_ARRAY; | 10 | ····private·static·final·int[]·EMPTY_INT_ARRAY; |
10 | ····public·static·final·int·MAX_CODEWORDS_IN_BARCODE·=·928; | 11 | ····public·static·final·int·MAX_CODEWORDS_IN_BARCODE·=·928; |
Offset 5602, 19 lines modified | Offset 5603, 15 lines modified | ||
5602 | ········CODEWORD_TABLE·=·codeword_TABLE; | 5603 | ········CODEWORD_TABLE·=·codeword_TABLE; |
5603 | ····} | 5604 | ····} |
5604 | ···· | 5605 | ···· |
5605 | ····private·PDF417Common()·{ | 5606 | ····private·PDF417Common()·{ |
5606 | ····} | 5607 | ····} |
5607 | ···· | 5608 | ···· |
5608 | ····public·static·int·getBitCountSum(final·int[]·array)·{ | 5609 | ····public·static·int·getBitCountSum(final·int[]·array)·{ |
5610 | ········return·MathUtils.sum(array); | ||
5609 | ········int·n·=·0; | ||
5610 | ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{ | ||
5611 | ············n·+=·array[i]; | ||
5612 | ········} | ||
5613 | ········return·n; | ||
5614 | ····} | 5611 | ····} |
5615 | ···· | 5612 | ···· |
5616 | ····public·static·int·getCodeword(final·int·n)·{ | 5613 | ····public·static·int·getCodeword(final·int·n)·{ |
5617 | ········final·int·binarySearch·=·Arrays.binarySearch(PDF417Common.SYMBOL_TABLE,·0x3FFFF·&·n); | 5614 | ········final·int·binarySearch·=·Arrays.binarySearch(PDF417Common.SYMBOL_TABLE,·0x3FFFF·&·n); |
5618 | ········int·n2; | 5615 | ········int·n2; |
5619 | ········if·(binarySearch·<·0)·{ | 5616 | ········if·(binarySearch·<·0)·{ |
5620 | ············n2·=·-1; | 5617 | ············n2·=·-1; |
Offset 35, 74 lines modified | Offset 35, 16 lines modified | ||
35 | ····private·static·final·int·PAL·=·29; | 35 | ····private·static·final·int·PAL·=·29; |
36 | ····private·static·final·int·PL·=·25; | 36 | ····private·static·final·int·PL·=·25; |
37 | ····private·static·final·int·PS·=·29; | 37 | ····private·static·final·int·PS·=·29; |
38 | ····private·static·final·char[]·PUNCT_CHARS; | 38 | ····private·static·final·char[]·PUNCT_CHARS; |
39 | ····private·static·final·int·TEXT_COMPACTION_MODE_LATCH·=·900; | 39 | ····private·static·final·int·TEXT_COMPACTION_MODE_LATCH·=·900; |
40 | ···· | 40 | ···· |
41 | ····static·{ | 41 | ····static·{ |
42 | ········PUNCT_CHARS·=·";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'".toCharArray(); | ||
43 | ········MIXED_CHARS·=·"0123456789&\r\t,:#-.$/+%*=^".toCharArray(); | ||
42 | ········final·char[]·array; | ||
43 | ········final·char[]·punct_CHARS·=·array·=·new·char[29]; | ||
44 | ········array[0]·=·';'; | ||
45 | ········array[1]·=·'<'; | ||
46 | ········array[2]·=·'>'; | ||
47 | ········array[3]·=·'@'; | ||
48 | ········array[4]·=·'['; | ||
49 | ········array[5]·=·'\\'; | ||
50 | ········array[6]·=·']'; | ||
51 | ········array[7]·=·'_'; | ||
52 | ········array[8]·=·'`'; | ||
53 | ········array[9]·=·'~'; | ||
54 | ········array[10]·=·'!'; | ||
55 | ········array[11]·=·'\r'; | ||
56 | ········array[12]·=·'\t'; | ||
57 | ········array[13]·=·','; | ||
58 | ········array[14]·=·':'; | ||
59 | ········array[15]·=·'\n'; | ||
60 | ········array[16]·=·'-'; | ||
61 | ········array[17]·=·'.'; | ||
62 | ········array[18]·=·'$'; | ||
63 | ········array[19]·=·'/'; | ||
64 | ········array[20]·=·'\"'; | ||
65 | ········array[21]·=·'|'; | ||
66 | ········array[22]·=·'*'; | ||
67 | ········array[23]·=·'('; | ||
68 | ········array[24]·=·')'; | ||
69 | ········array[25]·=·'?'; | ||
70 | ········array[26]·=·'{'; | ||
71 | ········array[27]·=·'}'; | ||
72 | ········array[28]·=·'\''; | ||
73 | ········PUNCT_CHARS·=·punct_CHARS; | ||
74 | ········final·char[]·array2; | ||
75 | ········final·char[]·mixed_CHARS·=·array2·=·new·char[25]; | ||
76 | ········array2[0]·=·'0'; | ||
77 | ········array2[1]·=·'1'; | ||
78 | ········array2[2]·=·'2'; | ||
79 | ········array2[3]·=·'3'; | ||
80 | ········array2[4]·=·'4'; | ||
81 | ········array2[5]·=·'5'; | ||
82 | ········array2[6]·=·'6'; | ||
83 | ········array2[7]·=·'7'; | ||
84 | ········array2[8]·=·'8'; | ||
85 | ········array2[9]·=·'9'; | ||
86 | ········array2[10]·=·'&'; | ||
87 | ········array2[11]·=·'\r'; | ||
88 | ········array2[12]·=·'\t'; | ||
89 | ········array2[13]·=·','; | ||
90 | ········array2[14]·=·':'; | ||
91 | ········array2[15]·=·'#'; | ||
92 | ········array2[16]·=·'-'; | ||
93 | ········array2[17]·=·'.'; | ||
94 | ········array2[18]·=·'$'; | ||
95 | ········array2[19]·=·'/'; | ||
96 | ········array2[20]·=·'+'; | ||
97 | ········array2[21]·=·'%'; | ||
98 | ········array2[22]·=·'*'; | ||
99 | ········array2[23]·=·'='; | ||
100 | ········array2[24]·=·'^'; | ||
101 | ········MIXED_CHARS·=·mixed_CHARS; | ||
102 | ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1"); | 44 | ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1"); |
103 | ········(EXP900·=·new·BigInteger[16])[0]·=·BigInteger.ONE; | 45 | ········(EXP900·=·new·BigInteger[16])[0]·=·BigInteger.ONE; |
104 | ········final·BigInteger·value·=·BigInteger.valueOf(900L); | 46 | ········final·BigInteger·value·=·BigInteger.valueOf(900L); |
105 | ········DecodedBitStreamParser.EXP900[1]·=·value; | 47 | ········DecodedBitStreamParser.EXP900[1]·=·value; |
106 | ········for·(int·i·=·2;·i·<·DecodedBitStreamParser.EXP900.length;·++i)·{ | 48 | ········for·(int·i·=·2;·i·<·DecodedBitStreamParser.EXP900.length;·++i)·{ |
107 | ············DecodedBitStreamParser.EXP900[i]·=·DecodedBitStreamParser.EXP900[i·-·1].multiply(value); | 49 | ············DecodedBitStreamParser.EXP900[i]·=·DecodedBitStreamParser.EXP900[i·-·1].multiply(value); |
108 | ········} | 50 | ········} |
Offset 183, 75 lines modified | Offset 125, 75 lines modified | ||
183 | ············} | 125 | ············} |
184 | ········} | 126 | ········} |
185 | ········sb.append(new·String(byteArrayOutputStream.toByteArray(),·charset)); | 127 | ········sb.append(new·String(byteArrayOutputStream.toByteArray(),·charset)); |
186 | ········return·n2; | 128 | ········return·n2; |
187 | ····} | 129 | ····} |
188 | ···· | 130 | ···· |
189 | ····static·DecoderResult·decode(final·int[]·array,·final·String·s)·{ | 131 | ····static·DecoderResult·decode(final·int[]·array,·final·String·s)·{ |
190 | ········final·StringBuilder·sb·=·new·StringBuilder(array.length· | 132 | ········final·StringBuilder·sb·=·new·StringBuilder(array.length·<<·1); |
191 | ········Charset·charset·=·DecodedBitStreamParser.DEFAULT_ENCODING; | 133 | ········Charset·charset·=·DecodedBitStreamParser.DEFAULT_ENCODING; |
192 | ········final·int·n·=·1; | 134 | ········final·int·n·=·1; |
193 | ········ | 135 | ········int·i·=·1·+·1; |
194 | ········int·n | 136 | ········int·n2·=·array[n]; |
195 | ········final·PDF417ResultMetadata·other·=·new·PDF417ResultMetadata(); | 137 | ········final·PDF417ResultMetadata·other·=·new·PDF417ResultMetadata(); |
138 | ········while·(i·<·array[0])·{ | ||
196 | ········int·n7; | ||
197 | ········for·(int·i·=·n2;·i·<·array[0];·i·=·n7)·{ | ||
198 | ············int·n | 139 | ············int·n3·=·0; |
199 | ············switch·(n | 140 | ············switch·(n2)·{ |
200 | ················default:·{ | 141 | ················default:·{ |
201 | ····················n | 142 | ····················n3·=·textCompaction(array,·i·-·1,·sb); |
202 | ····················break; | 143 | ····················break; |
203 | ················} | 144 | ················} |
204 | ················case·900:·{ | 145 | ················case·900:·{ |
205 | ····················n | 146 | ····················n3·=·textCompaction(array,·i,·sb); |
206 | ····················break; | 147 | ····················break; |
207 | ················} | 148 | ················} |
208 | ················case·901: | 149 | ················case·901: |
209 | ················case·924:·{ | 150 | ················case·924:·{ |
210 | ····················n | 151 | ····················n3·=·byteCompaction(n2,·array,·charset,·i,·sb); |
211 | ····················break; | 152 | ····················break; |
212 | ················} | 153 | ················} |
213 | ················case·913:·{ | 154 | ················case·913:·{ |
214 | ····················final·int·n | 155 | ····················final·int·n4·=·i·+·1; |
215 | ····················sb.append((char)array[i]); | 156 | ····················sb.append((char)array[i]); |
216 | ····················n | 157 | ····················n3·=·n4; |
217 | ····················break; | 158 | ····················break; |
218 | ················} | 159 | ················} |
219 | ················case·902:·{ | 160 | ················case·902:·{ |
220 | ····················n | 161 | ····················n3·=·numericCompaction(array,·i,·sb); |
221 | ····················break; | 162 | ····················break; |
222 | ················} | 163 | ················} |
223 | ················case·927:·{ | 164 | ················case·927:·{ |
224 | ····················final·int·n | 165 | ····················final·int·n5·=·i·+·1; |
225 | ····················charset·=·Charset.forName(CharacterSetECI.getCharacterSetECIByValue(array[i]).name()); | 166 | ····················charset·=·Charset.forName(CharacterSetECI.getCharacterSetECIByValue(array[i]).name()); |
226 | ····················n | 167 | ····················n3·=·n5; |
227 | ····················break; | 168 | ····················break; |
228 | ················} | 169 | ················} |
229 | ················case·926:·{ | 170 | ················case·926:·{ |
230 | ····················n | 171 | ····················n3·=·i·+·2; |
231 | ····················break; | 172 | ····················break; |
Max diff block lines reached; 1745/6650 bytes (26.24%) of diff not shown. |
Offset 68, 53 lines modified | Offset 68, 54 lines modified | ||
68 | ················} | 68 | ················} |
69 | ············} | 69 | ············} |
70 | ········} | 70 | ········} |
71 | ········return·adjustRowNumbersByRow; | 71 | ········return·adjustRowNumbersByRow; |
72 | ····} | 72 | ····} |
73 | ···· | 73 | ···· |
74 | ····private·void·adjustRowNumbers(final·int·n,·final·int·n2,·final·Codeword[]·array)·{ | 74 | ····private·void·adjustRowNumbers(final·int·n,·final·int·n2,·final·Codeword[]·array)·{ |
75 | ········final·int·n3·=·1; | 75 | ········final·int·n3·=·14; |
76 | ········final·int·n4·=·1; | ||
76 | ········int·n | 77 | ········int·n5·=·0; |
77 | ········final·Codeword·codeword·=·array[n2]; | 78 | ········final·Codeword·codeword·=·array[n2]; |
78 | ········Codeword[]·array3; | 79 | ········Codeword[]·array3; |
79 | ········final·Codeword[]·array2·=·array3·=·this.detectionResultColumns[n·-·1].getCodewords(); | 80 | ········final·Codeword[]·array2·=·array3·=·this.detectionResultColumns[n·-·1].getCodewords(); |
80 | ········if·(this.detectionResultColumns[n·+·1]·!=·null)·{ | 81 | ········if·(this.detectionResultColumns[n·+·1]·!=·null)·{ |
81 | ············array3·=·this.detectionResultColumns[n·+·1].getCodewords(); | 82 | ············array3·=·this.detectionResultColumns[n·+·1].getCodewords(); |
82 | ········} | 83 | ········} |
83 | ········final·Codeword[]·array4·=·new·Codeword[ | 84 | ········final·Codeword[]·array4·=·new·Codeword[n3]; |
84 | ········array4[2]·=·array2[n2]; | 85 | ········array4[2]·=·array2[n2]; |
85 | ········array4[3]·=·array3[n2]; | 86 | ········array4[3]·=·array3[n2]; |
86 | ········if·(n2·>·0)·{ | 87 | ········if·(n2·>·0)·{ |
87 | ············array4[0]·=·array[n2·-·1]; | 88 | ············array4[0]·=·array[n2·-·1]; |
88 | ············array4[4]·=·array2[n2·-·1]; | 89 | ············array4[4]·=·array2[n2·-·1]; |
89 | ············array4[5]·=·array3[n2·-·1]; | 90 | ············array4[5]·=·array3[n2·-·1]; |
90 | ········} | 91 | ········} |
91 | ········if·(n2·>·n | 92 | ········if·(n2·>·n4)·{ |
92 | ············array4[8]·=·array[n2·-·2]; | 93 | ············array4[8]·=·array[n2·-·2]; |
93 | ············array4[10]·=·array2[n2·-·2]; | 94 | ············array4[10]·=·array2[n2·-·2]; |
94 | ············array4[11]·=·array3[n2·-·2]; | 95 | ············array4[11]·=·array3[n2·-·2]; |
95 | ········} | 96 | ········} |
96 | ········if·(n2·<·array.length·-·1)·{ | 97 | ········if·(n2·<·array.length·-·1)·{ |
97 | ············array4[n | 98 | ············array4[n4]·=·array[n2·+·1]; |
98 | ············array4[6]·=·array2[n2·+·1]; | 99 | ············array4[6]·=·array2[n2·+·1]; |
99 | ············array4[7]·=·array3[n2·+·1]; | 100 | ············array4[7]·=·array3[n2·+·1]; |
100 | ········} | 101 | ········} |
101 | ········if·(n2·<·array.length·-·2)·{ | 102 | ········if·(n2·<·array.length·-·2)·{ |
102 | ············array4[9]·=·array[n2·+·2]; | 103 | ············array4[9]·=·array[n2·+·2]; |
103 | ············array4[12]·=·array2[n2·+·2]; | 104 | ············array4[12]·=·array2[n2·+·2]; |
104 | ············array4[13]·=·array3[n2·+·2]; | 105 | ············array4[13]·=·array3[n2·+·2]; |
105 | ········} | 106 | ········} |
106 | ········while·(n | 107 | ········while·(n5·<·n3·&&·!adjustRowNumber(codeword,·array4[n5]))·{ |
107 | ············++n | 108 | ············++n5; |
108 | ········} | 109 | ········} |
109 | ····} | 110 | ····} |
110 | ···· | 111 | ···· |
111 | ····private·int·adjustRowNumbersByRow()·{ | 112 | ····private·int·adjustRowNumbersByRow()·{ |
112 | ········this.adjustRowNumbersFromBothRI(); | 113 | ········this.adjustRowNumbersFromBothRI(); |
113 | ········return·this.adjustRowNumbersFrom | 114 | ········return·this.adjustRowNumbersFromLRI()·+·this.adjustRowNumbersFromRRI(); |
114 | ····} | 115 | ····} |
115 | ···· | 116 | ···· |
116 | ····private·void·adjustRowNumbersFromBothRI()·{ | 117 | ····private·void·adjustRowNumbersFromBothRI()·{ |
117 | ········if·(this.detectionResultColumns[0]·!=·null·&&·this.detectionResultColumns[this.barcodeColumnCount·+·1]·!=·null)·{ | 118 | ········if·(this.detectionResultColumns[0]·!=·null·&&·this.detectionResultColumns[this.barcodeColumnCount·+·1]·!=·null)·{ |
118 | ············final·Codeword[]·codewords·=·this.detectionResultColumns[0].getCodewords(); | 119 | ············final·Codeword[]·codewords·=·this.detectionResultColumns[0].getCodewords(); |
119 | ············final·Codeword[]·codewords2·=·this.detectionResultColumns[this.barcodeColumnCount·+·1].getCodewords(); | 120 | ············final·Codeword[]·codewords2·=·this.detectionResultColumns[this.barcodeColumnCount·+·1].getCodewords(); |
120 | ············for·(int·i·=·0;·i·<·codewords.length;·++i)·{ | 121 | ············for·(int·i·=·0;·i·<·codewords.length;·++i)·{ |
Offset 1, 10 lines modified | Offset 1, 11 lines modified | ||
1 | package·com.google.zxing.pdf417.decoder; | 1 | package·com.google.zxing.pdf417.decoder; |
2 | import·com.google.zxing.common.detector.MathUtils; | ||
2 | import·java.lang.reflect.Array; | 3 | import·java.lang.reflect.Array; |
3 | import·com.google.zxing.pdf417.PDF417Common; | 4 | import·com.google.zxing.pdf417.PDF417Common; |
4 | final·class·PDF417CodewordDecoder | 5 | final·class·PDF417CodewordDecoder |
5 | { | 6 | { |
6 | ····private·static·final·float[][]·RATIOS_TABLE; | 7 | ····private·static·final·float[][]·RATIOS_TABLE; |
7 | ···· | 8 | ···· |
Offset 46, 18 lines modified | Offset 47, 18 lines modified | ||
46 | ············} | 47 | ············} |
47 | ········} | 48 | ········} |
48 | ········return·(int)n2; | 49 | ········return·(int)n2; |
49 | ····} | 50 | ····} |
50 | ···· | 51 | ···· |
51 | ····private·static·int·getClosestDecodedValue(final·int[]·array)·{ | 52 | ····private·static·int·getClosestDecodedValue(final·int[]·array)·{ |
52 | ········final·int·n·=·8; | 53 | ········final·int·n·=·8; |
53 | ········final·int· | 54 | ········final·int·sum·=·MathUtils.sum(array); |
54 | ········final·float[]·array2·=·new·float[n]; | 55 | ········final·float[]·array2·=·new·float[n]; |
55 | ········for·(int·i·=·0;·i·<· | 56 | ········for·(int·i·=·0;·i·<·n;·++i)·{ |
56 | ············array2[i]·=·array[i]·/·(float) | 57 | ············array2[i]·=·array[i]·/·(float)sum; |
57 | ········} | 58 | ········} |
58 | ········float·n2·=·Float.MAX_VALUE; | 59 | ········float·n2·=·Float.MAX_VALUE; |
59 | ········int·n3·=·-1; | 60 | ········int·n3·=·-1; |
60 | ········for·(int·j·=·0;·j·<·PDF417CodewordDecoder.RATIOS_TABLE.length;·++j)·{ | 61 | ········for·(int·j·=·0;·j·<·PDF417CodewordDecoder.RATIOS_TABLE.length;·++j)·{ |
61 | ············float·n4·=·0.0f; | 62 | ············float·n4·=·0.0f; |
62 | ············final·float[]·array3·=·PDF417CodewordDecoder.RATIOS_TABLE[j]; | 63 | ············final·float[]·array3·=·PDF417CodewordDecoder.RATIOS_TABLE[j]; |
63 | ············for·(int·k·=·0;·k·<·n;·++k)·{ | 64 | ············for·(int·k·=·0;·k·<·n;·++k)·{ |
Offset 89, 15 lines modified | Offset 90, 15 lines modified | ||
89 | ········if·(n·==·-1)·{ | 90 | ········if·(n·==·-1)·{ |
90 | ············n·=·getClosestDecodedValue(array); | 91 | ············n·=·getClosestDecodedValue(array); |
91 | ········} | 92 | ········} |
92 | ········return·n; | 93 | ········return·n; |
93 | ····} | 94 | ····} |
94 | ···· | 95 | ···· |
95 | ····private·static·int[]·sampleBitCounts(final·int[]·array)·{ | 96 | ····private·static·int[]·sampleBitCounts(final·int[]·array)·{ |
96 | ········final·float·n·=·(float) | 97 | ········final·float·n·=·(float)MathUtils.sum(array); |
97 | ········final·int[]·array2·=·new·int[8]; | 98 | ········final·int[]·array2·=·new·int[8]; |
98 | ········int·n2·=·0; | 99 | ········int·n2·=·0; |
99 | ········int·n3·=·0; | 100 | ········int·n3·=·0; |
100 | ········for·(int·i·=·0;·i·<·17;·++i)·{ | 101 | ········for·(int·i·=·0;·i·<·17;·++i)·{ |
101 | ············if·(array[n2]·+·n3·<=·n·/·34.0f·+·i·*·n·/·17.0f)·{ | 102 | ············if·(array[n2]·+·n3·<=·n·/·34.0f·+·i·*·n·/·17.0f)·{ |
102 | ················n3·+=·array[n2]; | 103 | ················n3·+=·array[n2]; |
103 | ················++n2; | 104 | ················++n2; |
Offset 54, 53 lines modified | Offset 54, 30 lines modified | ||
54 | ················} | 54 | ················} |
55 | ················o·=·new·ModulusPoly(this.field,·array2); | 55 | ················o·=·new·ModulusPoly(this.field,·array2); |
56 | ············} | 56 | ············} |
57 | ········} | 57 | ········} |
58 | ········return·(ModulusPoly)o; | 58 | ········return·(ModulusPoly)o; |
59 | ····} | 59 | ····} |
60 | ···· | 60 | ···· |
61 | ····ModulusPoly[]·divide(final·ModulusPoly·modulusPoly)·{ | ||
62 | ········if·(!this.field.equals(modulusPoly.field))·{ | ||
63 | ············throw·new·IllegalArgumentException("ModulusPolys·do·not·have·same·ModulusGF·field"); | ||
64 | ········} | ||
65 | ········if·(modulusPoly.isZero())·{ | ||
66 | ············throw·new·IllegalArgumentException("Divide·by·0"); | ||
67 | ········} | ||
68 | ········ModulusPoly·modulusPoly2·=·this.field.getZero(); | ||
69 | ········ModulusPoly·subtract·=·this; | ||
70 | ········final·int·inverse·=·this.field.inverse(modulusPoly.getCoefficient(modulusPoly.getDegree())); | ||
71 | ········while·(subtract.getDegree()·>=·modulusPoly.getDegree()·&&·!subtract.isZero())·{ | ||
72 | ············final·int·n·=·subtract.getDegree()·-·modulusPoly.getDegree(); | ||
73 | ············final·int·multiply·=·this.field.multiply(subtract.getCoefficient(subtract.getDegree()),·inverse); | ||
74 | ············final·ModulusPoly·multiplyByMonomial·=·modulusPoly.multiplyByMonomial(n,·multiply); | ||
75 | ············modulusPoly2·=·modulusPoly2.add(this.field.buildMonomial(n,·multiply)); | ||
76 | ············subtract·=·subtract.subtract(multiplyByMonomial); | ||
77 | ········} | ||
78 | ········return·new·ModulusPoly[]·{·modulusPoly2,·subtract·}; | ||
79 | ····} | ||
80 | ···· | ||
81 | ····int·evaluateAt(final·int·n)·{ | 61 | ····int·evaluateAt(final·int·n)·{ |
82 | ········int·i·=·0; | 62 | ········int·i·=·0; |
83 | ········int·n2; | 63 | ········int·n2; |
84 | ········if·(n·==·0)·{ | 64 | ········if·(n·==·0)·{ |
85 | ············n2·=·this.getCoefficient(0); | 65 | ············n2·=·this.getCoefficient(0); |
86 | ········} | 66 | ········} |
87 | ········else·{ | ||
88 | ············final·int·length·=·this.coefficients.length; | ||
89 | ········ | 67 | ········else·if·(n·==·1)·{ |
90 | ············ | 68 | ············n2·=·0; |
91 | ············ | 69 | ············for·(int[]·coefficients·=·this.coefficients;·i·<·coefficients.length;·++i)·{ |
92 | ················ | 70 | ················n2·=·this.field.add(n2,·coefficients[i]); |
93 | ················} | ||
94 | ············} | 71 | ············} |
72 | ········} | ||
95 | ········ | 73 | ········else·{ |
96 | ············ | 74 | ············n2·=·this.coefficients[0]; |
97 | ················ | 75 | ············for·(int·length·=·this.coefficients.length,·j·=·1;·j·<·length;·++j)·{ |
98 | ················ | 76 | ················n2·=·this.field.add(this.field.multiply(n,·n2),·this.coefficients[j]); |
99 | ················} | ||
100 | ············} | 77 | ············} |
101 | ········} | 78 | ········} |
102 | ········return·n2; | 79 | ········return·n2; |
103 | ····} | 80 | ····} |
104 | ···· | 81 | ···· |
105 | ····int·getCoefficient(final·int·n)·{ | 82 | ····int·getCoefficient(final·int·n)·{ |
106 | ········return·this.coefficients[this.coefficients.length·-·1·-·n]; | 83 | ········return·this.coefficients[this.coefficients.length·-·1·-·n]; |
Offset 123, 28 lines modified | Offset 123, 28 lines modified | ||
123 | ············} | 123 | ············} |
124 | ········} | 124 | ········} |
125 | ········return·list; | 125 | ········return·list; |
126 | ····} | 126 | ····} |
127 | ···· | 127 | ···· |
128 | ····private·static·int[]·findGuardPattern(final·BitMatrix·bitMatrix,·final·int·n,·final·int·n2,·final·int·n3,·final·boolean·b,·final·int[]·array,·final·int[]·a)·{ | 128 | ····private·static·int[]·findGuardPattern(final·BitMatrix·bitMatrix,·final·int·n,·final·int·n2,·final·int·n3,·final·boolean·b,·final·int[]·array,·final·int[]·a)·{ |
129 | ········Arrays.fill(a,·0,·a.length,·0); | 129 | ········Arrays.fill(a,·0,·a.length,·0); |
130 | ········final·int·length·=·array.length; | ||
131 | ········boolean·b2·=·b; | ||
132 | ········int·n4·=·n; | 130 | ········int·n4·=·n; |
133 | ········int·n5·=·0; | 131 | ········int·n5·=·0; |
134 | ········while·(bitMatrix.get(n4,·n2)·&&·n4·>·0)·{ | 132 | ········while·(bitMatrix.get(n4,·n2)·&&·n4·>·0)·{ |
135 | ············final·int·n6·=·n5·+·1; | 133 | ············final·int·n6·=·n5·+·1; |
136 | ············if·(n5·>=·3)·{ | 134 | ············if·(n5·>=·3)·{ |
137 | ················break; | 135 | ················break; |
138 | ············} | 136 | ············} |
139 | ············--n4; | 137 | ············--n4; |
140 | ············n5·=·n6; | 138 | ············n5·=·n6; |
141 | ········} | 139 | ········} |
142 | ········int·i·=·n4; | 140 | ········int·i·=·n4; |
143 | ········int·n7·=·0; | 141 | ········int·n7·=·0; |
142 | ········final·int·length·=·array.length; | ||
143 | ········boolean·b2·=·b; | ||
144 | ········while·(i·<·n3)·{ | 144 | ········while·(i·<·n3)·{ |
145 | ············if·(bitMatrix.get(i,·n2)·^·b2)·{ | 145 | ············if·(bitMatrix.get(i,·n2)·^·b2)·{ |
146 | ················++a[n7]; | 146 | ················++a[n7]; |
147 | ············} | 147 | ············} |
148 | ············else·{ | 148 | ············else·{ |
149 | ················if·(n7·==·length·-·1)·{ | 149 | ················if·(n7·==·length·-·1)·{ |
150 | ····················if·(patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{ | 150 | ····················if·(patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{ |
Offset 155, 15 lines modified | Offset 155, 15 lines modified | ||
155 | ····················a[length·-·1]·=·(a[length·-·2]·=·0); | 155 | ····················a[length·-·1]·=·(a[length·-·2]·=·0); |
156 | ····················--n7; | 156 | ····················--n7; |
157 | ················} | 157 | ················} |
158 | ················else·{ | 158 | ················else·{ |
159 | ····················++n7; | 159 | ····················++n7; |
160 | ················} | 160 | ················} |
161 | ················a[n7]·=·1; | 161 | ················a[n7]·=·1; |
162 | ················b2·=· | 162 | ················b2·=·!b2; |
163 | ············} | 163 | ············} |
164 | ············++i; | 164 | ············++i; |
165 | ········} | 165 | ········} |
166 | ········if·(n7·==·length·-·1·&&·patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{ | 166 | ········if·(n7·==·length·-·1·&&·patternMatchVariance(a,·array,·0.8f)·<·0.42f)·{ |
167 | ············return·new·int[]·{·n4,·i·-·1·}; | 167 | ············return·new·int[]·{·n4,·i·-·1·}; |
168 | ········} | 168 | ········} |
169 | ········return·null; | 169 | ········return·null; |
Offset 211, 15 lines modified | Offset 211, 15 lines modified | ||
211 | ················++j; | 211 | ················++j; |
212 | ············} | 212 | ············} |
213 | ············j·-=·n4·+·1; | 213 | ············j·-=·n4·+·1; |
214 | ············array2[2]·=·new·ResultPoint((float)array4[0],·(float)j); | 214 | ············array2[2]·=·new·ResultPoint((float)array4[0],·(float)j); |
215 | ············array2[3]·=·new·ResultPoint((float)array4[1],·(float)j); | 215 | ············array2[3]·=·new·ResultPoint((float)array4[1],·(float)j); |
216 | ········} | 216 | ········} |
217 | ········if·(j·-·i·<·10)·{ | 217 | ········if·(j·-·i·<·10)·{ |
218 | ············for·(int·k·=·0;·k·<· | 218 | ············for·(int·k·=·0;·k·<·4;·++k)·{ |
219 | ················array2[k]·=·null; | 219 | ················array2[k]·=·null; |
220 | ············} | 220 | ············} |
221 | ········} | 221 | ········} |
222 | ········return·array2; | 222 | ········return·array2; |
223 | ····} | 223 | ····} |
224 | ···· | 224 | ···· |
225 | ····private·static·ResultPoint[]·findVertices(final·BitMatrix·bitMatrix,·int·n,·int·n2)·{ | 225 | ····private·static·ResultPoint[]·findVertices(final·BitMatrix·bitMatrix,·int·n,·int·n2)·{ |
Offset 7, 14 lines modified | Offset 7, 26 lines modified | ||
7 | ····private·final·byte[]·row; | 7 | ····private·final·byte[]·row; |
8 | ···· | 8 | ···· |
9 | ····BarcodeRow(final·int·n)·{ | 9 | ····BarcodeRow(final·int·n)·{ |
10 | ········this.row·=·new·byte[n]; | 10 | ········this.row·=·new·byte[n]; |
11 | ········this.currentLocation·=·0; | 11 | ········this.currentLocation·=·0; |
12 | ····} | 12 | ····} |
13 | ···· | 13 | ···· |
14 | ····private·void·set(final·int·n,·final·boolean·b)·{ | ||
15 | ········final·byte[]·row·=·this.row; | ||
16 | ········int·n2; | ||
17 | ········if·(b)·{ | ||
18 | ············n2·=·1; | ||
19 | ········} | ||
20 | ········else·{ | ||
21 | ············n2·=·0; | ||
22 | ········} | ||
23 | ········row[n]·=·(byte)n2; | ||
24 | ····} | ||
25 | ···· | ||
14 | ····void·addBar(final·boolean·b,·final·int·n)·{ | 26 | ····void·addBar(final·boolean·b,·final·int·n)·{ |
15 | ········for·(int·i·=·0;·i·<·n;·++i)·{ | 27 | ········for·(int·i·=·0;·i·<·n;·++i)·{ |
16 | ············this.set(this.currentLocation++,·b); | 28 | ············this.set(this.currentLocation++,·b); |
17 | ········} | 29 | ········} |
18 | ····} | 30 | ····} |
19 | ···· | 31 | ···· |
20 | ····byte[]·getScaledRow(final·int·n)·{ | 32 | ····byte[]·getScaledRow(final·int·n)·{ |
Offset 24, 20 lines modified | Offset 36, 8 lines modified | ||
24 | ········} | 36 | ········} |
25 | ········return·array; | 37 | ········return·array; |
26 | ····} | 38 | ····} |
27 | ···· | 39 | ···· |
28 | ····void·set(final·int·n,·final·byte·b)·{ | 40 | ····void·set(final·int·n,·final·byte·b)·{ |
29 | ········this.row[n]·=·b; | 41 | ········this.row[n]·=·b; |
30 | ····} | 42 | ····} |
31 | ···· | ||
32 | ····void·set(final·int·n,·final·boolean·b)·{ | ||
33 | ········final·byte[]·row·=·this.row; | ||
34 | ········int·n2; | ||
35 | ········if·(b)·{ | ||
36 | ············n2·=·1; | ||
37 | ········} | ||
38 | ········else·{ | ||
39 | ············n2·=·0; | ||
40 | ········} | ||
41 | ········row[n]·=·(byte)n2; | ||
42 | ····} | ||
43 | } | 43 | } |
Offset 2963, 25 lines modified | Offset 2963, 27 lines modified | ||
2963 | ········final·String·encodeHighLevel·=·PDF417HighLevelEncoder.encodeHighLevel(s,·this.compaction,·this.encoding); | 2963 | ········final·String·encodeHighLevel·=·PDF417HighLevelEncoder.encodeHighLevel(s,·this.compaction,·this.encoding); |
2964 | ········final·int·length·=·encodeHighLevel.length(); | 2964 | ········final·int·length·=·encodeHighLevel.length(); |
2965 | ········final·int[]·determineDimensions·=·this.determineDimensions(length,·errorCorrectionCodewordCount); | 2965 | ········final·int[]·determineDimensions·=·this.determineDimensions(length,·errorCorrectionCodewordCount); |
2966 | ········final·int·n2·=·determineDimensions[0]; | 2966 | ········final·int·n2·=·determineDimensions[0]; |
2967 | ········final·int·n3·=·determineDimensions[1]; | 2967 | ········final·int·n3·=·determineDimensions[1]; |
2968 | ········final·int·numberOfPadCodewords·=·getNumberOfPadCodewords(length,·errorCorrectionCodewordCount,·n2,·n3); | 2968 | ········final·int·numberOfPadCodewords·=·getNumberOfPadCodewords(length,·errorCorrectionCodewordCount,·n2,·n3); |
2969 | ········if·(length·+·errorCorrectionCodewordCount·+·1·>·929)·{ | 2969 | ········if·(length·+·errorCorrectionCodewordCount·+·1·>·929)·{ |
2970 | ············throw·new·WriterException("Encoded·message·contains·to·many·code·words,·message·to·big·("·+·s.length()·+·"·bytes)"); | 2970 | ············throw·new·WriterException("Encoded·message·contains·too·many·code·words,·message·too·big·("·+·s.length()·+·"·bytes)"); |
2971 | ········} | 2971 | ········} |
2972 | ········final·int·capacity·=·length·+·numberOfPadCodewords·+·1; | 2972 | ········final·int·capacity·=·length·+·numberOfPadCodewords·+·1; |
2973 | ········final·StringBuilder·sb·=·new·StringBuilder(capacity); | 2973 | ········final·StringBuilder·sb·=·new·StringBuilder(capacity); |
2974 | ········sb.append((char)capacity); | 2974 | ········sb.append((char)capacity); |
2975 | ········sb.append(encodeHighLevel); | 2975 | ········sb.append(encodeHighLevel); |
2976 | ········for·(int·i·=·0;·i·<·numberOfPadCodewords;·++i)·{ | 2976 | ········for·(int·i·=·0;·i·<·numberOfPadCodewords;·++i)·{ |
2977 | ············sb.append('\u0384'); | 2977 | ············sb.append('\u0384'); |
2978 | ········} | 2978 | ········} |
2979 | ········final·String·string·=·sb.toString(); | 2979 | ········final·String·string·=·sb.toString(); |
2980 | ········t | 2980 | ········final·String·generateErrorCorrection·=·PDF417ErrorCorrection.generateErrorCorrection((CharSequence)string,·n); |
2981 | ········this.barcodeMatrix·=·new·BarcodeMatrix(n3,·n2); | ||
2982 | ········this.encodeLowLevel(string·+·generateErrorCorrection,·n2,·n3,·n,·this.barcodeMatrix); | ||
2981 | ····} | 2983 | ····} |
2982 | ···· | 2984 | ···· |
2983 | ····public·BarcodeMatrix·getBarcodeMatrix()·{ | 2985 | ····public·BarcodeMatrix·getBarcodeMatrix()·{ |
2984 | ········return·this.barcodeMatrix; | 2986 | ········return·this.barcodeMatrix; |
2985 | ····} | 2987 | ····} |
2986 | ···· | 2988 | ···· |
2987 | ····public·void·setCompact(final·boolean·compact)·{ | 2989 | ····public·void·setCompact(final·boolean·compact)·{ |
Offset 1067, 16 lines modified | Offset 1067, 16 lines modified | ||
1067 | ····private·PDF417ErrorCorrection()·{ | 1067 | ····private·PDF417ErrorCorrection()·{ |
1068 | ····} | 1068 | ····} |
1069 | ···· | 1069 | ···· |
1070 | ····static·String·generateErrorCorrection(final·CharSequence·charSequence,·final·int·n)·{ | 1070 | ····static·String·generateErrorCorrection(final·CharSequence·charSequence,·final·int·n)·{ |
1071 | ········final·int·errorCorrectionCodewordCount·=·getErrorCorrectionCodewordCount(n); | 1071 | ········final·int·errorCorrectionCodewordCount·=·getErrorCorrectionCodewordCount(n); |
1072 | ········final·char[]·array·=·new·char[errorCorrectionCodewordCount]; | 1072 | ········final·char[]·array·=·new·char[errorCorrectionCodewordCount]; |
1073 | ········for·(int·length·=·charSequence.length(),·i·=·0;·i·<·length;·++i)·{ | 1073 | ········for·(int·length·=·charSequence.length(),·i·=·0;·i·<·length;·++i)·{ |
1074 | ············final·int·n2·=·(charSequence.charAt(i)·+·array[ | 1074 | ············final·int·n2·=·(charSequence.charAt(i)·+·array[errorCorrectionCodewordCount·-·1])·%·929; |
1075 | ············for·(int·j·=·errorCorrectionCodewordCount·-·1;·j·> | 1075 | ············for·(int·j·=·errorCorrectionCodewordCount·-·1;·j·>·0;·--j)·{ |
1076 | ················array[j]·=·(char)((array[j·-·1]·+·(929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][j]·*·n2·%·929))·%·929); | 1076 | ················array[j]·=·(char)((array[j·-·1]·+·(929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][j]·*·n2·%·929))·%·929); |
1077 | ············} | 1077 | ············} |
1078 | ············array[0]·=·(char)((929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][0]·*·n2·%·929)·%·929); | 1078 | ············array[0]·=·(char)((929·-·PDF417ErrorCorrection.EC_COEFFICIENTS[n][0]·*·n2·%·929)·%·929); |
1079 | ········} | 1079 | ········} |
1080 | ········final·StringBuilder·sb·=·new·StringBuilder(errorCorrectionCodewordCount); | 1080 | ········final·StringBuilder·sb·=·new·StringBuilder(errorCorrectionCodewordCount); |
1081 | ········for·(int·k·=·errorCorrectionCodewordCount·-·1;·k·>=·0;·--k)·{ | 1081 | ········for·(int·k·=·errorCorrectionCodewordCount·-·1;·k·>=·0;·--k)·{ |
1082 | ············if·(array[k]·!=·'\0')·{ | 1082 | ············if·(array[k]·!=·'\0')·{ |
Offset 100, 25 lines modified | Offset 100, 25 lines modified | ||
100 | ········array2[28]·=·39; | 100 | ········array2[28]·=·39; |
101 | ········array2[29]·=·0; | 101 | ········array2[29]·=·0; |
102 | ········TEXT_PUNCTUATION_RAW·=·text_PUNCTUATION_RAW; | 102 | ········TEXT_PUNCTUATION_RAW·=·text_PUNCTUATION_RAW; |
103 | ········MIXED·=·new·byte[n]; | 103 | ········MIXED·=·new·byte[n]; |
104 | ········PUNCTUATION·=·new·byte[n]; | 104 | ········PUNCTUATION·=·new·byte[n]; |
105 | ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1"); | 105 | ········DEFAULT_ENCODING·=·Charset.forName("ISO-8859-1"); |
106 | ········Arrays.fill(PDF417HighLevelEncoder.MIXED,·b); | 106 | ········Arrays.fill(PDF417HighLevelEncoder.MIXED,·b); |
107 | ········for·( | 107 | ········for·(int·i·=·0;·i·<·PDF417HighLevelEncoder.TEXT_MIXED_RAW.length;·++i)·{ |
108 | ············final·byte·b | 108 | ············final·byte·b2·=·PDF417HighLevelEncoder.TEXT_MIXED_RAW[i]; |
109 | ············if·(b | 109 | ············if·(b2·>·0)·{ |
110 | ················PDF417HighLevelEncoder.MIXED[b | 110 | ················PDF417HighLevelEncoder.MIXED[b2]·=·(byte)i; |
111 | ············} | 111 | ············} |
112 | ········} | 112 | ········} |
113 | ········Arrays.fill(PDF417HighLevelEncoder.PUNCTUATION,·b); | 113 | ········Arrays.fill(PDF417HighLevelEncoder.PUNCTUATION,·b); |
114 | ········for·( | 114 | ········for·(int·j·=·0;·j·<·PDF417HighLevelEncoder.TEXT_PUNCTUATION_RAW.length;·++j)·{ |
115 | ············final·byte·b | 115 | ············final·byte·b3·=·PDF417HighLevelEncoder.TEXT_PUNCTUATION_RAW[j]; |
116 | ············if·(b | 116 | ············if·(b3·>·0)·{ |
117 | ················PDF417HighLevelEncoder.PUNCTUATION[b | 117 | ················PDF417HighLevelEncoder.PUNCTUATION[b3]·=·(byte)j; |
118 | ············} | 118 | ············} |
119 | ········} | 119 | ········} |
120 | ····} | 120 | ····} |
121 | ···· | 121 | ···· |
122 | ····private·PDF417HighLevelEncoder()·{ | 122 | ····private·PDF417HighLevelEncoder()·{ |
123 | ····} | 123 | ····} |
124 | ···· | 124 | ···· |
Offset 189, 48 lines modified | Offset 189, 39 lines modified | ||
189 | ········return·i·-·n; | 189 | ········return·i·-·n; |
190 | ····} | 190 | ····} |
191 | ···· | 191 | ···· |
192 | ····private·static·void·encodeBinary(final·byte[]·array,·final·int·n,·final·int·n2,·final·int·n3,·final·StringBuilder·sb)·{ | 192 | ····private·static·void·encodeBinary(final·byte[]·array,·final·int·n,·final·int·n2,·final·int·n3,·final·StringBuilder·sb)·{ |
193 | ········if·(n2·==·1·&&·n3·==·0)·{ | 193 | ········if·(n2·==·1·&&·n3·==·0)·{ |
194 | ············sb.append('\u0391'); | 194 | ············sb.append('\u0391'); |
195 | ········} | 195 | ········} |
196 | ········else·if·(n2·%·6·==·0)·{ | ||
197 | ············sb.append('\u039c'); | ||
198 | ········} | ||
196 | ········else·{ | 199 | ········else·{ |
197 | ············int·n4; | ||
198 | ············if·(n2·%·6·==·0)·{ | ||
199 | ················n4·=·1; | ||
200 | ············} | ||
201 | ············else·{ | ||
202 | ················n4·=·0; | ||
203 | ············} | ||
204 | ············if·(n4·!=·0)·{ | ||
205 | ················sb.append('\u039c'); | ||
206 | ············} | ||
207 | ············else·{ | ||
208 | ············ | 200 | ············sb.append('\u0385'); |
209 | ············} | ||
210 | ········} | 201 | ········} |
211 | ········int·n | 202 | ········int·n4·=·n; |
212 | ········if·(n2·>=·6)·{ | 203 | ········if·(n2·>=·6)·{ |
213 | ············final·char[]·array2·=·new·char[5]; | 204 | ············final·char[]·array2·=·new·char[5]; |
214 | ············while·(n·+·n2·-·n | 205 | ············while·(n·+·n2·-·n4·>=·6)·{ |
215 | ················long·n | 206 | ················long·n5·=·0L; |
216 | ················for·(int·i·=·0;·i·<·6;·++i)·{ | 207 | ················for·(int·i·=·0;·i·<·6;·++i)·{ |
217 | ····················n | 208 | ····················n5·=·(n5·<<·8)·+·(array[n4·+·i]·&·0xFF); |
218 | ················} | 209 | ················} |
219 | ················for·(int·j·=·0;·j·<·5;·++j)·{ | 210 | ················for·(int·j·=·0;·j·<·5;·++j)·{ |
220 | ····················array2[j]·=·(char)(n | 211 | ····················array2[j]·=·(char)(n5·%·900L); |
221 | ····················n | 212 | ····················n5·/=·900L; |
222 | ················} | 213 | ················} |
223 | ················for·(int·k·=· | 214 | ················for·(int·k·=·4;·k·>=·0;·--k)·{ |
224 | ····················sb.append(array2[k]); | 215 | ····················sb.append(array2[k]); |
225 | ················} | 216 | ················} |
226 | ················n | 217 | ················n4·+=·6; |
227 | ············} | 218 | ············} |
228 | ········} | 219 | ········} |
229 | ········for·(int·l·=·n | 220 | ········for·(int·l·=·n4;·l·<·n·+·n2;·++l)·{ |
230 | ············sb.append((char)(array[l]·&·0xFF)); | 221 | ············sb.append((char)(array[l]·&·0xFF)); |
231 | ········} | 222 | ········} |
232 | ····} | 223 | ····} |
233 | ···· | 224 | ···· |
234 | ····static·String·encodeHighLevel(final·String·s,·final·Compaction·compaction,·Charset·default_ENCODING)·{ | 225 | ····static·String·encodeHighLevel(final·String·s,·final·Compaction·compaction,·Charset·default_ENCODING)·{ |
235 | ········final·StringBuilder·sb·=·new·StringBuilder(s.length()); | 226 | ········final·StringBuilder·sb·=·new·StringBuilder(s.length()); |
236 | ········if·(default_ENCODING·==·null)·{ | 227 | ········if·(default_ENCODING·==·null)·{ |
Offset 304, 15 lines modified | Offset 295, 15 lines modified | ||
304 | ········int·i·=·0; | 295 | ········int·i·=·0; |
305 | ········final·StringBuilder·sb2·=·new·StringBuilder(n2·/·3·+·1); | 296 | ········final·StringBuilder·sb2·=·new·StringBuilder(n2·/·3·+·1); |
306 | ········final·BigInteger·value·=·BigInteger.valueOf(900L); | 297 | ········final·BigInteger·value·=·BigInteger.valueOf(900L); |
307 | ········final·BigInteger·value2·=·BigInteger.valueOf(0L); | 298 | ········final·BigInteger·value2·=·BigInteger.valueOf(0L); |
308 | ········while·(i·<·n2)·{ | 299 | ········while·(i·<·n2)·{ |
309 | ············sb2.setLength(0); | 300 | ············sb2.setLength(0); |
310 | ············final·int·min·=·Math.min(44,·n2·-·i); | 301 | ············final·int·min·=·Math.min(44,·n2·-·i); |
311 | ············BigInteger·divide·=·new·BigInteger( | 302 | ············BigInteger·divide·=·new·BigInteger("1"·+·s.substring(n·+·i,·n·+·i·+·min)); |
312 | ············do·{ | 303 | ············do·{ |
313 | ················sb2.append((char)divide.mod(value).intValue()); | 304 | ················sb2.append((char)divide.mod(value).intValue()); |
314 | ················divide·=·divide.divide(value); | 305 | ················divide·=·divide.divide(value); |
315 | ············}·while·(!divide.equals(value2)); | 306 | ············}·while·(!divide.equals(value2)); |
316 | ············for·(int·j·=·sb2.length()·-·1;·j·>=·0;·--j)·{ | 307 | ············for·(int·j·=·sb2.length()·-·1;·j·>=·0;·--j)·{ |
317 | ················sb.append(sb2.charAt(j)); | 308 | ················sb.append(sb2.charAt(j)); |
318 | ············} | 309 | ············} |
Offset 47, 17 lines modified | Offset 47, 17 lines modified | ||
47 | ············} | 47 | ············} |
48 | ········} | 48 | ········} |
49 | ····} | 49 | ····} |
50 | ···· | 50 | ···· |
51 | ····byte[]·readCodewords()·{ | 51 | ····byte[]·readCodewords()·{ |
52 | ········final·FormatInformation·formatInformation·=·this.readFormatInformation(); | 52 | ········final·FormatInformation·formatInformation·=·this.readFormatInformation(); |
53 | ········final·Version·version·=·this.readVersion(); | 53 | ········final·Version·version·=·this.readVersion(); |
54 | ········final·DataMask· | 54 | ········final·DataMask·dataMask·=·DataMask.values()[formatInformation.getDataMask()]; |
55 | ········final·int·height·=·this.bitMatrix.getHeight(); | 55 | ········final·int·height·=·this.bitMatrix.getHeight(); |
56 | ········ | 56 | ········dataMask.unmaskBitMatrix(this.bitMatrix,·height); |
57 | ········final·BitMatrix·buildFunctionPattern·=·version.buildFunctionPattern(); | 57 | ········final·BitMatrix·buildFunctionPattern·=·version.buildFunctionPattern(); |
58 | ········int·n·=·1; | 58 | ········int·n·=·1; |
59 | ········final·byte[]·array·=·new·byte[version.getTotalCodewords()]; | 59 | ········final·byte[]·array·=·new·byte[version.getTotalCodewords()]; |
60 | ········int·n2·=·0; | 60 | ········int·n2·=·0; |
61 | ········int·n3·=·0; | 61 | ········int·n3·=·0; |
62 | ········int·n4·=·0; | 62 | ········int·n4·=·0; |
63 | ········for·(int·i·=·height·-·1;·i·>·0;·i·-=·2)·{ | 63 | ········for·(int·i·=·height·-·1;·i·>·0;·i·-=·2)·{ |
Offset 71, 36 lines modified | Offset 71, 36 lines modified | ||
71 | ····················n5·=·height·-·1·-·j; | 71 | ····················n5·=·height·-·1·-·j; |
72 | ················} | 72 | ················} |
73 | ················else·{ | 73 | ················else·{ |
74 | ····················n5·=·j; | 74 | ····················n5·=·j; |
75 | ················} | 75 | ················} |
76 | ················int·k·=·0; | 76 | ················int·k·=·0; |
77 | ················n6·=·n2; | 77 | ················n6·=·n2; |
78 | ············Label_0 | 78 | ············Label_0304_Outer: |
79 | ················while·(k·<·2)·{ | 79 | ················while·(k·<·2)·{ |
80 | ····················while·(true)·{ | 80 | ····················while·(true)·{ |
81 | ························Label_03 | 81 | ························Label_0377:·{ |
82 | ····························if·(buildFunctionPattern.get(i·-·k,·n5))·{ | 82 | ····························if·(buildFunctionPattern.get(i·-·k,·n5))·{ |
83 | ································break·Label_03 | 83 | ································break·Label_0377; |
84 | ····························} | 84 | ····························} |
85 | ····························++n4; | 85 | ····························++n4; |
86 | ····························n3·<<=·1; | 86 | ····························n3·<<=·1; |
87 | ····························if·(this.bitMatrix.get(i·-·k,·n5))·{ | 87 | ····························if·(this.bitMatrix.get(i·-·k,·n5))·{ |
88 | ································n3·|=·0x1; | 88 | ································n3·|=·0x1; |
89 | ····························} | 89 | ····························} |
90 | ····························if·(n4·!=·8)·{ | 90 | ····························if·(n4·!=·8)·{ |
91 | ································break·Label_03 | 91 | ································break·Label_0377; |
92 | ····························} | 92 | ····························} |
93 | ····························final·int·n7·=·n6·+·1; | 93 | ····························final·int·n7·=·n6·+·1; |
94 | ····························array[n6]·=·(byte)n3; | 94 | ····························array[n6]·=·(byte)n3; |
95 | ····························n4·=·0; | 95 | ····························n4·=·0; |
96 | ····························n3·=·0; | 96 | ····························n3·=·0; |
97 | ····························++k; | 97 | ····························++k; |
98 | ····························n6·=·n7; | 98 | ····························n6·=·n7; |
99 | ····························continue·Label_0 | 99 | ····························continue·Label_0304_Outer; |
100 | ························} | 100 | ························} |
101 | ························final·int·n7·=·n6; | 101 | ························final·int·n7·=·n6; |
102 | ························continue; | 102 | ························continue; |
103 | ····················} | 103 | ····················} |
104 | ················} | 104 | ················} |
105 | ············} | 105 | ············} |
106 | ············n·^=·0x1; | 106 | ············n·^=·0x1; |
Offset 183, 15 lines modified | Offset 183, 15 lines modified | ||
183 | ············} | 183 | ············} |
184 | ········} | 184 | ········} |
185 | ········return·version; | 185 | ········return·version; |
186 | ····} | 186 | ····} |
187 | ···· | 187 | ···· |
188 | ····void·remask()·{ | 188 | ····void·remask()·{ |
189 | ········if·(this.parsedFormatInfo·!=·null)·{ | 189 | ········if·(this.parsedFormatInfo·!=·null)·{ |
190 | ············DataMask. | 190 | ············DataMask.values()[this.parsedFormatInfo.getDataMask()].unmaskBitMatrix(this.bitMatrix,·this.bitMatrix.getHeight()); |
191 | ········} | 191 | ········} |
192 | ····} | 192 | ····} |
193 | ···· | 193 | ···· |
194 | ····void·setMirror(final·boolean·mirror)·{ | 194 | ····void·setMirror(final·boolean·mirror)·{ |
195 | ········this.parsedVersion·=·null; | 195 | ········this.parsedVersion·=·null; |
196 | ········this.parsedFormatInfo·=·null; | 196 | ········this.parsedFormatInfo·=·null; |
197 | ········this.mirror·=·mirror; | 197 | ········this.mirror·=·mirror; |
Offset 31, 62 lines modified | Offset 31, 62 lines modified | ||
31 | ················final·int·n3·=·ecBlocksForLevel.getECCodewordsPerBlock()·+·dataCodewords; | 31 | ················final·int·n3·=·ecBlocksForLevel.getECCodewordsPerBlock()·+·dataCodewords; |
32 | ················n4·=·n2·+·1; | 32 | ················n4·=·n2·+·1; |
33 | ················array2[n2]·=·new·DataBlock(dataCodewords,·new·byte[n3]); | 33 | ················array2[n2]·=·new·DataBlock(dataCodewords,·new·byte[n3]); |
34 | ············} | 34 | ············} |
35 | ········} | 35 | ········} |
36 | ········int·length3; | 36 | ········int·length3; |
37 | ········int·n5; | 37 | ········int·n5; |
38 | ········int·n | 38 | ········int·length4; |
39 | ········for·(length3·=·array2[0].codewords.length,·n5·=·array2.length·-·1;·n5·>=·0·&&·array2[n5].codewords.length | 39 | ········for·(length3·=·array2[0].codewords.length,·n5·=·array2.length·-·1;·n5·>=·0·&&·(length4·=·array2[n5].codewords.length)·!=·length3;·--n5)·{} |
40 | ········final·int·n | 40 | ········final·int·n6·=·n5·+·1; |
41 | ········final·int·n | 41 | ········final·int·n7·=·length3·-·ecBlocksForLevel.getECCodewordsPerBlock(); |
42 | ········int·n | 42 | ········int·n8·=·0; |
43 | ········int·n1 | 43 | ········int·n10; |
44 | ········for·(int·l·=·0;·l·<·n | 44 | ········for·(int·l·=·0;·l·<·n7;·++l,·n8·=·n10)·{ |
45 | ············int·n | 45 | ············int·n9·=·0; |
46 | ············n1 | 46 | ············n10·=·n8; |
47 | ············while·(n | 47 | ············while·(n9·<·n2)·{ |
48 | ················final·byte[]·codewords·=·array2[n | 48 | ················final·byte[]·codewords·=·array2[n9].codewords; |
49 | ················final·int·n1 | 49 | ················final·int·n11·=·n10·+·1; |
50 | ················codewords[l]·=·array[n1 | 50 | ················codewords[l]·=·array[n10]; |
51 | ················++n | 51 | ················++n9; |
52 | ················n1 | 52 | ················n10·=·n11; |
53 | ············} | 53 | ············} |
54 | ········} | 54 | ········} |
55 | ········int·n12·=·n6; | ||
55 | ········int·n13·=·n | 56 | ········int·n13·=·n8; |
56 | ········int·n14·=·n9; | ||
57 | ········while·(n1 | 57 | ········while·(n12·<·n2)·{ |
58 | ············final·byte[]·codewords2·=·array2[n1 | 58 | ············final·byte[]·codewords2·=·array2[n12].codewords; |
59 | ············final·int·n1 | 59 | ············final·int·n14·=·n13·+·1; |
60 | ············codewords2[n | 60 | ············codewords2[n7]·=·array[n13]; |
61 | ············++n1 | 61 | ············++n12; |
62 | ············n1 | 62 | ············n13·=·n14; |
63 | ········} | 63 | ········} |
64 | ········final·int·length | 64 | ········final·int·length5·=·array2[0].codewords.length; |
65 | ········int·n15·=·n7; | ||
65 | ········int·n16·=·n | 66 | ········int·n16·=·n13; |
66 | ········int·n17·=·n14; | ||
67 | ········while·(n1 | 67 | ········while·(n15·<·length5)·{ |
68 | ············int·n1 | 68 | ············int·n17·=·0; |
69 | ············int·n1 | 69 | ············int·n18·=·n16; |
70 | ············while·(n1 | 70 | ············while·(n17·<·n2)·{ |
71 | ················int·n | 71 | ················int·n19; |
72 | ················if·(n1 | 72 | ················if·(n17·<·n6)·{ |
73 | ····················n | 73 | ····················n19·=·n15; |
74 | ················} | 74 | ················} |
75 | ················else·{ | 75 | ················else·{ |
76 | ····················n | 76 | ····················n19·=·n15·+·1; |
77 | ················} | 77 | ················} |
78 | ················final·byte[]·codewords3·=·array2[n1 | 78 | ················final·byte[]·codewords3·=·array2[n17].codewords; |
79 | ················final·int·n2 | 79 | ················final·int·n20·=·n18·+·1; |
80 | ················codewords3[n | 80 | ················codewords3[n19]·=·array[n18]; |
81 | ················++n1 | 81 | ················++n17; |
82 | ················n1 | 82 | ················n18·=·n20; |
83 | ············} | 83 | ············} |
84 | ············++n1 | 84 | ············++n15; |
85 | ············n1 | 85 | ············n16·=·n18; |
86 | ········} | 86 | ········} |
87 | ········return·array2; | 87 | ········return·array2; |
88 | ····} | 88 | ····} |
89 | ···· | 89 | ···· |
90 | ····byte[]·getCodewords()·{ | 90 | ····byte[]·getCodewords()·{ |
91 | ········return·this.codewords; | 91 | ········return·this.codewords; |
92 | ····} | 92 | ····} |
Offset 1, 6 lines modified | Offset 1, 12 lines modified | ||
1 | package·com.google.zxing.qrcode.decoder; | 1 | package·com.google.zxing.qrcode.decoder; |
2 | 2 | enum·DataMask$1 | |
3 | { | 3 | { |
4 | ····DataMask$1(final·String·s,·final·int·n)·{ | ||
5 | ····} | ||
6 | ···· | ||
7 | ····boolean·isMasked(final·int·n,·final·int·n2)·{ | ||
8 | ········return·(n·+·n2·&·0x1)·==·0x0; | ||
9 | ····} | ||
4 | } | 10 | } |
Offset 1, 28 lines modified | Offset 1, 41 lines modified | ||
1 | package·com.google.zxing.qrcode.decoder; | 1 | package·com.google.zxing.qrcode.decoder; |
2 | import·com.google.zxing.common.BitMatrix; | 2 | import·com.google.zxing.common.BitMatrix; |
3 | 3 | enum·DataMask | |
4 | { | 4 | { |
5 | ···· | 5 | ····DATA_MASK_000("DATA_MASK_000",·0),· |
6 | ····DATA_MASK_001("DATA_MASK_001",·n4),· | ||
7 | ····DATA_MASK_010("DATA_MASK_010",·n3),· | ||
8 | ····DATA_MASK_011("DATA_MASK_011",·n2),· | ||
9 | ····DATA_MASK_100("DATA_MASK_100",·n),· | ||
10 | ····DATA_MASK_101("DATA_MASK_101",·5),· | ||
11 | ····DATA_MASK_110("DATA_MASK_110",·6),· | ||
12 | ····DATA_MASK_111("DATA_MASK_111",·7); | ||
6 | ···· | 13 | ···· |
7 | ····static·{ | 14 | ····static·{ |
8 | ········ | 15 | ········final·int·n·=·4; |
16 | ········final·int·n2·=·3; | ||
17 | ········final·int·n3·=·2; | ||
18 | ········final·int·n4·=·1; | ||
19 | ········final·DataMask[]·$values·=·new·DataMask[8]; | ||
20 | ········$values[0]·=·DataMask.DATA_MASK_000; | ||
21 | ········$values[n4]·=·DataMask.DATA_MASK_001; | ||
22 | ········$values[n3]·=·DataMask.DATA_MASK_010; | ||
23 | ········$values[n2]·=·DataMask.DATA_MASK_011; | ||
24 | ········$values[n]·=·DataMask.DATA_MASK_100; | ||
25 | ········$values[5]·=·DataMask.DATA_MASK_101; | ||
26 | ········$values[6]·=·DataMask.DATA_MASK_110; | ||
27 | ········$values[7]·=·DataMask.DATA_MASK_111; | ||
28 | ········$VALUES·=·$values; | ||
9 | ····} | 29 | ····} |
10 | ···· | 30 | ···· |
31 | ····private·DataMask(final·String·name,·final·int·ordinal)·{ | ||
11 | ····private·DataMask()·{ | ||
12 | ····} | ||
13 | ···· | ||
14 | ····static·DataMask·forReference(final·int·n)·{ | ||
15 | ········if·(n·<·0·||·n·>·7)·{ | ||
16 | ············throw·new·IllegalArgumentException(); | ||
17 | ········} | ||
18 | ········return·DataMask.DATA_MASKS[n]; | ||
19 | ····} | 32 | ····} |
20 | ···· | 33 | ···· |
21 | ····abstract·boolean·isMasked(final·int·p0,·final·int·p1); | 34 | ····abstract·boolean·isMasked(final·int·p0,·final·int·p1); |
22 | ···· | 35 | ···· |
23 | ····final·void·unmaskBitMatrix(final·BitMatrix·bitMatrix,·final·int·n)·{ | 36 | ····final·void·unmaskBitMatrix(final·BitMatrix·bitMatrix,·final·int·n)·{ |
24 | ········for·(int·i·=·0;·i·<·n;·++i)·{ | 37 | ········for·(int·i·=·0;·i·<·n;·++i)·{ |
25 | ············for·(int·j·=·0;·j·<·n;·++j)·{ | 38 | ············for·(int·j·=·0;·j·<·n;·++j)·{ |
Offset 20, 24 lines modified | Offset 20, 27 lines modified | ||
20 | ···· | 20 | ···· |
21 | ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{ | 21 | ····private·void·correctErrors(final·byte[]·array,·final·int·n)·{ |
22 | ········final·int·length·=·array.length; | 22 | ········final·int·length·=·array.length; |
23 | ········final·int[]·array2·=·new·int[length]; | 23 | ········final·int[]·array2·=·new·int[length]; |
24 | ········for·(int·i·=·0;·i·<·length;·++i)·{ | 24 | ········for·(int·i·=·0;·i·<·length;·++i)·{ |
25 | ············array2[i]·=·(array[i]·&·0xFF); | 25 | ············array2[i]·=·(array[i]·&·0xFF); |
26 | ········} | 26 | ········} |
27 | ········final·int·n2·=·array.length·-·n; | ||
28 | ········try·{ | 27 | ········try·{ |
28 | ············final·ReedSolomonDecoder·rsDecoder·=·this.rsDecoder; | ||
29 | ············try·{ | ||
29 | ············ | 30 | ················rsDecoder.decode(array2,·array.length·-·n); |
30 | ············for·(int·j·=·0;·j·<·n;·++j)·{ | 31 | ················for·(int·j·=·0;·j·<·n;·++j)·{ |
31 | ················array[j]·=·(byte)array2[j]; | 32 | ····················array[j]·=·(byte)array2[j]; |
33 | ················} | ||
34 | ············} | ||
35 | ············catch·(ReedSolomonException·ex)·{ | ||
36 | ················throw·ChecksumException.getChecksumInstance(); | ||
32 | ············} | 37 | ············} |
33 | ········} | 38 | ········} |
34 | ········catch·(ReedSolomonException·ex)·{ | 39 | ········catch·(ReedSolomonException·ex2)·{} |
35 | ············throw·ChecksumException.getChecksumInstance(); | ||
36 | ········} | ||
37 | ····} | 40 | ····} |
38 | ···· | 41 | ···· |
39 | ····private·DecoderResult·decode(final·BitMatrixParser·bitMatrixParser,·final·Map·map)·{ | 42 | ····private·DecoderResult·decode(final·BitMatrixParser·bitMatrixParser,·final·Map·map)·{ |
40 | ········final·Version·version·=·bitMatrixParser.readVersion(); | 43 | ········final·Version·version·=·bitMatrixParser.readVersion(); |
41 | ········final·ErrorCorrectionLevel·errorCorrectionLevel·=·bitMatrixParser.readFormatInformation().getErrorCorrectionLevel(); | 44 | ········final·ErrorCorrectionLevel·errorCorrectionLevel·=·bitMatrixParser.readFormatInformation().getErrorCorrectionLevel(); |
42 | ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·version,·errorCorrectionLevel); | 45 | ········final·DataBlock[]·dataBlocks·=·DataBlock.getDataBlocks(bitMatrixParser.readCodewords(),·version,·errorCorrectionLevel); |
43 | ········int·n·=·0; | 46 | ········int·n·=·0; |
Offset 1, 168 lines modified | Offset 1, 150 lines modified | ||
1 | package·com.google.zxing.qrcode.decoder; | 1 | package·com.google.zxing.qrcode.decoder; |
2 | final·class·FormatInformation | 2 | final·class·FormatInformation |
3 | { | 3 | { |
4 | ····private·static·final·int[]·BITS_SET_IN_HALF_BYTE; | ||
5 | ····private·static·final·int[][]·FORMAT_INFO_DECODE_LOOKUP; | 4 | ····private·static·final·int[][]·FORMAT_INFO_DECODE_LOOKUP; |
6 | ····private·static·final·int·FORMAT_INFO_MASK_QR·=·21522; | 5 | ····private·static·final·int·FORMAT_INFO_MASK_QR·=·21522; |
7 | ····private·final·byte·dataMask; | 6 | ····private·final·byte·dataMask; |
8 | ····private·final·ErrorCorrectionLevel·errorCorrectionLevel; | 7 | ····private·final·ErrorCorrectionLevel·errorCorrectionLevel; |
9 | ···· | 8 | ···· |
10 | ····static·{ | 9 | ····static·{ |
11 | ········final·int·n·=·16; | ||
12 | ········final·int·n | 10 | ········final·int·n·=·2; |
13 | ········final·int[][]·format_INFO_DECODE_LOOKUP·=·new·int[32][]; | 11 | ········final·int[][]·format_INFO_DECODE_LOOKUP·=·new·int[32][]; |
14 | ········final·int[]·array2; | 12 | ········final·int[]·array2; |
15 | ········final·int[]·array·=·array2·=·new·int[n | 13 | ········final·int[]·array·=·array2·=·new·int[n]; |
16 | ········array2[0]·=·21522; | 14 | ········array2[0]·=·21522; |
17 | ········format_INFO_DECODE_LOOKUP[array2[1]·=·0]·=·array; | 15 | ········format_INFO_DECODE_LOOKUP[array2[1]·=·0]·=·array; |
18 | ········final·int[]·array4; | 16 | ········final·int[]·array4; |
19 | ········final·int[]·array3·=·array4·=·new·int[n | 17 | ········final·int[]·array3·=·array4·=·new·int[n]; |
20 | ········array4[0]·=·20773; | 18 | ········array4[0]·=·20773; |
21 | ········format_INFO_DECODE_LOOKUP[array4[1]·=·1]·=·array3; | 19 | ········format_INFO_DECODE_LOOKUP[array4[1]·=·1]·=·array3; |
22 | ········final·int[]·array6; | 20 | ········final·int[]·array6; |
23 | ········final·int[]·array5·=·array6·=·new·int[n | 21 | ········final·int[]·array5·=·array6·=·new·int[n]; |
24 | ········array6[0]·=·24188; | 22 | ········array6[0]·=·24188; |
25 | ········array6[1]·=·2; | 23 | ········array6[1]·=·2; |
26 | ········format_INFO_DECODE_LOOKUP[n | 24 | ········format_INFO_DECODE_LOOKUP[n]·=·array5; |
27 | ········final·int[]·array8; | 25 | ········final·int[]·array8; |
28 | ········final·int[]·array7·=·array8·=·new·int[n | 26 | ········final·int[]·array7·=·array8·=·new·int[n]; |
29 | ········array8[0]·=·23371; | 27 | ········array8[0]·=·23371; |
30 | ········format_INFO_DECODE_LOOKUP[array8[1]·=·3]·=·array7; | 28 | ········format_INFO_DECODE_LOOKUP[array8[1]·=·3]·=·array7; |
31 | ········final·int[]·array10; | 29 | ········final·int[]·array10; |
32 | ········final·int[]·array9·=·array10·=·new·int[n | 30 | ········final·int[]·array9·=·array10·=·new·int[n]; |
33 | ········array10[0]·=·17913; | 31 | ········array10[0]·=·17913; |
34 | ········format_INFO_DECODE_LOOKUP[array10[1]·=·4]·=·array9; | 32 | ········format_INFO_DECODE_LOOKUP[array10[1]·=·4]·=·array9; |
35 | ········final·int[]·array12; | 33 | ········final·int[]·array12; |
36 | ········final·int[]·array11·=·array12·=·new·int[n | 34 | ········final·int[]·array11·=·array12·=·new·int[n]; |
37 | ········array12[0]·=·16590; | 35 | ········array12[0]·=·16590; |
38 | ········format_INFO_DECODE_LOOKUP[array12[1]·=·5]·=·array11; | 36 | ········format_INFO_DECODE_LOOKUP[array12[1]·=·5]·=·array11; |
39 | ········final·int[]·array14; | 37 | ········final·int[]·array14; |
40 | ········final·int[]·array13·=·array14·=·new·int[n | 38 | ········final·int[]·array13·=·array14·=·new·int[n]; |
41 | ········array14[0]·=·20375; | 39 | ········array14[0]·=·20375; |
42 | ········format_INFO_DECODE_LOOKUP[array14[1]·=·6]·=·array13; | 40 | ········format_INFO_DECODE_LOOKUP[array14[1]·=·6]·=·array13; |
43 | ········final·int[]·array16; | 41 | ········final·int[]·array16; |
44 | ········final·int[]·array15·=·array16·=·new·int[n | 42 | ········final·int[]·array15·=·array16·=·new·int[n]; |
45 | ········array16[0]·=·19104; | 43 | ········array16[0]·=·19104; |
46 | ········format_INFO_DECODE_LOOKUP[array16[1]·=·7]·=·array15; | 44 | ········format_INFO_DECODE_LOOKUP[array16[1]·=·7]·=·array15; |
47 | ········final·int[]·array18; | 45 | ········final·int[]·array18; |
48 | ········final·int[]·array17·=·array18·=·new·int[n | 46 | ········final·int[]·array17·=·array18·=·new·int[n]; |
49 | ········array18[0]·=·30660; | 47 | ········array18[0]·=·30660; |
50 | ········format_INFO_DECODE_LOOKUP[array18[1]·=·8]·=·array17; | 48 | ········format_INFO_DECODE_LOOKUP[array18[1]·=·8]·=·array17; |
51 | ········final·int[]·array20; | 49 | ········final·int[]·array20; |
52 | ········final·int[]·array19·=·array20·=·new·int[n | 50 | ········final·int[]·array19·=·array20·=·new·int[n]; |
53 | ········array20[0]·=·29427; | 51 | ········array20[0]·=·29427; |
54 | ········format_INFO_DECODE_LOOKUP[array20[1]·=·9]·=·array19; | 52 | ········format_INFO_DECODE_LOOKUP[array20[1]·=·9]·=·array19; |
55 | ········final·int[]·array22; | 53 | ········final·int[]·array22; |
56 | ········final·int[]·array21·=·array22·=·new·int[n | 54 | ········final·int[]·array21·=·array22·=·new·int[n]; |
57 | ········array22[0]·=·32170; | 55 | ········array22[0]·=·32170; |
58 | ········format_INFO_DECODE_LOOKUP[array22[1]·=·10]·=·array21; | 56 | ········format_INFO_DECODE_LOOKUP[array22[1]·=·10]·=·array21; |
59 | ········final·int[]·array24; | 57 | ········final·int[]·array24; |
60 | ········final·int[]·array23·=·array24·=·new·int[n | 58 | ········final·int[]·array23·=·array24·=·new·int[n]; |
61 | ········array24[0]·=·30877; | 59 | ········array24[0]·=·30877; |
62 | ········format_INFO_DECODE_LOOKUP[array24[1]·=·11]·=·array23; | 60 | ········format_INFO_DECODE_LOOKUP[array24[1]·=·11]·=·array23; |
63 | ········final·int[]·array26; | 61 | ········final·int[]·array26; |
64 | ········final·int[]·array25·=·array26·=·new·int[n | 62 | ········final·int[]·array25·=·array26·=·new·int[n]; |
65 | ········array26[0]·=·26159; | 63 | ········array26[0]·=·26159; |
66 | ········format_INFO_DECODE_LOOKUP[array26[1]·=·12]·=·array25; | 64 | ········format_INFO_DECODE_LOOKUP[array26[1]·=·12]·=·array25; |
67 | ········final·int[]·array28; | 65 | ········final·int[]·array28; |
68 | ········final·int[]·array27·=·array28·=·new·int[n | 66 | ········final·int[]·array27·=·array28·=·new·int[n]; |
69 | ········array28[0]·=·25368; | 67 | ········array28[0]·=·25368; |
70 | ········format_INFO_DECODE_LOOKUP[array28[1]·=·13]·=·array27; | 68 | ········format_INFO_DECODE_LOOKUP[array28[1]·=·13]·=·array27; |
71 | ········final·int[]·array30; | 69 | ········final·int[]·array30; |
72 | ········final·int[]·array29·=·array30·=·new·int[n | 70 | ········final·int[]·array29·=·array30·=·new·int[n]; |
73 | ········array30[0]·=·27713; | 71 | ········array30[0]·=·27713; |
74 | ········format_INFO_DECODE_LOOKUP[array30[1]·=·14]·=·array29; | 72 | ········format_INFO_DECODE_LOOKUP[array30[1]·=·14]·=·array29; |
75 | ········final·int[]·array32; | 73 | ········final·int[]·array32; |
76 | ········final·int[]·array31·=·array32·=·new·int[n | 74 | ········final·int[]·array31·=·array32·=·new·int[n]; |
77 | ········array32[0]·=·26998; | 75 | ········array32[0]·=·26998; |
78 | ········format_INFO_DECODE_LOOKUP[array32[1]·=·15]·=·array31; | 76 | ········format_INFO_DECODE_LOOKUP[array32[1]·=·15]·=·array31; |
79 | ········final·int[]·array34; | 77 | ········final·int[]·array34; |
80 | ········final·int[]·array33·=·array34·=·new·int[n | 78 | ········final·int[]·array33·=·array34·=·new·int[n]; |
81 | ········array34[0]·=·5769; | 79 | ········array34[0]·=·5769; |
82 | ········array34[1]·=·16; | ||
83 | ········format_INFO_DECODE_LOOKUP[ | 80 | ········format_INFO_DECODE_LOOKUP[array34[1]·=·16]·=·array33; |
84 | ········final·int[]·array36; | 81 | ········final·int[]·array36; |
85 | ········final·int[]·array35·=·array36·=·new·int[n | 82 | ········final·int[]·array35·=·array36·=·new·int[n]; |
86 | ········array36[0]·=·5054; | 83 | ········array36[0]·=·5054; |
87 | ········format_INFO_DECODE_LOOKUP[array36[1]·=·17]·=·array35; | 84 | ········format_INFO_DECODE_LOOKUP[array36[1]·=·17]·=·array35; |
88 | ········final·int[]·array38; | 85 | ········final·int[]·array38; |
89 | ········final·int[]·array37·=·array38·=·new·int[n | 86 | ········final·int[]·array37·=·array38·=·new·int[n]; |
90 | ········array38[0]·=·7399; | 87 | ········array38[0]·=·7399; |
91 | ········format_INFO_DECODE_LOOKUP[array38[1]·=·18]·=·array37; | 88 | ········format_INFO_DECODE_LOOKUP[array38[1]·=·18]·=·array37; |
92 | ········final·int[]·array40; | 89 | ········final·int[]·array40; |
93 | ········final·int[]·array39·=·array40·=·new·int[n | 90 | ········final·int[]·array39·=·array40·=·new·int[n]; |
94 | ········array40[0]·=·6608; | 91 | ········array40[0]·=·6608; |
95 | ········format_INFO_DECODE_LOOKUP[array40[1]·=·19]·=·array39; | 92 | ········format_INFO_DECODE_LOOKUP[array40[1]·=·19]·=·array39; |
96 | ········final·int[]·array42; | 93 | ········final·int[]·array42; |
97 | ········final·int[]·array41·=·array42·=·new·int[n | 94 | ········final·int[]·array41·=·array42·=·new·int[n]; |
98 | ········array42[0]·=·1890; | 95 | ········array42[0]·=·1890; |
99 | ········format_INFO_DECODE_LOOKUP[array42[1]·=·20]·=·array41; | 96 | ········format_INFO_DECODE_LOOKUP[array42[1]·=·20]·=·array41; |
100 | ········final·int[]·array44; | 97 | ········final·int[]·array44; |
101 | ········final·int[]·array43·=·array44·=·new·int[n | 98 | ········final·int[]·array43·=·array44·=·new·int[n]; |
102 | ········array44[0]·=·597; | 99 | ········array44[0]·=·597; |
103 | ········format_INFO_DECODE_LOOKUP[array44[1]·=·21]·=·array43; | 100 | ········format_INFO_DECODE_LOOKUP[array44[1]·=·21]·=·array43; |
104 | ········final·int[]·array46; | 101 | ········final·int[]·array46; |
105 | ········final·int[]·array45·=·array46·=·new·int[n | 102 | ········final·int[]·array45·=·array46·=·new·int[n]; |
106 | ········array46[0]·=·3340; | 103 | ········array46[0]·=·3340; |
107 | ········format_INFO_DECODE_LOOKUP[array46[1]·=·22]·=·array45; | 104 | ········format_INFO_DECODE_LOOKUP[array46[1]·=·22]·=·array45; |
108 | ········final·int[]·array48; | 105 | ········final·int[]·array48; |
109 | ········final·int[]·array47·=·array48·=·new·int[n | 106 | ········final·int[]·array47·=·array48·=·new·int[n]; |
110 | ········array48[0]·=·2107; | 107 | ········array48[0]·=·2107; |
111 | ········format_INFO_DECODE_LOOKUP[array48[1]·=·23]·=·array47; | 108 | ········format_INFO_DECODE_LOOKUP[array48[1]·=·23]·=·array47; |
112 | ········final·int[]·array50; | 109 | ········final·int[]·array50; |
113 | ········final·int[]·array49·=·array50·=·new·int[n | 110 | ········final·int[]·array49·=·array50·=·new·int[n]; |
114 | ········array50[0]·=·13663; | 111 | ········array50[0]·=·13663; |
115 | ········format_INFO_DECODE_LOOKUP[array50[1]·=·24]·=·array49; | 112 | ········format_INFO_DECODE_LOOKUP[array50[1]·=·24]·=·array49; |
116 | ········final·int[]·array52; | 113 | ········final·int[]·array52; |
117 | ········final·int[]·array51·=·array52·=·new·int[n | 114 | ········final·int[]·array51·=·array52·=·new·int[n]; |
118 | ········array52[0]·=·12392; | 115 | ········array52[0]·=·12392; |
119 | ········format_INFO_DECODE_LOOKUP[array52[1]·=·25]·=·array51; | 116 | ········format_INFO_DECODE_LOOKUP[array52[1]·=·25]·=·array51; |
120 | ········final·int[]·array54; | 117 | ········final·int[]·array54; |
121 | ········final·int[]·array53·=·array54·=·new·int[n | 118 | ········final·int[]·array53·=·array54·=·new·int[n]; |
122 | ········array54[0]·=·16177; | 119 | ········array54[0]·=·16177; |
123 | ········format_INFO_DECODE_LOOKUP[array54[1]·=·26]·=·array53; | 120 | ········format_INFO_DECODE_LOOKUP[array54[1]·=·26]·=·array53; |
124 | ········final·int[]·array56; | 121 | ········final·int[]·array56; |
125 | ········final·int[]·array55·=·array56·=·new·int[n | 122 | ········final·int[]·array55·=·array56·=·new·int[n]; |
Max diff block lines reached; 2780/9745 bytes (28.53%) of diff not shown. |
Offset 403, 15 lines modified | Offset 403, 15 lines modified | ||
403 | ················throw·FormatException.getFormatInstance(); | 403 | ················throw·FormatException.getFormatInstance(); |
404 | ············} | 404 | ············} |
405 | ········} | 405 | ········} |
406 | ········catch·(IllegalArgumentException·ex2)·{} | 406 | ········catch·(IllegalArgumentException·ex2)·{} |
407 | ····} | 407 | ····} |
408 | ···· | 408 | ···· |
409 | ····public·static·Version·getVersionForNumber(final·int·n)·{ | 409 | ····public·static·Version·getVersionForNumber(final·int·n)·{ |
410 | ········if·(n·<· | 410 | ········if·(n·<=·0·||·n·>·40)·{ |
411 | ············throw·new·IllegalArgumentException(); | 411 | ············throw·new·IllegalArgumentException(); |
412 | ········} | 412 | ········} |
413 | ········return·Version.VERSIONS[n·-·1]; | 413 | ········return·Version.VERSIONS[n·-·1]; |
414 | ····} | 414 | ····} |
415 | ···· | 415 | ···· |
416 | ····BitMatrix·buildFunctionPattern()·{ | 416 | ····BitMatrix·buildFunctionPattern()·{ |
417 | ········final·int·n·=·3; | 417 | ········final·int·n·=·3; |
Offset 131, 15 lines modified | Offset 131, 15 lines modified | ||
131 | ············array[n]·=·(array[n2]·=·0); | 131 | ············array[n]·=·(array[n2]·=·0); |
132 | ············int·j; | 132 | ············int·j; |
133 | ············for·(j·=·startX;·j·<·n3·&&·!this.image.get(j,·n6);·++j)·{} | 133 | ············for·(j·=·startX;·j·<·n3·&&·!this.image.get(j,·n6);·++j)·{} |
134 | ············int·n7·=·0; | 134 | ············int·n7·=·0; |
135 | ············while·(j·<·n3)·{ | 135 | ············while·(j·<·n3)·{ |
136 | ················if·(this.image.get(j,·n6))·{ | 136 | ················if·(this.image.get(j,·n6))·{ |
137 | ····················if·(n7·==·n2)·{ | 137 | ····················if·(n7·==·n2)·{ |
138 | ························++array[n | 138 | ························++array[n2]; |
139 | ····················} | 139 | ····················} |
140 | ····················else·if·(n7·==·n)·{ | 140 | ····················else·if·(n7·==·n)·{ |
141 | ························if·(this.foundPatternCross(array))·{ | 141 | ························if·(this.foundPatternCross(array))·{ |
142 | ····························final·AlignmentPattern·alignmentPattern·=·this.handlePossibleCenter(array,·n6,·j); | 142 | ····························final·AlignmentPattern·alignmentPattern·=·this.handlePossibleCenter(array,·n6,·j); |
143 | ····························if·(alignmentPattern·!=·null)·{ | 143 | ····························if·(alignmentPattern·!=·null)·{ |
144 | ································return·alignmentPattern; | 144 | ································return·alignmentPattern; |
145 | ····························} | 145 | ····························} |
Offset 180, 15 lines modified | Offset 180, 15 lines modified | ||
180 | ············n8·=·n2·/·(float)(n2·-·n7); | 180 | ············n8·=·n2·/·(float)(n2·-·n7); |
181 | ············n7·=·0; | 181 | ············n7·=·0; |
182 | ········} | 182 | ········} |
183 | ········else·if·(n7·>=·this.image.getHeight())·{ | 183 | ········else·if·(n7·>=·this.image.getHeight())·{ |
184 | ············n8·=·(this.image.getHeight()·-·1·-·n2)·/·(float)(n7·-·n2); | 184 | ············n8·=·(this.image.getHeight()·-·1·-·n2)·/·(float)(n7·-·n2); |
185 | ············n7·=·this.image.getHeight()·-·1; | 185 | ············n7·=·this.image.getHeight()·-·1; |
186 | ········} | 186 | ········} |
187 | ········return· | 187 | ········return·this.sizeOfBlackWhiteBlackRun(n,·n2,·(int)(n·+·(n6·-·n)·*·n8),·n7)·+·sizeOfBlackWhiteBlackRun·-·1.0f; |
188 | ····} | 188 | ····} |
189 | ···· | 189 | ···· |
190 | ····protected·final·float·calculateModuleSize(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3)·{ | 190 | ····protected·final·float·calculateModuleSize(final·ResultPoint·resultPoint,·final·ResultPoint·resultPoint2,·final·ResultPoint·resultPoint3)·{ |
191 | ········return·(this.calculateModuleSizeOneWay(resultPoint,·resultPoint2)·+·this.calculateModuleSizeOneWay(resultPoint,·resultPoint3))·/·2.0f; | 191 | ········return·(this.calculateModuleSizeOneWay(resultPoint,·resultPoint2)·+·this.calculateModuleSizeOneWay(resultPoint,·resultPoint3))·/·2.0f; |
192 | ····} | 192 | ····} |
193 | ···· | 193 | ···· |
194 | ····public·DetectorResult·detect()·{ | 194 | ····public·DetectorResult·detect()·{ |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | package·com.google.zxing.qrcode.detector; | 1 | package·com.google.zxing.qrcode.detector; |
2 | import·java.io.Serializable; | ||
3 | import·java.util.Comparator; | 2 | import·java.util.Comparator; |
3 | import·java.io.Serializable; | ||
4 | final·class·FinderPatternFinder$CenterComparator·implements· | 4 | final·class·FinderPatternFinder$CenterComparator·implements·Serializable,·Comparator |
5 | { | 5 | { |
6 | ····private·final·float·average; | 6 | ····private·final·float·average; |
7 | ···· | 7 | ···· |
8 | ····private·FinderPatternFinder$CenterComparator(final·float·average)·{ | 8 | ····private·FinderPatternFinder$CenterComparator(final·float·average)·{ |
9 | ········this.average·=·average; | 9 | ········this.average·=·average; |
10 | ····} | 10 | ····} |
11 | ···· | 11 | ···· |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | package·com.google.zxing.qrcode.detector; | 1 | package·com.google.zxing.qrcode.detector; |
2 | import·java.io.Serializable; | ||
3 | import·java.util.Comparator; | 2 | import·java.util.Comparator; |
3 | import·java.io.Serializable; | ||
4 | final·class·FinderPatternFinder$FurthestFromAverageComparator·implements· | 4 | final·class·FinderPatternFinder$FurthestFromAverageComparator·implements·Serializable,·Comparator |
5 | { | 5 | { |
6 | ····private·final·float·average; | 6 | ····private·final·float·average; |
7 | ···· | 7 | ···· |
8 | ····private·FinderPatternFinder$FurthestFromAverageComparator(final·float·average)·{ | 8 | ····private·FinderPatternFinder$FurthestFromAverageComparator(final·float·average)·{ |
9 | ········this.average·=·average; | 9 | ········this.average·=·average; |
10 | ····} | 10 | ····} |
11 | ···· | 11 | ···· |
Offset 266, 31 lines modified | Offset 266, 31 lines modified | ||
266 | ················} | 266 | ················} |
267 | ············} | 267 | ············} |
268 | ········} | 268 | ········} |
269 | ········return·n; | 269 | ········return·n; |
270 | ····} | 270 | ····} |
271 | ···· | 271 | ···· |
272 | ····protected·static·boolean·foundPatternCross(final·int[]·array)·{ | 272 | ····protected·static·boolean·foundPatternCross(final·int[]·array)·{ |
273 | ········int·n·=·1; | 273 | ········final·int·n·=·1; |
274 | ········final·float·n2·=·3.0f; | 274 | ········final·float·n2·=·3.0f; |
275 | ········int·n3·=·0; | 275 | ········int·n3·=·0; |
276 | ········int·n4·=·0; | 276 | ········int·n4·=·0; |
277 | ········for·(int·i·=·0;·i·<·5;·++i)·{ | 277 | ········for·(int·i·=·0;·i·<·5;·++i)·{ |
278 | ············final·int·n5·=·array[i]; | 278 | ············final·int·n5·=·array[i]; |
279 | ············if·(n5·==·0)·{ | 279 | ············if·(n5·==·0)·{ |
280 | ················return·n3·!=·0; | 280 | ················return·n3·!=·0; |
281 | ············} | 281 | ············} |
282 | ············n4·+=·n5; | 282 | ············n4·+=·n5; |
283 | ········} | 283 | ········} |
284 | ········if·(n4· | 284 | ········if·(n4·<·7)·{ |
285 | ············return·n3·!=·0; | ||
286 | ········} | ||
285 | ········ | 287 | ········final·float·n6·=·n4·/·7.0f; |
286 | ········ | 288 | ········final·float·n7·=·n6·/·2.0f; |
289 | ········if·(Math.abs(n6·-·(float)array[0])·<·n7·&&·Math.abs(n6·-·(float)array[n])·<·n7·&&·Math.abs(n2·*·n6·-·(float)array[2])·<·n2·*·n7·&&·Math.abs(n6·-·(float)array[3])·<·n7·&&·Math.abs(n6·-·(float)array[4])·<·n7)·{ | ||
287 | ············if·(Math.abs(n6·-·(float)array[0])·>=·n7·||·Math.abs(n6·-·(float)array[n])·>=·n7·||·Math.abs(n2·*·n6·-·(float)array[2])·>=·n2·*·n7·||·Math.abs(n6·-·(float)array[3])·>=·n7·||·Math.abs(n6·-·(float)array[4])·>=·n7)·{ | ||
288 | ················n·=·0; | ||
289 | ············} | ||
290 | ············n3·=·n; | 290 | ············n3·=·n; |
291 | ············return·n3·!=·0; | 291 | ············return·n3·!=·0; |
292 | ········} | 292 | ········} |
293 | ········return·n3·!=·0; | 293 | ········return·n3·!=·0; |
294 | ····} | 294 | ····} |
295 | ···· | 295 | ···· |
296 | ····private·int[]·getCrossCheckStateCount()·{ | 296 | ····private·int[]·getCrossCheckStateCount()·{ |
Offset 400, 15 lines modified | Offset 400, 15 lines modified | ||
400 | ································n·=·2; | 400 | ································n·=·2; |
401 | ································if·(this.hasSkipped)·{ | 401 | ································if·(this.hasSkipped)·{ |
402 | ····································b3·=·this.haveMultiplyConfirmedCenters(); | 402 | ····································b3·=·this.haveMultiplyConfirmedCenters(); |
403 | ································} | 403 | ································} |
404 | ································else·{ | 404 | ································else·{ |
405 | ····································final·int·rowSkip·=·this.findRowSkip(); | 405 | ····································final·int·rowSkip·=·this.findRowSkip(); |
406 | ····································if·(rowSkip·>·array[2])·{ | 406 | ····································if·(rowSkip·>·array[2])·{ |
407 | ········································n2·+=·rowSkip·-·array[2]·-· | 407 | ········································n2·+=·rowSkip·-·array[2]·-·2; |
408 | ········································i·=·width·-·1; | 408 | ········································i·=·width·-·1; |
409 | ····································} | 409 | ····································} |
410 | ································} | 410 | ································} |
411 | ································n3·=·0; | 411 | ································n3·=·0; |
412 | ································array[0]·=·0; | 412 | ································array[0]·=·0; |
413 | ································array[2]·=·(array[1]·=·0); | 413 | ································array[2]·=·(array[1]·=·0); |
414 | ································array[4]·=·(array[3]·=·0); | 414 | ································array[4]·=·(array[3]·=·0); |
Offset 239, 14 lines modified | Offset 239, 18 lines modified | ||
239 | ············else·{ | 239 | ············else·{ |
240 | ················bitArray.appendBits(n,·4); | 240 | ················bitArray.appendBits(n,·4); |
241 | ················++i; | 241 | ················++i; |
242 | ············} | 242 | ············} |
243 | ········} | 243 | ········} |
244 | ····} | 244 | ····} |
245 | ···· | 245 | ···· |
246 | ····private·static·int·calculateBitsNeeded(final·Mode·mode,·final·BitArray·bitArray,·final·BitArray·bitArray2,·final·Version·version)·{ | ||
247 | ········return·bitArray.getSize()·+·mode.getCharacterCountBits(version)·+·bitArray2.getSize(); | ||
248 | ····} | ||
249 | ···· | ||
246 | ····private·static·int·calculateMaskPenalty(final·ByteMatrix·byteMatrix)·{ | 250 | ····private·static·int·calculateMaskPenalty(final·ByteMatrix·byteMatrix)·{ |
247 | ········return·MaskUtil.applyMaskPenaltyRule1(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule2(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule3(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule4(byteMatrix); | 251 | ········return·MaskUtil.applyMaskPenaltyRule1(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule2(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule3(byteMatrix)·+·MaskUtil.applyMaskPenaltyRule4(byteMatrix); |
248 | ····} | 252 | ····} |
249 | ···· | 253 | ···· |
250 | ····private·static·int·chooseMaskPattern(final·BitArray·bitArray,·final·ErrorCorrectionLevel·errorCorrectionLevel,·final·Version·version,·final·ByteMatrix·byteMatrix)·{ | 254 | ····private·static·int·chooseMaskPattern(final·BitArray·bitArray,·final·ErrorCorrectionLevel·errorCorrectionLevel,·final·Version·version,·final·ByteMatrix·byteMatrix)·{ |
251 | ········int·n·=·-1·>>>·1; | 255 | ········int·n·=·-1·>>>·1; |
252 | ········int·n2·=·-1; | 256 | ········int·n2·=·-1; |
Offset 263, 21 lines modified | Offset 267, 16 lines modified | ||
263 | ···· | 267 | ···· |
264 | ····public·static·Mode·chooseMode(final·String·s)·{ | 268 | ····public·static·Mode·chooseMode(final·String·s)·{ |
265 | ········return·chooseMode(s,·null); | 269 | ········return·chooseMode(s,·null); |
266 | ····} | 270 | ····} |
267 | ···· | 271 | ···· |
268 | ····private·static·Mode·chooseMode(final·String·s,·final·String·anObject)·{ | 272 | ····private·static·Mode·chooseMode(final·String·s,·final·String·anObject)·{ |
269 | ········Mode·mode; | 273 | ········Mode·mode; |
270 | ········if·("Shift_JIS".equals(anObject))·{ | 274 | ········if·("Shift_JIS".equals(anObject)·&&·isOnlyDoubleByteKanji(s))·{ |
271 | ············if·(isOnlyDoubleByteKanji(s))·{ | ||
272 | ············ | 275 | ············mode·=·Mode.KANJI; |
273 | ············} | ||
274 | ············else·{ | ||
275 | ················mode·=·Mode.BYTE; | ||
276 | ············} | ||
277 | ········} | 276 | ········} |
278 | ········else·{ | 277 | ········else·{ |
279 | ············boolean·b·=·false; | 278 | ············boolean·b·=·false; |
280 | ············boolean·b2·=·false; | 279 | ············boolean·b2·=·false; |
281 | ············for·(int·i·=·0;·i·<·s.length();·++i)·{ | 280 | ············for·(int·i·=·0;·i·<·s.length();·++i)·{ |
282 | ················final·char·char1·=·s.charAt(i); | 281 | ················final·char·char1·=·s.charAt(i); |
283 | ················if·(char1·>=·'0'·&&·char1·<=·'9')·{ | 282 | ················if·(char1·>=·'0'·&&·char1·<=·'9')·{ |
Offset 303, 72 lines modified | Offset 302, 75 lines modified | ||
303 | ········} | 302 | ········} |
304 | ········return·mode; | 303 | ········return·mode; |
305 | ····} | 304 | ····} |
306 | ···· | 305 | ···· |
307 | ····private·static·Version·chooseVersion(final·int·n,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{ | 306 | ····private·static·Version·chooseVersion(final·int·n,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{ |
308 | ········for·(int·i·=·1;·i·<=·40;·++i)·{ | 307 | ········for·(int·i·=·1;·i·<=·40;·++i)·{ |
309 | ············final·Version·versionForNumber·=·Version.getVersionForNumber(i); | 308 | ············final·Version·versionForNumber·=·Version.getVersionForNumber(i); |
310 | ············if·( | 309 | ············if·(willFit(n,·versionForNumber,·errorCorrectionLevel))·{ |
311 | ················return·versionForNumber; | 310 | ················return·versionForNumber; |
312 | ············} | 311 | ············} |
313 | ········} | 312 | ········} |
314 | ········throw·new·WriterException("Data·too·big"); | 313 | ········throw·new·WriterException("Data·too·big"); |
315 | ····} | 314 | ····} |
316 | ···· | 315 | ···· |
317 | ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{ | 316 | ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·errorCorrectionLevel)·{ |
318 | ········return·encode(s,·errorCorrectionLevel,·null); | 317 | ········return·encode(s,·errorCorrectionLevel,·null); |
319 | ····} | 318 | ····} |
320 | ···· | 319 | ···· |
321 | ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·ecLevel,·final·Map·map)·{ | 320 | ····public·static·QRCode·encode(final·String·s,·final·ErrorCorrectionLevel·ecLevel,·final·Map·map)·{ |
322 | ········String·anObject; | ||
323 | ········if·(map·==·null)·{ | ||
324 | ········ | 321 | ········String·string·=·"ISO-8859-1"; |
322 | ········if·(map·!=·null·&&·map.containsKey(EncodeHintType.CHARACTER_SET))·{ | ||
323 | ············string·=·map.get(EncodeHintType.CHARACTER_SET).toString(); | ||
325 | ········} | 324 | ········} |
326 | ········else·{ | ||
327 | ············anObject·=·map.get(EncodeHintType.CHARACTER_SET); | ||
328 | ········} | ||
329 | ········if·(anObject·==·null)·{ | ||
330 | ············anObject·=·"ISO-8859-1"; | ||
331 | ········} | ||
332 | ········final·Mode·chooseMode·=·chooseMode(s,· | 325 | ········final·Mode·chooseMode·=·chooseMode(s,·string); |
333 | ········final·BitArray·bitArray·=·new·BitArray(); | 326 | ········final·BitArray·bitArray·=·new·BitArray(); |
334 | ········if·(chooseMode·==·Mode.BYTE·&&·!"ISO-8859-1".equals( | 327 | ········if·(chooseMode·==·Mode.BYTE·&&·!"ISO-8859-1".equals(string))·{ |
335 | ············final·CharacterSetECI·characterSetECIByName·=·CharacterSetECI.getCharacterSetECIByName( | 328 | ············final·CharacterSetECI·characterSetECIByName·=·CharacterSetECI.getCharacterSetECIByName(string); |
336 | ············if·(characterSetECIByName·!=·null)·{ | 329 | ············if·(characterSetECIByName·!=·null)·{ |
337 | ················appendECI(characterSetECIByName,·bitArray); | 330 | ················appendECI(characterSetECIByName,·bitArray); |
338 | ············} | 331 | ············} |
339 | ········} | 332 | ········} |
340 | ········appendModeInfo(chooseMode,·bitArray); | 333 | ········appendModeInfo(chooseMode,·bitArray); |
341 | ········final·BitArray·bitArray2·=·new·BitArray(); | 334 | ········final·BitArray·bitArray2·=·new·BitArray(); |
342 | ········appendBytes(s,·chooseMode,·bitArray2,· | 335 | ········appendBytes(s,·chooseMode,·bitArray2,·string); |
343 | ········ | 336 | ········Version·version; |
337 | ········if·(map·!=·null·&&·map.containsKey(EncodeHintType.QR_VERSION))·{ | ||
338 | ············version·=·Version.getVersionForNumber(Integer.parseInt(map.get(EncodeHintType.QR_VERSION).toString())); | ||
339 | ············if·(!willFit(calculateBitsNeeded(chooseMode,·bitArray,·bitArray2,·version),·version,·ecLevel))·{ | ||
340 | ················throw·new·WriterException("Data·too·big·for·requested·version"); | ||
341 | ············} | ||
342 | ········} | ||
343 | ········else·{ | ||
344 | ············version·=·recommendVersion(ecLevel,·chooseMode,·bitArray,·bitArray2); | ||
345 | ········} | ||
344 | ········final·BitArray·bitArray3·=·new·BitArray(); | 346 | ········final·BitArray·bitArray3·=·new·BitArray(); |
345 | ········bitArray3.appendBitArray(bitArray); | 347 | ········bitArray3.appendBitArray(bitArray); |
346 | ········int·n; | 348 | ········int·n; |
347 | ········if·(chooseMode·==·Mode.BYTE)·{ | 349 | ········if·(chooseMode·==·Mode.BYTE)·{ |
348 | ············n·=·bitArray2.getSizeInBytes(); | 350 | ············n·=·bitArray2.getSizeInBytes(); |
349 | ········} | 351 | ········} |
350 | ········else·{ | 352 | ········else·{ |
351 | ············n·=·s.length(); | 353 | ············n·=·s.length(); |
352 | ········} | 354 | ········} |
353 | ········appendLengthInfo(n,· | 355 | ········appendLengthInfo(n,·version,·chooseMode,·bitArray3); |
354 | ········bitArray3.appendBitArray(bitArray2); | 356 | ········bitArray3.appendBitArray(bitArray2); |
355 | ········final·Version$ECBlocks·ecBlocksForLevel·=· | 357 | ········final·Version$ECBlocks·ecBlocksForLevel·=·version.getECBlocksForLevel(ecLevel); |
356 | ········final·int·n2·=· | 358 | ········final·int·n2·=·version.getTotalCodewords()·-·ecBlocksForLevel.getTotalECCodewords(); |
357 | ········terminateBits(n2,·bitArray3); | 359 | ········terminateBits(n2,·bitArray3); |
358 | ········final·BitArray·interleaveWithECBytes·=·interleaveWithECBytes(bitArray3,· | 360 | ········final·BitArray·interleaveWithECBytes·=·interleaveWithECBytes(bitArray3,·version.getTotalCodewords(),·n2,·ecBlocksForLevel.getNumBlocks()); |
359 | ········final·QRCode·qrCode·=·new·QRCode(); | 361 | ········final·QRCode·qrCode·=·new·QRCode(); |
360 | ········qrCode.setECLevel(ecLevel); | 362 | ········qrCode.setECLevel(ecLevel); |
361 | ········qrCode.setMode(chooseMode); | 363 | ········qrCode.setMode(chooseMode); |
362 | ········qrCode.setVersion( | 364 | ········qrCode.setVersion(version); |
363 | ········final·int·dimensionForVersion·=· | 365 | ········final·int·dimensionForVersion·=·version.getDimensionForVersion(); |
364 | ········final·ByteMatrix·matrix·=·new·ByteMatrix(dimensionForVersion,·dimensionForVersion); | 366 | ········final·ByteMatrix·matrix·=·new·ByteMatrix(dimensionForVersion,·dimensionForVersion); |
365 | ········final·int·chooseMaskPattern·=·chooseMaskPattern(interleaveWithECBytes,·ecLevel,· | 367 | ········final·int·chooseMaskPattern·=·chooseMaskPattern(interleaveWithECBytes,·ecLevel,·version,·matrix); |
366 | ········qrCode.setMaskPattern(chooseMaskPattern); | 368 | ········qrCode.setMaskPattern(chooseMaskPattern); |
367 | ········MatrixUtil.buildMatrix(interleaveWithECBytes,·ecLevel,· | 369 | ········MatrixUtil.buildMatrix(interleaveWithECBytes,·ecLevel,·version,·chooseMaskPattern,·matrix); |
368 | ········qrCode.setMatrix(matrix); | 370 | ········qrCode.setMatrix(matrix); |
369 | ········return·qrCode; | 371 | ········return·qrCode; |
370 | ····} | 372 | ····} |
371 | ···· | 373 | ···· |
372 | ····static·byte[]·generateECBytes(final·byte[]·array,·final·int·n)·{ | 374 | ····static·byte[]·generateECBytes(final·byte[]·array,·final·int·n)·{ |
373 | ········final·int·length·=·array.length; | 375 | ········final·int·length·=·array.length; |
374 | ········final·int[]·array2·=·new·int[length·+·n]; | 376 | ········final·int[]·array2·=·new·int[length·+·n]; |
Offset 435, 15 lines modified | Offset 437, 15 lines modified | ||
435 | ········final·ArrayList<BlockPair>·list·=·new·ArrayList<BlockPair>(initialCapacity); | 437 | ········final·ArrayList<BlockPair>·list·=·new·ArrayList<BlockPair>(initialCapacity); |
436 | ········for·(int·j·=·0;·j·<·initialCapacity;·++j)·{ | 438 | ········for·(int·j·=·0;·j·<·initialCapacity;·++j)·{ |
Max diff block lines reached; 3699/10984 bytes (33.68%) of diff not shown. |
Offset 105, 15 lines modified | Offset 105, 15 lines modified | ||
105 | ············for·(int·j·=·0;·j·<·width;·++j)·{ | 105 | ············for·(int·j·=·0;·j·<·width;·++j)·{ |
106 | ················if·(array2[j]·==·1)·{ | 106 | ················if·(array2[j]·==·1)·{ |
107 | ····················++n; | 107 | ····················++n; |
108 | ················} | 108 | ················} |
109 | ············} | 109 | ············} |
110 | ········} | 110 | ········} |
111 | ········final·int·n2·=·byteMatrix.getHeight()·*·byteMatrix.getWidth(); | 111 | ········final·int·n2·=·byteMatrix.getHeight()·*·byteMatrix.getWidth(); |
112 | ········return·Math.abs(n· | 112 | ········return·Math.abs((n·<<·1)·-·n2)·*·10·/·n2·*·10; |
113 | ····} | 113 | ····} |
114 | ···· | 114 | ···· |
115 | ····static·boolean·getDataMaskBit(final·int·i,·final·int·n,·final·int·n2)·{ | 115 | ····static·boolean·getDataMaskBit(final·int·i,·final·int·n,·final·int·n2)·{ |
116 | ········int·n3·=·0; | 116 | ········int·n3·=·0; |
117 | ········switch·(i)·{ | 117 | ········switch·(i)·{ |
118 | ············default:·{ | 118 | ············default:·{ |
119 | ················throw·new·IllegalArgumentException("Invalid·mask·pattern:·"·+·i); | 119 | ················throw·new·IllegalArgumentException("Invalid·mask·pattern:·"·+·i); |
Offset 152, 29 lines modified | Offset 152, 35 lines modified | ||
152 | ················n3·=·(n2·*·n·%·3·+·(n2·+·n·&·0x1)·&·0x1); | 152 | ················n3·=·(n2·*·n·%·3·+·(n2·+·n·&·0x1)·&·0x1); |
153 | ················break; | 153 | ················break; |
154 | ············} | 154 | ············} |
155 | ········} | 155 | ········} |
156 | ········return·n3·==·0; | 156 | ········return·n3·==·0; |
157 | ····} | 157 | ····} |
158 | ···· | 158 | ···· |
159 | ····private·static·boolean·isWhiteHorizontal(final·byte[]·array,· | 159 | ····private·static·boolean·isWhiteHorizontal(final·byte[]·array,·int·max,·int·min)·{ |
160 | ········ | 160 | ········final·boolean·b·=·true; |
161 | ········boolean·b2·=·false; | ||
162 | ········max·=·Math.max(max,·0); | ||
163 | ········min·=·Math.min(min,·array.length); | ||
161 | ········for·(int·i·=· | 164 | ········for·(int·i·=·max;·i·<·min;·++i)·{ |
165 | ············if·(array[i]·==·(b·?·1·:·0))·{ | ||
162 | ············if·(i·>=·0·&&·i·<·array.length·&&·array[i]·==·b)·{ | ||
163 | ················b·=·0; | ||
164 | ················ | 166 | ················return·b2; |
165 | ············} | 167 | ············} |
166 | ········} | 168 | ········} |
169 | ········b2·=·b; | ||
167 | ········return·b | 170 | ········return·b2; |
168 | ····} | 171 | ····} |
169 | ···· | 172 | ···· |
170 | ····private·static·boolean·isWhiteVertical(final·byte[][]·array,·final·int·n,· | 173 | ····private·static·boolean·isWhiteVertical(final·byte[][]·array,·final·int·n,·int·max,·int·min)·{ |
171 | ········ | 174 | ········final·boolean·b·=·true; |
175 | ········boolean·b2·=·false; | ||
176 | ········max·=·Math.max(max,·0); | ||
177 | ········min·=·Math.min(min,·array.length); | ||
172 | ········for·(int·i·=· | 178 | ········for·(int·i·=·max;·i·<·min;·++i)·{ |
179 | ············if·(array[i][n]·==·(b·?·1·:·0))·{ | ||
173 | ············if·(i·>=·0·&&·i·<·array.length·&&·array[i][n]·==·b)·{ | ||
174 | ················b·=·0; | ||
175 | ················ | 180 | ················return·b2; |
176 | ············} | 181 | ············} |
177 | ········} | 182 | ········} |
183 | ········b2·=·b; | ||
178 | ········return·b | 184 | ········return·b2; |
179 | ····} | 185 | ····} |
180 | } | 186 | } |
Offset 646, 22 lines modified | Offset 646, 20 lines modified | ||
646 | ···· | 646 | ···· |
647 | ····private·static·void·embedPositionDetectionPatternsAndSeparators(final·ByteMatrix·byteMatrix)·{ | 647 | ····private·static·void·embedPositionDetectionPatternsAndSeparators(final·ByteMatrix·byteMatrix)·{ |
648 | ········final·int·n·=·7; | 648 | ········final·int·n·=·7; |
649 | ········final·int·length·=·MatrixUtil.POSITION_DETECTION_PATTERN[0].length; | 649 | ········final·int·length·=·MatrixUtil.POSITION_DETECTION_PATTERN[0].length; |
650 | ········embedPositionDetectionPattern(0,·0,·byteMatrix); | 650 | ········embedPositionDetectionPattern(0,·0,·byteMatrix); |
651 | ········embedPositionDetectionPattern(byteMatrix.getWidth()·-·length,·0,·byteMatrix); | 651 | ········embedPositionDetectionPattern(byteMatrix.getWidth()·-·length,·0,·byteMatrix); |
652 | ········embedPositionDetectionPattern(0,·byteMatrix.getWidth()·-·length,·byteMatrix); | 652 | ········embedPositionDetectionPattern(0,·byteMatrix.getWidth()·-·length,·byteMatrix); |
653 | ········final·int·n2·=·8; | ||
654 | ········embedHorizontalSeparationPattern(0,·n,·byteMatrix); | 653 | ········embedHorizontalSeparationPattern(0,·n,·byteMatrix); |
655 | ········embedHorizontalSeparationPattern(byteMatrix.getWidth()·-· | 654 | ········embedHorizontalSeparationPattern(byteMatrix.getWidth()·-·8,·n,·byteMatrix); |
656 | ········embedHorizontalSeparationPattern(0,·byteMatrix.getWidth()·-· | 655 | ········embedHorizontalSeparationPattern(0,·byteMatrix.getWidth()·-·8,·byteMatrix); |
657 | ········final·int·n3·=·7; | ||
658 | ········embedVerticalSeparationPattern(n | 656 | ········embedVerticalSeparationPattern(n,·0,·byteMatrix); |
659 | ········embedVerticalSeparationPattern(byteMatrix.getHeight()·-· | 657 | ········embedVerticalSeparationPattern(byteMatrix.getHeight()·-·7·-·1,·0,·byteMatrix); |
660 | ········embedVerticalSeparationPattern(n | 658 | ········embedVerticalSeparationPattern(n,·byteMatrix.getHeight()·-·7,·byteMatrix); |
661 | ····} | 659 | ····} |
662 | ···· | 660 | ···· |
663 | ····private·static·void·embedTimingPatterns(final·ByteMatrix·byteMatrix)·{ | 661 | ····private·static·void·embedTimingPatterns(final·ByteMatrix·byteMatrix)·{ |
664 | ········final·int·n·=·6; | 662 | ········final·int·n·=·6; |
665 | ········for·(int·i·=·8;·i·<·byteMatrix.getWidth()·-·8;·++i)·{ | 663 | ········for·(int·i·=·8;·i·<·byteMatrix.getWidth()·-·8;·++i)·{ |
666 | ············final·int·n2·=·(i·+·1)·%·2; | 664 | ············final·int·n2·=·(i·+·1)·%·2; |
667 | ············if·(isEmpty(byteMatrix.get(i,·n)))·{ | 665 | ············if·(isEmpty(byteMatrix.get(i,·n)))·{ |
Offset 670, 41 lines modified | Offset 668, 40 lines modified | ||
670 | ············if·(isEmpty(byteMatrix.get(n,·i)))·{ | 668 | ············if·(isEmpty(byteMatrix.get(n,·i)))·{ |
671 | ················byteMatrix.set(n,·i,·n2); | 669 | ················byteMatrix.set(n,·i,·n2); |
672 | ············} | 670 | ············} |
673 | ········} | 671 | ········} |
674 | ····} | 672 | ····} |
675 | ···· | 673 | ···· |
676 | ····static·void·embedTypeInfo(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·ByteMatrix·byteMatrix)·{ | 674 | ····static·void·embedTypeInfo(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·ByteMatrix·byteMatrix)·{ |
675 | ········final·int·n2·=·8; | ||
677 | ········final·BitArray·bitArray·=·new·BitArray(); | 676 | ········final·BitArray·bitArray·=·new·BitArray(); |
678 | ········makeTypeInfoBits(errorCorrectionLevel,·n,·bitArray); | 677 | ········makeTypeInfoBits(errorCorrectionLevel,·n,·bitArray); |
679 | ········for·(int·i·=·0;·i·<·bitArray.getSize();·++i)·{ | 678 | ········for·(int·i·=·0;·i·<·bitArray.getSize();·++i)·{ |
680 | ············final·boolean·value·=·bitArray.get(bitArray.getSize()·-·1·-·i); | 679 | ············final·boolean·value·=·bitArray.get(bitArray.getSize()·-·1·-·i); |
681 | ············byteMatrix.set(MatrixUtil.TYPE_INFO_COORDINATES[i][0],·MatrixUtil.TYPE_INFO_COORDINATES[i][1],·value); | 680 | ············byteMatrix.set(MatrixUtil.TYPE_INFO_COORDINATES[i][0],·MatrixUtil.TYPE_INFO_COORDINATES[i][1],·value); |
682 | ············if·(i·<· | 681 | ············if·(i·<·n2)·{ |
683 | ················byteMatrix.set(byteMatrix.getWidth()·-·i·-·1,· | 682 | ················byteMatrix.set(byteMatrix.getWidth()·-·i·-·1,·n2,·value); |
684 | ············} | 683 | ············} |
685 | ············else·{ | 684 | ············else·{ |
686 | ················byteMatrix.set( | 685 | ················byteMatrix.set(n2,·byteMatrix.getHeight()·-·7·+·(i·-·8),·value); |
687 | ············} | 686 | ············} |
688 | ········} | 687 | ········} |
689 | ····} | 688 | ····} |
690 | ···· | 689 | ···· |
691 | ····private·static·void·embedVerticalSeparationPattern(final·int·n,·final·int·n2,·final·ByteMatrix·byteMatrix)·{ | 690 | ····private·static·void·embedVerticalSeparationPattern(final·int·n,·final·int·n2,·final·ByteMatrix·byteMatrix)·{ |
692 | ········for·(int·i·=·0;·i·<·7;·++i)·{ | 691 | ········for·(int·i·=·0;·i·<·7;·++i)·{ |
693 | ············if·(!isEmpty(byteMatrix.get(n,·n2·+·i)))·{ | 692 | ············if·(!isEmpty(byteMatrix.get(n,·n2·+·i)))·{ |
694 | ················throw·new·WriterException(); | 693 | ················throw·new·WriterException(); |
695 | ············} | 694 | ············} |
696 | ············byteMatrix.set(n,·n2·+·i,·0); | 695 | ············byteMatrix.set(n,·n2·+·i,·0); |
697 | ········} | 696 | ········} |
698 | ····} | 697 | ····} |
699 | ···· | 698 | ···· |
700 | ····static·int·findMSBSet(int·i)·{ | 699 | ····static·int·findMSBSet(final·int·i)·{ |
700 | ········return·32·-·Integer.numberOfLeadingZeros(i); | ||
701 | ········int·n; | ||
702 | ········for·(n·=·0;·i·!=·0;·i·>>>=·1,·++n)·{} | ||
703 | ········return·n; | ||
704 | ····} | 701 | ····} |
705 | ···· | 702 | ···· |
706 | ····private·static·boolean·isEmpty(final·int·n)·{ | 703 | ····private·static·boolean·isEmpty(final·int·n)·{ |
707 | ········return·n·==·-1; | 704 | ········return·n·==·-1; |
708 | ····} | 705 | ····} |
709 | ···· | 706 | ···· |
710 | ····static·void·makeTypeInfoBits(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·BitArray·bitArray)·{ | 707 | ····static·void·makeTypeInfoBits(final·ErrorCorrectionLevel·errorCorrectionLevel,·final·int·n,·final·BitArray·bitArray)·{ |
Offset 52, 22 lines modified | Offset 52, 20 lines modified | ||
52 | ······stack=300,·locals=2,·args_size=0 | 52 | ······stack=300,·locals=2,·args_size=0 |
53 | ·········0:·new···········#2··················//·class·com/google/zxing/ChecksumException | 53 | ·········0:·new···········#2··················//·class·com/google/zxing/ChecksumException |
54 | ·········3:·astore_0 | 54 | ·········3:·astore_0 |
55 | ·········4:·aload_0 | 55 | ·········4:·aload_0 |
56 | ·········5:·invokespecial·#10·················//·Method·"<init>":()V | 56 | ·········5:·invokespecial·#10·················//·Method·"<init>":()V |
57 | ·········8:·aload_0 | 57 | ·········8:·aload_0 |
58 | ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/ChecksumException; | 58 | ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/ChecksumException; |
59 | ········12:·getstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/ChecksumException; | ||
60 | ········15:·astore_0 | ||
61 | ········1 | 59 | ········12:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement; |
62 | ········1 | 60 | ········15:·astore_1 |
63 | ········ | 61 | ········16:·aload_0 |
64 | ········ | 62 | ········17:·aload_1 |
65 | ········ | 63 | ········18:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V |
66 | ········2 | 64 | ········21:·return |
67 | ··private·com.google.zxing.ChecksumException(); | 65 | ··private·com.google.zxing.ChecksumException(); |
68 | ····descriptor:·()V | 66 | ····descriptor:·()V |
69 | ····flags:·(0x0002)·ACC_PRIVATE | 67 | ····flags:·(0x0002)·ACC_PRIVATE |
70 | ····Code: | 68 | ····Code: |
71 | ······stack=300,·locals=1,·args_size=1 | 69 | ······stack=300,·locals=1,·args_size=1 |
72 | ·········0:·aload_0 | 70 | ·········0:·aload_0 |
Offset 52, 22 lines modified | Offset 52, 20 lines modified | ||
52 | ······stack=300,·locals=2,·args_size=0 | 52 | ······stack=300,·locals=2,·args_size=0 |
53 | ·········0:·new···········#2··················//·class·com/google/zxing/FormatException | 53 | ·········0:·new···········#2··················//·class·com/google/zxing/FormatException |
54 | ·········3:·astore_0 | 54 | ·········3:·astore_0 |
55 | ·········4:·aload_0 | 55 | ·········4:·aload_0 |
56 | ·········5:·invokespecial·#10·················//·Method·"<init>":()V | 56 | ·········5:·invokespecial·#10·················//·Method·"<init>":()V |
57 | ·········8:·aload_0 | 57 | ·········8:·aload_0 |
58 | ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/FormatException; | 58 | ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/FormatException; |
59 | ········12:·getstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/FormatException; | ||
60 | ········15:·astore_0 | ||
61 | ········1 | 59 | ········12:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement; |
62 | ········1 | 60 | ········15:·astore_1 |
63 | ········ | 61 | ········16:·aload_0 |
64 | ········ | 62 | ········17:·aload_1 |
65 | ········ | 63 | ········18:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V |
66 | ········2 | 64 | ········21:·return |
67 | ··private·com.google.zxing.FormatException(); | 65 | ··private·com.google.zxing.FormatException(); |
68 | ····descriptor:·()V | 66 | ····descriptor:·()V |
69 | ····flags:·(0x0002)·ACC_PRIVATE | 67 | ····flags:·(0x0002)·ACC_PRIVATE |
70 | ····Code: | 68 | ····Code: |
71 | ······stack=300,·locals=1,·args_size=1 | 69 | ······stack=300,·locals=1,·args_size=1 |
72 | ·········0:·aload_0 | 70 | ·········0:·aload_0 |
Offset 3, 18 lines modified | Offset 3, 20 lines modified | ||
3 | import·com.google.zxing.aztec.AztecWriter; | 3 | import·com.google.zxing.aztec.AztecWriter; |
4 | import·com.google.zxing.datamatrix.DataMatrixWriter; | 4 | import·com.google.zxing.datamatrix.DataMatrixWriter; |
5 | import·com.google.zxing.oned.CodaBarWriter; | 5 | import·com.google.zxing.oned.CodaBarWriter; |
6 | import·com.google.zxing.pdf417.PDF417Writer; | 6 | import·com.google.zxing.pdf417.PDF417Writer; |
7 | import·com.google.zxing.oned.ITFWriter; | 7 | import·com.google.zxing.oned.ITFWriter; |
8 | import·com.google.zxing.oned.Code128Writer; | 8 | import·com.google.zxing.oned.Code128Writer; |
9 | import·com.google.zxing.oned.Code93Writer; | ||
9 | import·com.google.zxing.oned.Code39Writer; | 10 | import·com.google.zxing.oned.Code39Writer; |
10 | import·com.google.zxing.qrcode.QRCodeWriter; | 11 | import·com.google.zxing.qrcode.QRCodeWriter; |
11 | import·com.google.zxing.oned.UPCAWriter; | 12 | import·com.google.zxing.oned.UPCAWriter; |
12 | import·com.google.zxing.oned.EAN13Writer; | 13 | import·com.google.zxing.oned.EAN13Writer; |
14 | import·com.google.zxing.oned.UPCEWriter; | ||
13 | import·com.google.zxing.oned.EAN8Writer; | 15 | import·com.google.zxing.oned.EAN8Writer; |
14 | import·java.util.Map; | 16 | import·java.util.Map; |
15 | import·com.google.zxing.common.BitMatrix; | 17 | import·com.google.zxing.common.BitMatrix; |
16 | public·final·class·MultiFormatWriter·implements·Writer | 18 | public·final·class·MultiFormatWriter·implements·Writer |
17 | { | 19 | { |
18 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{ | 20 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{ |
Offset 28, 50 lines modified | Offset 30, 58 lines modified | ||
28 | ················throw·new·IllegalArgumentException("No·encoder·available·for·format·"·+·obj); | 30 | ················throw·new·IllegalArgumentException("No·encoder·available·for·format·"·+·obj); |
29 | ············} | 31 | ············} |
30 | ············case·1:·{ | 32 | ············case·1:·{ |
31 | ················o·=·new·EAN8Writer(); | 33 | ················o·=·new·EAN8Writer(); |
32 | ················break; | 34 | ················break; |
33 | ············} | 35 | ············} |
34 | ············case·2:·{ | 36 | ············case·2:·{ |
35 | ················o·=·new· | 37 | ················o·=·new·UPCEWriter(); |
36 | ················break; | 38 | ················break; |
37 | ············} | 39 | ············} |
38 | ············case·3:·{ | 40 | ············case·3:·{ |
39 | ················o·=·new· | 41 | ················o·=·new·EAN13Writer(); |
40 | ················break; | 42 | ················break; |
41 | ············} | 43 | ············} |
42 | ············case·4:·{ | 44 | ············case·4:·{ |
43 | ················o·=·new· | 45 | ················o·=·new·UPCAWriter(); |
44 | ················break; | 46 | ················break; |
45 | ············} | 47 | ············} |
46 | ············case·5:·{ | 48 | ············case·5:·{ |
47 | ················o·=·new·Code | 49 | ················o·=·new·QRCodeWriter(); |
48 | ················break; | 50 | ················break; |
49 | ············} | 51 | ············} |
50 | ············case·6:·{ | 52 | ············case·6:·{ |
51 | ················o·=·new·Code | 53 | ················o·=·new·Code39Writer(); |
52 | ················break; | 54 | ················break; |
53 | ············} | 55 | ············} |
54 | ············case·7:·{ | 56 | ············case·7:·{ |
55 | ················o·=·new· | 57 | ················o·=·new·Code93Writer(); |
56 | ················break; | 58 | ················break; |
57 | ············} | 59 | ············} |
58 | ············case·8:·{ | 60 | ············case·8:·{ |
59 | ················o·=·new· | 61 | ················o·=·new·Code128Writer(); |
60 | ················break; | 62 | ················break; |
61 | ············} | 63 | ············} |
62 | ············case·9:·{ | 64 | ············case·9:·{ |
63 | ················o·=·new· | 65 | ················o·=·new·ITFWriter(); |
64 | ················break; | 66 | ················break; |
65 | ············} | 67 | ············} |
66 | ············case·10:·{ | 68 | ············case·10:·{ |
67 | ················o·=·new· | 69 | ················o·=·new·PDF417Writer(); |
68 | ················break; | 70 | ················break; |
69 | ············} | 71 | ············} |
70 | ············case·11:·{ | 72 | ············case·11:·{ |
73 | ················o·=·new·CodaBarWriter(); | ||
74 | ················break; | ||
75 | ············} | ||
76 | ············case·12:·{ | ||
77 | ················o·=·new·DataMatrixWriter(); | ||
78 | ················break; | ||
79 | ············} | ||
80 | ············case·13:·{ | ||
71 | ················o·=·new·AztecWriter(); | 81 | ················o·=·new·AztecWriter(); |
72 | ················break; | 82 | ················break; |
73 | ············} | 83 | ············} |
74 | ········} | 84 | ········} |
75 | ········return·((Writer)o).encode(s,·obj,·n,·n2,·map); | 85 | ········return·((Writer)o).encode(s,·obj,·n,·n2,·map); |
76 | ····} | 86 | ····} |
77 | } | 87 | } |
Offset 43, 22 lines modified | Offset 43, 20 lines modified | ||
43 | ······stack=300,·locals=2,·args_size=0 | 43 | ······stack=300,·locals=2,·args_size=0 |
44 | ·········0:·new···········#2··················//·class·com/google/zxing/NotFoundException | 44 | ·········0:·new···········#2··················//·class·com/google/zxing/NotFoundException |
45 | ·········3:·astore_0 | 45 | ·········3:·astore_0 |
46 | ·········4:·aload_0 | 46 | ·········4:·aload_0 |
47 | ·········5:·invokespecial·#10·················//·Method·"<init>":()V | 47 | ·········5:·invokespecial·#10·················//·Method·"<init>":()V |
48 | ·········8:·aload_0 | 48 | ·········8:·aload_0 |
49 | ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/NotFoundException; | 49 | ·········9:·putstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/NotFoundException; |
50 | ········12:·getstatic·····#12·················//·Field·INSTANCE:Lcom/google/zxing/NotFoundException; | ||
51 | ········15:·astore_0 | ||
52 | ········1 | 50 | ········12:·getstatic·····#16·················//·Field·NO_TRACE:[Ljava/lang/StackTraceElement; |
53 | ········1 | 51 | ········15:·astore_1 |
54 | ········ | 52 | ········16:·aload_0 |
55 | ········ | 53 | ········17:·aload_1 |
56 | ········ | 54 | ········18:·invokevirtual·#20·················//·Method·setStackTrace:([Ljava/lang/StackTraceElement;)V |
57 | ········2 | 55 | ········21:·return |
58 | ··private·com.google.zxing.NotFoundException(); | 56 | ··private·com.google.zxing.NotFoundException(); |
59 | ····descriptor:·()V | 57 | ····descriptor:·()V |
60 | ····flags:·(0x0002)·ACC_PRIVATE | 58 | ····flags:·(0x0002)·ACC_PRIVATE |
61 | ····Code: | 59 | ····Code: |
62 | ······stack=300,·locals=1,·args_size=1 | 60 | ······stack=300,·locals=1,·args_size=1 |
63 | ·········0:·aload_0 | 61 | ·········0:·aload_0 |
Offset 51, 17 lines modified | Offset 51, 16 lines modified | ||
51 | ············final·int·n·=·width·*·height; | 51 | ············final·int·n·=·width·*·height; |
52 | ············yuvData·=·new·byte[n]; | 52 | ············yuvData·=·new·byte[n]; |
53 | ············int·n2·=·this.top·*·this.dataWidth·+·this.left; | 53 | ············int·n2·=·this.top·*·this.dataWidth·+·this.left; |
54 | ············if·(width·==·this.dataWidth)·{ | 54 | ············if·(width·==·this.dataWidth)·{ |
55 | ················System.arraycopy(this.yuvData,·n2,·yuvData,·0,·n); | 55 | ················System.arraycopy(this.yuvData,·n2,·yuvData,·0,·n); |
56 | ············} | 56 | ············} |
57 | ············else·{ | 57 | ············else·{ |
58 | ················final·byte[]·yuvData2·=·this.yuvData; | ||
59 | ················for·(int·i·=·0;·i·<·height;·++i)·{ | 58 | ················for·(int·i·=·0;·i·<·height;·++i)·{ |
60 | ····················System.arraycopy(yuvData | 59 | ····················System.arraycopy(this.yuvData,·n2,·yuvData,·i·*·width,·width); |
61 | ····················n2·+=·this.dataWidth; | 60 | ····················n2·+=·this.dataWidth; |
62 | ················} | 61 | ················} |
63 | ············} | 62 | ············} |
64 | ········} | 63 | ········} |
65 | ········return·yuvData; | 64 | ········return·yuvData; |
66 | ····} | 65 | ····} |
67 | ···· | 66 | ···· |
Offset 94, 14 lines modified | Offset 93, 14 lines modified | ||
94 | ········final·int·n2·=·this.getHeight()·/·2; | 93 | ········final·int·n2·=·this.getHeight()·/·2; |
95 | ········final·int[]·array·=·new·int[n·*·n2]; | 94 | ········final·int[]·array·=·new·int[n·*·n2]; |
96 | ········final·byte[]·yuvData·=·this.yuvData; | 95 | ········final·byte[]·yuvData·=·this.yuvData; |
97 | ········int·n3·=·this.top·*·this.dataWidth·+·this.left; | 96 | ········int·n3·=·this.top·*·this.dataWidth·+·this.left; |
98 | ········for·(int·i·=·0;·i·<·n2;·++i)·{ | 97 | ········for·(int·i·=·0;·i·<·n2;·++i)·{ |
99 | ············final·int·n4·=·i·*·n; | 98 | ············final·int·n4·=·i·*·n; |
100 | ············for·(int·j·=·0;·j·<·n;·++j)·{ | 99 | ············for·(int·j·=·0;·j·<·n;·++j)·{ |
101 | ················array[n4·+·j]·=·(0xFF000000·|·65793·*·(yuvData[j· | 100 | ················array[n4·+·j]·=·(0xFF000000·|·65793·*·(yuvData[(j·<<·1)·+·n3]·&·0xFF)); |
102 | ············} | 101 | ············} |
103 | ············n3·+=·this.dataWidth· | 102 | ············n3·+=·this.dataWidth·<<·1; |
104 | ········} | 103 | ········} |
105 | ········return·array; | 104 | ········return·array; |
106 | ····} | 105 | ····} |
107 | } | 106 | } |
Offset 11, 29 lines modified | Offset 11, 19 lines modified | ||
11 | ···· | 11 | ···· |
12 | ····public·RGBLuminanceSource(final·int·dataWidth,·final·int·dataHeight,·final·int[]·array)·{ | 12 | ····public·RGBLuminanceSource(final·int·dataWidth,·final·int·dataHeight,·final·int[]·array)·{ |
13 | ········super(dataWidth,·dataHeight); | 13 | ········super(dataWidth,·dataHeight); |
14 | ········this.dataWidth·=·dataWidth; | 14 | ········this.dataWidth·=·dataWidth; |
15 | ········this.dataHeight·=·dataHeight; | 15 | ········this.dataHeight·=·dataHeight; |
16 | ········this.left·=·0; | 16 | ········this.left·=·0; |
17 | ········this.top·=·0; | 17 | ········this.top·=·0; |
18 | ········final·int·n·=·dataWidth·*·dataHeight; | ||
18 | ········this.luminances·=·new·byte[ | 19 | ········this.luminances·=·new·byte[n]; |
19 | ········for·(int·i·=·0;·i·<· | 20 | ········for·(int·i·=·0;·i·<·n;·++i)·{ |
20 | ············final·int·n·=·i·*·dataWidth; | ||
21 | ············for·(int·j·=·0;·j·<·dataWidth;·++j)·{ | ||
22 | ············ | 21 | ············final·int·n2·=·array[i]; |
22 | ············this.luminances[i]·=·(byte)(((n2·>>·16·&·0xFF)·+·(n2·>>·7·&·0x1FE)·+·(n2·&·0xFF))·/·4); | ||
23 | ················final·int·n3·=·n2·>>·16·&·0xFF; | ||
24 | ················final·int·n4·=·n2·>>·8·&·0xFF; | ||
25 | ················final·int·n5·=·n2·&·0xFF; | ||
26 | ················if·(n3·==·n4·&&·n4·==·n5)·{ | ||
27 | ····················this.luminances[n·+·j]·=·(byte)n3; | ||
28 | ················} | ||
29 | ················else·{ | ||
30 | ····················this.luminances[n·+·j]·=·(byte)((n4·*·2·+·n3·+·n5)·/·4); | ||
31 | ················} | ||
32 | ············} | ||
33 | ········} | 23 | ········} |
34 | ····} | 24 | ····} |
35 | ···· | 25 | ···· |
36 | ····private·RGBLuminanceSource(final·byte[]·luminances,·final·int·dataWidth,·final·int·dataHeight,·final·int·left,·final·int·top,·final·int·n,·final·int·n2)·{ | 26 | ····private·RGBLuminanceSource(final·byte[]·luminances,·final·int·dataWidth,·final·int·dataHeight,·final·int·left,·final·int·top,·final·int·n,·final·int·n2)·{ |
37 | ········super(n,·n2); | 27 | ········super(n,·n2); |
38 | ········if·(left·+·n·>·dataWidth·||·top·+·n2·>·dataHeight)·{ | 28 | ········if·(left·+·n·>·dataWidth·||·top·+·n2·>·dataHeight)·{ |
39 | ············throw·new·IllegalArgumentException("Crop·rectangle·does·not·fit·within·image·data."); | 29 | ············throw·new·IllegalArgumentException("Crop·rectangle·does·not·fit·within·image·data."); |
Offset 60, 17 lines modified | Offset 50, 16 lines modified | ||
60 | ············final·int·n·=·width·*·height; | 50 | ············final·int·n·=·width·*·height; |
61 | ············luminances·=·new·byte[n]; | 51 | ············luminances·=·new·byte[n]; |
62 | ············int·n2·=·this.top·*·this.dataWidth·+·this.left; | 52 | ············int·n2·=·this.top·*·this.dataWidth·+·this.left; |
63 | ············if·(width·==·this.dataWidth)·{ | 53 | ············if·(width·==·this.dataWidth)·{ |
64 | ················System.arraycopy(this.luminances,·n2,·luminances,·0,·n); | 54 | ················System.arraycopy(this.luminances,·n2,·luminances,·0,·n); |
65 | ············} | 55 | ············} |
66 | ············else·{ | 56 | ············else·{ |
67 | ················final·byte[]·luminances2·=·this.luminances; | ||
68 | ················for·(int·i·=·0;·i·<·height;·++i)·{ | 57 | ················for·(int·i·=·0;·i·<·height;·++i)·{ |
69 | ····················System.arraycopy(luminances | 58 | ····················System.arraycopy(this.luminances,·n2,·luminances,·i·*·width,·width); |
70 | ····················n2·+=·this.dataWidth; | 59 | ····················n2·+=·this.dataWidth; |
71 | ················} | 60 | ················} |
72 | ············} | 61 | ············} |
73 | ········} | 62 | ········} |
74 | ········return·luminances; | 63 | ········return·luminances; |
75 | ····} | 64 | ····} |
76 | ···· | 65 | ···· |
Offset 49, 49 lines modified | Offset 49, 24 lines modified | ||
49 | ····} | 49 | ····} |
50 | ···· | 50 | ···· |
51 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{ | 51 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{ |
52 | ········return·this.encode(s,·barcodeFormat,·n,·n2,·null); | 52 | ········return·this.encode(s,·barcodeFormat,·n,·n2,·null); |
53 | ····} | 53 | ····} |
54 | ···· | 54 | ···· |
55 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2,·final·Map·map)·{ | 55 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2,·final·Map·map)·{ |
56 | ········Charset·charset·=·AztecWriter.DEFAULT_CHARSET; | ||
57 | ········int·int1·=·33; | ||
58 | ········int·int2·=·0; | ||
56 | ········Number·n3·=·null; | ||
57 | ········String·charsetName; | ||
58 | ········if·(map·==·null)·{ | ||
59 | ············charsetName·=·null; | ||
60 | ········} | ||
61 | ········else·{ | ||
62 | ············charsetName·=·map.get(EncodeHintType.CHARACTER_SET); | ||
63 | ········} | ||
64 | ········Number·n4; | ||
65 | ········if·(map·==·null)·{ | ||
66 | ············n4·=·null; | ||
67 | ········} | ||
68 | ········else·{ | ||
69 | ············n4·=·(Number)map.get(EncodeHintType.ERROR_CORRECTION); | ||
70 | ········} | ||
71 | ········if·(map·!=·null)·{ | 59 | ········if·(map·!=·null)·{ |
72 | ············ | 60 | ············if·(map.containsKey(EncodeHintType.CHARACTER_SET))·{ |
61 | ················charset·=·Charset.forName(map.get(EncodeHintType.CHARACTER_SET).toString()); | ||
73 | ········} | 62 | ············} |
63 | ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{ | ||
64 | ················int1·=·Integer.parseInt(map.get(EncodeHintType.ERROR_CORRECTION).toString()); | ||
74 | ········Charset·charset; | ||
75 | ········if·(charsetName·==·null)·{ | ||
76 | ············charset·=·AztecWriter.DEFAULT_CHARSET; | ||
77 | ········} | 65 | ············} |
78 | ········else·{ | ||
79 | ············ | 66 | ············if·(map.containsKey(EncodeHintType.AZTEC_LAYERS))·{ |
67 | ················int2·=·Integer.parseInt(map.get(EncodeHintType.AZTEC_LAYERS).toString()); | ||
80 | ········} | 68 | ············} |
81 | ········int·intValue; | ||
82 | ········if·(n4·==·null)·{ | ||
83 | ············intValue·=·33; | ||
84 | ········} | ||
85 | ········else·{ | ||
86 | ············intValue·=·n4.intValue(); | ||
87 | ········} | ||
88 | ········int·intValue2; | ||
89 | ········if·(n3·==·null)·{ | ||
90 | ············intValue2·=·0; | ||
91 | ········} | ||
92 | ········else·{ | ||
93 | ············intValue2·=·n3.intValue(); | ||
94 | ········} | 69 | ········} |
95 | ········return·encode(s,·barcodeFormat,·n,·n2,·charset,·int | 70 | ········return·encode(s,·barcodeFormat,·n,·n2,·charset,·int1,·int2); |
96 | ····} | 71 | ····} |
97 | } | 72 | } |
Offset 36, 28 lines modified | Offset 36, 28 lines modified | ||
36 | ··#28·=·Class··············#27············//·java/lang/Math | 36 | ··#28·=·Class··············#27············//·java/lang/Math |
37 | ··#29·=·Utf8···············min | 37 | ··#29·=·Utf8···············min |
38 | ··#30·=·Utf8···············(II)I | 38 | ··#30·=·Utf8···············(II)I |
39 | ··#31·=·NameAndType········#29:#30········//·min:(II)I | 39 | ··#31·=·NameAndType········#29:#30········//·min:(II)I |
40 | ··#32·=·Methodref··········#28.#31········//·java/lang/Math.min:(II)I | 40 | ··#32·=·Methodref··········#28.#31········//·java/lang/Math.min:(II)I |
41 | ··#33·=·Utf8···············java/lang/StringBuilder | 41 | ··#33·=·Utf8···············java/lang/StringBuilder |
42 | ··#34·=·Class··············#33············//·java/lang/StringBuilder | 42 | ··#34·=·Class··············#33············//·java/lang/StringBuilder |
43 | ··#35·=·Utf8···············()V | ||
44 | ··#36·=·NameAndType········#8:#35·········//·"<init>":()V | ||
45 | ··#37·=·Methodref··········#34.#36········//·java/lang/StringBuilder."<init>":()V | ||
46 | ··#3 | 43 | ··#35·=·Utf8···············< |
47 | ··#3 | 44 | ··#36·=·String·············#35············//·< |
45 | ··#37·=·Utf8···············(Ljava/lang/String;)V | ||
46 | ··#38·=·NameAndType········#8:#37·········//·"<init>":(Ljava/lang/String;)V | ||
47 | ··#39·=·Methodref··········#34.#38········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V | ||
48 | ··#40·=·Utf8···············append | 48 | ··#40·=·Utf8···············append |
49 | ··#41·=·Utf8···············(I)Ljava/lang/StringBuilder; | ||
50 | ··#42·=·NameAndType········#40:#41········//·append:(I)Ljava/lang/StringBuilder; | ||
51 | ··#43·=·Methodref··········#34.#42········//·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; | ||
52 | ··#44·=·Utf8···············:: | ||
53 | ··#45·=·String·············#44············//·:: | ||
49 | ··#4 | 54 | ··#46·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; |
50 | ··#4 | 55 | ··#47·=·NameAndType········#40:#46········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
51 | ··#4 | 56 | ··#48·=·Methodref··········#34.#47········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
52 | ··#44·=·Utf8···············(I)Ljava/lang/StringBuilder; | ||
53 | ··#45·=·NameAndType········#40:#44········//·append:(I)Ljava/lang/StringBuilder; | ||
54 | ··#46·=·Methodref··········#34.#45········//·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; | ||
55 | ··#47·=·Utf8···············:: | ||
56 | ··#48·=·String·············#47············//·:: | ||
57 | ··#49·=·Utf8···············(C)Ljava/lang/StringBuilder; | 57 | ··#49·=·Utf8···············(C)Ljava/lang/StringBuilder; |
58 | ··#50·=·NameAndType········#40:#49········//·append:(C)Ljava/lang/StringBuilder; | 58 | ··#50·=·NameAndType········#40:#49········//·append:(C)Ljava/lang/StringBuilder; |
59 | ··#51·=·Methodref··········#34.#50········//·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder; | 59 | ··#51·=·Methodref··········#34.#50········//·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder; |
60 | ··#52·=·Utf8···············toString | 60 | ··#52·=·Utf8···············toString |
61 | ··#53·=·Utf8···············()Ljava/lang/String; | 61 | ··#53·=·Utf8···············()Ljava/lang/String; |
62 | ··#54·=·NameAndType········#52:#53········//·toString:()Ljava/lang/String; | 62 | ··#54·=·NameAndType········#52:#53········//·toString:()Ljava/lang/String; |
63 | ··#55·=·Methodref··········#34.#54········//·java/lang/StringBuilder.toString:()Ljava/lang/String; | 63 | ··#55·=·Methodref··········#34.#54········//·java/lang/StringBuilder.toString:()Ljava/lang/String; |
Offset 195, 41 lines modified | Offset 195, 38 lines modified | ||
195 | ····descriptor:·()Ljava/lang/String; | 195 | ····descriptor:·()Ljava/lang/String; |
196 | ····flags:·(0x0001)·ACC_PUBLIC | 196 | ····flags:·(0x0001)·ACC_PUBLIC |
197 | ····Code: | 197 | ····Code: |
198 | ······stack=300,·locals=4,·args_size=1 | 198 | ······stack=300,·locals=4,·args_size=1 |
199 | ·········0:·new···········#34·················//·class·java/lang/StringBuilder | 199 | ·········0:·new···········#34·················//·class·java/lang/StringBuilder |
200 | ·········3:·astore_1 | 200 | ·········3:·astore_1 |
201 | ·········4:·aload_1 | 201 | ·········4:·aload_1 |
202 | ·········5:·invokespecial·#37·················//·Method·java/lang/StringBuilder."<init>":()V | ||
203 | ·········8:·aload_1 | ||
204 | ········· | 202 | ·········5:·ldc···········#36·················//·String·< |
205 | ········ | 203 | ·········7:·invokespecial·#39·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V |
206 | ········14:·astore_1 | ||
207 | ········1 | 204 | ········10:·aload_0 |
208 | ········1 | 205 | ········11:·getfield······#13·················//·Field·binaryShiftStart:S |
209 | ········1 | 206 | ········14:·istore_2 |
210 | ········ | 207 | ········15:·aload_1 |
211 | ········ | 208 | ········16:·iload_2 |
212 | ········ | 209 | ········17:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; |
213 | ········2 | 210 | ········20:·ldc···········#45·················//·String·:: |
214 | ········2 | 211 | ········22:·invokevirtual·#48·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
215 | ········ | 212 | ········25:·astore_1 |
213 | ········26:·aload_0 | ||
214 | ········27:·getfield······#13·················//·Field·binaryShiftStart:S | ||
215 | ········30:·istore_2 | ||
216 | ········31:·aload_0 | 216 | ········31:·aload_0 |
217 | ········32:·getfield······#13·················//·Field·binaryShiftStart:S | ||
218 | ········35:·istore_2 | ||
219 | ········36:·aload_0 | ||
220 | ········3 | 217 | ········32:·getfield······#15·················//·Field·binaryShiftByteCount:S |
221 | ········ | 218 | ········35:·istore_3 |
222 | ········ | 219 | ········36:·iload_2 |
223 | ········ | 220 | ········37:·iload_3 |
224 | ········ | 221 | ········38:·iadd |
225 | ········ | 222 | ········39:·iconst_m1 |
226 | ········4 | 223 | ········40:·iadd |
227 | ········4 | 224 | ········41:·istore_2 |
228 | ········4 | 225 | ········42:·aload_1 |
229 | ········4 | 226 | ········43:·iload_2 |
230 | ········4 | 227 | ········44:·invokevirtual·#43·················//·Method·java/lang/StringBuilder.append:(I)Ljava/lang/StringBuilder; |
231 | ········ | 228 | ········47:·bipush········62 |
232 | ········ | 229 | ········49:·invokevirtual·#51·················//·Method·java/lang/StringBuilder.append:(C)Ljava/lang/StringBuilder; |
233 | ········5 | 230 | ········52:·invokevirtual·#55·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String; |
234 | ········ | 231 | ········55:·areturn |
235 | } | 232 | } |
Offset 16, 10 lines modified | Offset 16, 10 lines modified | ||
16 | ···· | 16 | ···· |
17 | ····void·appendTo(final·BitArray·bitArray,·final·byte[]·array)·{ | 17 | ····void·appendTo(final·BitArray·bitArray,·final·byte[]·array)·{ |
18 | ········bitArray.appendBits((int)this.value,·(int)this.bitCount); | 18 | ········bitArray.appendBits((int)this.value,·(int)this.bitCount); |
19 | ····} | 19 | ····} |
20 | ···· | 20 | ···· |
21 | ····public·String·toString()·{ | 21 | ····public·String·toString()·{ |
22 | ········final·int·beginIndex·=·1; | 22 | ········final·int·beginIndex·=·1; |
23 | ········return· | 23 | ········return·"<"·+·Integer.toBinaryString(beginIndex·<<·this.bitCount·|·((this.value·&·(beginIndex·<<·this.bitCount)·-·1)·|·beginIndex·<<·this.bitCount)).substring(beginIndex)·+·'>'; |
24 | ····} | 24 | ····} |
25 | } | 25 | } |
Offset 122, 15 lines modified | Offset 122, 15 lines modified | ||
122 | ······stack=300,·locals=10,·args_size=4 | 122 | ······stack=300,·locals=10,·args_size=4 |
123 | ·········0:·aconst_null | 123 | ·········0:·aconst_null |
124 | ·········1:·astore········4 | 124 | ·········1:·astore········4 |
125 | ·········3:·iconst_1 | 125 | ·········3:·iconst_1 |
126 | ·········4:·istore········5 | 126 | ·········4:·istore········5 |
127 | ·········6:·iload·········5 | 127 | ·········6:·iload·········5 |
128 | ·········8:·iload_1 | 128 | ·········8:·iload_1 |
129 | ·········9:·if_icmpgt····· | 129 | ·········9:·if_icmpgt·····98 |
130 | ········12:·new···········#11·················//·class·java/lang/StringBuilder | 130 | ········12:·new···········#11·················//·class·java/lang/StringBuilder |
131 | ········15:·astore········6 | 131 | ········15:·astore········6 |
132 | ········17:·aload·········6 | 132 | ········17:·aload·········6 |
133 | ········19:·invokespecial·#12·················//·Method·java/lang/StringBuilder."<init>":()V | 133 | ········19:·invokespecial·#12·················//·Method·java/lang/StringBuilder."<init>":()V |
134 | ········22:·aload·········6 | 134 | ········22:·aload·········6 |
135 | ········24:·aload_0 | 135 | ········24:·aload_0 |
136 | ········25:·invokevirtual·#16·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | 136 | ········25:·invokevirtual·#16·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 145, 51 lines modified | Offset 145, 51 lines modified | ||
145 | ········47:·aload·········6 | 145 | ········47:·aload·········6 |
146 | ········49:·aload_2 | 146 | ········49:·aload_2 |
147 | ········50:·iload·········7 | 147 | ········50:·iload·········7 |
148 | ········52:·iload_3 | 148 | ········52:·iload_3 |
149 | ········53:·invokestatic··#32·················//·Method·matchSinglePrefixedField:(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String; | 149 | ········53:·invokestatic··#32·················//·Method·matchSinglePrefixedField:(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String; |
150 | ········56:·astore········8 | 150 | ········56:·astore········8 |
151 | ········58:·aload·········8 | 151 | ········58:·aload·········8 |
152 | ········60:·ifn | 152 | ········60:·ifnull········98 |
153 | ········63:·aload·········4 | 153 | ········63:·aload·········4 |
154 | ········65:·ifnonnull····· | 154 | ········65:·ifnonnull·····79 |
155 | ········68:·iconst_0 | ||
156 | ········69:·istore········9 | ||
157 | ········71:·aconst_null | ||
158 | ········72:·astore········6 | ||
159 | ········74:·aload·········6 | ||
160 | ········76:·areturn | ||
161 | ········77:·aload·········4 | ||
162 | ········79:·ifnonnull·····93 | ||
163 | ········ | 155 | ········68:·new···········#34·················//·class·java/util/ArrayList |
164 | ········ | 156 | ········71:·astore········4 |
165 | ········ | 157 | ········73:·aload·········4 |
166 | ········ | 158 | ········75:·iload_1 |
167 | ········ | 159 | ········76:·invokespecial·#37·················//·Method·java/util/ArrayList."<init>":(I)V |
168 | ········ | 160 | ········79:·aload·········4 |
169 | ········ | 161 | ········81:·aload·········8 |
170 | ········ | 162 | ········83:·invokeinterface·#43,··2···········//·InterfaceMethod·java/util/List.add:(Ljava/lang/Object;)Z |
171 | ······· | 163 | ········88:·pop |
172 | ······· | 164 | ········89:·iload·········5 |
173 | ······· | 165 | ········91:·iconst_1 |
174 | ······· | 166 | ········92:·iadd |
175 | ······· | 167 | ········93:·istore········5 |
176 | ······· | 168 | ········95:·goto··········6 |
169 | ········98:·aload·········4 | ||
170 | ·······100:·ifnonnull·····112 | ||
171 | ·······103:·iconst_0 | ||
172 | ·······104:·istore········9 | ||
173 | ·······106:·aconst_null | ||
174 | ·······107:·astore········6 | ||
175 | ·······109:·aload·········6 | ||
176 | ·······111:·areturn | ||
177 | ·······112:·aload·········4 | 177 | ·······112:·aload·········4 |
178 | ·······114:·invokeinterface·#47,··1···········//·InterfaceMethod·java/util/List.size:()I | 178 | ·······114:·invokeinterface·#47,··1···········//·InterfaceMethod·java/util/List.size:()I |
179 | ·······119:·istore········9 | 179 | ·······119:·istore········9 |
180 | ·······121:·iload·········9 | 180 | ·······121:·iload·········9 |
181 | ·······123:·anewarray·····#49·················//·class·java/lang/String | 181 | ·······123:·anewarray·····#49·················//·class·java/lang/String |
182 | ·······126:·astore········6 | 182 | ·······126:·astore········6 |
183 | ·······128:·aload·········4 | 183 | ·······128:·aload·········4 |
184 | ·······130:·aload·········6 | 184 | ·······130:·aload·········6 |
185 | ·······132:·invokeinterface·#53,··2···········//·InterfaceMethod·java/util/List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object; | 185 | ·······132:·invokeinterface·#53,··2···········//·InterfaceMethod·java/util/List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object; |
186 | ·······137:·checkcast·····#55·················//·class·"[Ljava/lang/String;" | 186 | ·······137:·checkcast·····#55·················//·class·"[Ljava/lang/String;" |
187 | ·······140:·astore········6 | 187 | ·······140:·astore········6 |
188 | ·······142:·goto·········· | 188 | ·······142:·goto··········109 |
189 | ··public·com.google.zxing.client.result.AddressBookParsedResult·parse(com.google.zxing.Result); | 189 | ··public·com.google.zxing.client.result.AddressBookParsedResult·parse(com.google.zxing.Result); |
190 | ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/AddressBookParsedResult; | 190 | ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/AddressBookParsedResult; |
191 | ····flags:·(0x0001)·ACC_PUBLIC | 191 | ····flags:·(0x0001)·ACC_PUBLIC |
192 | ····Code: | 192 | ····Code: |
193 | ······stack=300,·locals=15,·args_size=2 | 193 | ······stack=300,·locals=15,·args_size=2 |
194 | ·········0:·aload_1 | 194 | ·········0:·aload_1 |
Offset 535, 46 lines modified | Offset 535, 46 lines modified | ||
535 | ········15:·aload_0 | 535 | ········15:·aload_0 |
536 | ········16:·areturn | 536 | ········16:·areturn |
537 | ··private·static·java.lang.String·format(boolean,·java.util.Date); | 537 | ··private·static·java.lang.String·format(boolean,·java.util.Date); |
538 | ····descriptor:·(ZLjava/util/Date;)Ljava/lang/String; | 538 | ····descriptor:·(ZLjava/util/Date;)Ljava/lang/String; |
539 | ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC | 539 | ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC |
540 | ····Code: | 540 | ····Code: |
541 | ······stack=300,·locals= | 541 | ······stack=300,·locals=4,·args_size=2 |
542 | ·········0:·iconst_2 | 542 | ·········0:·iconst_2 |
543 | ·········1:·istore_2 | 543 | ·········1:·istore_2 |
544 | ·········2:·aload_1 | 544 | ·········2:·aload_1 |
545 | ·········3:·ifnonnull·····12 | 545 | ·········3:·ifnonnull·····12 |
546 | ·········6:·iconst_0 | 546 | ·········6:·iconst_0 |
547 | ·········7:·istore_2 | 547 | ·········7:·istore_2 |
548 | ·········8:·aconst_null | 548 | ·········8:·aconst_null |
549 | ·········9:·astore_3 | 549 | ·········9:·astore_3 |
550 | ········10:·aload_3 | 550 | ········10:·aload_3 |
551 | ········11:·areturn | 551 | ········11:·areturn |
552 | ········12:·iload_0 | 552 | ········12:·iload_0 |
553 | ········13:·ifeq··········3 | 553 | ········13:·ifeq··········30 |
554 | ········16:·iload_2 | 554 | ········16:·iload_2 |
555 | ········17:·invokestatic··#154················//·Method·java/text/DateFormat.getDateInstance:(I)Ljava/text/DateFormat; | 555 | ········17:·invokestatic··#154················//·Method·java/text/DateFormat.getDateInstance:(I)Ljava/text/DateFormat; |
556 | ········20:·astore | 556 | ········20:·astore_3 |
557 | ········2 | 557 | ········21:·aload_3 |
558 | ········2 | 558 | ········22:·aload_1 |
559 | ········2 | 559 | ········23:·invokevirtual·#158················//·Method·java/text/DateFormat.format:(Ljava/util/Date;)Ljava/lang/String; |
560 | ········2 | 560 | ········26:·astore_3 |
561 | ········2 | 561 | ········27:·goto··········10 |
562 | ········3 | 562 | ········30:·iload_2 |
563 | ········3 | 563 | ········31:·iload_2 |
564 | ········3 | 564 | ········32:·invokestatic··#162················//·Method·java/text/DateFormat.getDateTimeInstance:(II)Ljava/text/DateFormat; |
565 | ········3 | 565 | ········35:·astore_3 |
566 | ········3 | 566 | ········36:·goto··········21 |
567 | ··private·static·java.util.Date·parseDate(java.lang.String); | 567 | ··private·static·java.util.Date·parseDate(java.lang.String); |
568 | ····descriptor:·(Ljava/lang/String;)Ljava/util/Date; | 568 | ····descriptor:·(Ljava/lang/String;)Ljava/util/Date; |
569 | ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC | 569 | ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC |
570 | ····Code: | 570 | ····Code: |
571 | ······stack=300,·locals=1 | 571 | ······stack=300,·locals=15,·args_size=1 |
572 | ·········0:·bipush········16 | 572 | ·········0:·bipush········16 |
573 | ·········2:·istore_1 | 573 | ·········2:·istore_1 |
574 | ·········3:·bipush········15 | 574 | ·········3:·bipush········15 |
575 | ·········5:·istore_2 | 575 | ·········5:·istore_2 |
576 | ·········6:·getstatic·····#52·················//·Field·DATE_TIME:Ljava/util/regex/Pattern; | 576 | ·········6:·getstatic·····#52·················//·Field·DATE_TIME:Ljava/util/regex/Pattern; |
577 | ·········9:·aload_0 | 577 | ·········9:·aload_0 |
578 | ········10:·invokevirtual·#168················//·Method·java/util/regex/Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 578 | ········10:·invokevirtual·#168················//·Method·java/util/regex/Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
Offset 609, 24 lines modified | Offset 609, 24 lines modified | ||
609 | ········65:·aload·········6 | 609 | ········65:·aload·········6 |
610 | ········67:·areturn | 610 | ········67:·areturn |
611 | ········68:·aload_0 | 611 | ········68:·aload_0 |
612 | ········69:·invokevirtual·#82·················//·Method·java/lang/String.length:()I | 612 | ········69:·invokevirtual·#82·················//·Method·java/lang/String.length:()I |
613 | ········72:·istore········4 | 613 | ········72:·istore········4 |
614 | ········74:·iload·········4 | 614 | ········74:·iload·········4 |
615 | ········76:·iload_1 | 615 | ········76:·iload_1 |
616 | ········77:·if_icmpne·····20 | 616 | ········77:·if_icmpne·····204 |
617 | ········80:·aload_0 | 617 | ········80:·aload_0 |
618 | ········81:·iload_2 | 618 | ········81:·iload_2 |
619 | ········82:·invokevirtual·#188················//·Method·java/lang/String.charAt:(I)C | 619 | ········82:·invokevirtual·#188················//·Method·java/lang/String.charAt:(I)C |
620 | ········85:·istore········4 | 620 | ········85:·istore········4 |
621 | ········87:·bipush········90 | 621 | ········87:·bipush········90 |
622 | ········89:·istore········5 | 622 | ········89:·istore········5 |
623 | ········91:·iload·········4 | 623 | ········91:·iload·········4 |
624 | ········93:·iload·········5 | 624 | ········93:·iload·········5 |
625 | ········95:·if_icmpne·····20 | 625 | ········95:·if_icmpne·····204 |
626 | ········98:·invokestatic··#192················//·Method·buildDateTimeFormat:()Ljava/text/DateFormat; | 626 | ········98:·invokestatic··#192················//·Method·buildDateTimeFormat:()Ljava/text/DateFormat; |
627 | ·······101:·astore_3 | 627 | ·······101:·astore_3 |
628 | ·······102:·aload_0 | 628 | ·······102:·aload_0 |
629 | ·······103:·iconst_0 | 629 | ·······103:·iconst_0 |
630 | ·······104:·iload_2 | 630 | ·······104:·iload_2 |
631 | ·······105:·invokevirtual·#196················//·Method·java/lang/String.substring:(II)Ljava/lang/String; | 631 | ·······105:·invokevirtual·#196················//·Method·java/lang/String.substring:(II)Ljava/lang/String; |
632 | ·······108:·astore········7 | 632 | ·······108:·astore········7 |
Offset 640, 52 lines modified | Offset 640, 54 lines modified | ||
640 | ·······125:·invokespecial·#201················//·Method·java/util/GregorianCalendar."<init>":()V | 640 | ·······125:·invokespecial·#201················//·Method·java/util/GregorianCalendar."<init>":()V |
641 | ·······128:·aload·········6 | 641 | ·······128:·aload·········6 |
642 | ·······130:·invokevirtual·#117················//·Method·java/util/Date.getTime:()J | 642 | ·······130:·invokevirtual·#117················//·Method·java/util/Date.getTime:()J |
643 | ·······133:·lstore········9 | 643 | ·······133:·lstore········9 |
644 | ·······135:·aload·········8 | 644 | ·······135:·aload·········8 |
645 | ·······137:·iload_2 | 645 | ·······137:·iload_2 |
646 | ·······138:·invokevirtual·#207················//·Method·java/util/Calendar.get:(I)I | 646 | ·······138:·invokevirtual·#207················//·Method·java/util/Calendar.get:(I)I |
647 | ·······141:·istore_2 | ||
648 | ·······142:·iload_2 | ||
647 | ·······14 | 649 | ·······143:·i2l |
648 | ·······14 | 650 | ·······144:·lstore········11 |
649 | ·······14 | 651 | ·······146:·lload·········9 |
650 | ·······14 | 652 | ·······148:·lload·········11 |
651 | ·······1 | 653 | ·······150:·ladd |
652 | ·······1 | 654 | ·······151:·lstore········13 |
653 | ·······15 | 655 | ·······153:·new···········#113················//·class·java/util/Date |
654 | ·······15 | 656 | ·······156:·astore_3 |
655 | ·······15 | 657 | ·······157:·aload_3 |
656 | ·······15 | 658 | ·······158:·lload·········13 |
657 | ·······1 | 659 | ·······160:·invokespecial·#120················//·Method·java/util/Date."<init>":(J)V |
658 | ·······16 | 660 | ·······163:·aload·········8 |
659 | ·······16 | 661 | ·······165:·aload_3 |
660 | ·······16 | 662 | ·······166:·invokevirtual·#211················//·Method·java/util/Calendar.setTime:(Ljava/util/Date;)V |
661 | ·······16 | 663 | ·······169:·aload·········8 |
662 | ·······1 | 664 | ·······171:·iload_1 |
663 | ·······17 | 665 | ·······172:·invokevirtual·#207················//·Method·java/util/Calendar.get:(I)I |
664 | ·······17 | 666 | ·······175:·istore········4 |
665 | ·······17 | 667 | ·······177:·iload·········4 |
666 | ·······17 | 668 | ·······179:·i2l |
667 | ·······1 | 669 | ·······180:·lstore········9 |
668 | ·······180:·lload·········9 | ||
669 | ·······182:·lload·········1 | 670 | ·······182:·lload·········13 |
671 | ·······184:·lload·········9 | ||
670 | ·······18 | 672 | ·······186:·ladd |
671 | ·······18 | 673 | ·······187:·lstore········13 |
672 | ·······18 | 674 | ·······189:·new···········#113················//·class·java/util/Date |
673 | ·······19 | 675 | ·······192:·astore········6 |
674 | ·······19 | 676 | ·······194:·aload·········6 |
675 | ·······19 | 677 | ·······196:·lload·········13 |
676 | ·······19 | 678 | ·······198:·invokespecial·#120················//·Method·java/util/Date."<init>":(J)V |
677 | ······· | 679 | ·······201:·goto··········65 |
678 | ·······20 | 680 | ·······204:·invokestatic··#192················//·Method·buildDateTimeFormat:()Ljava/text/DateFormat; |
679 | ·······20 | 681 | ·······207:·astore_3 |
680 | ·······20 | 682 | ·······208:·aload_3 |
681 | ·······20 | 683 | ·······209:·aload_0 |
682 | ·······2 | 684 | ·······210:·invokevirtual·#184················//·Method·java/text/DateFormat.parse:(Ljava/lang/String;)Ljava/util/Date; |
683 | ·······21 | 685 | ·······213:·astore········6 |
684 | ·······21 | 686 | ·······215:·goto··········65 |
685 | ··private·static·long·parseDurationMS(java.lang.CharSequence); | 687 | ··private·static·long·parseDurationMS(java.lang.CharSequence); |
686 | ····descriptor:·(Ljava/lang/CharSequence;)J | 688 | ····descriptor:·(Ljava/lang/CharSequence;)J |
687 | ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC | 689 | ····flags:·(0x000a)·ACC_PRIVATE,·ACC_STATIC |
688 | ····Code: | 690 | ····Code: |
689 | ······stack=300,·locals=12,·args_size=1 | 691 | ······stack=300,·locals=12,·args_size=1 |
690 | ·········0:·iconst_m1 | 692 | ·········0:·iconst_m1 |
Max diff block lines reached; -1/6982 bytes (-0.01%) of diff not shown. |
Offset 10, 54 lines modified | Offset 10, 72 lines modified | ||
10 | ····private·static·final·Pattern·COMMA; | 10 | ····private·static·final·Pattern·COMMA; |
11 | ···· | 11 | ···· |
12 | ····static·{ | 12 | ····static·{ |
13 | ········COMMA·=·Pattern.compile(","); | 13 | ········COMMA·=·Pattern.compile(","); |
14 | ····} | 14 | ····} |
15 | ···· | 15 | ···· |
16 | ····public·EmailAddressParsedResult·parse(final·Result·result)·{ | 16 | ····public·EmailAddressParsedResult·parse(final·Result·result)·{ |
17 | ········Object·o·=·null; | ||
17 | ········final·String·massagedText·=·getMassagedText(result); | 18 | ········final·String·massagedText·=·getMassagedText(result); |
18 | ········ | 19 | ········Label_0299:·{ |
19 | ········if·(massagedText.startsWith("mailto:")· | 20 | ············if·(!massagedText.startsWith("mailto:")·&&·!massagedText.startsWith("MAILTO:"))·{ |
21 | ················break·Label_0299; | ||
22 | ············} | ||
20 | ············String·s·=·massagedText.substring(7); | 23 | ············String·s·=·massagedText.substring(7); |
21 | ············final·int·index·=·s.indexOf(63); | 24 | ············final·int·index·=·s.indexOf(63); |
22 | ············if·(index·>=·0)·{ | 25 | ············if·(index·>=·0)·{ |
23 | ················s·=·s.substring(0,·index); | 26 | ················s·=·s.substring(0,·index); |
24 | ············} | 27 | ············} |
28 | ············while·(true)·{ | ||
29 | ················try·{ | ||
25 | ············final·String·urlDecode·=·urlDecode(s); | 30 | ····················final·String·urlDecode·=·urlDecode(s); |
26 | ············String[]·array·=·null; | 31 | ····················String[]·array·=·null; |
27 | ············if·(!urlDecode.isEmpty())·{ | 32 | ····················if·(!urlDecode.isEmpty())·{ |
28 | ················array·=·EmailAddressResultParser.COMMA.split(urlDecode); | ||
29 | ············} | ||
30 | ············final·Map·nameValuePairs·=·parseNameValuePairs(massagedText); | ||
31 | ············String[]·split·=·null; | ||
32 | ············String[]·split2·=·null; | ||
33 | ············String·s2·=·null; | ||
34 | ············String·s3·=·null; | ||
35 | ············if·(nameValuePairs·!=·null)·{ | ||
36 | ················if·(array·==·null)·{ | ||
37 | ····················final·String·input·=·(String)nameValuePairs.get("to"); | ||
38 | ····················if·(input·!=·null)·{ | ||
39 | ························ | 33 | ························o·=·EmailAddressResultParser.COMMA; |
34 | ························array·=·((Pattern)o).split(urlDecode); | ||
40 | ····················} | 35 | ····················} |
36 | ····················final·Map·nameValuePairs·=·parseNameValuePairs(massagedText); | ||
37 | ····················String[]·split·=·null; | ||
38 | ····················String[]·split2·=·null; | ||
39 | ····················String·s2·=·null; | ||
40 | ····················String·s3·=·null; | ||
41 | ····················if·(nameValuePairs·!=·null)·{ | ||
42 | ························if·(array·==·null)·{ | ||
43 | ····························o·=·"to"; | ||
44 | ····························final·String·input·=·(String)nameValuePairs.get(o); | ||
45 | ····························if·(input·!=·null)·{ | ||
46 | ································o·=·EmailAddressResultParser.COMMA; | ||
47 | ································array·=·((Pattern)o).split(input); | ||
48 | ····························} | ||
49 | ························} | ||
50 | ························o·=·"cc"; | ||
51 | ························final·String·input2·=·(String)nameValuePairs.get(o); | ||
52 | ························if·(input2·!=·null)·{ | ||
53 | ····························o·=·EmailAddressResultParser.COMMA; | ||
54 | ····························split·=·((Pattern)o).split(input2); | ||
55 | ························} | ||
56 | ························o·=·"bcc"; | ||
57 | ························final·String·input3·=·(String)nameValuePairs.get(o); | ||
58 | ························if·(input3·!=·null)·{ | ||
59 | ····························o·=·EmailAddressResultParser.COMMA; | ||
60 | ····························split2·=·((Pattern)o).split(input3); | ||
61 | ························} | ||
62 | ························s2·=·nameValuePairs.get("subject"); | ||
63 | ························o·=·"body"; | ||
64 | ························s3·=·nameValuePairs.get(o); | ||
65 | ····················} | ||
66 | ····················o·=·new·EmailAddressParsedResult(array,·split,·split2,·s2,·s3); | ||
67 | ····················Label_0297:·{ | ||
68 | ························return·(EmailAddressParsedResult)o; | ||
69 | ····················} | ||
70 | ····················//·iftrue(Label_0297:,·!EmailDoCoMoResultParser.isBasicallyValidEmailAddress(massagedText)) | ||
71 | ····················o·=·new·EmailAddressParsedResult(massagedText); | ||
72 | ····················return·(EmailAddressParsedResult)o; | ||
41 | ················} | 73 | ················} |
74 | ················catch·(IllegalArgumentException·ex)·{ | ||
75 | ····················return·(EmailAddressParsedResult)o; | ||
42 | ················final·String·input2·=·(String)nameValuePairs.get("cc"); | ||
43 | ················if·(input2·!=·null)·{ | ||
44 | ····················split·=·EmailAddressResultParser.COMMA.split(input2); | ||
45 | ················} | ||
46 | ················final·String·input3·=·(String)nameValuePairs.get("bcc"); | ||
47 | ················if·(input3·!=·null)·{ | ||
48 | ····················split2·=·EmailAddressResultParser.COMMA.split(input3); | ||
49 | ················} | 76 | ················} |
77 | ················return·(EmailAddressParsedResult)o; | ||
50 | ················s2·=·nameValuePairs.get("subject"); | ||
51 | ················s3·=·nameValuePairs.get("body"); | ||
52 | ············} | 78 | ············} |
53 | ············emailAddressParsedResult·=·new·EmailAddressParsedResult(array,·split,·split2,·s2,·s3); | ||
54 | ········} | ||
55 | ········else·if·(!EmailDoCoMoResultParser.isBasicallyValidEmailAddress(massagedText))·{ | ||
56 | ············emailAddressParsedResult·=·null; | ||
57 | ········} | ||
58 | ········else·{ | ||
59 | ············emailAddressParsedResult·=·new·EmailAddressParsedResult(massagedText); | ||
60 | ········} | 79 | ········} |
61 | ········return·emailAddressParsedResult; | ||
62 | ····} | 80 | ····} |
63 | } | 81 | } |
Offset 136, 10 lines modified | Offset 136, 10 lines modified | ||
136 | ····} | 136 | ····} |
137 | ···· | 137 | ···· |
138 | ····public·String·getWeightType()·{ | 138 | ····public·String·getWeightType()·{ |
139 | ········return·this.weightType; | 139 | ········return·this.weightType; |
140 | ····} | 140 | ····} |
141 | ···· | 141 | ···· |
142 | ····public·int·hashCode()·{ | 142 | ····public·int·hashCode()·{ |
143 | ········return· | 143 | ········return·hashNotNull(this.productID)·^·0x0·^·hashNotNull(this.sscc)·^·hashNotNull(this.lotNumber)·^·hashNotNull(this.productionDate)·^·hashNotNull(this.bestBeforeDate)·^·hashNotNull(this.expirationDate)·^·hashNotNull(this.weight)·^·hashNotNull(this.weightType)·^·hashNotNull(this.weightIncrement)·^·hashNotNull(this.price)·^·hashNotNull(this.priceIncrement)·^·hashNotNull(this.priceCurrency)·^·hashNotNull(this.uncommonAIs); |
144 | ····} | 144 | ····} |
145 | } | 145 | } |
Offset 211, 16 lines modified | Offset 211, 16 lines modified | ||
211 | ·······209:·dload·········14 | 211 | ·······209:·dload·········14 |
212 | ·······211:·dload·········10 | 212 | ·······211:·dload·········10 |
213 | ·······213:·dcmpg | 213 | ·······213:·dcmpg |
214 | ·······214:·istore········6 | 214 | ·······214:·istore········6 |
215 | ·······216:·iload·········6 | 215 | ·······216:·iload·········6 |
216 | ·······218:·ifge··········168 | 216 | ·······218:·ifge··········168 |
217 | ·······221:·goto··········32 | 217 | ·······221:·goto··········32 |
218 | ·······224:· | 218 | ·······224:·astore········4 |
219 | ·······22 | 219 | ·······226:·goto··········32 |
220 | ······Exception·table: | 220 | ······Exception·table: |
221 | ·········from····to··target·type | 221 | ·········from····to··target·type |
222 | ············47····52···224···Class·java/lang/NumberFormatException | 222 | ············47····52···224···Class·java/lang/NumberFormatException |
223 | ············54····59···224···Class·java/lang/NumberFormatException | 223 | ············54····59···224···Class·java/lang/NumberFormatException |
224 | ···········100···105···224···Class·java/lang/NumberFormatException | 224 | ···········100···105···224···Class·java/lang/NumberFormatException |
225 | ···········107···112···224···Class·java/lang/NumberFormatException | 225 | ···········107···112···224···Class·java/lang/NumberFormatException |
226 | ···········153···158···224···Class·java/lang/NumberFormatException | 226 | ···········153···158···224···Class·java/lang/NumberFormatException |
Offset 91, 35 lines modified | Offset 91, 35 lines modified | ||
91 | ········31:·istore········6 | 91 | ········31:·istore········6 |
92 | ········33:·bipush········13 | 92 | ········33:·bipush········13 |
93 | ········35:·istore········7 | 93 | ········35:·istore········7 |
94 | ········37:·iload·········6 | 94 | ········37:·iload·········6 |
95 | ········39:·iload·········7 | 95 | ········39:·iload·········7 |
96 | ········41:·if_icmpne·····18 | 96 | ········41:·if_icmpne·····18 |
97 | ········44:·ldc···········#33·················//·String·978 | 97 | ········44:·ldc···········#33·················//·String·978 |
98 | ········46:·astore | 98 | ········46:·astore_3 |
99 | ········4 | 99 | ········47:·aload·········5 |
100 | ········ | 100 | ········49:·aload_3 |
101 | ········5 | 101 | ········50:·invokevirtual·#37·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z |
102 | ········5 | 102 | ········53:·istore········6 |
103 | ········5 | 103 | ········55:·iload·········6 |
104 | ········5 | 104 | ········57:·ifne··········76 |
105 | ········6 | 105 | ········60:·ldc···········#39·················//·String·979 |
106 | ········6 | 106 | ········62:·astore_3 |
107 | ········6 | 107 | ········63:·aload·········5 |
108 | ········6 | 108 | ········65:·aload_3 |
109 | ········ | 109 | ········66:·invokevirtual·#37·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z |
110 | ········ | 110 | ········69:·istore········6 |
111 | ········7 | 111 | ········71:·iload·········6 |
112 | ········7 | 112 | ········73:·ifeq··········18 |
113 | ········ | 113 | ········76:·new···········#41·················//·class·com/google/zxing/client/result/ISBNParsedResult |
114 | ········ | 114 | ········79:·astore_2 |
115 | ········8 | 115 | ········80:·aload_2 |
116 | ········8 | 116 | ········81:·aload·········5 |
117 | ········8 | 117 | ········83:·invokespecial·#44·················//·Method·com/google/zxing/client/result/ISBNParsedResult."<init>":(Ljava/lang/String;)V |
118 | ········ | 118 | ········86:·goto··········18 |
119 | ··public·com.google.zxing.client.result.ParsedResult·parse(com.google.zxing.Result); | 119 | ··public·com.google.zxing.client.result.ParsedResult·parse(com.google.zxing.Result); |
120 | ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult; | 120 | ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult; |
121 | ····flags:·(0x1041)·ACC_PUBLIC,·ACC_BRIDGE,·ACC_SYNTHETIC | 121 | ····flags:·(0x1041)·ACC_PUBLIC,·ACC_BRIDGE,·ACC_SYNTHETIC |
122 | ····Code: | 122 | ····Code: |
123 | ······stack=300,·locals=2,·args_size=2 | 123 | ······stack=300,·locals=2,·args_size=2 |
124 | ·········0:·aload_0 | 124 | ·········0:·aload_0 |
Offset 31, 42 lines modified | Offset 31, 44 lines modified | ||
31 | ··#23·=·Utf8···············(Ljava/lang/String;)Z | 31 | ··#23·=·Utf8···············(Ljava/lang/String;)Z |
32 | ··#24·=·NameAndType········#22:#23········//·startsWith:(Ljava/lang/String;)Z | 32 | ··#24·=·NameAndType········#22:#23········//·startsWith:(Ljava/lang/String;)Z |
33 | ··#25·=·Methodref··········#21.#24········//·java/lang/String.startsWith:(Ljava/lang/String;)Z | 33 | ··#25·=·Methodref··········#21.#24········//·java/lang/String.startsWith:(Ljava/lang/String;)Z |
34 | ··#26·=·Utf8···············TEL: | 34 | ··#26·=·Utf8···············TEL: |
35 | ··#27·=·String·············#26············//·TEL: | 35 | ··#27·=·String·············#26············//·TEL: |
36 | ··#28·=·Utf8···············java/lang/StringBuilder | 36 | ··#28·=·Utf8···············java/lang/StringBuilder |
37 | ··#29·=·Class··············#28············//·java/lang/StringBuilder | 37 | ··#29·=·Class··············#28············//·java/lang/StringBuilder |
38 | ··#30·=·Utf8···············(Ljava/lang/String;)V | ||
39 | ··#31·=·NameAndType········#5:#30·········//·"<init>":(Ljava/lang/String;)V | ||
38 | ··#3 | 40 | ··#32·=·Methodref··········#29.#31········//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V |
41 | ··#33·=·Utf8···············substring | ||
42 | ··#34·=·Utf8···············(I)Ljava/lang/String; | ||
43 | ··#35·=·NameAndType········#33:#34········//·substring:(I)Ljava/lang/String; | ||
44 | ··#36·=·Methodref··········#21.#35········//·java/lang/String.substring:(I)Ljava/lang/String; | ||
39 | ··#3 | 45 | ··#37·=·Utf8···············append |
40 | ··#3 | 46 | ··#38·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; |
41 | ··#3 | 47 | ··#39·=·NameAndType········#37:#38········//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
42 | ··# | 48 | ··#40·=·Methodref··········#29.#39········//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
43 | ··#35·=·Utf8···············substring | ||
44 | ··#36·=·Utf8···············(I)Ljava/lang/String; | ||
45 | ··#37·=·NameAndType········#35:#36········//·substring:(I)Ljava/lang/String; | ||
46 | ··#38·=·Methodref··········#21.#37········//·java/lang/String.substring:(I)Ljava/lang/String; | ||
47 | ··# | 49 | ··#41·=·Utf8···············toString |
48 | ··#4 | 50 | ··#42·=·Utf8···············()Ljava/lang/String; |
49 | ··#4 | 51 | ··#43·=·NameAndType········#41:#42········//·toString:()Ljava/lang/String; |
50 | ··#4 | 52 | ··#44·=·Methodref··········#29.#43········//·java/lang/StringBuilder.toString:()Ljava/lang/String; |
51 | ··#4 | 53 | ··#45·=·Float··············8.8E-44f |
52 | ··#4 | 54 | ··#46·=·Utf8···············indexOf |
53 | ··#4 | 55 | ··#47·=·Utf8···············(II)I |
54 | ··#4 | 56 | ··#48·=·NameAndType········#46:#47········//·indexOf:(II)I |
55 | ··#4 | 57 | ··#49·=·Methodref··········#21.#48········//·java/lang/String.indexOf:(II)I |
56 | ··# | 58 | ··#50·=·Utf8···············com/google/zxing/client/result/TelParsedResult |
57 | ··# | 59 | ··#51·=·Class··············#50············//·com/google/zxing/client/result/TelParsedResult |
58 | ··#5 | 60 | ··#52·=·Utf8···············(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
59 | ··#5 | 61 | ··#53·=·NameAndType········#5:#52·········//·"<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
60 | ··#5 | 62 | ··#54·=·Methodref··········#51.#53········//·com/google/zxing/client/result/TelParsedResult."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
61 | ··#5 | 63 | ··#55·=·Utf8···············(II)Ljava/lang/String; |
62 | ··#5 | 64 | ··#56·=·NameAndType········#33:#55········//·substring:(II)Ljava/lang/String; |
63 | ··#5 | 65 | ··#57·=·Methodref··········#21.#56········//·java/lang/String.substring:(II)Ljava/lang/String; |
64 | ··#5 | 66 | ··#58·=·Utf8···············Code |
65 | ··#5 | 67 | ··#59·=·Utf8···············(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult; |
66 | { | 68 | { |
67 | ··public·com.google.zxing.client.result.TelResultParser(); | 69 | ··public·com.google.zxing.client.result.TelResultParser(); |
68 | ····descriptor:·()V | 70 | ····descriptor:·()V |
69 | ····flags:·(0x0001)·ACC_PUBLIC | 71 | ····flags:·(0x0001)·ACC_PUBLIC |
70 | ····Code: | 72 | ····Code: |
71 | ······stack=300,·locals=1,·args_size=1 | 73 | ······stack=300,·locals=1,·args_size=1 |
72 | ·········0:·aload_0 | 74 | ·········0:·aload_0 |
Offset 116, 60 lines modified | Offset 118, 57 lines modified | ||
116 | ········48:·ldc···········#27·················//·String·TEL: | 118 | ········48:·ldc···········#27·················//·String·TEL: |
117 | ········50:·astore········5 | 119 | ········50:·astore········5 |
118 | ········52:·aload·········4 | 120 | ········52:·aload·········4 |
119 | ········54:·aload·········5 | 121 | ········54:·aload·········5 |
120 | ········56:·invokevirtual·#25·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z | 122 | ········56:·invokevirtual·#25·················//·Method·java/lang/String.startsWith:(Ljava/lang/String;)Z |
121 | ········59:·istore········6 | 123 | ········59:·istore········6 |
122 | ········61:·iload·········6 | 124 | ········61:·iload·········6 |
123 | ········63:·ifeq··········15 | 125 | ········63:·ifeq··········150 |
124 | ········66:·new···········#29·················//·class·java/lang/StringBuilder | 126 | ········66:·new···········#29·················//·class·java/lang/StringBuilder |
125 | ········69:·astore········5 | 127 | ········69:·astore········5 |
126 | ········71:·aload·········5 | 128 | ········71:·aload·········5 |
127 | ········73:·invokespecial·#30·················//·Method·java/lang/StringBuilder."<init>":()V | ||
128 | ········76:·aload·········5 | ||
129 | ········7 | 129 | ········73:·ldc···········#19·················//·String·tel: |
130 | ········75:·invokespecial·#32·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V | ||
131 | ········78:·aload·········4 | ||
132 | ········80:·iload_3 | ||
133 | ········81:·invokevirtual·#36·················//·Method·java/lang/String.substring:(I)Ljava/lang/String; | ||
134 | ········84:·astore········7 | ||
135 | ········86:·aload·········5 | ||
136 | ········88:·aload·········7 | ||
130 | ········ | 137 | ········90:·invokevirtual·#40·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
131 | ········ | 138 | ········93:·astore········5 |
132 | ········85:·aload·········4 | ||
133 | ········87:·iload_3 | ||
134 | ········88:·invokevirtual·#38·················//·Method·java/lang/String.substring:(I)Ljava/lang/String; | ||
135 | ········91:·astore········7 | ||
136 | ········9 | 139 | ········95:·aload·········5 |
137 | ········95:·aload·········7 | ||
138 | ········97:·invokevirtual·#34·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
139 | ·······100:·astore········5 | ||
140 | ·······102:·aload·········5 | ||
141 | ······· | 140 | ········97:·invokevirtual·#44·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String; |
142 | ·······10 | 141 | ·······100:·astore········8 |
143 | ·······10 | 142 | ·······102:·bipush········63 |
144 | ·······1 | 143 | ·······104:·istore········6 |
145 | ·······1 | 144 | ·······106:·aload·········4 |
146 | ·······1 | 145 | ·······108:·iload·········6 |
147 | ·······11 | 146 | ·······110:·iload_3 |
148 | ·······11 | 147 | ·······111:·invokevirtual·#49·················//·Method·java/lang/String.indexOf:(II)I |
149 | ·······1 | 148 | ·······114:·istore········9 |
150 | ·······1 | 149 | ·······116:·iload·········9 |
151 | ·······1 | 150 | ·······118:·ifge··········157 |
152 | ·······12 | 151 | ·······121:·aload·········4 |
153 | ·······1 | 152 | ·······123:·iload_3 |
154 | ·······1 | 153 | ·······124:·invokevirtual·#36·················//·Method·java/lang/String.substring:(I)Ljava/lang/String; |
155 | ·······1 | 154 | ·······127:·astore········10 |
156 | ·······1 | 155 | ·······129:·new···········#51·················//·class·com/google/zxing/client/result/TelParsedResult |
157 | ·······13 | 156 | ·······132:·astore········5 |
158 | ·······1 | 157 | ·······134:·aload·········5 |
159 | ·······1 | 158 | ·······136:·aload·········10 |
160 | ·······1 | 159 | ·······138:·aload·········8 |
161 | ·······14 | 160 | ·······140:·aconst_null |
162 | ·······14 | 161 | ·······141:·invokespecial·#54·················//·Method·com/google/zxing/client/result/TelParsedResult."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
163 | ·······1 | 162 | ·······144:·aload·········5 |
164 | ·······1 | 163 | ·······146:·astore_2 |
165 | ·······1 | 164 | ·······147:·goto··········46 |
165 | ·······150:·aload·········4 | ||
166 | ·······152:·astore········8 | ||
167 | ·······154:·goto··········102 | ||
166 | ·······157:·aload·········4 | 168 | ·······157:·aload·········4 |
167 | ·······159:·astore········8 | ||
168 | ·······161:·goto··········109 | ||
169 | ·······164:·aload·········4 | ||
170 | ·······1 | 169 | ·······159:·iload_3 |
171 | ·······16 | 170 | ·······160:·iload·········9 |
172 | ·······16 | 171 | ·······162:·invokevirtual·#57·················//·Method·java/lang/String.substring:(II)Ljava/lang/String; |
173 | ·······1 | 172 | ·······165:·astore········10 |
174 | ·······1 | 173 | ·······167:·goto··········129 |
175 | } | 174 | } |
Offset 70, 19 lines modified | Offset 70, 19 lines modified | ||
70 | ···#62·=·Methodref··········#40.#61·······//·java/lang/String.indexOf:(I)I | 70 | ···#62·=·Methodref··········#40.#61·······//·java/lang/String.indexOf:(I)I |
71 | ···#63·=·Utf8···············isColonFollowedByPortNumber | 71 | ···#63·=·Utf8···············isColonFollowedByPortNumber |
72 | ···#64·=·Utf8···············(Ljava/lang/String;I)Z | 72 | ···#64·=·Utf8···············(Ljava/lang/String;I)Z |
73 | ···#65·=·NameAndType········#63:#64·······//·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z | 73 | ···#65·=·NameAndType········#63:#64·······//·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z |
74 | ···#66·=·Methodref··········#2.#65········//·com/google/zxing/client/result/URIParsedResult.isColonFollowedByPortNumber:(Ljava/lang/String;I)Z | 74 | ···#66·=·Methodref··········#2.#65········//·com/google/zxing/client/result/URIParsedResult.isColonFollowedByPortNumber:(Ljava/lang/String;I)Z |
75 | ···#67·=·Utf8···············java/lang/StringBuilder | 75 | ···#67·=·Utf8···············java/lang/StringBuilder |
76 | ···#68·=·Class··············#67···········//·java/lang/StringBuilder | 76 | ···#68·=·Class··············#67···········//·java/lang/StringBuilder |
77 | ···#69·=·Utf8···············()V | ||
78 | ···#70·=·NameAndType········#26:#69·······//·"<init>":()V | ||
79 | ···#71·=·Methodref··········#68.#70·······//·java/lang/StringBuilder."<init>":()V | ||
80 | ···# | 77 | ···#69·=·Utf8···············http:// |
81 | ···#7 | 78 | ···#70·=·String·············#69···········//·http:// |
79 | ···#71·=·Utf8···············(Ljava/lang/String;)V | ||
80 | ···#72·=·NameAndType········#26:#71·······//·"<init>":(Ljava/lang/String;)V | ||
81 | ···#73·=·Methodref··········#68.#72·······//·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V | ||
82 | ···#74·=·Utf8···············append | 82 | ···#74·=·Utf8···············append |
83 | ···#75·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; | 83 | ···#75·=·Utf8···············(Ljava/lang/String;)Ljava/lang/StringBuilder; |
84 | ···#76·=·NameAndType········#74:#75·······//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | 84 | ···#76·=·NameAndType········#74:#75·······//·append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
85 | ···#77·=·Methodref··········#68.#76·······//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | 85 | ···#77·=·Methodref··········#68.#76·······//·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
86 | ···#78·=·Utf8···············toString | 86 | ···#78·=·Utf8···············toString |
87 | ···#79·=·NameAndType········#78:#56·······//·toString:()Ljava/lang/String; | 87 | ···#79·=·NameAndType········#78:#56·······//·toString:()Ljava/lang/String; |
88 | ···#80·=·Methodref··········#68.#79·······//·java/lang/StringBuilder.toString:()Ljava/lang/String; | 88 | ···#80·=·Methodref··········#68.#79·······//·java/lang/StringBuilder.toString:()Ljava/lang/String; |
Offset 102, 19 lines modified | Offset 102, 20 lines modified | ||
102 | ···#94·=·Class··············#93···········//·java/util/regex/Matcher | 102 | ···#94·=·Class··············#93···········//·java/util/regex/Matcher |
103 | ···#95·=·Utf8···············find | 103 | ···#95·=·Utf8···············find |
104 | ···#96·=·Utf8···············()Z | 104 | ···#96·=·Utf8···············()Z |
105 | ···#97·=·NameAndType········#95:#96·······//·find:()Z | 105 | ···#97·=·NameAndType········#95:#96·······//·find:()Z |
106 | ···#98·=·Methodref··········#94.#97·······//·java/util/regex/Matcher.find:()Z | 106 | ···#98·=·Methodref··········#94.#97·······//·java/util/regex/Matcher.find:()Z |
107 | ···#99·=·Utf8···············Code | 107 | ···#99·=·Utf8···············Code |
108 | ··#100·=·Utf8···············<clinit> | 108 | ··#100·=·Utf8···············<clinit> |
109 | ··#101·=·Utf8···············()V | ||
109 | ··#10 | 110 | ··#102·=·Utf8···············(Ljava/lang/String;Ljava/lang/String;)V |
110 | ··#10 | 111 | ··#103·=·Utf8···············getDisplayResult |
111 | ··#10 | 112 | ··#104·=·Utf8···············getTitle |
112 | ··#10 | 113 | ··#105·=·Utf8···············getURI |
113 | ··#10 | 114 | ··#106·=·Utf8···············isPossiblyMaliciousURI |
114 | { | 115 | { |
115 | ··private·static·final·java.util.regex.Pattern·USER_IN_HOST; | 116 | ··private·static·final·java.util.regex.Pattern·USER_IN_HOST; |
116 | ····descriptor:·Ljava/util/regex/Pattern; | 117 | ····descriptor:·Ljava/util/regex/Pattern; |
117 | ····flags:·(0x001a)·ACC_PRIVATE,·ACC_STATIC,·ACC_FINAL | 118 | ····flags:·(0x001a)·ACC_PRIVATE,·ACC_STATIC,·ACC_FINAL |
118 | ··private·final·java.lang.String·title; | 119 | ··private·final·java.lang.String·title; |
119 | ····descriptor:·Ljava/lang/String; | 120 | ····descriptor:·Ljava/lang/String; |
Offset 203, 32 lines modified | Offset 204, 31 lines modified | ||
203 | ········14:·iload_2 | 204 | ········14:·iload_2 |
204 | ········15:·iflt··········28 | 205 | ········15:·iflt··········28 |
205 | ········18:·aload_0 | 206 | ········18:·aload_0 |
206 | ········19:·iload_2 | 207 | ········19:·iload_2 |
207 | ········20:·invokestatic··#66·················//·Method·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z | 208 | ········20:·invokestatic··#66·················//·Method·isColonFollowedByPortNumber:(Ljava/lang/String;I)Z |
208 | ········23:·istore_1 | 209 | ········23:·istore_1 |
209 | ········24:·iload_1 | 210 | ········24:·iload_1 |
210 | ········25:·ifeq··········5 | 211 | ········25:·ifeq··········53 |
211 | ········28:·new···········#68·················//·class·java/lang/StringBuilder | 212 | ········28:·new···········#68·················//·class·java/lang/StringBuilder |
212 | ········31:·astore_3 | 213 | ········31:·astore_3 |
213 | ········32:·aload_3 | ||
214 | ········33:·invokespecial·#71·················//·Method·java/lang/StringBuilder."<init>":()V | ||
215 | ········3 | 214 | ········32:·ldc···········#70·················//·String·http:// |
216 | ········3 | 215 | ········34:·astore········4 |
216 | ········36:·aload_3 | ||
217 | ········37:·aload·········4 | ||
218 | ········39:·invokespecial·#73·················//·Method·java/lang/StringBuilder."<init>":(Ljava/lang/String;)V | ||
217 | ········4 | 219 | ········42:·aload_3 |
218 | ········4 | 220 | ········43:·aload_0 |
219 | ········4 | 221 | ········44:·invokevirtual·#77·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; |
220 | ········46:·aload_0 | ||
221 | ········47:·invokevirtual·#77·················//·Method·java/lang/StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
222 | ········ | 222 | ········47:·astore_3 |
223 | ········ | 223 | ········48:·aload_3 |
224 | ········ | 224 | ········49:·invokevirtual·#80·················//·Method·java/lang/StringBuilder.toString:()Ljava/lang/String; |
225 | ········5 | 225 | ········52:·astore_0 |
226 | ········5 | 226 | ········53:·aload_0 |
227 | ········5 | 227 | ········54:·areturn |
228 | ··public·java.lang.String·getDisplayResult(); | 228 | ··public·java.lang.String·getDisplayResult(); |
229 | ····descriptor:·()Ljava/lang/String; | 229 | ····descriptor:·()Ljava/lang/String; |
230 | ····flags:·(0x0001)·ACC_PUBLIC | 230 | ····flags:·(0x0001)·ACC_PUBLIC |
231 | ····Code: | 231 | ····Code: |
232 | ······stack=300,·locals=2,·args_size=1 | 232 | ······stack=300,·locals=2,·args_size=1 |
233 | ·········0:·new···········#68·················//·class·java/lang/StringBuilder | 233 | ·········0:·new···········#68·················//·class·java/lang/StringBuilder |
Offset 8, 32 lines modified | Offset 8, 33 lines modified | ||
8 | public·final·class·URIResultParser·extends·ResultParser | 8 | public·final·class·URIResultParser·extends·ResultParser |
9 | { | 9 | { |
10 | ····private·static·final·Pattern·URL_WITHOUT_PROTOCOL_PATTERN; | 10 | ····private·static·final·Pattern·URL_WITHOUT_PROTOCOL_PATTERN; |
11 | ····private·static·final·Pattern·URL_WITH_PROTOCOL_PATTERN; | 11 | ····private·static·final·Pattern·URL_WITH_PROTOCOL_PATTERN; |
12 | ···· | 12 | ···· |
13 | ····static·{ | 13 | ····static·{ |
14 | ········URL_WITH_PROTOCOL_PATTERN·=·Pattern.compile("[a-zA-Z][a-zA-Z0-9+-.]+:"); | 14 | ········URL_WITH_PROTOCOL_PATTERN·=·Pattern.compile("[a-zA-Z][a-zA-Z0-9+-.]+:"); |
15 | ········URL_WITHOUT_PROTOCOL_PATTERN·=·Pattern.compile("([a-zA-Z0-9\\-]+\\.) | 15 | ········URL_WITHOUT_PROTOCOL_PATTERN·=·Pattern.compile("([a-zA-Z0-9\\-]+\\.){1,6}[a-zA-Z]{2,}(:\\d{1,5})?(/|\\?|$)"); |
16 | ····} | 16 | ····} |
17 | ···· | 17 | ···· |
18 | ····static·boolean·isBasicallyValidURI(final·String·s)·{ | 18 | ····static·boolean·isBasicallyValidURI(final·String·s)·{ |
19 | ········boolean·b·=·true; | 19 | ········final·boolean·b·=·true; |
20 | ········boolean·b2·=·false; | ||
20 | ········if·(s.contains("·"))·{ | 21 | ········if·(!s.contains("·"))·{ |
21 | ············b·=·false; | ||
22 | ········} | ||
23 | ········else·{ | ||
24 | ············final·Matcher·matcher·=·URIResultParser.URL_WITH_PROTOCOL_PATTERN.matcher(s); | 22 | ············final·Matcher·matcher·=·URIResultParser.URL_WITH_PROTOCOL_PATTERN.matcher(s); |
25 | ············if·( | 23 | ············if·(matcher.find()·&&·matcher.start()·==·0)·{ |
24 | ················b2·=·b; | ||
25 | ············} | ||
26 | ············else·{ | ||
26 | ················final·Matcher·matcher2·=·URIResultParser.URL_WITHOUT_PROTOCOL_PATTERN.matcher(s); | 27 | ················final·Matcher·matcher2·=·URIResultParser.URL_WITHOUT_PROTOCOL_PATTERN.matcher(s); |
27 | ················if·( | 28 | ················if·(matcher2.find()·&&·matcher2.start()·==·0)·{ |
28 | ····················b·=· | 29 | ····················b2·=·b; |
29 | ················} | 30 | ················} |
30 | ············} | 31 | ············} |
31 | ········} | 32 | ········} |
32 | ········return·b; | 33 | ········return·b2; |
33 | ····} | 34 | ····} |
34 | ···· | 35 | ···· |
35 | ····public·URIParsedResult·parse(final·Result·result)·{ | 36 | ····public·URIParsedResult·parse(final·Result·result)·{ |
36 | ········final·String·massagedText·=·getMassagedText(result); | 37 | ········final·String·massagedText·=·getMassagedText(result); |
37 | ········URIParsedResult·uriParsedResult; | 38 | ········URIParsedResult·uriParsedResult; |
38 | ········if·(massagedText.startsWith("URL:")·||·massagedText.startsWith("URI:"))·{ | 39 | ········if·(massagedText.startsWith("URL:")·||·massagedText.startsWith("URI:"))·{ |
39 | ············uriParsedResult·=·new·URIParsedResult(massagedText.substring(4).trim(),·(String)null); | 40 | ············uriParsedResult·=·new·URIParsedResult(massagedText.substring(4).trim(),·(String)null); |
Offset 78, 35 lines modified | Offset 78, 36 lines modified | ||
78 | ············} | 78 | ············} |
79 | ········} | 79 | ········} |
80 | ········maybeAppendFragment(byteArrayOutputStream,·s,·sb); | 80 | ········maybeAppendFragment(byteArrayOutputStream,·s,·sb); |
81 | ········return·sb.toString(); | 81 | ········return·sb.toString(); |
82 | ····} | 82 | ····} |
83 | ···· | 83 | ···· |
84 | ····private·static·void·formatNames(final·Iterable·iterable)·{ | 84 | ····private·static·void·formatNames(final·Iterable·iterable)·{ |
85 | ········final·int·n·=·4; | ||
85 | ········if·(iterable·!=·null)·{ | 86 | ········if·(iterable·!=·null)·{ |
86 | ············for·(final·List<String>·list·:·iterable)·{ | 87 | ············for·(final·List<String>·list·:·iterable)·{ |
87 | ················final·String·s·=·(String)list.get(0); | 88 | ················final·String·s·=·(String)list.get(0); |
88 | ················final·String[]·array·=·new·String[5]; | 89 | ················final·String[]·array·=·new·String[5]; |
89 | ················int·beginIndex·=·0; | 90 | ················int·beginIndex·=·0; |
90 | ················int·i; | 91 | ················int·i; |
91 | ················int·index; | 92 | ················int·index; |
92 | ················for·(i·=·0;·i·<· | 93 | ················for·(i·=·0;·i·<·n;·++i,·beginIndex·=·index·+·1)·{ |
93 | ····················index·=·s.indexOf(59,·beginIndex); | 94 | ····················index·=·s.indexOf(59,·beginIndex); |
94 | ····················if·(index·<·0)·{ | 95 | ····················if·(index·<·0)·{ |
95 | ························break; | 96 | ························break; |
96 | ····················} | 97 | ····················} |
97 | ····················array[i]·=·s.substring(beginIndex,·index); | 98 | ····················array[i]·=·s.substring(beginIndex,·index); |
98 | ················} | 99 | ················} |
99 | ················array[i]·=·s.substring(beginIndex); | 100 | ················array[i]·=·s.substring(beginIndex); |
100 | ················final·StringBuilder·sb·=·new·StringBuilder(100); | 101 | ················final·StringBuilder·sb·=·new·StringBuilder(100); |
101 | ················maybeAppendComponent(array,·3,·sb); | 102 | ················maybeAppendComponent(array,·3,·sb); |
102 | ················maybeAppendComponent(array,·1,·sb); | 103 | ················maybeAppendComponent(array,·1,·sb); |
103 | ················maybeAppendComponent(array,·2,·sb); | 104 | ················maybeAppendComponent(array,·2,·sb); |
104 | ················maybeAppendComponent(array,·0,·sb); | 105 | ················maybeAppendComponent(array,·0,·sb); |
105 | ················maybeAppendComponent(array,· | 106 | ················maybeAppendComponent(array,·n,·sb); |
106 | ················list.set(0,·sb.toString().trim()); | 107 | ················list.set(0,·sb.toString().trim()); |
107 | ············} | 108 | ············} |
108 | ········} | 109 | ········} |
109 | ····} | 110 | ····} |
110 | ···· | 111 | ···· |
111 | ····private·static·boolean·isLikeVCardDate(final·CharSequence·input)·{ | 112 | ····private·static·boolean·isLikeVCardDate(final·CharSequence·input)·{ |
112 | ········return·input·==·null·||·VCardResultParser.VCARD_LIKE_DATE.matcher(input).matches(); | 113 | ········return·input·==·null·||·VCardResultParser.VCARD_LIKE_DATE.matcher(input).matches(); |
Offset 176, 30 lines modified | Offset 177, 30 lines modified | ||
176 | ················} | 177 | ················} |
177 | ················else·{ | 178 | ················else·{ |
178 | ····················final·char·char2; | 179 | ····················final·char·char2; |
179 | ····················final·int·n2; | 180 | ····················final·int·n2; |
180 | ····················final·int·n3; | 181 | ····················final·int·n3; |
181 | ····················final·char·char3; | 182 | ····················final·char·char3; |
182 | ····················final·int·n4; | 183 | ····················final·int·n4; |
183 | ····················if·(!b3·||·((index·<· | 184 | ····················if·(!b3·||·((index·<=·0·||·(char2·=·input.charAt(index·-·1))·!=·(n2·=·61))·&&·(index·<·(n3·=·2)·||·(char3·=·input.charAt(index·-·2))·!=·(n4·=·61))))·{ |
184 | ························break; | 185 | ························break; |
185 | ····················} | 186 | ····················} |
186 | ····················end·=·index·+·1; | 187 | ····················end·=·index·+·1; |
187 | ················} | 188 | ················} |
188 | ············} | 189 | ············} |
189 | ············if·(index·<·0)·{ | 190 | ············if·(index·<·0)·{ |
190 | ················i·=·length; | 191 | ················i·=·length; |
191 | ············} | 192 | ············} |
192 | ············else·if·(index·>·beginIndex)·{ | 193 | ············else·if·(index·>·beginIndex)·{ |
193 | ················if·(list·==·null)·{ | 194 | ················if·(list·==·null)·{ |
194 | ····················list·=·new·ArrayList<ArrayList<Object>>(1); | 195 | ····················list·=·new·ArrayList<ArrayList<Object>>(1); |
195 | ················} | 196 | ················} |
196 | ················final·char·char4; | 197 | ················final·char·char4; |
197 | ················final·int·n5; | 198 | ················final·int·n5; |
198 | ················if·(index·> | 199 | ················if·(index·>·0·&&·(char4·=·input.charAt(index·-·1))·==·(n5·=·13))·{ |
199 | ····················--index; | 200 | ····················--index; |
200 | ················} | 201 | ················} |
201 | ················String·s3·=·input.substring(beginIndex,·index); | 202 | ················String·s3·=·input.substring(beginIndex,·index); |
202 | ················if·(b)·{ | 203 | ················if·(b)·{ |
203 | ····················s3·=·s3.trim(); | 204 | ····················s3·=·s3.trim(); |
204 | ················} | 205 | ················} |
205 | ················String·input3; | 206 | ················String·input3; |
Offset 244, 210 lines modified | Offset 244, 210 lines modified | ||
244 | ········39:·aload_0 | 244 | ········39:·aload_0 |
245 | ········40:·areturn | 245 | ········40:·areturn |
246 | ··public·com.google.zxing.client.result.CalendarParsedResult·parse(com.google.zxing.Result); | 246 | ··public·com.google.zxing.client.result.CalendarParsedResult·parse(com.google.zxing.Result); |
247 | ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult; | 247 | ····descriptor:·(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult; |
248 | ····flags:·(0x0001)·ACC_PUBLIC | 248 | ····flags:·(0x0001)·ACC_PUBLIC |
249 | ····Code: | 249 | ····Code: |
250 | ······stack=300,·locals=2 | 250 | ······stack=300,·locals=22,·args_size=2 |
251 | ·········0:·aload_1 | 251 | ·········0:·aload_1 |
252 | ·········1:·invokestatic··#50·················//·Method·getMassagedText:(Lcom/google/zxing/Result;)Ljava/lang/String; | 252 | ·········1:·invokestatic··#50·················//·Method·getMassagedText:(Lcom/google/zxing/Result;)Ljava/lang/String; |
253 | ·········4:·astore_2 | 253 | ·········4:·astore_2 |
254 | ·········5:·ldc···········#52·················//·String·BEGIN:VEVENT | 254 | ·········5:·ldc···········#52·················//·String·BEGIN:VEVENT |
255 | ·········7:·astore_3 | 255 | ·········7:·astore_3 |
256 | ·········8:·aload_2 | 256 | ·········8:·aload_2 |
257 | ·········9:·aload_3 | 257 | ·········9:·aload_3 |
258 | ········10:·invokevirtual·#56·················//·Method·java/lang/String.indexOf:(Ljava/lang/String;)I | 258 | ········10:·invokevirtual·#56·················//·Method·java/lang/String.indexOf:(Ljava/lang/String;)I |
259 | ········13:·istore········4 | 259 | ········13:·istore········4 |
260 | ········15:·iload·········4 | 260 | ········15:·iload·········4 |
261 | ········17:·ifge··········27 | 261 | ········17:·ifge··········27 |
262 | ········20:·iconst_0 | 262 | ········20:·iconst_0 |
263 | ········21:·istore········ | 263 | ········21:·istore········4 |
264 | ········23:·aconst_null | 264 | ········23:·aconst_null |
265 | ········24:·astore_3 | 265 | ········24:·astore_3 |
266 | ········25:·aload_3 | 266 | ········25:·aload_3 |
267 | ········26:·areturn | 267 | ········26:·areturn |
268 | ········27:·iconst_1 | 268 | ········27:·iconst_1 |
269 | ········28:·istore········ | 269 | ········28:·istore········5 |
270 | ········30:·ldc···········#58·················//·String·SUMMARY | 270 | ········30:·ldc···········#58·················//·String·SUMMARY |
271 | ········32:·aload_2 | 271 | ········32:·aload_2 |
272 | ········33:·iload········· | 272 | ········33:·iload·········5 |
273 | ········35:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 273 | ········35:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
274 | ········38:·astore········ | 274 | ········38:·astore········6 |
275 | ········40:·ldc···········#64·················//·String·DTSTART | 275 | ········40:·ldc···········#64·················//·String·DTSTART |
276 | ········42:·astore_3 | 276 | ········42:·astore_3 |
277 | ········43:·iconst_1 | 277 | ········43:·iconst_1 |
278 | ········44:·istore········ | 278 | ········44:·istore········7 |
279 | ········46:·iload········· | 279 | ········46:·iload·········7 |
280 | ········48:·istore········ | 280 | ········48:·istore········5 |
281 | ········50:·aload_3 | 281 | ········50:·aload_3 |
282 | ········51:·aload_2 | 282 | ········51:·aload_2 |
283 | ········52:·iload········· | 283 | ········52:·iload·········7 |
284 | ········54:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 284 | ········54:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
285 | ········57:·astore········ | 285 | ········57:·astore········8 |
286 | ········59:·aload········· | 286 | ········59:·aload·········8 |
287 | ········61:·ifnonnull·····72 | 287 | ········61:·ifnonnull·····72 |
288 | ········64:·iconst_0 | 288 | ········64:·iconst_0 |
289 | ········65:·istore········ | 289 | ········65:·istore········4 |
290 | ········67:·aconst_null | 290 | ········67:·aconst_null |
291 | ········68:·astore_3 | 291 | ········68:·astore_3 |
292 | ········69:·goto··········25 | 292 | ········69:·goto··········25 |
293 | ········72:·iconst_1 | 293 | ········72:·iconst_1 |
294 | ········73:·istore········ | 294 | ········73:·istore········5 |
295 | ········75:·ldc···········#66·················//·String·DTEND | 295 | ········75:·ldc···········#66·················//·String·DTEND |
296 | ········77:·aload_2 | 296 | ········77:·aload_2 |
297 | ········78:·iload········· | 297 | ········78:·iload·········5 |
298 | ········80:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 298 | ········80:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
299 | ········83:·astore········ | 299 | ········83:·astore········9 |
300 | ········85:·iconst_1 | 300 | ········85:·iconst_1 |
301 | ········86:·istore········ | 301 | ········86:·istore········5 |
302 | ········88:·ldc···········#68·················//·String·DURATION | 302 | ········88:·ldc···········#68·················//·String·DURATION |
303 | ········90:·aload_2 | 303 | ········90:·aload_2 |
304 | ········91:·iload········· | 304 | ········91:·iload·········5 |
305 | ········93:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 305 | ········93:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
306 | ········96:·astore········1 | 306 | ········96:·astore········10 |
307 | ········98:·iconst_1 | 307 | ········98:·iconst_1 |
308 | ········99:·istore········ | 308 | ········99:·istore········5 |
309 | ·······101:·ldc···········#70·················//·String·LOCATION | 309 | ·······101:·ldc···········#70·················//·String·LOCATION |
310 | ·······103:·aload_2 | 310 | ·······103:·aload_2 |
311 | ·······104:·iload········· | 311 | ·······104:·iload·········5 |
312 | ·······106:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 312 | ·······106:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
313 | ·······109:·astore········1 | 313 | ·······109:·astore········11 |
314 | ·······111:·iconst_1 | 314 | ·······111:·iconst_1 |
315 | ·······112:·istore········ | 315 | ·······112:·istore········5 |
316 | ·······114:·ldc···········#72·················//·String·ORGANIZER | 316 | ·······114:·ldc···········#72·················//·String·ORGANIZER |
317 | ·······116:·aload_2 | 317 | ·······116:·aload_2 |
318 | ·······117:·iload········· | 318 | ·······117:·iload·········5 |
319 | ·······119:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 319 | ·······119:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
320 | ·······122:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String; | 320 | ·······122:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String; |
321 | ·······125:·astore········1 | 321 | ·······125:·astore········12 |
322 | ·······127:·ldc···········#78·················//·String·ATTENDEE | 322 | ·······127:·ldc···········#78·················//·String·ATTENDEE |
323 | ·······129:·astore_3 | 323 | ·······129:·astore_3 |
324 | ·······130:·iconst_1 | 324 | ·······130:·iconst_1 |
325 | ·······131:·istore········ | 325 | ·······131:·istore········7 |
326 | ·······133:·iload········· | 326 | ·······133:·iload·········7 |
327 | ·······135:·istore········ | 327 | ·······135:·istore········5 |
328 | ·······137:·aload_3 | 328 | ·······137:·aload_3 |
329 | ·······138:·aload_2 | 329 | ·······138:·aload_2 |
330 | ·······139:·iload········· | 330 | ·······139:·iload·········7 |
331 | ·······141:·invokestatic··#81·················//·Method·matchVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)[Ljava/lang/String; | 331 | ·······141:·invokestatic··#81·················//·Method·matchVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)[Ljava/lang/String; |
332 | ·······144:·astore········1 | 332 | ·······144:·astore········13 |
333 | ·······146:·aload·········1 | 333 | ·······146:·aload·········13 |
334 | ·······148:·ifnull········190 | 334 | ·······148:·ifnull········190 |
335 | ·······151:·iconst_0 | 335 | ·······151:·iconst_0 |
336 | ·······152:·istore········1 | 336 | ·······152:·istore········14 |
337 | ·······154:·aload·········1 | 337 | ·······154:·aload·········13 |
338 | ·······156:·arraylength | 338 | ·······156:·arraylength |
339 | ·······157:·istore········ | 339 | ·······157:·istore········4 |
340 | ·······159:·iload·········1 | 340 | ·······159:·iload·········14 |
341 | ·······161:·iload········· | 341 | ·······161:·iload·········4 |
342 | ·······163:·if_icmpge·····190 | 342 | ·······163:·if_icmpge·····190 |
343 | ·······166:·aload·········1 | 343 | ·······166:·aload·········13 |
344 | ·······168:·iload·········1 | 344 | ·······168:·iload·········14 |
345 | ·······170:·aaload | 345 | ·······170:·aaload |
346 | ·······171:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String; | 346 | ·······171:·invokestatic··#76·················//·Method·stripMailto:(Ljava/lang/String;)Ljava/lang/String; |
347 | ·······174:·astore_3 | 347 | ·······174:·astore_3 |
348 | ·······175:·aload·········1 | 348 | ·······175:·aload·········13 |
349 | ·······177:·iload·········1 | 349 | ·······177:·iload·········14 |
350 | ·······179:·aload_3 | 350 | ·······179:·aload_3 |
351 | ·······180:·aastore | 351 | ·······180:·aastore |
352 | ·······181:·iload·········1 | 352 | ·······181:·iload·········14 |
353 | ·······183:·iconst_1 | 353 | ·······183:·iconst_1 |
354 | ·······184:·iadd | 354 | ·······184:·iadd |
355 | ·······185:·istore········1 | 355 | ·······185:·istore········14 |
356 | ·······187:·goto··········154 | 356 | ·······187:·goto··········154 |
357 | ·······190:·iconst_1 | 357 | ·······190:·iconst_1 |
358 | ·······191:·istore········ | 358 | ·······191:·istore········5 |
359 | ·······193:·ldc···········#83·················//·String·DESCRIPTION | 359 | ·······193:·ldc···········#83·················//·String·DESCRIPTION |
360 | ·······195:·aload_2 | 360 | ·······195:·aload_2 |
361 | ·······196:·iload········· | 361 | ·······196:·iload·········5 |
362 | ·······198:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 362 | ·······198:·invokestatic··#62·················//·Method·matchSingleVCardPrefixedField:(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
363 | ·······201:·astore········1 | 363 | ·······201:·astore········15 |
364 | ·······203:·ldc···········#85·················//·String·GEO | 364 | ·······203:·ldc···········#85·················//·String·GEO |
365 | ·······205:·astore_3 | 365 | ·······205:·astore_3 |
366 | ·······206:·iconst_1 | 366 | ·······206:·iconst_1 |
367 | ·······207:·istore········ | 367 | ·······207:·istore········7 |
368 | ·······209:·iload········· | 368 | ·······209:·iload·········7 |
369 | ·······211:·istore········ | 369 | ·······211:·istore········5 |
Max diff block lines reached; 4074/10652 bytes (38.25%) of diff not shown. |
Offset 172, 15 lines modified | Offset 172, 15 lines modified | ||
172 | ············n·=·c·-·48; | 172 | ············n·=·c·-·48; |
173 | ········} | 173 | ········} |
174 | ········return·n; | 174 | ········return·n; |
175 | ····} | 175 | ····} |
176 | ···· | 176 | ···· |
177 | ····private·static·int·vinPositionWeight(final·int·n)·{ | 177 | ····private·static·int·vinPositionWeight(final·int·n)·{ |
178 | ········int·n2·=·10; | 178 | ········int·n2·=·10; |
179 | ········if·(n·> | 179 | ········if·(n·>·0·&&·n·<=·7)·{ |
180 | ············n2·=·9·-·n; | 180 | ············n2·=·9·-·n; |
181 | ········} | 181 | ········} |
182 | ········else·if·(n·!=·8)·{ | 182 | ········else·if·(n·!=·8)·{ |
183 | ············if·(n·==·9)·{ | 183 | ············if·(n·==·9)·{ |
184 | ················n2·=·0; | 184 | ················n2·=·0; |
185 | ············} | 185 | ············} |
186 | ············else·{ | 186 | ············else·{ |
Offset 87, 15 lines modified | Offset 87, 15 lines modified | ||
87 | ········final·int·width·=·luminanceSource.getWidth(); | 87 | ········final·int·width·=·luminanceSource.getWidth(); |
88 | ········final·int·height·=·luminanceSource.getHeight(); | 88 | ········final·int·height·=·luminanceSource.getHeight(); |
89 | ········final·BitMatrix·bitMatrix·=·new·BitMatrix(width,·height); | 89 | ········final·BitMatrix·bitMatrix·=·new·BitMatrix(width,·height); |
90 | ········this.initArrays(width); | 90 | ········this.initArrays(width); |
91 | ········final·int[]·buckets·=·this.buckets; | 91 | ········final·int[]·buckets·=·this.buckets; |
92 | ········for·(int·i·=·1;·i·<·5;·++i)·{ | 92 | ········for·(int·i·=·1;·i·<·5;·++i)·{ |
93 | ············final·byte[]·row·=·luminanceSource.getRow(height·*·i·/·5,·this.luminances); | 93 | ············final·byte[]·row·=·luminanceSource.getRow(height·*·i·/·5,·this.luminances); |
94 | ············for·(int·n·=·width· | 94 | ············for·(int·n·=·(width·<<·2)·/·5,·j·=·width·/·5;·j·<·n;·++j)·{ |
95 | ················final·int·n2·=·(row[j]·&·0xFF)·>>·3; | 95 | ················final·int·n2·=·(row[j]·&·0xFF)·>>·3; |
96 | ················++buckets[n2]; | 96 | ················++buckets[n2]; |
97 | ············} | 97 | ············} |
98 | ········} | 98 | ········} |
99 | ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets); | 99 | ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets); |
100 | ········final·byte[]·matrix·=·luminanceSource.getMatrix(); | 100 | ········final·byte[]·matrix·=·luminanceSource.getMatrix(); |
101 | ········for·(int·k·=·0;·k·<·height;·++k)·{ | 101 | ········for·(int·k·=·0;·k·<·height;·++k)·{ |
Offset 122, 20 lines modified | Offset 122, 29 lines modified | ||
122 | ········final·byte[]·row·=·luminanceSource.getRow(n,·this.luminances); | 122 | ········final·byte[]·row·=·luminanceSource.getRow(n,·this.luminances); |
123 | ········final·int[]·buckets·=·this.buckets; | 123 | ········final·int[]·buckets·=·this.buckets; |
124 | ········for·(int·i·=·0;·i·<·width;·++i)·{ | 124 | ········for·(int·i·=·0;·i·<·width;·++i)·{ |
125 | ············final·int·n2·=·(row[i]·&·0xFF)·>>·3; | 125 | ············final·int·n2·=·(row[i]·&·0xFF)·>>·3; |
126 | ············++buckets[n2]; | 126 | ············++buckets[n2]; |
127 | ········} | 127 | ········} |
128 | ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets); | 128 | ········final·int·estimateBlackPoint·=·estimateBlackPoint(buckets); |
129 | ········if·(width·<·3)·{ | ||
129 | ········int·n3·=·row[0]·&·0xFF; | ||
130 | ········int·n4·=·row[1]·&·0xFF; | ||
131 | ········for·(int·j·=· | 130 | ············for·(int·j·=·0;·j·<·width;·++j)·{ |
131 | ················if·((row[j]·&·0xFF)·<·estimateBlackPoint)·{ | ||
132 | ············final·int·n5·=·row[j·+·1]·&·0xFF; | ||
133 | ············if·((n4·*·4·-·n3·-·n5)·/·2·<·estimateBlackPoint)·{ | ||
134 | ················bitArray.set(j); | 132 | ····················bitArray.set(j); |
133 | ················} | ||
134 | ············} | ||
135 | ········} | ||
136 | ········else·{ | ||
137 | ············int·n3·=·row[0]·&·0xFF; | ||
138 | ············int·n4·=·row[1]·&·0xFF; | ||
139 | ············for·(int·k·=·1;·k·<·width·-·1;·++k)·{ | ||
140 | ················final·int·n5·=·row[k·+·1]·&·0xFF; | ||
141 | ················if·(((n4·<<·2)·-·n3·-·n5)·/·2·<·estimateBlackPoint)·{ | ||
142 | ····················bitArray.set(k); | ||
143 | ················} | ||
144 | ················n3·=·n4; | ||
145 | ················n4·=·n5; | ||
135 | ············} | 146 | ············} |
136 | ············n3·=·n4; | ||
137 | ············n4·=·n5; | ||
138 | ········} | 147 | ········} |
139 | ········return·bitArray; | 148 | ········return·bitArray; |
140 | ····} | 149 | ····} |
141 | } | 150 | } |
Offset 27, 36 lines modified | Offset 27, 37 lines modified | ||
27 | ····} | 27 | ····} |
28 | ···· | 28 | ···· |
29 | ····public·DataMatrixReader()·{ | 29 | ····public·DataMatrixReader()·{ |
30 | ········this.decoder·=·new·Decoder(); | 30 | ········this.decoder·=·new·Decoder(); |
31 | ····} | 31 | ····} |
32 | ···· | 32 | ···· |
33 | ····private·static·BitMatrix·extractPureBits(final·BitMatrix·bitMatrix)·{ | 33 | ····private·static·BitMatrix·extractPureBits(final·BitMatrix·bitMatrix)·{ |
34 | ········final·int·n·=·1; | ||
34 | ········final·int[]·topLeftOnBit·=·bitMatrix.getTopLeftOnBit(); | 35 | ········final·int[]·topLeftOnBit·=·bitMatrix.getTopLeftOnBit(); |
35 | ········final·int[]·bottomRightOnBit·=·bitMatrix.getBottomRightOnBit(); | 36 | ········final·int[]·bottomRightOnBit·=·bitMatrix.getBottomRightOnBit(); |
36 | ········if·(topLeftOnBit·==·null·||·bottomRightOnBit·==·null)·{ | 37 | ········if·(topLeftOnBit·==·null·||·bottomRightOnBit·==·null)·{ |
37 | ············throw·NotFoundException.getNotFoundInstance(); | 38 | ············throw·NotFoundException.getNotFoundInstance(); |
38 | ········} | 39 | ········} |
39 | ········final·int·moduleSize·=·moduleSize(topLeftOnBit,·bitMatrix); | 40 | ········final·int·moduleSize·=·moduleSize(topLeftOnBit,·bitMatrix); |
40 | ········final·int·n·=·topLeftOnBit[ | 41 | ········final·int·n2·=·topLeftOnBit[n]; |
41 | ········final·int·n | 42 | ········final·int·n3·=·bottomRightOnBit[n]; |
42 | ········final·int·n | 43 | ········final·int·n4·=·topLeftOnBit[0]; |
43 | ········final·int·n | 44 | ········final·int·n5·=·(bottomRightOnBit[0]·-·n4·+·1)·/·moduleSize; |
44 | ········final·int·n | 45 | ········final·int·n6·=·(n3·-·n2·+·1)·/·moduleSize; |
45 | ········if·(n | 46 | ········if·(n5·<=·0·||·n6·<=·0)·{ |
46 | ············throw·NotFoundException.getNotFoundInstance(); | 47 | ············throw·NotFoundException.getNotFoundInstance(); |
47 | ········} | 48 | ········} |
48 | ········final·int·n | 49 | ········final·int·n7·=·moduleSize·/·2; |
49 | ········final·int·n7·=·n·+·n6; | ||
50 | ········final·int·n8·=·n | 50 | ········final·int·n8·=·n2·+·n7; |
51 | ········final·int·n9·=·n4·+·n7; | ||
51 | ········final·BitMatrix·bitMatrix2·=·new·BitMatrix(n | 52 | ········final·BitMatrix·bitMatrix2·=·new·BitMatrix(n5,·n6); |
52 | ········for·(int·i·=·0;·i·<·n | 53 | ········for·(int·i·=·0;·i·<·n6;·++i)·{ |
53 | ············final·int·n | 54 | ············final·int·n10·=·n8·+·i·*·moduleSize; |
54 | ············for·(int·j·=·0;·j·<·n | 55 | ············for·(int·j·=·0;·j·<·n5;·++j)·{ |
55 | ················if·(bitMatrix.get(j·*·moduleSize·+·n | 56 | ················if·(bitMatrix.get(j·*·moduleSize·+·n9,·n10))·{ |
56 | ····················bitMatrix2.set(j,·i); | 57 | ····················bitMatrix2.set(j,·i); |
57 | ················} | 58 | ················} |
58 | ············} | 59 | ············} |
59 | ········} | 60 | ········} |
60 | ········return·bitMatrix2; | 61 | ········return·bitMatrix2; |
61 | ····} | 62 | ····} |
62 | ···· | 63 | ···· |
Offset 12, 43 lines modified | Offset 12, 42 lines modified | ||
12 | ········else·{ | 12 | ········else·{ |
13 | ············c2·=·(char)(n2·-·256); | 13 | ············c2·=·(char)(n2·-·256); |
14 | ········} | 14 | ········} |
15 | ········return·c2; | 15 | ········return·c2; |
16 | ····} | 16 | ····} |
17 | ···· | 17 | ···· |
18 | ····public·void·encode(final·EncoderContext·encoderContext)·{ | 18 | ····public·void·encode(final·EncoderContext·encoderContext)·{ |
19 | ········final·int·n·=·249; | ||
20 | ········final·int·offset·=·1; | 19 | ········final·int·offset·=·1; |
21 | ········final·StringBuilder·sb·=·new·StringBuilder(); | 20 | ········final·StringBuilder·sb·=·new·StringBuilder(); |
22 | ········sb.append('\0'); | 21 | ········sb.append('\0'); |
23 | ········while·(encoderContext.hasMoreCharacters())·{ | 22 | ········while·(encoderContext.hasMoreCharacters())·{ |
24 | ············sb.append(encoderContext.getCurrentChar()); | 23 | ············sb.append(encoderContext.getCurrentChar()); |
25 | ············++encoderContext.pos; | 24 | ············++encoderContext.pos; |
26 | ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode()); | 25 | ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode()); |
27 | ············if·(lookAheadTest·!=·this.getEncodingMode())·{ | 26 | ············if·(lookAheadTest·!=·this.getEncodingMode())·{ |
28 | ················encoderContext.signalEncoderChange(lookAheadTest); | 27 | ················encoderContext.signalEncoderChange(lookAheadTest); |
29 | ················break; | 28 | ················break; |
30 | ············} | 29 | ············} |
31 | ········} | 30 | ········} |
32 | ········final·int·i·=·sb.length()·-·1; | 31 | ········final·int·i·=·sb.length()·-·1; |
33 | ········final·int·n | 32 | ········final·int·n·=·encoderContext.getCodewordCount()·+·i·+·1; |
34 | ········encoderContext.updateSymbolInfo(n | 33 | ········encoderContext.updateSymbolInfo(n); |
35 | ········int·n | 34 | ········int·n2; |
36 | ········if·(encoderContext.getSymbolInfo().getDataCapacity()·-·n | 35 | ········if·(encoderContext.getSymbolInfo().getDataCapacity()·-·n·>·0)·{ |
37 | ············n | 36 | ············n2·=·offset; |
38 | ········} | 37 | ········} |
39 | ········else·{ | 38 | ········else·{ |
40 | ············n | 39 | ············n2·=·0; |
41 | ········} | 40 | ········} |
42 | ········if·(encoderContext.hasMoreCharacters()·||·n | 41 | ········if·(encoderContext.hasMoreCharacters()·||·n2·!=·0)·{ |
43 | ············if·(i·<=· | 42 | ············if·(i·<=·249)·{ |
44 | ················sb.setCharAt(0,·(char)i); | 43 | ················sb.setCharAt(0,·(char)i); |
45 | ············} | 44 | ············} |
46 | ············else·{ | 45 | ············else·{ |
47 | ················if·(i· | 46 | ················if·(i·>·1555)·{ |
48 | ····················throw·new·IllegalStateException("Message·length·not·in·valid·ranges:·"·+·i); | 47 | ····················throw·new·IllegalStateException("Message·length·not·in·valid·ranges:·"·+·i); |
49 | ················} | 48 | ················} |
50 | ················sb.setCharAt(0,·(char)(i·/·250·+·249)); | 49 | ················sb.setCharAt(0,·(char)(i·/·250·+·249)); |
51 | ················sb.insert(offset,·(char)(i·%·250)); | 50 | ················sb.insert(offset,·(char)(i·%·250)); |
52 | ············} | 51 | ············} |
53 | ········} | 52 | ········} |
54 | ········for·(int·j·=·0;·j·<·sb.length();·++j)·{ | 53 | ········for·(int·j·=·0;·j·<·sb.length();·++j)·{ |
Offset 19, 29 lines modified | Offset 19, 32 lines modified | ||
19 | ···· | 19 | ···· |
20 | ····static·void·writeNextTriplet(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{ | 20 | ····static·void·writeNextTriplet(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{ |
21 | ········encoderContext.writeCodewords(encodeToCodewords((CharSequence)sb,·0)); | 21 | ········encoderContext.writeCodewords(encodeToCodewords((CharSequence)sb,·0)); |
22 | ········sb.delete(0,·3); | 22 | ········sb.delete(0,·3); |
23 | ····} | 23 | ····} |
24 | ···· | 24 | ···· |
25 | ····public·void·encode(final·EncoderContext·encoderContext)·{ | 25 | ····public·void·encode(final·EncoderContext·encoderContext)·{ |
26 | ········final·int·n·=·3; | ||
27 | ········final·int·n2·=·1; | ||
28 | ········final·int·n3·=·2; | ||
26 | ········final·StringBuilder·sb·=·new·StringBuilder(); | 29 | ········final·StringBuilder·sb·=·new·StringBuilder(); |
27 | ········while·(encoderContext.hasMoreCharacters())·{ | 30 | ········while·(encoderContext.hasMoreCharacters())·{ |
28 | ············final·char·currentChar·=·encoderContext.getCurrentChar(); | 31 | ············final·char·currentChar·=·encoderContext.getCurrentChar(); |
29 | ············++encoderContext.pos; | 32 | ············++encoderContext.pos; |
30 | ············int·n·=·this.encodeChar(currentChar,·sb); | 33 | ············int·n4·=·this.encodeChar(currentChar,·sb); |
31 | ············final·int·n | 34 | ············final·int·n5·=·encoderContext.getCodewordCount()·+·(sb.length()·/·3·<<·1); |
32 | ············encoderContext.updateSymbolInfo(n | 35 | ············encoderContext.updateSymbolInfo(n5); |
33 | ············final·int·n | 36 | ············final·int·n6·=·encoderContext.getSymbolInfo().getDataCapacity()·-·n5; |
34 | ············if·(!encoderContext.hasMoreCharacters())·{ | 37 | ············if·(!encoderContext.hasMoreCharacters())·{ |
35 | ················final·StringBuilder·sb2·=·new·StringBuilder(); | 38 | ················final·StringBuilder·sb2·=·new·StringBuilder(); |
36 | ················if·(sb.length()·%·3·==· | 39 | ················if·(sb.length()·%·3·==·n3·&&·(n6·<·n3·||·n6·>·n3))·{ |
37 | ····················n·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n); | 40 | ····················n4·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n4); |
38 | ················} | 41 | ················} |
39 | ················while·(sb.length()·%·3·==· | 42 | ················while·(sb.length()·%·3·==·n2·&&·((n4·<=·n·&&·n6·!=·n2)·||·n4·>·n))·{ |
40 | ····················n·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n); | 43 | ····················n4·=·this.backtrackOneCharacter(encoderContext,·sb,·sb2,·n4); |
41 | ················} | 44 | ················} |
42 | ················break; | 45 | ················break; |
43 | ············} | 46 | ············} |
44 | ············if·(sb.length()·%·3·!=·0)·{ | 47 | ············if·(sb.length()·%·3·!=·0)·{ |
45 | ················continue; | 48 | ················continue; |
46 | ············} | 49 | ············} |
47 | ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode()); | 50 | ············final·int·lookAheadTest·=·HighLevelEncoder.lookAheadTest((CharSequence)encoderContext.getMessage(),·encoderContext.pos,·this.getEncodingMode()); |
Offset 91, 28 lines modified | Offset 94, 28 lines modified | ||
91 | ············c3·=·c2; | 94 | ············c3·=·c2; |
92 | ········} | 95 | ········} |
93 | ········else·{ | 96 | ········else·{ |
94 | ············if·(c·<·'\u0080')·{ | 97 | ············if·(c·<·'\u0080')·{ |
95 | ················throw·new·IllegalArgumentException("Illegal·character:·"·+·c); | 98 | ················throw·new·IllegalArgumentException("Illegal·character:·"·+·c); |
96 | ············} | 99 | ············} |
97 | ············sb.append("\u0001\u001e"); | 100 | ············sb.append("\u0001\u001e"); |
98 | ············c3·=· | 101 | ············c3·=·this.encodeChar((char)(c·-·128),·sb)·+·2; |
99 | ········} | 102 | ········} |
100 | ········return·c3; | 103 | ········return·c3; |
101 | ····} | 104 | ····} |
102 | ···· | 105 | ···· |
103 | ····public·int·getEncodingMode()·{ | 106 | ····public·int·getEncodingMode()·{ |
104 | ········return·1; | 107 | ········return·1; |
105 | ····} | 108 | ····} |
106 | ···· | 109 | ···· |
107 | ····void·handleEOD(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{ | 110 | ····void·handleEOD(final·EncoderContext·encoderContext,·final·StringBuilder·sb)·{ |
108 | ········final·int·n·=·1; | 111 | ········final·int·n·=·1; |
109 | ········final·char·c·=·'\u00fe'; | 112 | ········final·char·c·=·'\u00fe'; |
110 | ········final·int·n2·=·3; | 113 | ········final·int·n2·=·3; |
111 | ········final·int·n3·=·sb.length()·/·3· | 114 | ········final·int·n3·=·sb.length()·/·3·<<·1; |
112 | ········final·int·n4·=·sb.length()·%·3; | 115 | ········final·int·n4·=·sb.length()·%·3; |
113 | ········final·int·n5·=·encoderContext.getCodewordCount()·+·n3; | 116 | ········final·int·n5·=·encoderContext.getCodewordCount()·+·n3; |
114 | ········encoderContext.updateSymbolInfo(n5); | 117 | ········encoderContext.updateSymbolInfo(n5); |
115 | ········final·int·n6·=·encoderContext.getSymbolInfo().getDataCapacity()·-·n5; | 118 | ········final·int·n6·=·encoderContext.getSymbolInfo().getDataCapacity()·-·n5; |
116 | ········if·(n4·==·2)·{ | 119 | ········if·(n4·==·2)·{ |
117 | ············sb.append('\0'); | 120 | ············sb.append('\0'); |
118 | ············while·(sb.length()·>=·n2)·{ | 121 | ············while·(sb.length()·>=·n2)·{ |
Offset 328, 44 lines modified | Offset 328, 44 lines modified | ||
328 | ········29:·astore········5 | 328 | ········29:·astore········5 |
329 | ········31:·aload_0 | 329 | ········31:·aload_0 |
330 | ········32:·getfield······#29·················//·Field·decoder:Lcom/google/zxing/maxicode/decoder/Decoder; | 330 | ········32:·getfield······#29·················//·Field·decoder:Lcom/google/zxing/maxicode/decoder/Decoder; |
331 | ········35:·aload·········5 | 331 | ········35:·aload·········5 |
332 | ········37:·aload_2 | 332 | ········37:·aload_2 |
333 | ········38:·invokevirtual·#85·················//·Method·com/google/zxing/maxicode/decoder/Decoder.decode:(Lcom/google/zxing/common/BitMatrix;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult; | 333 | ········38:·invokevirtual·#85·················//·Method·com/google/zxing/maxicode/decoder/Decoder.decode:(Lcom/google/zxing/common/BitMatrix;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult; |
334 | ········41:·astore········6 | 334 | ········41:·astore········6 |
335 | ········43:· | 335 | ········43:·new···········#87·················//·class·com/google/zxing/Result |
336 | ········46:·astore········7 | 336 | ········46:·astore········7 |
337 | ········48:·new···········#87·················//·class·com/google/zxing/Result | ||
338 | ········51:·astore········8 | ||
339 | ········ | 337 | ········48:·aload·········6 |
340 | ········5 | 338 | ········50:·invokevirtual·#93·················//·Method·com/google/zxing/common/DecoderResult.getText:()Ljava/lang/String; |
341 | ········5 | 339 | ········53:·astore_3 |
342 | ········5 | 340 | ········54:·aload·········6 |
343 | ········ | 341 | ········56:·invokevirtual·#97·················//·Method·com/google/zxing/common/DecoderResult.getRawBytes:()[B |
342 | ········59:·astore········8 | ||
343 | ········61:·getstatic·····#20·················//·Field·NO_POINTS:[Lcom/google/zxing/ResultPoint; | ||
344 | ········64:·astore········9 | 344 | ········64:·astore········9 |
345 | ········66:·getstatic·····#103················//·Field·com/google/zxing/BarcodeFormat.MAXICODE:Lcom/google/zxing/BarcodeFormat; | 345 | ········66:·getstatic·····#103················//·Field·com/google/zxing/BarcodeFormat.MAXICODE:Lcom/google/zxing/BarcodeFormat; |
346 | ········69:·astore········10 | 346 | ········69:·astore········10 |
347 | ········71:·aload········· | 347 | ········71:·aload·········7 |
348 | ········73:·aload_3 | 348 | ········73:·aload_3 |
349 | ········74:·aload········· | 349 | ········74:·aload·········8 |
350 | ········76:·aload········· | 350 | ········76:·aload·········9 |
351 | ········78:·aload·········10 | 351 | ········78:·aload·········10 |
352 | ········80:·invokespecial·#106················//·Method·com/google/zxing/Result."<init>":(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V | 352 | ········80:·invokespecial·#106················//·Method·com/google/zxing/Result."<init>":(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V |
353 | ········83:·aload·········6 | 353 | ········83:·aload·········6 |
354 | ········85:·invokevirtual·#109················//·Method·com/google/zxing/common/DecoderResult.getECLevel:()Ljava/lang/String; | 354 | ········85:·invokevirtual·#109················//·Method·com/google/zxing/common/DecoderResult.getECLevel:()Ljava/lang/String; |
355 | ········88:·astore········11 | 355 | ········88:·astore········11 |
356 | ········90:·aload·········11 | 356 | ········90:·aload·········11 |
357 | ········92:·ifnull········107 | 357 | ········92:·ifnull········107 |
358 | ········95:·getstatic·····#115················//·Field·com/google/zxing/ResultMetadataType.ERROR_CORRECTION_LEVEL:Lcom/google/zxing/ResultMetadataType; | 358 | ········95:·getstatic·····#115················//·Field·com/google/zxing/ResultMetadataType.ERROR_CORRECTION_LEVEL:Lcom/google/zxing/ResultMetadataType; |
359 | ········98:·astore_3 | 359 | ········98:·astore_3 |
360 | ········99:·aload········· | 360 | ········99:·aload·········7 |
361 | ·······101:·aload_3 | 361 | ·······101:·aload_3 |
362 | ·······102:·aload·········11 | 362 | ·······102:·aload·········11 |
363 | ·······104:·invokevirtual·#119················//·Method·com/google/zxing/Result.putMetadata:(Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;)V | 363 | ·······104:·invokevirtual·#119················//·Method·com/google/zxing/Result.putMetadata:(Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;)V |
364 | ·······107:·aload········· | 364 | ·······107:·aload·········7 |
365 | ·······109:·areturn | 365 | ·······109:·areturn |
366 | ·······110:·invokestatic··#43·················//·Method·com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException; | 366 | ·······110:·invokestatic··#43·················//·Method·com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException; |
367 | ·······113:·athrow | 367 | ·······113:·athrow |
368 | ··public·void·reset(); | 368 | ··public·void·reset(); |
369 | ····descriptor:·()V | 369 | ····descriptor:·()V |
370 | ····flags:·(0x0001)·ACC_PUBLIC | 370 | ····flags:·(0x0001)·ACC_PUBLIC |
Offset 20, 103 lines modified | Offset 20, 83 lines modified | ||
20 | ···· | 20 | ···· |
21 | ····public·GenericMultipleBarcodeReader(final·Reader·delegate)·{ | 21 | ····public·GenericMultipleBarcodeReader(final·Reader·delegate)·{ |
22 | ········this.delegate·=·delegate; | 22 | ········this.delegate·=·delegate; |
23 | ····} | 23 | ····} |
24 | ···· | 24 | ···· |
25 | ····private·void·doDecodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map,·final·List·list,·final·int·n,·final·int·n2,·final·int·n3)·{ | 25 | ····private·void·doDecodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map,·final·List·list,·final·int·n,·final·int·n2,·final·int·n3)·{ |
26 | ········if·(n3·<=·4)·{ | 26 | ········if·(n3·<=·4)·{ |
27 | ············try·{ | ||
27 | ············int·width; | ||
28 | ············int·height; | ||
29 | ············float·n4·=·0.0f; | ||
30 | ············float·n5·=·0.0f; | ||
31 | ············float·n6·=·0.0f; | ||
32 | ············float·n7·=·0.0f; | ||
33 | ············while·(true)·{ | ||
34 | ················while·(true)·{ | ||
35 | ····················ResultPoint·resultPoint·=·null; | ||
36 | ····················Label_0225:·{ | ||
37 | ························try·{ | ||
38 | ················ | 28 | ················final·Result·decode·=·this.delegate.decode(binaryBitmap,·map); |
39 | ················ | 29 | ················boolean·b·=·false; |
40 | ················ | 30 | ················final·Iterator<Result>·iterator·=·list.iterator(); |
41 | ················ | 31 | ················while·(iterator.hasNext())·{ |
42 | ···················· | 32 | ····················if·(((Result)iterator.next()).getText().equals(decode.getText()))·{ |
43 | ························ | 33 | ························b·=·true; |
44 | ························ | 34 | ························break; |
35 | ····················} | ||
36 | ················} | ||
37 | ················if·(!b)·{ | ||
38 | ····················list.add(translateResultPoints(decode,·n,·n2)); | ||
39 | ················} | ||
40 | ················final·ResultPoint[]·resultPoints·=·decode.getResultPoints(); | ||
41 | ················if·(resultPoints·!=·null·&&·resultPoints.length·!=·0)·{ | ||
42 | ····················final·int·width·=·binaryBitmap.getWidth(); | ||
43 | ····················final·int·height·=·binaryBitmap.getHeight(); | ||
44 | ····················float·n4·=·(float)width; | ||
45 | ····················float·n5·=·(float)height; | ||
46 | ····················float·n6·=·0.0f; | ||
47 | ····················float·n7·=·0.0f; | ||
48 | ····················for·(int·length·=·resultPoints.length,·i·=·0;·i·<·length;·++i)·{ | ||
49 | ························final·ResultPoint·resultPoint·=·resultPoints[i]; | ||
50 | ························if·(resultPoint·!=·null)·{ | ||
51 | ····························final·float·x·=·resultPoint.getX(); | ||
52 | ····························final·float·y·=·resultPoint.getY(); | ||
53 | ····························if·(x·<·n4)·{ | ||
45 | ································ | 54 | ································n4·=·x; |
46 | ····························} | 55 | ····························} |
47 | ····························if·( | 56 | ····························if·(y·<·n5)·{ |
48 | ································ | 57 | ································n5·=·y; |
49 | ····························} | 58 | ····························} |
59 | ····························if·(x·>·n6)·{ | ||
50 | ····························final·ResultPoint[]·resultPoints·=·decode.getResultPoints(); | ||
51 | ····························if·(resultPoints·!=·null·&&·resultPoints.length·!=·0)·{ | ||
52 | ································width·=·binaryBitmap.getWidth(); | ||
53 | ································height·=·binaryBitmap.getHeight(); | ||
54 | ································n4·=·(float)width; | ||
55 | ································n5·=·(float)height; | ||
56 | ································n6·=· | 60 | ································n6·=·x; |
61 | ····························} | ||
62 | ····························if·(y·>·n7)·{ | ||
57 | ································n7·=· | 63 | ································n7·=·y; |
58 | ································for·(int·length·=·resultPoints.length,·i·=·0;·i·<·length;·++i)·{ | ||
59 | ····································resultPoint·=·resultPoints[i]; | ||
60 | ····································if·(resultPoint·!=·null)·{ | ||
61 | ········································break·Label_0225; | ||
62 | ····································} | ||
63 | ································} | ||
64 | ································break; | ||
65 | ····························} | 64 | ····························} |
66 | ····························return; | ||
67 | ························} | ||
68 | ························catch·(ReaderException·ex)·{ | ||
69 | ····························return; | ||
70 | ························} | 65 | ························} |
71 | ····················} | 66 | ····················} |
72 | ····················final·float·x·=·resultPoint.getX(); | ||
73 | ····················final·float·y·=·resultPoint.getY(); | ||
74 | ····················if·( | 67 | ····················if·(n4·>·100.0f)·{ |
75 | ························n4· | 68 | ························this.doDecodeMultiple(binaryBitmap.crop(0,·0,·(int)n4,·height),·map,·list,·n,·n2,·n3·+·1); |
76 | ····················} | 69 | ····················} |
77 | ····················if·( | 70 | ····················if·(n5·>·100.0f)·{ |
78 | ························n5· | 71 | ························this.doDecodeMultiple(binaryBitmap.crop(0,·0,·width,·(int)n5),·map,·list,·n,·n2,·n3·+·1); |
79 | ····················} | 72 | ····················} |
80 | ····················if·( | 73 | ····················if·(n6·<·width·-·100)·{ |
81 | ························n6· | 74 | ························this.doDecodeMultiple(binaryBitmap.crop((int)n6,·0,·width·-·(int)n6,·height),·map,·list,·n·+·(int)n6,·n2,·n3·+·1); |
82 | ····················} | 75 | ····················} |
83 | ····················if·( | 76 | ····················if·(n7·<·height·-·100)·{ |
77 | ························this.doDecodeMultiple(binaryBitmap.crop(0,·(int)n7,·width,·height·-·(int)n7),·map,·list,·n,·n2·+·(int)n7,·n3·+·1); | ||
84 | ························n7·=·y; | ||
85 | ························continue; | ||
86 | ····················} | 78 | ····················} |
87 | ····················continue; | ||
88 | ················} | 79 | ················} |
89 | ············} | 80 | ············} |
81 | ············catch·(ReaderException·ex)·{} | ||
90 | ············if·(n4·>·100.0f)·{ | ||
91 | ················this.doDecodeMultiple(binaryBitmap.crop(0,·0,·(int)n4,·height),·map,·list,·n,·n2,·n3·+·1); | ||
92 | ············} | ||
93 | ············if·(n5·>·100.0f)·{ | ||
94 | ················this.doDecodeMultiple(binaryBitmap.crop(0,·0,·width,·(int)n5),·map,·list,·n,·n2,·n3·+·1); | ||
95 | ············} | ||
96 | ············if·(n6·<·width·-·100)·{ | ||
97 | ················this.doDecodeMultiple(binaryBitmap.crop((int)n6,·0,·width·-·(int)n6,·height),·map,·list,·n·+·(int)n6,·n2,·n3·+·1); | ||
98 | ············} | ||
99 | ············if·(n7·<·height·-·100)·{ | ||
100 | ················this.doDecodeMultiple(binaryBitmap.crop(0,·(int)n7,·width,·height·-·(int)n7),·map,·list,·n,·n2·+·(int)n7,·n3·+·1); | ||
101 | ············} | ||
102 | ········} | 82 | ········} |
103 | ····} | 83 | ····} |
104 | ···· | 84 | ···· |
105 | ····private·static·Result·translateResultPoints(Result·result,·final·int·n,·final·int·n2)·{ | 85 | ····private·static·Result·translateResultPoints(Result·result,·final·int·n,·final·int·n2)·{ |
106 | ········final·ResultPoint[]·resultPoints·=·result.getResultPoints(); | 86 | ········final·ResultPoint[]·resultPoints·=·result.getResultPoints(); |
107 | ········if·(resultPoints·!=·null)·{ | 87 | ········if·(resultPoints·!=·null)·{ |
108 | ············final·ResultPoint[]·array·=·new·ResultPoint[resultPoints.length]; | 88 | ············final·ResultPoint[]·array·=·new·ResultPoint[resultPoints.length]; |
109 | ············for·(int·i·=·0;·i·<·resultPoints.length;·++i)·{ | 89 | ············for·(int·i·=·0;·i·<·resultPoints.length;·++i)·{ |
110 | ················final·ResultPoint·resultPoint·=·resultPoints[i]; | 90 | ················final·ResultPoint·resultPoint·=·resultPoints[i]; |
111 | ················if·(resultPoint·!=·null)·{ | 91 | ················if·(resultPoint·!=·null)·{ |
112 | ····················array[i]·=·new·ResultPoint(resultPoint.getX()·+·n,·resultPoint.getY()·+·n2); | 92 | ····················array[i]·=·new·ResultPoint(resultPoint.getX()·+·n,·resultPoint.getY()·+·n2); |
113 | ················} | 93 | ················} |
114 | ············} | 94 | ············} |
115 | ············final·Result·result2·=·new·Result(result.getText(),·result.getRawBytes(),·array,·result.getBarcodeFormat()); | 95 | ············final·Result·result2·=·new·Result(result.getText(),·result.getRawBytes(),·result.getNumBits(),·array,·result.getBarcodeFormat(),·result.getTimestamp()); |
116 | ············result2.putAllMetadata(result.getResultMetadata()); | 96 | ············result2.putAllMetadata(result.getResultMetadata()); |
117 | ············result·=·result2; | 97 | ············result·=·result2; |
118 | ········} | 98 | ········} |
119 | ········return·result; | 99 | ········return·result; |
120 | ····} | 100 | ····} |
121 | ···· | 101 | ···· |
Max diff block lines reached; 0/7364 bytes (0.00%) of diff not shown. |
Offset 48, 23 lines modified | Offset 48, 23 lines modified | ||
48 | ················} | 48 | ················} |
49 | ················final·FinderPatternInfo·finderPatternInfo·=·multi[n]; | 49 | ················final·FinderPatternInfo·finderPatternInfo·=·multi[n]; |
50 | ················while·(true)·{ | 50 | ················while·(true)·{ |
51 | ····················try·{ | 51 | ····················try·{ |
52 | ························list.add(this.processFinderPatternInfo(finderPatternInfo)); | 52 | ························list.add(this.processFinderPatternInfo(finderPatternInfo)); |
53 | ························++n; | 53 | ························++n; |
54 | ························continue·Label_0122_Outer; | 54 | ························continue·Label_0122_Outer; |
55 | ························n·=·(list.isEmpty()·?·1·:·0); | ||
56 | ························//·iftrue(Label_0153:,·n·==·0) | ||
57 | ························return·MultiDetector.EMPTY_DETECTOR_RESULTS; | ||
58 | ························Label_0153:·{ | 55 | ························Label_0153:·{ |
59 | ····························n·=·list.size(); | 56 | ····························n·=·list.size(); |
60 | ························} | 57 | ························} |
61 | ························return·(DetectorResult[])list.toArray(new·DetectorResult[n]); | 58 | ························return·(DetectorResult[])list.toArray(new·DetectorResult[n]); |
62 | ························empty_DETECTOR_RESULTS·=·MultiDetector.EMPTY_DETECTOR_RESULTS; | 59 | ························empty_DETECTOR_RESULTS·=·MultiDetector.EMPTY_DETECTOR_RESULTS; |
63 | ························return·empty_DETECTOR_RESULTS; | 60 | ························return·empty_DETECTOR_RESULTS; |
61 | ························n·=·(list.isEmpty()·?·1·:·0); | ||
62 | ························//·iftrue(Label_0153:,·n·==·0) | ||
63 | ························return·MultiDetector.EMPTY_DETECTOR_RESULTS; | ||
64 | ····················} | 64 | ····················} |
65 | ····················catch·(ReaderException·ex)·{ | 65 | ····················catch·(ReaderException·ex)·{ |
66 | ························continue; | 66 | ························continue; |
67 | ····················} | 67 | ····················} |
68 | ····················break; | 68 | ····················break; |
69 | ················} | 69 | ················} |
70 | ············} | 70 | ············} |
Offset 53, 19 lines modified | Offset 53, 16 lines modified | ||
53 | ········if·(s.isEmpty())·{ | 53 | ········if·(s.isEmpty())·{ |
54 | ············throw·new·IllegalArgumentException("Found·empty·contents"); | 54 | ············throw·new·IllegalArgumentException("Found·empty·contents"); |
55 | ········} | 55 | ········} |
56 | ········if·(i·<·0·||·j·<·0)·{ | 56 | ········if·(i·<·0·||·j·<·0)·{ |
57 | ············throw·new·IllegalArgumentException("Negative·size·is·not·allowed.·Input:·"·+·i·+·'x'·+·j); | 57 | ············throw·new·IllegalArgumentException("Negative·size·is·not·allowed.·Input:·"·+·i·+·'x'·+·j); |
58 | ········} | 58 | ········} |
59 | ········int·n·=·this.getDefaultMargin(); | 59 | ········int·n·=·this.getDefaultMargin(); |
60 | ········if·(map·!=·null·&&·map.containsKey(EncodeHintType.MARGIN))·{ | ||
61 | ············n·=·Integer.parseInt(map.get(EncodeHintType.MARGIN).toString()); | ||
60 | ········if·(map·!=·null)·{ | ||
61 | ············final·Integer·n2·=·Integer.valueOf(map.get((Object)EncodeHintType.MARGIN)); | ||
62 | ············if·(n2·!=·null)·{ | ||
63 | ················n·=·n2; | ||
64 | ············} | ||
65 | ········} | 62 | ········} |
66 | ········return·renderResult(this.encode(s),·i,·j,·n); | 63 | ········return·renderResult(this.encode(s),·i,·j,·n); |
67 | ····} | 64 | ····} |
68 | ···· | 65 | ···· |
69 | ····public·abstract·boolean[]·encode(final·String·p0); | 66 | ····public·abstract·boolean[]·encode(final·String·p0); |
70 | ···· | 67 | ···· |
71 | ····public·int·getDefaultMargin()·{ | 68 | ····public·int·getDefaultMargin()·{ |
Offset 31, 15 lines modified | Offset 31, 15 lines modified | ||
31 | ················n2·+=·n4·*·n3; | 31 | ················n2·+=·n4·*·n3; |
32 | ············} | 32 | ············} |
33 | ············string·+=·(1000·-·n2)·%·10; | 33 | ············string·+=·(1000·-·n2)·%·10; |
34 | ········} | 34 | ········} |
35 | ········else·if·(length·!=·12)·{ | 35 | ········else·if·(length·!=·12)·{ |
36 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·11·or·12·digits·long,·but·got·"·+·string.length()); | 36 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·11·or·12·digits·long,·but·got·"·+·string.length()); |
37 | ········} | 37 | ········} |
38 | ········return· | 38 | ········return·"0"·+·string; |
39 | ····} | 39 | ····} |
40 | ···· | 40 | ···· |
41 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{ | 41 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·barcodeFormat,·final·int·n,·final·int·n2)·{ |
42 | ········return·this.encode(s,·barcodeFormat,·n,·n2,·null); | 42 | ········return·this.encode(s,·barcodeFormat,·n,·n2,·null); |
43 | ····} | 43 | ····} |
44 | ···· | 44 | ···· |
45 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{ | 45 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{ |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | package·com.google.zxing.oned.rss.expanded.decoders; | 1 | package·com.google.zxing.oned.rss.expanded.decoders; |
2 | import·com.google.zxing.common.BitArray; | 2 | import·com.google.zxing.common.BitArray; |
3 | abstract·class·AI01decoder·extends·AbstractExpandedDecoder | 3 | abstract·class·AI01decoder·extends·AbstractExpandedDecoder |
4 | { | 4 | { |
5 | ···· | 5 | ····static·final·int·GTIN_SIZE·=·40; |
6 | ···· | 6 | ···· |
7 | ····AI01decoder(final·BitArray·bitArray)·{ | 7 | ····AI01decoder(final·BitArray·bitArray)·{ |
8 | ········super(bitArray); | 8 | ········super(bitArray); |
9 | ····} | 9 | ····} |
10 | ···· | 10 | ···· |
11 | ····private·static·void·appendCheckDigit(final·StringBuilder·sb,·final·int·n)·{ | 11 | ····private·static·void·appendCheckDigit(final·StringBuilder·sb,·final·int·n)·{ |
12 | ········int·n2·=·0; | 12 | ········int·n2·=·0; |
Offset 23, 22 lines modified | Offset 23, 22 lines modified | ||
23 | ········int·j·=·10·-·n2·%·10; | 23 | ········int·j·=·10·-·n2·%·10; |
24 | ········if·(j·==·10)·{ | 24 | ········if·(j·==·10)·{ |
25 | ············j·=·0; | 25 | ············j·=·0; |
26 | ········} | 26 | ········} |
27 | ········sb.append(j); | 27 | ········sb.append(j); |
28 | ····} | 28 | ····} |
29 | ···· | 29 | ···· |
30 | ···· | 30 | ····final·void·encodeCompressedGtin(final·StringBuilder·sb,·final·int·n)·{ |
31 | ········sb.append("(01)"); | 31 | ········sb.append("(01)"); |
32 | ········final·int·length·=·sb.length(); | 32 | ········final·int·length·=·sb.length(); |
33 | ········sb.append('9'); | 33 | ········sb.append('9'); |
34 | ········this.encodeCompressedGtinWithoutAI(sb,·n,·length); | 34 | ········this.encodeCompressedGtinWithoutAI(sb,·n,·length); |
35 | ····} | 35 | ····} |
36 | ···· | 36 | ···· |
37 | ···· | 37 | ····final·void·encodeCompressedGtinWithoutAI(final·StringBuilder·sb,·final·int·n,·final·int·n2)·{ |
38 | ········final·char·c·=·'0'; | 38 | ········final·char·c·=·'0'; |
39 | ········for·(int·i·=·0;·i·<·4;·++i)·{ | 39 | ········for·(int·i·=·0;·i·<·4;·++i)·{ |
40 | ············final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(i·*·10·+·n,·10); | 40 | ············final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(i·*·10·+·n,·10); |
41 | ············if·(numericValueFromBitArray·/·100·==·0)·{ | 41 | ············if·(numericValueFromBitArray·/·100·==·0)·{ |
42 | ················sb.append(c); | 42 | ················sb.append(c); |
43 | ············} | 43 | ············} |
44 | ············if·(numericValueFromBitArray·/·10·==·0)·{ | 44 | ············if·(numericValueFromBitArray·/·10·==·0)·{ |
Offset 15, 16 lines modified | Offset 15, 15 lines modified | ||
15 | public·final·class·PDF417Writer·implements·Writer | 15 | public·final·class·PDF417Writer·implements·Writer |
16 | { | 16 | { |
17 | ····static·final·int·DEFAULT_ERROR_CORRECTION_LEVEL·=·2; | 17 | ····static·final·int·DEFAULT_ERROR_CORRECTION_LEVEL·=·2; |
18 | ····static·final·int·WHITE_SPACE·=·30; | 18 | ····static·final·int·WHITE_SPACE·=·30; |
19 | ···· | 19 | ···· |
20 | ····private·static·BitMatrix·bitMatrixFromEncoder(final·PDF417·pdf417,·final·String·s,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4)·{ | 20 | ····private·static·BitMatrix·bitMatrixFromEncoder(final·PDF417·pdf417,·final·String·s,·final·int·n,·final·int·n2,·final·int·n3,·final·int·n4)·{ |
21 | ········pdf417.generateBarcodeLogic(s,·n); | 21 | ········pdf417.generateBarcodeLogic(s,·n); |
22 | ········final·int·n5·=·4; | ||
23 | ········byte[][]·array·=·pdf417.getBarcodeMatrix().getScaledMatrix(1,· | 22 | ········byte[][]·array·=·pdf417.getBarcodeMatrix().getScaledMatrix(1,·4); |
24 | ········boolean·b·=·false; | 23 | ········boolean·b·=·false; |
25 | ········boolean·b2; | 24 | ········boolean·b2; |
26 | ········if·(n3·>·n2)·{ | 25 | ········if·(n3·>·n2)·{ |
27 | ············b2·=·true; | 26 | ············b2·=·true; |
28 | ········} | 27 | ········} |
29 | ········else·{ | 28 | ········else·{ |
30 | ············b2·=·false; | 29 | ············b2·=·false; |
Offset 36, 26 lines modified | Offset 35, 26 lines modified | ||
36 | ········else·{ | 35 | ········else·{ |
37 | ············b3·=·false; | 36 | ············b3·=·false; |
38 | ········} | 37 | ········} |
39 | ········if·(b2·^·b3)·{ | 38 | ········if·(b2·^·b3)·{ |
40 | ············array·=·rotateArray(array); | 39 | ············array·=·rotateArray(array); |
41 | ············b·=·true; | 40 | ············b·=·true; |
42 | ········} | 41 | ········} |
43 | ········final·int·n | 42 | ········final·int·n5·=·n2·/·array[0].length; |
44 | ········final·int·n | 43 | ········final·int·n6·=·n3·/·array.length; |
45 | ········int·n | 44 | ········int·n7; |
46 | ········if·(n | 45 | ········if·(n5·<·n6)·{ |
47 | ············n | 46 | ············n7·=·n5; |
48 | ········} | 47 | ········} |
49 | ········else·{ | 48 | ········else·{ |
50 | ············n | 49 | ············n7·=·n6; |
51 | ········} | 50 | ········} |
52 | ········BitMatrix·bitMatrix; | 51 | ········BitMatrix·bitMatrix; |
53 | ········if·(n | 52 | ········if·(n7·>·1)·{ |
54 | ············byte[][]·array2·=·pdf417.getBarcodeMatrix().getScaledMatrix(n | 53 | ············byte[][]·array2·=·pdf417.getBarcodeMatrix().getScaledMatrix(n7,·n7·<<·2); |
55 | ············if·(b)·{ | 54 | ············if·(b)·{ |
56 | ················array2·=·rotateArray(array2); | 55 | ················array2·=·rotateArray(array2); |
57 | ············} | 56 | ············} |
58 | ············bitMatrix·=·bitMatrixFrombitArray(array2,·n4); | 57 | ············bitMatrix·=·bitMatrixFrombitArray(array2,·n4); |
59 | ········} | 58 | ········} |
60 | ········else·{ | 59 | ········else·{ |
61 | ············bitMatrix·=·bitMatrixFrombitArray(array,·n4); | 60 | ············bitMatrix·=·bitMatrixFrombitArray(array,·n4); |
Offset 92, 33 lines modified | Offset 91, 33 lines modified | ||
92 | ····} | 91 | ····} |
93 | ···· | 92 | ···· |
94 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{ | 93 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{ |
95 | ········if·(obj·!=·BarcodeFormat.PDF_417)·{ | 94 | ········if·(obj·!=·BarcodeFormat.PDF_417)·{ |
96 | ············throw·new·IllegalArgumentException("Can·only·encode·PDF_417,·but·got·"·+·obj); | 95 | ············throw·new·IllegalArgumentException("Can·only·encode·PDF_417,·but·got·"·+·obj); |
97 | ········} | 96 | ········} |
98 | ········final·PDF417·pdf417·=·new·PDF417(); | 97 | ········final·PDF417·pdf417·=·new·PDF417(); |
99 | ········int·int | 98 | ········int·int1·=·30; |
100 | ········int·int | 99 | ········int·int2·=·2; |
101 | ········if·(map·!=·null)·{ | 100 | ········if·(map·!=·null)·{ |
102 | ············if·(map.containsKey(EncodeHintType.PDF417_COMPACT))·{ | 101 | ············if·(map.containsKey(EncodeHintType.PDF417_COMPACT))·{ |
103 | ················pdf417.setCompact((boolean)Boolean.valueOf(map.get( | 102 | ················pdf417.setCompact((boolean)Boolean.valueOf(map.get(EncodeHintType.PDF417_COMPACT).toString())); |
104 | ············} | 103 | ············} |
105 | ············if·(map.containsKey(EncodeHintType.PDF417_COMPACTION))·{ | 104 | ············if·(map.containsKey(EncodeHintType.PDF417_COMPACTION))·{ |
106 | ················pdf417.setCompaction( | 105 | ················pdf417.setCompaction(Compaction.valueOf(map.get(EncodeHintType.PDF417_COMPACTION).toString())); |
107 | ············} | 106 | ············} |
108 | ············if·(map.containsKey(EncodeHintType.PDF417_DIMENSIONS))·{ | 107 | ············if·(map.containsKey(EncodeHintType.PDF417_DIMENSIONS))·{ |
109 | ················final·Dimensions·dimensions·=·(Dimensions)map.get(EncodeHintType.PDF417_DIMENSIONS); | 108 | ················final·Dimensions·dimensions·=·(Dimensions)map.get(EncodeHintType.PDF417_DIMENSIONS); |
110 | ················pdf417.setDimensions(dimensions.getMaxCols(),·dimensions.getMinCols(),·dimensions.getMaxRows(),·dimensions.getMinRows()); | 109 | ················pdf417.setDimensions(dimensions.getMaxCols(),·dimensions.getMinCols(),·dimensions.getMaxRows(),·dimensions.getMinRows()); |
111 | ············} | 110 | ············} |
112 | ············if·(map.containsKey(EncodeHintType.MARGIN))·{ | 111 | ············if·(map.containsKey(EncodeHintType.MARGIN))·{ |
113 | ················int | 112 | ················int1·=·Integer.parseInt(map.get(EncodeHintType.MARGIN).toString()); |
114 | ············} | 113 | ············} |
115 | ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{ | 114 | ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{ |
116 | ················int | 115 | ················int2·=·Integer.parseInt(map.get(EncodeHintType.ERROR_CORRECTION).toString()); |
117 | ············} | 116 | ············} |
118 | ············if·(map.containsKey(EncodeHintType.CHARACTER_SET))·{ | 117 | ············if·(map.containsKey(EncodeHintType.CHARACTER_SET))·{ |
119 | ················pdf417.setEncoding(Charset.forName( | 118 | ················pdf417.setEncoding(Charset.forName(map.get(EncodeHintType.CHARACTER_SET).toString())); |
120 | ············} | 119 | ············} |
121 | ········} | 120 | ········} |
122 | ········return·bitMatrixFromEncoder(pdf417,·s,·int | 121 | ········return·bitMatrixFromEncoder(pdf417,·s,·int2,·n,·n2,·int1); |
123 | ····} | 122 | ····} |
124 | } | 123 | } |
Offset 1, 22 lines modified | Offset 1, 67 lines modified | ||
1 | package·com.google.zxing.pdf417.decoder; | 1 | package·com.google.zxing.pdf417.decoder; |
2 | import·com.google.zxing.FormatException; | ||
3 | import·com.google.zxing.ResultPoint; | 2 | import·com.google.zxing.ResultPoint; |
4 | final·class·DetectionResultRowIndicatorColumn·extends·DetectionResultColumn | 3 | final·class·DetectionResultRowIndicatorColumn·extends·DetectionResultColumn |
5 | { | 4 | { |
6 | ····private·final·boolean·isLeft; | 5 | ····private·final·boolean·isLeft; |
7 | ···· | 6 | ···· |
8 | ····DetectionResultRowIndicatorColumn(final·BoundingBox·boundingBox,·final·boolean·isLeft)·{ | 7 | ····DetectionResultRowIndicatorColumn(final·BoundingBox·boundingBox,·final·boolean·isLeft)·{ |
9 | ········super(boundingBox); | 8 | ········super(boundingBox); |
10 | ········this.isLeft·=·isLeft; | 9 | ········this.isLeft·=·isLeft; |
11 | ····} | 10 | ····} |
12 | ···· | 11 | ···· |
12 | ····private·void·adjustIncompleteIndicatorColumnRowNumbers(final·BarcodeMetadata·barcodeMetadata)·{ | ||
13 | ········final·BoundingBox·boundingBox·=·this.getBoundingBox(); | ||
14 | ········ResultPoint·resultPoint; | ||
15 | ········if·(this.isLeft)·{ | ||
16 | ············resultPoint·=·boundingBox.getTopLeft(); | ||
17 | ········} | ||
18 | ········else·{ | ||
19 | ············resultPoint·=·boundingBox.getTopRight(); | ||
20 | ········} | ||
21 | ········ResultPoint·resultPoint2; | ||
22 | ········if·(this.isLeft)·{ | ||
23 | ············resultPoint2·=·boundingBox.getBottomLeft(); | ||
24 | ········} | ||
25 | ········else·{ | ||
26 | ············resultPoint2·=·boundingBox.getBottomRight(); | ||
27 | ········} | ||
28 | ········final·int·imageRowToCodewordIndex·=·this.imageRowToCodewordIndex((int)resultPoint.getY()); | ||
29 | ········final·int·imageRowToCodewordIndex2·=·this.imageRowToCodewordIndex((int)resultPoint2.getY()); | ||
30 | ········final·Codeword[]·codewords·=·this.getCodewords(); | ||
31 | ········int·n·=·-1; | ||
32 | ········int·max·=·1; | ||
33 | ········int·b·=·0; | ||
34 | ········for·(int·i·=·imageRowToCodewordIndex;·i·<·imageRowToCodewordIndex2;·++i)·{ | ||
35 | ············if·(codewords[i]·!=·null)·{ | ||
36 | ················final·Codeword·codeword·=·codewords[i]; | ||
37 | ················codeword.setRowNumberAsRowIndicatorColumn(); | ||
38 | ················final·int·n2·=·codeword.getRowNumber()·-·n; | ||
39 | ················if·(n2·==·0)·{ | ||
40 | ····················++b; | ||
41 | ················} | ||
42 | ················else·if·(n2·==·1)·{ | ||
43 | ····················max·=·Math.max(max,·b); | ||
44 | ····················b·=·1; | ||
45 | ····················n·=·codeword.getRowNumber(); | ||
46 | ················} | ||
47 | ················else·if·(codeword.getRowNumber()·>=·barcodeMetadata.getRowCount())·{ | ||
48 | ····················codewords[i]·=·null; | ||
49 | ················} | ||
50 | ················else·{ | ||
51 | ····················n·=·codeword.getRowNumber(); | ||
52 | ····················b·=·1; | ||
53 | ················} | ||
54 | ············} | ||
55 | ········} | ||
56 | ····} | ||
57 | ···· | ||
13 | ····private·void·removeIncorrectCodewords(final·Codeword[]·array,·final·BarcodeMetadata·barcodeMetadata)·{ | 58 | ····private·void·removeIncorrectCodewords(final·Codeword[]·array,·final·BarcodeMetadata·barcodeMetadata)·{ |
14 | ········for·(int·i·=·0;·i·<·array.length;·++i)·{ | 59 | ········for·(int·i·=·0;·i·<·array.length;·++i)·{ |
15 | ············final·Codeword·codeword·=·array[i]; | 60 | ············final·Codeword·codeword·=·array[i]; |
16 | ············if·(array[i]·!=·null)·{ | 61 | ············if·(array[i]·!=·null)·{ |
17 | ················final·int·n·=·codeword.getValue()·%·30; | 62 | ················final·int·n·=·codeword.getValue()·%·30; |
18 | ················int·rowNumber·=·codeword.getRowNumber(); | 63 | ················int·rowNumber·=·codeword.getRowNumber(); |
19 | ················if·(rowNumber·>·barcodeMetadata.getRowCount())·{ | 64 | ················if·(rowNumber·>·barcodeMetadata.getRowCount())·{ |
Offset 50, 15 lines modified | Offset 95, 25 lines modified | ||
50 | ························} | 95 | ························} |
51 | ····················} | 96 | ····················} |
52 | ················} | 97 | ················} |
53 | ············} | 98 | ············} |
54 | ········} | 99 | ········} |
55 | ····} | 100 | ····} |
56 | ···· | 101 | ···· |
102 | ····private·void·setRowNumbers()·{ | ||
103 | ········final·Codeword[]·codewords·=·this.getCodewords(); | ||
104 | ········for·(int·length·=·codewords.length,·i·=·0;·i·<·length;·++i)·{ | ||
105 | ············final·Codeword·codeword·=·codewords[i]; | ||
106 | ············if·(codeword·!=·null)·{ | ||
107 | ················codeword.setRowNumberAsRowIndicatorColumn(); | ||
108 | ············} | ||
109 | ········} | ||
110 | ····} | ||
111 | ···· | ||
57 | ···· | 112 | ····void·adjustCompleteIndicatorColumnRowNumbers(final·BarcodeMetadata·barcodeMetadata)·{ |
58 | ········final·Codeword[]·codewords·=·this.getCodewords(); | 113 | ········final·Codeword[]·codewords·=·this.getCodewords(); |
59 | ········this.setRowNumbers(); | 114 | ········this.setRowNumbers(); |
60 | ········this.removeIncorrectCodewords(codewords,·barcodeMetadata); | 115 | ········this.removeIncorrectCodewords(codewords,·barcodeMetadata); |
61 | ········final·BoundingBox·boundingBox·=·this.getBoundingBox(); | 116 | ········final·BoundingBox·boundingBox·=·this.getBoundingBox(); |
62 | ········ResultPoint·resultPoint; | 117 | ········ResultPoint·resultPoint; |
63 | ········if·(this.isLeft)·{ | 118 | ········if·(this.isLeft)·{ |
64 | ············resultPoint·=·boundingBox.getTopLeft(); | 119 | ············resultPoint·=·boundingBox.getTopLeft(); |
Offset 71, 119 lines modified | Offset 126, 68 lines modified | ||
71 | ············resultPoint2·=·boundingBox.getBottomLeft(); | 126 | ············resultPoint2·=·boundingBox.getBottomLeft(); |
72 | ········} | 127 | ········} |
73 | ········else·{ | 128 | ········else·{ |
74 | ············resultPoint2·=·boundingBox.getBottomRight(); | 129 | ············resultPoint2·=·boundingBox.getBottomRight(); |
75 | ········} | 130 | ········} |
76 | ········final·int·imageRowToCodewordIndex·=·this.imageRowToCodewordIndex((int)resultPoint.getY()); | 131 | ········final·int·imageRowToCodewordIndex·=·this.imageRowToCodewordIndex((int)resultPoint.getY()); |
77 | ········final·int·imageRowToCodewordIndex2·=·this.imageRowToCodewordIndex((int)resultPoint2.getY()); | 132 | ········final·int·imageRowToCodewordIndex2·=·this.imageRowToCodewordIndex((int)resultPoint2.getY()); |
78 | ········final·float·n·=·(imageRowToCodewordIndex2·-·imageRowToCodewordIndex)·/·(float)barcodeMetadata.getRowCount(); | ||
79 | ········int·n | 133 | ········int·n·=·-1; |
80 | ········int·max·=·1; | 134 | ········int·max·=·1; |
81 | ········int·b·=·0; | 135 | ········int·b·=·0; |
82 | ········for·(int·i·=·imageRowToCodewordIndex;·i·<·imageRowToCodewordIndex2;·++i)·{ | 136 | ········for·(int·i·=·imageRowToCodewordIndex;·i·<·imageRowToCodewordIndex2;·++i)·{ |
83 | ············if·(codewords[i]·!=·null)·{ | 137 | ············if·(codewords[i]·!=·null)·{ |
84 | ················final·Codeword·codeword·=·codewords[i]; | 138 | ················final·Codeword·codeword·=·codewords[i]; |
85 | ················final·int·n | 139 | ················final·int·n2·=·codeword.getRowNumber()·-·n; |
86 | ················if·(n | 140 | ················if·(n2·==·0)·{ |
87 | ····················++b; | 141 | ····················++b; |
88 | ················} | 142 | ················} |
89 | ················else·if·(n | 143 | ················else·if·(n2·==·1)·{ |
90 | ····················max·=·Math.max(max,·b); | 144 | ····················max·=·Math.max(max,·b); |
91 | ····················b·=·1; | 145 | ····················b·=·1; |
92 | ····················n | 146 | ····················n·=·codeword.getRowNumber(); |
93 | ················} | 147 | ················} |
94 | ················else·{ | 148 | ················else·{ |
95 | ····················final·int·rowNumber; | 149 | ····················final·int·rowNumber; |
96 | ····················final·int·n4; | ||
97 | ····················if·(n | 150 | ····················if·(n2·<·0·||·(rowNumber·=·codeword.getRowNumber())·>=·barcodeMetadata.getRowCount()·||·n2·>·i)·{ |
98 | ························codewords[i]·=·null; | 151 | ························codewords[i]·=·null; |
99 | ····················} | 152 | ····················} |
100 | ····················else·{ | 153 | ····················else·{ |
101 | ························int·n | 154 | ························int·n3; |
102 | ························if·(max·>·2)·{ | 155 | ························if·(max·>·2)·{ |
Max diff block lines reached; 6367/11946 bytes (53.30%) of diff not shown. |
Offset 43, 14 lines modified | Offset 43, 18 lines modified | ||
43 | ········final·int·n3·=·topLeftOnBit[0]; | 43 | ········final·int·n3·=·topLeftOnBit[0]; |
44 | ········int·n4·=·bottomRightOnBit[0]; | 44 | ········int·n4·=·bottomRightOnBit[0]; |
45 | ········if·(n3·>=·n4·||·n·>=·n2)·{ | 45 | ········if·(n3·>=·n4·||·n·>=·n2)·{ |
46 | ············throw·NotFoundException.getNotFoundInstance(); | 46 | ············throw·NotFoundException.getNotFoundInstance(); |
47 | ········} | 47 | ········} |
48 | ········if·(n2·-·n·!=·n4·-·n3)·{ | 48 | ········if·(n2·-·n·!=·n4·-·n3)·{ |
49 | ············n4·=·n3·+·(n2·-·n); | 49 | ············n4·=·n3·+·(n2·-·n); |
50 | ············final·int·width; | ||
51 | ············if·(n4·>=·(width·=·bitMatrix.getWidth()))·{ | ||
52 | ················throw·NotFoundException.getNotFoundInstance(); | ||
53 | ············} | ||
50 | ········} | 54 | ········} |
51 | ········final·int·round·=·Math.round((float)(n4·-·n3·+·1)·/·moduleSize); | 55 | ········final·int·round·=·Math.round((float)(n4·-·n3·+·1)·/·moduleSize); |
52 | ········final·int·round2·=·Math.round((float)(n2·-·n·+·1)·/·moduleSize); | 56 | ········final·int·round2·=·Math.round((float)(n2·-·n·+·1)·/·moduleSize); |
53 | ········if·(round·<=·0·||·round2·<=·0)·{ | 57 | ········if·(round·<=·0·||·round2·<=·0)·{ |
54 | ············throw·NotFoundException.getNotFoundInstance(); | 58 | ············throw·NotFoundException.getNotFoundInstance(); |
55 | ········} | 59 | ········} |
56 | ········if·(round2·!=·round)·{ | 60 | ········if·(round2·!=·round)·{ |
Offset 18, 16 lines modified | Offset 18, 16 lines modified | ||
18 | ····private·static·BitMatrix·renderResult(final·QRCode·qrCode,·final·int·a,·final·int·a2,·final·int·n)·{ | 18 | ····private·static·BitMatrix·renderResult(final·QRCode·qrCode,·final·int·a,·final·int·a2,·final·int·n)·{ |
19 | ········final·ByteMatrix·matrix·=·qrCode.getMatrix(); | 19 | ········final·ByteMatrix·matrix·=·qrCode.getMatrix(); |
20 | ········if·(matrix·==·null)·{ | 20 | ········if·(matrix·==·null)·{ |
21 | ············throw·new·IllegalStateException(); | 21 | ············throw·new·IllegalStateException(); |
22 | ········} | 22 | ········} |
23 | ········final·int·width·=·matrix.getWidth(); | 23 | ········final·int·width·=·matrix.getWidth(); |
24 | ········final·int·height·=·matrix.getHeight(); | 24 | ········final·int·height·=·matrix.getHeight(); |
25 | ········final·int·b·=·width·+·n· | 25 | ········final·int·b·=·width·+·(n·<<·1); |
26 | ········final·int·b2·=·height·+·n· | 26 | ········final·int·b2·=·height·+·(n·<<·1); |
27 | ········final·int·max·=·Math.max(a,·b); | 27 | ········final·int·max·=·Math.max(a,·b); |
28 | ········final·int·max2·=·Math.max(a2,·b2); | 28 | ········final·int·max2·=·Math.max(a2,·b2); |
29 | ········final·int·min·=·Math.min(max·/·b,·max2·/·b2); | 29 | ········final·int·min·=·Math.min(max·/·b,·max2·/·b2); |
30 | ········final·int·n2·=·(max·-·width·*·min)·/·2; | 30 | ········final·int·n2·=·(max·-·width·*·min)·/·2; |
31 | ········final·int·n3·=·(max2·-·height·*·min)·/·2; | 31 | ········final·int·n3·=·(max2·-·height·*·min)·/·2; |
32 | ········final·BitMatrix·bitMatrix·=·new·BitMatrix(max,·max2); | 32 | ········final·BitMatrix·bitMatrix·=·new·BitMatrix(max,·max2); |
33 | ········for·(int·i·=·0,·n4·=·n3;·i·<·height;·++i,·n4·+=·min)·{ | 33 | ········for·(int·i·=·0,·n4·=·n3;·i·<·height;·++i,·n4·+=·min)·{ |
Offset 50, 22 lines modified | Offset 50, 20 lines modified | ||
50 | ········} | 50 | ········} |
51 | ········if·(obj·!=·BarcodeFormat.QR_CODE)·{ | 51 | ········if·(obj·!=·BarcodeFormat.QR_CODE)·{ |
52 | ············throw·new·IllegalArgumentException("Can·only·encode·QR_CODE,·but·got·"·+·obj); | 52 | ············throw·new·IllegalArgumentException("Can·only·encode·QR_CODE,·but·got·"·+·obj); |
53 | ········} | 53 | ········} |
54 | ········if·(i·<·0·||·j·<·0)·{ | 54 | ········if·(i·<·0·||·j·<·0)·{ |
55 | ············throw·new·IllegalArgumentException("Requested·dimensions·are·too·small:·"·+·i·+·'x'·+·j); | 55 | ············throw·new·IllegalArgumentException("Requested·dimensions·are·too·small:·"·+·i·+·'x'·+·j); |
56 | ········} | 56 | ········} |
57 | ········ErrorCorrectionLevel·l·=·ErrorCorrectionLevel.L; | 57 | ········ErrorCorrectionLevel·errorCorrectionLevel·=·ErrorCorrectionLevel.L; |
58 | ········int·int | 58 | ········int·int1·=·4; |
59 | ········if·(map·!=·null)·{ | 59 | ········if·(map·!=·null)·{ |
60 | ············if·(map.containsKey(EncodeHintType.ERROR_CORRECTION))·{ | ||
60 | ············ | 61 | ················errorCorrectionLevel·=·ErrorCorrectionLevel.valueOf(map.get(EncodeHintType.ERROR_CORRECTION).toString()); |
61 | ············if·(errorCorrectionLevel·!=·null)·{ | ||
62 | ················l·=·errorCorrectionLevel; | ||
63 | ············} | 62 | ············} |
63 | ············if·(map.containsKey(EncodeHintType.MARGIN))·{ | ||
64 | ················int1·=·Integer.parseInt(map.get(EncodeHintType.MARGIN).toString()); | ||
64 | ············final·Integer·n·=·(Integer)map.get(EncodeHintType.MARGIN); | ||
65 | ············if·(n·!=·null)·{ | ||
66 | ················intValue·=·n; | ||
67 | ············} | 65 | ············} |
68 | ········} | 66 | ········} |
69 | ········return·renderResult(Encoder.encode(s,·l,·map),·i,·j,·int | 67 | ········return·renderResult(Encoder.encode(s,·errorCorrectionLevel,·map),·i,·j,·int1); |
70 | ····} | 68 | ····} |
71 | } | 69 | } |
Offset 2, 22 lines modified | Offset 2, 24 lines modified | ||
2 | package·com.google.zxing.client.result; | 2 | package·com.google.zxing.client.result; |
3 | import·com.google.zxing.Result; | 3 | import·com.google.zxing.Result; |
4 | import·java.util.ArrayList; | 4 | import·java.util.ArrayList; |
5 | public·final·class·BizcardResultParser·extends·AbstractDoCoMoResultParser | 5 | public·final·class·BizcardResultParser·extends·AbstractDoCoMoResultParser |
6 | { | 6 | { |
7 | ····private·static·String·buildName(String·str | 7 | ····private·static·String·buildName(final·String·str,·String·string)·{ |
8 | ········if·(str | 8 | ········if·(str·!=·null)·{ |
9 | ············if·(str· | 9 | ············if·(string·==·null)·{ |
10 | ················string·=·str; | ||
11 | ············} | ||
12 | ············else·{ | ||
10 | ················string·=·str | 13 | ················string·=·str·+·'·'·+·string; |
11 | ············} | 14 | ············} |
12 | ············str·=·string; | ||
13 | ········} | 15 | ········} |
14 | ········return·str; | 16 | ········return·string; |
15 | ····} | 17 | ····} |
16 | ···· | 18 | ···· |
17 | ····private·static·String[]·buildPhoneNumbers(final·String·s,·final·String·s2,·final·String·s3)·{ | 19 | ····private·static·String[]·buildPhoneNumbers(final·String·s,·final·String·s2,·final·String·s3)·{ |
18 | ········final·ArrayList<String>·list·=·new·ArrayList<String>(3); | 20 | ········final·ArrayList<String>·list·=·new·ArrayList<String>(3); |
19 | ········if·(s·!=·null)·{ | 21 | ········if·(s·!=·null)·{ |
20 | ············list.add(s); | 22 | ············list.add(s); |
21 | ········} | 23 | ········} |
Offset 48, 15 lines modified | Offset 48, 15 lines modified | ||
48 | ········else·if·(c·>=·'{'·&&·c·<=·'\u007f')·{ | 48 | ········else·if·(c·>=·'{'·&&·c·<=·'\u007f')·{ |
49 | ············sb.append(c3); | 49 | ············sb.append(c3); |
50 | ············sb.append((char)(c·-·123·+·27)); | 50 | ············sb.append((char)(c·-·123·+·27)); |
51 | ············c2·=·c3; | 51 | ············c2·=·c3; |
52 | ········} | 52 | ········} |
53 | ········else·if·(c·>=·'\u0080')·{ | 53 | ········else·if·(c·>=·'\u0080')·{ |
54 | ············sb.append("\u0001\u001e"); | 54 | ············sb.append("\u0001\u001e"); |
55 | ············c2·=· | 55 | ············c2·=·this.encodeChar((char)(c·-·128),·sb)·+·2; |
56 | ········} | 56 | ········} |
57 | ········else·{ | 57 | ········else·{ |
58 | ············HighLevelEncoder.illegalCharacter(c); | 58 | ············HighLevelEncoder.illegalCharacter(c); |
59 | ············c2·=·-1; | 59 | ············c2·=·-1; |
60 | ········} | 60 | ········} |
61 | ········return·c2; | 61 | ········return·c2; |
62 | ····} | 62 | ····} |
Offset 120, 24 lines modified | Offset 120, 24 lines modified | ||
120 | ·········1:·invokespecial·#8··················//·Method·com/google/zxing/datamatrix/encoder/C40Encoder."<init>":()V | 120 | ·········1:·invokespecial·#8··················//·Method·com/google/zxing/datamatrix/encoder/C40Encoder."<init>":()V |
121 | ·········4:·return | 121 | ·········4:·return |
122 | ··public·void·encode(com.google.zxing.datamatrix.encoder.EncoderContext); | 122 | ··public·void·encode(com.google.zxing.datamatrix.encoder.EncoderContext); |
123 | ····descriptor:·(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V | 123 | ····descriptor:·(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V |
124 | ····flags:·(0x0001)·ACC_PUBLIC | 124 | ····flags:·(0x0001)·ACC_PUBLIC |
125 | ····Code: | 125 | ····Code: |
126 | ······stack=300,·locals= | 126 | ······stack=300,·locals=9,·args_size=2 |
127 | ·········0:·new···········#10·················//·class·java/lang/StringBuilder | 127 | ·········0:·new···········#10·················//·class·java/lang/StringBuilder |
128 | ·········3:·astore_2 | 128 | ·········3:·astore_2 |
129 | ·········4:·aload_2 | 129 | ·········4:·aload_2 |
130 | ·········5:·invokespecial·#11·················//·Method·java/lang/StringBuilder."<init>":()V | 130 | ·········5:·invokespecial·#11·················//·Method·java/lang/StringBuilder."<init>":()V |
131 | ·········8:·aload_1 | 131 | ·········8:·aload_1 |
132 | ·········9:·invokevirtual·#17·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.hasMoreCharacters:()Z | 132 | ·········9:·invokevirtual·#17·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.hasMoreCharacters:()Z |
133 | ········12:·istore_3 | 133 | ········12:·istore_3 |
134 | ········13:·iload_3 | 134 | ········13:·iload_3 |
135 | ········14:·ifeq··········10 | 135 | ········14:·ifeq··········105 |
136 | ········17:·aload_1 | 136 | ········17:·aload_1 |
137 | ········18:·invokevirtual·#21·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.getCurrentChar:()C | 137 | ········18:·invokevirtual·#21·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.getCurrentChar:()C |
138 | ········21:·istore········4 | 138 | ········21:·istore········4 |
139 | ········23:·aload_1 | 139 | ········23:·aload_1 |
140 | ········24:·getfield······#25·················//·Field·com/google/zxing/datamatrix/encoder/EncoderContext.pos:I | 140 | ········24:·getfield······#25·················//·Field·com/google/zxing/datamatrix/encoder/EncoderContext.pos:I |
141 | ········27:·iconst_1 | 141 | ········27:·iconst_1 |
142 | ········28:·iadd | 142 | ········28:·iadd |
Offset 148, 52 lines modified | Offset 148, 50 lines modified | ||
148 | ········35:·aload_0 | 148 | ········35:·aload_0 |
149 | ········36:·iload·········4 | 149 | ········36:·iload·········4 |
150 | ········38:·aload_2 | 150 | ········38:·aload_2 |
151 | ········39:·invokevirtual·#29·················//·Method·encodeChar:(CLjava/lang/StringBuilder;)I | 151 | ········39:·invokevirtual·#29·················//·Method·encodeChar:(CLjava/lang/StringBuilder;)I |
152 | ········42:·pop | 152 | ········42:·pop |
153 | ········43:·aload_2 | 153 | ········43:·aload_2 |
154 | ········44:·invokevirtual·#33·················//·Method·java/lang/StringBuilder.length:()I | 154 | ········44:·invokevirtual·#33·················//·Method·java/lang/StringBuilder.length:()I |
155 | ········47:·istore········5 | ||
156 | ········49:·iload·········5 | ||
157 | ········ | 155 | ········47:·iconst_3 |
158 | ········ | 156 | ········48:·irem |
159 | ········ | 157 | ········49:·istore_3 |
160 | ········5 | 158 | ········50:·iload_3 |
161 | ········5 | 159 | ········51:·ifne··········8 |
162 | ········5 | 160 | ········54:·aload_1 |
163 | ········5 | 161 | ········55:·aload_2 |
164 | ········ | 162 | ········56:·invokestatic··#37·················//·Method·writeNextTriplet:(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V |
165 | ········ | 163 | ········59:·aload_1 |
166 | ········6 | 164 | ········60:·invokevirtual·#41·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.getMessage:()Ljava/lang/String; |
167 | ········6 | 165 | ········63:·astore········5 |
168 | ········6 | 166 | ········65:·aload_1 |
169 | ········ | 167 | ········66:·getfield······#25·················//·Field·com/google/zxing/datamatrix/encoder/EncoderContext.pos:I |
170 | ········ | 168 | ········69:·istore········6 |
171 | ········7 | 169 | ········71:·aload_0 |
172 | ········7 | 170 | ········72:·invokevirtual·#44·················//·Method·getEncodingMode:()I |
173 | ········7 | 171 | ········75:·istore········7 |
174 | ········ | 172 | ········77:·aload·········5 |
173 | ········79:·iload·········6 | ||
175 | ········8 | 174 | ········81:·iload·········7 |
176 | ········85:·iload·········8 | ||
177 | ········8 | 175 | ········83:·invokestatic··#50·················//·Method·com/google/zxing/datamatrix/encoder/HighLevelEncoder.lookAheadTest:(Ljava/lang/CharSequence;II)I |
178 | ········ | 176 | ········86:·istore········8 |
179 | ········ | 177 | ········88:·aload_0 |
180 | ········ | 178 | ········89:·invokevirtual·#44·················//·Method·getEncodingMode:()I |
181 | ········9 | 179 | ········92:·istore_3 |
182 | ········9 | 180 | ········93:·iload·········8 |
183 | ········9 | 181 | ········95:·iload_3 |
184 | ······· | 182 | ········96:·if_icmpeq·····8 |
185 | ······· | 183 | ········99:·aload_1 |
186 | ·······10 | 184 | ·······100:·iload·········8 |
187 | ·······10 | 185 | ·······102:·invokevirtual·#54·················//·Method·com/google/zxing/datamatrix/encoder/EncoderContext.signalEncoderChange:(I)V |
188 | ·······10 | 186 | ·······105:·aload_0 |
189 | ·······1 | 187 | ·······106:·aload_1 |
190 | ·······1 | 188 | ·······107:·aload_2 |
191 | ·······1 | 189 | ·······108:·invokevirtual·#57·················//·Method·handleEOD:(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V |
192 | ·······11 | 190 | ·······111:·return |
193 | ··int·encodeChar(char,·java.lang.StringBuilder); | 191 | ··int·encodeChar(char,·java.lang.StringBuilder); |
194 | ····descriptor:·(CLjava/lang/StringBuilder;)I | 192 | ····descriptor:·(CLjava/lang/StringBuilder;)I |
195 | ····flags:·(0x0000) | 193 | ····flags:·(0x0000) |
196 | ····Code: | 194 | ····Code: |
197 | ······stack=300,·locals=5,·args_size=3 | 195 | ······stack=300,·locals=5,·args_size=3 |
198 | ·········0:·iconst_1 | 196 | ·········0:·iconst_1 |
Offset 90, 24 lines modified | Offset 90, 24 lines modified | ||
90 | ····} | 90 | ····} |
91 | ···· | 91 | ···· |
92 | ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap)·{ | 92 | ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap)·{ |
93 | ········return·this.decodeMultiple(binaryBitmap,·null); | 93 | ········return·this.decodeMultiple(binaryBitmap,·null); |
94 | ····} | 94 | ····} |
95 | ···· | 95 | ···· |
96 | ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map)·{ | 96 | ····public·Result[]·decodeMultiple(final·BinaryBitmap·binaryBitmap,·final·Map·map)·{ |
97 | ········ | 97 | ········final·ArrayList<Result>·list·=·new·ArrayList<Result>(); |
98 | ········final·DetectorResult[]·detectMulti·=·new·MultiDetector(binaryBitmap.getBlackMatrix()).detectMulti(map); | 98 | ········final·DetectorResult[]·detectMulti·=·new·MultiDetector(binaryBitmap.getBlackMatrix()).detectMulti(map); |
99 | ········final·int·length·=·detectMulti.length; | 99 | ········final·int·length·=·detectMulti.length; |
100 | ········int· | 100 | ········int·size·=·0; |
101 | ········while·(true)·{ | 101 | ········while·(true)·{ |
102 | ············Label_0314:·{ | 102 | ············Label_0314:·{ |
103 | ················if·( | 103 | ················if·(size·>=·length)·{ |
104 | ····················break·Label_0314; | 104 | ····················break·Label_0314; |
105 | ················} | 105 | ················} |
106 | ················final·DetectorResult·detectorResult·=·detectMulti[ | 106 | ················final·DetectorResult·detectorResult·=·detectMulti[size]; |
107 | ················try·{ | 107 | ················try·{ |
108 | ····················final·Decoder·decoder·=·this.getDecoder(); | 108 | ····················final·Decoder·decoder·=·this.getDecoder(); |
109 | ····················try·{ | 109 | ····················try·{ |
110 | ························final·DecoderResult·decode·=·decoder.decode(detectorResult.getBits(),·map); | 110 | ························final·DecoderResult·decode·=·decoder.decode(detectorResult.getBits(),·map); |
111 | ························try·{ | 111 | ························try·{ |
112 | ····························final·ResultPoint[]·points·=·detectorResult.getPoints(); | 112 | ····························final·ResultPoint[]·points·=·detectorResult.getPoints(); |
113 | ····························try·{ | 113 | ····························try·{ |
Offset 142, 27 lines modified | Offset 142, 28 lines modified | ||
142 | ····························································try·{ | 142 | ····························································try·{ |
143 | ································································result.putMetadata(structured_APPEND_SEQUENCE,·(Object)Integer.valueOf(structuredAppendSequenceNumber)); | 143 | ································································result.putMetadata(structured_APPEND_SEQUENCE,·(Object)Integer.valueOf(structuredAppendSequenceNumber)); |
144 | ································································final·ResultMetadataType·structured_APPEND_PARITY·=·ResultMetadataType.STRUCTURED_APPEND_PARITY; | 144 | ································································final·ResultMetadataType·structured_APPEND_PARITY·=·ResultMetadataType.STRUCTURED_APPEND_PARITY; |
145 | ································································try·{ | 145 | ································································try·{ |
146 | ····································································final·int·structuredAppendParity·=·decode.getStructuredAppendParity(); | 146 | ····································································final·int·structuredAppendParity·=·decode.getStructuredAppendParity(); |
147 | ····································································try·{ | 147 | ····································································try·{ |
148 | ········································································result.putMetadata(structured_APPEND_PARITY,·(Object)Integer.valueOf(structuredAppendParity)); | 148 | ········································································result.putMetadata(structured_APPEND_PARITY,·(Object)Integer.valueOf(structuredAppendParity)); |
149 | ········································································final·List<Result>·list·=· | 149 | ········································································final·ArrayList<Result>·list2·=·list; |
150 | ········································································try·{ | 150 | ········································································try·{ |
151 | ············································································list.add(result); | 151 | ············································································list2.add(result); |
152 | ············································································++ | 152 | ············································································++size; |
153 | ············································································continue; | 153 | ············································································continue; |
154 | ············································································//·iftrue(Label_0335:,·!list.isEmpty()) | ||
155 | ············································································return·QRCodeMultiReader.EMPTY_RESULT_ARRAY; | ||
156 | ············································································final·List·processStructuredAppend; | ||
154 | ············································································Label_0335:·{ | 157 | ············································································Label_0335:·{ |
155 | ················································································processStructuredAppend·=· | 158 | ················································································processStructuredAppend·=·processStructuredAppend(list); |
156 | ············································································} | 159 | ············································································} |
160 | ············································································size·=·processStructuredAppend.size(); | ||
157 | ············································································ | 161 | ············································································empty_RESULT_ARRAY·=·processStructuredAppend.toArray(new·Result[size]); |
158 | ············································································empty_RESULT_ARRAY·=·QRCodeMultiReader.EMPTY_RESULT_ARRAY; | ||
159 | ············································································return·empty_RESULT_ARRAY; | ||
160 | ········································································} | 162 | ········································································} |
161 | ········································································//·iftrue(Label_0335:,·!processStructuredAppend.isEmpty()) | ||
162 | ········································································catch·(ReaderException·ex)·{} | 163 | ········································································catch·(ReaderException·ex)·{} |
163 | ····································································} | 164 | ····································································} |
164 | ····································································catch·(ReaderException·ex2)·{} | 165 | ····································································catch·(ReaderException·ex2)·{} |
165 | ································································} | 166 | ································································} |
166 | ································································catch·(ReaderException·ex3)·{} | 167 | ································································catch·(ReaderException·ex3)·{} |
167 | ····························································} | 168 | ····························································} |
168 | ····························································catch·(ReaderException·ex4)·{} | 169 | ····························································catch·(ReaderException·ex4)·{} |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | ········return·b; | 76 | ········return·b; |
77 | ····} | 77 | ····} |
78 | ···· | 78 | ···· |
79 | ····private·void·counterAppend(final·int·n)·{ | 79 | ····private·void·counterAppend(final·int·n)·{ |
80 | ········this.counters[this.counterLength]·=·n; | 80 | ········this.counters[this.counterLength]·=·n; |
81 | ········++this.counterLength; | 81 | ········++this.counterLength; |
82 | ········if·(this.counterLength·>=·this.counters.length)·{ | 82 | ········if·(this.counterLength·>=·this.counters.length)·{ |
83 | ············final·int[]·counters·=·new·int[this.counterLength· | 83 | ············final·int[]·counters·=·new·int[this.counterLength·<<·1]; |
84 | ············System.arraycopy(this.counters,·0,·counters,·0,·this.counterLength); | 84 | ············System.arraycopy(this.counters,·0,·counters,·0,·this.counterLength); |
85 | ············this.counters·=·counters; | 85 | ············this.counters·=·counters; |
86 | ········} | 86 | ········} |
87 | ····} | 87 | ····} |
88 | ···· | 88 | ···· |
89 | ····private·int·findStartPattern()·{ | 89 | ····private·int·findStartPattern()·{ |
90 | ········for·(int·i·=·1;·i·<·this.counterLength;·i·+=·2)·{ | 90 | ········for·(int·i·=·1;·i·<·this.counterLength;·i·+=·2)·{ |
Offset 178, 14 lines modified | Offset 178, 67 lines modified | ||
178 | ················} | 178 | ················} |
179 | ············} | 179 | ············} |
180 | ············i·=·-1; | 180 | ············i·=·-1; |
181 | ········} | 181 | ········} |
182 | ········return·i; | 182 | ········return·i; |
183 | ····} | 183 | ····} |
184 | ···· | 184 | ···· |
185 | ····private·void·validatePattern(final·int·n)·{ | ||
186 | ········final·int[]·array2; | ||
187 | ········final·int[]·array·=·array2·=·new·int[4]; | ||
188 | ········array2[1]·=·(array2[0]·=·0); | ||
189 | ········array2[3]·=·(array2[2]·=·0); | ||
190 | ········final·int[]·array4; | ||
191 | ········final·int[]·array3·=·array4·=·new·int[4]; | ||
192 | ········array4[1]·=·(array4[0]·=·0); | ||
193 | ········array4[3]·=·(array4[2]·=·0); | ||
194 | ········final·int·n2·=·this.decodeRowResult.length()·-·1; | ||
195 | ········int·n3·=·n; | ||
196 | ········int·n4·=·0; | ||
197 | ········while·(true)·{ | ||
198 | ············int·n5·=·CodaBarReader.CHARACTER_ENCODINGS[this.decodeRowResult.charAt(n4)]; | ||
199 | ············for·(int·i·=·6;·i·>=·0;·--i)·{ | ||
200 | ················final·int·n6·=·(i·&·0x1)·+·((n5·&·0x1)·<<·1); | ||
201 | ················array[n6]·+=·this.counters[n3·+·i]; | ||
202 | ················++array3[n6]; | ||
203 | ················n5·>>=·1; | ||
204 | ············} | ||
205 | ············if·(n4·>=·n2)·{ | ||
206 | ················break; | ||
207 | ············} | ||
208 | ············n3·+=·8; | ||
209 | ············++n4; | ||
210 | ········} | ||
211 | ········final·float[]·array5·=·new·float[4]; | ||
212 | ········final·float[]·array6·=·new·float[4]; | ||
213 | ········for·(int·j·=·0;·j·<·2;·++j)·{ | ||
214 | ············array6[j]·=·0.0f; | ||
215 | ············array5[j]·=·(array6[j·+·2]·=·(array[j]·/·(float)array3[j]·+·array[j·+·2]·/·(float)array3[j·+·2])·/·2.0f); | ||
216 | ············array5[j·+·2]·=·(array[j·+·2]·*·2.0f·+·1.5f)·/·array3[j·+·2]; | ||
217 | ········} | ||
218 | ········int·n7·=·n; | ||
219 | ········int·n8·=·0; | ||
220 | ········while·(true)·{ | ||
221 | ············int·n9·=·CodaBarReader.CHARACTER_ENCODINGS[this.decodeRowResult.charAt(n8)]; | ||
222 | ············for·(int·k·=·6;·k·>=·0;·--k)·{ | ||
223 | ················final·int·n10·=·(k·&·0x1)·+·((n9·&·0x1)·<<·1); | ||
224 | ················final·int·n11·=·this.counters[n7·+·k]; | ||
225 | ················if·(n11·<·array6[n10]·||·n11·>·array5[n10])·{ | ||
226 | ····················throw·NotFoundException.getNotFoundInstance(); | ||
227 | ················} | ||
228 | ················n9·>>=·1; | ||
229 | ············} | ||
230 | ············if·(n8·>=·n2)·{ | ||
231 | ················return; | ||
232 | ············} | ||
233 | ············n7·+=·8; | ||
234 | ············++n8; | ||
235 | ········} | ||
236 | ····} | ||
237 | ···· | ||
185 | ····public·Result·decodeRow(final·int·n,·final·BitArray·counters,·final·Map·map)·{ | 238 | ····public·Result·decodeRow(final·int·n,·final·BitArray·counters,·final·Map·map)·{ |
186 | ········Arrays.fill(this.counters,·0); | 239 | ········Arrays.fill(this.counters,·0); |
187 | ········this.setCounters(counters); | 240 | ········this.setCounters(counters); |
188 | ········int·startPattern; | 241 | ········int·startPattern; |
189 | ········final·int·n2·=·startPattern·=·this.findStartPattern(); | 242 | ········final·int·n2·=·startPattern·=·this.findStartPattern(); |
190 | ········this.decodeRowResult.setLength(0); | 243 | ········this.decodeRowResult.setLength(0); |
191 | ········int·narrowWidePattern; | 244 | ········int·narrowWidePattern; |
Offset 228, 61 lines modified | Offset 281, 8 lines modified | ||
228 | ········} | 281 | ········} |
229 | ········final·float·n6·=·(float)n5; | 282 | ········final·float·n6·=·(float)n5; |
230 | ········for·(int·l·=·n2;·l·<·startPattern·-·1;·++l)·{ | 283 | ········for·(int·l·=·n2;·l·<·startPattern·-·1;·++l)·{ |
231 | ············n5·+=·this.counters[l]; | 284 | ············n5·+=·this.counters[l]; |
232 | ········} | 285 | ········} |
233 | ········return·new·Result(this.decodeRowResult.toString(),·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint(n6,·(float)n),·new·ResultPoint((float)n5,·(float)n)·},·BarcodeFormat.CODABAR); | 286 | ········return·new·Result(this.decodeRowResult.toString(),·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint(n6,·(float)n),·new·ResultPoint((float)n5,·(float)n)·},·BarcodeFormat.CODABAR); |
234 | ····} | 287 | ····} |
235 | ···· | ||
236 | ····void·validatePattern(final·int·n)·{ | ||
237 | ········final·int[]·array2; | ||
238 | ········final·int[]·array·=·array2·=·new·int[4]; | ||
239 | ········array2[1]·=·(array2[0]·=·0); | ||
240 | ········array2[3]·=·(array2[2]·=·0); | ||
241 | ········final·int[]·array4; | ||
242 | ········final·int[]·array3·=·array4·=·new·int[4]; | ||
243 | ········array4[1]·=·(array4[0]·=·0); | ||
244 | ········array4[3]·=·(array4[2]·=·0); | ||
245 | ········final·int·n2·=·this.decodeRowResult.length()·-·1; | ||
246 | ········int·n3·=·n; | ||
247 | ········int·n4·=·0; | ||
248 | ········while·(true)·{ | ||
249 | ············int·n5·=·CodaBarReader.CHARACTER_ENCODINGS[this.decodeRowResult.charAt(n4)]; | ||
250 | ············for·(int·i·=·6;·i·>=·0;·--i)·{ | ||
251 | ················final·int·n6·=·(i·&·0x1)·+·(n5·&·0x1)·*·2; | ||
252 | ················array[n6]·+=·this.counters[n3·+·i]; | ||
253 | ················++array3[n6]; | ||
254 | ················n5·>>=·1; | ||
255 | ············} | ||
256 | ············if·(n4·>=·n2)·{ | ||
257 | ················break; | ||
258 | ············} | ||
259 | ············n3·+=·8; | ||
260 | ············++n4; | ||
261 | ········} | ||
262 | ········final·float[]·array5·=·new·float[4]; | ||
263 | ········final·float[]·array6·=·new·float[4]; | ||
264 | ········for·(int·j·=·0;·j·<·2;·++j)·{ | ||
265 | ············array6[j]·=·0.0f; | ||
266 | ············array5[j]·=·(array6[j·+·2]·=·(array[j]·/·(float)array3[j]·+·array[j·+·2]·/·(float)array3[j·+·2])·/·2.0f); | ||
267 | ············array5[j·+·2]·=·(array[j·+·2]·*·2.0f·+·1.5f)·/·array3[j·+·2]; | ||
268 | ········} | ||
269 | ········int·n7·=·n; | ||
270 | ········int·n8·=·0; | ||
Max diff block lines reached; 0/5305 bytes (0.00%) of diff not shown. |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ············else·{ | 72 | ············else·{ |
73 | ················if·(!CodaBarReader.arrayContains(CodaBarWriter.CHARS_WHICH_ARE_TEN_LENGTH_EACH_AFTER_DECODED,·str.charAt(i)))·{ | 73 | ················if·(!CodaBarReader.arrayContains(CodaBarWriter.CHARS_WHICH_ARE_TEN_LENGTH_EACH_AFTER_DECODED,·str.charAt(i)))·{ |
74 | ····················throw·new·IllegalArgumentException("Cannot·encode·:·'"·+·str.charAt(i)·+·'\''); | 74 | ····················throw·new·IllegalArgumentException("Cannot·encode·:·'"·+·str.charAt(i)·+·'\''); |
75 | ················} | 75 | ················} |
76 | ················n·+=·10; | 76 | ················n·+=·10; |
77 | ············} | 77 | ············} |
78 | ········} | 78 | ········} |
79 | ········final·boolean[]·array·=·new·boolean[ | 79 | ········final·boolean[]·array·=·new·boolean[str.length()·-·1·+·n]; |
80 | ········int·n2·=·0; | 80 | ········int·n2·=·0; |
81 | ········for·(int·j·=·0;·j·<·str.length();·++j)·{ | 81 | ········for·(int·j·=·0;·j·<·str.length();·++j)·{ |
82 | ············char·upperCase3·=·Character.toUpperCase(str.charAt(j)); | 82 | ············char·upperCase3·=·Character.toUpperCase(str.charAt(j)); |
83 | ············final·int·n3; | 83 | ············final·int·n3; |
84 | ············if·(j·==·0·||·j·==·(n3·=·str.length()·-·1))·{ | 84 | ············if·(j·==·0·||·j·==·(n3·=·str.length()·-·1))·{ |
85 | ················switch·(upperCase3)·{ | 85 | ················switch·(upperCase3)·{ |
86 | ····················case·84:·{ | 86 | ····················case·84:·{ |
Offset 844, 36 lines modified | Offset 844, 35 lines modified | ||
844 | ····private·static·int[]·findStartPattern(final·BitArray·bitArray)·{ | 844 | ····private·static·int[]·findStartPattern(final·BitArray·bitArray)·{ |
845 | ········final·int·size·=·bitArray.getSize(); | 845 | ········final·int·size·=·bitArray.getSize(); |
846 | ········final·int·nextSet·=·bitArray.getNextSet(0); | 846 | ········final·int·nextSet·=·bitArray.getNextSet(0); |
847 | ········int·n·=·0; | 847 | ········int·n·=·0; |
848 | ········final·int[]·array·=·new·int[6]; | 848 | ········final·int[]·array·=·new·int[6]; |
849 | ········int·n2·=·nextSet; | 849 | ········int·n2·=·nextSet; |
850 | ········boolean·b·=·false; | 850 | ········boolean·b·=·false; |
851 | ········final·int·length·=·array.length; | ||
852 | ········for·(int·i·=·nextSet;·i·<·size;·++i)·{ | 851 | ········for·(int·i·=·nextSet;·i·<·size;·++i)·{ |
853 | ············if·(bitArray.get(i)·^·b)·{ | 852 | ············if·(bitArray.get(i)·^·b)·{ |
854 | ················++array[n]; | 853 | ················++array[n]; |
855 | ············} | 854 | ············} |
856 | ············else·{ | 855 | ············else·{ |
857 | ················if·(n·==· | 856 | ················if·(n·==·5)·{ |
858 | ····················float·n3·=·0.25f; | 857 | ····················float·n3·=·0.25f; |
859 | ····················int·n4·=·-1; | 858 | ····················int·n4·=·-1; |
860 | ····················for·(int·j·=·103;·j·<=·105;·++j)·{ | 859 | ····················for·(int·j·=·103;·j·<=·105;·++j)·{ |
861 | ························final·float·patternMatchVariance·=·patternMatchVariance(array,·Code128Reader.CODE_PATTERNS[j],·0.7f); | 860 | ························final·float·patternMatchVariance·=·patternMatchVariance(array,·Code128Reader.CODE_PATTERNS[j],·0.7f); |
862 | ························if·(patternMatchVariance·<·n3)·{ | 861 | ························if·(patternMatchVariance·<·n3)·{ |
863 | ····························n3·=·patternMatchVariance; | 862 | ····························n3·=·patternMatchVariance; |
864 | ····························n4·=·j; | 863 | ····························n4·=·j; |
865 | ························} | 864 | ························} |
866 | ····················} | 865 | ····················} |
867 | ····················if·(n4·>=·0·&&·bitArray.isRange(Math.max(0,·n2·-·(i·-·n2)·/·2),·n2,·false))·{ | 866 | ····················if·(n4·>=·0·&&·bitArray.isRange(Math.max(0,·n2·-·(i·-·n2)·/·2),·n2,·false))·{ |
868 | ························return·new·int[]·{·n2,·i,·n4·}; | 867 | ························return·new·int[]·{·n2,·i,·n4·}; |
869 | ····················} | 868 | ····················} |
870 | ····················n2·+=·array[0]·+·array[1]; | 869 | ····················n2·+=·array[0]·+·array[1]; |
871 | ····················System.arraycopy(array,·2,·array,·0,· | 870 | ····················System.arraycopy(array,·2,·array,·0,·4); |
872 | ····················array[ | 871 | ····················array[5]·=·(array[4]·=·0); |
873 | ····················--n; | 872 | ····················--n; |
874 | ················} | 873 | ················} |
875 | ················else·{ | 874 | ················else·{ |
876 | ····················++n; | 875 | ····················++n; |
877 | ················} | 876 | ················} |
878 | ················array[n]·=·1; | 877 | ················array[n]·=·1; |
879 | ················b·=·!b; | 878 | ················b·=·!b; |
Offset 929, 15 lines modified | Offset 928, 15 lines modified | ||
929 | ················b2·=·true; | 928 | ················b2·=·true; |
930 | ············} | 929 | ············} |
931 | ············if·(decodeCode·!=·106)·{ | 930 | ············if·(decodeCode·!=·106)·{ |
932 | ················++n9; | 931 | ················++n9; |
933 | ················n8·+=·n9·*·decodeCode; | 932 | ················n8·+=·n9·*·decodeCode; |
934 | ············} | 933 | ············} |
935 | ············n5·=·n6; | 934 | ············n5·=·n6; |
936 | ············for·(int· | 935 | ············for·(int·j·=·0;·j·<·6;·++j)·{ |
937 | ················n6·+=·array[j]; | 936 | ················n6·+=·array[j]; |
938 | ············} | 937 | ············} |
939 | ············switch·(decodeCode)·{ | 938 | ············switch·(decodeCode)·{ |
940 | ················default:·{ | 939 | ················default:·{ |
941 | ····················Label_0488:·{ | 940 | ····················Label_0488:·{ |
942 | ························switch·(n3)·{ | 941 | ························switch·(n3)·{ |
943 | ····························case·101:·{ | 942 | ····························case·101:·{ |
Offset 1147, 24 lines modified | Offset 1146, 24 lines modified | ||
1147 | ········final·int·nextUnset·=·bitArray.getNextUnset(n6); | 1146 | ········final·int·nextUnset·=·bitArray.getNextUnset(n6); |
1148 | ········if·(!bitArray.isRange(nextUnset,·Math.min(bitArray.getSize(),·(nextUnset·-·n5)·/·2·+·nextUnset),·false))·{ | 1147 | ········if·(!bitArray.isRange(nextUnset,·Math.min(bitArray.getSize(),·(nextUnset·-·n5)·/·2·+·nextUnset),·false))·{ |
1149 | ············throw·NotFoundException.getNotFoundInstance(); | 1148 | ············throw·NotFoundException.getNotFoundInstance(); |
1150 | ········} | 1149 | ········} |
1151 | ········if·((n8·-·n9·*·n7)·%·103·!=·n7)·{ | 1150 | ········if·((n8·-·n9·*·n7)·%·103·!=·n7)·{ |
1152 | ············throw·ChecksumException.getChecksumInstance(); | 1151 | ············throw·ChecksumException.getChecksumInstance(); |
1153 | ········} | 1152 | ········} |
1154 | ········final·int·length | 1153 | ········final·int·length·=·sb.length(); |
1155 | ········if·(length | 1154 | ········if·(length·==·0)·{ |
1156 | ············throw·NotFoundException.getNotFoundInstance(); | 1155 | ············throw·NotFoundException.getNotFoundInstance(); |
1157 | ········} | 1156 | ········} |
1158 | ········if·(length | 1157 | ········if·(length·>·0·&&·b2)·{ |
1159 | ············if·(n3·==·99)·{ | 1158 | ············if·(n3·==·99)·{ |
1160 | ················sb.delete(length | 1159 | ················sb.delete(length·-·2,·length); |
1161 | ············} | 1160 | ············} |
1162 | ············else·{ | 1161 | ············else·{ |
1163 | ················sb.delete(length | 1162 | ················sb.delete(length·-·1,·length); |
1164 | ············} | 1163 | ············} |
1165 | ········} | 1164 | ········} |
1166 | ········final·float·n14·=·(startPattern[1]·+·startPattern[0])·/·2.0f; | 1165 | ········final·float·n14·=·(startPattern[1]·+·startPattern[0])·/·2.0f; |
1167 | ········final·float·n15·=·n5·+·n13·/·2.0f; | 1166 | ········final·float·n15·=·n5·+·n13·/·2.0f; |
1168 | ········final·int·size·=·list.size(); | 1167 | ········final·int·size·=·list.size(); |
1169 | ········final·byte[]·array2·=·new·byte[size]; | 1168 | ········final·byte[]·array2·=·new·byte[size]; |
1170 | ········for·(int·k·=·0;·k·<·size;·++k)·{ | 1169 | ········for·(int·k·=·0;·k·<·size;·++k)·{ |
Offset 19, 45 lines modified | Offset 19, 112 lines modified | ||
19 | ····private·static·final·int·CODE_START_C·=·105; | 19 | ····private·static·final·int·CODE_START_C·=·105; |
20 | ····private·static·final·int·CODE_STOP·=·106; | 20 | ····private·static·final·int·CODE_STOP·=·106; |
21 | ····private·static·final·char·ESCAPE_FNC_1·=·'\u00f1'; | 21 | ····private·static·final·char·ESCAPE_FNC_1·=·'\u00f1'; |
22 | ····private·static·final·char·ESCAPE_FNC_2·=·'\u00f2'; | 22 | ····private·static·final·char·ESCAPE_FNC_2·=·'\u00f2'; |
23 | ····private·static·final·char·ESCAPE_FNC_3·=·'\u00f3'; | 23 | ····private·static·final·char·ESCAPE_FNC_3·=·'\u00f3'; |
24 | ····private·static·final·char·ESCAPE_FNC_4·=·'\u00f4'; | 24 | ····private·static·final·char·ESCAPE_FNC_4·=·'\u00f4'; |
25 | ···· | 25 | ···· |
26 | ····private·static· | 26 | ····private·static·int·chooseCode(final·CharSequence·charSequence,·final·int·n,·int·n2)·{ |
27 | ········boolean·b·=·false; | ||
28 | ········int·n3·=·n·+·n2; | ||
29 | ········final·int·length·=·charSequence.length(); | ||
30 | ········for·(int·n4·=·n;·n4·<·n3·&&·n4·<·length;·++n4)·{ | ||
31 | ············final·char·char1·=·charSequence.charAt(n4); | ||
32 | ············if·(char1·<·'0'·||·char1·>·'9')·{ | ||
33 | ········ | 27 | ········final·int·n3·=·99; |
28 | ········final·int·n4·=·100; | ||
29 | ········Code128Writer$CType·code128Writer$CType·=·findCType(charSequence,·n); | ||
30 | ········if·(code128Writer$CType·==·Code128Writer$CType.UNCODABLE·||·code128Writer$CType·==·Code128Writer$CType.ONE_DIGIT)·{ | ||
31 | ············n2·=·n4; | ||
32 | ········} | ||
33 | ········else·if·(n2·!=·n3)·{ | ||
34 | ············if·(n2·==·n4)·{ | ||
35 | ················if·(code128Writer$CType·!=·Code128Writer$CType.FNC_1)·{ | ||
36 | ····················final·Code128Writer$CType·cType·=·findCType(charSequence,·n·+·2); | ||
37 | ····················if·(cType·!=·Code128Writer$CType.UNCODABLE·&&·cType·!=·Code128Writer$CType.ONE_DIGIT)·{ | ||
38 | ························if·(cType·==·Code128Writer$CType.FNC_1)·{ | ||
39 | ····························if·(findCType(charSequence,·n·+·3)·==·Code128Writer$CType.TWO_DIGITS)·{ | ||
40 | ································n2·=·n3; | ||
41 | ····························} | ||
42 | ····························else·{ | ||
43 | ································n2·=·n4; | ||
44 | ····························} | ||
45 | ························} | ||
46 | ························else·{ | ||
47 | ····························int·n5·=·n·+·4; | ||
48 | ····························Code128Writer$CType·cType2; | ||
49 | ····························while·(true)·{ | ||
50 | ································cType2·=·findCType(charSequence,·n5); | ||
51 | ································if·(cType2·!=·Code128Writer$CType.TWO_DIGITS)·{ | ||
52 | ····································break; | ||
53 | ································} | ||
54 | ································n5·+=·2; | ||
55 | ····························} | ||
56 | ····························if·(cType2·==·Code128Writer$CType.ONE_DIGIT)·{ | ||
57 | ································n2·=·n4; | ||
58 | ····························} | ||
59 | ····························else·{ | ||
60 | ································n2·=·n3; | ||
61 | ····························} | ||
62 | ························} | ||
63 | ····················} | ||
64 | ················} | ||
65 | ············} | ||
66 | ············else·{ | ||
67 | ················if·(code128Writer$CType·==·Code128Writer$CType.FNC_1)·{ | ||
68 | ····················code128Writer$CType·=·findCType(charSequence,·n·+·1); | ||
69 | ················} | ||
70 | ················if·(code128Writer$CType·==·Code128Writer$CType.TWO_DIGITS)·{ | ||
34 | ···················· | 71 | ····················n2·=·n3; |
72 | ················} | ||
73 | ················else·{ | ||
74 | ····················n2·=·n4; | ||
35 | ················} | 75 | ················} |
36 | ················++n3; | ||
37 | ············} | 76 | ············} |
38 | ········} | 77 | ········} |
78 | ········return·n2; | ||
79 | ····} | ||
80 | ···· | ||
81 | ····private·static·Code128Writer$CType·findCType(final·CharSequence·charSequence,·final·int·n)·{ | ||
82 | ········final·char·c·=·'9'; | ||
83 | ········final·char·c2·=·'0'; | ||
84 | ········final·int·length·=·charSequence.length(); | ||
85 | ········Code128Writer$CType·code128Writer$CType; | ||
39 | ········if·(n | 86 | ········if·(n·>=·length)·{ |
40 | ············b·=·true; | ||
41 | ············ret | 87 | ············code128Writer$CType·=·Code128Writer$CType.UNCODABLE; |
88 | ········} | ||
89 | ········else·{ | ||
90 | ············final·char·char1·=·charSequence.charAt(n); | ||
91 | ············if·(char1·==·'\u00f1')·{ | ||
92 | ················code128Writer$CType·=·Code128Writer$CType.FNC_1; | ||
93 | ············} | ||
94 | ············else·if·(char1·<·c2·||·char1·>·c)·{ | ||
95 | ················code128Writer$CType·=·Code128Writer$CType.UNCODABLE; | ||
96 | ············} | ||
97 | ············else·if·(n·+·1·>=·length)·{ | ||
98 | ················code128Writer$CType·=·Code128Writer$CType.ONE_DIGIT; | ||
99 | ············} | ||
100 | ············else·{ | ||
101 | ················final·char·char2·=·charSequence.charAt(n·+·1); | ||
102 | ················if·(char2·<·c2·||·char2·>·c)·{ | ||
103 | ····················code128Writer$CType·=·Code128Writer$CType.ONE_DIGIT; | ||
104 | ················} | ||
105 | ················else·{ | ||
106 | ····················code128Writer$CType·=·Code128Writer$CType.TWO_DIGITS; | ||
107 | ················} | ||
108 | ············} | ||
42 | ········} | 109 | ········} |
43 | ········return· | 110 | ········return·code128Writer$CType; |
44 | ····} | 111 | ····} |
45 | ···· | 112 | ···· |
46 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{ | 113 | ····public·BitMatrix·encode(final·String·s,·final·BarcodeFormat·obj,·final·int·n,·final·int·n2,·final·Map·map)·{ |
47 | ········if·(obj·!=·BarcodeFormat.CODE_128)·{ | 114 | ········if·(obj·!=·BarcodeFormat.CODE_128)·{ |
48 | ············throw·new·IllegalArgumentException("Can·only·encode·CODE_128,·but·got·"·+·obj); | 115 | ············throw·new·IllegalArgumentException("Can·only·encode·CODE_128,·but·got·"·+·obj); |
49 | ········} | 116 | ········} |
50 | ········return·super.encode(s,·obj,·n,·n2,·map); | 117 | ········return·super.encode(s,·obj,·n,·n2,·map); |
51 | ····} | 118 | ····} |
52 | ···· | 119 | ···· |
53 | ····public·boolean[]·encode(final·String·s)·{ | 120 | ····public·boolean[]·encode(final·String·s)·{ |
54 | ········final·int·length·=·s.length(); | 121 | ········final·int·length·=·s.length(); |
55 | ········final·int·n; | 122 | ········final·int·n; |
56 | ········if·(length·<· | 123 | ········if·(length·<=·0·||·length·>·(n·=·80))·{ |
57 | ············throw·new·IllegalArgumentException("Contents·length·should·be·between·1·and·80·characters,·but·got·"·+·length); | 124 | ············throw·new·IllegalArgumentException("Contents·length·should·be·between·1·and·80·characters,·but·got·"·+·length); |
58 | ········} | 125 | ········} |
59 | ········for·(int·i·=·0;·i·<·length;·++i)·{ | 126 | ········for·(int·i·=·0;·i·<·length;·++i)·{ |
60 | ············final·char·char1·=·s.charAt(i); | 127 | ············final·char·char1·=·s.charAt(i); |
61 | ············final·int·n2; | 128 | ············final·int·n2; |
62 | ············if·(char1·<·'·'·||·char1·>·(n2·=·126))·{ | 129 | ············if·(char1·<·'·'·||·char1·>·(n2·=·126))·{ |
63 | ················switch·(char1)·{ | 130 | ················switch·(char1)·{ |
Offset 75, 30 lines modified | Offset 142, 17 lines modified | ||
75 | ········} | 142 | ········} |
76 | ········final·ArrayList<int[]>·list·=·new·ArrayList<int[]>(); | 143 | ········final·ArrayList<int[]>·list·=·new·ArrayList<int[]>(); |
77 | ········int·n3·=·0; | 144 | ········int·n3·=·0; |
78 | ········int·n4·=·1; | 145 | ········int·n4·=·1; |
79 | ········int·n5·=·0; | 146 | ········int·n5·=·0; |
80 | ········int·j·=·0; | 147 | ········int·j·=·0; |
Max diff block lines reached; 2361/7939 bytes (29.74%) of diff not shown. |
Offset 9, 25 lines modified | Offset 9, 24 lines modified | ||
9 | import·java.util.Map; | 9 | import·java.util.Map; |
10 | import·com.google.zxing.NotFoundException; | 10 | import·com.google.zxing.NotFoundException; |
11 | import·com.google.zxing.common.BitArray; | 11 | import·com.google.zxing.common.BitArray; |
12 | import·com.google.zxing.FormatException; | 12 | import·com.google.zxing.FormatException; |
13 | public·final·class·Code39Reader·extends·OneDReader | 13 | public·final·class·Code39Reader·extends·OneDReader |
14 | { | 14 | { |
15 | ····private·static·final·char[]·ALPHABET; | ||
16 | ····static·final·String·ALPHABET_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%"; | 15 | ····static·final·String·ALPHABET_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%"; |
17 | ···· | 16 | ····static·final·int·ASTERISK_ENCODING·=·0; |
18 | ····static·final·int[]·CHARACTER_ENCODINGS; | 17 | ····static·final·int[]·CHARACTER_ENCODINGS; |
18 | ····private·static·final·String·CHECK_DIGIT_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%"; | ||
19 | ····private·final·int[]·counters; | 19 | ····private·final·int[]·counters; |
20 | ····private·final·StringBuilder·decodeRowResult; | 20 | ····private·final·StringBuilder·decodeRowResult; |
21 | ····private·final·boolean·extendedMode; | 21 | ····private·final·boolean·extendedMode; |
22 | ····private·final·boolean·usingCheckDigit; | 22 | ····private·final·boolean·usingCheckDigit; |
23 | ···· | 23 | ···· |
24 | ····static·{ | 24 | ····static·{ |
25 | ········ALPHABET·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".toCharArray(); | ||
26 | ········final·int[]·array; | 25 | ········final·int[]·array; |
27 | ········final·int[]·character_ENCODINGS·=·array·=·new·int[44]; | 26 | ········final·int[]·character_ENCODINGS·=·array·=·new·int[44]; |
28 | ········array[0]·=·52; | 27 | ········array[0]·=·52; |
29 | ········array[1]·=·289; | 28 | ········array[1]·=·289; |
30 | ········array[2]·=·97; | 29 | ········array[2]·=·97; |
31 | ········array[3]·=·352; | 30 | ········array[3]·=·352; |
32 | ········array[4]·=·49; | 31 | ········array[4]·=·49; |
Offset 67, 15 lines modified | Offset 66, 14 lines modified | ||
67 | ········array[38]·=·196; | 66 | ········array[38]·=·196; |
68 | ········array[39]·=·148; | 67 | ········array[39]·=·148; |
69 | ········array[40]·=·168; | 68 | ········array[40]·=·168; |
70 | ········array[41]·=·162; | 69 | ········array[41]·=·162; |
71 | ········array[42]·=·138; | 70 | ········array[42]·=·138; |
72 | ········array[43]·=·42; | 71 | ········array[43]·=·42; |
73 | ········CHARACTER_ENCODINGS·=·character_ENCODINGS; | 72 | ········CHARACTER_ENCODINGS·=·character_ENCODINGS; |
74 | ········ASTERISK_ENCODING·=·Code39Reader.CHARACTER_ENCODINGS[39]; | ||
75 | ····} | 73 | ····} |
76 | ···· | 74 | ···· |
77 | ····public·Code39Reader()·{ | 75 | ····public·Code39Reader()·{ |
78 | ········this(false); | 76 | ········this(false); |
79 | ····} | 77 | ····} |
80 | ···· | 78 | ···· |
81 | ····public·Code39Reader(final·boolean·b)·{ | 79 | ····public·Code39Reader(final·boolean·b)·{ |
Offset 187, 15 lines modified | Offset 185, 15 lines modified | ||
187 | ········} | 185 | ········} |
188 | ········throw·NotFoundException.getNotFoundInstance(); | 186 | ········throw·NotFoundException.getNotFoundInstance(); |
189 | ····} | 187 | ····} |
190 | ···· | 188 | ···· |
191 | ····private·static·char·patternToChar(final·int·n)·{ | 189 | ····private·static·char·patternToChar(final·int·n)·{ |
192 | ········for·(int·i·=·0;·i·<·Code39Reader.CHARACTER_ENCODINGS.length;·++i)·{ | 190 | ········for·(int·i·=·0;·i·<·Code39Reader.CHARACTER_ENCODINGS.length;·++i)·{ |
193 | ············if·(Code39Reader.CHARACTER_ENCODINGS[i]·==·n)·{ | 191 | ············if·(Code39Reader.CHARACTER_ENCODINGS[i]·==·n)·{ |
194 | ················return· | 192 | ················return·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".charAt(i); |
195 | ············} | 193 | ············} |
196 | ········} | 194 | ········} |
197 | ········throw·NotFoundException.getNotFoundInstance(); | 195 | ········throw·NotFoundException.getNotFoundInstance(); |
198 | ····} | 196 | ····} |
199 | ···· | 197 | ···· |
200 | ····private·static·int·toNarrowWidePattern(final·int[]·array)·{ | 198 | ····private·static·int·toNarrowWidePattern(final·int[]·array)·{ |
201 | ········final·int·n·=·3; | 199 | ········final·int·n·=·3; |
Offset 224, 15 lines modified | Offset 222, 15 lines modified | ||
224 | ················} | 222 | ················} |
225 | ············} | 223 | ············} |
226 | ············if·(i·==·n)·{ | 224 | ············if·(i·==·n)·{ |
227 | ················for·(int·n9·=·0;·n9·<·length·&&·i·>·0;·++n9)·{ | 225 | ················for·(int·n9·=·0;·n9·<·length·&&·i·>·0;·++n9)·{ |
228 | ····················final·int·n10·=·array[n9]; | 226 | ····················final·int·n10·=·array[n9]; |
229 | ····················if·(n10·>·n3)·{ | 227 | ····················if·(n10·>·n3)·{ |
230 | ························--i; | 228 | ························--i; |
231 | ························if·(n10· | 229 | ························if·(n10·<<·1·>=·n6)·{ |
232 | ····························n7·=·n2; | 230 | ····························n7·=·n2; |
233 | ····························break; | 231 | ····························break; |
234 | ························} | 232 | ························} |
235 | ····················} | 233 | ····················} |
236 | ················} | 234 | ················} |
237 | ················return·n7; | 235 | ················return·n7; |
238 | ············} | 236 | ············} |
Offset 267, 25 lines modified | Offset 265, 25 lines modified | ||
267 | ········decodeRowResult.setLength(decodeRowResult.length()·-·1); | 265 | ········decodeRowResult.setLength(decodeRowResult.length()·-·1); |
268 | ········int·n4·=·0; | 266 | ········int·n4·=·0; |
269 | ········for·(int·length2·=·counters.length,·j·=·0;·j·<·length2;·++j)·{ | 267 | ········for·(int·length2·=·counters.length,·j·=·0;·j·<·length2;·++j)·{ |
270 | ············n4·+=·counters[j]; | 268 | ············n4·+=·counters[j]; |
271 | ········} | 269 | ········} |
272 | ········final·int·n5·=·n2·-·n3·-·n4; | 270 | ········final·int·n5·=·n2·-·n3·-·n4; |
273 | ········final·int·n6; | 271 | ········final·int·n6; |
274 | ········if·(n2·!=·size·&&·(n6·=·n5· | 272 | ········if·(n2·!=·size·&&·(n6·=·n5·<<·1)·<·n4)·{ |
275 | ············throw·NotFoundException.getNotFoundInstance(); | 273 | ············throw·NotFoundException.getNotFoundInstance(); |
276 | ········} | 274 | ········} |
277 | ········final·boolean·usingCheckDigit; | 275 | ········final·boolean·usingCheckDigit; |
278 | ········if·(usingCheckDigit·=·this.usingCheckDigit)·{ | 276 | ········if·(usingCheckDigit·=·this.usingCheckDigit)·{ |
279 | ············final·int·length3·=·decodeRowResult.length()·-·1; | 277 | ············final·int·length3·=·decodeRowResult.length()·-·1; |
280 | ············int·n7·=·0; | 278 | ············int·n7·=·0; |
281 | ············for·(int·k·=·0;·k·<·length3;·++k)·{ | 279 | ············for·(int·k·=·0;·k·<·length3;·++k)·{ |
282 | ················n7·+=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.· | 280 | ················n7·+=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%".indexOf(this.decodeRowResult.charAt(k)); |
283 | ············} | 281 | ············} |
284 | ············if·(decodeRowResult.charAt(length3)·!=· | 282 | ············if·(decodeRowResult.charAt(length3)·!=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%".charAt(n7·%·43))·{ |
285 | ················throw·ChecksumException.getChecksumInstance(); | 283 | ················throw·ChecksumException.getChecksumInstance(); |
286 | ············} | 284 | ············} |
287 | ············decodeRowResult.setLength(length3); | 285 | ············decodeRowResult.setLength(length3); |
288 | ········} | 286 | ········} |
289 | ········if·(decodeRowResult.length()·==·0)·{ | 287 | ········if·(decodeRowResult.length()·==·0)·{ |
290 | ············throw·NotFoundException.getNotFoundInstance(); | 288 | ············throw·NotFoundException.getNotFoundInstance(); |
291 | ········} | 289 | ········} |
Offset 25, 41 lines modified | Offset 25, 41 lines modified | ||
25 | ········if·(obj·!=·BarcodeFormat.CODE_39)·{ | 25 | ········if·(obj·!=·BarcodeFormat.CODE_39)·{ |
26 | ············throw·new·IllegalArgumentException("Can·only·encode·CODE_39,·but·got·"·+·obj); | 26 | ············throw·new·IllegalArgumentException("Can·only·encode·CODE_39,·but·got·"·+·obj); |
27 | ········} | 27 | ········} |
28 | ········return·super.encode(s,·obj,·n,·n2,·map); | 28 | ········return·super.encode(s,·obj,·n,·n2,·map); |
29 | ····} | 29 | ····} |
30 | ···· | 30 | ···· |
31 | ····public·boolean[]·encode(final·String·str)·{ | 31 | ····public·boolean[]·encode(final·String·str)·{ |
32 | ········final·int·n·=· | 32 | ········final·int·n·=·9; |
33 | ········final·int·n2·=·1; | 33 | ········final·int·n2·=·1; |
34 | ········final·int·length·=·str.length(); | 34 | ········final·int·length·=·str.length(); |
35 | ········if·(length·>·80)·{ | 35 | ········if·(length·>·80)·{ |
36 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length); | 36 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length); |
37 | ········} | 37 | ········} |
38 | ········final·int[]·array·=·new·int[ | 38 | ········final·int[]·array·=·new·int[n]; |
39 | ········int·n3·=·length·+·25; | 39 | ········int·n3·=·length·+·25; |
40 | ········for·(int·i·=·0;·i·<·length;·++i)·{ | 40 | ········for·(int·i·=·0;·i·<·length;·++i)·{ |
41 | ············final·int·index·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf(str.charAt(i)); | 41 | ············final·int·index·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf(str.charAt(i)); |
42 | ············if·(index·<·0)·{ | 42 | ············if·(index·<·0)·{ |
43 | ················throw·new·IllegalArgumentException("Bad·contents:·"·+·str); | 43 | ················throw·new·IllegalArgumentException("Bad·contents:·"·+·str); |
44 | ············} | 44 | ············} |
45 | ············toIntArray(Code39Reader.CHARACTER_ENCODINGS[index],·array); | 45 | ············toIntArray(Code39Reader.CHARACTER_ENCODINGS[index],·array); |
46 | ············for·(int· | 46 | ············for·(int·j·=·0;·j·<·n;·++j)·{ |
47 | ················n3·+=·array[j]; | 47 | ················n3·+=·array[j]; |
48 | ············} | 48 | ············} |
49 | ········} | 49 | ········} |
50 | ········final·boolean[]·array2·=·new·boolean[n3]; | 50 | ········final·boolean[]·array2·=·new·boolean[n3]; |
51 | ········toIntArray(Code39Reader. | 51 | ········toIntArray(Code39Reader.ASTERISK_ENCODING,·array); |
52 | ········final·int·appendPattern·=·appendPattern(array2,·0,·array,·(boolean)(n2·!=·0)); | 52 | ········final·int·appendPattern·=·appendPattern(array2,·0,·array,·(boolean)(n2·!=·0)); |
53 | ········final·int[]·array3·=·new·int[n2]; | 53 | ········final·int[]·array3·=·new·int[n2]; |
54 | ········array3[0]·=·n2; | 54 | ········array3[0]·=·n2; |
55 | ········int·n4·=·appendPattern·+·appendPattern(array2,·appendPattern,·array3,·false); | 55 | ········int·n4·=·appendPattern·+·appendPattern(array2,·appendPattern,·array3,·false); |
56 | ········for·(int·k·=·0;·k·<·length;·++k)·{ | 56 | ········for·(int·k·=·0;·k·<·length;·++k)·{ |
57 | ············toIntArray(Code39Reader.CHARACTER_ENCODINGS["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf((int)str.charAt(k))],·array); | 57 | ············toIntArray(Code39Reader.CHARACTER_ENCODINGS["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%".indexOf((int)str.charAt(k))],·array); |
58 | ············final·int·n5·=·n4·+·appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0)); | 58 | ············final·int·n5·=·n4·+·appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0)); |
59 | ············n4·=·n5·+·appendPattern(array2,·n5,·array3,·false); | 59 | ············n4·=·n5·+·appendPattern(array2,·n5,·array3,·false); |
60 | ········} | 60 | ········} |
61 | ········toIntArray(Code39Reader. | 61 | ········toIntArray(Code39Reader.ASTERISK_ENCODING,·array); |
62 | ········appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0)); | 62 | ········appendPattern(array2,·n4,·array,·(boolean)(n2·!=·0)); |
63 | ········return·array2; | 63 | ········return·array2; |
64 | ····} | 64 | ····} |
65 | } | 65 | } |
Offset 10, 17 lines modified | Offset 10, 17 lines modified | ||
10 | import·com.google.zxing.common.BitArray; | 10 | import·com.google.zxing.common.BitArray; |
11 | import·com.google.zxing.FormatException; | 11 | import·com.google.zxing.FormatException; |
12 | import·com.google.zxing.ChecksumException; | 12 | import·com.google.zxing.ChecksumException; |
13 | public·final·class·Code93Reader·extends·OneDReader | 13 | public·final·class·Code93Reader·extends·OneDReader |
14 | { | 14 | { |
15 | ····private·static·final·char[]·ALPHABET; | 15 | ····private·static·final·char[]·ALPHABET; |
16 | ···· | 16 | ····static·final·String·ALPHABET_STRING·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*"; |
17 | ····private·static·final·int·ASTERISK_ENCODING; | 17 | ····private·static·final·int·ASTERISK_ENCODING; |
18 | ···· | 18 | ····static·final·int[]·CHARACTER_ENCODINGS; |
19 | ····private·final·int[]·counters; | 19 | ····private·final·int[]·counters; |
20 | ····private·final·StringBuilder·decodeRowResult; | 20 | ····private·final·StringBuilder·decodeRowResult; |
21 | ···· | 21 | ···· |
22 | ····static·{ | 22 | ····static·{ |
23 | ········ALPHABET·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*".toCharArray(); | 23 | ········ALPHABET·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*".toCharArray(); |
24 | ········final·int[]·array; | 24 | ········final·int[]·array; |
25 | ········final·int[]·character_ENCODINGS·=·array·=·new·int[48]; | 25 | ········final·int[]·character_ENCODINGS·=·array·=·new·int[48]; |
Offset 69, 15 lines modified | Offset 69, 15 lines modified | ||
69 | ········array[42]·=·430; | 69 | ········array[42]·=·430; |
70 | ········array[43]·=·294; | 70 | ········array[43]·=·294; |
71 | ········array[44]·=·474; | 71 | ········array[44]·=·474; |
72 | ········array[45]·=·470; | 72 | ········array[45]·=·470; |
73 | ········array[46]·=·306; | 73 | ········array[46]·=·306; |
74 | ········array[47]·=·350; | 74 | ········array[47]·=·350; |
75 | ········CHARACTER_ENCODINGS·=·character_ENCODINGS; | 75 | ········CHARACTER_ENCODINGS·=·character_ENCODINGS; |
76 | ········ASTERISK_ENCODING·=· | 76 | ········ASTERISK_ENCODING·=·character_ENCODINGS[47]; |
77 | ····} | 77 | ····} |
78 | ···· | 78 | ···· |
79 | ····public·Code93Reader()·{ | 79 | ····public·Code93Reader()·{ |
80 | ········this.decodeRowResult·=·new·StringBuilder(20); | 80 | ········this.decodeRowResult·=·new·StringBuilder(20); |
81 | ········this.counters·=·new·int[6]; | 81 | ········this.counters·=·new·int[6]; |
82 | ····} | 82 | ····} |
83 | ···· | 83 | ···· |
Offset 225, 23 lines modified | Offset 225, 22 lines modified | ||
225 | ················return·Code93Reader.ALPHABET[i]; | 225 | ················return·Code93Reader.ALPHABET[i]; |
226 | ············} | 226 | ············} |
227 | ········} | 227 | ········} |
228 | ········throw·NotFoundException.getNotFoundInstance(); | 228 | ········throw·NotFoundException.getNotFoundInstance(); |
229 | ····} | 229 | ····} |
230 | ···· | 230 | ···· |
231 | ····private·static·int·toPattern(final·int[]·array)·{ | 231 | ····private·static·int·toPattern(final·int[]·array)·{ |
232 | ········final·int·length·=·array.length; | ||
233 | ········int·n·=·0; | 232 | ········int·n·=·0; |
234 | ········for·(int·length | 233 | ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{ |
235 | ············n·+=·array[i]; | 234 | ············n·+=·array[i]; |
236 | ········} | 235 | ········} |
237 | ········int·n2·=·0; | 236 | ········int·n2·=·0; |
238 | ········for·(int·j·=·0;·j·<·length;·++j)·{ | 237 | ········for·(int·length2·=·array.length,·j·=·0;·j·<·length2;·++j)·{ |
239 | ············final·int·round·=·Math.round(array[j]·*·9.0f·/·(float)n); | 238 | ············final·int·round·=·Math.round(array[j]·*·9.0f·/·(float)n); |
240 | ············if·(round·<· | 239 | ············if·(round·<=·0·||·round·>·4)·{ |
241 | ················n2·=·-1; | 240 | ················n2·=·-1; |
242 | ················break; | 241 | ················break; |
243 | ············} | 242 | ············} |
244 | ············if·((j·&·0x1)·==·0x0)·{ | 243 | ············if·((j·&·0x1)·==·0x0)·{ |
245 | ················for·(int·k·=·0;·k·<·round;·++k)·{ | 244 | ················for·(int·k·=·0;·k·<·round;·++k)·{ |
246 | ····················n2·=·(n2·<<·1·|·0x1); | 245 | ····················n2·=·(n2·<<·1·|·0x1); |
247 | ················} | 246 | ················} |
Offset 128, 34 lines modified | Offset 128, 57 lines modified | ||
128 | ········} | 128 | ········} |
129 | ········if·(n2·>=·0)·{ | 129 | ········if·(n2·>=·0)·{ |
130 | ············return·n2; | 130 | ············return·n2; |
131 | ········} | 131 | ········} |
132 | ········throw·NotFoundException.getNotFoundInstance(); | 132 | ········throw·NotFoundException.getNotFoundInstance(); |
133 | ····} | 133 | ····} |
134 | ···· | 134 | ···· |
135 | ····private·int[]·decodeEnd(final·BitArray·bitArray)·{ | ||
136 | ········bitArray.reverse(); | ||
137 | ········try·{ | ||
138 | ············final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.END_PATTERN_REVERSED); | ||
139 | ············this.validateQuietZone(bitArray,·guardPattern[0]); | ||
140 | ············final·int·n·=·guardPattern[0]; | ||
141 | ············guardPattern[0]·=·bitArray.getSize()·-·guardPattern[1]; | ||
142 | ············guardPattern[1]·=·bitArray.getSize()·-·n; | ||
143 | ············return·guardPattern; | ||
144 | ········} | ||
145 | ········finally·{ | ||
146 | ············bitArray.reverse(); | ||
147 | ········} | ||
148 | ····} | ||
149 | ···· | ||
135 | ····private·static·void·decodeMiddle(final·BitArray·bitArray,·int·i,·final·int·n,·final·StringBuilder·sb)·{ | 150 | ····private·static·void·decodeMiddle(final·BitArray·bitArray,·int·i,·final·int·n,·final·StringBuilder·sb)·{ |
151 | ········final·int·n2·=·10; | ||
136 | ········final·int·n | 152 | ········final·int·n3·=·5; |
137 | ········final·int[]·array·=·new·int[10]; | ||
138 | ········final·int[]·array | 153 | ········final·int[]·array·=·new·int[n2]; |
154 | ········final·int[]·array2·=·new·int[n3]; | ||
139 | ········final·int[]·array3·=·new·int[n | 155 | ········final·int[]·array3·=·new·int[n3]; |
140 | ········while·(i·<·n)·{ | 156 | ········while·(i·<·n)·{ |
141 | ············recordPattern(bitArray,·i,·array); | 157 | ············recordPattern(bitArray,·i,·array); |
142 | ············for·(int·j·=·0;·j·<·n | 158 | ············for·(int·j·=·0;·j·<·n3;·++j)·{ |
143 | ················final·int·n | 159 | ················final·int·n4·=·j·*·2; |
144 | ················array2[j]·=·array[n | 160 | ················array2[j]·=·array[n4]; |
145 | ················array3[j]·=·array[n | 161 | ················array3[j]·=·array[n4·+·1]; |
146 | ············} | 162 | ············} |
147 | ············sb.append((char)(decodeDigit(array2)·+·48)); | 163 | ············sb.append((char)(decodeDigit(array2)·+·48)); |
148 | ············sb.append((char)(decodeDigit(array3)·+·48)); | 164 | ············sb.append((char)(decodeDigit(array3)·+·48)); |
149 | ············for·(int· | 165 | ············for·(int·k·=·0;·k·<·n2;·++k)·{ |
150 | ················i·+=·array[k]; | 166 | ················i·+=·array[k]; |
151 | ············} | 167 | ············} |
152 | ········} | 168 | ········} |
153 | ····} | 169 | ····} |
154 | ···· | 170 | ···· |
171 | ····private·int[]·decodeStart(final·BitArray·bitArray)·{ | ||
172 | ········final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.START_PATTERN); | ||
173 | ········this.narrowLineWidth·=·(guardPattern[1]·-·guardPattern[0])·/·4; | ||
174 | ········this.validateQuietZone(bitArray,·guardPattern[0]); | ||
175 | ········return·guardPattern; | ||
176 | ····} | ||
177 | ···· | ||
155 | ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·int[]·array)·{ | 178 | ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·int[]·array)·{ |
156 | ········final·int·n2·=·2; | 179 | ········final·int·n2·=·2; |
157 | ········final·int·n3·=·1; | 180 | ········final·int·n3·=·1; |
158 | ········final·int·length·=·array.length; | 181 | ········final·int·length·=·array.length; |
159 | ········final·int[]·array2·=·new·int[length]; | 182 | ········final·int[]·array2·=·new·int[length]; |
160 | ········final·int·size·=·bitArray.getSize(); | 183 | ········final·int·size·=·bitArray.getSize(); |
161 | ········int·n4·=·0; | 184 | ········int·n4·=·0; |
Offset 209, 29 lines modified | Offset 232, 14 lines modified | ||
209 | ········} | 232 | ········} |
210 | ········for·(int·n3·=·n·-·1;·n2·>·0·&&·n3·>=·0·&&·!bitArray.get(n3);·--n2,·--n3)·{} | 233 | ········for·(int·n3·=·n·-·1;·n2·>·0·&&·n3·>=·0·&&·!bitArray.get(n3);·--n2,·--n3)·{} |
211 | ········if·(n2·!=·0)·{ | 234 | ········if·(n2·!=·0)·{ |
212 | ············throw·NotFoundException.getNotFoundInstance(); | 235 | ············throw·NotFoundException.getNotFoundInstance(); |
213 | ········} | 236 | ········} |
214 | ····} | 237 | ····} |
215 | ···· | 238 | ···· |
216 | ····int[]·decodeEnd(final·BitArray·bitArray)·{ | ||
217 | ········bitArray.reverse(); | ||
218 | ········try·{ | ||
219 | ············final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.END_PATTERN_REVERSED); | ||
220 | ············this.validateQuietZone(bitArray,·guardPattern[0]); | ||
221 | ············final·int·n·=·guardPattern[0]; | ||
222 | ············guardPattern[0]·=·bitArray.getSize()·-·guardPattern[1]; | ||
223 | ············guardPattern[1]·=·bitArray.getSize()·-·n; | ||
224 | ············return·guardPattern; | ||
225 | ········} | ||
226 | ········finally·{ | ||
227 | ············bitArray.reverse(); | ||
228 | ········} | ||
229 | ····} | ||
230 | ···· | ||
231 | ····public·Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·Map·map)·{ | 239 | ····public·Result·decodeRow(final·int·n,·final·BitArray·bitArray,·final·Map·map)·{ |
232 | ········final·int[]·decodeStart·=·this.decodeStart(bitArray); | 240 | ········final·int[]·decodeStart·=·this.decodeStart(bitArray); |
233 | ········final·int[]·decodeEnd·=·this.decodeEnd(bitArray); | 241 | ········final·int[]·decodeEnd·=·this.decodeEnd(bitArray); |
234 | ········final·StringBuilder·sb·=·new·StringBuilder(20); | 242 | ········final·StringBuilder·sb·=·new·StringBuilder(20); |
235 | ········decodeMiddle(bitArray,·decodeStart[1],·decodeEnd[0],·sb); | 243 | ········decodeMiddle(bitArray,·decodeStart[1],·decodeEnd[0],·sb); |
236 | ········final·String·string·=·sb.toString(); | 244 | ········final·String·string·=·sb.toString(); |
237 | ········int[]·default_ALLOWED_LENGTHS·=·null; | 245 | ········int[]·default_ALLOWED_LENGTHS·=·null; |
Offset 258, 15 lines modified | Offset 266, 8 lines modified | ||
258 | ············n2·=·1; | 266 | ············n2·=·1; |
259 | ········} | 267 | ········} |
260 | ········if·(n2·==·0)·{ | 268 | ········if·(n2·==·0)·{ |
261 | ············throw·FormatException.getFormatInstance(); | 269 | ············throw·FormatException.getFormatInstance(); |
262 | ········} | 270 | ········} |
263 | ········return·new·Result(string,·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint((float)decodeStart[1],·(float)n),·new·ResultPoint((float)decodeEnd[0],·(float)n)·},·BarcodeFormat.ITF); | 271 | ········return·new·Result(string,·(byte[])null,·new·ResultPoint[]·{·new·ResultPoint((float)decodeStart[1],·(float)n),·new·ResultPoint((float)decodeEnd[0],·(float)n)·},·BarcodeFormat.ITF); |
264 | ····} | 272 | ····} |
265 | ···· | ||
266 | ····int[]·decodeStart(final·BitArray·bitArray)·{ | ||
267 | ········final·int[]·guardPattern·=·findGuardPattern(bitArray,·skipWhiteSpace(bitArray),·ITFReader.START_PATTERN); | ||
268 | ········this.narrowLineWidth·=·(guardPattern[1]·-·guardPattern[0])·/·4; | ||
269 | ········this.validateQuietZone(bitArray,·guardPattern[0]); | ||
270 | ········return·guardPattern; | ||
271 | ····} | ||
272 | } | 273 | } |
Offset 31, 15 lines modified | Offset 31, 15 lines modified | ||
31 | ····} | 31 | ····} |
32 | ···· | 32 | ···· |
33 | ····public·boolean[]·encode(final·String·s)·{ | 33 | ····public·boolean[]·encode(final·String·s)·{ |
34 | ········final·int·n·=·10; | 34 | ········final·int·n·=·10; |
35 | ········final·boolean·b·=·true; | 35 | ········final·boolean·b·=·true; |
36 | ········final·int·length·=·s.length(); | 36 | ········final·int·length·=·s.length(); |
37 | ········if·(length·%·2·!=·0)·{ | 37 | ········if·(length·%·2·!=·0)·{ |
38 | ············throw·new·IllegalArgumentException("The·leng | 38 | ············throw·new·IllegalArgumentException("The·length·of·the·input·should·be·even"); |
39 | ········} | 39 | ········} |
40 | ········if·(length·>·80)·{ | 40 | ········if·(length·>·80)·{ |
41 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length); | 41 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·less·than·80·digits·long,·but·got·"·+·length); |
42 | ········} | 42 | ········} |
43 | ········final·boolean[]·array·=·new·boolean[length·*·9·+·9]; | 43 | ········final·boolean[]·array·=·new·boolean[length·*·9·+·9]; |
44 | ········int·appendPattern·=·appendPattern(array,·0,·ITFWriter.START_PATTERN,·b); | 44 | ········int·appendPattern·=·appendPattern(array,·0,·ITFWriter.START_PATTERN,·b); |
45 | ········for·(int·i·=·0;·i·<·length;·i·+=·2)·{ | 45 | ········for·(int·i·=·0;·i·<·length;·i·+=·2)·{ |
Offset 84, 31 lines modified | Offset 84, 31 lines modified | ||
84 | ········//····55:·aload···········12 | 84 | ········//····55:·aload···········12 |
85 | ········//····57:·invokevirtual···com/google/zxing/Result.getBarcodeFormat:()Lcom/google/zxing/BarcodeFormat; | 85 | ········//····57:·invokevirtual···com/google/zxing/Result.getBarcodeFormat:()Lcom/google/zxing/BarcodeFormat; |
86 | ········//····60:·astore··········10 | 86 | ········//····60:·astore··········10 |
87 | ········//····62:·getstatic·······com/google/zxing/BarcodeFormat.EAN_13:Lcom/google/zxing/BarcodeFormat; | 87 | ········//····62:·getstatic·······com/google/zxing/BarcodeFormat.EAN_13:Lcom/google/zxing/BarcodeFormat; |
88 | ········//····65:·astore··········7 | 88 | ········//····65:·astore··········7 |
89 | ········//····67:·aload···········10 | 89 | ········//····67:·aload···········10 |
90 | ········//····69:·aload···········7 | 90 | ········//····69:·aload···········7 |
91 | ········//····71:·if_acmpne·······2 | 91 | ········//····71:·if_acmpne·······217 |
92 | ········//····74:·aload···········12 | 92 | ········//····74:·aload···········12 |
93 | ········//····76:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String; | 93 | ········//····76:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String; |
94 | ········//····79:·astore··········10 | 94 | ········//····79:·astore··········10 |
95 | ········//····81:·aload···········10 | 95 | ········//····81:·aload···········10 |
96 | ········//····83:·iconst_0······· | 96 | ········//····83:·iconst_0······· |
97 | ········//····84:·invokevirtual···java/lang/String.charAt:(I)C | 97 | ········//····84:·invokevirtual···java/lang/String.charAt:(I)C |
98 | ········//····87:·istore··········9 | 98 | ········//····87:·istore··········9 |
99 | ········//····89:·bipush··········48 | 99 | ········//····89:·bipush··········48 |
100 | ········//····91:·istore··········13 | 100 | ········//····91:·istore··········13 |
101 | ········//····93:·iload···········9 | 101 | ········//····93:·iload···········9 |
102 | ········//····95:·iload···········13 | 102 | ········//····95:·iload···········13 |
103 | ········//····97:·if_icmpne·······2 | 103 | ········//····97:·if_icmpne·······217 |
104 | ········//···100:·iload···········4 | 104 | ········//···100:·iload···········4 |
105 | ········//···102:·istore··········14 | 105 | ········//···102:·istore··········14 |
106 | ········//···104:·aload_3········ | 106 | ········//···104:·aload_3········ |
107 | ········//···105:·ifnonnull·······2 | 107 | ········//···105:·ifnonnull·······223 |
108 | ········//···108:·aconst_null···· | 108 | ········//···108:·aconst_null···· |
109 | ········//···109:·astore··········15 | 109 | ········//···109:·astore··········15 |
110 | ········//···111:·aload···········15 | 110 | ········//···111:·aload···········15 |
111 | ········//···113:·ifnull··········137 | 111 | ········//···113:·ifnull··········137 |
112 | ········//···116:·getstatic·······com/google/zxing/BarcodeFormat.UPC_A:Lcom/google/zxing/BarcodeFormat; | 112 | ········//···116:·getstatic·······com/google/zxing/BarcodeFormat.UPC_A:Lcom/google/zxing/BarcodeFormat; |
113 | ········//···119:·astore··········10 | 113 | ········//···119:·astore··········10 |
114 | ········//···121:·aload···········15 | 114 | ········//···121:·aload···········15 |
Offset 116, 17 lines modified | Offset 116, 17 lines modified | ||
116 | ········//···125:·invokeinterface·java/util/Collection.contains:(Ljava/lang/Object;)Z | 116 | ········//···125:·invokeinterface·java/util/Collection.contains:(Ljava/lang/Object;)Z |
117 | ········//···130:·istore··········9 | 117 | ········//···130:·istore··········9 |
118 | ········//···132:·iload···········9 | 118 | ········//···132:·iload···········9 |
119 | ········//···134:·ifeq············141 | 119 | ········//···134:·ifeq············141 |
120 | ········//···137:·iload···········4 | 120 | ········//···137:·iload···········4 |
121 | ········//···139:·istore··········5 | 121 | ········//···139:·istore··········5 |
122 | ········//···141:·iload···········14 | 122 | ········//···141:·iload···········14 |
123 | ········//···143:·ifeq············2 | 123 | ········//···143:·ifeq············248 |
124 | ········//···146:·iload···········5 | 124 | ········//···146:·iload···········5 |
125 | ········//···148:·ifeq············2 | 125 | ········//···148:·ifeq············248 |
126 | ········//···151:·new·············Lcom/google/zxing/Result; | 126 | ········//···151:·new·············Lcom/google/zxing/Result; |
127 | ········//···154:·astore··········16 | 127 | ········//···154:·astore··········16 |
128 | ········//···156:·aload···········12 | 128 | ········//···156:·aload···········12 |
129 | ········//···158:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String; | 129 | ········//···158:·invokevirtual···com/google/zxing/Result.getText:()Ljava/lang/String; |
130 | ········//···161:·iload···········4 | 130 | ········//···161:·iload···········4 |
131 | ········//···163:·invokevirtual···java/lang/String.substring:(I)Ljava/lang/String; | 131 | ········//···163:·invokevirtual···java/lang/String.substring:(I)Ljava/lang/String; |
132 | ········//···166:·astore··········10 | 132 | ········//···166:·astore··········10 |
Offset 148, 43 lines modified | Offset 148, 43 lines modified | ||
148 | ········//···202:·invokevirtual···com/google/zxing/Result.getResultMetadata:()Ljava/util/Map; | 148 | ········//···202:·invokevirtual···com/google/zxing/Result.getResultMetadata:()Ljava/util/Map; |
149 | ········//···205:·astore··········10 | 149 | ········//···205:·astore··········10 |
150 | ········//···207:·aload···········16 | 150 | ········//···207:·aload···········16 |
151 | ········//···209:·aload···········10 | 151 | ········//···209:·aload···········10 |
152 | ········//···211:·invokevirtual···com/google/zxing/Result.putAllMetadata:(Ljava/util/Map;)V | 152 | ········//···211:·invokevirtual···com/google/zxing/Result.putAllMetadata:(Ljava/util/Map;)V |
153 | ········//···214:·aload···········16 | 153 | ········//···214:·aload···········16 |
154 | ········//···216:·areturn········ | 154 | ········//···216:·areturn········ |
155 | ········//···217:·pop············ | ||
156 | ········//···218:·iload···········9 | ||
157 | ········//···220:·iconst_1······· | ||
158 | ········//···221:·iadd··········· | ||
159 | ········//···222:·istore··········9 | ||
160 | ········//···224:·goto············29 | ||
161 | ········//···2 | 155 | ········//···217:·iconst_0······· |
162 | ········//···2 | 156 | ········//···218:·istore··········14 |
163 | ········//···2 | 157 | ········//···220:·goto············104 |
164 | ········//···2 | 158 | ········//···223:·getstatic·······com/google/zxing/DecodeHintType.POSSIBLE_FORMATS:Lcom/google/zxing/DecodeHintType; |
165 | ········//···2 | 159 | ········//···226:·astore··········10 |
166 | ········//···2 | 160 | ········//···228:·aload_3········ |
167 | ········//···2 | 161 | ········//···229:·aload···········10 |
168 | ········//···2 | 162 | ········//···231:·invokeinterface·java/util/Map.get:(Ljava/lang/Object;)Ljava/lang/Object; |
169 | ········//···2 | 163 | ········//···236:·checkcast·······Ljava/util/Collection; |
170 | ········//···2 | 164 | ········//···239:·astore··········10 |
171 | ········//···2 | 165 | ········//···241:·aload···········10 |
172 | ········//···2 | 166 | ········//···243:·astore··········15 |
173 | ········//···2 | 167 | ········//···245:·goto············111 |
174 | ········//···2 | 168 | ········//···248:·aload···········12 |
175 | ········//···2 | 169 | ········//···250:·astore··········16 |
176 | ········//···2 | 170 | ········//···252:·goto············214 |
171 | ········//···255:·pop············ | ||
172 | ········//···256:·iload···········9 | ||
173 | ········//···258:·iconst_1······· | ||
174 | ········//···259:·iadd··········· | ||
175 | ········//···260:·istore··········9 | ||
176 | ········//···262:·goto············29 | ||
177 | ········//···265:·invokestatic····com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException; | 177 | ········//···265:·invokestatic····com/google/zxing/NotFoundException.getNotFoundInstance:()Lcom/google/zxing/NotFoundException; |
178 | ········//···268:·athrow········· | 178 | ········//···268:·athrow········· |
179 | ········//····Exceptions: | 179 | ········//····Exceptions: |
180 | ········//··Try···········Handler | 180 | ········//··Try···········Handler |
181 | ········//··Start··End····Start··End····Type······························ | 181 | ········//··Start··End····Start··End····Type······························ |
182 | ········//··-----··-----··-----··-----··---------------------------------- | 182 | ········//··-----··-----··-----··-----··---------------------------------- |
183 | ········//··49·····53·····2 | 183 | ········//··49·····53·····255····265····Lcom/google/zxing/ReaderException; |
184 | ········//· | 184 | ········//· |
185 | ········//·The·error·that·occurred·was: | 185 | ········//·The·error·that·occurred·was: |
186 | ········//· | 186 | ········//· |
187 | ········//·java.lang.NullPointerException | 187 | ········//·java.lang.NullPointerException |
188 | ········//·····at·com.strobel.assembler.ir.StackMappingVisitor.push(StackMappingVisitor.java:290) | 188 | ········//·····at·com.strobel.assembler.ir.StackMappingVisitor.push(StackMappingVisitor.java:290) |
189 | ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.execute(StackMappingVisitor.java:833) | 189 | ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.execute(StackMappingVisitor.java:833) |
190 | ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.visit(StackMappingVisitor.java:398) | 190 | ········//·····at·com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.visit(StackMappingVisitor.java:398) |
Offset 13, 108 lines modified | Offset 13, 115 lines modified | ||
13 | import·java.util.Arrays; | 13 | import·java.util.Arrays; |
14 | import·com.google.zxing.NotFoundException; | 14 | import·com.google.zxing.NotFoundException; |
15 | import·com.google.zxing.common.BitArray; | 15 | import·com.google.zxing.common.BitArray; |
16 | import·com.google.zxing.FormatException; | 16 | import·com.google.zxing.FormatException; |
17 | public·abstract·class·UPCEANReader·extends·OneDReader | 17 | public·abstract·class·UPCEANReader·extends·OneDReader |
18 | { | 18 | { |
19 | ····static·final·int[]·END_PATTERN; | ||
19 | ····static·final·int[][]·L_AND_G_PATTERNS; | 20 | ····static·final·int[][]·L_AND_G_PATTERNS; |
20 | ····static·final·int[][]·L_PATTERNS; | 21 | ····static·final·int[][]·L_PATTERNS; |
21 | ····private·static·final·float·MAX_AVG_VARIANCE·=·0.48f; | 22 | ····private·static·final·float·MAX_AVG_VARIANCE·=·0.48f; |
22 | ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.7f; | 23 | ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.7f; |
23 | ····static·final·int[]·MIDDLE_PATTERN; | 24 | ····static·final·int[]·MIDDLE_PATTERN; |
24 | ····static·final·int[]·START_END_PATTERN; | 25 | ····static·final·int[]·START_END_PATTERN; |
25 | ····private·final·StringBuilder·decodeRowStringBuffer; | 26 | ····private·final·StringBuilder·decodeRowStringBuffer; |
26 | ····private·final·EANManufacturerOrgSupport·eanManSupport; | 27 | ····private·final·EANManufacturerOrgSupport·eanManSupport; |
27 | ····private·final·UPCEANExtensionSupport·extensionReader; | 28 | ····private·final·UPCEANExtensionSupport·extensionReader; |
28 | ···· | 29 | ···· |
29 | ····static·{ | 30 | ····static·{ |
30 | ········final·int·n·=· | 31 | ········final·int·n·=·6; |
31 | ········final·int·n2·=·5; | 32 | ········final·int·n2·=·5; |
32 | ········final·int·n3·=·3; | 33 | ········final·int·n3·=·3; |
33 | ········final·int·n4·=·4; | 34 | ········final·int·n4·=·4; |
34 | ········final·int[]·array; | 35 | ········final·int[]·array; |
35 | ········final·int[]·start_END_PATTERN·=·array·=·new·int[n3]; | 36 | ········final·int[]·start_END_PATTERN·=·array·=·new·int[n3]; |
36 | ········array[0]·=·1; | 37 | ········array[0]·=·1; |
37 | ········array[2]·=·(array[1]·=·1); | 38 | ········array[2]·=·(array[1]·=·1); |
38 | ········START_END_PATTERN·=·start_END_PATTERN; | 39 | ········START_END_PATTERN·=·start_END_PATTERN; |
39 | ········final·int[]·array2; | 40 | ········final·int[]·array2; |
40 | ········final·int[]·middle_PATTERN·=·array2·=·new·int[n2]; | 41 | ········final·int[]·middle_PATTERN·=·array2·=·new·int[n2]; |
41 | ········array2[0]·=·1; | 42 | ········array2[0]·=·1; |
42 | ········array2[2]·=·(array2[1]·=·1); | 43 | ········array2[2]·=·(array2[1]·=·1); |
43 | ········array2[4]·=·(array2[3]·=·1); | 44 | ········array2[4]·=·(array2[3]·=·1); |
44 | ········MIDDLE_PATTERN·=·middle_PATTERN; | 45 | ········MIDDLE_PATTERN·=·middle_PATTERN; |
46 | ········final·int[]·array3; | ||
47 | ········final·int[]·end_PATTERN·=·array3·=·new·int[n]; | ||
48 | ········array3[array3[0]·=·1]·=·1; | ||
49 | ········array3[3]·=·(array3[2]·=·1); | ||
50 | ········array3[5]·=·(array3[4]·=·1); | ||
51 | ········END_PATTERN·=·end_PATTERN; | ||
45 | ········final·int[][]·l_PATTERNS·=·new·int[ | 52 | ········final·int[][]·l_PATTERNS·=·new·int[10][]; |
46 | ········final·int[]·array | 53 | ········final·int[]·array5; |
47 | ········final·int[]·array | 54 | ········final·int[]·array4·=·array5·=·new·int[n4]; |
48 | ········array | 55 | ········array5[0]·=·3; |
49 | ········array | 56 | ········array5[1]·=·2; |
50 | ········array | 57 | ········array5[3]·=·(array5[2]·=·1); |
51 | ········l_PATTERNS[0]·=·array | 58 | ········l_PATTERNS[0]·=·array4; |
52 | ········final·int[]·array | 59 | ········final·int[]·array7; |
53 | ········final·int[]·array | 60 | ········final·int[]·array6·=·array7·=·new·int[n4]; |
54 | ········array | 61 | ········array7[0]·=·2; |
55 | ········array | 62 | ········array7[array7[1]·=·2]·=·2; |
56 | ········l_PATTERNS[array | 63 | ········l_PATTERNS[array7[3]·=·1]·=·array6; |
57 | ········final·int[]·array | 64 | ········final·int[]·array9; |
58 | ········final·int[]·array | 65 | ········final·int[]·array8·=·array9·=·new·int[n4]; |
59 | ········array | 66 | ········array9[0]·=·2; |
60 | ········array | 67 | ········array9[1]·=·1; |
61 | ········array | 68 | ········array9[2]·=·2; |
62 | ········l_PATTERNS[array | 69 | ········l_PATTERNS[array9[3]·=·2]·=·array8; |
63 | ········final·int[]·array1 | 70 | ········final·int[]·array11; |
64 | ········final·int[]·array | 71 | ········final·int[]·array10·=·array11·=·new·int[n4]; |
65 | ········array1 | 72 | ········array11[array11[0]·=·1]·=·4; |
66 | ········array1 | 73 | ········array11[3]·=·(array11[2]·=·1); |
67 | ········l_PATTERNS[n3]·=·array | 74 | ········l_PATTERNS[n3]·=·array10; |
68 | ········final·int[]·array1 | 75 | ········final·int[]·array13; |
69 | ········final·int[]·array1 | 76 | ········final·int[]·array12·=·array13·=·new·int[n4]; |
70 | ········array1 | 77 | ········array13[array13[0]·=·1]·=·1; |
71 | ········array1 | 78 | ········array13[array13[2]·=·3]·=·2; |
72 | ········l_PATTERNS[n4]·=·array1 | 79 | ········l_PATTERNS[n4]·=·array12; |
73 | ········final·int[]·array1 | 80 | ········final·int[]·array15; |
74 | ········final·int[]·array1 | 81 | ········final·int[]·array14·=·array15·=·new·int[n4]; |
75 | ········array1 | 82 | ········array15[array15[0]·=·1]·=·2; |
76 | ········array1 | 83 | ········array15[array15[2]·=·3]·=·1; |
77 | ········l_PATTERNS[n2]·=·array1 | 84 | ········l_PATTERNS[n2]·=·array14; |
78 | ········final·int[]·array1 | 85 | ········final·int[]·array17; |
79 | ········final·int[]·array1 | 86 | ········final·int[]·array16·=·array17·=·new·int[n4]; |
80 | ········array1 | 87 | ········array17[0]·=·1; |
81 | ········array1 | 88 | ········array17[2]·=·(array17[1]·=·1); |
82 | ········array1 | 89 | ········array17[3]·=·4; |
83 | ········l_PATTERNS[ | 90 | ········l_PATTERNS[n]·=·array16; |
84 | ········final·int[]·array1 | 91 | ········final·int[]·array19; |
85 | ········final·int[]·array1 | 92 | ········final·int[]·array18·=·array19·=·new·int[n4]; |
86 | ········array1 | 93 | ········array19[array19[0]·=·1]·=·3; |
87 | ········array1 | 94 | ········array19[2]·=·1; |
88 | ········array1 | 95 | ········array19[3]·=·2; |
89 | ········l_PATTERNS[7]·=·array1 | 96 | ········l_PATTERNS[7]·=·array18; |
90 | ········final·int[]·array2 | 97 | ········final·int[]·array21; |
91 | ········final·int[]·array | 98 | ········final·int[]·array20·=·array21·=·new·int[n4]; |
92 | ········array2 | 99 | ········array21[0]·=·1; |
93 | ········array2 | 100 | ········array21[array21[1]·=·2]·=·1; |
94 | ········array2 | 101 | ········array21[3]·=·3; |
95 | ········l_PATTERNS[8]·=·array | 102 | ········l_PATTERNS[8]·=·array20; |
96 | ········final·int·n5·=·9; | 103 | ········final·int·n5·=·9; |
97 | ········final·int[]·array2 | 104 | ········final·int[]·array23; |
98 | ········final·int[]·array2 | 105 | ········final·int[]·array22·=·array23·=·new·int[n4]; |
99 | ········array2 | 106 | ········array23[0]·=·3; |
100 | ········array2 | 107 | ········array23[2]·=·(array23[1]·=·1); |
101 | ········array2 | 108 | ········array23[3]·=·2; |
102 | ········l_PATTERNS[n5]·=·array2 | 109 | ········l_PATTERNS[n5]·=·array22; |
103 | ········L_PATTERNS·=·l_PATTERNS; | 110 | ········L_PATTERNS·=·l_PATTERNS; |
104 | ········L_AND_G_PATTERNS·=·new·int[20][]; | 111 | ········L_AND_G_PATTERNS·=·new·int[20][]; |
105 | ········System.arraycopy(UPCEANReader.L_PATTERNS,·0,·UPCEANReader.L_AND_G_PATTERNS,·0,· | 112 | ········System.arraycopy(UPCEANReader.L_PATTERNS,·0,·UPCEANReader.L_AND_G_PATTERNS,·0,·10); |
106 | ········for·(int·i·=·10;·i·<·20;·++i)·{ | 113 | ········for·(int·i·=·10;·i·<·20;·++i)·{ |
107 | ············final·int[]·array2 | 114 | ············final·int[]·array24·=·UPCEANReader.L_PATTERNS[i·-·10]; |
108 | ············final·int[]·array2 | 115 | ············final·int[]·array25·=·new·int[array24.length]; |
109 | ············for·(int·j·=·0;·j·<·array2 | 116 | ············for·(int·j·=·0;·j·<·array24.length;·++j)·{ |
110 | ················array2 | 117 | ················array25[j]·=·array24[array24.length·-·j·-·1]; |
111 | ············} | 118 | ············} |
112 | ············UPCEANReader.L_AND_G_PATTERNS[i]·=·array2 | 119 | ············UPCEANReader.L_AND_G_PATTERNS[i]·=·array25; |
113 | ········} | 120 | ········} |
114 | ····} | 121 | ····} |
115 | ···· | 122 | ···· |
116 | ····protected·UPCEANReader()·{ | 123 | ····protected·UPCEANReader()·{ |
117 | ········this.decodeRowStringBuffer·=·new·StringBuilder(20); | 124 | ········this.decodeRowStringBuffer·=·new·StringBuilder(20); |
118 | ········this.extensionReader·=·new·UPCEANExtensionSupport(); | 125 | ········this.extensionReader·=·new·UPCEANExtensionSupport(); |
119 | ········this.eanManSupport·=·new·EANManufacturerOrgSupport(); | 126 | ········this.eanManSupport·=·new·EANManufacturerOrgSupport(); |
Offset 168, 51 lines modified | Offset 175, 51 lines modified | ||
168 | ····static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·boolean·b,·final·int[]·array)·{ | 175 | ····static·int[]·findGuardPattern(final·BitArray·bitArray,·final·int·n,·final·boolean·b,·final·int[]·array)·{ |
169 | ········return·findGuardPattern(bitArray,·n,·b,·array,·new·int[array.length]); | 176 | ········return·findGuardPattern(bitArray,·n,·b,·array,·new·int[array.length]); |
170 | ····} | 177 | ····} |
171 | ···· | 178 | ···· |
172 | ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·int·n,·final·boolean·b,·final·int[]·array,·final·int[]·array2)·{ | 179 | ····private·static·int[]·findGuardPattern(final·BitArray·bitArray,·int·n,·final·boolean·b,·final·int[]·array,·final·int[]·array2)·{ |
173 | ········final·int·n2·=·2; | 180 | ········final·int·n2·=·2; |
174 | ········final·int·n3·=·1; | 181 | ········final·int·n3·=·1; |
175 | ········final·int·length·=·array.length; | ||
176 | ········final·int·size·=·bitArray.getSize(); | 182 | ········final·int·size·=·bitArray.getSize(); |
177 | ········int·n4·=·b·?·1·:·0; | ||
178 | ········if·(b)·{ | 183 | ········if·(b)·{ |
Max diff block lines reached; 1814/9249 bytes (19.61%) of diff not shown. |
Offset 1, 11 lines modified | Offset 1, 12 lines modified | ||
1 | package·com.google.zxing.oned.rss; | 1 | package·com.google.zxing.oned.rss; |
2 | import·com.google.zxing.NotFoundException; | 2 | import·com.google.zxing.NotFoundException; |
3 | import·com.google.zxing.common.detector.MathUtils; | ||
3 | import·com.google.zxing.oned.OneDReader; | 4 | import·com.google.zxing.oned.OneDReader; |
4 | public·abstract·class·AbstractRSSReader·extends·OneDReader | 5 | public·abstract·class·AbstractRSSReader·extends·OneDReader |
5 | { | 6 | { |
6 | ····private·static·final·float·MAX_AVG_VARIANCE·=·0.2f; | 7 | ····private·static·final·float·MAX_AVG_VARIANCE·=·0.2f; |
7 | ····private·static·final·float·MAX_FINDER_PATTERN_RATIO·=·0.89285713f; | 8 | ····private·static·final·float·MAX_FINDER_PATTERN_RATIO·=·0.89285713f; |
8 | ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.45f; | 9 | ····private·static·final·float·MAX_INDIVIDUAL_VARIANCE·=·0.45f; |
Offset 24, 19 lines modified | Offset 25, 15 lines modified | ||
24 | ········this.oddRoundingErrors·=·new·float[n]; | 25 | ········this.oddRoundingErrors·=·new·float[n]; |
25 | ········this.evenRoundingErrors·=·new·float[n]; | 26 | ········this.evenRoundingErrors·=·new·float[n]; |
26 | ········this.oddCounts·=·new·int[this.dataCharacterCounters.length·/·2]; | 27 | ········this.oddCounts·=·new·int[this.dataCharacterCounters.length·/·2]; |
27 | ········this.evenCounts·=·new·int[this.dataCharacterCounters.length·/·2]; | 28 | ········this.evenCounts·=·new·int[this.dataCharacterCounters.length·/·2]; |
28 | ····} | 29 | ····} |
29 | ···· | 30 | ···· |
30 | ····protected·static·int·count(final·int[]·array)·{ | 31 | ····protected·static·int·count(final·int[]·array)·{ |
32 | ········return·MathUtils.sum(array); | ||
31 | ········int·n·=·0; | ||
32 | ········for·(int·length·=·array.length,·i·=·0;·i·<·length;·++i)·{ | ||
33 | ············n·+=·array[i]; | ||
34 | ········} | ||
35 | ········return·n; | ||
36 | ····} | 33 | ····} |
37 | ···· | 34 | ···· |
38 | ····protected·static·void·decrement(final·int[]·array,·final·float[]·array2)·{ | 35 | ····protected·static·void·decrement(final·int[]·array,·final·float[]·array2)·{ |
39 | ········int·n·=·0; | 36 | ········int·n·=·0; |
40 | ········float·n2·=·array2[0]; | 37 | ········float·n2·=·array2[0]; |
41 | ········for·(int·i·=·1;·i·<·array.length;·++i)·{ | 38 | ········for·(int·i·=·1;·i·<·array.length;·++i)·{ |
42 | ············if·(array2[i]·<·n2)·{ | 39 | ············if·(array2[i]·<·n2)·{ |
Offset 9, 15 lines modified | Offset 9, 15 lines modified | ||
9 | ········super(bitArray); | 9 | ········super(bitArray); |
10 | ····} | 10 | ····} |
11 | ···· | 11 | ···· |
12 | ····protected·abstract·void·addWeightCode(final·StringBuilder·p0,·final·int·p1); | 12 | ····protected·abstract·void·addWeightCode(final·StringBuilder·p0,·final·int·p1); |
13 | ···· | 13 | ···· |
14 | ····protected·abstract·int·checkWeight(final·int·p0); | 14 | ····protected·abstract·int·checkWeight(final·int·p0); |
15 | ···· | 15 | ···· |
16 | ···· | 16 | ····final·void·encodeCompressedWeight(final·StringBuilder·sb,·final·int·n,·final·int·n2)·{ |
17 | ········final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(n,·n2); | 17 | ········final·int·numericValueFromBitArray·=·this.getGeneralDecoder().extractNumericValueFromBitArray(n,·n2); |
18 | ········this.addWeightCode(sb,·numericValueFromBitArray); | 18 | ········this.addWeightCode(sb,·numericValueFromBitArray); |
19 | ········final·int·checkWeight·=·this.checkWeight(numericValueFromBitArray); | 19 | ········final·int·checkWeight·=·this.checkWeight(numericValueFromBitArray); |
20 | ········int·n3·=·100000; | 20 | ········int·n3·=·100000; |
21 | ········for·(int·i·=·0;·i·<·5;·++i)·{ | 21 | ········for·(int·i·=·0;·i·<·5;·++i)·{ |
22 | ············if·(checkWeight·/·n3·==·0)·{ | 22 | ············if·(checkWeight·/·n3·==·0)·{ |
23 | ················sb.append('0'); | 23 | ················sb.append('0'); |
Offset 37, 38 lines modified | Offset 37, 40 lines modified | ||
37 | ················return; | 37 | ················return; |
38 | ············} | 38 | ············} |
39 | ········} | 39 | ········} |
40 | ········throw·NotFoundException.getNotFoundInstance(); | 40 | ········throw·NotFoundException.getNotFoundInstance(); |
41 | ····} | 41 | ····} |
42 | ···· | 42 | ···· |
43 | ····protected·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{ | 43 | ····protected·int·decodeMiddle(final·BitArray·bitArray,·final·int[]·array,·final·StringBuilder·sb)·{ |
44 | ········final·int·n·=·6; | ||
45 | ········final·int·n2·=·1; | ||
44 | ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters; | 46 | ········final·int[]·decodeMiddleCounters·=·this.decodeMiddleCounters; |
45 | ········decodeMiddleCounters[ | 47 | ········decodeMiddleCounters[n2]·=·(decodeMiddleCounters[0]·=·0); |
46 | ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0); | 48 | ········decodeMiddleCounters[3]·=·(decodeMiddleCounters[2]·=·0); |
47 | ········final·int·size·=·bitArray.getSize(); | 49 | ········final·int·size·=·bitArray.getSize(); |
48 | ········int·n·=·array[ | 50 | ········int·n3·=·array[n2]; |
49 | ········int·n | 51 | ········int·n4·=·0; |
50 | ········for·(int·n | 52 | ········for·(int·n5·=·0;·n5·<·n·&&·n3·<·size;·++n5)·{ |
51 | ············final·int·decodeDigit·=·decodeDigit(bitArray,·decodeMiddleCounters,·n,·EAN13Reader.L_AND_G_PATTERNS); | 53 | ············final·int·decodeDigit·=·decodeDigit(bitArray,·decodeMiddleCounters,·n3,·EAN13Reader.L_AND_G_PATTERNS); |
52 | ············sb.append((char)(decodeDigit·%·10·+·48)); | 54 | ············sb.append((char)(decodeDigit·%·10·+·48)); |
53 | ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{ | 55 | ············for·(int·length·=·decodeMiddleCounters.length,·i·=·0;·i·<·length;·++i)·{ |
54 | ················n·+=·decodeMiddleCounters[i]; | 56 | ················n3·+=·decodeMiddleCounters[i]; |
55 | ············} | 57 | ············} |
56 | ············if·(decodeDigit·>=·10)·{ | 58 | ············if·(decodeDigit·>=·10)·{ |
57 | ················n | 59 | ················n4·|=·n2·<<·5·-·n5; |
58 | ············} | 60 | ············} |
59 | ········} | 61 | ········} |
60 | ········determineFirstDigit(sb,·n | 62 | ········determineFirstDigit(sb,·n4); |
61 | ········int·n | 63 | ········int·n6·=·findGuardPattern(bitArray,·n3,·(boolean)(n2·!=·0),·EAN13Reader.MIDDLE_PATTERN)[n2]; |
62 | ········for·(int·n | 64 | ········for·(int·n7·=·0;·n7·<·n·&&·n6·<·size;·++n7)·{ |
63 | ············sb.append((char)(decodeDigit(bitArray,·decodeMiddleCounters,·n | 65 | ············sb.append((char)(decodeDigit(bitArray,·decodeMiddleCounters,·n6,·EAN13Reader.L_PATTERNS)·+·48)); |
64 | ············for·(int·length2·=·decodeMiddleCounters.length,·j·=·0;·j·<·length2;·++j)·{ | 66 | ············for·(int·length2·=·decodeMiddleCounters.length,·j·=·0;·j·<·length2;·++j)·{ |
65 | ················n | 67 | ················n6·+=·decodeMiddleCounters[j]; |
66 | ············} | 68 | ············} |
67 | ········} | 69 | ········} |
68 | ········return·n | 70 | ········return·n6; |
69 | ····} | 71 | ····} |
70 | ···· | 72 | ···· |
71 | ····BarcodeFormat·getBarcodeFormat()·{ | 73 | ····BarcodeFormat·getBarcodeFormat()·{ |
72 | ········return·BarcodeFormat.EAN_13; | 74 | ········return·BarcodeFormat.EAN_13; |
73 | ····} | 75 | ····} |
74 | } | 76 | } |
Offset 28, 15 lines modified | Offset 28, 15 lines modified | ||
28 | ············} | 28 | ············} |
29 | ········} | 29 | ········} |
30 | ········catch·(FormatException·ex)·{ | 30 | ········catch·(FormatException·ex)·{ |
31 | ············throw·new·IllegalArgumentException("Illegal·contents"); | 31 | ············throw·new·IllegalArgumentException("Illegal·contents"); |
32 | ········} | 32 | ········} |
33 | ········final·int·n·=·EAN13Reader.FIRST_DIGIT_ENCODINGS[Integer.parseInt(s.substring(0,·endIndex))]; | 33 | ········final·int·n·=·EAN13Reader.FIRST_DIGIT_ENCODINGS[Integer.parseInt(s.substring(0,·endIndex))]; |
34 | ········final·boolean[]·array·=·new·boolean[95]; | 34 | ········final·boolean[]·array·=·new·boolean[95]; |
35 | ········int·n2·=· | 35 | ········int·n2·=·appendPattern(array,·0,·UPCEANReader.START_END_PATTERN,·(boolean)(endIndex·!=·0))·+·0; |
36 | ········for·(int·i·=·1;·i·<=·6;·++i)·{ | 36 | ········for·(int·i·=·1;·i·<=·6;·++i)·{ |
37 | ············int·int1·=·Integer.parseInt(s.substring(i,·i·+·1)); | 37 | ············int·int1·=·Integer.parseInt(s.substring(i,·i·+·1)); |
38 | ············if·((n·>>·6·-·i·&·0x1)·==·endIndex)·{ | 38 | ············if·((n·>>·6·-·i·&·0x1)·==·endIndex)·{ |
39 | ················int1·+=·10; | 39 | ················int1·+=·10; |
40 | ············} | 40 | ············} |
41 | ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_AND_G_PATTERNS[int1],·false); | 41 | ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_AND_G_PATTERNS[int1],·false); |
42 | ········} | 42 | ········} |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | ········10:·putfield······#13·················//·Field·decodeMiddleCounters:[I | 80 | ········10:·putfield······#13·················//·Field·decodeMiddleCounters:[I |
81 | ········13:·return | 81 | ········13:·return |
82 | ··protected·int·decodeMiddle(com.google.zxing.common.BitArray,·int[],·java.lang.StringBuilder); | 82 | ··protected·int·decodeMiddle(com.google.zxing.common.BitArray,·int[],·java.lang.StringBuilder); |
83 | ····descriptor:·(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I | 83 | ····descriptor:·(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I |
84 | ····flags:·(0x0004)·ACC_PROTECTED | 84 | ····flags:·(0x0004)·ACC_PROTECTED |
85 | ····Code: | 85 | ····Code: |
86 | ······stack=300,·locals=1 | 86 | ······stack=300,·locals=15,·args_size=4 |
87 | ·········0:·iconst_4 | 87 | ·········0:·iconst_4 |
88 | ·········1:·istore········4 | 88 | ·········1:·istore········4 |
89 | ·········3:·iconst_1 | 89 | ·········3:·iconst_1 |
90 | ·········4:·istore········5 | 90 | ·········4:·istore········5 |
91 | ·········6:·aload_0 | 91 | ·········6:·aload_0 |
92 | ·········7:·getfield······#13·················//·Field·decodeMiddleCounters:[I | 92 | ·········7:·getfield······#13·················//·Field·decodeMiddleCounters:[I |
93 | ········10:·astore········6 | 93 | ········10:·astore········6 |
Offset 173, 16 lines modified | Offset 173, 16 lines modified | ||
173 | ·······148:·getstatic·····#39·················//·Field·MIDDLE_PATTERN:[I | 173 | ·······148:·getstatic·····#39·················//·Field·MIDDLE_PATTERN:[I |
174 | ·······151:·astore········11 | 174 | ·······151:·astore········11 |
175 | ·······153:·aload_1 | 175 | ·······153:·aload_1 |
176 | ·······154:·iload·········9 | 176 | ·······154:·iload·········9 |
177 | ·······156:·iload·········5 | 177 | ·······156:·iload·········5 |
178 | ·······158:·aload·········11 | 178 | ·······158:·aload·········11 |
179 | ·······160:·invokestatic··#43·················//·Method·findGuardPattern:(Lcom/google/zxing/common/BitArray;IZ[I)[I | 179 | ·······160:·invokestatic··#43·················//·Method·findGuardPattern:(Lcom/google/zxing/common/BitArray;IZ[I)[I |
180 | ·······163:·astore········1 | 180 | ·······163:·astore········11 |
181 | ·······165:·aload·········1 | 181 | ·······165:·aload·········11 |
182 | ·······167:·iload·········5 | 182 | ·······167:·iload·········5 |
183 | ·······169:·iaload | 183 | ·······169:·iaload |
184 | ·······170:·istore········9 | 184 | ·······170:·istore········9 |
185 | ·······172:·iconst_0 | 185 | ·······172:·iconst_0 |
186 | ·······173:·istore········10 | 186 | ·······173:·istore········10 |
187 | ·······175:·iload·········10 | 187 | ·······175:·iload·········10 |
188 | ·······177:·iload·········4 | 188 | ·······177:·iload·········4 |
Offset 18, 15 lines modified | Offset 18, 15 lines modified | ||
18 | ···· | 18 | ···· |
19 | ····public·boolean[]·encode(final·String·s)·{ | 19 | ····public·boolean[]·encode(final·String·s)·{ |
20 | ········final·boolean·b·=·true; | 20 | ········final·boolean·b·=·true; |
21 | ········if·(s.length()·!=·8)·{ | 21 | ········if·(s.length()·!=·8)·{ |
22 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·8·digits·long,·but·got·"·+·s.length()); | 22 | ············throw·new·IllegalArgumentException("Requested·contents·should·be·8·digits·long,·but·got·"·+·s.length()); |
23 | ········} | 23 | ········} |
24 | ········final·boolean[]·array·=·new·boolean[67]; | 24 | ········final·boolean[]·array·=·new·boolean[67]; |
25 | ········int·n·=· | 25 | ········int·n·=·appendPattern(array,·0,·UPCEANReader.START_END_PATTERN,·b)·+·0; |
26 | ········for·(int·i·=·0;·i·<=·3;·++i)·{ | 26 | ········for·(int·i·=·0;·i·<=·3;·++i)·{ |
27 | ············n·+=·appendPattern(array,·n,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(i,·i·+·1))],·false); | 27 | ············n·+=·appendPattern(array,·n,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(i,·i·+·1))],·false); |
28 | ········} | 28 | ········} |
29 | ········int·n2·=·n·+·appendPattern(array,·n,·UPCEANReader.MIDDLE_PATTERN,·false); | 29 | ········int·n2·=·n·+·appendPattern(array,·n,·UPCEANReader.MIDDLE_PATTERN,·false); |
30 | ········for·(int·j·=·4;·j·<=·7;·++j)·{ | 30 | ········for·(int·j·=·4;·j·<=·7;·++j)·{ |
31 | ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(j,·j·+·1))],·b); | 31 | ············n2·+=·appendPattern(array,·n2,·UPCEANReader.L_PATTERNS[Integer.parseInt(s.substring(j,·j·+·1))],·b); |
32 | ········} | 32 | ········} |
Offset 3, 53 lines modified | Offset 3, 67 lines modified | ||
3 | import·com.google.zxing.BarcodeFormat; | 3 | import·com.google.zxing.BarcodeFormat; |
4 | import·com.google.zxing.common.BitArray; | 4 | import·com.google.zxing.common.BitArray; |
5 | import·com.google.zxing.NotFoundException; | 5 | import·com.google.zxing.NotFoundException; |
6 | public·final·class·UPCEReader·extends·UPCEANReader | 6 | public·final·class·UPCEReader·extends·UPCEANReader |
7 | { | 7 | { |
8 | ····static·final·int[]·CHECK_DIGIT_ENCODINGS; | ||
8 | ····private·static·final·int[]·MIDDLE_END_PATTERN; | 9 | ····private·static·final·int[]·MIDDLE_END_PATTERN; |
9 | ····private·static·final·int[][]·NUMSYS_AND_CHECK_DIGIT_PATTERNS; | 10 | ····private·static·final·int[][]·NUMSYS_AND_CHECK_DIGIT_PATTERNS; |
10 | ····private·final·int[]·decodeMiddleCounters; | 11 | ····private·final·int[]·decodeMiddleCounters; |
11 | ···· | 12 | ···· |
12 | ····static·{ | 13 | ····static·{ |
13 | ········final·int·n·=·10; | 14 | ········final·int·n·=·10; |
14 | ········final·int[]·array; | 15 | ········final·int[]·array; |
16 | ········final·int[]·check_DIGIT_ENCODINGS·=·array·=·new·int[n]; | ||
17 | ········array[0]·=·56; | ||
18 | ········array[1]·=·52; | ||
19 | ········array[2]·=·50; | ||
20 | ········array[3]·=·49; | ||
21 | ········array[4]·=·44; | ||
22 | ········array[5]·=·38; | ||
23 | ········array[6]·=·35; | ||
24 | ········array[7]·=·42; | ||
25 | ········array[8]·=·41; | ||
26 | ········array[9]·=·37; | ||
27 | ········CHECK_DIGIT_ENCODINGS·=·check_DIGIT_ENCODINGS; | ||
28 | ········final·int[]·array2; | ||
15 | ········final·int[]·middle_END_PATTERN·=·array·=·new·int[6]; | 29 | ········final·int[]·middle_END_PATTERN·=·array2·=·new·int[6]; |
16 | ········array[array[0]·=·1]·=·1; | 30 | ········array2[array2[0]·=·1]·=·1; |
17 | ········array[3]·=·(array[2]·=·1); | 31 | ········array2[3]·=·(array2[2]·=·1); |
18 | ········array[5]·=·(array[4]·=·1); | 32 | ········array2[5]·=·(array2[4]·=·1); |
19 | ········MIDDLE_END_PATTERN·=·middle_END_PATTERN; | 33 | ········MIDDLE_END_PATTERN·=·middle_END_PATTERN; |
20 | ········final·int[][]·numsys_AND_CHECK_DIGIT_PATTERNS·=·new·int[2][]; | 34 | ········final·int[][]·numsys_AND_CHECK_DIGIT_PATTERNS·=·new·int[2][]; |
21 | ········final·int[]·array | 35 | ········final·int[]·array4; |
22 | ········final·int[]·array | 36 | ········final·int[]·array3·=·array4·=·new·int[n]; |
23 | ········array | 37 | ········array4[0]·=·56; |
24 | ········array | 38 | ········array4[1]·=·52; |
25 | ········array | 39 | ········array4[2]·=·50; |
26 | ········array | 40 | ········array4[3]·=·49; |
27 | ········array | 41 | ········array4[4]·=·44; |
28 | ········array | 42 | ········array4[5]·=·38; |
29 | ········array | 43 | ········array4[6]·=·35; |
30 | ········array | 44 | ········array4[7]·=·42; |
31 | ········array | 45 | ········array4[8]·=·41; |
32 | ········array | 46 | ········array4[9]·=·37; |
33 | ········numsys_AND_CHECK_DIGIT_PATTERNS[0]·=·array | 47 | ········numsys_AND_CHECK_DIGIT_PATTERNS[0]·=·array3; |
34 | ········final·int[]·array | 48 | ········final·int[]·array6; |
35 | ········final·int[]·array | 49 | ········final·int[]·array5·=·array6·=·new·int[n]; |
36 | ········array | 50 | ········array6[0]·=·7; |
37 | ········array | 51 | ········array6[1]·=·11; |
38 | ········array | 52 | ········array6[2]·=·13; |
39 | ········array | 53 | ········array6[3]·=·14; |
40 | ········array | 54 | ········array6[4]·=·19; |
41 | ········array | 55 | ········array6[5]·=·25; |
42 | ········array | 56 | ········array6[6]·=·28; |
43 | ········array | 57 | ········array6[7]·=·21; |
44 | ········array | 58 | ········array6[8]·=·22; |
45 | ········array | 59 | ········array6[9]·=·26; |
46 | ········numsys_AND_CHECK_DIGIT_PATTERNS[1]·=·array | 60 | ········numsys_AND_CHECK_DIGIT_PATTERNS[1]·=·array5; |
47 | ········NUMSYS_AND_CHECK_DIGIT_PATTERNS·=·numsys_AND_CHECK_DIGIT_PATTERNS; | 61 | ········NUMSYS_AND_CHECK_DIGIT_PATTERNS·=·numsys_AND_CHECK_DIGIT_PATTERNS; |
48 | ····} | 62 | ····} |
49 | ···· | 63 | ···· |
50 | ····public·UPCEReader()·{ | 64 | ····public·UPCEReader()·{ |
51 | ········this.decodeMiddleCounters·=·new·int[4]; | 65 | ········this.decodeMiddleCounters·=·new·int[4]; |
52 | ····} | 66 | ····} |
53 | ···· | 67 | ···· |
Offset 5, 14 lines modified | Offset 5, 15 lines modified | ||
5 | import·com.google.zxing.DecodeHintType; | 5 | import·com.google.zxing.DecodeHintType; |
6 | import·java.util.Map; | 6 | import·java.util.Map; |
7 | import·com.google.zxing.common.BitArray; | 7 | import·com.google.zxing.common.BitArray; |
8 | import·com.google.zxing.BarcodeFormat; | 8 | import·com.google.zxing.BarcodeFormat; |
9 | import·com.google.zxing.ResultPoint; | 9 | import·com.google.zxing.ResultPoint; |
10 | import·com.google.zxing.Result; | 10 | import·com.google.zxing.Result; |
11 | import·com.google.zxing.NotFoundException; | 11 | import·com.google.zxing.NotFoundException; |
12 | import·com.google.zxing.common.detector.MathUtils; | ||
12 | import·java.util.Iterator; | 13 | import·java.util.Iterator; |
13 | import·java.util.Collection; | 14 | import·java.util.Collection; |
14 | import·java.util.ArrayList; | 15 | import·java.util.ArrayList; |
15 | import·java.util.List; | 16 | import·java.util.List; |
16 | public·final·class·RSS14Reader·extends·AbstractRSSReader | 17 | public·final·class·RSS14Reader·extends·AbstractRSSReader |
17 | { | 18 | { |
Offset 153, 136 lines modified | Offset 154, 136 lines modified | ||
153 | ············if·(!b)·{ | 154 | ············if·(!b)·{ |
154 | ················collection.add(pair); | 155 | ················collection.add(pair); |
155 | ············} | 156 | ············} |
156 | ········} | 157 | ········} |
157 | ····} | 158 | ····} |
158 | ···· | 159 | ···· |
159 | ····private·void·adjustOddEvenCounts(final·boolean·b,·final·int·n)·{ | 160 | ····private·void·adjustOddEvenCounts(final·boolean·b,·final·int·n)·{ |
161 | ········final·int·n2·=·12; | ||
160 | ········final·int·count·=·count(this.getOddCounts()); | ||
161 | ········final·int·count2·=·count(this.getEvenCounts()); | ||
162 | ········final·int·n2·=·count·+·count2·-·n; | ||
163 | ········final·int·n3·=· | 162 | ········final·int·n3·=·4; |
164 | ········int·n4; | ||
165 | ········if·(b)·{ | ||
166 | ············n4·=·1; | ||
167 | ········} | ||
168 | ········else·{ | ||
169 | ············n4·=·0; | ||
170 | ········} | ||
171 | ········boolean·b2; | ||
172 | ········if·(n3·==·n4)·{ | ||
173 | ············b2·=·true; | ||
174 | ········} | ||
175 | ········else·{ | ||
176 | ············b2·=·false; | ||
177 | ········} | ||
178 | ········boolean·b3; | ||
179 | ········if·((count2·&·0x1)·==·0x1)·{ | ||
180 | ············b3·=·true; | ||
181 | ········} | ||
182 | ········else·{ | ||
183 | ············b3·=·false; | ||
184 | ········} | ||
185 | ········int·n | 163 | ········int·n4·=·0; |
164 | ········final·int·n5·=·1; | ||
165 | ········final·int·sum·=·MathUtils.sum(this.getOddCounts()); | ||
166 | ········final·int·sum2·=·MathUtils.sum(this.getEvenCounts()); | ||
167 | ········int·n6·=·0; | ||
168 | ········boolean·b2·=·false; | ||
169 | ········boolean·b3·=·false; | ||
186 | ········boolean·b4·=·false; | 170 | ········boolean·b4·=·false; |
187 | ········boolean·b5·=·false; | ||
188 | ········boolean·b6·=·false; | ||
189 | ········if·(b)·{ | 171 | ········if·(b)·{ |
190 | ············if·( | 172 | ············if·(sum·>·n2)·{ |
191 | ················b | 173 | ················b2·=·true; |
192 | ············} | 174 | ············} |
193 | ············else·if·( | 175 | ············else·if·(sum·<·n3)·{ |
194 | ················n | 176 | ················n6·=·1; |
195 | ············} | 177 | ············} |
196 | ············if·( | 178 | ············if·(sum2·>·n2)·{ |
197 | ················b | 179 | ················b4·=·true; |
198 | ············} | 180 | ············} |
199 | ············else·if·( | 181 | ············else·if·(sum2·<·n3)·{ |
200 | ················b | 182 | ················b3·=·true; |
201 | ············} | 183 | ············} |
202 | ········} | 184 | ········} |
203 | ········else·{ | 185 | ········else·{ |
204 | ············if·( | 186 | ············if·(sum·>·11)·{ |
205 | ················b | 187 | ················b2·=·true; |
206 | ············} | 188 | ············} |
207 | ············else·if·( | 189 | ············else·if·(sum·<·5)·{ |
208 | ················n | 190 | ················n6·=·1; |
209 | ············} | 191 | ············} |
210 | ············if·( | 192 | ············if·(sum2·>·10)·{ |
211 | ················b | 193 | ················b4·=·true; |
212 | ············} | 194 | ············} |
213 | ············else·if·( | 195 | ············else·if·(sum2·<·n3)·{ |
214 | ················b | 196 | ················b3·=·true; |
215 | ············} | 197 | ············} |
216 | ········} | 198 | ········} |
199 | ········final·int·n7·=·sum·+·sum2·-·n; | ||
200 | ········final·int·n8·=·sum·&·0x1; | ||
201 | ········int·n9; | ||
202 | ········if·(b)·{ | ||
203 | ············n9·=·n5; | ||
204 | ········} | ||
205 | ········else·{ | ||
206 | ············n9·=·0; | ||
207 | ········} | ||
208 | ········int·n10; | ||
217 | ········if·(n | 209 | ········if·(n8·==·n9)·{ |
210 | ············n10·=·n5; | ||
211 | ········} | ||
212 | ········else·{ | ||
213 | ············n10·=·0; | ||
214 | ········} | ||
215 | ········if·((sum2·&·0x1)·==·n5)·{ | ||
216 | ············n4·=·n5; | ||
217 | ········} | ||
218 | ········if·(n7·==·n5)·{ | ||
218 | ············if·( | 219 | ············if·(n10·!=·0)·{ |
219 | ················if·( | 220 | ················if·(n4·!=·0)·{ |
220 | ····················throw·NotFoundException.getNotFoundInstance(); | 221 | ····················throw·NotFoundException.getNotFoundInstance(); |
221 | ················} | 222 | ················} |
222 | ················b | 223 | ················b2·=·true; |
223 | ············} | 224 | ············} |
224 | ············else·{ | 225 | ············else·{ |
225 | ················if·( | 226 | ················if·(n4·==·0)·{ |
226 | ····················throw·NotFoundException.getNotFoundInstance(); | 227 | ····················throw·NotFoundException.getNotFoundInstance(); |
227 | ················} | 228 | ················} |
228 | ················b | 229 | ················b4·=·true; |
229 | ············} | 230 | ············} |
230 | ········} | 231 | ········} |
231 | ········else·if·(n | 232 | ········else·if·(n7·==·-1)·{ |
232 | ············if·( | 233 | ············if·(n10·!=·0)·{ |
233 | ················if·( | 234 | ················if·(n4·!=·0)·{ |
234 | ····················throw·NotFoundException.getNotFoundInstance(); | 235 | ····················throw·NotFoundException.getNotFoundInstance(); |
235 | ················} | 236 | ················} |
236 | ················n | 237 | ················n6·=·1; |
237 | ············} | 238 | ············} |
Max diff block lines reached; 6338/10469 bytes (60.54%) of diff not shown. |
Offset 24, 16 lines modified | Offset 24, 16 lines modified | ||
24 | ········if·(numericValueFromBitArray·!=·38400)·{ | 24 | ········if·(numericValueFromBitArray·!=·38400)·{ |
25 | ············sb.append('('); | 25 | ············sb.append('('); |
26 | ············sb.append(this.dateCode); | 26 | ············sb.append(this.dateCode); |
27 | ············sb.append(')'); | 27 | ············sb.append(')'); |
28 | ············final·int·i·=·numericValueFromBitArray·%·32; | 28 | ············final·int·i·=·numericValueFromBitArray·%·32; |
29 | ············final·int·n2·=·numericValueFromBitArray·/·32; | 29 | ············final·int·n2·=·numericValueFromBitArray·/·32; |
30 | ············final·int·j·=·n2·%·12·+·1; | 30 | ············final·int·j·=·n2·%·12·+·1; |
31 | ············final·int·k; | 31 | ············final·int·k·=·n2·/·12; |
32 | ············if·( | 32 | ············if·(k·/·10·==·0)·{ |
33 | ················sb.append(c); | 33 | ················sb.append(c); |
34 | ············} | 34 | ············} |
35 | ············sb.append(k); | 35 | ············sb.append(k); |
36 | ············if·(j·/·10·==·0)·{ | 36 | ············if·(j·/·10·==·0)·{ |
37 | ················sb.append(c); | 37 | ················sb.append(c); |
38 | ············} | 38 | ············} |
39 | ············sb.append(j); | 39 | ············sb.append(j); |
Offset 41, 18 lines modified | Offset 41, 17 lines modified | ||
41 | ················sb.append(c); | 41 | ················sb.append(c); |
42 | ············} | 42 | ············} |
43 | ············sb.append(i); | 43 | ············sb.append(i); |
44 | ········} | 44 | ········} |
45 | ····} | 45 | ····} |
46 | ···· | 46 | ···· |
47 | ····protected·void·addWeightCode(final·StringBuilder·sb,·final·int·n)·{ | 47 | ····protected·void·addWeightCode(final·StringBuilder·sb,·final·int·n)·{ |
48 | ········final·int·i·=·n·/·100000; | ||
49 | ········sb.append('('); | 48 | ········sb.append('('); |
50 | ········sb.append(this.firstAIdigits); | 49 | ········sb.append(this.firstAIdigits); |
51 | ········sb.append( | 50 | ········sb.append(n·/·100000); |
52 | ········sb.append(')'); | 51 | ········sb.append(')'); |
53 | ····} | 52 | ····} |
54 | ···· | 53 | ···· |
55 | ····protected·int·checkWeight(final·int·n)·{ | 54 | ····protected·int·checkWeight(final·int·n)·{ |
56 | ········return·n·%·100000; | 55 | ········return·n·%·100000; |
57 | ····} | 56 | ····} |
58 | ···· | 57 | ···· |
Offset 13, 205 lines modified | Offset 13, 164 lines modified | ||
13 | .field·private·final·luminances:[B | 13 | .field·private·final·luminances:[B |
14 | .field·private·final·top:I | 14 | .field·private·final·top:I |
15 | #·direct·methods | 15 | #·direct·methods |
16 | .method·public·constructor·<init>(II[I)V | 16 | .method·public·constructor·<init>(II[I)V |
17 | ····.locals· | 17 | ····.locals·8 |
18 | ····.param·p1,·"width"····#·I | 18 | ····.param·p1,·"width"····#·I |
19 | ····.param·p2,·"height"····#·I | 19 | ····.param·p2,·"height"····#·I |
20 | ····.param·p3,·"pixels"····#·[I | 20 | ····.param·p3,·"pixels"····#·[I |
21 | ····.prologue | 21 | ····.prologue |
22 | ····const/4·v | 22 | ····const/4·v6,·0x0 |
23 | ····.line·35 | 23 | ····.line·35 |
24 | ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/LuminanceSource;-><init>(II)V | 24 | ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/LuminanceSource;-><init>(II)V |
25 | ····.line·37 | 25 | ····.line·37 |
26 | ····iput·p1,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataWidth:I | 26 | ····iput·p1,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataWidth:I |
27 | ····.line·38 | 27 | ····.line·38 |
28 | ····iput·p2,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataHeight:I | 28 | ····iput·p2,·p0,·Lcom/google/zxing/RGBLuminanceSource;->dataHeight:I |
29 | ····.line·39 | 29 | ····.line·39 |
30 | ····iput·v | 30 | ····iput·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->left:I |
31 | ····.line·40 | 31 | ····.line·40 |
32 | ····iput·v | 32 | ····iput·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->top:I |
33 | ····.line·44 | ||
34 | ····mul-int·v7,·p1,·p2 | ||
35 | ····new-array·v7,·v7,·[B | ||
36 | ····iput-object·v7,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B | ||
37 | ····.line·45 | ||
38 | ····const/4·v6,·0x0 | ||
39 | ····.local·v6,·"y":I | ||
40 | ····:goto_0 | ||
41 | ····if-ge·v6,·p2,·:cond_2 | ||
42 | ····.line·46 | 33 | ····.line·46 |
43 | ····mul-int·v | 34 | ····mul-int·v5,·p1,·p2 |
44 | ····.line·47 | 35 | ····.line·47 |
45 | ····.local·v | 36 | ····.local·v5,·"size":I |
46 | ···· | 37 | ····new-array·v6,·v5,·[B |
38 | ····iput-object·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B | ||
47 | ····.local·v5,·"x":I | ||
48 | ····:goto_1 | ||
49 | ····if-ge·v5,·p1,·:cond_1 | ||
50 | ····.line·48 | 39 | ····.line·48 |
51 | ···· | 40 | ····const/4·v2,·0x0 |
52 | ···· | 41 | ····.local·v2,·"offset":I |
42 | ····:goto_0 | ||
43 | ····if-ge·v2,·v5,·:cond_0 | ||
53 | ····.line·49 | 44 | ····.line·49 |
45 | ····aget·v3,·p3,·v2 | ||
54 | ····.local·v3,·"pixel":I | ||
55 | ····shr-int/lit8·v7,·v3,·0x10 | ||
56 | ····and-int/lit16·v4,·v7,·0xff | ||
57 | ····.line·50 | 46 | ····.line·50 |
58 | ····.local·v | 47 | ····.local·v3,·"pixel":I |
59 | ····shr-int/lit8·v | 48 | ····shr-int/lit8·v6,·v3,·0x10 |
60 | ····and-int/lit16·v | 49 | ····and-int/lit16·v4,·v6,·0xff |
61 | ····.line·51 | 50 | ····.line·51 |
62 | ····.local·v | 51 | ····.local·v4,·"r":I |
63 | ···· | 52 | ····shr-int/lit8·v6,·v3,·0x7 |
53 | ····and-int/lit16·v1,·v6,·0x1fe | ||
64 | ····.line·52 | ||
65 | ····.local·v0,·"b":I | ||
66 | ····if-ne·v4,·v1,·:cond_0 | ||
67 | ···· | 54 | ····.line·52 |
55 | ····.local·v1,·"g2":I | ||
56 | ····and-int/lit16·v0,·v3,·0xff | ||
68 | ····.line·54 | 57 | ····.line·54 |
58 | ····.local·v0,·"b":I | ||
69 | ····iget-object·v | 59 | ····iget-object·v6,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B |
70 | ····add-int·v8,·v2,·v5 | ||
71 | ····int-to-byte·v9,·v4 | ||
72 | ····aput-byte·v9,·v7,·v8 | ||
73 | ····.line·47 | ||
74 | ····:goto_2 | ||
75 | ····add-int/lit8·v5,·v5,·0x1 | ||
76 | ····goto·:goto_1 | ||
77 | ····.line·57 | ||
78 | ····:cond_0 | ||
79 | ····iget-object·v7,·p0,·Lcom/google/zxing/RGBLuminanceSource;->luminances:[B | ||
80 | ····add-int·v8,·v2,·v5 | ||
81 | ···· | 60 | ····add-int·v7,·v4,·v1 |
82 | ····add-int/2addr·v | 61 | ····add-int/2addr·v7,·v0 |
83 | ···· | 62 | ····div-int/lit8·v7,·v7,·0x4 |
84 | ···· | 63 | ····int-to-byte·v7,·v7 |
85 | ···· | 64 | ····aput-byte·v7,·v6,·v2 |
86 | ···· | 65 | ····.line·48 |
66 | ····add-int/lit8·v2,·v2,·0x1 | ||
87 | ····goto·:goto_ | 67 | ····goto·:goto_0 |
88 | ····.line· | 68 | ····.line·56 |
Max diff block lines reached; 8400/11582 bytes (72.53%) of diff not shown. |
Offset 66, 16 lines modified | Offset 66, 20 lines modified | ||
66 | ····.line·39 | 66 | ····.line·39 |
67 | ····return-void | 67 | ····return-void |
68 | .end·method | 68 | .end·method |
69 | #·virtual·methods | 69 | #·virtual·methods |
70 | .method·public·final·fillInStackTrace()Ljava/lang/Throwable; | 70 | .method·public·final·declared-synchronized·fillInStackTrace()Ljava/lang/Throwable; |
71 | ····.locals·1 | 71 | ····.locals·1 |
72 | ····.prologue | 72 | ····.prologue |
73 | ····.line·4 | 73 | ····.line·44 |
74 | ····monitor-enter·p0 | ||
74 | ····const/4·v0,·0x0 | 75 | ····const/4·v0,·0x0 |
76 | ····monitor-exit·p0 | ||
75 | ····return-object·v0 | 77 | ····return-object·v0 |
76 | .end·method | 78 | .end·method |
Offset 13, 18 lines modified | Offset 13, 16 lines modified | ||
13 | ····.prologue | 13 | ····.prologue |
14 | ····.line·27 | 14 | ····.line·27 |
15 | ····new-instance·v0,·Lcom/google/zxing/ChecksumException; | 15 | ····new-instance·v0,·Lcom/google/zxing/ChecksumException; |
16 | ····invoke-direct·{v0},·Lcom/google/zxing/ChecksumException;-><init>()V | 16 | ····invoke-direct·{v0},·Lcom/google/zxing/ChecksumException;-><init>()V |
17 | ····sput-object·v0,·Lcom/google/zxing/ChecksumException;->INSTANCE:Lcom/google/zxing/ChecksumException; | ||
18 | ····.line·29 | 17 | ····.line·29 |
19 | ····s | 18 | ····sput-object·v0,·Lcom/google/zxing/ChecksumException;->INSTANCE:Lcom/google/zxing/ChecksumException; |
20 | ····sget-object·v1,·Lcom/google/zxing/ChecksumException;->NO_TRACE:[Ljava/lang/StackTraceElement; | 19 | ····sget-object·v1,·Lcom/google/zxing/ChecksumException;->NO_TRACE:[Ljava/lang/StackTraceElement; |
21 | ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/ChecksumException;->setStackTrace([Ljava/lang/StackTraceElement;)V | 20 | ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/ChecksumException;->setStackTrace([Ljava/lang/StackTraceElement;)V |
22 | ····.line·30 | 21 | ····.line·30 |
23 | ····return-void | 22 | ····return-void |
Offset 2, 14 lines modified | Offset 2, 16 lines modified | ||
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"Result.java" | 3 | .source·"Result.java" |
4 | #·instance·fields | 4 | #·instance·fields |
5 | .field·private·final·format:Lcom/google/zxing/BarcodeFormat; | 5 | .field·private·final·format:Lcom/google/zxing/BarcodeFormat; |
6 | .field·private·final·numBits:I | ||
6 | .field·private·final·rawBytes:[B | 7 | .field·private·final·rawBytes:[B |
7 | .field·private·resultMetadata:Ljava/util/Map; | 8 | .field·private·resultMetadata:Ljava/util/Map; |
8 | ····.annotation·system·Ldalvik/annotation/Signature; | 9 | ····.annotation·system·Ldalvik/annotation/Signature; |
9 | ········value·=·{ | 10 | ········value·=·{ |
10 | ············"Ljava/util/Map", | 11 | ············"Ljava/util/Map", |
11 | ············"<", | 12 | ············"<", |
Offset 24, 23 lines modified | Offset 26, 63 lines modified | ||
24 | .field·private·final·text:Ljava/lang/String; | 26 | .field·private·final·text:Ljava/lang/String; |
25 | .field·private·final·timestamp:J | 27 | .field·private·final·timestamp:J |
26 | #·direct·methods | 28 | #·direct·methods |
29 | .method·public·constructor·<init>(Ljava/lang/String;[BI[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V | ||
30 | ····.locals·2 | ||
31 | ····.param·p1,·"text"····#·Ljava/lang/String; | ||
32 | ····.param·p2,·"rawBytes"····#·[B | ||
33 | ····.param·p3,·"numBits"····#·I | ||
34 | ····.param·p4,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint; | ||
35 | ····.param·p5,·"format"····#·Lcom/google/zxing/BarcodeFormat; | ||
36 | ····.param·p6,·"timestamp"····#·J | ||
37 | ····.prologue | ||
38 | ····.line·58 | ||
39 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | ||
40 | ····.line·59 | ||
41 | ····iput-object·p1,·p0,·Lcom/google/zxing/Result;->text:Ljava/lang/String; | ||
42 | ····.line·60 | ||
43 | ····iput-object·p2,·p0,·Lcom/google/zxing/Result;->rawBytes:[B | ||
44 | ····.line·61 | ||
45 | ····iput·p3,·p0,·Lcom/google/zxing/Result;->numBits:I | ||
46 | ····.line·62 | ||
47 | ····iput-object·p4,·p0,·Lcom/google/zxing/Result;->resultPoints:[Lcom/google/zxing/ResultPoint; | ||
48 | ····.line·63 | ||
49 | ····iput-object·p5,·p0,·Lcom/google/zxing/Result;->format:Lcom/google/zxing/BarcodeFormat; | ||
50 | ····.line·64 | ||
51 | ····const/4·v0,·0x0 | ||
52 | ····iput-object·v0,·p0,·Lcom/google/zxing/Result;->resultMetadata:Ljava/util/Map; | ||
53 | ····.line·65 | ||
54 | ····iput-wide·p6,·p0,·Lcom/google/zxing/Result;->timestamp:J | ||
55 | ····.line·66 | ||
56 | ····return-void | ||
57 | .end·method | ||
27 | .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V | 58 | .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V |
28 | ····.locals·8 | 59 | ····.locals·8 |
29 | ····.param·p1,·"text"····#·Ljava/lang/String; | 60 | ····.param·p1,·"text"····#·Ljava/lang/String; |
30 | ····.param·p2,·"rawBytes"····#·[B | 61 | ····.param·p2,·"rawBytes"····#·[B |
31 | ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint; | 62 | ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint; |
32 | ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat; | 63 | ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat; |
33 | ····.prologue | 64 | ····.prologue |
34 | ····.line·4 | 65 | ····.line·41 |
35 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 66 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
36 | ····move-result-wide·v6 | 67 | ····move-result-wide·v6 |
37 | ····move-object·v1,·p0 | 68 | ····move-object·v1,·p0 |
38 | ····move-object·v2,·p1 | 69 | ····move-object·v2,·p1 |
Offset 49, 129 lines modified | Offset 91, 144 lines modified | ||
49 | ····move-object·v4,·p3 | 91 | ····move-object·v4,·p3 |
50 | ····move-object·v5,·p4 | 92 | ····move-object·v5,·p4 |
51 | ····invoke-direct/range·{v1·..·v7},·Lcom/google/zxing/Result;-><init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V | 93 | ····invoke-direct/range·{v1·..·v7},·Lcom/google/zxing/Result;-><init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V |
52 | ····.line·4 | 94 | ····.line·42 |
53 | ····return-void | 95 | ····return-void |
54 | .end·method | 96 | .end·method |
55 | .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V | 97 | .method·public·constructor·<init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;J)V |
56 | ····.locals· | 98 | ····.locals·9 |
57 | ····.param·p1,·"text"····#·Ljava/lang/String; | 99 | ····.param·p1,·"text"····#·Ljava/lang/String; |
58 | ····.param·p2,·"rawBytes"····#·[B | 100 | ····.param·p2,·"rawBytes"····#·[B |
59 | ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint; | 101 | ····.param·p3,·"resultPoints"····#·[Lcom/google/zxing/ResultPoint; |
60 | ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat; | 102 | ····.param·p4,·"format"····#·Lcom/google/zxing/BarcodeFormat; |
61 | ····.param·p5,·"timestamp"····#·J | 103 | ····.param·p5,·"timestamp"····#·J |
62 | ····.prologue | 104 | ····.prologue |
63 | ····.line·4 | 105 | ····.line·49 |
64 | ····i | 106 | ····if-nez·p2,·:cond_0 |
107 | ····const/4·v3,·0x0 | ||
65 | ····.line·48 | ||
66 | ····iput-object·p1,·p0,·Lcom/google/zxing/Result;->text:Ljava/lang/String; | ||
67 | ····.line·49 | ||
68 | ···· | 108 | ····:goto_0 |
109 | ····move-object·v0,·p0 | ||
110 | ····move-object·v1,·p1 | ||
69 | ····.line·50 | ||
70 | ····iput-object·p3,·p0,·Lcom/google/zxing/Result;->resultPoints:[Lcom/google/zxing/ResultPoint; | ||
111 | ····move-object·v2,·p2 | ||
71 | ····.line·51 | ||
72 | ····iput-object·p4,·p0,·Lcom/google/zxing/Result;->format:Lcom/google/zxing/BarcodeFormat; | ||
112 | ····move-object·v4,·p3 | ||
73 | ····.line·52 | ||
74 | ····const/4·v0,·0x0 | ||
75 | ···· | 113 | ····move-object·v5,·p4 |
114 | ····move-wide·v6,·p5 | ||
Max diff block lines reached; 5733/9598 bytes (59.73%) of diff not shown. |
Offset 246, 36 lines modified | Offset 246, 33 lines modified | ||
246 | ····invoke-direct·{v1,·v2},·Lcom/google/zxing/BinaryBitmap;-><init>(Lcom/google/zxing/Binarizer;)V | 246 | ····invoke-direct·{v1,·v2},·Lcom/google/zxing/BinaryBitmap;-><init>(Lcom/google/zxing/Binarizer;)V |
247 | ····return-object·v1 | 247 | ····return-object·v1 |
248 | .end·method | 248 | .end·method |
249 | .method·public·toString()Ljava/lang/String; | 249 | .method·public·toString()Ljava/lang/String; |
250 | ····.locals· | 250 | ····.locals·1 |
251 | ····.prologue | 251 | ····.prologue |
252 | ····.line·144 | 252 | ····.line·144 |
253 | ····:try_start_0 | 253 | ····:try_start_0 |
254 | ····invoke-virtual·{p0},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix; | 254 | ····invoke-virtual·{p0},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix; |
255 | ····move-result-object·v | 255 | ····move-result-object·v0 |
256 | ····invoke-virtual·{v | 256 | ····invoke-virtual·{v0},·Lcom/google/zxing/common/BitMatrix;->toString()Ljava/lang/String; |
257 | ····:try_end_0 | 257 | ····:try_end_0 |
258 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 258 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
259 | ····move-result-object·v | 259 | ····move-result-object·v0 |
260 | ····.line·146 | 260 | ····.line·146 |
261 | ····:goto_0 | 261 | ····:goto_0 |
262 | ····return-object·v | 262 | ····return-object·v0 |
263 | ····.line·145 | ||
264 | ····:catch_0 | 263 | ····:catch_0 |
265 | ····move-exception·v0 | 264 | ····move-exception·v0 |
266 | ····.line·146 | ||
267 | ····.local·v0,·"e":Lcom/google/zxing/NotFoundException; | ||
268 | ····const-string·v | 265 | ····const-string·v0,·"" |
269 | ····goto·:goto_0 | 266 | ····goto·:goto_0 |
270 | .end·method | 267 | .end·method |
Offset 13, 18 lines modified | Offset 13, 16 lines modified | ||
13 | ····.prologue | 13 | ····.prologue |
14 | ····.line·27 | 14 | ····.line·27 |
15 | ····new-instance·v0,·Lcom/google/zxing/NotFoundException; | 15 | ····new-instance·v0,·Lcom/google/zxing/NotFoundException; |
16 | ····invoke-direct·{v0},·Lcom/google/zxing/NotFoundException;-><init>()V | 16 | ····invoke-direct·{v0},·Lcom/google/zxing/NotFoundException;-><init>()V |
17 | ····sput-object·v0,·Lcom/google/zxing/NotFoundException;->INSTANCE:Lcom/google/zxing/NotFoundException; | ||
18 | ····.line·29 | 17 | ····.line·29 |
19 | ····s | 18 | ····sput-object·v0,·Lcom/google/zxing/NotFoundException;->INSTANCE:Lcom/google/zxing/NotFoundException; |
20 | ····sget-object·v1,·Lcom/google/zxing/NotFoundException;->NO_TRACE:[Ljava/lang/StackTraceElement; | 19 | ····sget-object·v1,·Lcom/google/zxing/NotFoundException;->NO_TRACE:[Ljava/lang/StackTraceElement; |
21 | ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/NotFoundException;->setStackTrace([Ljava/lang/StackTraceElement;)V | 20 | ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/NotFoundException;->setStackTrace([Ljava/lang/StackTraceElement;)V |
22 | ····.line·30 | 21 | ····.line·30 |
23 | ····return-void | 22 | ····return-void |
Offset 7, 18 lines modified | Offset 7, 17 lines modified | ||
7 | #·direct·methods | 7 | #·direct·methods |
8 | .method·public·constructor·<init>()V | 8 | .method·public·constructor·<init>()V |
9 | ····.locals·0 | 9 | ····.locals·0 |
10 | ····.prologue | 10 | ····.prologue |
11 | ····.line·4 | 11 | ····.line·42 |
12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
13 | ····.line·92 | ||
14 | ····return-void | 13 | ····return-void |
15 | .end·method | 14 | .end·method |
16 | #·virtual·methods | 15 | #·virtual·methods |
17 | .method·public·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;II)Lcom/google/zxing/common/BitMatrix; | 16 | .method·public·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;II)Lcom/google/zxing/common/BitMatrix; |
18 | ····.locals·6 | 17 | ····.locals·6 |
Offset 29, 15 lines modified | Offset 28, 15 lines modified | ||
29 | ····.annotation·system·Ldalvik/annotation/Throws; | 28 | ····.annotation·system·Ldalvik/annotation/Throws; |
30 | ········value·=·{ | 29 | ········value·=·{ |
31 | ············Lcom/google/zxing/WriterException; | 30 | ············Lcom/google/zxing/WriterException; |
32 | ········} | 31 | ········} |
33 | ····.end·annotation | 32 | ····.end·annotation |
34 | ····.prologue | 33 | ····.prologue |
35 | ····.line·4 | 34 | ····.line·49 |
36 | ····const/4·v5,·0x0 | 35 | ····const/4·v5,·0x0 |
37 | ····move-object·v0,·p0 | 36 | ····move-object·v0,·p0 |
38 | ····move-object·v1,·p1 | 37 | ····move-object·v1,·p1 |
39 | ····move-object·v2,·p2 | 38 | ····move-object·v2,·p2 |
Offset 76, 52 lines modified | Offset 75, 48 lines modified | ||
76 | ····.annotation·system·Ldalvik/annotation/Throws; | 75 | ····.annotation·system·Ldalvik/annotation/Throws; |
77 | ········value·=·{ | 76 | ········value·=·{ |
78 | ············Lcom/google/zxing/WriterException; | 77 | ············Lcom/google/zxing/WriterException; |
79 | ········} | 78 | ········} |
80 | ····.end·annotation | 79 | ····.end·annotation |
81 | ····.prologue | 80 | ····.prologue |
82 | ····.line·5 | 81 | ····.line·59 |
83 | ····.local·p5,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/EncodeHintType;*>;" | 82 | ····.local·p5,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/EncodeHintType;*>;" |
84 | ····sget-object·v1,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 83 | ····sget-object·v1,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
85 | ····invoke-virtual·{p2},·Lcom/google/zxing/BarcodeFormat;->ordinal()I | 84 | ····invoke-virtual·{p2},·Lcom/google/zxing/BarcodeFormat;->ordinal()I |
86 | ····move-result·v2 | 85 | ····move-result·v2 |
87 | ····aget·v1,·v1,·v2 | 86 | ····aget·v1,·v1,·v2 |
88 | ····packed-switch·v1,·:pswitch_data_0 | 87 | ····packed-switch·v1,·:pswitch_data_0 |
89 | ····.line· | 88 | ····.line·100 |
90 | ····new-instance·v1,·Ljava/lang/IllegalArgumentException; | 89 | ····new-instance·v1,·Ljava/lang/IllegalArgumentException; |
91 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 90 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
92 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | ||
93 | ····const-string·v3,·"No·encoder·available·for·format·" | 91 | ····const-string·v3,·"No·encoder·available·for·format·" |
94 | ····invoke- | 92 | ····invoke-direct·{v2,·v3},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
95 | ····move-result-object·v2 | ||
96 | ····invoke-virtual·{v2,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 93 | ····invoke-virtual·{v2,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
97 | ····move-result-object·v2 | 94 | ····move-result-object·v2 |
98 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 95 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
99 | ····move-result-object·v2 | 96 | ····move-result-object·v2 |
100 | ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 97 | ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
101 | ····throw·v1 | 98 | ····throw·v1 |
102 | ····.line· | 99 | ····.line·61 |
103 | ····:pswitch_0 | 100 | ····:pswitch_0 |
104 | ····new-instance·v0,·Lcom/google/zxing/oned/EAN8Writer; | 101 | ····new-instance·v0,·Lcom/google/zxing/oned/EAN8Writer; |
105 | ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN8Writer;-><init>()V | 102 | ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN8Writer;-><init>()V |
106 | ····.local·v0,·"writer":Lcom/google/zxing/Writer; | 103 | ····.local·v0,·"writer":Lcom/google/zxing/Writer; |
107 | ····:goto_0 | 104 | ····:goto_0 |
Offset 131, 132 lines modified | Offset 126, 154 lines modified | ||
131 | ····move·v3,·p3 | 126 | ····move·v3,·p3 |
132 | ····move·v4,·p4 | 127 | ····move·v4,·p4 |
133 | ····move-object·v5,·p5 | 128 | ····move-object·v5,·p5 |
134 | ····.line· | 129 | ····.line·102 |
135 | ····invoke-interface/range·{v0·..·v5},·Lcom/google/zxing/Writer;->encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/util/Map;)Lcom/google/zxing/common/BitMatrix; | 130 | ····invoke-interface/range·{v0·..·v5},·Lcom/google/zxing/Writer;->encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/util/Map;)Lcom/google/zxing/common/BitMatrix; |
136 | ····move-result-object·v1 | 131 | ····move-result-object·v1 |
137 | ····return-object·v1 | 132 | ····return-object·v1 |
138 | ····.line·6 | 133 | ····.line·64 |
139 | ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer; | 134 | ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer; |
140 | ····:pswitch_1 | 135 | ····:pswitch_1 |
136 | ····new-instance·v0,·Lcom/google/zxing/oned/UPCEWriter; | ||
137 | ····invoke-direct·{v0},·Lcom/google/zxing/oned/UPCEWriter;-><init>()V | ||
138 | ····.line·65 | ||
139 | ····.restart·local·v0····#·"writer":Lcom/google/zxing/Writer; | ||
140 | ····goto·:goto_0 | ||
141 | ····.line·67 | ||
142 | ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer; | ||
143 | ····:pswitch_2 | ||
141 | ····new-instance·v0,·Lcom/google/zxing/oned/EAN13Writer; | 144 | ····new-instance·v0,·Lcom/google/zxing/oned/EAN13Writer; |
142 | ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN13Writer;-><init>()V | 145 | ····invoke-direct·{v0},·Lcom/google/zxing/oned/EAN13Writer;-><init>()V |
143 | ····.line·6 | 146 | ····.line·68 |
144 | ····.restart·local·v0····#·"writer":Lcom/google/zxing/Writer; | 147 | ····.restart·local·v0····#·"writer":Lcom/google/zxing/Writer; |
145 | ····goto·:goto_0 | 148 | ····goto·:goto_0 |
146 | ····.line· | 149 | ····.line·70 |
147 | ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer; | 150 | ····.end·local·v0····#·"writer":Lcom/google/zxing/Writer; |
148 | ····:pswitch_ | 151 | ····:pswitch_3 |
Max diff block lines reached; 3844/7411 bytes (51.87%) of diff not shown. |
Offset 39, 14 lines modified | Offset 39, 16 lines modified | ||
39 | .field·public·static·final·enum·PDF417_COMPACT:Lcom/google/zxing/EncodeHintType; | 39 | .field·public·static·final·enum·PDF417_COMPACT:Lcom/google/zxing/EncodeHintType; |
40 | .field·public·static·final·enum·PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType; | 40 | .field·public·static·final·enum·PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType; |
41 | .field·public·static·final·enum·PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType; | 41 | .field·public·static·final·enum·PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType; |
42 | .field·public·static·final·enum·QR_VERSION:Lcom/google/zxing/EncodeHintType; | ||
42 | #·direct·methods | 43 | #·direct·methods |
43 | .method·static·constructor·<clinit>()V | 44 | .method·static·constructor·<clinit>()V |
44 | ····.locals·8 | 45 | ····.locals·8 |
45 | ····.prologue | 46 | ····.prologue |
46 | ····const/4·v7,·0x4 | 47 | ····const/4·v7,·0x4 |
Offset 55, 116 lines modified | Offset 57, 127 lines modified | ||
55 | ····const/4·v5,·0x2 | 57 | ····const/4·v5,·0x2 |
56 | ····const/4·v4,·0x1 | 58 | ····const/4·v4,·0x1 |
57 | ····const/4·v3,·0x0 | 59 | ····const/4·v3,·0x0 |
58 | ····.line·3 | 60 | ····.line·35 |
59 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 61 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
60 | ····const-string·v1,·"ERROR_CORRECTION" | 62 | ····const-string·v1,·"ERROR_CORRECTION" |
61 | ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 63 | ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
62 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->ERROR_CORRECTION:Lcom/google/zxing/EncodeHintType; | 64 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->ERROR_CORRECTION:Lcom/google/zxing/EncodeHintType; |
63 | ····.line· | 65 | ····.line·40 |
64 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 66 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
65 | ····const-string·v1,·"CHARACTER_SET" | 67 | ····const-string·v1,·"CHARACTER_SET" |
66 | ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 68 | ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
67 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->CHARACTER_SET:Lcom/google/zxing/EncodeHintType; | 69 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->CHARACTER_SET:Lcom/google/zxing/EncodeHintType; |
68 | ····.line·4 | 70 | ····.line·45 |
69 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 71 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
70 | ····const-string·v1,·"DATA_MATRIX_SHAPE" | 72 | ····const-string·v1,·"DATA_MATRIX_SHAPE" |
71 | ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 73 | ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
72 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->DATA_MATRIX_SHAPE:Lcom/google/zxing/EncodeHintType; | 74 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->DATA_MATRIX_SHAPE:Lcom/google/zxing/EncodeHintType; |
73 | ····.line·5 | 75 | ····.line·53 |
74 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 76 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
75 | ····const-string·v1,·"MIN_SIZE" | 77 | ····const-string·v1,·"MIN_SIZE" |
76 | ····invoke-direct·{v0,·v1,·v6},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 78 | ····invoke-direct·{v0,·v1,·v6},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
77 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MIN_SIZE:Lcom/google/zxing/EncodeHintType; | 79 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MIN_SIZE:Lcom/google/zxing/EncodeHintType; |
78 | ····.line·6 | 80 | ····.line·61 |
79 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 81 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
80 | ····const-string·v1,·"MAX_SIZE" | 82 | ····const-string·v1,·"MAX_SIZE" |
81 | ····invoke-direct·{v0,·v1,·v7},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 83 | ····invoke-direct·{v0,·v1,·v7},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
82 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MAX_SIZE:Lcom/google/zxing/EncodeHintType; | 84 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MAX_SIZE:Lcom/google/zxing/EncodeHintType; |
83 | ····.line·6 | 85 | ····.line·69 |
84 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 86 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
85 | ····const-string·v1,·"MARGIN" | 87 | ····const-string·v1,·"MARGIN" |
86 | ····const/4·v2,·0x5 | 88 | ····const/4·v2,·0x5 |
87 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 89 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
88 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MARGIN:Lcom/google/zxing/EncodeHintType; | 90 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->MARGIN:Lcom/google/zxing/EncodeHintType; |
89 | ····.line·7 | 91 | ····.line·75 |
90 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 92 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
91 | ····const-string·v1,·"PDF417_COMPACT" | 93 | ····const-string·v1,·"PDF417_COMPACT" |
92 | ····const/4·v2,·0x6 | 94 | ····const/4·v2,·0x6 |
93 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 95 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
94 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACT:Lcom/google/zxing/EncodeHintType; | 96 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACT:Lcom/google/zxing/EncodeHintType; |
95 | ····.line· | 97 | ····.line·82 |
96 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 98 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
97 | ····const-string·v1,·"PDF417_COMPACTION" | 99 | ····const-string·v1,·"PDF417_COMPACTION" |
98 | ····const/4·v2,·0x7 | 100 | ····const/4·v2,·0x7 |
99 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 101 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
100 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType; | 102 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_COMPACTION:Lcom/google/zxing/EncodeHintType; |
101 | ····.line·8 | 103 | ····.line·88 |
102 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 104 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
103 | ····const-string·v1,·"PDF417_DIMENSIONS" | 105 | ····const-string·v1,·"PDF417_DIMENSIONS" |
104 | ····const/16·v2,·0x8 | 106 | ····const/16·v2,·0x8 |
105 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 107 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
106 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType; | 108 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->PDF417_DIMENSIONS:Lcom/google/zxing/EncodeHintType; |
107 | ····.line·9 | 109 | ····.line·97 |
108 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | 110 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; |
109 | ····const-string·v1,·"AZTEC_LAYERS" | 111 | ····const-string·v1,·"AZTEC_LAYERS" |
110 | ····const/16·v2,·0x9 | 112 | ····const/16·v2,·0x9 |
111 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V | 113 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/EncodeHintType;-><init>(Ljava/lang/String;I)V |
112 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->AZTEC_LAYERS:Lcom/google/zxing/EncodeHintType; | 114 | ····sput-object·v0,·Lcom/google/zxing/EncodeHintType;->AZTEC_LAYERS:Lcom/google/zxing/EncodeHintType; |
115 | ····.line·103 | ||
116 | ····new-instance·v0,·Lcom/google/zxing/EncodeHintType; | ||
Max diff block lines reached; 791/5130 bytes (15.42%) of diff not shown. |
Offset 13, 18 lines modified | Offset 13, 16 lines modified | ||
13 | ····.prologue | 13 | ····.prologue |
14 | ····.line·28 | 14 | ····.line·28 |
15 | ····new-instance·v0,·Lcom/google/zxing/FormatException; | 15 | ····new-instance·v0,·Lcom/google/zxing/FormatException; |
16 | ····invoke-direct·{v0},·Lcom/google/zxing/FormatException;-><init>()V | 16 | ····invoke-direct·{v0},·Lcom/google/zxing/FormatException;-><init>()V |
17 | ····sput-object·v0,·Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException; | ||
18 | ····.line·30 | 17 | ····.line·30 |
19 | ····s | 18 | ····sput-object·v0,·Lcom/google/zxing/FormatException;->INSTANCE:Lcom/google/zxing/FormatException; |
20 | ····sget-object·v1,·Lcom/google/zxing/FormatException;->NO_TRACE:[Ljava/lang/StackTraceElement; | 19 | ····sget-object·v1,·Lcom/google/zxing/FormatException;->NO_TRACE:[Ljava/lang/StackTraceElement; |
21 | ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/FormatException;->setStackTrace([Ljava/lang/StackTraceElement;)V | 20 | ····invoke-virtual·{v0,·v1},·Lcom/google/zxing/FormatException;->setStackTrace([Ljava/lang/StackTraceElement;)V |
22 | ····.line·31 | 21 | ····.line·31 |
23 | ····return-void | 22 | ····return-void |
Offset 19, 15 lines modified | Offset 19, 15 lines modified | ||
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·static·constructor·<clinit>()V | 20 | .method·static·constructor·<clinit>()V |
21 | ····.locals·3 | 21 | ····.locals·3 |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line·5 | 23 | ····.line·59 |
24 | ····invoke-static·{},·Lcom/google/zxing/BarcodeFormat;->values()[Lcom/google/zxing/BarcodeFormat; | 24 | ····invoke-static·{},·Lcom/google/zxing/BarcodeFormat;->values()[Lcom/google/zxing/BarcodeFormat; |
25 | ····move-result-object·v0 | 25 | ····move-result-object·v0 |
26 | ····array-length·v0,·v0 | 26 | ····array-length·v0,·v0 |
27 | ····new-array·v0,·v0,·[I | 27 | ····new-array·v0,·v0,·[I |
Offset 43, 227 lines modified | Offset 43, 269 lines modified | ||
43 | ····move-result·v1 | 43 | ····move-result·v1 |
44 | ····const/4·v2,·0x1 | 44 | ····const/4·v2,·0x1 |
45 | ····aput·v2,·v0,·v1 | 45 | ····aput·v2,·v0,·v1 |
46 | ····:try_end_0 | 46 | ····:try_end_0 |
47 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_0·..·:try_end_0}·:catch_ | 47 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_0·..·:try_end_0}·:catch_c |
48 | ····:goto_0 | 48 | ····:goto_0 |
49 | ····:try_start_1 | 49 | ····:try_start_1 |
50 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 50 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
51 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;-> | 51 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->UPC_E:Lcom/google/zxing/BarcodeFormat; |
52 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I | 52 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I |
53 | ····move-result·v1 | 53 | ····move-result·v1 |
54 | ····const/4·v2,·0x2 | 54 | ····const/4·v2,·0x2 |
55 | ····aput·v2,·v0,·v1 | 55 | ····aput·v2,·v0,·v1 |
56 | ····:try_end_1 | 56 | ····:try_end_1 |
57 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_1·..·:try_end_1}·:catch_ | 57 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_1·..·:try_end_1}·:catch_b |
58 | ····:goto_1 | 58 | ····:goto_1 |
59 | ····:try_start_2 | 59 | ····:try_start_2 |
60 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 60 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
61 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;-> | 61 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat; |
62 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I | 62 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I |
63 | ····move-result·v1 | 63 | ····move-result·v1 |
64 | ····const/4·v2,·0x3 | 64 | ····const/4·v2,·0x3 |
65 | ····aput·v2,·v0,·v1 | 65 | ····aput·v2,·v0,·v1 |
66 | ····:try_end_2 | 66 | ····:try_end_2 |
67 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_2·..·:try_end_2}·:catch_ | 67 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_2·..·:try_end_2}·:catch_a |
68 | ····:goto_2 | 68 | ····:goto_2 |
69 | ····:try_start_3 | 69 | ····:try_start_3 |
70 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 70 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
71 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;-> | 71 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat; |
72 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I | 72 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I |
73 | ····move-result·v1 | 73 | ····move-result·v1 |
74 | ····const/4·v2,·0x4 | 74 | ····const/4·v2,·0x4 |
75 | ····aput·v2,·v0,·v1 | 75 | ····aput·v2,·v0,·v1 |
76 | ····:try_end_3 | 76 | ····:try_end_3 |
77 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_3·..·:try_end_3}·:catch_ | 77 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_3·..·:try_end_3}·:catch_9 |
78 | ····:goto_3 | 78 | ····:goto_3 |
79 | ····:try_start_4 | 79 | ····:try_start_4 |
80 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 80 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
81 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE | 81 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->QR_CODE:Lcom/google/zxing/BarcodeFormat; |
82 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I | 82 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I |
83 | ····move-result·v1 | 83 | ····move-result·v1 |
84 | ····const/4·v2,·0x5 | 84 | ····const/4·v2,·0x5 |
85 | ····aput·v2,·v0,·v1 | 85 | ····aput·v2,·v0,·v1 |
86 | ····:try_end_4 | 86 | ····:try_end_4 |
87 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_4·..·:try_end_4}·:catch_ | 87 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_4·..·:try_end_4}·:catch_8 |
88 | ····:goto_4 | 88 | ····:goto_4 |
89 | ····:try_start_5 | 89 | ····:try_start_5 |
90 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 90 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
91 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_ | 91 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat; |
92 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I | 92 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I |
93 | ····move-result·v1 | 93 | ····move-result·v1 |
94 | ····const/4·v2,·0x6 | 94 | ····const/4·v2,·0x6 |
95 | ····aput·v2,·v0,·v1 | 95 | ····aput·v2,·v0,·v1 |
96 | ····:try_end_5 | 96 | ····:try_end_5 |
97 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_5·..·:try_end_5}·:catch_ | 97 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_5·..·:try_end_5}·:catch_7 |
98 | ····:goto_5 | 98 | ····:goto_5 |
99 | ····:try_start_6 | 99 | ····:try_start_6 |
100 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 100 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
101 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;-> | 101 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_93:Lcom/google/zxing/BarcodeFormat; |
102 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I | 102 | ····invoke-virtual·{v1},·Lcom/google/zxing/BarcodeFormat;->ordinal()I |
103 | ····move-result·v1 | 103 | ····move-result·v1 |
104 | ····const/4·v2,·0x7 | 104 | ····const/4·v2,·0x7 |
105 | ····aput·v2,·v0,·v1 | 105 | ····aput·v2,·v0,·v1 |
106 | ····:try_end_6 | 106 | ····:try_end_6 |
107 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_6·..·:try_end_6}·:catch_ | 107 | ····.catch·Ljava/lang/NoSuchFieldError;·{:try_start_6·..·:try_end_6}·:catch_6 |
108 | ····:goto_6 | 108 | ····:goto_6 |
109 | ····:try_start_7 | 109 | ····:try_start_7 |
110 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I | 110 | ····sget-object·v0,·Lcom/google/zxing/MultiFormatWriter$1;->$SwitchMap$com$google$zxing$BarcodeFormat:[I |
111 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;-> | 111 | ····sget-object·v1,·Lcom/google/zxing/BarcodeFormat;->CODE_128:Lcom/google/zxing/BarcodeFormat; |
Max diff block lines reached; 4139/9012 bytes (45.93%) of diff not shown. |
Offset 32, 22 lines modified | Offset 32, 22 lines modified | ||
32 | .method·private·static·crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F | 32 | .method·private·static·crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F |
33 | ····.locals·5 | 33 | ····.locals·5 |
34 | ····.param·p0,·"pointA"····#·Lcom/google/zxing/ResultPoint; | 34 | ····.param·p0,·"pointA"····#·Lcom/google/zxing/ResultPoint; |
35 | ····.param·p1,·"pointB"····#·Lcom/google/zxing/ResultPoint; | 35 | ····.param·p1,·"pointB"····#·Lcom/google/zxing/ResultPoint; |
36 | ····.param·p2,·"pointC"····#·Lcom/google/zxing/ResultPoint; | 36 | ····.param·p2,·"pointC"····#·Lcom/google/zxing/ResultPoint; |
37 | ····.prologue | 37 | ····.prologue |
38 | ····.line·1 | 38 | ····.line·126 |
39 | ····iget·v0,·p1,·Lcom/google/zxing/ResultPoint;->x:F | 39 | ····iget·v0,·p1,·Lcom/google/zxing/ResultPoint;->x:F |
40 | ····.line·1 | 40 | ····.line·127 |
41 | ····.local·v0,·"bX":F | 41 | ····.local·v0,·"bX":F |
42 | ····iget·v1,·p1,·Lcom/google/zxing/ResultPoint;->y:F | 42 | ····iget·v1,·p1,·Lcom/google/zxing/ResultPoint;->y:F |
43 | ····.line·1 | 43 | ····.line·128 |
44 | ····.local·v1,·"bY":F | 44 | ····.local·v1,·"bY":F |
45 | ····iget·v2,·p2,·Lcom/google/zxing/ResultPoint;->x:F | 45 | ····iget·v2,·p2,·Lcom/google/zxing/ResultPoint;->x:F |
46 | ····sub-float/2addr·v2,·v0 | 46 | ····sub-float/2addr·v2,·v0 |
47 | ····iget·v3,·p0,·Lcom/google/zxing/ResultPoint;->y:F | 47 | ····iget·v3,·p0,·Lcom/google/zxing/ResultPoint;->y:F |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | .method·public·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F | 72 | .method·public·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F |
73 | ····.locals·4 | 73 | ····.locals·4 |
74 | ····.param·p0,·"pattern1"····#·Lcom/google/zxing/ResultPoint; | 74 | ····.param·p0,·"pattern1"····#·Lcom/google/zxing/ResultPoint; |
75 | ····.param·p1,·"pattern2"····#·Lcom/google/zxing/ResultPoint; | 75 | ····.param·p1,·"pattern2"····#·Lcom/google/zxing/ResultPoint; |
76 | ····.prologue | 76 | ····.prologue |
77 | ····.line·1 | 77 | ····.line·117 |
78 | ····iget·v0,·p0,·Lcom/google/zxing/ResultPoint;->x:F | 78 | ····iget·v0,·p0,·Lcom/google/zxing/ResultPoint;->x:F |
79 | ····iget·v1,·p0,·Lcom/google/zxing/ResultPoint;->y:F | 79 | ····iget·v1,·p0,·Lcom/google/zxing/ResultPoint;->y:F |
80 | ····iget·v2,·p1,·Lcom/google/zxing/ResultPoint;->x:F | 80 | ····iget·v2,·p1,·Lcom/google/zxing/ResultPoint;->x:F |
81 | ····iget·v3,·p1,·Lcom/google/zxing/ResultPoint;->y:F | 81 | ····iget·v3,·p1,·Lcom/google/zxing/ResultPoint;->y:F |
Offset 99, 140 lines modified | Offset 99, 140 lines modified | ||
99 | ····.prologue | 99 | ····.prologue |
100 | ····const/4·v11,·0x2 | 100 | ····const/4·v11,·0x2 |
101 | ····const/4·v10,·0x1 | 101 | ····const/4·v10,·0x1 |
102 | ····const/4·v9,·0x0 | 102 | ····const/4·v9,·0x0 |
103 | ····.line·7 | 103 | ····.line·73 |
104 | ····aget-object·v7,·p0,·v9 | 104 | ····aget-object·v7,·p0,·v9 |
105 | ····aget-object·v8,·p0,·v10 | 105 | ····aget-object·v8,·p0,·v10 |
106 | ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F | 106 | ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F |
107 | ····move-result·v5 | 107 | ····move-result·v5 |
108 | ····.line· | 108 | ····.line·74 |
109 | ····.local·v5,·"zeroOneDistance":F | 109 | ····.local·v5,·"zeroOneDistance":F |
110 | ····aget-object·v7,·p0,·v10 | 110 | ····aget-object·v7,·p0,·v10 |
111 | ····aget-object·v8,·p0,·v11 | 111 | ····aget-object·v8,·p0,·v11 |
112 | ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F | 112 | ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F |
113 | ····move-result·v0 | 113 | ····move-result·v0 |
114 | ····.line· | 114 | ····.line·75 |
115 | ····.local·v0,·"oneTwoDistance":F | 115 | ····.local·v0,·"oneTwoDistance":F |
116 | ····aget-object·v7,·p0,·v9 | 116 | ····aget-object·v7,·p0,·v9 |
117 | ····aget-object·v8,·p0,·v11 | 117 | ····aget-object·v8,·p0,·v11 |
118 | ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F | 118 | ····invoke-static·{v7,·v8},·Lcom/google/zxing/ResultPoint;->distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F |
119 | ····move-result·v6 | 119 | ····move-result·v6 |
120 | ····.line·8 | 120 | ····.line·81 |
121 | ····.local·v6,·"zeroTwoDistance":F | 121 | ····.local·v6,·"zeroTwoDistance":F |
122 | ····cmpl-float·v7,·v0,·v5 | 122 | ····cmpl-float·v7,·v0,·v5 |
123 | ····if-ltz·v7,·:cond_1 | 123 | ····if-ltz·v7,·:cond_1 |
124 | ····cmpl-float·v7,·v0,·v6 | 124 | ····cmpl-float·v7,·v0,·v6 |
125 | ····if-ltz·v7,·:cond_1 | 125 | ····if-ltz·v7,·:cond_1 |
126 | ····.line·8 | 126 | ····.line·82 |
127 | ····aget-object·v2,·p0,·v9 | 127 | ····aget-object·v2,·p0,·v9 |
128 | ····.line·8 | 128 | ····.line·83 |
129 | ····.local·v2,·"pointB":Lcom/google/zxing/ResultPoint; | 129 | ····.local·v2,·"pointB":Lcom/google/zxing/ResultPoint; |
130 | ····aget-object·v1,·p0,·v10 | 130 | ····aget-object·v1,·p0,·v10 |
131 | ····.line· | 131 | ····.line·84 |
132 | ····.local·v1,·"pointA":Lcom/google/zxing/ResultPoint; | 132 | ····.local·v1,·"pointA":Lcom/google/zxing/ResultPoint; |
133 | ····aget-object·v3,·p0,·v11 | 133 | ····aget-object·v3,·p0,·v11 |
134 | ····.line· | 134 | ····.line·99 |
135 | ····.local·v3,·"pointC":Lcom/google/zxing/ResultPoint; | 135 | ····.local·v3,·"pointC":Lcom/google/zxing/ResultPoint; |
136 | ····:goto_0 | 136 | ····:goto_0 |
137 | ····invoke-static·{v1,·v2,·v3},·Lcom/google/zxing/ResultPoint;->crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F | 137 | ····invoke-static·{v1,·v2,·v3},·Lcom/google/zxing/ResultPoint;->crossProductZ(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F |
138 | ····move-result·v7 | 138 | ····move-result·v7 |
139 | ····const/4·v8,·0x0 | 139 | ····const/4·v8,·0x0 |
140 | ····cmpg-float·v7,·v7,·v8 | 140 | ····cmpg-float·v7,·v7,·v8 |
141 | ····if-gez·v7,·:cond_0 | 141 | ····if-gez·v7,·:cond_0 |
142 | ····.line·10 | 142 | ····.line·100 |
143 | ····move-object·v4,·v1 | 143 | ····move-object·v4,·v1 |
144 | ····.line·10 | 144 | ····.line·101 |
145 | ····.local·v4,·"temp":Lcom/google/zxing/ResultPoint; | 145 | ····.local·v4,·"temp":Lcom/google/zxing/ResultPoint; |
146 | ····move-object·v1,·v3 | 146 | ····move-object·v1,·v3 |
147 | ····.line·10 | 147 | ····.line·102 |
148 | ····move-object·v3,·v4 | 148 | ····move-object·v3,·v4 |
149 | ····.line·1 | 149 | ····.line·105 |
150 | ····.end·local·v4····#·"temp":Lcom/google/zxing/ResultPoint; | 150 | ····.end·local·v4····#·"temp":Lcom/google/zxing/ResultPoint; |
151 | ····:cond_0 | 151 | ····:cond_0 |
152 | ····aput-object·v1,·p0,·v9 | 152 | ····aput-object·v1,·p0,·v9 |
153 | ····.line·1 | 153 | ····.line·106 |
154 | ····aput-object·v2,·p0,·v10 | 154 | ····aput-object·v2,·p0,·v10 |
Max diff block lines reached; 2890/6402 bytes (45.14%) of diff not shown. |
Offset 83, 18 lines modified | Offset 83, 18 lines modified | ||
83 | .method·private·reverseHorizontal(II)V | 83 | .method·private·reverseHorizontal(II)V |
84 | ····.locals·9 | 84 | ····.locals·9 |
85 | ····.param·p1,·"width"····#·I | 85 | ····.param·p1,·"width"····#·I |
86 | ····.param·p2,·"height"····#·I | 86 | ····.param·p2,·"height"····#·I |
87 | ····.prologue | 87 | ····.prologue |
88 | ····.line·15 | 88 | ····.line·157 |
89 | ····iget-object·v6,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B | 89 | ····iget-object·v6,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B |
90 | ····.line·15 | 90 | ····.line·158 |
91 | ····.local·v6,·"yuvData":[B | 91 | ····.local·v6,·"yuvData":[B |
92 | ····const/4·v5,·0x0 | 92 | ····const/4·v5,·0x0 |
93 | ····.local·v5,·"y":I | 93 | ····.local·v5,·"y":I |
94 | ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->top:I | 94 | ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->top:I |
95 | ····iget·v8,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I | 95 | ····iget·v8,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I |
Offset 105, 63 lines modified | Offset 105, 63 lines modified | ||
105 | ····add-int·v1,·v7,·v8 | 105 | ····add-int·v1,·v7,·v8 |
106 | ····.local·v1,·"rowStart":I | 106 | ····.local·v1,·"rowStart":I |
107 | ····:goto_0 | 107 | ····:goto_0 |
108 | ····if-ge·v5,·p2,·:cond_1 | 108 | ····if-ge·v5,·p2,·:cond_1 |
109 | ····.line·1 | 109 | ····.line·159 |
110 | ····div-int/lit8·v7,·p1,·0x2 | 110 | ····div-int/lit8·v7,·p1,·0x2 |
111 | ····add-int·v0,·v1,·v7 | 111 | ····add-int·v0,·v1,·v7 |
112 | ····.line·16 | 112 | ····.line·160 |
113 | ····.local·v0,·"middle":I | 113 | ····.local·v0,·"middle":I |
114 | ····move·v3,·v1 | 114 | ····move·v3,·v1 |
115 | ····.local·v3,·"x1":I | 115 | ····.local·v3,·"x1":I |
116 | ····add-int·v7,·v1,·p1 | 116 | ····add-int·v7,·v1,·p1 |
117 | ····add-int/lit8·v4,·v7,·-0x1 | 117 | ····add-int/lit8·v4,·v7,·-0x1 |
118 | ····.local·v4,·"x2":I | 118 | ····.local·v4,·"x2":I |
119 | ····:goto_1 | 119 | ····:goto_1 |
120 | ····if-ge·v3,·v0,·:cond_0 | 120 | ····if-ge·v3,·v0,·:cond_0 |
121 | ····.line·16 | 121 | ····.line·161 |
122 | ····aget-byte·v2,·v6,·v3 | 122 | ····aget-byte·v2,·v6,·v3 |
123 | ····.line·16 | 123 | ····.line·162 |
124 | ····.local·v2,·"temp":B | 124 | ····.local·v2,·"temp":B |
125 | ····aget-byte·v7,·v6,·v4 | 125 | ····aget-byte·v7,·v6,·v4 |
126 | ····aput-byte·v7,·v6,·v3 | 126 | ····aput-byte·v7,·v6,·v3 |
127 | ····.line·16 | 127 | ····.line·163 |
128 | ····aput-byte·v2,·v6,·v4 | 128 | ····aput-byte·v2,·v6,·v4 |
129 | ····.line·16 | 129 | ····.line·160 |
130 | ····add-int/lit8·v3,·v3,·0x1 | 130 | ····add-int/lit8·v3,·v3,·0x1 |
131 | ····add-int/lit8·v4,·v4,·-0x1 | 131 | ····add-int/lit8·v4,·v4,·-0x1 |
132 | ····goto·:goto_1 | 132 | ····goto·:goto_1 |
133 | ····.line·15 | 133 | ····.line·158 |
134 | ····.end·local·v2····#·"temp":B | 134 | ····.end·local·v2····#·"temp":B |
135 | ····:cond_0 | 135 | ····:cond_0 |
136 | ····add-int/lit8·v5,·v5,·0x1 | 136 | ····add-int/lit8·v5,·v5,·0x1 |
137 | ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I | 137 | ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I |
138 | ····add-int/2addr·v1,·v7 | 138 | ····add-int/2addr·v1,·v7 |
139 | ····goto·:goto_0 | 139 | ····goto·:goto_0 |
140 | ····.line·16 | 140 | ····.line·166 |
141 | ····.end·local·v0····#·"middle":I | 141 | ····.end·local·v0····#·"middle":I |
142 | ····.end·local·v3····#·"x1":I | 142 | ····.end·local·v3····#·"x1":I |
143 | ····.end·local·v4····#·"x2":I | 143 | ····.end·local·v4····#·"x2":I |
144 | ····:cond_1 | 144 | ····:cond_1 |
145 | ····return-void | 145 | ····return-void |
146 | .end·method | 146 | .end·method |
Offset 171, 15 lines modified | Offset 171, 15 lines modified | ||
171 | ····.locals·9 | 171 | ····.locals·9 |
172 | ····.param·p1,·"left"····#·I | 172 | ····.param·p1,·"left"····#·I |
173 | ····.param·p2,·"top"····#·I | 173 | ····.param·p2,·"top"····#·I |
174 | ····.param·p3,·"width"····#·I | 174 | ····.param·p3,·"width"····#·I |
175 | ····.param·p4,·"height"····#·I | 175 | ····.param·p4,·"height"····#·I |
176 | ····.prologue | 176 | ····.prologue |
177 | ····.line·11 | 177 | ····.line·114 |
178 | ····new-instance·v0,·Lcom/google/zxing/PlanarYUVLuminanceSource; | 178 | ····new-instance·v0,·Lcom/google/zxing/PlanarYUVLuminanceSource; |
179 | ····iget-object·v1,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B | 179 | ····iget-object·v1,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->yuvData:[B |
180 | ····iget·v2,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I | 180 | ····iget·v2,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I |
181 | ····iget·v3,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataHeight:I | 181 | ····iget·v3,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataHeight:I |
Offset 200, 15 lines modified | Offset 200, 15 lines modified | ||
200 | ····invoke-direct/range·{v0·..·v8},·Lcom/google/zxing/PlanarYUVLuminanceSource;-><init>([BIIIIIIZ)V | 200 | ····invoke-direct/range·{v0·..·v8},·Lcom/google/zxing/PlanarYUVLuminanceSource;-><init>([BIIIIIIZ)V |
201 | ····return-object·v0 | 201 | ····return-object·v0 |
202 | .end·method | 202 | .end·method |
203 | .method·public·getMatrix()[B | 203 | .method·public·getMatrix()[B |
204 | ····.locals· | 204 | ····.locals·9 |
205 | ····.prologue | 205 | ····.prologue |
206 | ····.line·79 | 206 | ····.line·79 |
207 | ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getWidth()I | 207 | ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getWidth()I |
208 | ····move-result·v5 | 208 | ····move-result·v5 |
Offset 216, 90 lines modified | Offset 216, 88 lines modified | ||
216 | ····.local·v5,·"width":I | 216 | ····.local·v5,·"width":I |
217 | ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getHeight()I | 217 | ····invoke-virtual·{p0},·Lcom/google/zxing/PlanarYUVLuminanceSource;->getHeight()I |
218 | ····move-result·v1 | 218 | ····move-result·v1 |
219 | ····.line·84 | 219 | ····.line·84 |
220 | ····.local·v1,·"height":I | 220 | ····.local·v1,·"height":I |
221 | ····iget·v | 221 | ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataWidth:I |
222 | ····if-ne·v5,·v | 222 | ····if-ne·v5,·v7,·:cond_1 |
223 | ····iget·v | 223 | ····iget·v7,·p0,·Lcom/google/zxing/PlanarYUVLuminanceSource;->dataHeight:I |
Max diff block lines reached; 6392/9523 bytes (67.12%) of diff not shown. |
Offset 68, 19 lines modified | Offset 68, 18 lines modified | ||
68 | ····:try_end_0 | 68 | ····:try_end_0 |
69 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 | 69 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 |
70 | ····move-result-object·v1 | 70 | ····move-result-object·v1 |
71 | ····return-object·v1 | 71 | ····return-object·v1 |
72 | ····.line·1 | 72 | ····.line·169 |
73 | ····:catch_0 | 73 | ····:catch_0 |
74 | ····move-exception·v4 | 74 | ····move-exception·v4 |
75 | ····.line·169 | ||
76 | ····add-int/lit8·v1,·v1,·0x1 | 75 | ····add-int/lit8·v1,·v1,·0x1 |
77 | ····goto·:goto_0 | 76 | ····goto·:goto_0 |
78 | ····.line·177 | 77 | ····.line·177 |
79 | ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader; | 78 | ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader; |
80 | ····:cond_0 | 79 | ····:cond_0 |
Offset 180, 41 lines modified | Offset 179, 39 lines modified | ||
180 | .end·method | 179 | .end·method |
181 | .method·public·reset()V | 180 | .method·public·reset()V |
182 | ····.locals·4 | 181 | ····.locals·4 |
183 | ····.prologue | 182 | ····.prologue |
184 | ····.line·160 | 183 | ····.line·160 |
185 | ····iget-object·v | 184 | ····iget-object·v0,·p0,·Lcom/google/zxing/MultiFormatReader;->readers:[Lcom/google/zxing/Reader; |
186 | ····if-eqz·v | 185 | ····if-eqz·v0,·:cond_0 |
187 | ····.line·161 | 186 | ····.line·161 |
188 | ····iget-object·v | 187 | ····iget-object·v1,·p0,·Lcom/google/zxing/MultiFormatReader;->readers:[Lcom/google/zxing/Reader; |
189 | ····array-length·v | 188 | ····array-length·v2,·v1 |
190 | ····const/4·v | 189 | ····const/4·v0,·0x0 |
191 | ····:goto_0 | 190 | ····:goto_0 |
192 | ····if-ge·v | 191 | ····if-ge·v0,·v2,·:cond_0 |
193 | ····aget-object·v | 192 | ····aget-object·v3,·v1,·v0 |
194 | ····.line·162 | 193 | ····.line·162 |
195 | ····.local·v0,·"reader":Lcom/google/zxing/Reader; | ||
196 | ····invoke-interface·{v | 194 | ····invoke-interface·{v3},·Lcom/google/zxing/Reader;->reset()V |
197 | ····.line·161 | 195 | ····.line·161 |
198 | ····add-int/lit8·v | 196 | ····add-int/lit8·v0,·v0,·0x1 |
199 | ····goto·:goto_0 | 197 | ····goto·:goto_0 |
200 | ····.line·165 | 198 | ····.line·165 |
201 | ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader; | ||
202 | ····:cond_0 | 199 | ····:cond_0 |
203 | ····return-void | 200 | ····return-void |
204 | .end·method | 201 | .end·method |
205 | .method·public·setHints(Ljava/util/Map;)V | 202 | .method·public·setHints(Ljava/util/Map;)V |
206 | ····.locals·6 | 203 | ····.locals·6 |
207 | ····.annotation·system·Ldalvik/annotation/Signature; | 204 | ····.annotation·system·Ldalvik/annotation/Signature; |
Offset 27, 15 lines modified | Offset 27, 15 lines modified | ||
27 | ····.line·75 | 27 | ····.line·75 |
28 | ····.local·v2,·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" | 28 | ····.local·v2,·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" |
29 | ····const/4·v0,·0x1 | 29 | ····const/4·v0,·0x1 |
30 | ····.local·v0,·"i":I | 30 | ····.local·v0,·"i":I |
31 | ····:goto_0 | 31 | ····:goto_0 |
32 | ····if-gt·v0,·p1,·:cond_ | 32 | ····if-gt·v0,·p1,·:cond_1 |
33 | ····.line·76 | 33 | ····.line·76 |
34 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 34 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
35 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V | 35 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
36 | ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 36 | ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 60, 52 lines modified | Offset 60, 48 lines modified | ||
60 | ····invoke-static·{v3,·p2,·v4,·p3},·Lcom/google/zxing/client/result/AddressBookAUResultParser;->matchSinglePrefixedField(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String; | 60 | ····invoke-static·{v3,·p2,·v4,·p3},·Lcom/google/zxing/client/result/AddressBookAUResultParser;->matchSinglePrefixedField(Ljava/lang/String;Ljava/lang/String;CZ)Ljava/lang/String; |
61 | ····move-result-object·v1 | 61 | ····move-result-object·v1 |
62 | ····.line·77 | 62 | ····.line·77 |
63 | ····.local·v1,·"value":Ljava/lang/String; | 63 | ····.local·v1,·"value":Ljava/lang/String; |
64 | ····if- | 64 | ····if-eqz·v1,·:cond_1 |
65 | ····.line·85 | ||
66 | ····.end·local·v1····#·"value":Ljava/lang/String; | ||
67 | ····:cond_0 | ||
68 | ····if-nez·v2,·:cond_3 | ||
69 | ····.line·86 | ||
70 | ····const/4·v3,·0x0 | ||
71 | ····.line·88 | ||
72 | ····:goto_1 | ||
73 | ····return-object·v3 | ||
74 | ····.line·80 | 65 | ····.line·80 |
75 | ····.restart·local·v1····#·"value":Ljava/lang/String; | ||
76 | ····:cond_1 | ||
77 | ····if-nez·v2,·:cond_ | 66 | ····if-nez·v2,·:cond_0 |
78 | ····.line·81 | 67 | ····.line·81 |
79 | ····new-instance·v2,·Ljava/util/ArrayList; | 68 | ····new-instance·v2,·Ljava/util/ArrayList; |
80 | ····.end·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" | 69 | ····.end·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" |
81 | ····invoke-direct·{v2,·p1},·Ljava/util/ArrayList;-><init>(I)V | 70 | ····invoke-direct·{v2,·p1},·Ljava/util/ArrayList;-><init>(I)V |
82 | ····.line·83 | 71 | ····.line·83 |
83 | ····.restart·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" | 72 | ····.restart·local·v2····#·"values":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" |
84 | ····:cond_ | 73 | ····:cond_0 |
85 | ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 74 | ····invoke-interface·{v2,·v1},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
86 | ····.line·75 | 75 | ····.line·75 |
87 | ····add-int/lit8·v0,·v0,·0x1 | 76 | ····add-int/lit8·v0,·v0,·0x1 |
88 | ····goto·:goto_0 | 77 | ····goto·:goto_0 |
89 | ····.line·8 | 78 | ····.line·85 |
90 | ····.end·local·v1····#·"value":Ljava/lang/String; | 79 | ····.end·local·v1····#·"value":Ljava/lang/String; |
91 | ····:cond_ | 80 | ····:cond_1 |
81 | ····if-nez·v2,·:cond_2 | ||
82 | ····.line·86 | ||
83 | ····const/4·v3,·0x0 | ||
84 | ····.line·88 | ||
85 | ····:goto_1 | ||
86 | ····return-object·v3 | ||
87 | ····:cond_2 | ||
92 | ····invoke-interface·{v2},·Ljava/util/List;->size()I | 88 | ····invoke-interface·{v2},·Ljava/util/List;->size()I |
93 | ····move-result·v3 | 89 | ····move-result·v3 |
94 | ····new-array·v3,·v3,·[Ljava/lang/String; | 90 | ····new-array·v3,·v3,·[Ljava/lang/String; |
95 | ····invoke-interface·{v2,·v3},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; | 91 | ····invoke-interface·{v2,·v3},·Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; |
Offset 72, 21 lines modified | Offset 72, 17 lines modified | ||
72 | ····move-result·v5 | 72 | ····move-result·v5 |
73 | ····if-eqz·v5,·:cond_1 | 73 | ····if-eqz·v5,·:cond_1 |
74 | ····new-instance·v5,·Ljava/lang/StringBuilder; | 74 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
75 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V | ||
76 | ····const-string·v6,·"tel:" | 75 | ····const-string·v6,·"tel:" |
77 | ····invoke- | 76 | ····invoke-direct·{v5,·v6},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
78 | ····move-result-object·v5 | ||
79 | ····invoke-virtual·{v2,·v7},·Ljava/lang/String;->substring(I)Ljava/lang/String; | 77 | ····invoke-virtual·{v2,·v7},·Ljava/lang/String;->substring(I)Ljava/lang/String; |
80 | ····move-result-object·v6 | 78 | ····move-result-object·v6 |
81 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 79 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 37, 116 lines modified | Offset 37, 116 lines modified | ||
37 | ····return-void | 37 | ····return-void |
38 | .end·method | 38 | .end·method |
39 | #·virtual·methods | 39 | #·virtual·methods |
40 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/GeoParsedResult; | 40 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/GeoParsedResult; |
41 | ····.locals·1 | 41 | ····.locals·12 |
42 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; | 42 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; |
43 | ····.prologue | 43 | ····.prologue |
44 | ····const/4·v1,·0x0 | 44 | ····const/4·v1,·0x0 |
45 | ····.line·39 | 45 | ····.line·39 |
46 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/GeoResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; | 46 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/GeoResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; |
47 | ····move-result-object·v | 47 | ····move-result-object·v9 |
48 | ····.line·40 | 48 | ····.line·40 |
49 | ····.local·v | 49 | ····.local·v9,·"rawText":Ljava/lang/CharSequence; |
50 | ····sget-object·v1 | 50 | ····sget-object·v10,·Lcom/google/zxing/client/result/GeoResultParser;->GEO_URL_PATTERN:Ljava/util/regex/Pattern; |
51 | ····invoke-virtual·{v1 | 51 | ····invoke-virtual·{v10,·v9},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
52 | ····move-result-object·v | 52 | ····move-result-object·v0 |
53 | ····.line·41 | 53 | ····.line·41 |
54 | ····.local·v | 54 | ····.local·v0,·"matcher":Ljava/util/regex/Matcher; |
55 | ····invoke-virtual·{v | 55 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->matches()Z |
56 | ····move-result·v1 | 56 | ····move-result·v10 |
57 | ····if-nez·v1 | 57 | ····if-nez·v10,·:cond_1 |
58 | ····.line·70 | 58 | ····.line·70 |
59 | ····:cond_0 | 59 | ····:cond_0 |
60 | ····:goto_0 | 60 | ····:goto_0 |
61 | ····return-object·v1 | 61 | ····return-object·v1 |
62 | ····.line·45 | 62 | ····.line·45 |
63 | ····:cond_1 | 63 | ····:cond_1 |
64 | ····const/4·v1 | 64 | ····const/4·v10,·0x4 |
65 | ····invoke-virtual·{v | 65 | ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
66 | ····move-result-object·v8 | 66 | ····move-result-object·v8 |
67 | ····.line·51 | 67 | ····.line·51 |
68 | ····.local·v8,·"query":Ljava/lang/String; | 68 | ····.local·v8,·"query":Ljava/lang/String; |
69 | ····const/4·v1 | 69 | ····const/4·v10,·0x1 |
70 | ····:try_start_0 | 70 | ····:try_start_0 |
71 | ····invoke-virtual·{v | 71 | ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
72 | ····move-result-object·v1 | 72 | ····move-result-object·v10 |
73 | ····invoke-static·{v1 | 73 | ····invoke-static·{v10},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D |
74 | ····move-result-wide·v2 | 74 | ····move-result-wide·v2 |
75 | ····.line·52 | 75 | ····.line·52 |
76 | ····.local·v2,·"latitude":D | 76 | ····.local·v2,·"latitude":D |
77 | ····const-wide·v1 | 77 | ····const-wide·v10,·0x4056800000000000L····#·90.0 |
78 | ····cmpl-double·v1 | 78 | ····cmpl-double·v10,·v2,·v10 |
79 | ····if-gtz·v1 | 79 | ····if-gtz·v10,·:cond_0 |
80 | ····const-wide·v1 | 80 | ····const-wide·v10,·-0x3fa9800000000000L····#·-90.0 |
81 | ····cmpg-double·v1 | 81 | ····cmpg-double·v10,·v2,·v10 |
82 | ····if-ltz·v1 | 82 | ····if-ltz·v10,·:cond_0 |
83 | ····.line·55 | 83 | ····.line·55 |
84 | ····const/4·v1 | 84 | ····const/4·v10,·0x2 |
85 | ····invoke-virtual·{v | 85 | ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
86 | ····move-result-object·v1 | 86 | ····move-result-object·v10 |
87 | ····invoke-static·{v1 | 87 | ····invoke-static·{v10},·Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D |
88 | ····move-result-wide·v4 | 88 | ····move-result-wide·v4 |
89 | ····.line·56 | 89 | ····.line·56 |
90 | ····.local·v4,·"longitude":D | 90 | ····.local·v4,·"longitude":D |
91 | ····const-wide·v1 | 91 | ····const-wide·v10,·0x4066800000000000L····#·180.0 |
92 | ····cmpl-double·v1 | 92 | ····cmpl-double·v10,·v4,·v10 |
93 | ····if-gtz·v1 | 93 | ····if-gtz·v10,·:cond_0 |
94 | ····const-wide·v1 | 94 | ····const-wide·v10,·-0x3f99800000000000L····#·-180.0 |
95 | ····cmpg-double·v1 | 95 | ····cmpg-double·v10,·v4,·v10 |
96 | ····if-ltz·v1 | 96 | ····if-ltz·v10,·:cond_0 |
97 | ····.line·59 | 97 | ····.line·59 |
98 | ····const/4·v1 | 98 | ····const/4·v10,·0x3 |
99 | ····invoke-virtual·{v | 99 | ····invoke-virtual·{v0,·v10},·Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; |
100 | ····:try_end_0 | 100 | ····:try_end_0 |
101 | ····.catch·Ljava/lang/NumberFormatException;·{:try_start_0·..·:try_end_0}·:catch_0 | 101 | ····.catch·Ljava/lang/NumberFormatException;·{:try_start_0·..·:try_end_0}·:catch_0 |
102 | ····move-result-object·v1 | 102 | ····move-result-object·v10 |
103 | ····if-nez·v1 | 103 | ····if-nez·v10,·:cond_3 |
104 | ····.line·60 | 104 | ····.line·60 |
105 | ····const-wide/16·v6,·0x0 | 105 | ····const-wide/16·v6,·0x0 |
106 | ····.line·70 | 106 | ····.line·70 |
107 | ····.local·v6,·"altitude":D | 107 | ····.local·v6,·"altitude":D |
108 | ····:cond_2 | 108 | ····:cond_2 |
Offset 155, 46 lines modified | Offset 155, 44 lines modified | ||
155 | ····invoke-direct/range·{v1·..·v8},·Lcom/google/zxing/client/result/GeoParsedResult;-><init>(DDDLjava/lang/String;)V | 155 | ····invoke-direct/range·{v1·..·v8},·Lcom/google/zxing/client/result/GeoParsedResult;-><init>(DDDLjava/lang/String;)V |
156 | ····goto·:goto_0 | 156 | ····goto·:goto_0 |
157 | ····.line·62 | 157 | ····.line·62 |
158 | ····.end·local·v6····#·"altitude":D | 158 | ····.end·local·v6····#·"altitude":D |
159 | ····:cond_3 | 159 | ····:cond_3 |
160 | ····const/4·v1 | 160 | ····const/4·v10,·0x3 |
161 | ····:try_start_1 | 161 | ····:try_start_1 |
Max diff block lines reached; 1045/5867 bytes (17.81%) of diff not shown. |
Offset 606, 17 lines modified | Offset 606, 15 lines modified | ||
606 | ····.locals·2 | 606 | ····.locals·2 |
607 | ····.param·p0,·"position"····#·I | 607 | ····.param·p0,·"position"····#·I |
608 | ····.prologue | 608 | ····.prologue |
609 | ····const/16·v0,·0xa | 609 | ····const/16·v0,·0xa |
610 | ····.line·90 | 610 | ····.line·90 |
611 | ····const/4·v1,·0x1 | ||
612 | ····if-l | 611 | ····if-lez·p0,·:cond_1 |
613 | ····const/4·v1,·0x7 | 612 | ····const/4·v1,·0x7 |
614 | ····if-gt·p0,·v1,·:cond_1 | 613 | ····if-gt·p0,·v1,·:cond_1 |
615 | ····.line·91 | 614 | ····.line·91 |
616 | ····rsub-int/lit8·v0,·p0,·0x9 | 615 | ····rsub-int/lit8·v0,·p0,·0x9 |
Offset 675, 30 lines modified | Offset 673, 30 lines modified | ||
675 | ····move-result-object·v0 | 673 | ····move-result-object·v0 |
676 | ····return-object·v0 | 674 | ····return-object·v0 |
677 | .end·method | 675 | .end·method |
678 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/VINParsedResult; | 676 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/VINParsedResult; |
679 | ····.locals·1 | 677 | ····.locals·11 |
680 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; | 678 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; |
681 | ····.prologue | 679 | ····.prologue |
682 | ····const/4·v1 | 680 | ····const/4·v10,·0x0 |
683 | ····.line·36 | 681 | ····.line·36 |
684 | ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat; | 682 | ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat; |
685 | ····move-result-object·v0 | 683 | ····move-result-object·v0 |
686 | ····sget-object·v3,·Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat; | 684 | ····sget-object·v3,·Lcom/google/zxing/BarcodeFormat;->CODE_39:Lcom/google/zxing/BarcodeFormat; |
687 | ····if-eq·v0,·v3,·:cond_0 | 685 | ····if-eq·v0,·v3,·:cond_0 |
688 | ····move-object·v0,·v1 | 686 | ····move-object·v0,·v10 |
689 | ····.line·59 | 687 | ····.line·59 |
690 | ····:goto_0 | 688 | ····:goto_0 |
691 | ····return-object·v0 | 689 | ····return-object·v0 |
692 | ····.line·39 | 690 | ····.line·39 |
693 | ····:cond_0 | 691 | ····:cond_0 |
Offset 733, 29 lines modified | Offset 731, 29 lines modified | ||
733 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->matches()Z | 731 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->matches()Z |
734 | ····move-result·v0 | 732 | ····move-result·v0 |
735 | ····if-nez·v0,·:cond_1 | 733 | ····if-nez·v0,·:cond_1 |
736 | ····move-object·v0,·v1 | 734 | ····move-object·v0,·v10 |
737 | ····.line·42 | 735 | ····.line·42 |
738 | ····goto·:goto_0 | 736 | ····goto·:goto_0 |
739 | ····.line·45 | 737 | ····.line·45 |
740 | ····:cond_1 | 738 | ····:cond_1 |
741 | ····:try_start_0 | 739 | ····:try_start_0 |
742 | ····invoke-static·{v1},·Lcom/google/zxing/client/result/VINResultParser;->checkChecksum(Ljava/lang/CharSequence;)Z | 740 | ····invoke-static·{v1},·Lcom/google/zxing/client/result/VINResultParser;->checkChecksum(Ljava/lang/CharSequence;)Z |
743 | ····move-result·v0 | 741 | ····move-result·v0 |
744 | ····if-nez·v0,·:cond_2 | 742 | ····if-nez·v0,·:cond_2 |
745 | ····move-object·v0,·v1 | 743 | ····move-object·v0,·v10 |
746 | ····.line·46 | 744 | ····.line·46 |
747 | ····goto·:goto_0 | 745 | ····goto·:goto_0 |
748 | ····.line·48 | 746 | ····.line·48 |
749 | ····:cond_2 | 747 | ····:cond_2 |
750 | ····const/4·v0,·0x0 | 748 | ····const/4·v0,·0x0 |
Offset 829, 18 lines modified | Offset 827, 16 lines modified | ||
829 | ····invoke-direct/range·{v0·..·v9},·Lcom/google/zxing/client/result/VINParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ICLjava/lang/String;)V | 827 | ····invoke-direct/range·{v0·..·v9},·Lcom/google/zxing/client/result/VINParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ICLjava/lang/String;)V |
830 | ····:try_end_0 | 828 | ····:try_end_0 |
831 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 | 829 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 |
832 | ····goto·:goto_0 | 830 | ····goto·:goto_0 |
833 | ····.line·5 | 831 | ····.line·59 |
834 | ····.end·local·v2····#·"wmi":Ljava/lang/String; | 832 | ····.end·local·v2····#·"wmi":Ljava/lang/String; |
835 | ····:catch_0 | 833 | ····:catch_0 |
836 | ····move-exception·v | 834 | ····move-exception·v0 |
837 | ····.local·v10,·"iae":Ljava/lang/IllegalArgumentException; | ||
838 | ····move-object·v0,·v1 | 835 | ····move-object·v0,·v10 |
839 | ····.line·59 | ||
840 | ····goto·:goto_0 | 836 | ····goto·:goto_0 |
841 | .end·method | 837 | .end·method |
Offset 18, 222 lines modified | Offset 18, 222 lines modified | ||
18 | ····.locals·1 | 18 | ····.locals·1 |
19 | ····.param·p1,·"latitude"····#·D | 19 | ····.param·p1,·"latitude"····#·D |
20 | ····.param·p3,·"longitude"····#·D | 20 | ····.param·p3,·"longitude"····#·D |
21 | ····.param·p5,·"altitude"····#·D | 21 | ····.param·p5,·"altitude"····#·D |
22 | ····.param·p7,·"query"····#·Ljava/lang/String; | 22 | ····.param·p7,·"query"····#·Ljava/lang/String; |
23 | ····.prologue | 23 | ····.prologue |
24 | ····.line·3 | 24 | ····.line·33 |
25 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->GEO:Lcom/google/zxing/client/result/ParsedResultType; | 25 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->GEO:Lcom/google/zxing/client/result/ParsedResultType; |
26 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 26 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
27 | ····.line·3 | 27 | ····.line·34 |
28 | ····iput-wide·p1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D | 28 | ····iput-wide·p1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D |
29 | ····.line·3 | 29 | ····.line·35 |
30 | ····iput-wide·p3,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D | 30 | ····iput-wide·p3,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D |
31 | ····.line·3 | 31 | ····.line·36 |
32 | ····iput-wide·p5,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D | 32 | ····iput-wide·p5,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D |
33 | ····.line·3 | 33 | ····.line·37 |
34 | ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String; | 34 | ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String; |
35 | ····.line·3 | 35 | ····.line·38 |
36 | ····return-void | 36 | ····return-void |
37 | .end·method | 37 | .end·method |
38 | #·virtual·methods | 38 | #·virtual·methods |
39 | .method·public·getAltitude()D | 39 | .method·public·getAltitude()D |
40 | ····.locals·2 | 40 | ····.locals·2 |
41 | ····.prologue | 41 | ····.prologue |
42 | ····.line·7 | 42 | ····.line·75 |
43 | ····iget-wide·v0,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D | 43 | ····iget-wide·v0,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D |
44 | ····return-wide·v0 | 44 | ····return-wide·v0 |
45 | .end·method | 45 | .end·method |
46 | .method·public·getDisplayResult()Ljava/lang/String; | 46 | .method·public·getDisplayResult()Ljava/lang/String; |
47 | ····.locals·6 | 47 | ····.locals·6 |
48 | ····.prologue | 48 | ····.prologue |
49 | ····.line·8 | 49 | ····.line·87 |
50 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 50 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
51 | ····const/16·v1,·0x14 | 51 | ····const/16·v1,·0x14 |
52 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 52 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
53 | ····.line·8 | 53 | ····.line·88 |
54 | ····.local·v0,·"result":Ljava/lang/StringBuilder; | 54 | ····.local·v0,·"result":Ljava/lang/StringBuilder; |
55 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D | 55 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->latitude:D |
56 | ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; | 56 | ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; |
57 | ····.line·8 | 57 | ····.line·89 |
58 | ····const-string·v1,·",·" | 58 | ····const-string·v1,·",·" |
59 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 59 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
60 | ····.line· | 60 | ····.line·90 |
61 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D | 61 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->longitude:D |
62 | ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; | 62 | ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; |
63 | ····.line· | 63 | ····.line·91 |
64 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D | 64 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D |
65 | ····const-wide/16·v4,·0x0 | 65 | ····const-wide/16·v4,·0x0 |
66 | ····cmpl-double·v1,·v2,·v4 | 66 | ····cmpl-double·v1,·v2,·v4 |
67 | ····if-lez·v1,·:cond_0 | 67 | ····if-lez·v1,·:cond_0 |
68 | ····.line· | 68 | ····.line·92 |
69 | ····const-string·v1,·",·" | 69 | ····const-string·v1,·",·" |
70 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 70 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
71 | ····.line·9 | 71 | ····.line·93 |
72 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D | 72 | ····iget-wide·v2,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->altitude:D |
73 | ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; | 73 | ····invoke-virtual·{v0,·v2,·v3},·Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder; |
74 | ····.line·9 | 74 | ····.line·94 |
75 | ····const/16·v1,·0x6d | 75 | ····const/16·v1,·0x6d |
76 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 76 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
77 | ····.line·9 | 77 | ····.line·96 |
78 | ····:cond_0 | 78 | ····:cond_0 |
79 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String; | 79 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String; |
80 | ····if-eqz·v1,·:cond_1 | 80 | ····if-eqz·v1,·:cond_1 |
81 | ····.line·9 | 81 | ····.line·97 |
82 | ····const-string·v1,·"·(" | 82 | ····const-string·v1,·"·(" |
83 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 83 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
84 | ····.line·9 | 84 | ····.line·98 |
85 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String; | 85 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/GeoParsedResult;->query:Ljava/lang/String; |
86 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 86 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
87 | ····.line·9 | 87 | ····.line·99 |
88 | ····const/16·v1,·0x29 | 88 | ····const/16·v1,·0x29 |
89 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 89 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
90 | ····.line· | 90 | ····.line·101 |
91 | ····:cond_1 | 91 | ····:cond_1 |
92 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 92 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
93 | ····move-result-object·v1 | 93 | ····move-result-object·v1 |
94 | ····return-object·v1 | 94 | ····return-object·v1 |
95 | .end·method | 95 | .end·method |
96 | .method·public·getGeoURI()Ljava/lang/String; | 96 | .method·public·getGeoURI()Ljava/lang/String; |
97 | ····.locals·7 | 97 | ····.locals·7 |
98 | ····.prologue | 98 | ····.prologue |
99 | ····const/16·v6,·0x2c | 99 | ····const/16·v6,·0x2c |
Max diff block lines reached; 2783/6770 bytes (41.11%) of diff not shown. |
Offset 19, 15 lines modified | Offset 19, 15 lines modified | ||
19 | .method·constructor·<init>(Ljava/lang/String;)V | 19 | .method·constructor·<init>(Ljava/lang/String;)V |
20 | ····.locals·6 | 20 | ····.locals·6 |
21 | ····.param·p1,·"to"····#·Ljava/lang/String; | 21 | ····.param·p1,·"to"····#·Ljava/lang/String; |
22 | ····.prologue | 22 | ····.prologue |
23 | ····const/4·v2,·0x0 | 23 | ····const/4·v2,·0x0 |
24 | ····.line·3 | 24 | ····.line·34 |
25 | ····const/4·v0,·0x1 | 25 | ····const/4·v0,·0x1 |
26 | ····new-array·v1,·v0,·[Ljava/lang/String; | 26 | ····new-array·v1,·v0,·[Ljava/lang/String; |
27 | ····const/4·v0,·0x0 | 27 | ····const/4·v0,·0x0 |
28 | ····aput-object·p1,·v1,·v0 | 28 | ····aput-object·p1,·v1,·v0 |
Offset 38, 135 lines modified | Offset 38, 135 lines modified | ||
38 | ····move-object·v4,·v2 | 38 | ····move-object·v4,·v2 |
39 | ····move-object·v5,·v2 | 39 | ····move-object·v5,·v2 |
40 | ····invoke-direct/range·{v0·..·v5},·Lcom/google/zxing/client/result/EmailAddressParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | 40 | ····invoke-direct/range·{v0·..·v5},·Lcom/google/zxing/client/result/EmailAddressParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
41 | ····.line·3 | 41 | ····.line·35 |
42 | ····return-void | 42 | ····return-void |
43 | .end·method | 43 | .end·method |
44 | .method·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | 44 | .method·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
45 | ····.locals·1 | 45 | ····.locals·1 |
46 | ····.param·p1,·"tos"····#·[Ljava/lang/String; | 46 | ····.param·p1,·"tos"····#·[Ljava/lang/String; |
47 | ····.param·p2,·"ccs"····#·[Ljava/lang/String; | 47 | ····.param·p2,·"ccs"····#·[Ljava/lang/String; |
48 | ····.param·p3,·"bccs"····#·[Ljava/lang/String; | 48 | ····.param·p3,·"bccs"····#·[Ljava/lang/String; |
49 | ····.param·p4,·"subject"····#·Ljava/lang/String; | 49 | ····.param·p4,·"subject"····#·Ljava/lang/String; |
50 | ····.param·p5,·"body"····#·Ljava/lang/String; | 50 | ····.param·p5,·"body"····#·Ljava/lang/String; |
51 | ····.prologue | 51 | ····.prologue |
52 | ····.line· | 52 | ····.line·42 |
53 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->EMAIL_ADDRESS:Lcom/google/zxing/client/result/ParsedResultType; | 53 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->EMAIL_ADDRESS:Lcom/google/zxing/client/result/ParsedResultType; |
54 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 54 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
55 | ····.line·4 | 55 | ····.line·43 |
56 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String; | 56 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String; |
57 | ····.line·4 | 57 | ····.line·44 |
58 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String; | 58 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String; |
59 | ····.line·4 | 59 | ····.line·45 |
60 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String; | 60 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String; |
61 | ····.line·4 | 61 | ····.line·46 |
62 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String; | 62 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String; |
63 | ····.line·4 | 63 | ····.line·47 |
64 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String; | 64 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String; |
65 | ····.line·4 | 65 | ····.line·48 |
66 | ····return-void | 66 | ····return-void |
67 | .end·method | 67 | .end·method |
68 | #·virtual·methods | 68 | #·virtual·methods |
69 | .method·public·getBCCs()[Ljava/lang/String; | 69 | .method·public·getBCCs()[Ljava/lang/String; |
70 | ····.locals·1 | 70 | ····.locals·1 |
71 | ····.prologue | 71 | ····.prologue |
72 | ····.line·6 | 72 | ····.line·68 |
73 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String; | 73 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String; |
74 | ····return-object·v0 | 74 | ····return-object·v0 |
75 | .end·method | 75 | .end·method |
76 | .method·public·getBody()Ljava/lang/String; | 76 | .method·public·getBody()Ljava/lang/String; |
77 | ····.locals·1 | 77 | ····.locals·1 |
78 | ····.prologue | 78 | ····.prologue |
79 | ····.line·7 | 79 | ····.line·76 |
80 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String; | 80 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String; |
81 | ····return-object·v0 | 81 | ····return-object·v0 |
82 | .end·method | 82 | .end·method |
83 | .method·public·getCCs()[Ljava/lang/String; | 83 | .method·public·getCCs()[Ljava/lang/String; |
84 | ····.locals·1 | 84 | ····.locals·1 |
85 | ····.prologue | 85 | ····.prologue |
86 | ····.line·6 | 86 | ····.line·64 |
87 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String; | 87 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String; |
88 | ····return-object·v0 | 88 | ····return-object·v0 |
89 | .end·method | 89 | .end·method |
90 | .method·public·getDisplayResult()Ljava/lang/String; | 90 | .method·public·getDisplayResult()Ljava/lang/String; |
91 | ····.locals·2 | 91 | ····.locals·2 |
92 | ····.prologue | 92 | ····.prologue |
93 | ····.line· | 93 | ····.line·90 |
94 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 94 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
95 | ····const/16·v1,·0x1e | 95 | ····const/16·v1,·0x1e |
96 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 96 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
97 | ····.line· | 97 | ····.line·91 |
98 | ····.local·v0,·"result":Ljava/lang/StringBuilder; | 98 | ····.local·v0,·"result":Ljava/lang/StringBuilder; |
99 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String; | 99 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->tos:[Ljava/lang/String; |
100 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V | 100 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V |
101 | ····.line· | 101 | ····.line·92 |
102 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String; | 102 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->ccs:[Ljava/lang/String; |
103 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V | 103 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V |
104 | ····.line·9 | 104 | ····.line·93 |
105 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String; | 105 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->bccs:[Ljava/lang/String; |
106 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V | 106 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V |
107 | ····.line·9 | 107 | ····.line·94 |
108 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String; | 108 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->subject:Ljava/lang/String; |
109 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 109 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/EmailAddressParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
110 | ····.line·9 | 110 | ····.line·95 |
111 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String; | 111 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/EmailAddressParsedResult;->body:Ljava/lang/String; |
Max diff block lines reached; 1411/6035 bytes (23.38%) of diff not shown. |
Offset 33, 247 lines modified | Offset 33, 255 lines modified | ||
33 | ····return-void | 33 | ····return-void |
34 | .end·method | 34 | .end·method |
35 | #·virtual·methods | 35 | #·virtual·methods |
36 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult; | 36 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult; |
37 | ····.locals·1 | 37 | ····.locals·14 |
38 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; | 38 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; |
39 | ····.prologue | 39 | ····.prologue |
40 | ····const/4·v0,·0x0 | ||
40 | ····.line·36 | 41 | ····.line·36 |
41 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/EmailAddressResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; | 42 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/EmailAddressResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; |
42 | ····move-result-object·v11 | 43 | ····move-result-object·v11 |
43 | ····.line·37 | 44 | ····.line·37 |
44 | ····.local·v11,·"rawText":Ljava/lang/String; | 45 | ····.local·v11,·"rawText":Ljava/lang/String; |
45 | ····const-string·v | 46 | ····const-string·v13,·"mailto:" |
46 | ····invoke-virtual·{v11,·v | 47 | ····invoke-virtual·{v11,·v13},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z |
47 | ····move-result·v | 48 | ····move-result·v13 |
48 | ····if-nez·v | 49 | ····if-nez·v13,·:cond_0 |
49 | ····const-string·v | 50 | ····const-string·v13,·"MAILTO:" |
50 | ····invoke-virtual·{v11,·v | 51 | ····invoke-virtual·{v11,·v13},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z |
51 | ····move-result·v | 52 | ····move-result·v13 |
52 | ····if-eqz·v | 53 | ····if-eqz·v13,·:cond_8 |
53 | ····.line·39 | 54 | ····.line·39 |
54 | ····:cond_0 | 55 | ····:cond_0 |
55 | ····const/4·v | 56 | ····const/4·v13,·0x7 |
56 | ····invoke-virtual·{v11,·v | 57 | ····invoke-virtual·{v11,·v13},·Ljava/lang/String;->substring(I)Ljava/lang/String; |
57 | ····move-result-object·v8 | 58 | ····move-result-object·v8 |
58 | ····.line·40 | 59 | ····.line·40 |
59 | ····.local·v8,·"hostEmail":Ljava/lang/String; | 60 | ····.local·v8,·"hostEmail":Ljava/lang/String; |
60 | ····const/16·v | 61 | ····const/16·v13,·0x3f |
61 | ····invoke-virtual·{v8,·v | 62 | ····invoke-virtual·{v8,·v13},·Ljava/lang/String;->indexOf(I)I |
62 | ····move-result·v10 | 63 | ····move-result·v10 |
63 | ····.line·41 | 64 | ····.line·41 |
64 | ····.local·v10,·"queryStart":I | 65 | ····.local·v10,·"queryStart":I |
65 | ····if-ltz·v10,·:cond_1 | 66 | ····if-ltz·v10,·:cond_1 |
66 | ····.line·42 | 67 | ····.line·42 |
67 | ····const/4·v | 68 | ····const/4·v13,·0x0 |
68 | ····invoke-virtual·{v8,·v | 69 | ····invoke-virtual·{v8,·v13,·v10},·Ljava/lang/String;->substring(II)Ljava/lang/String; |
69 | ····move-result-object·v8 | 70 | ····move-result-object·v8 |
70 | ····.line·4 | 71 | ····.line·45 |
71 | ····:cond_1 | 72 | ····:cond_1 |
73 | ····:try_start_0 | ||
72 | ····invoke-static·{v8},·Lcom/google/zxing/client/result/EmailAddressResultParser;->urlDecode(Ljava/lang/String;)Ljava/lang/String; | 74 | ····invoke-static·{v8},·Lcom/google/zxing/client/result/EmailAddressResultParser;->urlDecode(Ljava/lang/String;)Ljava/lang/String; |
75 | ····:try_end_0 | ||
76 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 | ||
73 | ····move-result-object·v8 | 77 | ····move-result-object·v8 |
74 | ····.line·4 | 78 | ····.line·49 |
75 | ····const/4·v1,·0x0 | 79 | ····const/4·v1,·0x0 |
76 | ····.line· | 80 | ····.line·50 |
77 | ····.local·v1,·"tos":[Ljava/lang/String; | 81 | ····.local·v1,·"tos":[Ljava/lang/String; |
78 | ····invoke-virtual·{v8},·Ljava/lang/String;->isEmpty()Z | 82 | ····invoke-virtual·{v8},·Ljava/lang/String;->isEmpty()Z |
79 | ····move-result·v0 | 83 | ····move-result·v0 |
80 | ····if-nez·v0,·:cond_2 | 84 | ····if-nez·v0,·:cond_2 |
81 | ····.line· | 85 | ····.line·51 |
82 | ····sget-object·v0,·Lcom/google/zxing/client/result/EmailAddressResultParser;->COMMA:Ljava/util/regex/Pattern; | 86 | ····sget-object·v0,·Lcom/google/zxing/client/result/EmailAddressResultParser;->COMMA:Ljava/util/regex/Pattern; |
83 | ····invoke-virtual·{v0,·v8},·Ljava/util/regex/Pattern;->split(Ljava/lang/CharSequence;)[Ljava/lang/String; | 87 | ····invoke-virtual·{v0,·v8},·Ljava/util/regex/Pattern;->split(Ljava/lang/CharSequence;)[Ljava/lang/String; |
84 | ····move-result-object·v1 | 88 | ····move-result-object·v1 |
85 | ····.line· | 89 | ····.line·53 |
86 | ····:cond_2 | 90 | ····:cond_2 |
87 | ····invoke-static·{v11},·Lcom/google/zxing/client/result/EmailAddressResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map; | 91 | ····invoke-static·{v11},·Lcom/google/zxing/client/result/EmailAddressResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map; |
88 | ····move-result-object·v9 | 92 | ····move-result-object·v9 |
89 | ····.line·5 | 93 | ····.line·54 |
90 | ····.local·v9,·"nameValues":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;" | 94 | ····.local·v9,·"nameValues":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;" |
91 | ····const/4·v2,·0x0 | 95 | ····const/4·v2,·0x0 |
92 | ····.line·5 | 96 | ····.line·55 |
93 | ····.local·v2,·"ccs":[Ljava/lang/String; | 97 | ····.local·v2,·"ccs":[Ljava/lang/String; |
94 | ····const/4·v3,·0x0 | 98 | ····const/4·v3,·0x0 |
95 | ····.line·5 | 99 | ····.line·56 |
96 | ····.local·v3,·"bccs":[Ljava/lang/String; | 100 | ····.local·v3,·"bccs":[Ljava/lang/String; |
97 | ····const/4·v4,·0x0 | 101 | ····const/4·v4,·0x0 |
98 | ····.line·5 | 102 | ····.line·57 |
99 | ····.local·v4,·"subject":Ljava/lang/String; | 103 | ····.local·v4,·"subject":Ljava/lang/String; |
100 | ····const/4·v5,·0x0 | 104 | ····const/4·v5,·0x0 |
101 | ····.line·5 | 105 | ····.line·58 |
102 | ····.local·v5,·"body":Ljava/lang/String; | 106 | ····.local·v5,·"body":Ljava/lang/String; |
103 | ····if-eqz·v9,·:cond_6 | 107 | ····if-eqz·v9,·:cond_6 |
104 | ····.line·5 | 108 | ····.line·59 |
105 | ····if-nez·v1,·:cond_3 | 109 | ····if-nez·v1,·:cond_3 |
106 | ····.line· | 110 | ····.line·60 |
107 | ····const-string·v0,·"to" | 111 | ····const-string·v0,·"to" |
108 | ····invoke-interface·{v9,·v0},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; | 112 | ····invoke-interface·{v9,·v0},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
109 | ····move-result-object·v12 | 113 | ····move-result-object·v12 |
110 | ····check-cast·v12,·Ljava/lang/String; | 114 | ····check-cast·v12,·Ljava/lang/String; |
Max diff block lines reached; 4265/8207 bytes (51.97%) of diff not shown. |
Offset 285, 15 lines modified | Offset 285, 14 lines modified | ||
285 | ····.line·188 | 285 | ····.line·188 |
286 | ····.end·local·v0····#·"key":Ljava/lang/String; | 286 | ····.end·local·v0····#·"key":Ljava/lang/String; |
287 | ····.end·local·v2····#·"value":Ljava/lang/String; | 287 | ····.end·local·v2····#·"value":Ljava/lang/String; |
288 | ····:cond_0 | 288 | ····:cond_0 |
289 | ····:goto_0 | 289 | ····:goto_0 |
290 | ····return-void | 290 | ····return-void |
291 | ····.line·184 | ||
292 | ····.restart·local·v0····#·"key":Ljava/lang/String; | 291 | ····.restart·local·v0····#·"key":Ljava/lang/String; |
293 | ····.restart·local·v2····#·"value":Ljava/lang/String; | 292 | ····.restart·local·v2····#·"value":Ljava/lang/String; |
294 | ····:catch_0 | 293 | ····:catch_0 |
295 | ····move-exception·v3 | 294 | ····move-exception·v3 |
296 | ····goto·:goto_0 | 295 | ····goto·:goto_0 |
297 | .end·method | 296 | .end·method |
Offset 481, 44 lines modified | Offset 480, 25 lines modified | ||
481 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 480 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
482 | ····move-result·v3 | 481 | ····move-result·v3 |
483 | ····.line·202 | 482 | ····.line·202 |
484 | ····.local·v3,·"max":I | 483 | ····.local·v3,·"max":I |
485 | ····:cond_0 | 484 | ····:cond_0 |
486 | ····if-ge·v1,·v3,·:cond_ | 485 | ····if-ge·v1,·v3,·:cond_6 |
487 | ····.line·203 | 486 | ····.line·203 |
488 | ····invoke-virtual·{p1,·p0,·v1},·Ljava/lang/String;->indexOf(Ljava/lang/String;I)I | 487 | ····invoke-virtual·{p1,·p0,·v1},·Ljava/lang/String;->indexOf(Ljava/lang/String;I)I |
489 | ····move-result·v1 | 488 | ····move-result·v1 |
490 | ····.line·204 | 489 | ····.line·204 |
491 | ····if- | 490 | ····if-ltz·v1,·:cond_6 |
492 | ····.line·236 | ||
493 | ····:cond_1 | ||
494 | ····if-eqz·v2,·:cond_2 | ||
495 | ····invoke-interface·{v2},·Ljava/util/List;->isEmpty()Z | ||
496 | ····move-result·v6 | ||
497 | ····if-eqz·v6,·:cond_9 | ||
498 | ····.line·237 | ||
499 | ····:cond_2 | ||
500 | ····const/4·v6,·0x0 | ||
501 | ····.line·239 | ||
502 | ····:goto_0 | ||
503 | ····return-object·v6 | ||
504 | ····.line·207 | 491 | ····.line·207 |
505 | ····:cond_3 | ||
506 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 492 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
507 | ····move-result·v6 | 493 | ····move-result·v6 |
508 | ····add-int/2addr·v1,·v6 | 494 | ····add-int/2addr·v1,·v6 |
509 | ····.line·208 | 495 | ····.line·208 |
Offset 526, 121 lines modified | Offset 506, 138 lines modified | ||
526 | ····.line·209 | 506 | ····.line·209 |
527 | ····.local·v5,·"start":I | 507 | ····.local·v5,·"start":I |
528 | ····const/4·v4,·0x1 | 508 | ····const/4·v4,·0x1 |
529 | ····.line·210 | 509 | ····.line·210 |
530 | ····.local·v4,·"more":Z | 510 | ····.local·v4,·"more":Z |
531 | ····:goto_ | 511 | ····:goto_0 |
532 | ····if-eqz·v4,·:cond_0 | 512 | ····if-eqz·v4,·:cond_0 |
533 | ····.line·211 | 513 | ····.line·211 |
534 | ····invoke-virtual·{p1,·p2,·v1},·Ljava/lang/String;->indexOf(II)I | 514 | ····invoke-virtual·{p1,·p2,·v1},·Ljava/lang/String;->indexOf(II)I |
535 | ····move-result·v1 | 515 | ····move-result·v1 |
536 | ····.line·212 | 516 | ····.line·212 |
537 | ····if-gez·v1,·:cond_ | 517 | ····if-gez·v1,·:cond_1 |
538 | ····.line·214 | 518 | ····.line·214 |
539 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 519 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
540 | ····move-result·v1 | 520 | ····move-result·v1 |
541 | ····.line·215 | 521 | ····.line·215 |
542 | ····const/4·v4,·0x0 | 522 | ····const/4·v4,·0x0 |
543 | ····goto·:goto_ | 523 | ····goto·:goto_0 |
544 | ····.line·216 | 524 | ····.line·216 |
545 | ····:cond_ | 525 | ····:cond_1 |
546 | ····invoke-static·{p1,·v1},·Lcom/google/zxing/client/result/ResultParser;->countPrecedingBackslashes(Ljava/lang/CharSequence;I)I | 526 | ····invoke-static·{p1,·v1},·Lcom/google/zxing/client/result/ResultParser;->countPrecedingBackslashes(Ljava/lang/CharSequence;I)I |
547 | ····move-result·v6 | 527 | ····move-result·v6 |
548 | ····rem-int/lit8·v6,·v6,·0x2 | 528 | ····rem-int/lit8·v6,·v6,·0x2 |
549 | ····if-eqz·v6,·:cond_ | 529 | ····if-eqz·v6,·:cond_2 |
550 | ····.line·218 | 530 | ····.line·218 |
551 | ····add-int/lit8·v1,·v1,·0x1 | 531 | ····add-int/lit8·v1,·v1,·0x1 |
552 | ····goto·:goto_ | 532 | ····goto·:goto_0 |
553 | ····.line·221 | 533 | ····.line·221 |
554 | ····:cond_ | 534 | ····:cond_2 |
555 | ····if-nez·v2,·:cond_ | 535 | ····if-nez·v2,·:cond_3 |
556 | ····.line·222 | 536 | ····.line·222 |
557 | ····new-instance·v2,·Ljava/util/ArrayList; | 537 | ····new-instance·v2,·Ljava/util/ArrayList; |
558 | ····.end·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" | 538 | ····.end·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" |
559 | ····const/4·v6,·0x3 | 539 | ····const/4·v6,·0x3 |
560 | ····invoke-direct·{v2,·v6},·Ljava/util/ArrayList;-><init>(I)V | 540 | ····invoke-direct·{v2,·v6},·Ljava/util/ArrayList;-><init>(I)V |
561 | ····.line·224 | 541 | ····.line·224 |
562 | ····.restart·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" | 542 | ····.restart·local·v2····#·"matches":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" |
563 | ····:cond_ | 543 | ····:cond_3 |
564 | ····invoke-virtual·{p1,·v5,·v1},·Ljava/lang/String;->substring(II)Ljava/lang/String; | 544 | ····invoke-virtual·{p1,·v5,·v1},·Ljava/lang/String;->substring(II)Ljava/lang/String; |
565 | ····move-result-object·v6 | 545 | ····move-result-object·v6 |
566 | ····invoke-static·{v6},·Lcom/google/zxing/client/result/ResultParser;->unescapeBackslash(Ljava/lang/String;)Ljava/lang/String; | 546 | ····invoke-static·{v6},·Lcom/google/zxing/client/result/ResultParser;->unescapeBackslash(Ljava/lang/String;)Ljava/lang/String; |
567 | ····move-result-object·v0 | 547 | ····move-result-object·v0 |
Max diff block lines reached; 7239/10071 bytes (71.88%) of diff not shown. |
Offset 161, 67 lines modified | Offset 161, 66 lines modified | ||
161 | ····:cond_1 | 161 | ····:cond_1 |
162 | ····return-object·p0 | 162 | ····return-object·p0 |
163 | .end·method | 163 | .end·method |
164 | #·virtual·methods | 164 | #·virtual·methods |
165 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult; | 165 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/CalendarParsedResult; |
166 | ····.locals·2 | 166 | ····.locals·20 |
167 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; | 167 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; |
168 | ····.prologue | 168 | ····.prologue |
169 | ····.line·33 | 169 | ····.line·33 |
170 | ····invoke-static/range·{p1·..·p1},·Lcom/google/zxing/client/result/VEventResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; | 170 | ····invoke-static/range·{p1·..·p1},·Lcom/google/zxing/client/result/VEventResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; |
171 | ····move-result-object·v1 | 171 | ····move-result-object·v17 |
172 | ····.line·34 | 172 | ····.line·34 |
173 | ····.local·v1 | 173 | ····.local·v17,·"rawText":Ljava/lang/String; |
174 | ····const-string·v3,·"BEGIN:VEVENT" | 174 | ····const-string·v3,·"BEGIN:VEVENT" |
175 | ····move-object/from16·v0,·v1 | 175 | ····move-object/from16·v0,·v17 |
176 | ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->indexOf(Ljava/lang/String;)I | 176 | ····invoke-virtual·{v0,·v3},·Ljava/lang/String;->indexOf(Ljava/lang/String;)I |
177 | ····move-result·v | 177 | ····move-result·v3 |
178 | ····.line·35 | 178 | ····.line·35 |
179 | ····.local·v20,·"vEventStart":I | ||
180 | ····if-gez·v | 179 | ····if-gez·v3,·:cond_0 |
181 | ····.line·36 | 180 | ····.line·36 |
182 | ····const/4·v3,·0x0 | 181 | ····const/4·v3,·0x0 |
183 | ····.line·88 | 182 | ····.line·88 |
184 | ····:goto_0 | 183 | ····:goto_0 |
185 | ····return-object·v3 | 184 | ····return-object·v3 |
186 | ····.line·39 | 185 | ····.line·39 |
187 | ····:cond_0 | 186 | ····:cond_0 |
188 | ····const-string·v3,·"SUMMARY" | 187 | ····const-string·v3,·"SUMMARY" |
189 | ····const/16·v | 188 | ····const/16·v19,·0x1 |
190 | ····move-object/from16·v0,·v1 | 189 | ····move-object/from16·v0,·v17 |
191 | ····move/from16·v1,·v | 190 | ····move/from16·v1,·v19 |
192 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 191 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
193 | ····move-result-object·v4 | 192 | ····move-result-object·v4 |
194 | ····.line·40 | 193 | ····.line·40 |
195 | ····.local·v4,·"summary":Ljava/lang/String; | 194 | ····.local·v4,·"summary":Ljava/lang/String; |
196 | ····const-string·v3,·"DTSTART" | 195 | ····const-string·v3,·"DTSTART" |
197 | ····const/16·v | 196 | ····const/16·v19,·0x1 |
198 | ····move-object/from16·v0,·v1 | 197 | ····move-object/from16·v0,·v17 |
199 | ····move/from16·v1,·v | 198 | ····move/from16·v1,·v19 |
200 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 199 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
201 | ····move-result-object·v5 | 200 | ····move-result-object·v5 |
202 | ····.line·41 | 201 | ····.line·41 |
203 | ····.local·v5,·"start":Ljava/lang/String; | 202 | ····.local·v5,·"start":Ljava/lang/String; |
Offset 232, 79 lines modified | Offset 231, 79 lines modified | ||
232 | ····goto·:goto_0 | 231 | ····goto·:goto_0 |
233 | ····.line·44 | 232 | ····.line·44 |
234 | ····:cond_1 | 233 | ····:cond_1 |
235 | ····const-string·v3,·"DTEND" | 234 | ····const-string·v3,·"DTEND" |
236 | ····const/16·v | 235 | ····const/16·v19,·0x1 |
237 | ····move-object/from16·v0,·v1 | 236 | ····move-object/from16·v0,·v17 |
238 | ····move/from16·v1,·v | 237 | ····move/from16·v1,·v19 |
239 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 238 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
240 | ····move-result-object·v6 | 239 | ····move-result-object·v6 |
241 | ····.line·45 | 240 | ····.line·45 |
242 | ····.local·v6,·"end":Ljava/lang/String; | 241 | ····.local·v6,·"end":Ljava/lang/String; |
243 | ····const-string·v3,·"DURATION" | 242 | ····const-string·v3,·"DURATION" |
244 | ····const/16·v | 243 | ····const/16·v19,·0x1 |
245 | ····move-object/from16·v0,·v1 | 244 | ····move-object/from16·v0,·v17 |
246 | ····move/from16·v1,·v | 245 | ····move/from16·v1,·v19 |
247 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 246 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
248 | ····move-result-object·v7 | 247 | ····move-result-object·v7 |
249 | ····.line·46 | 248 | ····.line·46 |
250 | ····.local·v7,·"duration":Ljava/lang/String; | 249 | ····.local·v7,·"duration":Ljava/lang/String; |
251 | ····const-string·v3,·"LOCATION" | 250 | ····const-string·v3,·"LOCATION" |
252 | ····const/16·v | 251 | ····const/16·v19,·0x1 |
253 | ····move-object/from16·v0,·v1 | 252 | ····move-object/from16·v0,·v17 |
254 | ····move/from16·v1,·v | 253 | ····move/from16·v1,·v19 |
255 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 254 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
256 | ····move-result-object·v8 | 255 | ····move-result-object·v8 |
257 | ····.line·47 | 256 | ····.line·47 |
258 | ····.local·v8,·"location":Ljava/lang/String; | 257 | ····.local·v8,·"location":Ljava/lang/String; |
259 | ····const-string·v3,·"ORGANIZER" | 258 | ····const-string·v3,·"ORGANIZER" |
260 | ····const/16·v | 259 | ····const/16·v19,·0x1 |
261 | ····move-object/from16·v0,·v1 | 260 | ····move-object/from16·v0,·v17 |
262 | ····move/from16·v1,·v | 261 | ····move/from16·v1,·v19 |
263 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; | 262 | ····invoke-static·{v3,·v0,·v1},·Lcom/google/zxing/client/result/VEventResultParser;->matchSingleVCardPrefixedField(Ljava/lang/CharSequence;Ljava/lang/String;Z)Ljava/lang/String; |
264 | ····move-result-object·v3 | 263 | ····move-result-object·v3 |
Max diff block lines reached; 3998/8023 bytes (49.83%) of diff not shown. |
Offset 167, 15 lines modified | Offset 167, 15 lines modified | ||
167 | ····move-result·v12 | 167 | ····move-result·v12 |
168 | ····if-nez·v12,·:cond_0 | 168 | ····if-nez·v12,·:cond_0 |
169 | ····.line·48 | 169 | ····.line·48 |
170 | ····const/4·v12,·0x0 | 170 | ····const/4·v12,·0x0 |
171 | ····.line·8 | 171 | ····.line·83 |
172 | ····:goto_0 | 172 | ····:goto_0 |
173 | ····return-object·v12 | 173 | ····return-object·v12 |
174 | ····.line·52 | 174 | ····.line·52 |
175 | ····:cond_0 | 175 | ····:cond_0 |
176 | ····invoke-static·{v8},·Lcom/google/zxing/client/result/SMSMMSResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map; | 176 | ····invoke-static·{v8},·Lcom/google/zxing/client/result/SMSMMSResultParser;->parseNameValuePairs(Ljava/lang/String;)Ljava/util/Map; |
Offset 363, 9 lines modified | Offset 363, 10 lines modified | ||
363 | ····check-cast·v13,·[Ljava/lang/String; | 363 | ····check-cast·v13,·[Ljava/lang/String; |
364 | ····invoke-direct·{v14,·v12,·v13,·v10,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | 364 | ····invoke-direct·{v14,·v12,·v13,·v10,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
365 | ····move-object·v12,·v14 | 365 | ····move-object·v12,·v14 |
366 | ····.line·83 | ||
366 | ····goto·:goto_0 | 367 | ····goto·:goto_0 |
367 | .end·method | 368 | .end·method |
Offset 54, 89 lines modified | Offset 54, 89 lines modified | ||
54 | ····.param·p12,·"org"····#·Ljava/lang/String; | 54 | ····.param·p12,·"org"····#·Ljava/lang/String; |
55 | ····.param·p13,·"birthday"····#·Ljava/lang/String; | 55 | ····.param·p13,·"birthday"····#·Ljava/lang/String; |
56 | ····.param·p14,·"title"····#·Ljava/lang/String; | 56 | ····.param·p14,·"title"····#·Ljava/lang/String; |
57 | ····.param·p15,·"urls"····#·[Ljava/lang/String; | 57 | ····.param·p15,·"urls"····#·[Ljava/lang/String; |
58 | ····.param·p16,·"geo"····#·[Ljava/lang/String; | 58 | ····.param·p16,·"geo"····#·[Ljava/lang/String; |
59 | ····.prologue | 59 | ····.prologue |
60 | ····.line·8 | 60 | ····.line·85 |
61 | ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->ADDRESSBOOK:Lcom/google/zxing/client/result/ParsedResultType; | 61 | ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->ADDRESSBOOK:Lcom/google/zxing/client/result/ParsedResultType; |
62 | ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 62 | ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
63 | ····.line·8 | 63 | ····.line·86 |
64 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->names:[Ljava/lang/String; | 64 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->names:[Ljava/lang/String; |
65 | ····.line·8 | 65 | ····.line·87 |
66 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->nicknames:[Ljava/lang/String; | 66 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->nicknames:[Ljava/lang/String; |
67 | ····.line·8 | 67 | ····.line·88 |
68 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->pronunciation:Ljava/lang/String; | 68 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->pronunciation:Ljava/lang/String; |
69 | ····.line·8 | 69 | ····.line·89 |
70 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneNumbers:[Ljava/lang/String; | 70 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneNumbers:[Ljava/lang/String; |
71 | ····.line· | 71 | ····.line·90 |
72 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneTypes:[Ljava/lang/String; | 72 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->phoneTypes:[Ljava/lang/String; |
73 | ····.line· | 73 | ····.line·91 |
74 | ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emails:[Ljava/lang/String; | 74 | ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emails:[Ljava/lang/String; |
75 | ····.line· | 75 | ····.line·92 |
76 | ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emailTypes:[Ljava/lang/String; | 76 | ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->emailTypes:[Ljava/lang/String; |
77 | ····.line·9 | 77 | ····.line·93 |
78 | ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->instantMessenger:Ljava/lang/String; | 78 | ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->instantMessenger:Ljava/lang/String; |
79 | ····.line·9 | 79 | ····.line·94 |
80 | ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->note:Ljava/lang/String; | 80 | ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->note:Ljava/lang/String; |
81 | ····.line·9 | 81 | ····.line·95 |
82 | ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String; | 82 | ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String; |
83 | ····.line·9 | 83 | ····.line·96 |
84 | ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String; | 84 | ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String; |
85 | ····.line·9 | 85 | ····.line·97 |
86 | ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->org:Ljava/lang/String; | 86 | ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->org:Ljava/lang/String; |
87 | ····.line·9 | 87 | ····.line·98 |
88 | ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->birthday:Ljava/lang/String; | 88 | ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->birthday:Ljava/lang/String; |
89 | ····.line·9 | 89 | ····.line·99 |
90 | ····move-object/from16·v0,·p14 | 90 | ····move-object/from16·v0,·p14 |
91 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->title:Ljava/lang/String; | 91 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->title:Ljava/lang/String; |
92 | ····.line· | 92 | ····.line·100 |
93 | ····move-object/from16·v0,·p15 | 93 | ····move-object/from16·v0,·p15 |
94 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->urls:[Ljava/lang/String; | 94 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->urls:[Ljava/lang/String; |
95 | ····.line· | 95 | ····.line·101 |
96 | ····move-object/from16·v0,·p16 | 96 | ····move-object/from16·v0,·p16 |
97 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->geo:[Ljava/lang/String; | 97 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->geo:[Ljava/lang/String; |
98 | ····.line· | 98 | ····.line·102 |
99 | ····return-void | 99 | ····return-void |
100 | .end·method | 100 | .end·method |
101 | .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V | 101 | .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V |
102 | ····.locals·17 | 102 | ····.locals·17 |
103 | ····.param·p1,·"names"····#·[Ljava/lang/String; | 103 | ····.param·p1,·"names"····#·[Ljava/lang/String; |
104 | ····.param·p2,·"phoneNumbers"····#·[Ljava/lang/String; | 104 | ····.param·p2,·"phoneNumbers"····#·[Ljava/lang/String; |
105 | ····.param·p3,·"phoneTypes"····#·[Ljava/lang/String; | 105 | ····.param·p3,·"phoneTypes"····#·[Ljava/lang/String; |
106 | ····.param·p4,·"emails"····#·[Ljava/lang/String; | 106 | ····.param·p4,·"emails"····#·[Ljava/lang/String; |
107 | ····.param·p5,·"emailTypes"····#·[Ljava/lang/String; | 107 | ····.param·p5,·"emailTypes"····#·[Ljava/lang/String; |
108 | ····.param·p6,·"addresses"····#·[Ljava/lang/String; | 108 | ····.param·p6,·"addresses"····#·[Ljava/lang/String; |
109 | ····.param·p7,·"addressTypes"····#·[Ljava/lang/String; | 109 | ····.param·p7,·"addressTypes"····#·[Ljava/lang/String; |
110 | ····.prologue | 110 | ····.prologue |
111 | ····.line· | 111 | ····.line·51 |
112 | ····const/4·v2,·0x0 | 112 | ····const/4·v2,·0x0 |
113 | ····const/4·v3,·0x0 | 113 | ····const/4·v3,·0x0 |
114 | ····const/4·v8,·0x0 | 114 | ····const/4·v8,·0x0 |
115 | ····const/4·v9,·0x0 | 115 | ····const/4·v9,·0x0 |
Offset 165, 257 lines modified | Offset 165, 257 lines modified | ||
165 | ····move-object/from16·v10,·p6 | 165 | ····move-object/from16·v10,·p6 |
166 | ····move-object/from16·v11,·p7 | 166 | ····move-object/from16·v11,·p7 |
167 | ····invoke-direct/range·{v0·..·v16},·Lcom/google/zxing/client/result/AddressBookParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V | 167 | ····invoke-direct/range·{v0·..·v16},·Lcom/google/zxing/client/result/AddressBookParsedResult;-><init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V |
168 | ····.line·6 | 168 | ····.line·67 |
169 | ····return-void | 169 | ····return-void |
170 | .end·method | 170 | .end·method |
171 | #·virtual·methods | 171 | #·virtual·methods |
172 | .method·public·getAddressTypes()[Ljava/lang/String; | 172 | .method·public·getAddressTypes()[Ljava/lang/String; |
173 | ····.locals·1 | 173 | ····.locals·1 |
174 | ····.prologue | 174 | ····.prologue |
175 | ····.line·16 | 175 | ····.line·163 |
176 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String; | 176 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addressTypes:[Ljava/lang/String; |
177 | ····return-object·v0 | 177 | ····return-object·v0 |
178 | .end·method | 178 | .end·method |
179 | .method·public·getAddresses()[Ljava/lang/String; | 179 | .method·public·getAddresses()[Ljava/lang/String; |
180 | ····.locals·1 | 180 | ····.locals·1 |
181 | ····.prologue | 181 | ····.prologue |
182 | ····.line·15 | 182 | ····.line·155 |
183 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String; | 183 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/AddressBookParsedResult;->addresses:[Ljava/lang/String; |
184 | ····return-object·v0 | 184 | ····return-object·v0 |
185 | .end·method | 185 | .end·method |
186 | .method·public·getBirthday()Ljava/lang/String; | 186 | .method·public·getBirthday()Ljava/lang/String; |
187 | ····.locals·1 | 187 | ····.locals·1 |
188 | ····.prologue | 188 | ····.prologue |
Max diff block lines reached; 7692/12741 bytes (60.37%) of diff not shown. |
Offset 16, 100 lines modified | Offset 16, 99 lines modified | ||
16 | .method·private·static·findAIvalue(ILjava/lang/String;)Ljava/lang/String; | 16 | .method·private·static·findAIvalue(ILjava/lang/String;)Ljava/lang/String; |
17 | ····.locals·7 | 17 | ····.locals·7 |
18 | ····.param·p0,·"i"····#·I | 18 | ····.param·p0,·"i"····#·I |
19 | ····.param·p1,·"rawText"····#·Ljava/lang/String; | 19 | ····.param·p1,·"rawText"····#·Ljava/lang/String; |
20 | ····.prologue | 20 | ····.prologue |
21 | ····const/4·v | 21 | ····const/4·v4,·0x0 |
22 | ····.line·176 | 22 | ····.line·176 |
23 | ····invoke-virtual·{p1,·p0},·Ljava/lang/String;->charAt(I)C | 23 | ····invoke-virtual·{p1,·p0},·Ljava/lang/String;->charAt(I)C |
24 | ····move-result·v | 24 | ····move-result·v5 |
25 | ····.line·178 | 25 | ····.line·178 |
26 | ····.local·v1,·"c":C | ||
27 | ····const/16·v6,·0x28 | 26 | ····const/16·v6,·0x28 |
28 | ····if-eq·v | 27 | ····if-eq·v5,·v6,·:cond_1 |
29 | ····.line·195 | 28 | ····.line·195 |
30 | ····:cond_0 | 29 | ····:cond_0 |
31 | ····:goto_0 | 30 | ····:goto_0 |
32 | ····return-object·v | 31 | ····return-object·v4 |
33 | ····.line·182 | 32 | ····.line·182 |
34 | ····:cond_1 | 33 | ····:cond_1 |
35 | ····add-int/lit8·v | 34 | ····add-int/lit8·v5,·p0,·0x1 |
36 | ····invoke-virtual·{p1,·v | 35 | ····invoke-virtual·{p1,·v5},·Ljava/lang/String;->substring(I)Ljava/lang/String; |
37 | ····move-result-object·v | 36 | ····move-result-object·v3 |
38 | ····.line·184 | 37 | ····.line·184 |
39 | ····.local·v | 38 | ····.local·v3,·"rawTextAux":Ljava/lang/CharSequence; |
40 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 39 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
41 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 40 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
42 | ····.line·185 | 41 | ····.line·185 |
43 | ····.local·v0,·"buf":Ljava/lang/StringBuilder; | 42 | ····.local·v0,·"buf":Ljava/lang/StringBuilder; |
44 | ····const/4·v | 43 | ····const/4·v2,·0x0 |
45 | ····.local·v | 44 | ····.local·v2,·"index":I |
46 | ····:goto_1 | 45 | ····:goto_1 |
47 | ····invoke-interface·{v | 46 | ····invoke-interface·{v3},·Ljava/lang/CharSequence;->length()I |
48 | ····move-result·v | 47 | ····move-result·v5 |
49 | ····if-ge·v | 48 | ····if-ge·v2,·v5,·:cond_3 |
50 | ····.line·186 | 49 | ····.line·186 |
51 | ····invoke-interface·{v | 50 | ····invoke-interface·{v3,·v2},·Ljava/lang/CharSequence;->charAt(I)C |
52 | ····move-result·v | 51 | ····move-result·v1 |
53 | ····.line·187 | 52 | ····.line·187 |
54 | ····.local·v | 53 | ····.local·v1,·"currentChar":C |
55 | ····const/16·v | 54 | ····const/16·v5,·0x29 |
56 | ····if-ne·v | 55 | ····if-ne·v1,·v5,·:cond_2 |
57 | ····.line·188 | 56 | ····.line·188 |
58 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 57 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
59 | ····move-result-object·v | 58 | ····move-result-object·v4 |
60 | ····goto·:goto_0 | 59 | ····goto·:goto_0 |
61 | ····.line·189 | 60 | ····.line·189 |
62 | ····:cond_2 | 61 | ····:cond_2 |
63 | ····const/16·v | 62 | ····const/16·v5,·0x30 |
64 | ····if-lt·v | 63 | ····if-lt·v1,·v5,·:cond_0 |
65 | ····const/16·v | 64 | ····const/16·v5,·0x39 |
66 | ····if-gt·v | 65 | ····if-gt·v1,·v5,·:cond_0 |
67 | ····.line·190 | 66 | ····.line·190 |
68 | ····invoke-virtual·{v0,·v | 67 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
69 | ····.line·185 | 68 | ····.line·185 |
70 | ····add-int/lit8·v | 69 | ····add-int/lit8·v2,·v2,·0x1 |
71 | ····goto·:goto_1 | 70 | ····goto·:goto_1 |
72 | ····.line·195 | 71 | ····.line·195 |
73 | ····.end·local·v | 72 | ····.end·local·v1····#·"currentChar":C |
74 | ····:cond_3 | 73 | ····:cond_3 |
75 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 74 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
76 | ····move-result-object·v | 75 | ····move-result-object·v4 |
77 | ····goto·:goto_0 | 76 | ····goto·:goto_0 |
78 | .end·method | 77 | .end·method |
79 | .method·private·static·findValue(ILjava/lang/String;)Ljava/lang/String; | 78 | .method·private·static·findValue(ILjava/lang/String;)Ljava/lang/String; |
80 | ····.locals·6 | 79 | ····.locals·6 |
81 | ····.param·p0,·"i"····#·I | 80 | ····.param·p0,·"i"····#·I |
Offset 181, 30 lines modified | Offset 180, 29 lines modified | ||
181 | ····return-object·v4 | 180 | ····return-object·v4 |
182 | .end·method | 181 | .end·method |
183 | #·virtual·methods | 182 | #·virtual·methods |
184 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ExpandedProductParsedResult; | 183 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ExpandedProductParsedResult; |
185 | ····.locals·2 | 184 | ····.locals·23 |
186 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; | 185 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; |
187 | ····.prologue | 186 | ····.prologue |
188 | ····.line·45 | 187 | ····.line·45 |
189 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat; | 188 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat; |
190 | ····move-result-object·v | 189 | ····move-result-object·v3 |
191 | ····.line·46 | 190 | ····.line·46 |
192 | ····.local·v20,·"format":Lcom/google/zxing/BarcodeFormat; | ||
193 | ····sget-object·v | 191 | ····sget-object·v22,·Lcom/google/zxing/BarcodeFormat;->RSS_EXPANDED:Lcom/google/zxing/BarcodeFormat; |
194 | ····move-object/from16·v0,·v2 | 192 | ····move-object/from16·v0,·v22 |
195 | ····if-eq·v | 193 | ····if-eq·v3,·v0,·:cond_0 |
196 | ····.line·48 | 194 | ····.line·48 |
197 | ····const/4·v3,·0x0 | 195 | ····const/4·v3,·0x0 |
Max diff block lines reached; 19917/23847 bytes (83.52%) of diff not shown. |
Offset 9, 40 lines modified | Offset 9, 40 lines modified | ||
9 | #·direct·methods | 9 | #·direct·methods |
10 | .method·constructor·<init>(Ljava/lang/String;)V | 10 | .method·constructor·<init>(Ljava/lang/String;)V |
11 | ····.locals·1 | 11 | ····.locals·1 |
12 | ····.param·p1,·"isbn"····#·Ljava/lang/String; | 12 | ····.param·p1,·"isbn"····#·Ljava/lang/String; |
13 | ····.prologue | 13 | ····.prologue |
14 | ····.line·2 | 14 | ····.line·29 |
15 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->ISBN:Lcom/google/zxing/client/result/ParsedResultType; | 15 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->ISBN:Lcom/google/zxing/client/result/ParsedResultType; |
16 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 16 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
17 | ····.line· | 17 | ····.line·30 |
18 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String; | 18 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String; |
19 | ····.line· | 19 | ····.line·31 |
20 | ····return-void | 20 | ····return-void |
21 | .end·method | 21 | .end·method |
22 | #·virtual·methods | 22 | #·virtual·methods |
23 | .method·public·getDisplayResult()Ljava/lang/String; | 23 | .method·public·getDisplayResult()Ljava/lang/String; |
24 | ····.locals·1 | 24 | ····.locals·1 |
25 | ····.prologue | 25 | ····.prologue |
26 | ····.line·3 | 26 | ····.line·39 |
27 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String; | 27 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String; |
28 | ····return-object·v0 | 28 | ····return-object·v0 |
29 | .end·method | 29 | .end·method |
30 | .method·public·getISBN()Ljava/lang/String; | 30 | .method·public·getISBN()Ljava/lang/String; |
31 | ····.locals·1 | 31 | ····.locals·1 |
32 | ····.prologue | 32 | ····.prologue |
33 | ····.line·3 | 33 | ····.line·34 |
34 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String; | 34 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ISBNParsedResult;->isbn:Ljava/lang/String; |
35 | ····return-object·v0 | 35 | ····return-object·v0 |
36 | .end·method | 36 | .end·method |
Offset 90, 80 lines modified | Offset 90, 80 lines modified | ||
90 | ············"Ljava/lang/String;", | 90 | ············"Ljava/lang/String;", |
91 | ············"Ljava/lang/String;", | 91 | ············"Ljava/lang/String;", |
92 | ············">;)V" | 92 | ············">;)V" |
93 | ········} | 93 | ········} |
94 | ····.end·annotation | 94 | ····.end·annotation |
95 | ····.prologue | 95 | ····.prologue |
96 | ····.line·7 | 96 | ····.line·75 |
97 | ····.local·p15,·"uncommonAIs":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;" | 97 | ····.local·p15,·"uncommonAIs":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;" |
98 | ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType; | 98 | ····sget-object·v1,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType; |
99 | ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 99 | ····invoke-direct·{p0,·v1},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
100 | ····.line·7 | 100 | ····.line·76 |
101 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->rawText:Ljava/lang/String; | 101 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->rawText:Ljava/lang/String; |
102 | ····.line·7 | 102 | ····.line·77 |
103 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String; | 103 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String; |
104 | ····.line·7 | 104 | ····.line·78 |
105 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->sscc:Ljava/lang/String; | 105 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->sscc:Ljava/lang/String; |
106 | ····.line·7 | 106 | ····.line·79 |
107 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->lotNumber:Ljava/lang/String; | 107 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->lotNumber:Ljava/lang/String; |
108 | ····.line· | 108 | ····.line·80 |
109 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productionDate:Ljava/lang/String; | 109 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productionDate:Ljava/lang/String; |
110 | ····.line· | 110 | ····.line·81 |
111 | ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->packagingDate:Ljava/lang/String; | 111 | ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->packagingDate:Ljava/lang/String; |
112 | ····.line· | 112 | ····.line·82 |
113 | ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->bestBeforeDate:Ljava/lang/String; | 113 | ····iput-object·p7,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->bestBeforeDate:Ljava/lang/String; |
114 | ····.line·8 | 114 | ····.line·83 |
115 | ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->expirationDate:Ljava/lang/String; | 115 | ····iput-object·p8,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->expirationDate:Ljava/lang/String; |
116 | ····.line·8 | 116 | ····.line·84 |
117 | ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weight:Ljava/lang/String; | 117 | ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weight:Ljava/lang/String; |
118 | ····.line·8 | 118 | ····.line·85 |
119 | ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightType:Ljava/lang/String; | 119 | ····iput-object·p10,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightType:Ljava/lang/String; |
120 | ····.line·8 | 120 | ····.line·86 |
121 | ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightIncrement:Ljava/lang/String; | 121 | ····iput-object·p11,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->weightIncrement:Ljava/lang/String; |
122 | ····.line·8 | 122 | ····.line·87 |
123 | ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->price:Ljava/lang/String; | 123 | ····iput-object·p12,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->price:Ljava/lang/String; |
124 | ····.line·8 | 124 | ····.line·88 |
125 | ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceIncrement:Ljava/lang/String; | 125 | ····iput-object·p13,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceIncrement:Ljava/lang/String; |
126 | ····.line·8 | 126 | ····.line·89 |
127 | ····move-object/from16·v0,·p14 | 127 | ····move-object/from16·v0,·p14 |
128 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceCurrency:Ljava/lang/String; | 128 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->priceCurrency:Ljava/lang/String; |
129 | ····.line· | 129 | ····.line·90 |
130 | ····move-object/from16·v0,·p15 | 130 | ····move-object/from16·v0,·p15 |
131 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->uncommonAIs:Ljava/util/Map; | 131 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->uncommonAIs:Ljava/util/Map; |
132 | ····.line· | 132 | ····.line·91 |
133 | ····return-void | 133 | ····return-void |
134 | .end·method | 134 | .end·method |
135 | .method·private·static·equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z | 135 | .method·private·static·equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z |
136 | ····.locals·1 | 136 | ····.locals·1 |
137 | ····.param·p0,·"o1"····#·Ljava/lang/Object; | 137 | ····.param·p0,·"o1"····#·Ljava/lang/Object; |
138 | ····.param·p1,·"o2"····#·Ljava/lang/Object; | 138 | ····.param·p1,·"o2"····#·Ljava/lang/Object; |
139 | ····.prologue | 139 | ····.prologue |
140 | ····.line·11 | 140 | ····.line·117 |
141 | ····if-nez·p0,·:cond_1 | 141 | ····if-nez·p0,·:cond_1 |
142 | ····if-nez·p1,·:cond_0 | 142 | ····if-nez·p1,·:cond_0 |
143 | ····const/4·v0,·0x1 | 143 | ····const/4·v0,·0x1 |
144 | ····:goto_0 | 144 | ····:goto_0 |
Offset 183, 15 lines modified | Offset 183, 15 lines modified | ||
183 | .end·method | 183 | .end·method |
184 | .method·private·static·hashNotNull(Ljava/lang/Object;)I | 184 | .method·private·static·hashNotNull(Ljava/lang/Object;)I |
185 | ····.locals·1 | 185 | ····.locals·1 |
186 | ····.param·p0,·"o"····#·Ljava/lang/Object; | 186 | ····.param·p0,·"o"····#·Ljava/lang/Object; |
187 | ····.prologue | 187 | ····.prologue |
188 | ····.line·1 | 188 | ····.line·140 |
189 | ····if-nez·p0,·:cond_0 | 189 | ····if-nez·p0,·:cond_0 |
190 | ····const/4·v0,·0x0 | 190 | ····const/4·v0,·0x0 |
191 | ····:goto_0 | 191 | ····:goto_0 |
192 | ····return·v0 | 192 | ····return·v0 |
Offset 208, 31 lines modified | Offset 208, 31 lines modified | ||
208 | .method·public·equals(Ljava/lang/Object;)Z | 208 | .method·public·equals(Ljava/lang/Object;)Z |
209 | ····.locals·4 | 209 | ····.locals·4 |
210 | ····.param·p1,·"o"····#·Ljava/lang/Object; | 210 | ····.param·p1,·"o"····#·Ljava/lang/Object; |
211 | ····.prologue | 211 | ····.prologue |
212 | ····const/4·v1,·0x0 | 212 | ····const/4·v1,·0x0 |
213 | ····.line·9 | 213 | ····.line·95 |
214 | ····instance-of·v2,·p1,·Lcom/google/zxing/client/result/ExpandedProductParsedResult; | 214 | ····instance-of·v2,·p1,·Lcom/google/zxing/client/result/ExpandedProductParsedResult; |
215 | ····if-nez·v2,·:cond_1 | 215 | ····if-nez·v2,·:cond_1 |
216 | ····.line·11 | 216 | ····.line·113 |
217 | ····:cond_0 | 217 | ····:cond_0 |
218 | ····:goto_0 | 218 | ····:goto_0 |
219 | ····return·v1 | 219 | ····return·v1 |
220 | ····:cond_1 | 220 | ····:cond_1 |
221 | ····move-object·v0,·p1 | 221 | ····move-object·v0,·p1 |
222 | ····.line·9 | 222 | ····.line·99 |
223 | ····check-cast·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult; | 223 | ····check-cast·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult; |
224 | ····.line· | 224 | ····.line·101 |
225 | ····.local·v0,·"other":Lcom/google/zxing/client/result/ExpandedProductParsedResult; | 225 | ····.local·v0,·"other":Lcom/google/zxing/client/result/ExpandedProductParsedResult; |
226 | ····iget-object·v2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String; | 226 | ····iget-object·v2,·p0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String; |
227 | ····iget-object·v3,·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String; | 227 | ····iget-object·v3,·v0,·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->productID:Ljava/lang/String; |
228 | ····invoke-static·{v2,·v3},·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z | 228 | ····invoke-static·{v2,·v3},·Lcom/google/zxing/client/result/ExpandedProductParsedResult;->equalsOrNull(Ljava/lang/Object;Ljava/lang/Object;)Z |
Max diff block lines reached; 14885/19407 bytes (76.70%) of diff not shown. |
Offset 17, 130 lines modified | Offset 17, 130 lines modified | ||
17 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | 17 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
18 | ····.locals·1 | 18 | ····.locals·1 |
19 | ····.param·p1,·"networkEncryption"····#·Ljava/lang/String; | 19 | ····.param·p1,·"networkEncryption"····#·Ljava/lang/String; |
20 | ····.param·p2,·"ssid"····#·Ljava/lang/String; | 20 | ····.param·p2,·"ssid"····#·Ljava/lang/String; |
21 | ····.param·p3,·"password"····#·Ljava/lang/String; | 21 | ····.param·p3,·"password"····#·Ljava/lang/String; |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line·3 | 23 | ····.line·32 |
24 | ····const/4·v0,·0x0 | 24 | ····const/4·v0,·0x0 |
25 | ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V | 25 | ····invoke-direct·{p0,·p1,·p2,·p3,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V |
26 | ····.line·3 | 26 | ····.line·33 |
27 | ····return-void | 27 | ····return-void |
28 | .end·method | 28 | .end·method |
29 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V | 29 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V |
30 | ····.locals·1 | 30 | ····.locals·1 |
31 | ····.param·p1,·"networkEncryption"····#·Ljava/lang/String; | 31 | ····.param·p1,·"networkEncryption"····#·Ljava/lang/String; |
32 | ····.param·p2,·"ssid"····#·Ljava/lang/String; | 32 | ····.param·p2,·"ssid"····#·Ljava/lang/String; |
33 | ····.param·p3,·"password"····#·Ljava/lang/String; | 33 | ····.param·p3,·"password"····#·Ljava/lang/String; |
34 | ····.param·p4,·"hidden"····#·Z | 34 | ····.param·p4,·"hidden"····#·Z |
35 | ····.prologue | 35 | ····.prologue |
36 | ····.line·3 | 36 | ····.line·36 |
37 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->WIFI:Lcom/google/zxing/client/result/ParsedResultType; | 37 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->WIFI:Lcom/google/zxing/client/result/ParsedResultType; |
38 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 38 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
39 | ····.line·3 | 39 | ····.line·37 |
40 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String; | 40 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String; |
41 | ····.line·3 | 41 | ····.line·38 |
42 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String; | 42 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String; |
43 | ····.line·3 | 43 | ····.line·39 |
44 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String; | 44 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String; |
45 | ····.line· | 45 | ····.line·40 |
46 | ····iput-boolean·p4,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z | 46 | ····iput-boolean·p4,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z |
47 | ····.line· | 47 | ····.line·41 |
48 | ····return-void | 48 | ····return-void |
49 | .end·method | 49 | .end·method |
50 | #·virtual·methods | 50 | #·virtual·methods |
51 | .method·public·getDisplayResult()Ljava/lang/String; | 51 | .method·public·getDisplayResult()Ljava/lang/String; |
52 | ····.locals·2 | 52 | ····.locals·2 |
53 | ····.prologue | 53 | ····.prologue |
54 | ····.line· | 54 | ····.line·61 |
55 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 55 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
56 | ····const/16·v1,·0x50 | 56 | ····const/16·v1,·0x50 |
57 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 57 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
58 | ····.line·6 | 58 | ····.line·62 |
59 | ····.local·v0,·"result":Ljava/lang/StringBuilder; | 59 | ····.local·v0,·"result":Ljava/lang/StringBuilder; |
60 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String; | 60 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String; |
61 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 61 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
62 | ····.line·6 | 62 | ····.line·63 |
63 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String; | 63 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String; |
64 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 64 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
65 | ····.line·6 | 65 | ····.line·64 |
66 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String; | 66 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String; |
67 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 67 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
68 | ····.line·6 | 68 | ····.line·65 |
69 | ····iget-boolean·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z | 69 | ····iget-boolean·v1,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z |
70 | ····invoke-static·{v1},·Ljava/lang/Boolean;->toString(Z)Ljava/lang/String; | 70 | ····invoke-static·{v1},·Ljava/lang/Boolean;->toString(Z)Ljava/lang/String; |
71 | ····move-result-object·v1 | 71 | ····move-result-object·v1 |
72 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 72 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/WifiParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
73 | ····.line·6 | 73 | ····.line·66 |
74 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 74 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
75 | ····move-result-object·v1 | 75 | ····move-result-object·v1 |
76 | ····return-object·v1 | 76 | ····return-object·v1 |
77 | .end·method | 77 | .end·method |
78 | .method·public·getNetworkEncryption()Ljava/lang/String; | 78 | .method·public·getNetworkEncryption()Ljava/lang/String; |
79 | ····.locals·1 | 79 | ····.locals·1 |
80 | ····.prologue | 80 | ····.prologue |
81 | ····.line·4 | 81 | ····.line·48 |
82 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String; | 82 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->networkEncryption:Ljava/lang/String; |
83 | ····return-object·v0 | 83 | ····return-object·v0 |
84 | .end·method | 84 | .end·method |
85 | .method·public·getPassword()Ljava/lang/String; | 85 | .method·public·getPassword()Ljava/lang/String; |
86 | ····.locals·1 | 86 | ····.locals·1 |
87 | ····.prologue | 87 | ····.prologue |
88 | ····.line·5 | 88 | ····.line·52 |
89 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String; | 89 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->password:Ljava/lang/String; |
90 | ····return-object·v0 | 90 | ····return-object·v0 |
91 | .end·method | 91 | .end·method |
92 | .method·public·getSsid()Ljava/lang/String; | 92 | .method·public·getSsid()Ljava/lang/String; |
93 | ····.locals·1 | 93 | ····.locals·1 |
94 | ····.prologue | 94 | ····.prologue |
95 | ····.line·4 | 95 | ····.line·44 |
96 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String; | 96 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->ssid:Ljava/lang/String; |
97 | ····return-object·v0 | 97 | ····return-object·v0 |
98 | .end·method | 98 | .end·method |
99 | .method·public·isHidden()Z | 99 | .method·public·isHidden()Z |
100 | ····.locals·1 | 100 | ····.locals·1 |
101 | ····.prologue | 101 | ····.prologue |
102 | ····.line·5 | 102 | ····.line·56 |
103 | ····iget-boolean·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z | 103 | ····iget-boolean·v0,·p0,·Lcom/google/zxing/client/result/WifiParsedResult;->hidden:Z |
Max diff block lines reached; 28/4430 bytes (0.63%) of diff not shown. |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ····goto·:goto_0 | 72 | ····goto·:goto_0 |
73 | .end·method | 73 | .end·method |
74 | #·virtual·methods | 74 | #·virtual·methods |
75 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult; | 75 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/EmailAddressParsedResult; |
76 | ····.locals· | 76 | ····.locals·9 |
77 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; | 77 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; |
78 | ····.prologue | 78 | ····.prologue |
79 | ····const/4·v3,·0x0 | 79 | ····const/4·v3,·0x0 |
80 | ····const/4·v2,·0x0 | 80 | ····const/4·v2,·0x0 |
Offset 104, 49 lines modified | Offset 104, 47 lines modified | ||
104 | ····:goto_0 | 104 | ····:goto_0 |
105 | ····return-object·v2 | 105 | ····return-object·v2 |
106 | ····.line·40 | 106 | ····.line·40 |
107 | ····:cond_1 | 107 | ····:cond_1 |
108 | ····const-string·v0,·"TO:" | 108 | ····const-string·v0,·"TO:" |
109 | ····const/4·v | 109 | ····const/4·v7,·0x1 |
110 | ····invoke-static·{v0,·v6,·v | 110 | ····invoke-static·{v0,·v6,·v7},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->matchDoCoMoPrefixedField(Ljava/lang/String;Ljava/lang/String;Z)[Ljava/lang/String; |
111 | ····move-result-object·v1 | 111 | ····move-result-object·v1 |
112 | ····.line·41 | 112 | ····.line·41 |
113 | ····.local·v1,·"tos":[Ljava/lang/String; | 113 | ····.local·v1,·"tos":[Ljava/lang/String; |
114 | ····if-eqz·v1,·:cond_0 | 114 | ····if-eqz·v1,·:cond_0 |
115 | ····.line·44 | 115 | ····.line·44 |
116 | ····array-length·v | 116 | ····array-length·v7,·v1 |
117 | ····move·v0,·v3 | 117 | ····move·v0,·v3 |
118 | ····:goto_1 | 118 | ····:goto_1 |
119 | ····if-ge·v0,·v | 119 | ····if-ge·v0,·v7,·:cond_2 |
120 | ····aget-object·v | 120 | ····aget-object·v8,·v1,·v0 |
121 | ····.line·45 | 121 | ····.line·45 |
122 | ····.local·v7,·"to":Ljava/lang/String; | ||
123 | ····invoke-static·{v | 122 | ····invoke-static·{v8},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->isBasicallyValidEmailAddress(Ljava/lang/String;)Z |
124 | ····move-result·v | 123 | ····move-result·v8 |
125 | ····if-eqz·v | 124 | ····if-eqz·v8,·:cond_0 |
126 | ····.line·44 | 125 | ····.line·44 |
127 | ····add-int/lit8·v0,·v0,·0x1 | 126 | ····add-int/lit8·v0,·v0,·0x1 |
128 | ····goto·:goto_1 | 127 | ····goto·:goto_1 |
129 | ····.line·49 | 128 | ····.line·49 |
130 | ····.end·local·v7····#·"to":Ljava/lang/String; | ||
131 | ····:cond_2 | 129 | ····:cond_2 |
132 | ····const-string·v0,·"SUB:" | 130 | ····const-string·v0,·"SUB:" |
133 | ····invoke-static·{v0,·v6,·v3},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->matchSingleDoCoMoPrefixedField(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; | 131 | ····invoke-static·{v0,·v6,·v3},·Lcom/google/zxing/client/result/EmailDoCoMoResultParser;->matchSingleDoCoMoPrefixedField(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; |
134 | ····move-result-object·v4 | 132 | ····move-result-object·v4 |
Offset 36, 45 lines modified | Offset 36, 45 lines modified | ||
36 | #·direct·methods | 36 | #·direct·methods |
37 | .method·static·constructor·<clinit>()V | 37 | .method·static·constructor·<clinit>()V |
38 | ····.locals·1 | 38 | ····.locals·1 |
39 | ····.prologue | 39 | ····.prologue |
40 | ····.line·3 | 40 | ····.line·38 |
41 | ····const-string·v0,·"P(?:(\\d+)W)?(?:(\\d+)D)?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+)S)?)?" | 41 | ····const-string·v0,·"P(?:(\\d+)W)?(?:(\\d+)D)?(?:T(?:(\\d+)H)?(?:(\\d+)M)?(?:(\\d+)S)?)?" |
42 | ····.line·3 | 42 | ····.line·39 |
43 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 43 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
44 | ····move-result-object·v0 | 44 | ····move-result-object·v0 |
45 | ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION:Ljava/util/regex/Pattern; | 45 | ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION:Ljava/util/regex/Pattern; |
46 | ····.line· | 46 | ····.line·40 |
47 | ····const/4·v0,·0x5 | 47 | ····const/4·v0,·0x5 |
48 | ····new-array·v0,·v0,·[J | 48 | ····new-array·v0,·v0,·[J |
49 | ····fill-array-data·v0,·:array_0 | 49 | ····fill-array-data·v0,·:array_0 |
50 | ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION_FIELD_UNITS:[J | 50 | ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->RFC2445_DURATION_FIELD_UNITS:[J |
51 | ····.line·4 | 51 | ····.line·48 |
52 | ····const-string·v0,·"[0-9]{8}(T[0-9]{6}Z?)?" | 52 | ····const-string·v0,·"[0-9]{8}(T[0-9]{6}Z?)?" |
53 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 53 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
54 | ····move-result-object·v0 | 54 | ····move-result-object·v0 |
55 | ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->DATE_TIME:Ljava/util/regex/Pattern; | 55 | ····sput-object·v0,·Lcom/google/zxing/client/result/CalendarParsedResult;->DATE_TIME:Ljava/util/regex/Pattern; |
56 | ····return-void | 56 | ····return-void |
57 | ····.line· | 57 | ····.line·40 |
58 | ····nop | 58 | ····nop |
59 | ····:array_0 | 59 | ····:array_0 |
60 | ····.array-data·8 | 60 | ····.array-data·8 |
61 | ········0x240c8400 | 61 | ········0x240c8400 |
62 | ········0x5265c00 | 62 | ········0x5265c00 |
63 | ········0x36ee80 | 63 | ········0x36ee80 |
Offset 93, 54 lines modified | Offset 93, 54 lines modified | ||
93 | ····.param·p6,·"organizer"····#·Ljava/lang/String; | 93 | ····.param·p6,·"organizer"····#·Ljava/lang/String; |
94 | ····.param·p7,·"attendees"····#·[Ljava/lang/String; | 94 | ····.param·p7,·"attendees"····#·[Ljava/lang/String; |
95 | ····.param·p8,·"description"····#·Ljava/lang/String; | 95 | ····.param·p8,·"description"····#·Ljava/lang/String; |
96 | ····.param·p9,·"latitude"····#·D | 96 | ····.param·p9,·"latitude"····#·D |
97 | ····.param·p11,·"longitude"····#·D | 97 | ····.param·p11,·"longitude"····#·D |
98 | ····.prologue | 98 | ····.prologue |
99 | ····.line· | 99 | ····.line·72 |
100 | ····sget-object·v5,·Lcom/google/zxing/client/result/ParsedResultType;->CALENDAR:Lcom/google/zxing/client/result/ParsedResultType; | 100 | ····sget-object·v5,·Lcom/google/zxing/client/result/ParsedResultType;->CALENDAR:Lcom/google/zxing/client/result/ParsedResultType; |
101 | ····invoke-direct·{p0,·v5},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 101 | ····invoke-direct·{p0,·v5},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
102 | ····.line·7 | 102 | ····.line·73 |
103 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->summary:Ljava/lang/String; | 103 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->summary:Ljava/lang/String; |
104 | ····.line·7 | 104 | ····.line·76 |
105 | ····:try_start_0 | 105 | ····:try_start_0 |
106 | ····invoke-static·{p2},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDate(Ljava/lang/String;)Ljava/util/Date; | 106 | ····invoke-static·{p2},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDate(Ljava/lang/String;)Ljava/util/Date; |
107 | ····move-result-object·v5 | 107 | ····move-result-object·v5 |
108 | ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->start:Ljava/util/Date; | 108 | ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->start:Ljava/util/Date; |
109 | ····:try_end_0 | 109 | ····:try_end_0 |
110 | ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0 | 110 | ····.catch·Ljava/text/ParseException;·{:try_start_0·..·:try_end_0}·:catch_0 |
111 | ····.line· | 111 | ····.line·81 |
112 | ····if-nez·p3,·:cond_1 | 112 | ····if-nez·p3,·:cond_1 |
113 | ····.line· | 113 | ····.line·82 |
114 | ····invoke-static·{p4},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDurationMS(Ljava/lang/CharSequence;)J | 114 | ····invoke-static·{p4},·Lcom/google/zxing/client/result/CalendarParsedResult;->parseDurationMS(Ljava/lang/CharSequence;)J |
115 | ····move-result-wide·v2 | 115 | ····move-result-wide·v2 |
116 | ····.line·8 | 116 | ····.line·83 |
117 | ····.local·v2,·"durationMS":J | 117 | ····.local·v2,·"durationMS":J |
118 | ····const-wide/16·v6,·0x0 | 118 | ····const-wide/16·v6,·0x0 |
119 | ····cmp-long·v5,·v2,·v6 | 119 | ····cmp-long·v5,·v2,·v6 |
120 | ····if-gez·v5,·:cond_0 | 120 | ····if-gez·v5,·:cond_0 |
121 | ····const/4·v5,·0x0 | 121 | ····const/4·v5,·0x0 |
122 | ····:goto_0 | 122 | ····:goto_0 |
123 | ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->end:Ljava/util/Date; | 123 | ····iput-object·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->end:Ljava/util/Date; |
124 | ····.line· | 124 | ····.line·92 |
125 | ····.end·local·v2····#·"durationMS":J | 125 | ····.end·local·v2····#·"durationMS":J |
126 | ····:goto_1 | 126 | ····:goto_1 |
127 | ····invoke-virtual·{p2},·Ljava/lang/String;->length()I | 127 | ····invoke-virtual·{p2},·Ljava/lang/String;->length()I |
128 | ····move-result·v5 | 128 | ····move-result·v5 |
129 | ····const/16·v6,·0x8 | 129 | ····const/16·v6,·0x8 |
Offset 148, 15 lines modified | Offset 148, 15 lines modified | ||
148 | ····if-ne·v5,·v6,·:cond_2 | 148 | ····if-ne·v5,·v6,·:cond_2 |
149 | ····const/4·v5,·0x1 | 149 | ····const/4·v5,·0x1 |
150 | ····:goto_2 | 150 | ····:goto_2 |
151 | ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->startAllDay:Z | 151 | ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->startAllDay:Z |
152 | ····.line·9 | 152 | ····.line·93 |
153 | ····if-eqz·p3,·:cond_3 | 153 | ····if-eqz·p3,·:cond_3 |
154 | ····invoke-virtual·{p3},·Ljava/lang/String;->length()I | 154 | ····invoke-virtual·{p3},·Ljava/lang/String;->length()I |
155 | ····move-result·v5 | 155 | ····move-result·v5 |
156 | ····const/16·v6,·0x8 | 156 | ····const/16·v6,·0x8 |
Offset 164, 60 lines modified | Offset 164, 60 lines modified | ||
164 | ····if-ne·v5,·v6,·:cond_3 | 164 | ····if-ne·v5,·v6,·:cond_3 |
165 | ····const/4·v5,·0x1 | 165 | ····const/4·v5,·0x1 |
166 | ····:goto_3 | 166 | ····:goto_3 |
167 | ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->endAllDay:Z | 167 | ····iput-boolean·v5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->endAllDay:Z |
168 | ····.line·9 | 168 | ····.line·95 |
169 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->location:Ljava/lang/String; | 169 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/CalendarParsedResult;->location:Ljava/lang/String; |
Max diff block lines reached; 16620/20436 bytes (81.33%) of diff not shown. |
Offset 20, 31 lines modified | Offset 20, 26 lines modified | ||
20 | ····.param·p1,·"lastName"····#·Ljava/lang/String; | 20 | ····.param·p1,·"lastName"····#·Ljava/lang/String; |
21 | ····.prologue | 21 | ····.prologue |
22 | ····.line·93 | 22 | ····.line·93 |
23 | ····if-nez·p0,·:cond_0 | 23 | ····if-nez·p0,·:cond_0 |
24 | ····.line·96 | 24 | ····.line·96 |
25 | ····.end·local·p0····#·"firstName":Ljava/lang/String; | ||
26 | ····.end·local·p1····#·"lastName":Ljava/lang/String; | 25 | ····.end·local·p1····#·"lastName":Ljava/lang/String; |
27 | ····:goto_0 | 26 | ····:goto_0 |
28 | ····return-object·p1 | 27 | ····return-object·p1 |
29 | ····.restart·local·p0····#·"firstName":Ljava/lang/String; | ||
30 | ····.restart·local·p1····#·"lastName":Ljava/lang/String; | 28 | ····.restart·local·p1····#·"lastName":Ljava/lang/String; |
31 | ····:cond_0 | 29 | ····:cond_0 |
32 | ····if-nez·p1,·:cond_1 | 30 | ····if-nez·p1,·:cond_1 |
33 | ····.end·local·p0····#·"firstName":Ljava/lang/String; | ||
34 | ····:goto_1 | ||
35 | ····move-object·p1,·p0 | 31 | ····move-object·p1,·p0 |
36 | ····goto·:goto_0 | 32 | ····goto·:goto_0 |
37 | ····.restart·local·p0····#·"firstName":Ljava/lang/String; | ||
38 | ····:cond_1 | 33 | ····:cond_1 |
39 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 34 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
40 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 35 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
41 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 36 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 58, 17 lines modified | Offset 53, 17 lines modified | ||
58 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 53 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
59 | ····move-result-object·v0 | 54 | ····move-result-object·v0 |
60 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 55 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
61 | ····move-result-object·p | 56 | ····move-result-object·p1 |
62 | ····goto·:goto_ | 57 | ····goto·:goto_0 |
63 | .end·method | 58 | .end·method |
64 | .method·private·static·buildPhoneNumbers(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; | 59 | .method·private·static·buildPhoneNumbers(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String; |
65 | ····.locals·3 | 60 | ····.locals·3 |
66 | ····.param·p0,·"number1"····#·Ljava/lang/String; | 61 | ····.param·p0,·"number1"····#·Ljava/lang/String; |
67 | ····.param·p1,·"number2"····#·Ljava/lang/String; | 62 | ····.param·p1,·"number2"····#·Ljava/lang/String; |
68 | ····.param·p2,·"number3"····#·Ljava/lang/String; | 63 | ····.param·p2,·"number3"····#·Ljava/lang/String; |
Offset 154, 15 lines modified | Offset 149, 15 lines modified | ||
154 | ····move-result·v2 | 149 | ····move-result·v2 |
155 | ····if-nez·v2,·:cond_0 | 150 | ····if-nez·v2,·:cond_0 |
156 | ····.line·41 | 151 | ····.line·41 |
157 | ····const/4·v2,·0x0 | 152 | ····const/4·v2,·0x0 |
158 | ····.line·5 | 153 | ····.line·54 |
159 | ····:goto_0 | 154 | ····:goto_0 |
160 | ····return-object·v2 | 155 | ····return-object·v2 |
161 | ····.line·43 | 156 | ····.line·43 |
162 | ····:cond_0 | 157 | ····:cond_0 |
163 | ····const-string·v2,·"N:" | 158 | ····const-string·v2,·"N:" |
Offset 65, 34 lines modified | Offset 65, 32 lines modified | ||
65 | ····.param·p1,·"result"····#·Ljava/lang/StringBuilder; | 65 | ····.param·p1,·"result"····#·Ljava/lang/StringBuilder; |
66 | ····.prologue | 66 | ····.prologue |
67 | ····.line·60 | 67 | ····.line·60 |
68 | ····if-eqz·p0,·:cond_0 | 68 | ····if-eqz·p0,·:cond_0 |
69 | ····.line·61 | 69 | ····.line·61 |
70 | ····array-length·v | 70 | ····array-length·v1,·p0 |
71 | ····const/4·v | 71 | ····const/4·v0,·0x0 |
72 | ····:goto_0 | 72 | ····:goto_0 |
73 | ····if-ge·v | 73 | ····if-ge·v0,·v1,·:cond_0 |
74 | ····aget-object·v | 74 | ····aget-object·v2,·p0,·v0 |
75 | ····.line·62 | 75 | ····.line·62 |
76 | ····.local·v0,·"value":Ljava/lang/String; | ||
77 | ····invoke-static·{v | 76 | ····invoke-static·{v2,·p1},·Lcom/google/zxing/client/result/ParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
78 | ····.line·61 | 77 | ····.line·61 |
79 | ····add-int/lit8·v | 78 | ····add-int/lit8·v0,·v0,·0x1 |
80 | ····goto·:goto_0 | 79 | ····goto·:goto_0 |
81 | ····.line·65 | 80 | ····.line·65 |
82 | ····.end·local·v0····#·"value":Ljava/lang/String; | ||
83 | ····:cond_0 | 81 | ····:cond_0 |
84 | ····return-void | 82 | ····return-void |
85 | .end·method | 83 | .end·method |
86 | #·virtual·methods | 84 | #·virtual·methods |
87 | .method·public·abstract·getDisplayResult()Ljava/lang/String; | 85 | .method·public·abstract·getDisplayResult()Ljava/lang/String; |
Offset 272, 29 lines modified | Offset 272, 31 lines modified | ||
272 | ········0xa·->·:sswitch_0 | 272 | ········0xa·->·:sswitch_0 |
273 | ········0xd·->·:sswitch_0 | 273 | ········0xd·->·:sswitch_0 |
274 | ········0x3d·->·:sswitch_1 | 274 | ········0x3d·->·:sswitch_1 |
275 | ····.end·sparse-switch | 275 | ····.end·sparse-switch |
276 | .end·method | 276 | .end·method |
277 | .method·private·static·formatNames(Ljava/lang/Iterable;)V | 277 | .method·private·static·formatNames(Ljava/lang/Iterable;)V |
278 | ····.locals·1 | 278 | ····.locals·11 |
279 | ····.annotation·system·Ldalvik/annotation/Signature; | 279 | ····.annotation·system·Ldalvik/annotation/Signature; |
280 | ········value·=·{ | 280 | ········value·=·{ |
281 | ············"(", | 281 | ············"(", |
282 | ············"Ljava/lang/Iterable", | 282 | ············"Ljava/lang/Iterable", |
283 | ············"<", | 283 | ············"<", |
284 | ············"Ljava/util/List", | 284 | ············"Ljava/util/List", |
285 | ············"<", | 285 | ············"<", |
286 | ············"Ljava/lang/String;", | 286 | ············"Ljava/lang/String;", |
287 | ············">;>;)V" | 287 | ············">;>;)V" |
288 | ········} | 288 | ········} |
289 | ····.end·annotation | 289 | ····.end·annotation |
290 | ····.prologue | 290 | ····.prologue |
291 | ····.local·p0,·"names":Ljava/lang/Iterable;,·"Ljava/lang/Iterable<Ljava/util/List<Ljava/lang/String;>;>;" | 291 | ····.local·p0,·"names":Ljava/lang/Iterable;,·"Ljava/lang/Iterable<Ljava/util/List<Ljava/lang/String;>;>;" |
292 | ····const/4·v10,·0x4 | ||
292 | ····const/4·v9,·0x0 | 293 | ····const/4·v9,·0x0 |
293 | ····.line·324 | 294 | ····.line·324 |
294 | ····if-eqz·p0,·:cond_1 | 295 | ····if-eqz·p0,·:cond_1 |
295 | ····.line·325 | 296 | ····.line·325 |
296 | ····invoke-interface·{p0},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; | 297 | ····invoke-interface·{p0},·Ljava/lang/Iterable;->iterator()Ljava/util/Iterator; |
Offset 335, 19 lines modified | Offset 337, 15 lines modified | ||
335 | ····.line·330 | 337 | ····.line·330 |
336 | ····.local·v6,·"start":I | 338 | ····.local·v6,·"start":I |
337 | ····const/4·v0,·0x0 | 339 | ····const/4·v0,·0x0 |
338 | ····.line·331 | 340 | ····.line·331 |
339 | ····.local·v0,·"componentIndex":I | 341 | ····.local·v0,·"componentIndex":I |
340 | ····:goto_1 | 342 | ····:goto_1 |
341 | ····array-length·v8,·v1 | ||
342 | ····add-int/lit8·v8,·v8,·-0x1 | ||
343 | ····if-ge·v0,·v | 343 | ····if-ge·v0,·v10,·:cond_0 |
344 | ····const/16·v8,·0x3b | 344 | ····const/16·v8,·0x3b |
345 | ····invoke-virtual·{v4,·v8,·v6},·Ljava/lang/String;->indexOf(II)I | 345 | ····invoke-virtual·{v4,·v8,·v6},·Ljava/lang/String;->indexOf(II)I |
346 | ····move-result·v2 | 346 | ····move-result·v2 |
Offset 401, 17 lines modified | Offset 399, 15 lines modified | ||
401 | ····invoke-static·{v1,·v8,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V | 399 | ····invoke-static·{v1,·v8,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V |
402 | ····.line·341 | 400 | ····.line·341 |
403 | ····invoke-static·{v1,·v9,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V | 401 | ····invoke-static·{v1,·v9,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V |
404 | ····.line·342 | 402 | ····.line·342 |
405 | ····const/4·v8,·0x4 | ||
406 | ····invoke-static·{v1,·v | 403 | ····invoke-static·{v1,·v10,·v5},·Lcom/google/zxing/client/result/VCardResultParser;->maybeAppendComponent([Ljava/lang/String;ILjava/lang/StringBuilder;)V |
407 | ····.line·343 | 404 | ····.line·343 |
408 | ····invoke-virtual·{v5},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 405 | ····invoke-virtual·{v5},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
409 | ····move-result-object·v8 | 406 | ····move-result-object·v8 |
410 | ····invoke-virtual·{v8},·Ljava/lang/String;->trim()Ljava/lang/String; | 407 | ····invoke-virtual·{v8},·Ljava/lang/String;->trim()Ljava/lang/String; |
Offset 552, 26 lines modified | Offset 548, 22 lines modified | ||
552 | ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I | 548 | ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I |
553 | ····move-result·v9 | 549 | ····move-result·v9 |
554 | ····.line·110 | 550 | ····.line·110 |
555 | ····.local·v9,·"max":I | 551 | ····.local·v9,·"max":I |
556 | ····:goto_0 | 552 | ····:goto_0 |
557 | ····if-ge·v3,·v9,·:cond_1 | 553 | ····if-ge·v3,·v9,·:cond_13 |
558 | ····.line·114 | 554 | ····.line·114 |
559 | ····new-instance·v17,·Ljava/lang/StringBuilder; | 555 | ····new-instance·v17,·Ljava/lang/StringBuilder; |
560 | ····invoke-direct/range·{v17·..·v17},·Ljava/lang/StringBuilder;-><init>()V | ||
561 | ····const-string·v18,·"(?:^|\n)" | 556 | ····const-string·v18,·"(?:^|\n)" |
562 | ····invoke- | 557 | ····invoke-direct/range·{v17·..·v18},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
563 | ····move-result-object·v17 | ||
564 | ····move-object/from16·v0,·v17 | 558 | ····move-object/from16·v0,·v17 |
565 | ····move-object/from16·v1,·p0 | 559 | ····move-object/from16·v1,·p0 |
566 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 560 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
Offset 611, 24 lines modified | Offset 603, 17 lines modified | ||
611 | ····.line·119 | 603 | ····.line·119 |
612 | ····:cond_0 | 604 | ····:cond_0 |
613 | ····invoke-virtual·{v7,·v3},·Ljava/util/regex/Matcher;->find(I)Z | 605 | ····invoke-virtual·{v7,·v3},·Ljava/util/regex/Matcher;->find(I)Z |
614 | ····move-result·v17 | 606 | ····move-result·v17 |
615 | ····if- | 607 | ····if-eqz·v17,·:cond_13 |
616 | ····.line·206 | ||
617 | ····.end·local·v7····#·"matcher":Ljava/util/regex/Matcher; | ||
618 | ····:cond_1 | ||
619 | ····return-object·v8 | ||
620 | ····.line·122 | 608 | ····.line·122 |
621 | ····.restart·local·v7····#·"matcher":Ljava/util/regex/Matcher; | ||
622 | ····:cond_2 | ||
623 | ····const/16·v17,·0x0 | 609 | ····const/16·v17,·0x0 |
624 | ····move/from16·v0,·v17 | 610 | ····move/from16·v0,·v17 |
625 | ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Matcher;->end(I)I | 611 | ····invoke-virtual·{v7,·v0},·Ljava/util/regex/Matcher;->end(I)I |
626 | ····move-result·v3 | 612 | ····move-result·v3 |
Offset 652, 15 lines modified | Offset 637, 15 lines modified | ||
652 | ····.line·127 | 637 | ····.line·127 |
653 | ····.local·v14,·"quotedPrintable":Z | 638 | ····.local·v14,·"quotedPrintable":Z |
654 | ····const/4·v15,·0x0 | 639 | ····const/4·v15,·0x0 |
Max diff block lines reached; 17701/21288 bytes (83.15%) of diff not shown. |
Offset 14, 15 lines modified | Offset 14, 15 lines modified | ||
14 | #·direct·methods | 14 | #·direct·methods |
15 | .method·static·constructor·<clinit>()V | 15 | .method·static·constructor·<clinit>()V |
16 | ····.locals·1 | 16 | ····.locals·1 |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·2 | 18 | ····.line·28 |
19 | ····const-string·v0,·":/*([^/@]+)@[^/]+" | 19 | ····const-string·v0,·":/*([^/@]+)@[^/]+" |
20 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 20 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
21 | ····move-result-object·v0 | 21 | ····move-result-object·v0 |
22 | ····sput-object·v0,·Lcom/google/zxing/client/result/URIParsedResult;->USER_IN_HOST:Ljava/util/regex/Pattern; | 22 | ····sput-object·v0,·Lcom/google/zxing/client/result/URIParsedResult;->USER_IN_HOST:Ljava/util/regex/Pattern; |
Offset 32, 60 lines modified | Offset 32, 60 lines modified | ||
32 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V | 32 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V |
33 | ····.locals·1 | 33 | ····.locals·1 |
34 | ····.param·p1,·"uri"····#·Ljava/lang/String; | 34 | ····.param·p1,·"uri"····#·Ljava/lang/String; |
35 | ····.param·p2,·"title"····#·Ljava/lang/String; | 35 | ····.param·p2,·"title"····#·Ljava/lang/String; |
36 | ····.prologue | 36 | ····.prologue |
37 | ····.line·3 | 37 | ····.line·34 |
38 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->URI:Lcom/google/zxing/client/result/ParsedResultType; | 38 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->URI:Lcom/google/zxing/client/result/ParsedResultType; |
39 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 39 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
40 | ····.line·3 | 40 | ····.line·35 |
41 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/URIParsedResult;->massageURI(Ljava/lang/String;)Ljava/lang/String; | 41 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/URIParsedResult;->massageURI(Ljava/lang/String;)Ljava/lang/String; |
42 | ····move-result-object·v0 | 42 | ····move-result-object·v0 |
43 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->uri:Ljava/lang/String; | 43 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->uri:Ljava/lang/String; |
44 | ····.line·3 | 44 | ····.line·36 |
45 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->title:Ljava/lang/String; | 45 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/URIParsedResult;->title:Ljava/lang/String; |
46 | ····.line·3 | 46 | ····.line·37 |
47 | ····return-void | 47 | ····return-void |
48 | .end·method | 48 | .end·method |
49 | .method·private·static·isColonFollowedByPortNumber(Ljava/lang/String;I)Z | 49 | .method·private·static·isColonFollowedByPortNumber(Ljava/lang/String;I)Z |
50 | ····.locals·3 | 50 | ····.locals·3 |
51 | ····.param·p0,·"uri"····#·Ljava/lang/String; | 51 | ····.param·p0,·"uri"····#·Ljava/lang/String; |
52 | ····.param·p1,·"protocolEnd"····#·I | 52 | ····.param·p1,·"protocolEnd"····#·I |
53 | ····.prologue | 53 | ····.prologue |
54 | ····.line·8 | 54 | ····.line·83 |
55 | ····add-int/lit8·v1,·p1,·0x1 | 55 | ····add-int/lit8·v1,·p1,·0x1 |
56 | ····.line·8 | 56 | ····.line·84 |
57 | ····.local·v1,·"start":I | 57 | ····.local·v1,·"start":I |
58 | ····const/16·v2,·0x2f | 58 | ····const/16·v2,·0x2f |
59 | ····invoke-virtual·{p0,·v2,·v1},·Ljava/lang/String;->indexOf(II)I | 59 | ····invoke-virtual·{p0,·v2,·v1},·Ljava/lang/String;->indexOf(II)I |
60 | ····move-result·v0 | 60 | ····move-result·v0 |
61 | ····.line·8 | 61 | ····.line·85 |
62 | ····.local·v0,·"nextSlash":I | 62 | ····.local·v0,·"nextSlash":I |
63 | ····if-gez·v0,·:cond_0 | 63 | ····if-gez·v0,·:cond_0 |
64 | ····.line·8 | 64 | ····.line·86 |
65 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 65 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
66 | ····move-result·v0 | 66 | ····move-result·v0 |
67 | ····.line·8 | 67 | ····.line·88 |
68 | ····:cond_0 | 68 | ····:cond_0 |
69 | ····sub-int·v2,·v0,·v1 | 69 | ····sub-int·v2,·v0,·v1 |
70 | ····invoke-static·{p0,·v1,·v2},·Lcom/google/zxing/client/result/ResultParser;->isSubstringOfDigits(Ljava/lang/CharSequence;II)Z | 70 | ····invoke-static·{p0,·v1,·v2},·Lcom/google/zxing/client/result/ResultParser;->isSubstringOfDigits(Ljava/lang/CharSequence;II)Z |
71 | ····move-result·v2 | 71 | ····move-result·v2 |
Offset 93, 118 lines modified | Offset 93, 114 lines modified | ||
93 | .end·method | 93 | .end·method |
94 | .method·private·static·massageURI(Ljava/lang/String;)Ljava/lang/String; | 94 | .method·private·static·massageURI(Ljava/lang/String;)Ljava/lang/String; |
95 | ····.locals·3 | 95 | ····.locals·3 |
96 | ····.param·p0,·"uri"····#·Ljava/lang/String; | 96 | ····.param·p0,·"uri"····#·Ljava/lang/String; |
97 | ····.prologue | 97 | ····.prologue |
98 | ····.line·7 | 98 | ····.line·72 |
99 | ····invoke-virtual·{p0},·Ljava/lang/String;->trim()Ljava/lang/String; | 99 | ····invoke-virtual·{p0},·Ljava/lang/String;->trim()Ljava/lang/String; |
100 | ····move-result-object·p0 | 100 | ····move-result-object·p0 |
101 | ····.line·7 | 101 | ····.line·73 |
102 | ····const/16·v1,·0x3a | 102 | ····const/16·v1,·0x3a |
103 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->indexOf(I)I | 103 | ····invoke-virtual·{p0,·v1},·Ljava/lang/String;->indexOf(I)I |
104 | ····move-result·v0 | 104 | ····move-result·v0 |
105 | ····.line·7 | 105 | ····.line·74 |
106 | ····.local·v0,·"protocolEnd":I | 106 | ····.local·v0,·"protocolEnd":I |
107 | ····if-ltz·v0,·:cond_0 | 107 | ····if-ltz·v0,·:cond_0 |
108 | ····invoke-static·{p0,·v0},·Lcom/google/zxing/client/result/URIParsedResult;->isColonFollowedByPortNumber(Ljava/lang/String;I)Z | 108 | ····invoke-static·{p0,·v0},·Lcom/google/zxing/client/result/URIParsedResult;->isColonFollowedByPortNumber(Ljava/lang/String;I)Z |
109 | ····move-result·v1 | 109 | ····move-result·v1 |
110 | ····if-eqz·v1,·:cond_1 | 110 | ····if-eqz·v1,·:cond_1 |
111 | ····.line·7 | 111 | ····.line·77 |
112 | ····:cond_0 | 112 | ····:cond_0 |
113 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 113 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
114 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | ||
115 | ····const-string·v2,·"http://" | 114 | ····const-string·v2,·"http://" |
116 | ····invoke- | 115 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
117 | ····move-result-object·v1 | ||
118 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 116 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
119 | ····move-result-object·v1 | 117 | ····move-result-object·v1 |
120 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 118 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
121 | ····move-result-object·p0 | 119 | ····move-result-object·p0 |
122 | ····.line·7 | 120 | ····.line·79 |
Max diff block lines reached; 2023/5703 bytes (35.47%) of diff not shown. |
Offset 22, 316 lines modified | Offset 22, 316 lines modified | ||
22 | ····.param·p4,·"body"····#·Ljava/lang/String; | 22 | ····.param·p4,·"body"····#·Ljava/lang/String; |
23 | ····.prologue | 23 | ····.prologue |
24 | ····const/4·v2,·0x1 | 24 | ····const/4·v2,·0x1 |
25 | ····const/4·v1,·0x0 | 25 | ····const/4·v1,·0x0 |
26 | ····.line·3 | 26 | ····.line·36 |
27 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType; | 27 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType; |
28 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 28 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
29 | ····.line·3 | 29 | ····.line·37 |
30 | ····new-array·v0,·v2,·[Ljava/lang/String; | 30 | ····new-array·v0,·v2,·[Ljava/lang/String; |
31 | ····aput-object·p1,·v0,·v1 | 31 | ····aput-object·p1,·v0,·v1 |
32 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; | 32 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; |
33 | ····.line·3 | 33 | ····.line·38 |
34 | ····new-array·v0,·v2,·[Ljava/lang/String; | 34 | ····new-array·v0,·v2,·[Ljava/lang/String; |
35 | ····aput-object·p2,·v0,·v1 | 35 | ····aput-object·p2,·v0,·v1 |
36 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String; | 36 | ····iput-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String; |
37 | ····.line·3 | 37 | ····.line·39 |
38 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String; | 38 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String; |
39 | ····.line· | 39 | ····.line·40 |
40 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; | 40 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; |
41 | ····.line· | 41 | ····.line·41 |
42 | ····return-void | 42 | ····return-void |
43 | .end·method | 43 | .end·method |
44 | .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | 44 | .method·public·constructor·<init>([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
45 | ····.locals·1 | 45 | ····.locals·1 |
46 | ····.param·p1,·"numbers"····#·[Ljava/lang/String; | 46 | ····.param·p1,·"numbers"····#·[Ljava/lang/String; |
47 | ····.param·p2,·"vias"····#·[Ljava/lang/String; | 47 | ····.param·p2,·"vias"····#·[Ljava/lang/String; |
48 | ····.param·p3,·"subject"····#·Ljava/lang/String; | 48 | ····.param·p3,·"subject"····#·Ljava/lang/String; |
49 | ····.param·p4,·"body"····#·Ljava/lang/String; | 49 | ····.param·p4,·"body"····#·Ljava/lang/String; |
50 | ····.prologue | 50 | ····.prologue |
51 | ····.line·4 | 51 | ····.line·47 |
52 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType; | 52 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->SMS:Lcom/google/zxing/client/result/ParsedResultType; |
53 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 53 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
54 | ····.line·4 | 54 | ····.line·48 |
55 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; | 55 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; |
56 | ····.line·4 | 56 | ····.line·49 |
57 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String; | 57 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->vias:[Ljava/lang/String; |
58 | ····.line· | 58 | ····.line·50 |
59 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String; | 59 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String; |
60 | ····.line· | 60 | ····.line·51 |
61 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; | 61 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; |
62 | ····.line· | 62 | ····.line·52 |
63 | ····return-void | 63 | ····return-void |
64 | .end·method | 64 | .end·method |
65 | #·virtual·methods | 65 | #·virtual·methods |
66 | .method·public·getBody()Ljava/lang/String; | 66 | .method·public·getBody()Ljava/lang/String; |
67 | ····.locals·1 | 67 | ····.locals·1 |
68 | ····.prologue | 68 | ····.prologue |
69 | ····.line· | 69 | ····.line·102 |
70 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; | 70 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; |
71 | ····return-object·v0 | 71 | ····return-object·v0 |
72 | .end·method | 72 | .end·method |
73 | .method·public·getDisplayResult()Ljava/lang/String; | 73 | .method·public·getDisplayResult()Ljava/lang/String; |
74 | ····.locals·2 | 74 | ····.locals·2 |
75 | ····.prologue | 75 | ····.prologue |
76 | ····.line·10 | 76 | ····.line·107 |
77 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 77 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
78 | ····const/16·v1,·0x64 | 78 | ····const/16·v1,·0x64 |
79 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 79 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
80 | ····.line·10 | 80 | ····.line·108 |
81 | ····.local·v0,·"result":Ljava/lang/StringBuilder; | 81 | ····.local·v0,·"result":Ljava/lang/StringBuilder; |
82 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; | 82 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; |
83 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V | 83 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend([Ljava/lang/String;Ljava/lang/StringBuilder;)V |
84 | ····.line·10 | 84 | ····.line·109 |
85 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String; | 85 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->subject:Ljava/lang/String; |
86 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 86 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
87 | ····.line·1 | 87 | ····.line·110 |
88 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; | 88 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->body:Ljava/lang/String; |
89 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 89 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/SMSParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
90 | ····.line·1 | 90 | ····.line·111 |
91 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 91 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
92 | ····move-result-object·v1 | 92 | ····move-result-object·v1 |
93 | ····return-object·v1 | 93 | ····return-object·v1 |
94 | .end·method | 94 | .end·method |
95 | .method·public·getNumbers()[Ljava/lang/String; | 95 | .method·public·getNumbers()[Ljava/lang/String; |
96 | ····.locals·1 | 96 | ····.locals·1 |
97 | ····.prologue | 97 | ····.prologue |
98 | ····.line· | 98 | ····.line·90 |
99 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; | 99 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/SMSParsedResult;->numbers:[Ljava/lang/String; |
100 | ····return-object·v0 | 100 | ····return-object·v0 |
101 | .end·method | 101 | .end·method |
102 | .method·public·getSMSURI()Ljava/lang/String; | 102 | .method·public·getSMSURI()Ljava/lang/String; |
103 | ····.locals·8 | 103 | ····.locals·8 |
104 | ····.prologue | 104 | ····.prologue |
105 | ····const/4·v5,·0x1 | 105 | ····const/4·v5,·0x1 |
Max diff block lines reached; 4939/9238 bytes (53.46%) of diff not shown. |
Offset 11, 66 lines modified | Offset 11, 66 lines modified | ||
11 | #·direct·methods | 11 | #·direct·methods |
12 | .method·constructor·<init>(Ljava/lang/String;)V | 12 | .method·constructor·<init>(Ljava/lang/String;)V |
13 | ····.locals·0 | 13 | ····.locals·0 |
14 | ····.param·p1,·"productID"····#·Ljava/lang/String; | 14 | ····.param·p1,·"productID"····#·Ljava/lang/String; |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line· | 16 | ····.line·30 |
17 | ····invoke-direct·{p0,·p1,·p1},·Lcom/google/zxing/client/result/ProductParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;)V | 17 | ····invoke-direct·{p0,·p1,·p1},·Lcom/google/zxing/client/result/ProductParsedResult;-><init>(Ljava/lang/String;Ljava/lang/String;)V |
18 | ····.line· | 18 | ····.line·31 |
19 | ····return-void | 19 | ····return-void |
20 | .end·method | 20 | .end·method |
21 | .method·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V | 21 | .method·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V |
22 | ····.locals·1 | 22 | ····.locals·1 |
23 | ····.param·p1,·"productID"····#·Ljava/lang/String; | 23 | ····.param·p1,·"productID"····#·Ljava/lang/String; |
24 | ····.param·p2,·"normalizedProductID"····#·Ljava/lang/String; | 24 | ····.param·p2,·"normalizedProductID"····#·Ljava/lang/String; |
25 | ····.prologue | 25 | ····.prologue |
26 | ····.line·3 | 26 | ····.line·34 |
27 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType; | 27 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->PRODUCT:Lcom/google/zxing/client/result/ParsedResultType; |
28 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 28 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
29 | ····.line·3 | 29 | ····.line·35 |
30 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String; | 30 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String; |
31 | ····.line·3 | 31 | ····.line·36 |
32 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String; | 32 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String; |
33 | ····.line·3 | 33 | ····.line·37 |
34 | ····return-void | 34 | ····return-void |
35 | .end·method | 35 | .end·method |
36 | #·virtual·methods | 36 | #·virtual·methods |
37 | .method·public·getDisplayResult()Ljava/lang/String; | 37 | .method·public·getDisplayResult()Ljava/lang/String; |
38 | ····.locals·1 | 38 | ····.locals·1 |
39 | ····.prologue | 39 | ····.prologue |
40 | ····.line·4 | 40 | ····.line·49 |
41 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String; | 41 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String; |
42 | ····return-object·v0 | 42 | ····return-object·v0 |
43 | .end·method | 43 | .end·method |
44 | .method·public·getNormalizedProductID()Ljava/lang/String; | 44 | .method·public·getNormalizedProductID()Ljava/lang/String; |
45 | ····.locals·1 | 45 | ····.locals·1 |
46 | ····.prologue | 46 | ····.prologue |
47 | ····.line·4 | 47 | ····.line·44 |
48 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String; | 48 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->normalizedProductID:Ljava/lang/String; |
49 | ····return-object·v0 | 49 | ····return-object·v0 |
50 | .end·method | 50 | .end·method |
51 | .method·public·getProductID()Ljava/lang/String; | 51 | .method·public·getProductID()Ljava/lang/String; |
52 | ····.locals·1 | 52 | ····.locals·1 |
53 | ····.prologue | 53 | ····.prologue |
54 | ····.line· | 54 | ····.line·40 |
55 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String; | 55 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/ProductParsedResult;->productID:Ljava/lang/String; |
56 | ····return-object·v0 | 56 | ····return-object·v0 |
57 | .end·method | 57 | .end·method |
Offset 33, 227 lines modified | Offset 33, 227 lines modified | ||
33 | ····.param·p5,·"countryCode"····#·Ljava/lang/String; | 33 | ····.param·p5,·"countryCode"····#·Ljava/lang/String; |
34 | ····.param·p6,·"vehicleAttributes"····#·Ljava/lang/String; | 34 | ····.param·p6,·"vehicleAttributes"····#·Ljava/lang/String; |
35 | ····.param·p7,·"modelYear"····#·I | 35 | ····.param·p7,·"modelYear"····#·I |
36 | ····.param·p8,·"plantCode"····#·C | 36 | ····.param·p8,·"plantCode"····#·C |
37 | ····.param·p9,·"sequentialNumber"····#·Ljava/lang/String; | 37 | ····.param·p9,·"sequentialNumber"····#·Ljava/lang/String; |
38 | ····.prologue | 38 | ····.prologue |
39 | ····.line·4 | 39 | ····.line·44 |
40 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->VIN:Lcom/google/zxing/client/result/ParsedResultType; | 40 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->VIN:Lcom/google/zxing/client/result/ParsedResultType; |
41 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 41 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
42 | ····.line·4 | 42 | ····.line·45 |
43 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vin:Ljava/lang/String; | 43 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vin:Ljava/lang/String; |
44 | ····.line·4 | 44 | ····.line·46 |
45 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String; | 45 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String; |
46 | ····.line·4 | 46 | ····.line·47 |
47 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String; | 47 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String; |
48 | ····.line·4 | 48 | ····.line·48 |
49 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String; | 49 | ····iput-object·p4,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String; |
50 | ····.line·4 | 50 | ····.line·49 |
51 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; | 51 | ····iput-object·p5,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; |
52 | ····.line· | 52 | ····.line·50 |
53 | ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleAttributes:Ljava/lang/String; | 53 | ····iput-object·p6,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleAttributes:Ljava/lang/String; |
54 | ····.line· | 54 | ····.line·51 |
55 | ····iput·p7,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I | 55 | ····iput·p7,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I |
56 | ····.line·5 | 56 | ····.line·52 |
57 | ····iput-char·p8,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C | 57 | ····iput-char·p8,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C |
58 | ····.line·5 | 58 | ····.line·53 |
59 | ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->sequentialNumber:Ljava/lang/String; | 59 | ····iput-object·p9,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->sequentialNumber:Ljava/lang/String; |
60 | ····.line·5 | 60 | ····.line·54 |
61 | ····return-void | 61 | ····return-void |
62 | .end·method | 62 | .end·method |
63 | #·virtual·methods | 63 | #·virtual·methods |
64 | .method·public·getCountryCode()Ljava/lang/String; | 64 | .method·public·getCountryCode()Ljava/lang/String; |
65 | ····.locals·1 | 65 | ····.locals·1 |
66 | ····.prologue | 66 | ····.prologue |
67 | ····.line·7 | 67 | ····.line·73 |
68 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; | 68 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; |
69 | ····return-object·v0 | 69 | ····return-object·v0 |
70 | .end·method | 70 | .end·method |
71 | .method·public·getDisplayResult()Ljava/lang/String; | 71 | .method·public·getDisplayResult()Ljava/lang/String; |
72 | ····.locals·4 | 72 | ····.locals·4 |
73 | ····.prologue | 73 | ····.prologue |
74 | ····const/16·v3,·0xa | 74 | ····const/16·v3,·0xa |
75 | ····const/16·v2,·0x20 | 75 | ····const/16·v2,·0x20 |
76 | ····.line·9 | 76 | ····.line·94 |
77 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 77 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
78 | ····const/16·v1,·0x32 | 78 | ····const/16·v1,·0x32 |
79 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 79 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
80 | ····.line·9 | 80 | ····.line·95 |
81 | ····.local·v0,·"result":Ljava/lang/StringBuilder; | 81 | ····.local·v0,·"result":Ljava/lang/StringBuilder; |
82 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String; | 82 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->worldManufacturerID:Ljava/lang/String; |
83 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 83 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
84 | ····move-result-object·v1 | 84 | ····move-result-object·v1 |
85 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 85 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
86 | ····.line·9 | 86 | ····.line·96 |
87 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String; | 87 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleDescriptorSection:Ljava/lang/String; |
88 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 88 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
89 | ····move-result-object·v1 | 89 | ····move-result-object·v1 |
90 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 90 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
91 | ····.line·9 | 91 | ····.line·97 |
92 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String; | 92 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->vehicleIdentifierSection:Ljava/lang/String; |
93 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 93 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
94 | ····move-result-object·v1 | 94 | ····move-result-object·v1 |
95 | ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 95 | ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
96 | ····.line·9 | 96 | ····.line·98 |
97 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; | 97 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; |
98 | ····if-eqz·v1,·:cond_0 | 98 | ····if-eqz·v1,·:cond_0 |
99 | ····.line·9 | 99 | ····.line·99 |
100 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; | 100 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->countryCode:Ljava/lang/String; |
101 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 101 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
102 | ····move-result-object·v1 | 102 | ····move-result-object·v1 |
103 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 103 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
104 | ····.line· | 104 | ····.line·101 |
105 | ····:cond_0 | 105 | ····:cond_0 |
106 | ····iget·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I | 106 | ····iget·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->modelYear:I |
107 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 107 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
108 | ····move-result-object·v1 | 108 | ····move-result-object·v1 |
109 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 109 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
110 | ····.line·10 | 110 | ····.line·102 |
111 | ····iget-char·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C | 111 | ····iget-char·v1,·p0,·Lcom/google/zxing/client/result/VINParsedResult;->plantCode:C |
112 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 112 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
Max diff block lines reached; 2674/7412 bytes (36.08%) of diff not shown. |
Offset 20, 15 lines modified | Offset 20, 15 lines modified | ||
20 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 20 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
21 | ····move-result-object·v0 | 21 | ····move-result-object·v0 |
22 | ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITH_PROTOCOL_PATTERN:Ljava/util/regex/Pattern; | 22 | ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITH_PROTOCOL_PATTERN:Ljava/util/regex/Pattern; |
23 | ····.line·33 | 23 | ····.line·33 |
24 | ····const-string·v0,·"([a-zA-Z0-9\\-]+\\.) | 24 | ····const-string·v0,·"([a-zA-Z0-9\\-]+\\.){1,6}[a-zA-Z]{2,}(:\\d{1,5})?(/|\\?|$)" |
25 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; | 25 | ····invoke-static·{v0},·Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; |
26 | ····move-result-object·v0 | 26 | ····move-result-object·v0 |
27 | ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern; | 27 | ····sput-object·v0,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern; |
Offset 46, 29 lines modified | Offset 46, 27 lines modified | ||
46 | .end·method | 46 | .end·method |
47 | .method·static·isBasicallyValidURI(Ljava/lang/String;)Z | 47 | .method·static·isBasicallyValidURI(Ljava/lang/String;)Z |
48 | ····.locals·4 | 48 | ····.locals·4 |
49 | ····.param·p0,·"uri"····#·Ljava/lang/String; | 49 | ····.param·p0,·"uri"····#·Ljava/lang/String; |
50 | ····.prologue | 50 | ····.prologue |
51 | ····const/4·v | 51 | ····const/4·v2,·0x1 |
52 | ····const/4·v | 52 | ····const/4·v1,·0x0 |
53 | ····.line·51 | 53 | ····.line·51 |
54 | ····const-string·v3,·"·" | 54 | ····const-string·v3,·"·" |
55 | ····invoke-virtual·{p0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z | 55 | ····invoke-virtual·{p0,·v3},·Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z |
56 | ····move-result·v3 | 56 | ····move-result·v3 |
57 | ····if-eqz·v3,·:cond_1 | 57 | ····if-eqz·v3,·:cond_1 |
58 | ····move·v1,·v2 | ||
59 | ····.line·60 | 58 | ····.line·60 |
60 | ····:cond_0 | 59 | ····:cond_0 |
61 | ····:goto_0 | 60 | ····:goto_0 |
62 | ····return·v1 | 61 | ····return·v1 |
63 | ····.line·55 | 62 | ····.line·55 |
64 | ····:cond_1 | 63 | ····:cond_1 |
Offset 86, 38 lines modified | Offset 84, 42 lines modified | ||
86 | ····if-eqz·v3,·:cond_2 | 84 | ····if-eqz·v3,·:cond_2 |
87 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I | 85 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I |
88 | ····move-result·v3 | 86 | ····move-result·v3 |
89 | ····if- | 87 | ····if-nez·v3,·:cond_2 |
88 | ····move·v1,·v2 | ||
89 | ····.line·57 | ||
90 | ····goto·:goto_0 | ||
90 | ····.line·59 | 91 | ····.line·59 |
91 | ····:cond_2 | 92 | ····:cond_2 |
92 | ····sget-object·v3,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern; | 93 | ····sget-object·v3,·Lcom/google/zxing/client/result/URIResultParser;->URL_WITHOUT_PROTOCOL_PATTERN:Ljava/util/regex/Pattern; |
93 | ····invoke-virtual·{v3,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 94 | ····invoke-virtual·{v3,·p0},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
94 | ····move-result-object·v0 | 95 | ····move-result-object·v0 |
95 | ····.line·60 | 96 | ····.line·60 |
96 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->find()Z | 97 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->find()Z |
97 | ····move-result·v3 | 98 | ····move-result·v3 |
98 | ····if-eqz·v3,·:cond_ | 99 | ····if-eqz·v3,·:cond_0 |
99 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I | 100 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->start()I |
100 | ····move-result·v3 | 101 | ····move-result·v3 |
101 | ····if- | 102 | ····if-nez·v3,·:cond_0 |
102 | ····:cond_3 | ||
103 | ····move·v1,·v2 | 103 | ····move·v1,·v2 |
104 | ····goto·:goto_0 | 104 | ····goto·:goto_0 |
105 | .end·method | 105 | .end·method |
106 | #·virtual·methods | 106 | #·virtual·methods |
Offset 13, 76 lines modified | Offset 13, 74 lines modified | ||
13 | ····return-void | 13 | ····return-void |
14 | .end·method | 14 | .end·method |
15 | #·virtual·methods | 15 | #·virtual·methods |
16 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ISBNParsedResult; | 16 | .method·public·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ISBNParsedResult; |
17 | ····.locals· | 17 | ····.locals·4 |
18 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; | 18 | ····.param·p1,·"result"····#·Lcom/google/zxing/Result; |
19 | ····.prologue | 19 | ····.prologue |
20 | ····const/4·v | 20 | ····const/4·v1,·0x0 |
21 | ····.line·34 | 21 | ····.line·34 |
22 | ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat; | 22 | ····invoke-virtual·{p1},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat; |
23 | ····move-result-object·v | 23 | ····move-result-object·v2 |
24 | ····.line·35 | 24 | ····.line·35 |
25 | ····.local·v0,·"format":Lcom/google/zxing/BarcodeFormat; | ||
26 | ····sget-object·v | 25 | ····sget-object·v3,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat; |
27 | ····if-eq·v | 26 | ····if-eq·v2,·v3,·:cond_1 |
28 | ····.line·47 | 27 | ····.line·47 |
29 | ····:cond_0 | 28 | ····:cond_0 |
30 | ····:goto_0 | 29 | ····:goto_0 |
31 | ····return-object·v | 30 | ····return-object·v1 |
32 | ····.line·38 | 31 | ····.line·38 |
33 | ····:cond_1 | 32 | ····:cond_1 |
34 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/ISBNResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; | 33 | ····invoke-static·{p1},·Lcom/google/zxing/client/result/ISBNResultParser;->getMassagedText(Lcom/google/zxing/Result;)Ljava/lang/String; |
35 | ····move-result-object·v | 34 | ····move-result-object·v0 |
36 | ····.line·39 | 35 | ····.line·39 |
37 | ····.local·v | 36 | ····.local·v0,·"rawText":Ljava/lang/String; |
38 | ····invoke-virtual·{v | 37 | ····invoke-virtual·{v0},·Ljava/lang/String;->length()I |
39 | ····move-result·v | 38 | ····move-result·v2 |
40 | ····.line·40 | 39 | ····.line·40 |
41 | ····.local·v1,·"length":I | ||
42 | ····const/16·v | 40 | ····const/16·v3,·0xd |
43 | ····if-ne·v | 41 | ····if-ne·v2,·v3,·:cond_0 |
44 | ····.line·43 | 42 | ····.line·43 |
45 | ····const-string·v | 43 | ····const-string·v2,·"978" |
46 | ····invoke-virtual·{v | 44 | ····invoke-virtual·{v0,·v2},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z |
47 | ····move-result·v | 45 | ····move-result·v2 |
48 | ····if-nez·v | 46 | ····if-nez·v2,·:cond_2 |
49 | ····const-string·v | 47 | ····const-string·v2,·"979" |
50 | ····invoke-virtual·{v | 48 | ····invoke-virtual·{v0,·v2},·Ljava/lang/String;->startsWith(Ljava/lang/String;)Z |
51 | ····move-result·v | 49 | ····move-result·v2 |
52 | ····if-eqz·v | 50 | ····if-eqz·v2,·:cond_0 |
53 | ····.line·47 | 51 | ····.line·47 |
54 | ····:cond_2 | 52 | ····:cond_2 |
55 | ····new-instance·v | 53 | ····new-instance·v1,·Lcom/google/zxing/client/result/ISBNParsedResult; |
56 | ····invoke-direct·{v | 54 | ····invoke-direct·{v1,·v0},·Lcom/google/zxing/client/result/ISBNParsedResult;-><init>(Ljava/lang/String;)V |
57 | ····goto·:goto_0 | 55 | ····goto·:goto_0 |
58 | .end·method | 56 | .end·method |
59 | .method·public·bridge·synthetic·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult; | 57 | .method·public·bridge·synthetic·parse(Lcom/google/zxing/Result;)Lcom/google/zxing/client/result/ParsedResult; |
60 | ····.locals·1 | 58 | ····.locals·1 |
Offset 15, 86 lines modified | Offset 15, 86 lines modified | ||
15 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V | 15 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V |
16 | ····.locals·1 | 16 | ····.locals·1 |
17 | ····.param·p1,·"number"····#·Ljava/lang/String; | 17 | ····.param·p1,·"number"····#·Ljava/lang/String; |
18 | ····.param·p2,·"telURI"····#·Ljava/lang/String; | 18 | ····.param·p2,·"telURI"····#·Ljava/lang/String; |
19 | ····.param·p3,·"title"····#·Ljava/lang/String; | 19 | ····.param·p3,·"title"····#·Ljava/lang/String; |
20 | ····.prologue | 20 | ····.prologue |
21 | ····.line· | 21 | ····.line·31 |
22 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->TEL:Lcom/google/zxing/client/result/ParsedResultType; | 22 | ····sget-object·v0,·Lcom/google/zxing/client/result/ParsedResultType;->TEL:Lcom/google/zxing/client/result/ParsedResultType; |
23 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V | 23 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/client/result/ParsedResult;-><init>(Lcom/google/zxing/client/result/ParsedResultType;)V |
24 | ····.line·3 | 24 | ····.line·32 |
25 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String; | 25 | ····iput-object·p1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String; |
26 | ····.line·3 | 26 | ····.line·33 |
27 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String; | 27 | ····iput-object·p2,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String; |
28 | ····.line·3 | 28 | ····.line·34 |
29 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String; | 29 | ····iput-object·p3,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String; |
30 | ····.line·3 | 30 | ····.line·35 |
31 | ····return-void | 31 | ····return-void |
32 | .end·method | 32 | .end·method |
33 | #·virtual·methods | 33 | #·virtual·methods |
34 | .method·public·getDisplayResult()Ljava/lang/String; | 34 | .method·public·getDisplayResult()Ljava/lang/String; |
35 | ····.locals·2 | 35 | ····.locals·2 |
36 | ····.prologue | 36 | ····.prologue |
37 | ····.line· | 37 | ····.line·51 |
38 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 38 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
39 | ····const/16·v1,·0x14 | 39 | ····const/16·v1,·0x14 |
40 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 40 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
41 | ····.line·5 | 41 | ····.line·52 |
42 | ····.local·v0,·"result":Ljava/lang/StringBuilder; | 42 | ····.local·v0,·"result":Ljava/lang/StringBuilder; |
43 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String; | 43 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String; |
44 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 44 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
45 | ····.line·5 | 45 | ····.line·53 |
46 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String; | 46 | ····iget-object·v1,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String; |
47 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V | 47 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/client/result/TelParsedResult;->maybeAppend(Ljava/lang/String;Ljava/lang/StringBuilder;)V |
48 | ····.line·5 | 48 | ····.line·54 |
49 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 49 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
50 | ····move-result-object·v1 | 50 | ····move-result-object·v1 |
51 | ····return-object·v1 | 51 | ····return-object·v1 |
52 | .end·method | 52 | .end·method |
53 | .method·public·getNumber()Ljava/lang/String; | 53 | .method·public·getNumber()Ljava/lang/String; |
54 | ····.locals·1 | 54 | ····.locals·1 |
55 | ····.prologue | 55 | ····.prologue |
56 | ····.line·3 | 56 | ····.line·38 |
57 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String; | 57 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->number:Ljava/lang/String; |
58 | ····return-object·v0 | 58 | ····return-object·v0 |
59 | .end·method | 59 | .end·method |
60 | .method·public·getTelURI()Ljava/lang/String; | 60 | .method·public·getTelURI()Ljava/lang/String; |
61 | ····.locals·1 | 61 | ····.locals·1 |
62 | ····.prologue | 62 | ····.prologue |
63 | ····.line·4 | 63 | ····.line·42 |
64 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String; | 64 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->telURI:Ljava/lang/String; |
65 | ····return-object·v0 | 65 | ····return-object·v0 |
66 | .end·method | 66 | .end·method |
67 | .method·public·getTitle()Ljava/lang/String; | 67 | .method·public·getTitle()Ljava/lang/String; |
68 | ····.locals·1 | 68 | ····.locals·1 |
69 | ····.prologue | 69 | ····.prologue |
70 | ····.line·4 | 70 | ····.line·46 |
71 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String; | 71 | ····iget-object·v0,·p0,·Lcom/google/zxing/client/result/TelParsedResult;->title:Ljava/lang/String; |
72 | ····return-object·v0 | 72 | ····return-object·v0 |
73 | .end·method | 73 | .end·method |
Offset 171, 15 lines modified | Offset 171, 14 lines modified | ||
171 | ····move-result-object·v6 | 171 | ····move-result-object·v6 |
172 | ····.line·98 | 172 | ····.line·98 |
173 | ····:goto_0 | 173 | ····:goto_0 |
174 | ····return-object·v6 | 174 | ····return-object·v6 |
175 | ····.line·65 | ||
176 | ····:catch_0 | 175 | ····:catch_0 |
177 | ····move-exception·v8 | 176 | ····move-exception·v8 |
178 | ····.line·70 | 177 | ····.line·70 |
179 | ····:try_start_1 | 178 | ····:try_start_1 |
180 | ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader; | 179 | ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader; |
Offset 203, 15 lines modified | Offset 202, 14 lines modified | ||
203 | ····invoke-static·{v8,·v2,·v9},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V | 202 | ····invoke-static·{v8,·v2,·v9},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V |
204 | ····:try_end_1 | 203 | ····:try_end_1 |
205 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1 | 204 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_1 |
206 | ····goto·:goto_0 | 205 | ····goto·:goto_0 |
207 | ····.line·73 | ||
208 | ····.end·local·v6····#·"result":Lcom/google/zxing/Result; | 206 | ····.end·local·v6····#·"result":Lcom/google/zxing/Result; |
209 | ····:catch_1 | 207 | ····:catch_1 |
210 | ····move-exception·v8 | 208 | ····move-exception·v8 |
211 | ····.line·78 | 209 | ····.line·78 |
212 | ····:try_start_2 | 210 | ····:try_start_2 |
213 | ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader; | 211 | ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader; |
Offset 236, 15 lines modified | Offset 234, 14 lines modified | ||
236 | ····invoke-static·{v8,·v9,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V | 234 | ····invoke-static·{v8,·v9,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V |
237 | ····:try_end_2 | 235 | ····:try_end_2 |
238 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_2·..·:try_end_2}·:catch_2 | 236 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_2·..·:try_end_2}·:catch_2 |
239 | ····goto·:goto_0 | 237 | ····goto·:goto_0 |
240 | ····.line·81 | ||
241 | ····.end·local·v6····#·"result":Lcom/google/zxing/Result; | 238 | ····.end·local·v6····#·"result":Lcom/google/zxing/Result; |
242 | ····:catch_2 | 239 | ····:catch_2 |
243 | ····move-exception·v8 | 240 | ····move-exception·v8 |
244 | ····.line·86 | 241 | ····.line·86 |
245 | ····:try_start_3 | 242 | ····:try_start_3 |
246 | ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader; | 243 | ····iget-object·v8,·p0,·Lcom/google/zxing/multi/ByQuadrantReader;->delegate:Lcom/google/zxing/Reader; |
Offset 265, 20 lines modified | Offset 262, 19 lines modified | ||
265 | ····invoke-static·{v8,·v2,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V | 262 | ····invoke-static·{v8,·v2,·v1},·Lcom/google/zxing/multi/ByQuadrantReader;->makeAbsolute([Lcom/google/zxing/ResultPoint;II)V |
266 | ····:try_end_3 | 263 | ····:try_end_3 |
267 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_3·..·:try_end_3}·:catch_3 | 264 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_3·..·:try_end_3}·:catch_3 |
268 | ····goto·:goto_0 | 265 | ····goto·:goto_0 |
269 | ····.line· | 266 | ····.line·93 |
270 | ····.end·local·v6····#·"result":Lcom/google/zxing/Result; | 267 | ····.end·local·v6····#·"result":Lcom/google/zxing/Result; |
271 | ····:catch_3 | 268 | ····:catch_3 |
272 | ····move-exception·v8 | 269 | ····move-exception·v8 |
273 | ····.line·93 | ||
274 | ····div-int/lit8·v5,·v2,·0x2 | 270 | ····div-int/lit8·v5,·v2,·0x2 |
275 | ····.line·94 | 271 | ····.line·94 |
276 | ····.local·v5,·"quarterWidth":I | 272 | ····.local·v5,·"quarterWidth":I |
277 | ····div-int/lit8·v4,·v1,·0x2 | 273 | ····div-int/lit8·v4,·v1,·0x2 |
278 | ····.line·95 | 274 | ····.line·95 |
Offset 29, 15 lines modified | Offset 29, 15 lines modified | ||
29 | ····iput-object·p1,·p0,·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->delegate:Lcom/google/zxing/Reader; | 29 | ····iput-object·p1,·p0,·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->delegate:Lcom/google/zxing/Reader; |
30 | ····.line·54 | 30 | ····.line·54 |
31 | ····return-void | 31 | ····return-void |
32 | .end·method | 32 | .end·method |
33 | .method·private·doDecodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;Ljava/util/List;III)V | 33 | .method·private·doDecodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;Ljava/util/List;III)V |
34 | ····.locals·2 | 34 | ····.locals·22 |
35 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; | 35 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; |
36 | ····.param·p4,·"xOffset"····#·I | 36 | ····.param·p4,·"xOffset"····#·I |
37 | ····.param·p5,·"yOffset"····#·I | 37 | ····.param·p5,·"yOffset"····#·I |
38 | ····.param·p6,·"currentDepth"····#·I | 38 | ····.param·p6,·"currentDepth"····#·I |
39 | ····.annotation·system·Ldalvik/annotation/Signature; | 39 | ····.annotation·system·Ldalvik/annotation/Signature; |
40 | ········value·=·{ | 40 | ········value·=·{ |
41 | ············"(", | 41 | ············"(", |
Offset 79, 65 lines modified | Offset 79, 63 lines modified | ||
79 | ····move-object/from16·v1,·p2 | 79 | ····move-object/from16·v1,·p2 |
80 | ····invoke-interface·{v3,·v0,·v1},·Lcom/google/zxing/Reader;->decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result; | 80 | ····invoke-interface·{v3,·v0,·v1},·Lcom/google/zxing/Reader;->decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result; |
81 | ····:try_end_0 | 81 | ····:try_end_0 |
82 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 | 82 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 |
83 | ····move-result-object·v1 | 83 | ····move-result-object·v17 |
84 | ····.line·88 | 84 | ····.line·88 |
85 | ····.local·v1 | 85 | ····.local·v17,·"result":Lcom/google/zxing/Result; |
86 | ····const/4·v10,·0x0 | 86 | ····const/4·v10,·0x0 |
87 | ····.line·89 | 87 | ····.line·89 |
88 | ····.local·v10,·"alreadyFound":Z | 88 | ····.local·v10,·"alreadyFound":Z |
89 | ····invoke-interface/range·{p3·..·p3},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 89 | ····invoke-interface/range·{p3·..·p3},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
90 | ····move-result-object·v | 90 | ····move-result-object·v4 |
91 | ····:cond_2 | 91 | ····:cond_2 |
92 | ····invoke-interface·{v | 92 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z |
93 | ····move-result·v | 93 | ····move-result·v3 |
94 | ····if-eqz·v | 94 | ····if-eqz·v3,·:cond_3 |
95 | ····invoke-interface·{v | 95 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
96 | ····move-result-object·v | 96 | ····move-result-object·v3 |
97 | ····check-cast·v | 97 | ····check-cast·v3,·Lcom/google/zxing/Result; |
98 | ····.line·90 | 98 | ····.line·90 |
99 | ····.local·v11,·"existingResult":Lcom/google/zxing/Result; | ||
100 | ····invoke-virtual·{v | 99 | ····invoke-virtual·{v3},·Lcom/google/zxing/Result;->getText()Ljava/lang/String; |
101 | ····move-result-object·v | 100 | ····move-result-object·v3 |
102 | ····invoke-virtual/range·{v1 | 101 | ····invoke-virtual/range·{v17·..·v17},·Lcom/google/zxing/Result;->getText()Ljava/lang/String; |
103 | ····move-result-object·v5 | 102 | ····move-result-object·v5 |
104 | ····invoke-virtual·{v | 103 | ····invoke-virtual·{v3,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
105 | ····move-result·v | 104 | ····move-result·v3 |
106 | ····if-eqz·v | 105 | ····if-eqz·v3,·:cond_2 |
107 | ····.line·91 | 106 | ····.line·91 |
108 | ····const/4·v10,·0x1 | 107 | ····const/4·v10,·0x1 |
109 | ····.line·95 | 108 | ····.line·95 |
110 | ····.end·local·v11····#·"existingResult":Lcom/google/zxing/Result; | ||
111 | ····:cond_3 | 109 | ····:cond_3 |
112 | ····if-nez·v10,·:cond_4 | 110 | ····if-nez·v10,·:cond_4 |
113 | ····.line·96 | 111 | ····.line·96 |
114 | ····move-object/from16·v0,·v1 | 112 | ····move-object/from16·v0,·v17 |
115 | ····move/from16·v1,·p4 | 113 | ····move/from16·v1,·p4 |
116 | ····move/from16·v2,·p5 | 114 | ····move/from16·v2,·p5 |
117 | ····invoke-static·{v0,·v1,·v2},·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->translateResultPoints(Lcom/google/zxing/Result;II)Lcom/google/zxing/Result; | 115 | ····invoke-static·{v0,·v1,·v2},·Lcom/google/zxing/multi/GenericMultipleBarcodeReader;->translateResultPoints(Lcom/google/zxing/Result;II)Lcom/google/zxing/Result; |
Offset 145, 187 lines modified | Offset 143, 148 lines modified | ||
145 | ····move-object/from16·v0,·p3 | 143 | ····move-object/from16·v0,·p3 |
146 | ····invoke-interface·{v0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 144 | ····invoke-interface·{v0,·v3},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
147 | ····.line·98 | 145 | ····.line·98 |
148 | ····:cond_4 | 146 | ····:cond_4 |
149 | ····invoke-virtual/range·{v1 | 147 | ····invoke-virtual/range·{v17·..·v17},·Lcom/google/zxing/Result;->getResultPoints()[Lcom/google/zxing/ResultPoint; |
150 | ····move-result-object·v | 148 | ····move-result-object·v18 |
151 | ····.line·99 | 149 | ····.line·99 |
152 | ····.local·v | 150 | ····.local·v18,·"resultPoints":[Lcom/google/zxing/ResultPoint; |
153 | ····if-eqz·v | 151 | ····if-eqz·v18,·:cond_0 |
154 | ····move-object/from16·v0,·v | 152 | ····move-object/from16·v0,·v18 |
155 | ····array-length·v3,·v0 | 153 | ····array-length·v3,·v0 |
156 | ····if-eqz·v3,·:cond_0 | 154 | ····if-eqz·v3,·:cond_0 |
157 | ····.line·102 | 155 | ····.line·102 |
158 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I | 156 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I |
159 | ····move-result·v | 157 | ····move-result·v19 |
160 | ····.line·103 | 158 | ····.line·103 |
161 | ····.local·v | 159 | ····.local·v19,·"width":I |
162 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I | 160 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I |
163 | ····move-result·v1 | 161 | ····move-result·v11 |
164 | ····.line·104 | 162 | ····.line·104 |
165 | ····.local·v1 | 163 | ····.local·v11,·"height":I |
166 | ····move/from16·v0,·v | 164 | ····move/from16·v0,·v19 |
167 | ····int-to-float·v0,·v0 | ||
168 | ···· | 165 | ····int-to-float·v14,·v0 |
169 | ····.line·105 | 166 | ····.line·105 |
170 | ····.local·v1 | 167 | ····.local·v14,·"minX":F |
171 | ····int-to-float·v | 168 | ····int-to-float·v15,·v11 |
172 | ····move/from16·v17,·v0 | ||
Max diff block lines reached; 12841/17330 bytes (74.10%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | .class·final·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator; | 1 | .class·final·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader$SAComparator; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"QRCodeMultiReader.java" | 3 | .source·"QRCodeMultiReader.java" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/util/Comparator; | ||
6 | .implements·Ljava/io/Serializable; | 5 | .implements·Ljava/io/Serializable; |
6 | .implements·Ljava/util/Comparator; | ||
7 | #·annotations | 7 | #·annotations |
8 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 8 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
9 | ····value·=·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader; | 9 | ····value·=·Lcom/google/zxing/multi/qrcode/QRCodeMultiReader; |
10 | .end·annotation | 10 | .end·annotation |
Offset 16, 19 lines modified | Offset 16, 19 lines modified | ||
16 | ····accessFlags·=·0x1a | 16 | ····accessFlags·=·0x1a |
17 | ····name·=·"SAComparator" | 17 | ····name·=·"SAComparator" |
18 | .end·annotation | 18 | .end·annotation |
19 | .annotation·system·Ldalvik/annotation/Signature; | 19 | .annotation·system·Ldalvik/annotation/Signature; |
20 | ····value·=·{ | 20 | ····value·=·{ |
21 | ········"Ljava/lang/Object;", | 21 | ········"Ljava/lang/Object;", |
22 | ········"Ljava/io/Serializable;", | ||
22 | ········"Ljava/util/Comparator", | 23 | ········"Ljava/util/Comparator", |
23 | ········"<", | 24 | ········"<", |
24 | ········"Lcom/google/zxing/Result;", | 25 | ········"Lcom/google/zxing/Result;", |
25 | ········">;" | 26 | ········">;" |
26 | ········"Ljava/io/Serializable;" | ||
27 | ····} | 27 | ····} |
28 | .end·annotation | 28 | .end·annotation |
29 | #·direct·methods | 29 | #·direct·methods |
30 | .method·private·constructor·<init>()V | 30 | .method·private·constructor·<init>()V |
31 | ····.locals·0 | 31 | ····.locals·0 |
Offset 43, 20 lines modified | Offset 43, 19 lines modified | ||
43 | .method·public·constructor·<init>()V | 43 | .method·public·constructor·<init>()V |
44 | ····.locals·0 | 44 | ····.locals·0 |
45 | ····.prologue | 45 | ····.prologue |
46 | ····.line·48 | 46 | ····.line·48 |
47 | ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/QRCodeReader;-><init>()V | 47 | ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/QRCodeReader;-><init>()V |
48 | ····.line·166 | ||
49 | ····return-void | 48 | ····return-void |
50 | .end·method | 49 | .end·method |
51 | .method·private·static·processStructuredAppend(Ljava/util/List;)Ljava/util/List; | 50 | .method·private·static·processStructuredAppend(Ljava/util/List;)Ljava/util/List; |
52 | ····.locals·2 | 51 | ····.locals·22 |
53 | ····.annotation·system·Ldalvik/annotation/Signature; | 52 | ····.annotation·system·Ldalvik/annotation/Signature; |
54 | ········value·=·{ | 53 | ········value·=·{ |
55 | ············"(", | 54 | ············"(", |
56 | ············"Ljava/util/List", | 55 | ············"Ljava/util/List", |
57 | ············"<", | 56 | ············"<", |
58 | ············"Lcom/google/zxing/Result;", | 57 | ············"Lcom/google/zxing/Result;", |
59 | ············">;)", | 58 | ············">;)", |
Offset 66, 448 lines modified | Offset 65, 462 lines modified | ||
66 | ············">;" | 65 | ············">;" |
67 | ········} | 66 | ········} |
68 | ····.end·annotation | 67 | ····.end·annotation |
69 | ····.prologue | 68 | ····.prologue |
70 | ····.line·100 | 69 | ····.line·100 |
71 | ····.local·p0,·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" | 70 | ····.local·p0,·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" |
72 | ····const/4·v | 71 | ····const/4·v7,·0x0 |
73 | ····.line·103 | 72 | ····.line·103 |
74 | ····.local·v | 73 | ····.local·v7,·"hasSA":Z |
75 | ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 74 | ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
76 | ····move-result-object·v19 | 75 | ····move-result-object·v19 |
77 | ····:cond_0 | 76 | ····:cond_0 |
78 | ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->hasNext()Z | 77 | ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->hasNext()Z |
79 | ····move-result·v | 78 | ····move-result·v18 |
80 | ····if-eqz·v | 79 | ····if-eqz·v18,·:cond_1 |
81 | ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 80 | ····invoke-interface/range·{v19·..·v19},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
82 | ····move-result-object·v1 | 81 | ····move-result-object·v18 |
83 | ····check-cast·v1 | 82 | ····check-cast·v18,·Lcom/google/zxing/Result; |
84 | ····.line·104 | 83 | ····.line·104 |
85 | ····.local·v15,·"result":Lcom/google/zxing/Result; | ||
86 | ····invoke-virtual·{v1 | 84 | ····invoke-virtual/range·{v18·..·v18},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map; |
87 | ····move-result-object·v | 85 | ····move-result-object·v18 |
88 | ····sget-object·v2 | 86 | ····sget-object·v20,·Lcom/google/zxing/ResultMetadataType;->STRUCTURED_APPEND_SEQUENCE:Lcom/google/zxing/ResultMetadataType; |
89 | ···· | 87 | ····move-object/from16·v0,·v18 |
90 | ····move-r | 88 | ····move-object/from16·v1,·v20 |
89 | ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z | ||
90 | ····move-result·v18 | ||
91 | ····if-eqz·v | 91 | ····if-eqz·v18,·:cond_0 |
92 | ····.line·105 | 92 | ····.line·105 |
93 | ····const/4·v | 93 | ····const/4·v7,·0x1 |
94 | ····.line·109 | 94 | ····.line·109 |
95 | ····.end·local·v15····#·"result":Lcom/google/zxing/Result; | ||
96 | ····:cond_1 | 95 | ····:cond_1 |
97 | ····if-nez·v | 96 | ····if-nez·v7,·:cond_2 |
98 | ····.line·163 | 97 | ····.line·163 |
99 | ····.end·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" | 98 | ····.end·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" |
100 | ····:goto_0 | 99 | ····:goto_0 |
101 | ····return-object·p0 | 100 | ····return-object·p0 |
102 | ····.line·114 | 101 | ····.line·114 |
103 | ····.restart·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" | 102 | ····.restart·local·p0····#·"results":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" |
104 | ····:cond_2 | 103 | ····:cond_2 |
105 | ····new-instance·v1 | 104 | ····new-instance·v12,·Ljava/util/ArrayList; |
106 | ····invoke-direct·{v1 | 105 | ····invoke-direct·{v12},·Ljava/util/ArrayList;-><init>()V |
107 | ····.line·115 | 106 | ····.line·115 |
108 | ····.local·v1 | 107 | ····.local·v12,·"newResults":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" |
109 | ····new-instance·v1 | 108 | ····new-instance·v16,·Ljava/util/ArrayList; |
110 | ····invoke-direct/range·{v1 | 109 | ····invoke-direct/range·{v16·..·v16},·Ljava/util/ArrayList;-><init>()V |
111 | ····.line·116 | 110 | ····.line·116 |
112 | ····.local·v1 | 111 | ····.local·v16,·"saResults":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/Result;>;" |
113 | ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 112 | ····invoke-interface/range·{p0·..·p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
114 | ····move-result-object·v1 | 113 | ····move-result-object·v18 |
115 | ····:cond_3 | 114 | ····:cond_3 |
116 | ····:goto_1 | 115 | ····:goto_1 |
117 | ····invoke-interface/range·{v1 | 116 | ····invoke-interface/range·{v18·..·v18},·Ljava/util/Iterator;->hasNext()Z |
118 | ····move-result·v | 117 | ····move-result·v19 |
119 | ····if-eqz·v | 118 | ····if-eqz·v19,·:cond_4 |
120 | ····invoke-interface/range·{v1 | 119 | ····invoke-interface/range·{v18·..·v18},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
121 | ····move-result-object·v1 | 120 | ····move-result-object·v14 |
122 | ····check-cast·v1 | 121 | ····check-cast·v14,·Lcom/google/zxing/Result; |
123 | ····.line·117 | 122 | ····.line·117 |
124 | ····. | 123 | ····.local·v14,·"result":Lcom/google/zxing/Result; |
125 | ····invoke-interface·{v1 | 124 | ····invoke-interface·{v12,·v14},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
126 | ····.line·118 | 125 | ····.line·118 |
127 | ····invoke-virtual·{v1 | 126 | ····invoke-virtual·{v14},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map; |
128 | ····move-result-object·v | 127 | ····move-result-object·v19 |
129 | ····sget-object·v2 | 128 | ····sget-object·v20,·Lcom/google/zxing/ResultMetadataType;->STRUCTURED_APPEND_SEQUENCE:Lcom/google/zxing/ResultMetadataType; |
130 | ····invoke-interface/range·{v | 129 | ····invoke-interface/range·{v19·..·v20},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z |
131 | ····move-result·v | 130 | ····move-result·v19 |
Max diff block lines reached; 27170/32596 bytes (83.35%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | .class·final·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator; | 1 | .class·final·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder$ModuleSizeComparator; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"MultiFinderPatternFinder.java" | 3 | .source·"MultiFinderPatternFinder.java" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/util/Comparator; | ||
6 | .implements·Ljava/io/Serializable; | 5 | .implements·Ljava/io/Serializable; |
6 | .implements·Ljava/util/Comparator; | ||
7 | #·annotations | 7 | #·annotations |
8 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 8 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
9 | ····value·=·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; | 9 | ····value·=·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; |
10 | .end·annotation | 10 | .end·annotation |
Offset 16, 19 lines modified | Offset 16, 19 lines modified | ||
16 | ····accessFlags·=·0x1a | 16 | ····accessFlags·=·0x1a |
17 | ····name·=·"ModuleSizeComparator" | 17 | ····name·=·"ModuleSizeComparator" |
18 | .end·annotation | 18 | .end·annotation |
19 | .annotation·system·Ldalvik/annotation/Signature; | 19 | .annotation·system·Ldalvik/annotation/Signature; |
20 | ····value·=·{ | 20 | ····value·=·{ |
21 | ········"Ljava/lang/Object;", | 21 | ········"Ljava/lang/Object;", |
22 | ········"Ljava/io/Serializable;", | ||
22 | ········"Ljava/util/Comparator", | 23 | ········"Ljava/util/Comparator", |
23 | ········"<", | 24 | ········"<", |
24 | ········"Lcom/google/zxing/qrcode/detector/FinderPattern;", | 25 | ········"Lcom/google/zxing/qrcode/detector/FinderPattern;", |
25 | ········">;" | 26 | ········">;" |
26 | ········"Ljava/io/Serializable;" | ||
27 | ····} | 27 | ····} |
28 | .end·annotation | 28 | .end·annotation |
29 | #·direct·methods | 29 | #·direct·methods |
30 | .method·private·constructor·<init>()V | 30 | .method·private·constructor·<init>()V |
31 | ····.locals·0 | 31 | ····.locals·0 |
Offset 33, 15 lines modified | Offset 33, 15 lines modified | ||
33 | ····.line·45 | 33 | ····.line·45 |
34 | ····return-void | 34 | ····return-void |
35 | .end·method | 35 | .end·method |
36 | #·virtual·methods | 36 | #·virtual·methods |
37 | .method·public·detectMulti(Ljava/util/Map;)[Lcom/google/zxing/common/DetectorResult; | 37 | .method·public·detectMulti(Ljava/util/Map;)[Lcom/google/zxing/common/DetectorResult; |
38 | ····.locals· | 38 | ····.locals·8 |
39 | ····.annotation·system·Ldalvik/annotation/Signature; | 39 | ····.annotation·system·Ldalvik/annotation/Signature; |
40 | ········value·=·{ | 40 | ········value·=·{ |
41 | ············"(", | 41 | ············"(", |
42 | ············"Ljava/util/Map", | 42 | ············"Ljava/util/Map", |
43 | ············"<", | 43 | ············"<", |
44 | ············"Lcom/google/zxing/DecodeHintType;", | 44 | ············"Lcom/google/zxing/DecodeHintType;", |
45 | ············"*>;)[", | 45 | ············"*>;)[", |
Offset 56, 134 lines modified | Offset 56, 130 lines modified | ||
56 | ····.end·annotation | 56 | ····.end·annotation |
57 | ····.prologue | 57 | ····.prologue |
58 | ····.line·48 | 58 | ····.line·48 |
59 | ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 59 | ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
60 | ····invoke-virtual·{p0},·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->getImage()Lcom/google/zxing/common/BitMatrix; | 60 | ····invoke-virtual·{p0},·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->getImage()Lcom/google/zxing/common/BitMatrix; |
61 | ····move-result-object·v | 61 | ····move-result-object·v0 |
62 | ····.line·49 | 62 | ····.line·49 |
63 | ····.local·v | 63 | ····.local·v0,·"image":Lcom/google/zxing/common/BitMatrix; |
64 | ····if-nez·p1,·:cond_0 | 64 | ····if-nez·p1,·:cond_0 |
65 | ····const/4·v | 65 | ····const/4·v4,·0x0 |
66 | ····.line·51 | 66 | ····.line·51 |
67 | ····.local·v | 67 | ····.local·v4,·"resultPointCallback":Lcom/google/zxing/ResultPointCallback; |
68 | ····:goto_0 | 68 | ····:goto_0 |
69 | ····new-instance·v | 69 | ····new-instance·v5,·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; |
70 | ····invoke-direct·{v | 70 | ····invoke-direct·{v5,·v0,·v4},·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;-><init>(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/ResultPointCallback;)V |
71 | ····.line·52 | 71 | ····.line·52 |
72 | ····.local·v0,·"finder":Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; | ||
73 | ····invoke-virtual·{v | 72 | ····invoke-virtual·{v5,·p1},·Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder;->findMulti(Ljava/util/Map;)[Lcom/google/zxing/qrcode/detector/FinderPatternInfo; |
74 | ····move-result-object·v | 73 | ····move-result-object·v2 |
75 | ····.line·54 | 74 | ····.line·54 |
76 | ····.local·v | 75 | ····.local·v2,·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo; |
77 | ····array-length·v | 76 | ····array-length·v5,·v2 |
78 | ····if-nez·v | 77 | ····if-nez·v5,·:cond_1 |
79 | ····.line·55 | 78 | ····.line·55 |
80 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 79 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
81 | ····move-result-object·v | 80 | ····move-result-object·v5 |
82 | ····throw·v | 81 | ····throw·v5 |
83 | ····.line·49 | 82 | ····.line·49 |
84 | ····.end·local·v0····#·"finder":Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; | ||
85 | ····.end·local·v | 83 | ····.end·local·v2····#·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo; |
86 | ····.end·local·v | 84 | ····.end·local·v4····#·"resultPointCallback":Lcom/google/zxing/ResultPointCallback; |
87 | ····:cond_0 | 85 | ····:cond_0 |
88 | ····sget-object·v | 86 | ····sget-object·v5,·Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType; |
89 | ····.line·50 | 87 | ····.line·50 |
90 | ····invoke-interface·{p1,·v | 88 | ····invoke-interface·{p1,·v5},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
91 | ····move-result-object·v | 89 | ····move-result-object·v5 |
92 | ····check-cast·v | 90 | ····check-cast·v5,·Lcom/google/zxing/ResultPointCallback; |
93 | ····move-object·v | 91 | ····move-object·v4,·v5 |
94 | ····goto·:goto_0 | 92 | ····goto·:goto_0 |
95 | ····.line·58 | 93 | ····.line·58 |
96 | ····.restart·local·v0····#·"finder":Lcom/google/zxing/multi/qrcode/detector/MultiFinderPatternFinder; | ||
97 | ····.restart·local·v | 94 | ····.restart·local·v2····#·"infos":[Lcom/google/zxing/qrcode/detector/FinderPatternInfo; |
98 | ····.restart·local·v | 95 | ····.restart·local·v4····#·"resultPointCallback":Lcom/google/zxing/ResultPointCallback; |
99 | ····:cond_1 | 96 | ····:cond_1 |
100 | ····new-instance·v | 97 | ····new-instance·v3,·Ljava/util/ArrayList; |
101 | ····invoke-direct·{v | 98 | ····invoke-direct·{v3},·Ljava/util/ArrayList;-><init>()V |
102 | ····.line·59 | 99 | ····.line·59 |
103 | ····.local·v | 100 | ····.local·v3,·"result":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/common/DetectorResult;>;" |
104 | ····array-length·v | 101 | ····array-length·v6,·v2 |
105 | ····const/4·v | 102 | ····const/4·v5,·0x0 |
106 | ····:goto_1 | 103 | ····:goto_1 |
107 | ····if-ge·v | 104 | ····if-ge·v5,·v6,·:cond_2 |
108 | ····aget-object·v | 105 | ····aget-object·v1,·v2,·v5 |
109 | ····.line·61 | 106 | ····.line·61 |
110 | ····.local·v | 107 | ····.local·v1,·"info":Lcom/google/zxing/qrcode/detector/FinderPatternInfo; |
111 | ····:try_start_0 | 108 | ····:try_start_0 |
112 | ····invoke-virtual·{p0,·v | 109 | ····invoke-virtual·{p0,·v1},·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->processFinderPatternInfo(Lcom/google/zxing/qrcode/detector/FinderPatternInfo;)Lcom/google/zxing/common/DetectorResult; |
113 | ····move-result-object·v | 110 | ····move-result-object·v7 |
114 | ····invoke-interface·{v | 111 | ····invoke-interface·{v3,·v7},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
115 | ····:try_end_0 | 112 | ····:try_end_0 |
116 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 | 113 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 |
117 | ····.line·59 | 114 | ····.line·59 |
118 | ····:goto_2 | 115 | ····:goto_2 |
119 | ····add-int/lit8·v | 116 | ····add-int/lit8·v5,·v5,·0x1 |
120 | ····goto·:goto_1 | 117 | ····goto·:goto_1 |
121 | ····.line·66 | 118 | ····.line·66 |
122 | ····.end·local·v | 119 | ····.end·local·v1····#·"info":Lcom/google/zxing/qrcode/detector/FinderPatternInfo; |
123 | ····:cond_2 | 120 | ····:cond_2 |
124 | ····invoke-interface·{v | 121 | ····invoke-interface·{v3},·Ljava/util/List;->isEmpty()Z |
125 | ····move-result·v | 122 | ····move-result·v5 |
126 | ····if-eqz·v | 123 | ····if-eqz·v5,·:cond_3 |
127 | ····.line·67 | 124 | ····.line·67 |
128 | ····sget-object·v | 125 | ····sget-object·v5,·Lcom/google/zxing/multi/qrcode/detector/MultiDetector;->EMPTY_DETECTOR_RESULTS:[Lcom/google/zxing/common/DetectorResult; |
129 | ····.line·69 | 126 | ····.line·69 |
130 | ····:goto_3 | 127 | ····:goto_3 |
131 | ····return-object·v | 128 | ····return-object·v5 |
Max diff block lines reached; 980/7770 bytes (12.61%) of diff not shown. |
Offset 60, 15 lines modified | Offset 60, 15 lines modified | ||
60 | ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;-><init>(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/ResultPointCallback;)V | 60 | ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;-><init>(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/ResultPointCallback;)V |
61 | ····.line·98 | 61 | ····.line·98 |
62 | ····return-void | 62 | ····return-void |
63 | .end·method | 63 | .end·method |
64 | .method·private·selectMutipleBestPatterns()[[Lcom/google/zxing/qrcode/detector/FinderPattern; | 64 | .method·private·selectMutipleBestPatterns()[[Lcom/google/zxing/qrcode/detector/FinderPattern; |
65 | ····.locals·2 | 65 | ····.locals·25 |
66 | ····.annotation·system·Ldalvik/annotation/Throws; | 66 | ····.annotation·system·Ldalvik/annotation/Throws; |
67 | ········value·=·{ | 67 | ········value·=·{ |
68 | ············Lcom/google/zxing/NotFoundException; | 68 | ············Lcom/google/zxing/NotFoundException; |
69 | ········} | 69 | ········} |
70 | ····.end·annotation | 70 | ····.end·annotation |
71 | ····.prologue | 71 | ····.prologue |
Offset 81, 349 lines modified | Offset 81, 325 lines modified | ||
81 | ····.local·v14,·"possibleCenters":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/qrcode/detector/FinderPattern;>;" | 81 | ····.local·v14,·"possibleCenters":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/qrcode/detector/FinderPattern;>;" |
82 | ····invoke-interface·{v14},·Ljava/util/List;->size()I | 82 | ····invoke-interface·{v14},·Ljava/util/List;->size()I |
83 | ····move-result·v16 | 83 | ····move-result·v16 |
84 | ····.line·110 | 84 | ····.line·110 |
85 | ····.local·v16,·"size":I | 85 | ····.local·v16,·"size":I |
86 | ····const/16·v2 | 86 | ····const/16·v20,·0x3 |
87 | ····move/from16·v0,·v16 | 87 | ····move/from16·v0,·v16 |
88 | ····move/from16·v1,·v2 | 88 | ····move/from16·v1,·v20 |
89 | ····if-ge·v0,·v1,·:cond_0 | 89 | ····if-ge·v0,·v1,·:cond_0 |
90 | ····.line·112 | 90 | ····.line·112 |
91 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 91 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
92 | ····move-result-object·v2 | 92 | ····move-result-object·v20 |
93 | ····throw·v2 | 93 | ····throw·v20 |
94 | ····.line·118 | 94 | ····.line·118 |
95 | ····:cond_0 | 95 | ····:cond_0 |
96 | ····const/16·v2 | 96 | ····const/16·v20,·0x3 |
97 | ····move/from16·v0,·v16 | 97 | ····move/from16·v0,·v16 |
98 | ····move/from16·v1,·v2 | 98 | ····move/from16·v1,·v20 |
99 | ····if-ne·v0,·v1,·:cond_1 | 99 | ····if-ne·v0,·v1,·:cond_1 |
100 | ····.line·119 | 100 | ····.line·119 |
101 | ····const/16·v2 | 101 | ····const/16·v20,·0x1 |
102 | ····move/from16·v0,·v2 | 102 | ····move/from16·v0,·v20 |
103 | ····new-array·v0,·v0,·[[Lcom/google/zxing/qrcode/detector/FinderPattern; | 103 | ····new-array·v0,·v0,·[[Lcom/google/zxing/qrcode/detector/FinderPattern; |
104 | ····move-object/from16·v2 | 104 | ····move-object/from16·v21,·v0 |
105 | ····const/16·v2 | 105 | ····const/16·v22,·0x0 |
106 | ····const/16·v2 | 106 | ····const/16·v20,·0x3 |
107 | ····move/from16·v0,·v2 | 107 | ····move/from16·v0,·v20 |
108 | ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/detector/FinderPattern; | 108 | ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/detector/FinderPattern; |
109 | ····move-object/from16·v2 | 109 | ····move-object/from16·v23,·v0 |
110 | ····const/16·v28,·0x0 | ||
111 | ····const/16·v24,·0x0 | 110 | ····const/16·v24,·0x0 |
111 | ····const/16·v20,·0x0 | ||
112 | ····.line·121 | 112 | ····.line·121 |
113 | ····move/from16·v0,·v2 | 113 | ····move/from16·v0,·v20 |
114 | ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object; | 114 | ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object; |
115 | ····move-result-object·v2 | 115 | ····move-result-object·v20 |
116 | ····check-cast·v2 | 116 | ····check-cast·v20,·Lcom/google/zxing/qrcode/detector/FinderPattern; |
117 | ····aput-object·v2 | 117 | ····aput-object·v20,·v23,·v24 |
118 | ····const/16·v28,·0x1 | ||
119 | ····const/16·v24,·0x1 | 118 | ····const/16·v24,·0x1 |
119 | ····const/16·v20,·0x1 | ||
120 | ····.line·122 | 120 | ····.line·122 |
121 | ····move/from16·v0,·v2 | 121 | ····move/from16·v0,·v20 |
122 | ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object; | 122 | ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object; |
123 | ····move-result-object·v2 | 123 | ····move-result-object·v20 |
124 | ····check-cast·v2 | 124 | ····check-cast·v20,·Lcom/google/zxing/qrcode/detector/FinderPattern; |
125 | ····aput-object·v2 | 125 | ····aput-object·v20,·v23,·v24 |
126 | ····const/16·v28,·0x2 | ||
127 | ····const/16·v24,·0x2 | 126 | ····const/16·v24,·0x2 |
127 | ····const/16·v20,·0x2 | ||
128 | ····.line·123 | 128 | ····.line·123 |
129 | ····move/from16·v0,·v2 | 129 | ····move/from16·v0,·v20 |
130 | ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object; | 130 | ····invoke-interface·{v14,·v0},·Ljava/util/List;->get(I)Ljava/lang/Object; |
131 | ····move-result-object·v2 | 131 | ····move-result-object·v20 |
132 | ····check-cast·v2 | 132 | ····check-cast·v20,·Lcom/google/zxing/qrcode/detector/FinderPattern; |
133 | ····aput-object·v2 | 133 | ····aput-object·v20,·v23,·v24 |
134 | ····aput-object·v2 | 134 | ····aput-object·v23,·v21,·v22 |
135 | ····move-object/from16·v2 | 135 | ····move-object/from16·v20,·v21 |
136 | ····.line·224 | 136 | ····.line·224 |
137 | ····:goto_0 | 137 | ····:goto_0 |
138 | ····return-object·v2 | 138 | ····return-object·v20 |
139 | ····.line·129 | 139 | ····.line·129 |
Max diff block lines reached; 16250/19851 bytes (81.86%) of diff not shown. |
Offset 1, 13 lines modified | Offset 1, 15 lines modified | ||
1 | .class·public·final·Lcom/google/zxing/oned/UPCEReader; | 1 | .class·public·final·Lcom/google/zxing/oned/UPCEReader; |
2 | .super·Lcom/google/zxing/oned/UPCEANReader; | 2 | .super·Lcom/google/zxing/oned/UPCEANReader; |
3 | .source·"UPCEReader.java" | 3 | .source·"UPCEReader.java" |
4 | #·static·fields | 4 | #·static·fields |
5 | .field·static·final·CHECK_DIGIT_ENCODINGS:[I | ||
5 | .field·private·static·final·MIDDLE_END_PATTERN:[I | 6 | .field·private·static·final·MIDDLE_END_PATTERN:[I |
6 | .field·private·static·final·NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I | 7 | .field·private·static·final·NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I |
7 | #·instance·fields | 8 | #·instance·fields |
8 | .field·private·final·decodeMiddleCounters:[I | 9 | .field·private·final·decodeMiddleCounters:[I |
Offset 16, 75 lines modified | Offset 18, 99 lines modified | ||
16 | #·direct·methods | 18 | #·direct·methods |
17 | .method·static·constructor·<clinit>()V | 19 | .method·static·constructor·<clinit>()V |
18 | ····.locals·4 | 20 | ····.locals·4 |
19 | ····.prologue | 21 | ····.prologue |
20 | ····const/16·v3,·0xa | 22 | ····const/16·v3,·0xa |
21 | ····.line· | 23 | ····.line·55 |
24 | ····new-array·v0,·v3,·[I | ||
25 | ····fill-array-data·v0,·:array_0 | ||
26 | ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->CHECK_DIGIT_ENCODINGS:[I | ||
27 | ····.line·62 | ||
22 | ····const/4·v0,·0x6 | 28 | ····const/4·v0,·0x6 |
23 | ····new-array·v0,·v0,·[I | 29 | ····new-array·v0,·v0,·[I |
24 | ····fill-array-data·v0,·:array_ | 30 | ····fill-array-data·v0,·:array_1 |
25 | ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->MIDDLE_END_PATTERN:[I | 31 | ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->MIDDLE_END_PATTERN:[I |
26 | ····.line· | 32 | ····.line·69 |
27 | ····const/4·v0,·0x2 | 33 | ····const/4·v0,·0x2 |
28 | ····new-array·v0,·v0,·[[I | 34 | ····new-array·v0,·v0,·[[I |
29 | ····const/4·v1,·0x0 | 35 | ····const/4·v1,·0x0 |
30 | ····new-array·v2,·v3,·[I | 36 | ····new-array·v2,·v3,·[I |
31 | ····fill-array-data·v2,·:array_ | 37 | ····fill-array-data·v2,·:array_2 |
32 | ····aput-object·v2,·v0,·v1 | 38 | ····aput-object·v2,·v0,·v1 |
33 | ····const/4·v1,·0x1 | 39 | ····const/4·v1,·0x1 |
34 | ····new-array·v2,·v3,·[I | 40 | ····new-array·v2,·v3,·[I |
35 | ····fill-array-data·v2,·:array_ | 41 | ····fill-array-data·v2,·:array_3 |
36 | ····aput-object·v2,·v0,·v1 | 42 | ····aput-object·v2,·v0,·v1 |
37 | ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I | 43 | ····sput-object·v0,·Lcom/google/zxing/oned/UPCEReader;->NUMSYS_AND_CHECK_DIGIT_PATTERNS:[[I |
38 | ····return-void | 44 | ····return-void |
39 | ····.line· | 45 | ····.line·55 |
46 | ····nop | ||
40 | ····:array_0 | 47 | ····:array_0 |
41 | ····.array-data·4 | 48 | ····.array-data·4 |
49 | ········0x38 | ||
50 | ········0x34 | ||
51 | ········0x32 | ||
52 | ········0x31 | ||
53 | ········0x2c | ||
54 | ········0x26 | ||
55 | ········0x23 | ||
56 | ········0x2a | ||
57 | ········0x29 | ||
58 | ········0x25 | ||
59 | ····.end·array-data | ||
60 | ····.line·62 | ||
61 | ····:array_1 | ||
62 | ····.array-data·4 | ||
42 | ········0x1 | 63 | ········0x1 |
43 | ········0x1 | 64 | ········0x1 |
44 | ········0x1 | 65 | ········0x1 |
45 | ········0x1 | 66 | ········0x1 |
46 | ········0x1 | 67 | ········0x1 |
47 | ········0x1 | 68 | ········0x1 |
48 | ····.end·array-data | 69 | ····.end·array-data |
49 | ····.line· | 70 | ····.line·69 |
50 | ····:array_ | 71 | ····:array_2 |
51 | ····.array-data·4 | 72 | ····.array-data·4 |
52 | ········0x38 | 73 | ········0x38 |
53 | ········0x34 | 74 | ········0x34 |
54 | ········0x32 | 75 | ········0x32 |
55 | ········0x31 | 76 | ········0x31 |
56 | ········0x2c | 77 | ········0x2c |
57 | ········0x26 | 78 | ········0x26 |
58 | ········0x23 | 79 | ········0x23 |
59 | ········0x2a | 80 | ········0x2a |
60 | ········0x29 | 81 | ········0x29 |
61 | ········0x25 | 82 | ········0x25 |
62 | ····.end·array-data | 83 | ····.end·array-data |
63 | ····:array_ | 84 | ····:array_3 |
64 | ····.array-data·4 | 85 | ····.array-data·4 |
65 | ········0x7 | 86 | ········0x7 |
66 | ········0xb | 87 | ········0xb |
67 | ········0xd | 88 | ········0xd |
68 | ········0xe | 89 | ········0xe |
69 | ········0x13 | 90 | ········0x13 |
70 | ········0x19 | 91 | ········0x19 |
Offset 95, 25 lines modified | Offset 121, 25 lines modified | ||
95 | ····.end·array-data | 121 | ····.end·array-data |
96 | .end·method | 122 | .end·method |
97 | .method·public·constructor·<init>()V | 123 | .method·public·constructor·<init>()V |
98 | ····.locals·1 | 124 | ····.locals·1 |
99 | ····.prologue | 125 | ····.prologue |
100 | ····.line· | 126 | ····.line·76 |
101 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/UPCEANReader;-><init>()V | 127 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/UPCEANReader;-><init>()V |
102 | ····.line· | 128 | ····.line·77 |
Max diff block lines reached; 9017/11468 bytes (78.63%) of diff not shown. |
Offset 2, 19 lines modified | Offset 2, 19 lines modified | ||
2 | .super·Lcom/google/zxing/oned/OneDReader; | 2 | .super·Lcom/google/zxing/oned/OneDReader; |
3 | .source·"Code93Reader.java" | 3 | .source·"Code93Reader.java" |
4 | #·static·fields | 4 | #·static·fields |
5 | .field·private·static·final·ALPHABET:[C | 5 | .field·private·static·final·ALPHABET:[C |
6 | .field· | 6 | .field·static·final·ALPHABET_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%abcd*" |
7 | .field·private·static·final·ASTERISK_ENCODING:I | 7 | .field·private·static·final·ASTERISK_ENCODING:I |
8 | .field· | 8 | .field·static·final·CHARACTER_ENCODINGS:[I |
9 | #·instance·fields | 9 | #·instance·fields |
10 | .field·private·final·counters:[I | 10 | .field·private·final·counters:[I |
11 | .field·private·final·decodeRowResult:Ljava/lang/StringBuilder; | 11 | .field·private·final·decodeRowResult:Ljava/lang/StringBuilder; |
Offset 36, 18 lines modified | Offset 36, 16 lines modified | ||
36 | ····.line·47 | 36 | ····.line·47 |
37 | ····const/16·v0,·0x30 | 37 | ····const/16·v0,·0x30 |
38 | ····new-array·v0,·v0,·[I | 38 | ····new-array·v0,·v0,·[I |
39 | ····fill-array-data·v0,·:array_0 | 39 | ····fill-array-data·v0,·:array_0 |
40 | ····sput-object·v0,·Lcom/google/zxing/oned/Code93Reader;->CHARACTER_ENCODINGS:[I | ||
41 | ····.line·55 | 40 | ····.line·55 |
42 | ····s | 41 | ····sput-object·v0,·Lcom/google/zxing/oned/Code93Reader;->CHARACTER_ENCODINGS:[I |
43 | ····const/16·v1,·0x2f | 42 | ····const/16·v1,·0x2f |
44 | ····aget·v0,·v0,·v1 | 43 | ····aget·v0,·v0,·v1 |
45 | ····sput·v0,·Lcom/google/zxing/oned/Code93Reader;->ASTERISK_ENCODING:I | 44 | ····sput·v0,·Lcom/google/zxing/oned/Code93Reader;->ASTERISK_ENCODING:I |
Offset 748, 47 lines modified | Offset 746, 47 lines modified | ||
748 | .method·private·static·toPattern([I)I | 746 | .method·private·static·toPattern([I)I |
749 | ····.locals·9 | 747 | ····.locals·9 |
750 | ····.param·p0,·"counters"····#·[I | 748 | ····.param·p0,·"counters"····#·[I |
751 | ····.prologue | 749 | ····.prologue |
752 | ····.line·166 | 750 | ····.line·166 |
753 | ····array-length·v3,·p0 | ||
754 | ····.line·167 | ||
755 | ····.local·v3,·"max":I | ||
756 | ····const/4·v6,·0x0 | 751 | ····const/4·v6,·0x0 |
757 | ····.line·16 | 752 | ····.line·167 |
758 | ····.local·v6,·"sum":I | 753 | ····.local·v6,·"sum":I |
759 | ····array-length·v8,·p0 | 754 | ····array-length·v8,·p0 |
760 | ····const/4·v7,·0x0 | 755 | ····const/4·v7,·0x0 |
761 | ····:goto_0 | 756 | ····:goto_0 |
762 | ····if-ge·v7,·v8,·:cond_0 | 757 | ····if-ge·v7,·v8,·:cond_0 |
763 | ····aget·v0,·p0,·v7 | 758 | ····aget·v0,·p0,·v7 |
764 | ····.line·16 | 759 | ····.line·168 |
765 | ····.local·v0,·"counter":I | 760 | ····.local·v0,·"counter":I |
766 | ····add-int/2addr·v6,·v0 | 761 | ····add-int/2addr·v6,·v0 |
767 | ····.line·16 | 762 | ····.line·167 |
768 | ····add-int/lit8·v7,·v7,·0x1 | 763 | ····add-int/lit8·v7,·v7,·0x1 |
769 | ····goto·:goto_0 | 764 | ····goto·:goto_0 |
770 | ····.line·17 | 765 | ····.line·170 |
771 | ····.end·local·v0····#·"counter":I | 766 | ····.end·local·v0····#·"counter":I |
772 | ····:cond_0 | 767 | ····:cond_0 |
773 | ····const/4·v4,·0x0 | 768 | ····const/4·v4,·0x0 |
774 | ····.line·17 | 769 | ····.line·171 |
775 | ····.local·v4,·"pattern":I | 770 | ····.local·v4,·"pattern":I |
771 | ····array-length·v3,·p0 | ||
772 | ····.line·172 | ||
773 | ····.local·v3,·"max":I | ||
776 | ····const/4·v1,·0x0 | 774 | ····const/4·v1,·0x0 |
777 | ····.local·v1,·"i":I | 775 | ····.local·v1,·"i":I |
778 | ····:goto_1 | 776 | ····:goto_1 |
779 | ····if-ge·v1,·v3,·:cond_2 | 777 | ····if-ge·v1,·v3,·:cond_2 |
780 | ····.line·173 | 778 | ····.line·173 |
Offset 806, 17 lines modified | Offset 804, 15 lines modified | ||
806 | ····invoke-static·{v7},·Ljava/lang/Math;->round(F)I | 804 | ····invoke-static·{v7},·Ljava/lang/Math;->round(F)I |
807 | ····move-result·v5 | 805 | ····move-result·v5 |
808 | ····.line·174 | 806 | ····.line·174 |
809 | ····.local·v5,·"scaled":I | 807 | ····.local·v5,·"scaled":I |
810 | ····const/4·v7,·0x1 | ||
811 | ····if-l | 808 | ····if-lez·v5,·:cond_1 |
812 | ····const/4·v7,·0x4 | 809 | ····const/4·v7,·0x4 |
813 | ····if-le·v5,·v7,·:cond_3 | 810 | ····if-le·v5,·v7,·:cond_3 |
814 | ····.line·175 | 811 | ····.line·175 |
815 | ····:cond_1 | 812 | ····:cond_1 |
Offset 23, 88 lines modified | Offset 23, 88 lines modified | ||
23 | ····.param·p1,·"pos"····#·I | 23 | ····.param·p1,·"pos"····#·I |
24 | ····.param·p2,·"pattern"····#·[I | 24 | ····.param·p2,·"pattern"····#·[I |
25 | ····.param·p3,·"startColor"····#·Z | 25 | ····.param·p3,·"startColor"····#·Z |
26 | ····.prologue | 26 | ····.prologue |
27 | ····const/4·v5,·0x0 | 27 | ····const/4·v5,·0x0 |
28 | ····.line·10 | 28 | ····.line·102 |
29 | ····move·v0,·p3 | 29 | ····move·v0,·p3 |
30 | ····.line·10 | 30 | ····.line·103 |
31 | ····.local·v0,·"color":Z | 31 | ····.local·v0,·"color":Z |
32 | ····const/4·v3,·0x0 | 32 | ····const/4·v3,·0x0 |
33 | ····.line·10 | 33 | ····.line·104 |
34 | ····.local·v3,·"numAdded":I | 34 | ····.local·v3,·"numAdded":I |
35 | ····array-length·v7,·p2 | 35 | ····array-length·v7,·p2 |
36 | ····move·v6,·v5 | 36 | ····move·v6,·v5 |
37 | ····:goto_0 | 37 | ····:goto_0 |
38 | ····if-ge·v6,·v7,·:cond_2 | 38 | ····if-ge·v6,·v7,·:cond_2 |
39 | ····aget·v2,·p2,·v6 | 39 | ····aget·v2,·p2,·v6 |
40 | ····.line·10 | 40 | ····.line·105 |
41 | ····.local·v2,·"len":I | 41 | ····.local·v2,·"len":I |
42 | ····const/4·v1,·0x0 | 42 | ····const/4·v1,·0x0 |
43 | ····.local·v1,·"j":I | 43 | ····.local·v1,·"j":I |
44 | ····move·v4,·p1 | 44 | ····move·v4,·p1 |
45 | ····.end·local·p1····#·"pos":I | 45 | ····.end·local·p1····#·"pos":I |
46 | ····.local·v4,·"pos":I | 46 | ····.local·v4,·"pos":I |
47 | ····:goto_1 | 47 | ····:goto_1 |
48 | ····if-ge·v1,·v2,·:cond_0 | 48 | ····if-ge·v1,·v2,·:cond_0 |
49 | ····.line·10 | 49 | ····.line·106 |
50 | ····add-int/lit8·p1,·v4,·0x1 | 50 | ····add-int/lit8·p1,·v4,·0x1 |
51 | ····.end·local·v4····#·"pos":I | 51 | ····.end·local·v4····#·"pos":I |
52 | ····.restart·local·p1····#·"pos":I | 52 | ····.restart·local·p1····#·"pos":I |
53 | ····aput-boolean·v0,·p0,·v4 | 53 | ····aput-boolean·v0,·p0,·v4 |
54 | ····.line·10 | 54 | ····.line·105 |
55 | ····add-int/lit8·v1,·v1,·0x1 | 55 | ····add-int/lit8·v1,·v1,·0x1 |
56 | ····move·v4,·p1 | 56 | ····move·v4,·p1 |
57 | ····.end·local·p1····#·"pos":I | 57 | ····.end·local·p1····#·"pos":I |
58 | ····.restart·local·v4····#·"pos":I | 58 | ····.restart·local·v4····#·"pos":I |
59 | ····goto·:goto_1 | 59 | ····goto·:goto_1 |
60 | ····.line·1 | 60 | ····.line·108 |
61 | ····:cond_0 | 61 | ····:cond_0 |
62 | ····add-int/2addr·v3,·v2 | 62 | ····add-int/2addr·v3,·v2 |
63 | ····.line·1 | 63 | ····.line·109 |
64 | ····if-nez·v0,·:cond_1 | 64 | ····if-nez·v0,·:cond_1 |
65 | ····const/4·v0,·0x1 | 65 | ····const/4·v0,·0x1 |
66 | ····.line·10 | 66 | ····.line·104 |
67 | ····:goto_2 | 67 | ····:goto_2 |
68 | ····add-int/lit8·v6,·v6,·0x1 | 68 | ····add-int/lit8·v6,·v6,·0x1 |
69 | ····move·p1,·v4 | 69 | ····move·p1,·v4 |
70 | ····.end·local·v4····#·"pos":I | 70 | ····.end·local·v4····#·"pos":I |
71 | ····.restart·local·p1····#·"pos":I | 71 | ····.restart·local·p1····#·"pos":I |
72 | ····goto·:goto_0 | 72 | ····goto·:goto_0 |
73 | ····.end·local·p1····#·"pos":I | 73 | ····.end·local·p1····#·"pos":I |
74 | ····.restart·local·v4····#·"pos":I | 74 | ····.restart·local·v4····#·"pos":I |
75 | ····:cond_1 | 75 | ····:cond_1 |
76 | ····move·v0,·v5 | 76 | ····move·v0,·v5 |
77 | ····.line·1 | 77 | ····.line·109 |
78 | ····goto·:goto_2 | 78 | ····goto·:goto_2 |
79 | ····.line·11 | 79 | ····.line·111 |
80 | ····.end·local·v1····#·"j":I | 80 | ····.end·local·v1····#·"j":I |
81 | ····.end·local·v2····#·"len":I | 81 | ····.end·local·v2····#·"len":I |
82 | ····.end·local·v4····#·"pos":I | 82 | ····.end·local·v4····#·"pos":I |
83 | ····.restart·local·p1····#·"pos":I | 83 | ····.restart·local·p1····#·"pos":I |
84 | ····:cond_2 | 84 | ····:cond_2 |
85 | ····return·v3 | 85 | ····return·v3 |
86 | .end·method | 86 | .end·method |
Offset 113, 83 lines modified | Offset 113, 83 lines modified | ||
113 | ····.locals·10 | 113 | ····.locals·10 |
114 | ····.param·p0,·"code"····#·[Z | 114 | ····.param·p0,·"code"····#·[Z |
115 | ····.param·p1,·"width"····#·I | 115 | ····.param·p1,·"width"····#·I |
116 | ····.param·p2,·"height"····#·I | 116 | ····.param·p2,·"height"····#·I |
117 | ····.param·p3,·"sidesMargin"····#·I | 117 | ····.param·p3,·"sidesMargin"····#·I |
118 | ····.prologue | 118 | ····.prologue |
119 | ····.line·7 | 119 | ····.line·75 |
120 | ····array-length·v1,·p0 | 120 | ····array-length·v1,·p0 |
121 | ····.line· | 121 | ····.line·77 |
122 | ····.local·v1,·"inputWidth":I | 122 | ····.local·v1,·"inputWidth":I |
123 | ····add-int·v0,·v1,·p3 | 123 | ····add-int·v0,·v1,·p3 |
124 | ····.line· | 124 | ····.line·78 |
125 | ····.local·v0,·"fullWidth":I | 125 | ····.local·v0,·"fullWidth":I |
126 | ····invoke-static·{p1,·v0},·Ljava/lang/Math;->max(II)I | 126 | ····invoke-static·{p1,·v0},·Ljava/lang/Math;->max(II)I |
127 | ····move-result·v7 | 127 | ····move-result·v7 |
128 | ····.line· | 128 | ····.line·79 |
129 | ····.local·v7,·"outputWidth":I | 129 | ····.local·v7,·"outputWidth":I |
130 | ····const/4·v9,·0x1 | 130 | ····const/4·v9,·0x1 |
131 | ····invoke-static·{v9,·p2},·Ljava/lang/Math;->max(II)I | 131 | ····invoke-static·{v9,·p2},·Ljava/lang/Math;->max(II)I |
132 | ····move-result·v6 | 132 | ····move-result·v6 |
133 | ····.line·8 | 133 | ····.line·81 |
134 | ····.local·v6,·"outputHeight":I | 134 | ····.local·v6,·"outputHeight":I |
135 | ····div-int·v4,·v7,·v0 | 135 | ····div-int·v4,·v7,·v0 |
136 | ····.line·8 | 136 | ····.line·82 |
137 | ····.local·v4,·"multiple":I | 137 | ····.local·v4,·"multiple":I |
138 | ····mul-int·v9,·v1,·v4 | 138 | ····mul-int·v9,·v1,·v4 |
139 | ····sub-int·v9,·v7,·v9 | 139 | ····sub-int·v9,·v7,·v9 |
Max diff block lines reached; 6572/9111 bytes (72.13%) of diff not shown. |
Offset 54, 21 lines modified | Offset 54, 17 lines modified | ||
54 | ····if-eq·p2,·v0,·:cond_0 | 54 | ····if-eq·p2,·v0,·:cond_0 |
55 | ····.line·47 | 55 | ····.line·47 |
56 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; | 56 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; |
57 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 57 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
58 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | ||
59 | ····const-string·v2,·"Can·only·encode·EAN_13,·but·got·" | 58 | ····const-string·v2,·"Can·only·encode·EAN_13,·but·got·" |
60 | ····invoke- | 59 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
61 | ····move-result-object·v1 | ||
62 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 60 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
63 | ····move-result-object·v1 | 61 | ····move-result-object·v1 |
64 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 62 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 84, 232 lines modified | Offset 80, 222 lines modified | ||
84 | ····move-result-object·v0 | 80 | ····move-result-object·v0 |
85 | ····return-object·v0 | 81 | ····return-object·v0 |
86 | .end·method | 82 | .end·method |
87 | .method·public·encode(Ljava/lang/String;)[Z | 83 | .method·public·encode(Ljava/lang/String;)[Z |
88 | ····.locals·1 | 84 | ····.locals·10 |
89 | ····.param·p1,·"contents"····#·Ljava/lang/String; | 85 | ····.param·p1,·"contents"····#·Ljava/lang/String; |
90 | ····.prologue | 86 | ····.prologue |
91 | ····const/4·v | 87 | ····const/4·v9,·0x0 |
92 | ····const/4·v | 88 | ····const/4·v8,·0x1 |
93 | ····.line·55 | 89 | ····.line·55 |
94 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 90 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
95 | ····move-result·v | 91 | ····move-result·v6 |
96 | ····const/16·v | 92 | ····const/16·v7,·0xd |
97 | ····if-eq·v | 93 | ····if-eq·v6,·v7,·:cond_0 |
98 | ····.line·56 | 94 | ····.line·56 |
99 | ····new-instance·v | 95 | ····new-instance·v6,·Ljava/lang/IllegalArgumentException; |
100 | ····new-instance·v8,·Ljava/lang/StringBuilder; | ||
101 | ···· | 96 | ····new-instance·v7,·Ljava/lang/StringBuilder; |
102 | ····const-string·v | 97 | ····const-string·v8,·"Requested·contents·should·be·13·digits·long,·but·got·" |
103 | ····invoke- | 98 | ····invoke-direct·{v7,·v8},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
104 | ····move-result-object·v8 | ||
105 | ····.line·57 | 99 | ····.line·57 |
106 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 100 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
107 | ····move-result·v | 101 | ····move-result·v8 |
108 | ····invoke-virtual·{v | 102 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
109 | ····move-result-object·v | 103 | ····move-result-object·v7 |
110 | ····invoke-virtual·{v | 104 | ····invoke-virtual·{v7},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
111 | ····move-result-object·v | 105 | ····move-result-object·v7 |
112 | ····invoke-direct·{v | 106 | ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
113 | ····throw·v | 107 | ····throw·v6 |
114 | ····.line·60 | 108 | ····.line·60 |
115 | ····:cond_0 | 109 | ····:cond_0 |
116 | ····:try_start_0 | 110 | ····:try_start_0 |
117 | ····invoke-static·{p1},·Lcom/google/zxing/oned/UPCEANReader;->checkStandardUPCEANChecksum(Ljava/lang/CharSequence;)Z | 111 | ····invoke-static·{p1},·Lcom/google/zxing/oned/UPCEANReader;->checkStandardUPCEANChecksum(Ljava/lang/CharSequence;)Z |
118 | ····move-result·v | 112 | ····move-result·v6 |
119 | ····if-nez·v | 113 | ····if-nez·v6,·:cond_1 |
120 | ····.line·61 | 114 | ····.line·61 |
121 | ····new-instance·v | 115 | ····new-instance·v6,·Ljava/lang/IllegalArgumentException; |
122 | ····const-string·v | 116 | ····const-string·v7,·"Contents·do·not·pass·checksum" |
123 | ····invoke-direct·{v | 117 | ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
124 | ····throw·v | 118 | ····throw·v6 |
125 | ····:try_end_0 | 119 | ····:try_end_0 |
126 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0 | 120 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0 |
127 | ····.line·6 | 121 | ····.line·64 |
128 | ····:catch_0 | 122 | ····:catch_0 |
129 | ····move-exception·v | 123 | ····move-exception·v6 |
130 | ····.line·64 | ||
131 | ····.local·v3,·"ignored":Lcom/google/zxing/FormatException; | ||
132 | ····new-instance·v | 124 | ····new-instance·v6,·Ljava/lang/IllegalArgumentException; |
133 | ····const-string·v | 125 | ····const-string·v7,·"Illegal·contents" |
134 | ····invoke-direct·{v | 126 | ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
135 | ····throw·v | 127 | ····throw·v6 |
136 | ····.line·67 | 128 | ····.line·67 |
137 | ····.end·local·v3····#·"ignored":Lcom/google/zxing/FormatException; | ||
138 | ····:cond_1 | 129 | ····:cond_1 |
139 | ····invoke-virtual·{p1,·v | 130 | ····invoke-virtual·{p1,·v9,·v8},·Ljava/lang/String;->substring(II)Ljava/lang/String; |
140 | ····move-result-object·v | 131 | ····move-result-object·v6 |
141 | ····invoke-static·{v | 132 | ····invoke-static·{v6},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I |
142 | ····move-result·v1 | 133 | ····move-result·v1 |
143 | ····.line·68 | 134 | ····.line·68 |
144 | ····.local·v1,·"firstDigit":I | 135 | ····.local·v1,·"firstDigit":I |
145 | ····sget-object·v | 136 | ····sget-object·v6,·Lcom/google/zxing/oned/EAN13Reader;->FIRST_DIGIT_ENCODINGS:[I |
146 | ····aget·v | 137 | ····aget·v3,·v6,·v1 |
Max diff block lines reached; 4603/9555 bytes (48.17%) of diff not shown. |
Offset 280, 126 lines modified | Offset 280, 213 lines modified | ||
280 | ····.annotation·system·Ldalvik/annotation/Throws; | 280 | ····.annotation·system·Ldalvik/annotation/Throws; |
281 | ········value·=·{ | 281 | ········value·=·{ |
282 | ············Lcom/google/zxing/NotFoundException; | 282 | ············Lcom/google/zxing/NotFoundException; |
283 | ········} | 283 | ········} |
284 | ····.end·annotation | 284 | ····.end·annotation |
285 | ····.prologue | 285 | ····.prologue |
286 | ····.line·33 | 286 | ····.line·334 |
287 | ····const·v1,·0x3ec28f5c····#·0.38f | 287 | ····const·v1,·0x3ec28f5c····#·0.38f |
288 | ····.line·33 | 288 | ····.line·335 |
289 | ····.local·v1,·"bestVariance":F | 289 | ····.local·v1,·"bestVariance":F |
290 | ····const/4·v0,·-0x1 | 290 | ····const/4·v0,·-0x1 |
291 | ····.line·33 | 291 | ····.line·336 |
292 | ····.local·v0,·"bestMatch":I | 292 | ····.local·v0,·"bestMatch":I |
293 | ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I | 293 | ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I |
294 | ····array-length·v3,·v6 | 294 | ····array-length·v3,·v6 |
295 | ····.line·33 | 295 | ····.line·337 |
296 | ····.local·v3,·"max":I | 296 | ····.local·v3,·"max":I |
297 | ····const/4·v2,·0x0 | 297 | ····const/4·v2,·0x0 |
298 | ····.local·v2,·"i":I | 298 | ····.local·v2,·"i":I |
299 | ····:goto_0 | 299 | ····:goto_0 |
300 | ····if-ge·v2,·v3,·:cond_1 | 300 | ····if-ge·v2,·v3,·:cond_1 |
301 | ····.line·3 | 301 | ····.line·338 |
302 | ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I | 302 | ····sget-object·v6,·Lcom/google/zxing/oned/ITFReader;->PATTERNS:[[I |
303 | ····aget-object·v4,·v6,·v2 | 303 | ····aget-object·v4,·v6,·v2 |
304 | ····.line·3 | 304 | ····.line·339 |
305 | ····.local·v4,·"pattern":[I | 305 | ····.local·v4,·"pattern":[I |
306 | ····const·v6,·0x3f47ae14····#·0.78f | 306 | ····const·v6,·0x3f47ae14····#·0.78f |
307 | ····invoke-static·{p0,·v4,·v6},·Lcom/google/zxing/oned/ITFReader;->patternMatchVariance([I[IF)F | 307 | ····invoke-static·{p0,·v4,·v6},·Lcom/google/zxing/oned/ITFReader;->patternMatchVariance([I[IF)F |
308 | ····move-result·v5 | 308 | ····move-result·v5 |
309 | ····.line·34 | 309 | ····.line·340 |
310 | ····.local·v5,·"variance":F | 310 | ····.local·v5,·"variance":F |
311 | ····cmpg-float·v6,·v5,·v1 | 311 | ····cmpg-float·v6,·v5,·v1 |
312 | ····if-gez·v6,·:cond_0 | 312 | ····if-gez·v6,·:cond_0 |
313 | ····.line·34 | 313 | ····.line·341 |
314 | ····move·v1,·v5 | 314 | ····move·v1,·v5 |
315 | ····.line·34 | 315 | ····.line·342 |
316 | ····move·v0,·v2 | 316 | ····move·v0,·v2 |
317 | ····.line·33 | 317 | ····.line·337 |
318 | ····:cond_0 | 318 | ····:cond_0 |
319 | ····add-int/lit8·v2,·v2,·0x1 | 319 | ····add-int/lit8·v2,·v2,·0x1 |
320 | ····goto·:goto_0 | 320 | ····goto·:goto_0 |
321 | ····.line·34 | 321 | ····.line·345 |
322 | ····.end·local·v4····#·"pattern":[I | 322 | ····.end·local·v4····#·"pattern":[I |
323 | ····.end·local·v5····#·"variance":F | 323 | ····.end·local·v5····#·"variance":F |
324 | ····:cond_1 | 324 | ····:cond_1 |
325 | ····if-ltz·v0,·:cond_2 | 325 | ····if-ltz·v0,·:cond_2 |
326 | ····.line·34 | 326 | ····.line·346 |
327 | ····return·v0 | 327 | ····return·v0 |
328 | ····.line·3 | 328 | ····.line·348 |
329 | ····:cond_2 | 329 | ····:cond_2 |
330 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 330 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
331 | ····move-result-object·v6 | 331 | ····move-result-object·v6 |
332 | ····throw·v6 | 332 | ····throw·v6 |
333 | .end·method | 333 | .end·method |
334 | .method·private·decodeEnd(Lcom/google/zxing/common/BitArray;)[I | ||
335 | ····.locals·6 | ||
336 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; | ||
337 | ····.annotation·system·Ldalvik/annotation/Throws; | ||
338 | ········value·=·{ | ||
339 | ············Lcom/google/zxing/NotFoundException; | ||
340 | ········} | ||
341 | ····.end·annotation | ||
342 | ····.prologue | ||
343 | ····.line·259 | ||
344 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->reverse()V | ||
345 | ····.line·261 | ||
346 | ····:try_start_0 | ||
347 | ····invoke-static·{p1},·Lcom/google/zxing/oned/ITFReader;->skipWhiteSpace(Lcom/google/zxing/common/BitArray;)I | ||
348 | ····move-result·v1 | ||
349 | ····.line·262 | ||
350 | ····.local·v1,·"endStart":I | ||
351 | ····sget-object·v3,·Lcom/google/zxing/oned/ITFReader;->END_PATTERN_REVERSED:[I | ||
352 | ····invoke-static·{p1,·v1,·v3},·Lcom/google/zxing/oned/ITFReader;->findGuardPattern(Lcom/google/zxing/common/BitArray;I[I)[I | ||
353 | ····move-result-object·v0 | ||
354 | ····.line·267 | ||
355 | ····.local·v0,·"endPattern":[I | ||
356 | ····const/4·v3,·0x0 | ||
357 | ····aget·v3,·v0,·v3 | ||
358 | ····invoke-direct·{p0,·p1,·v3},·Lcom/google/zxing/oned/ITFReader;->validateQuietZone(Lcom/google/zxing/common/BitArray;I)V | ||
359 | ····.line·272 | ||
360 | ····const/4·v3,·0x0 | ||
361 | ····aget·v2,·v0,·v3 | ||
362 | ····.line·273 | ||
363 | ····.local·v2,·"temp":I | ||
364 | ····const/4·v3,·0x0 | ||
365 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I | ||
366 | ····move-result·v4 | ||
367 | ····const/4·v5,·0x1 | ||
Max diff block lines reached; 13802/17668 bytes (78.12%) of diff not shown. |
Offset 30, 71 lines modified | Offset 30, 15 lines modified | ||
30 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 30 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
31 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension2Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder; | 31 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension2Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder; |
32 | ····return-void | 32 | ····return-void |
33 | .end·method | 33 | .end·method |
34 | .method·private·static·parseExtensionString(Ljava/lang/String;)Ljava/util/Map; | ||
35 | ····.locals·3 | ||
36 | ····.param·p0,·"raw"····#·Ljava/lang/String; | ||
37 | ····.annotation·system·Ldalvik/annotation/Signature; | ||
38 | ········value·=·{ | ||
39 | ············"(", | ||
40 | ············"Ljava/lang/String;", | ||
41 | ············")", | ||
42 | ············"Ljava/util/Map", | ||
43 | ············"<", | ||
44 | ············"Lcom/google/zxing/ResultMetadataType;", | ||
45 | ············"Ljava/lang/Object;", | ||
46 | ············">;" | ||
47 | ········} | ||
48 | ····.end·annotation | ||
49 | ····.prologue | ||
50 | ····.line·104 | ||
51 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | ||
52 | ····move-result·v1 | ||
53 | ····const/4·v2,·0x2 | ||
54 | ····if-eq·v1,·v2,·:cond_0 | ||
55 | ····.line·105 | ||
56 | ····const/4·v0,·0x0 | ||
57 | ····.line·109 | ||
58 | ····:goto_0 | ||
59 | ····return-object·v0 | ||
60 | ····.line·107 | ||
61 | ····:cond_0 | ||
62 | ····new-instance·v0,·Ljava/util/EnumMap; | ||
63 | ····const-class·v1,·Lcom/google/zxing/ResultMetadataType; | ||
64 | ····invoke-direct·{v0,·v1},·Ljava/util/EnumMap;-><init>(Ljava/lang/Class;)V | ||
65 | ····.line·108 | ||
66 | ····.local·v0,·"result":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;>;" | ||
67 | ····sget-object·v1,·Lcom/google/zxing/ResultMetadataType;->ISSUE_NUMBER:Lcom/google/zxing/ResultMetadataType; | ||
68 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer; | ||
69 | ····move-result-object·v2 | ||
70 | ····invoke-interface·{v0,·v1,·v2},·Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | ||
71 | ····goto·:goto_0 | ||
72 | .end·method | ||
73 | #·virtual·methods | ||
74 | .method·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I | 34 | .method·private·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I |
75 | ····.locals·12 | 35 | ····.locals·12 |
76 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; | 36 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; |
77 | ····.param·p2,·"startRange"····#·[I | 37 | ····.param·p2,·"startRange"····#·[I |
78 | ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder; | 38 | ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder; |
79 | ····.annotation·system·Ldalvik/annotation/Throws; | 39 | ····.annotation·system·Ldalvik/annotation/Throws; |
80 | ········value·=·{ | 40 | ········value·=·{ |
81 | ············Lcom/google/zxing/NotFoundException; | 41 | ············Lcom/google/zxing/NotFoundException; |
Offset 257, 14 lines modified | Offset 201, 70 lines modified | ||
257 | ····throw·v7 | 201 | ····throw·v7 |
258 | ····.line·95 | 202 | ····.line·95 |
259 | ····:cond_5 | 203 | ····:cond_5 |
260 | ····return·v5 | 204 | ····return·v5 |
261 | .end·method | 205 | .end·method |
206 | .method·private·static·parseExtensionString(Ljava/lang/String;)Ljava/util/Map; | ||
207 | ····.locals·3 | ||
208 | ····.param·p0,·"raw"····#·Ljava/lang/String; | ||
209 | ····.annotation·system·Ldalvik/annotation/Signature; | ||
210 | ········value·=·{ | ||
211 | ············"(", | ||
212 | ············"Ljava/lang/String;", | ||
213 | ············")", | ||
214 | ············"Ljava/util/Map", | ||
215 | ············"<", | ||
216 | ············"Lcom/google/zxing/ResultMetadataType;", | ||
217 | ············"Ljava/lang/Object;", | ||
218 | ············">;" | ||
219 | ········} | ||
220 | ····.end·annotation | ||
221 | ····.prologue | ||
222 | ····.line·104 | ||
223 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | ||
224 | ····move-result·v1 | ||
225 | ····const/4·v2,·0x2 | ||
226 | ····if-eq·v1,·v2,·:cond_0 | ||
227 | ····.line·105 | ||
228 | ····const/4·v0,·0x0 | ||
229 | ····.line·109 | ||
230 | ····:goto_0 | ||
231 | ····return-object·v0 | ||
232 | ····.line·107 | ||
233 | ····:cond_0 | ||
234 | ····new-instance·v0,·Ljava/util/EnumMap; | ||
235 | ····const-class·v1,·Lcom/google/zxing/ResultMetadataType; | ||
236 | ····invoke-direct·{v0,·v1},·Ljava/util/EnumMap;-><init>(Ljava/lang/Class;)V | ||
237 | ····.line·108 | ||
238 | ····.local·v0,·"result":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/ResultMetadataType;Ljava/lang/Object;>;" | ||
239 | ····sget-object·v1,·Lcom/google/zxing/ResultMetadataType;->ISSUE_NUMBER:Lcom/google/zxing/ResultMetadataType; | ||
240 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer; | ||
241 | ····move-result-object·v2 | ||
Max diff block lines reached; 1001/4850 bytes (20.64%) of diff not shown. |
Offset 201, 221 lines modified | Offset 201, 215 lines modified | ||
201 | ········value·=·{ | 201 | ········value·=·{ |
202 | ············Lcom/google/zxing/NotFoundException; | 202 | ············Lcom/google/zxing/NotFoundException; |
203 | ········} | 203 | ········} |
204 | ····.end·annotation | 204 | ····.end·annotation |
205 | ····.prologue | 205 | ····.prologue |
206 | ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 206 | ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
207 | ····const/4·v | 207 | ····const/4·v8,·0x1 |
208 | ····const/4·v0,·0x0 | 208 | ····const/4·v0,·0x0 |
209 | ····.line·74 | 209 | ····.line·74 |
210 | ····invoke-static·{p2},·Lcom/google/zxing/oned/UPCEANReader;->findStartGuardPattern(Lcom/google/zxing/common/BitArray;)[I | 210 | ····invoke-static·{p2},·Lcom/google/zxing/oned/UPCEANReader;->findStartGuardPattern(Lcom/google/zxing/common/BitArray;)[I |
211 | ····move-result-object·v | 211 | ····move-result-object·v6 |
212 | ····.line·75 | 212 | ····.line·75 |
213 | ····.local·v | 213 | ····.local·v6,·"startGuardPattern":[I |
214 | ····iget-object·v | 214 | ····iget-object·v9,·p0,·Lcom/google/zxing/oned/MultiFormatUPCEANReader;->readers:[Lcom/google/zxing/oned/UPCEANReader; |
215 | ····array-length·v1 | 215 | ····array-length·v10,·v9 |
216 | ····move·v | 216 | ····move·v7,·v0 |
217 | ····:goto_0 | 217 | ····:goto_0 |
218 | ····if-ge·v | 218 | ····if-ge·v7,·v10,·:cond_5 |
219 | ····aget-object·v | 219 | ····aget-object·v3,·v9,·v7 |
220 | ····.line·78 | 220 | ····.line·78 |
221 | ····.local·v | 221 | ····.local·v3,·"reader":Lcom/google/zxing/oned/UPCEANReader; |
222 | ····:try_start_0 | 222 | ····:try_start_0 |
223 | ····invoke-virtual·{v | 223 | ····invoke-virtual·{v3,·p1,·p2,·v6,·p3},·Lcom/google/zxing/oned/UPCEANReader;->decodeRow(ILcom/google/zxing/common/BitArray;[ILjava/util/Map;)Lcom/google/zxing/Result; |
224 | ····:try_end_0 | 224 | ····:try_end_0 |
225 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 | 225 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 |
226 | ····move-result-object·v | 226 | ····move-result-object·v4 |
227 | ····.line·95 | 227 | ····.line·95 |
228 | ····.local·v | 228 | ····.local·v4,·"result":Lcom/google/zxing/Result; |
229 | ····invoke-virtual·{v | 229 | ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getBarcodeFormat()Lcom/google/zxing/BarcodeFormat; |
230 | ····move-result-object·v | 230 | ····move-result-object·v7 |
231 | ····sget-object·v | 231 | ····sget-object·v9,·Lcom/google/zxing/BarcodeFormat;->EAN_13:Lcom/google/zxing/BarcodeFormat; |
232 | ····if-ne·v | 232 | ····if-ne·v7,·v9,·:cond_2 |
233 | ····.line·96 | 233 | ····.line·96 |
234 | ····invoke-virtual·{v | 234 | ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getText()Ljava/lang/String; |
235 | ····move-result-object·v | 235 | ····move-result-object·v7 |
236 | ····invoke-virtual·{v | 236 | ····invoke-virtual·{v7,·v0},·Ljava/lang/String;->charAt(I)C |
237 | ····move-result·v | 237 | ····move-result·v7 |
238 | ····const/16·v | 238 | ····const/16·v9,·0x30 |
239 | ····if-ne·v | 239 | ····if-ne·v7,·v9,·:cond_2 |
240 | ····move·v1,·v | 240 | ····move·v1,·v8 |
241 | ····.line·98 | 241 | ····.line·98 |
242 | ····.local·v1,·"ean13MayBeUPCA":Z | 242 | ····.local·v1,·"ean13MayBeUPCA":Z |
243 | ····:goto_1 | 243 | ····:goto_1 |
244 | ····if-nez·p3,·:cond_3 | 244 | ····if-nez·p3,·:cond_3 |
245 | ····const/4·v | 245 | ····const/4·v2,·0x0 |
246 | ····.line·100 | 246 | ····.line·100 |
247 | ····.local·v | 247 | ····.local·v2,·"possibleFormats":Ljava/util/Collection;,·"Ljava/util/Collection<Lcom/google/zxing/BarcodeFormat;>;" |
248 | ····:goto_2 | 248 | ····:goto_2 |
249 | ····if-eqz·v | 249 | ····if-eqz·v2,·:cond_0 |
250 | ····sget-object·v | 250 | ····sget-object·v7,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat; |
251 | ····invoke-interface·{v | 251 | ····invoke-interface·{v2,·v7},·Ljava/util/Collection;->contains(Ljava/lang/Object;)Z |
252 | ····move-result·v | 252 | ····move-result·v7 |
253 | ····if-eqz·v | 253 | ····if-eqz·v7,·:cond_1 |
254 | ····:cond_0 | 254 | ····:cond_0 |
255 | ····move·v0,·v | 255 | ····move·v0,·v8 |
256 | ····.line·102 | 256 | ····.line·102 |
257 | ····.local·v0,·"canReturnUPCA":Z | 257 | ····.local·v0,·"canReturnUPCA":Z |
258 | ····:cond_1 | 258 | ····:cond_1 |
259 | ····if-eqz·v1,·:cond_4 | 259 | ····if-eqz·v1,·:cond_4 |
260 | ····if-eqz·v0,·:cond_4 | 260 | ····if-eqz·v0,·:cond_4 |
261 | ····.line·104 | 261 | ····.line·104 |
262 | ····new-instance·v | 262 | ····new-instance·v5,·Lcom/google/zxing/Result; |
263 | ····invoke-virtual·{v | 263 | ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getText()Ljava/lang/String; |
264 | ····move-result-object·v | 264 | ····move-result-object·v7 |
265 | ····invoke-virtual·{v | 265 | ····invoke-virtual·{v7,·v8},·Ljava/lang/String;->substring(I)Ljava/lang/String; |
266 | ····move-result-object·v | 266 | ····move-result-object·v7 |
267 | ····.line·105 | 267 | ····.line·105 |
268 | ····invoke-virtual·{v | 268 | ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getRawBytes()[B |
269 | ····move-result-object·v | 269 | ····move-result-object·v8 |
270 | ····.line·106 | 270 | ····.line·106 |
271 | ····invoke-virtual·{v | 271 | ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getResultPoints()[Lcom/google/zxing/ResultPoint; |
272 | ····move-result-object·v | 272 | ····move-result-object·v9 |
273 | ····sget-object·v1 | 273 | ····sget-object·v10,·Lcom/google/zxing/BarcodeFormat;->UPC_A:Lcom/google/zxing/BarcodeFormat; |
274 | ····invoke-direct·{v | 274 | ····invoke-direct·{v5,·v7,·v8,·v9,·v10},·Lcom/google/zxing/Result;-><init>(Ljava/lang/String;[B[Lcom/google/zxing/ResultPoint;Lcom/google/zxing/BarcodeFormat;)V |
275 | ····.line·108 | 275 | ····.line·108 |
276 | ····.local·v | 276 | ····.local·v5,·"resultUPCA":Lcom/google/zxing/Result; |
277 | ····invoke-virtual·{v | 277 | ····invoke-virtual·{v4},·Lcom/google/zxing/Result;->getResultMetadata()Ljava/util/Map; |
278 | ····move-result-object·v | 278 | ····move-result-object·v7 |
279 | ····invoke-virtual·{v | 279 | ····invoke-virtual·{v5,·v7},·Lcom/google/zxing/Result;->putAllMetadata(Ljava/util/Map;)V |
280 | ····.line·111 | 280 | ····.line·111 |
Max diff block lines reached; 3845/10046 bytes (38.27%) of diff not shown. |
Offset 54, 21 lines modified | Offset 54, 17 lines modified | ||
54 | ····if-eq·p2,·v0,·:cond_0 | 54 | ····if-eq·p2,·v0,·:cond_0 |
55 | ····.line·46 | 55 | ····.line·46 |
56 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; | 56 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; |
57 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 57 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
58 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | ||
59 | ····const-string·v2,·"Can·only·encode·EAN_8,·but·got·" | 58 | ····const-string·v2,·"Can·only·encode·EAN_8,·but·got·" |
60 | ····invoke- | 59 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
61 | ····move-result-object·v1 | ||
62 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 60 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
63 | ····move-result-object·v1 | 61 | ····move-result-object·v1 |
64 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 62 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 88, 17 lines modified | Offset 84, 17 lines modified | ||
88 | .end·method | 84 | .end·method |
89 | .method·public·encode(Ljava/lang/String;)[Z | 85 | .method·public·encode(Ljava/lang/String;)[Z |
90 | ····.locals·8 | 86 | ····.locals·8 |
91 | ····.param·p1,·"contents"····#·Ljava/lang/String; | 87 | ····.param·p1,·"contents"····#·Ljava/lang/String; |
92 | ····.prologue | 88 | ····.prologue |
93 | ····const/4·v7,·0x | 89 | ····const/4·v7,·0x1 |
94 | ····const/4·v6,·0x | 90 | ····const/4·v6,·0x0 |
95 | ····.line·58 | 91 | ····.line·58 |
96 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 92 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
97 | ····move-result·v4 | 93 | ····move-result·v4 |
98 | ····const/16·v5,·0x8 | 94 | ····const/16·v5,·0x8 |
Offset 106, 21 lines modified | Offset 102, 17 lines modified | ||
106 | ····if-eq·v4,·v5,·:cond_0 | 102 | ····if-eq·v4,·v5,·:cond_0 |
107 | ····.line·59 | 103 | ····.line·59 |
108 | ····new-instance·v4,·Ljava/lang/IllegalArgumentException; | 104 | ····new-instance·v4,·Ljava/lang/IllegalArgumentException; |
109 | ····new-instance·v5,·Ljava/lang/StringBuilder; | 105 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
110 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V | ||
111 | ····const-string·v6,·"Requested·contents·should·be·8·digits·long,·but·got·" | 106 | ····const-string·v6,·"Requested·contents·should·be·8·digits·long,·but·got·" |
112 | ····invoke- | 107 | ····invoke-direct·{v5,·v6},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
113 | ····move-result-object·v5 | ||
114 | ····.line·60 | 108 | ····.line·60 |
115 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 109 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
116 | ····move-result·v6 | 110 | ····move-result·v6 |
117 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 111 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
Offset 137, 29 lines modified | Offset 129, 26 lines modified | ||
137 | ····.line·63 | 129 | ····.line·63 |
138 | ····:cond_0 | 130 | ····:cond_0 |
139 | ····const/16·v4,·0x43 | 131 | ····const/16·v4,·0x43 |
140 | ····new-array·v3,·v4,·[Z | 132 | ····new-array·v3,·v4,·[Z |
141 | ····.line·64 | ||
142 | ····.local·v3,·"result":[Z | ||
143 | ····const/4·v2,·0x0 | ||
144 | ····.line·66 | 133 | ····.line·66 |
145 | ····.local·v | 134 | ····.local·v3,·"result":[Z |
146 | ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->START_END_PATTERN:[I | 135 | ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->START_END_PATTERN:[I |
147 | ····invoke-static·{v3,·v | 136 | ····invoke-static·{v3,·v6,·v4,·v7},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I |
148 | ····move-result·v4 | 137 | ····move-result·v4 |
149 | ····add-int/ | 138 | ····add-int/lit8·v2,·v4,·0x0 |
150 | ····.line·68 | 139 | ····.line·68 |
140 | ····.local·v2,·"pos":I | ||
151 | ····const/4·v1,·0x0 | 141 | ····const/4·v1,·0x0 |
152 | ····.local·v1,·"i":I | 142 | ····.local·v1,·"i":I |
153 | ····:goto_0 | 143 | ····:goto_0 |
154 | ····const/4·v4,·0x3 | 144 | ····const/4·v4,·0x3 |
155 | ····if-gt·v1,·v4,·:cond_1 | 145 | ····if-gt·v1,·v4,·:cond_1 |
Offset 177, 15 lines modified | Offset 166, 15 lines modified | ||
177 | ····.line·70 | 166 | ····.line·70 |
178 | ····.local·v0,·"digit":I | 167 | ····.local·v0,·"digit":I |
179 | ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I | 168 | ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I |
180 | ····aget-object·v4,·v4,·v0 | 169 | ····aget-object·v4,·v4,·v0 |
181 | ····invoke-static·{v3,·v2,·v4,·v | 170 | ····invoke-static·{v3,·v2,·v4,·v6},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I |
182 | ····move-result·v4 | 171 | ····move-result·v4 |
183 | ····add-int/2addr·v2,·v4 | 172 | ····add-int/2addr·v2,·v4 |
184 | ····.line·68 | 173 | ····.line·68 |
185 | ····add-int/lit8·v1,·v1,·0x1 | 174 | ····add-int/lit8·v1,·v1,·0x1 |
Offset 193, 15 lines modified | Offset 182, 15 lines modified | ||
193 | ····goto·:goto_0 | 182 | ····goto·:goto_0 |
194 | ····.line·73 | 183 | ····.line·73 |
195 | ····.end·local·v0····#·"digit":I | 184 | ····.end·local·v0····#·"digit":I |
196 | ····:cond_1 | 185 | ····:cond_1 |
197 | ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I | 186 | ····sget-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I |
198 | ····invoke-static·{v3,·v2,·v4,·v | 187 | ····invoke-static·{v3,·v2,·v4,·v6},·Lcom/google/zxing/oned/EAN8Writer;->appendPattern([ZI[IZ)I |
199 | ····move-result·v4 | 188 | ····move-result·v4 |
200 | ····add-int/2addr·v2,·v4 | 189 | ····add-int/2addr·v2,·v4 |
201 | ····.line·75 | 190 | ····.line·75 |
202 | ····const/4·v1,·0x4 | 191 | ····const/4·v1,·0x4 |
Offset 224, 15 lines modified | Offset 213, 15 lines modified | ||
224 | ····.line·77 | 213 | ····.line·77 |
Max diff block lines reached; 822/4394 bytes (18.71%) of diff not shown. |
Offset 374, 19 lines modified | Offset 374, 18 lines modified | ||
374 | ····:try_end_0 | 374 | ····:try_end_0 |
375 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 | 375 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 |
376 | ····move-result-object·v1 | 376 | ····move-result-object·v1 |
377 | ····return-object·v1 | 377 | ····return-object·v1 |
378 | ····.line·9 | 378 | ····.line·94 |
379 | ····:catch_0 | 379 | ····:catch_0 |
380 | ····move-exception·v4 | 380 | ····move-exception·v4 |
381 | ····.line·94 | ||
382 | ····add-int/lit8·v1,·v1,·0x1 | 381 | ····add-int/lit8·v1,·v1,·0x1 |
383 | ····goto·:goto_0 | 382 | ····goto·:goto_0 |
384 | ····.line·102 | 383 | ····.line·102 |
385 | ····.end·local·v0····#·"reader":Lcom/google/zxing/oned/OneDReader; | 384 | ····.end·local·v0····#·"reader":Lcom/google/zxing/oned/OneDReader; |
386 | ····:cond_0 | 385 | ····:cond_0 |
Offset 398, 32 lines modified | Offset 397, 30 lines modified | ||
398 | .end·method | 397 | .end·method |
399 | .method·public·reset()V | 398 | .method·public·reset()V |
400 | ····.locals·4 | 399 | ····.locals·4 |
401 | ····.prologue | 400 | ····.prologue |
402 | ····.line·107 | 401 | ····.line·107 |
403 | ····iget-object·v | 402 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/MultiFormatOneDReader;->readers:[Lcom/google/zxing/oned/OneDReader; |
404 | ····array-length·v | 403 | ····array-length·v2,·v1 |
405 | ····const/4·v | 404 | ····const/4·v0,·0x0 |
406 | ····:goto_0 | 405 | ····:goto_0 |
407 | ····if-ge·v | 406 | ····if-ge·v0,·v2,·:cond_0 |
408 | ····aget-object·v | 407 | ····aget-object·v3,·v1,·v0 |
409 | ····.line·108 | 408 | ····.line·108 |
410 | ····.local·v0,·"reader":Lcom/google/zxing/Reader; | ||
411 | ····invoke-interface·{v | 409 | ····invoke-interface·{v3},·Lcom/google/zxing/Reader;->reset()V |
412 | ····.line·107 | 410 | ····.line·107 |
413 | ····add-int/lit8·v | 411 | ····add-int/lit8·v0,·v0,·0x1 |
414 | ····goto·:goto_0 | 412 | ····goto·:goto_0 |
415 | ····.line·110 | 413 | ····.line·110 |
416 | ····.end·local·v0····#·"reader":Lcom/google/zxing/Reader; | ||
417 | ····:cond_0 | 414 | ····:cond_0 |
418 | ····return-void | 415 | ····return-void |
419 | .end·method | 416 | .end·method |
Offset 25, 177 lines modified | Offset 25, 176 lines modified | ||
25 | ····.line·34 | 25 | ····.line·34 |
26 | ····return-void | 26 | ····return-void |
27 | .end·method | 27 | .end·method |
28 | #·virtual·methods | 28 | #·virtual·methods |
29 | .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I | 29 | .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I |
30 | ····.locals·1 | 30 | ····.locals·11 |
31 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; | 31 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; |
32 | ····.param·p2,·"startRange"····#·[I | 32 | ····.param·p2,·"startRange"····#·[I |
33 | ····.param·p3,·"result"····#·Ljava/lang/StringBuilder; | 33 | ····.param·p3,·"result"····#·Ljava/lang/StringBuilder; |
34 | ····.annotation·system·Ldalvik/annotation/Throws; | 34 | ····.annotation·system·Ldalvik/annotation/Throws; |
35 | ········value·=·{ | 35 | ········value·=·{ |
36 | ············Lcom/google/zxing/NotFoundException; | 36 | ············Lcom/google/zxing/NotFoundException; |
37 | ········} | 37 | ········} |
38 | ····.end·annotation | 38 | ····.end·annotation |
39 | ····.prologue | 39 | ····.prologue |
40 | ····const/4·v1 | 40 | ····const/4·v10,·0x4 |
41 | ····const/4·v | 41 | ····const/4·v9,·0x1 |
42 | ····const/4·v | 42 | ····const/4·v7,·0x0 |
43 | ····.line·40 | 43 | ····.line·40 |
44 | ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN8Reader;->decodeMiddleCounters:[I | 44 | ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN8Reader;->decodeMiddleCounters:[I |
45 | ····.line·41 | 45 | ····.line·41 |
46 | ····.local·v2,·"counters":[I | 46 | ····.local·v2,·"counters":[I |
47 | ····aput·v | 47 | ····aput·v7,·v2,·v7 |
48 | ····.line·42 | 48 | ····.line·42 |
49 | ····aput·v | 49 | ····aput·v7,·v2,·v9 |
50 | ····.line·43 | 50 | ····.line·43 |
51 | ····const/4·v | 51 | ····const/4·v6,·0x2 |
52 | ····aput·v | 52 | ····aput·v7,·v2,·v6 |
53 | ····.line·44 | 53 | ····.line·44 |
54 | ····const/4·v | 54 | ····const/4·v6,·0x3 |
55 | ····aput·v | 55 | ····aput·v7,·v2,·v6 |
56 | ····.line·45 | 56 | ····.line·45 |
57 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I | 57 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I |
58 | ····move-result·v3 | 58 | ····move-result·v3 |
59 | ····.line·46 | 59 | ····.line·46 |
60 | ····.local·v3,·"end":I | 60 | ····.local·v3,·"end":I |
61 | ····aget·v | 61 | ····aget·v4,·p2,·v9 |
62 | ····.line·48 | 62 | ····.line·48 |
63 | ····.local·v | 63 | ····.local·v4,·"rowOffset":I |
64 | ····const/4·v | 64 | ····const/4·v5,·0x0 |
65 | ····.local·v | 65 | ····.local·v5,·"x":I |
66 | ····:goto_0 | 66 | ····:goto_0 |
67 | ····if-ge·v | 67 | ····if-ge·v5,·v10,·:cond_1 |
68 | ····if-ge·v | 68 | ····if-ge·v4,·v3,·:cond_1 |
69 | ····.line·49 | 69 | ····.line·49 |
70 | ····sget-object·v | 70 | ····sget-object·v6,·Lcom/google/zxing/oned/EAN8Reader;->L_PATTERNS:[[I |
71 | ····invoke-static·{p1,·v2,·v | 71 | ····invoke-static·{p1,·v2,·v4,·v6},·Lcom/google/zxing/oned/EAN8Reader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I |
72 | ····move-result·v0 | 72 | ····move-result·v0 |
73 | ····.line·50 | 73 | ····.line·50 |
74 | ····.local·v0,·"bestMatch":I | 74 | ····.local·v0,·"bestMatch":I |
75 | ····add-int/lit8·v | 75 | ····add-int/lit8·v6,·v0,·0x30 |
76 | ····int-to-char·v | 76 | ····int-to-char·v6,·v6 |
77 | ····invoke-virtual·{p3,·v | 77 | ····invoke-virtual·{p3,·v6},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
78 | ····.line·51 | 78 | ····.line·51 |
79 | ····array-length·v | 79 | ····array-length·v8,·v2 |
80 | ····move·v | 80 | ····move·v6,·v7 |
81 | ····:goto_1 | 81 | ····:goto_1 |
82 | ····if-ge·v | 82 | ····if-ge·v6,·v8,·:cond_0 |
83 | ····aget·v1,·v2,·v | 83 | ····aget·v1,·v2,·v6 |
84 | ····.line·52 | 84 | ····.line·52 |
85 | ····.local·v1,·"counter":I | 85 | ····.local·v1,·"counter":I |
86 | ····add-int/2addr·v | 86 | ····add-int/2addr·v4,·v1 |
87 | ····.line·51 | 87 | ····.line·51 |
88 | ····add-int/lit8·v | 88 | ····add-int/lit8·v6,·v6,·0x1 |
89 | ····goto·:goto_1 | 89 | ····goto·:goto_1 |
90 | ····.line·48 | 90 | ····.line·48 |
91 | ····.end·local·v1····#·"counter":I | 91 | ····.end·local·v1····#·"counter":I |
92 | ····:cond_0 | 92 | ····:cond_0 |
93 | ····add-int/lit8·v | 93 | ····add-int/lit8·v5,·v5,·0x1 |
94 | ····goto·:goto_0 | 94 | ····goto·:goto_0 |
95 | ····.line·56 | 95 | ····.line·56 |
96 | ····.end·local·v0····#·"bestMatch":I | 96 | ····.end·local·v0····#·"bestMatch":I |
97 | ····:cond_1 | 97 | ····:cond_1 |
98 | ····sget-object·v | 98 | ····sget-object·v6,·Lcom/google/zxing/oned/EAN8Reader;->MIDDLE_PATTERN:[I |
99 | ····invoke-static·{p1,·v | 99 | ····invoke-static·{p1,·v4,·v9,·v6},·Lcom/google/zxing/oned/EAN8Reader;->findGuardPattern(Lcom/google/zxing/common/BitArray;IZ[I)[I |
100 | ····move-result-object·v | 100 | ····move-result-object·v6 |
101 | ····.line·57 | 101 | ····.line·57 |
102 | ····aget·v4,·v6,·v9 | ||
102 | ····.local·v4,·"middleRange":[I | ||
103 | ····aget·v5,·v4,·v10 | ||
104 | ····.line·59 | 103 | ····.line·59 |
105 | ····const/4·v | 104 | ····const/4·v5,·0x0 |
106 | ····:goto_2 | 105 | ····:goto_2 |
107 | ····if-ge·v | 106 | ····if-ge·v5,·v10,·:cond_3 |
108 | ····if-ge·v | 107 | ····if-ge·v4,·v3,·:cond_3 |
109 | ····.line·60 | 108 | ····.line·60 |
Max diff block lines reached; 1416/5340 bytes (26.52%) of diff not shown. |
Offset 108, 21 lines modified | Offset 108, 17 lines modified | ||
108 | ····.line·71 | 108 | ····.line·71 |
109 | ····.end·local·v0····#·"i":I | 109 | ····.end·local·v0····#·"i":I |
110 | ····.end·local·v2····#·"sum":I | 110 | ····.end·local·v2····#·"sum":I |
111 | ····:cond_2 | 111 | ····:cond_2 |
112 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 112 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
113 | ···· | 113 | ····const-string·v4,·"0" |
114 | ····const/16·v4,·0x30 | ||
115 | ····invoke- | 114 | ····invoke-direct·{v3,·v4},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
116 | ····move-result-object·v3 | ||
117 | ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 115 | ····invoke-virtual·{v3,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
118 | ····move-result-object·v3 | 116 | ····move-result-object·v3 |
119 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 117 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 137, 21 lines modified | Offset 133, 17 lines modified | ||
137 | ····if-eq·v1,·v3,·:cond_2 | 133 | ····if-eq·v1,·v3,·:cond_2 |
138 | ····.line·68 | 134 | ····.line·68 |
139 | ····new-instance·v3,·Ljava/lang/IllegalArgumentException; | 135 | ····new-instance·v3,·Ljava/lang/IllegalArgumentException; |
140 | ····new-instance·v4,·Ljava/lang/StringBuilder; | 136 | ····new-instance·v4,·Ljava/lang/StringBuilder; |
141 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V | ||
142 | ····const-string·v5,·"Requested·contents·should·be·11·or·12·digits·long,·but·got·" | 137 | ····const-string·v5,·"Requested·contents·should·be·11·or·12·digits·long,·but·got·" |
143 | ····invoke- | 138 | ····invoke-direct·{v4,·v5},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
144 | ····move-result-object·v4 | ||
145 | ····.line·69 | 139 | ····.line·69 |
146 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 140 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
147 | ····move-result·v5 | 141 | ····move-result·v5 |
148 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 142 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
Offset 236, 21 lines modified | Offset 228, 17 lines modified | ||
236 | ····if-eq·p2,·v0,·:cond_0 | 228 | ····if-eq·p2,·v0,·:cond_0 |
237 | ····.line·49 | 229 | ····.line·49 |
238 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; | 230 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; |
239 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 231 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
240 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | ||
241 | ····const-string·v2,·"Can·only·encode·UPC-A,·but·got·" | 232 | ····const-string·v2,·"Can·only·encode·UPC-A,·but·got·" |
242 | ····invoke- | 233 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
243 | ····move-result-object·v1 | ||
244 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 234 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
245 | ····move-result-object·v1 | 235 | ····move-result-object·v1 |
246 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 236 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 1, 21 lines modified | Offset 1, 21 lines modified | ||
1 | .class·public·final·Lcom/google/zxing/oned/Code39Reader; | 1 | .class·public·final·Lcom/google/zxing/oned/Code39Reader; |
2 | .super·Lcom/google/zxing/oned/OneDReader; | 2 | .super·Lcom/google/zxing/oned/OneDReader; |
3 | .source·"Code39Reader.java" | 3 | .source·"Code39Reader.java" |
4 | #·static·fields | 4 | #·static·fields |
5 | .field·private·static·final·ALPHABET:[C | ||
6 | .field·static·final·ALPHABET_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%" | 5 | .field·static·final·ALPHABET_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%" |
7 | .field· | 6 | .field·static·final·ASTERISK_ENCODING:I |
8 | .field·static·final·CHARACTER_ENCODINGS:[I | 7 | .field·static·final·CHARACTER_ENCODINGS:[I |
8 | .field·private·static·final·CHECK_DIGIT_STRING:Ljava/lang/String;·=·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·$/+%" | ||
9 | #·instance·fields | 9 | #·instance·fields |
10 | .field·private·final·counters:[I | 10 | .field·private·final·counters:[I |
11 | .field·private·final·decodeRowResult:Ljava/lang/StringBuilder; | 11 | .field·private·final·decodeRowResult:Ljava/lang/StringBuilder; |
12 | .field·private·final·extendedMode:Z | 12 | .field·private·final·extendedMode:Z |
Offset 24, 44 lines modified | Offset 24, 33 lines modified | ||
24 | #·direct·methods | 24 | #·direct·methods |
25 | .method·static·constructor·<clinit>()V | 25 | .method·static·constructor·<clinit>()V |
26 | ····.locals·2 | 26 | ····.locals·2 |
27 | ····.prologue | 27 | ····.prologue |
28 | ····.line·4 | 28 | ····.line·48 |
29 | ····const-string·v0,·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-.·*$/+%" | ||
30 | ····invoke-virtual·{v0},·Ljava/lang/String;->toCharArray()[C | ||
31 | ····move-result-object·v0 | ||
32 | ····sput-object·v0,·Lcom/google/zxing/oned/Code39Reader;->ALPHABET:[C | ||
33 | ····.line·47 | ||
34 | ····const/16·v0,·0x2c | 29 | ····const/16·v0,·0x2c |
35 | ····new-array·v0,·v0,·[I | 30 | ····new-array·v0,·v0,·[I |
36 | ····fill-array-data·v0,·:array_0 | 31 | ····fill-array-data·v0,·:array_0 |
32 | ····.line·56 | ||
37 | ····sput-object·v0,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I | 33 | ····sput-object·v0,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I |
38 | ····.line·55 | ||
39 | ····sget-object·v0,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I | ||
40 | ····const/16·v1,·0x27 | 34 | ····const/16·v1,·0x27 |
41 | ····aget·v0,·v0,·v1 | 35 | ····aget·v0,·v0,·v1 |
42 | ····sput·v0,·Lcom/google/zxing/oned/Code39Reader;->ASTERISK_ENCODING:I | 36 | ····sput·v0,·Lcom/google/zxing/oned/Code39Reader;->ASTERISK_ENCODING:I |
43 | ····return-void | 37 | ····return-void |
44 | ····.line·4 | 38 | ····.line·48 |
45 | ····:array_0 | 39 | ····:array_0 |
46 | ····.array-data·4 | 40 | ····.array-data·4 |
47 | ········0x34 | 41 | ········0x34 |
48 | ········0x121 | 42 | ········0x121 |
49 | ········0x61 | 43 | ········0x61 |
50 | ········0x160 | 44 | ········0x160 |
51 | ········0x31 | 45 | ········0x31 |
Offset 107, 69 lines modified | Offset 96, 69 lines modified | ||
107 | ····.end·array-data | 96 | ····.end·array-data |
108 | .end·method | 97 | .end·method |
109 | .method·public·constructor·<init>()V | 98 | .method·public·constructor·<init>()V |
110 | ····.locals·1 | 99 | ····.locals·1 |
111 | ····.prologue | 100 | ····.prologue |
112 | ····.line·6 | 101 | ····.line·68 |
113 | ····const/4·v0,·0x0 | 102 | ····const/4·v0,·0x0 |
114 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(Z)V | 103 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(Z)V |
115 | ····.line·6 | 104 | ····.line·69 |
116 | ····return-void | 105 | ····return-void |
117 | .end·method | 106 | .end·method |
118 | .method·public·constructor·<init>(Z)V | 107 | .method·public·constructor·<init>(Z)V |
119 | ····.locals·1 | 108 | ····.locals·1 |
120 | ····.param·p1,·"usingCheckDigit"····#·Z | 109 | ····.param·p1,·"usingCheckDigit"····#·Z |
121 | ····.prologue | 110 | ····.prologue |
122 | ····.line·7 | 111 | ····.line·79 |
123 | ····const/4·v0,·0x0 | 112 | ····const/4·v0,·0x0 |
124 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(ZZ)V | 113 | ····invoke-direct·{p0,·p1,·v0},·Lcom/google/zxing/oned/Code39Reader;-><init>(ZZ)V |
125 | ····.line· | 114 | ····.line·80 |
126 | ····return-void | 115 | ····return-void |
127 | .end·method | 116 | .end·method |
128 | .method·public·constructor·<init>(ZZ)V | 117 | .method·public·constructor·<init>(ZZ)V |
129 | ····.locals·2 | 118 | ····.locals·2 |
130 | ····.param·p1,·"usingCheckDigit"····#·Z | 119 | ····.param·p1,·"usingCheckDigit"····#·Z |
131 | ····.param·p2,·"extendedMode"····#·Z | 120 | ····.param·p2,·"extendedMode"····#·Z |
132 | ····.prologue | 121 | ····.prologue |
133 | ····.line·9 | 122 | ····.line·92 |
134 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V | 123 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V |
135 | ····.line·9 | 124 | ····.line·93 |
136 | ····iput-boolean·p1,·p0,·Lcom/google/zxing/oned/Code39Reader;->usingCheckDigit:Z | 125 | ····iput-boolean·p1,·p0,·Lcom/google/zxing/oned/Code39Reader;->usingCheckDigit:Z |
137 | ····.line·9 | 126 | ····.line·94 |
138 | ····iput-boolean·p2,·p0,·Lcom/google/zxing/oned/Code39Reader;->extendedMode:Z | 127 | ····iput-boolean·p2,·p0,·Lcom/google/zxing/oned/Code39Reader;->extendedMode:Z |
139 | ····.line·9 | 128 | ····.line·95 |
140 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 129 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
141 | ····const/16·v1,·0x14 | 130 | ····const/16·v1,·0x14 |
142 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V | 131 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(I)V |
143 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/Code39Reader;->decodeRowResult:Ljava/lang/StringBuilder; | 132 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/Code39Reader;->decodeRowResult:Ljava/lang/StringBuilder; |
144 | ····.line·9 | 133 | ····.line·96 |
145 | ····const/16·v0,·0x9 | 134 | ····const/16·v0,·0x9 |
Max diff block lines reached; 21351/24493 bytes (87.17%) of diff not shown. |
Offset 130, 45 lines modified | Offset 130, 42 lines modified | ||
130 | .method·static·arrayContains([CC)Z | 130 | .method·static·arrayContains([CC)Z |
131 | ····.locals·4 | 131 | ····.locals·4 |
132 | ····.param·p0,·"array"····#·[C | 132 | ····.param·p0,·"array"····#·[C |
133 | ····.param·p1,·"key"····#·C | 133 | ····.param·p1,·"key"····#·C |
134 | ····.prologue | 134 | ····.prologue |
135 | ····const/4·v | 135 | ····const/4·v0,·0x0 |
136 | ····.line·282 | 136 | ····.line·282 |
137 | ····if-eqz·p0,·:cond_0 | 137 | ····if-eqz·p0,·:cond_0 |
138 | ····.line·283 | 138 | ····.line·283 |
139 | ····array-length·v | 139 | ····array-length·v2,·p0 |
140 | ····move·v | 140 | ····move·v1,·v0 |
141 | ····:goto_0 | 141 | ····:goto_0 |
142 | ····if-ge·v | 142 | ····if-ge·v1,·v2,·:cond_0 |
143 | ····aget-char·v | 143 | ····aget-char·v3,·p0,·v1 |
144 | ····.line·284 | 144 | ····.line·284 |
145 | ····.local·v0,·"c":C | ||
146 | ····if-ne·v | 145 | ····if-ne·v3,·p1,·:cond_1 |
147 | ····.line·285 | 146 | ····.line·285 |
148 | ····const/4·v | 147 | ····const/4·v0,·0x1 |
149 | ····.line·289 | 148 | ····.line·289 |
150 | ····.end·local·v0····#·"c":C | ||
151 | ····:cond_0 | 149 | ····:cond_0 |
152 | ····return·v | 150 | ····return·v0 |
153 | ····.line·283 | 151 | ····.line·283 |
154 | ····.restart·local·v0····#·"c":C | ||
155 | ····:cond_1 | 152 | ····:cond_1 |
156 | ····add-int/lit8·v | 153 | ····add-int/lit8·v1,·v1,·0x1 |
157 | ····goto·:goto_0 | 154 | ····goto·:goto_0 |
158 | .end·method | 155 | .end·method |
159 | .method·private·counterAppend(I)V | 156 | .method·private·counterAppend(I)V |
160 | ····.locals·4 | 157 | ····.locals·4 |
161 | ····.param·p1,·"e"····#·I | 158 | ····.param·p1,·"e"····#·I |
Offset 198, 15 lines modified | Offset 195, 15 lines modified | ||
198 | ····array-length·v2,·v2 | 195 | ····array-length·v2,·v2 |
199 | ····if-lt·v1,·v2,·:cond_0 | 196 | ····if-lt·v1,·v2,·:cond_0 |
200 | ····.line·257 | 197 | ····.line·257 |
201 | ····iget·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counterLength:I | 198 | ····iget·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counterLength:I |
202 | ···· | 199 | ····shl-int/lit8·v1,·v1,·0x1 |
203 | ····new-array·v0,·v1,·[I | 200 | ····new-array·v0,·v1,·[I |
204 | ····.line·258 | 201 | ····.line·258 |
205 | ····.local·v0,·"temp":[I | 202 | ····.local·v0,·"temp":[I |
206 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counters:[I | 203 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/CodaBarReader;->counters:[I |
Offset 619, 14 lines modified | Offset 616, 343 lines modified | ||
619 | ····.line·342 | 616 | ····.line·342 |
620 | ····:cond_b | 617 | ····:cond_b |
621 | ····const/4·v3,·-0x1 | 618 | ····const/4·v3,·-0x1 |
622 | ····goto·:goto_0 | 619 | ····goto·:goto_0 |
623 | .end·method | 620 | .end·method |
621 | .method·private·validatePattern(I)V | ||
622 | ····.locals·15 | ||
623 | ····.param·p1,·"start"····#·I | ||
624 | ····.annotation·system·Ldalvik/annotation/Throws; | ||
625 | ········value·=·{ | ||
626 | ············Lcom/google/zxing/NotFoundException; | ||
627 | ········} | ||
628 | ····.end·annotation | ||
629 | ····.prologue | ||
630 | ····.line·166 | ||
631 | ····const/4·v11,·0x4 | ||
632 | ····new-array·v10,·v11,·[I | ||
633 | ····fill-array-data·v10,·:array_0 | ||
634 | ····.line·167 | ||
635 | ····.local·v10,·"sizes":[I | ||
636 | ····const/4·v11,·0x4 | ||
637 | ····new-array·v1,·v11,·[I | ||
638 | ····fill-array-data·v1,·:array_1 | ||
639 | ····.line·168 | ||
640 | ····.local·v1,·"counts":[I | ||
641 | ····iget-object·v11,·p0,·Lcom/google/zxing/oned/CodaBarReader;->decodeRowResult:Ljava/lang/StringBuilder; | ||
642 | ····invoke-virtual·{v11},·Ljava/lang/StringBuilder;->length()I | ||
643 | ····move-result·v11 | ||
644 | ····add-int/lit8·v2,·v11,·-0x1 | ||
645 | ····.line·172 | ||
646 | ····.local·v2,·"end":I | ||
647 | ····move/from16·v8,·p1 | ||
648 | ····.line·173 | ||
649 | ····.local·v8,·"pos":I | ||
650 | ····const/4·v3,·0x0 | ||
651 | ····.line·174 | ||
652 | ····.local·v3,·"i":I | ||
653 | ····:goto_0 | ||
654 | ····sget-object·v11,·Lcom/google/zxing/oned/CodaBarReader;->CHARACTER_ENCODINGS:[I | ||
655 | ····iget-object·v12,·p0,·Lcom/google/zxing/oned/CodaBarReader;->decodeRowResult:Ljava/lang/StringBuilder; | ||
656 | ····invoke-virtual·{v12,·v3},·Ljava/lang/StringBuilder;->charAt(I)C | ||
657 | ····move-result·v12 | ||
658 | ····aget·v7,·v11,·v12 | ||
659 | ····.line·175 | ||
660 | ····.local·v7,·"pattern":I | ||
Max diff block lines reached; 13902/21005 bytes (66.18%) of diff not shown. |
Offset 100, 21 lines modified | Offset 100, 17 lines modified | ||
100 | ····if-eq·p2,·v0,·:cond_0 | 100 | ····if-eq·p2,·v0,·:cond_0 |
101 | ····.line·43 | 101 | ····.line·43 |
102 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; | 102 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; |
103 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 103 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
104 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | ||
105 | ····const-string·v2,·"Can·only·encode·ITF,·but·got·" | 104 | ····const-string·v2,·"Can·only·encode·ITF,·but·got·" |
106 | ····invoke- | 105 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
107 | ····move-result-object·v1 | ||
108 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 106 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
109 | ····move-result-object·v1 | 107 | ····move-result-object·v1 |
110 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 108 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 152, 15 lines modified | Offset 148, 15 lines modified | ||
152 | ····rem-int/lit8·v8,·v3,·0x2 | 148 | ····rem-int/lit8·v8,·v3,·0x2 |
153 | ····if-eqz·v8,·:cond_0 | 149 | ····if-eqz·v8,·:cond_0 |
154 | ····.line·53 | 150 | ····.line·53 |
155 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; | 151 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; |
156 | ····const-string·v9,·"The·leng | 152 | ····const-string·v9,·"The·length·of·the·input·should·be·even" |
157 | ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 153 | ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
158 | ····throw·v8 | 154 | ····throw·v8 |
159 | ····.line·55 | 155 | ····.line·55 |
160 | ····:cond_0 | 156 | ····:cond_0 |
Offset 169, 21 lines modified | Offset 165, 17 lines modified | ||
169 | ····if-le·v3,·v8,·:cond_1 | 165 | ····if-le·v3,·v8,·:cond_1 |
170 | ····.line·56 | 166 | ····.line·56 |
171 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; | 167 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; |
172 | ····new-instance·v9,·Ljava/lang/StringBuilder; | 168 | ····new-instance·v9,·Ljava/lang/StringBuilder; |
173 | ····invoke-direct·{v9},·Ljava/lang/StringBuilder;-><init>()V | ||
174 | ····const-string·v10,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·" | 169 | ····const-string·v10,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·" |
175 | ····invoke- | 170 | ····invoke-direct·{v9,·v10},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
176 | ····move-result-object·v9 | ||
177 | ····invoke-virtual·{v9,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 171 | ····invoke-virtual·{v9,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
178 | ····move-result-object·v9 | 172 | ····move-result-object·v9 |
179 | ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 173 | ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 2069, 233 lines modified | Offset 2069, 229 lines modified | ||
2069 | ····move-result-object·v5 | 2069 | ····move-result-object·v5 |
2070 | ····throw·v5 | 2070 | ····throw·v5 |
2071 | .end·method | 2071 | .end·method |
2072 | .method·private·static·findStartPattern(Lcom/google/zxing/common/BitArray;)[I | 2072 | .method·private·static·findStartPattern(Lcom/google/zxing/common/BitArray;)[I |
2073 | ····.locals·1 | 2073 | ····.locals·14 |
2074 | ····.param·p0,·"row"····#·Lcom/google/zxing/common/BitArray; | 2074 | ····.param·p0,·"row"····#·Lcom/google/zxing/common/BitArray; |
2075 | ····.annotation·system·Ldalvik/annotation/Throws; | 2075 | ····.annotation·system·Ldalvik/annotation/Throws; |
2076 | ········value·=·{ | 2076 | ········value·=·{ |
2077 | ············Lcom/google/zxing/NotFoundException; | 2077 | ············Lcom/google/zxing/NotFoundException; |
2078 | ········} | 2078 | ········} |
2079 | ····.end·annotation | 2079 | ····.end·annotation |
2080 | ····.prologue | 2080 | ····.prologue |
2081 | ····.line·170 | 2081 | ····.line·170 |
2082 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I | 2082 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I |
2083 | ····move-result·v1 | 2083 | ····move-result·v10 |
2084 | ····.line·171 | 2084 | ····.line·171 |
2085 | ····.local·v1 | 2085 | ····.local·v10,·"width":I |
2086 | ····const/4·v1 | 2086 | ····const/4·v11,·0x0 |
2087 | ····invoke-virtual·{p0,·v1 | 2087 | ····invoke-virtual·{p0,·v11},·Lcom/google/zxing/common/BitArray;->getNextSet(I)I |
2088 | ····move-result·v | 2088 | ····move-result·v7 |
2089 | ····.line·173 | 2089 | ····.line·173 |
2090 | ····.local·v | 2090 | ····.local·v7,·"rowOffset":I |
2091 | ····const/4·v2,·0x0 | 2091 | ····const/4·v2,·0x0 |
2092 | ····.line·174 | 2092 | ····.line·174 |
2093 | ····.local·v2,·"counterPosition":I | 2093 | ····.local·v2,·"counterPosition":I |
2094 | ····const/4·v1 | 2094 | ····const/4·v11,·0x6 |
2095 | ····new-array·v3,·v1 | 2095 | ····new-array·v3,·v11,·[I |
2096 | ····.line·175 | 2096 | ····.line·175 |
2097 | ····.local·v3,·"counters":[I | 2097 | ····.local·v3,·"counters":[I |
2098 | ····move·v | 2098 | ····move·v6,·v7 |
2099 | ····.line·176 | 2099 | ····.line·176 |
2100 | ····.local·v | 2100 | ····.local·v6,·"patternStart":I |
2101 | ····const/4·v5,·0x0 | 2101 | ····const/4·v5,·0x0 |
2102 | ····.line·177 | ||
2103 | ····.local·v5,·"isWhite":Z | ||
2104 | ····array-length·v6,·v3 | ||
2105 | ····.line·179 | 2102 | ····.line·179 |
2106 | ····.local·v | 2103 | ····.local·v5,·"isWhite":Z |
2107 | ····move·v4,·v | 2104 | ····move·v4,·v7 |
2108 | ····.local·v4,·"i":I | 2105 | ····.local·v4,·"i":I |
2109 | ····:goto_0 | 2106 | ····:goto_0 |
2110 | ····if-ge·v4,·v1 | 2107 | ····if-ge·v4,·v10,·:cond_6 |
2111 | ····.line·180 | 2108 | ····.line·180 |
2112 | ····invoke-virtual·{p0,·v4},·Lcom/google/zxing/common/BitArray;->get(I)Z | 2109 | ····invoke-virtual·{p0,·v4},·Lcom/google/zxing/common/BitArray;->get(I)Z |
2113 | ····move-result·v1 | 2110 | ····move-result·v11 |
2114 | ····xor-int/2addr·v1 | 2111 | ····xor-int/2addr·v11,·v5 |
2115 | ····if-eqz·v1 | 2112 | ····if-eqz·v11,·:cond_0 |
2116 | ····.line·181 | 2113 | ····.line·181 |
2117 | ····aget·v1 | 2114 | ····aget·v11,·v3,·v2 |
2118 | ····add-int/lit8·v1 | 2115 | ····add-int/lit8·v11,·v11,·0x1 |
2119 | ····aput·v1 | 2116 | ····aput·v11,·v3,·v2 |
2120 | ····.line·179 | 2117 | ····.line·179 |
2121 | ····:goto_1 | 2118 | ····:goto_1 |
2122 | ····add-int/lit8·v4,·v4,·0x1 | 2119 | ····add-int/lit8·v4,·v4,·0x1 |
2123 | ····goto·:goto_0 | 2120 | ····goto·:goto_0 |
2124 | ····.line·183 | 2121 | ····.line·183 |
2125 | ····:cond_0 | 2122 | ····:cond_0 |
2126 | ···· | 2123 | ····const/4·v11,·0x5 |
2127 | ····if-ne·v2,·v1 | 2124 | ····if-ne·v2,·v11,·:cond_4 |
2128 | ····.line·184 | 2125 | ····.line·184 |
2129 | ····const/high16·v1,·0x3e800000····#·0.25f | 2126 | ····const/high16·v1,·0x3e800000····#·0.25f |
2130 | ····.line·185 | 2127 | ····.line·185 |
2131 | ····.local·v1,·"bestVariance":F | 2128 | ····.local·v1,·"bestVariance":F |
2132 | ····const/4·v0,·-0x1 | 2129 | ····const/4·v0,·-0x1 |
2133 | ····.line·186 | 2130 | ····.line·186 |
2134 | ····.local·v0,·"bestMatch":I | 2131 | ····.local·v0,·"bestMatch":I |
2135 | ····const/16·v | 2132 | ····const/16·v8,·0x67 |
2136 | ····.local·v | 2133 | ····.local·v8,·"startCode":I |
2137 | ····:goto_2 | 2134 | ····:goto_2 |
2138 | ····const/16·v1 | 2135 | ····const/16·v11,·0x69 |
2139 | ····if-gt·v | 2136 | ····if-gt·v8,·v11,·:cond_2 |
2140 | ····.line·187 | 2137 | ····.line·187 |
2141 | ····sget-object·v1 | 2138 | ····sget-object·v11,·Lcom/google/zxing/oned/Code128Reader;->CODE_PATTERNS:[[I |
2142 | ····aget-object·v1 | 2139 | ····aget-object·v11,·v11,·v8 |
2143 | ····const·v1 | 2140 | ····const·v12,·0x3f333333····#·0.7f |
2144 | ····invoke-static·{v3,·v1 | 2141 | ····invoke-static·{v3,·v11,·v12},·Lcom/google/zxing/oned/Code128Reader;->patternMatchVariance([I[IF)F |
2145 | ····move-result·v | 2142 | ····move-result·v9 |
2146 | ····.line·189 | 2143 | ····.line·189 |
2147 | ····.local·v | 2144 | ····.local·v9,·"variance":F |
2148 | ····cmpg-float·v1 | 2145 | ····cmpg-float·v11,·v9,·v1 |
2149 | ····if-gez·v1 | 2146 | ····if-gez·v11,·:cond_1 |
2150 | ····.line·190 | 2147 | ····.line·190 |
2151 | ····move·v1,·v | 2148 | ····move·v1,·v9 |
2152 | ····.line·191 | 2149 | ····.line·191 |
2153 | ····move·v0,·v | 2150 | ····move·v0,·v8 |
Max diff block lines reached; 4551/8060 bytes (56.46%) of diff not shown. |
Offset 1, 13 lines modified | Offset 1, 15 lines modified | ||
1 | .class·public·abstract·Lcom/google/zxing/oned/UPCEANReader; | 1 | .class·public·abstract·Lcom/google/zxing/oned/UPCEANReader; |
2 | .super·Lcom/google/zxing/oned/OneDReader; | 2 | .super·Lcom/google/zxing/oned/OneDReader; |
3 | .source·"UPCEANReader.java" | 3 | .source·"UPCEANReader.java" |
4 | #·static·fields | 4 | #·static·fields |
5 | .field·static·final·END_PATTERN:[I | ||
5 | .field·static·final·L_AND_G_PATTERNS:[[I | 6 | .field·static·final·L_AND_G_PATTERNS:[[I |
6 | .field·static·final·L_PATTERNS:[[I | 7 | .field·static·final·L_PATTERNS:[[I |
7 | .field·private·static·final·MAX_AVG_VARIANCE:F·=·0.48f | 8 | .field·private·static·final·MAX_AVG_VARIANCE:F·=·0.48f |
8 | .field·private·static·final·MAX_INDIVIDUAL_VARIANCE:F·=·0.7f | 9 | .field·private·static·final·MAX_INDIVIDUAL_VARIANCE:F·=·0.7f |
Offset 26, 15 lines modified | Offset 28, 15 lines modified | ||
26 | #·direct·methods | 28 | #·direct·methods |
27 | .method·static·constructor·<clinit>()V | 29 | .method·static·constructor·<clinit>()V |
28 | ····.locals·12 | 30 | ····.locals·12 |
29 | ····.prologue | 31 | ····.prologue |
30 | ····const/ | 32 | ····const/4·v11,·0x6 |
31 | ····const/4·v10,·0x5 | 33 | ····const/4·v10,·0x5 |
32 | ····const/4·v9,·0x3 | 34 | ····const/4·v9,·0x3 |
33 | ····const/4·v8,·0x0 | 35 | ····const/4·v8,·0x0 |
Offset 50, 174 lines modified | Offset 52, 181 lines modified | ||
50 | ····.line·58 | 52 | ····.line·58 |
51 | ····new-array·v4,·v10,·[I | 53 | ····new-array·v4,·v10,·[I |
52 | ····fill-array-data·v4,·:array_1 | 54 | ····fill-array-data·v4,·:array_1 |
53 | ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I | 55 | ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->MIDDLE_PATTERN:[I |
54 | ····.line·6 | 56 | ····.line·62 |
55 | ····new-array·v4,·v11,·[ | 57 | ····new-array·v4,·v11,·[I |
58 | ····fill-array-data·v4,·:array_2 | ||
59 | ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->END_PATTERN:[I | ||
60 | ····.line·66 | ||
61 | ····const/16·v4,·0xa | ||
62 | ····new-array·v4,·v4,·[[I | ||
56 | ····new-array·v5,·v7,·[I | 63 | ····new-array·v5,·v7,·[I |
57 | ····fill-array-data·v5,·:array_ | 64 | ····fill-array-data·v5,·:array_3 |
58 | ····aput-object·v5,·v4,·v8 | 65 | ····aput-object·v5,·v4,·v8 |
59 | ····const/4·v5,·0x1 | 66 | ····const/4·v5,·0x1 |
60 | ····new-array·v6,·v7,·[I | 67 | ····new-array·v6,·v7,·[I |
61 | ····fill-array-data·v6,·:array_ | 68 | ····fill-array-data·v6,·:array_4 |
62 | ····aput-object·v6,·v4,·v5 | 69 | ····aput-object·v6,·v4,·v5 |
63 | ····const/4·v5,·0x2 | 70 | ····const/4·v5,·0x2 |
64 | ····new-array·v6,·v7,·[I | 71 | ····new-array·v6,·v7,·[I |
65 | ····fill-array-data·v6,·:array_ | 72 | ····fill-array-data·v6,·:array_5 |
66 | ····aput-object·v6,·v4,·v5 | 73 | ····aput-object·v6,·v4,·v5 |
67 | ····new-array·v5,·v7,·[I | 74 | ····new-array·v5,·v7,·[I |
68 | ····fill-array-data·v5,·:array_ | 75 | ····fill-array-data·v5,·:array_6 |
69 | ····aput-object·v5,·v4,·v9 | 76 | ····aput-object·v5,·v4,·v9 |
70 | ····new-array·v5,·v7,·[I | 77 | ····new-array·v5,·v7,·[I |
71 | ····fill-array-data·v5,·:array_ | 78 | ····fill-array-data·v5,·:array_7 |
72 | ····aput-object·v5,·v4,·v7 | 79 | ····aput-object·v5,·v4,·v7 |
73 | ····new-array·v5,·v7,·[I | 80 | ····new-array·v5,·v7,·[I |
74 | ····fill-array-data·v5,·:array_ | 81 | ····fill-array-data·v5,·:array_8 |
75 | ····aput-object·v5,·v4,·v10 | 82 | ····aput-object·v5,·v4,·v10 |
76 | ····const/4·v5,·0x6 | ||
77 | ····new-array·v | 83 | ····new-array·v5,·v7,·[I |
78 | ····fill-array-data·v | 84 | ····fill-array-data·v5,·:array_9 |
79 | ····aput-object·v | 85 | ····aput-object·v5,·v4,·v11 |
80 | ····const/4·v5,·0x7 | 86 | ····const/4·v5,·0x7 |
81 | ····new-array·v6,·v7,·[I | 87 | ····new-array·v6,·v7,·[I |
82 | ····fill-array-data·v6,·:array_ | 88 | ····fill-array-data·v6,·:array_a |
83 | ····aput-object·v6,·v4,·v5 | 89 | ····aput-object·v6,·v4,·v5 |
84 | ····const/16·v5,·0x8 | 90 | ····const/16·v5,·0x8 |
85 | ····new-array·v6,·v7,·[I | 91 | ····new-array·v6,·v7,·[I |
86 | ····fill-array-data·v6,·:array_ | 92 | ····fill-array-data·v6,·:array_b |
87 | ····aput-object·v6,·v4,·v5 | 93 | ····aput-object·v6,·v4,·v5 |
88 | ····const/16·v5,·0x9 | 94 | ····const/16·v5,·0x9 |
89 | ····new-array·v6,·v7,·[I | 95 | ····new-array·v6,·v7,·[I |
90 | ····fill-array-data·v6,·:array_ | 96 | ····fill-array-data·v6,·:array_c |
91 | ····aput-object·v6,·v4,·v5 | 97 | ····aput-object·v6,·v4,·v5 |
92 | ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I | 98 | ····sput-object·v4,·Lcom/google/zxing/oned/UPCEANReader;->L_PATTERNS:[[I |
93 | ····.line·8 | 99 | ····.line·85 |
94 | ····const/16·v4,·0x14 | 100 | ····const/16·v4,·0x14 |
Max diff block lines reached; 28767/31460 bytes (91.44%) of diff not shown. |
Offset 100, 21 lines modified | Offset 100, 17 lines modified | ||
100 | ····if-eq·p2,·v0,·:cond_0 | 100 | ····if-eq·p2,·v0,·:cond_0 |
101 | ····.line·40 | 101 | ····.line·40 |
102 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; | 102 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; |
103 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 103 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
104 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | ||
105 | ····const-string·v2,·"Can·only·encode·CODE_39,·but·got·" | 104 | ····const-string·v2,·"Can·only·encode·CODE_39,·but·got·" |
106 | ····invoke- | 105 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
107 | ····move-result-object·v1 | ||
108 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 106 | ····invoke-virtual·{v1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
109 | ····move-result-object·v1 | 107 | ····move-result-object·v1 |
110 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 108 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 134, 15 lines modified | Offset 130, 15 lines modified | ||
134 | .end·method | 130 | .end·method |
135 | .method·public·encode(Ljava/lang/String;)[Z | 131 | .method·public·encode(Ljava/lang/String;)[Z |
136 | ····.locals·14 | 132 | ····.locals·14 |
137 | ····.param·p1,·"contents"····#·Ljava/lang/String; | 133 | ····.param·p1,·"contents"····#·Ljava/lang/String; |
138 | ····.prologue | 134 | ····.prologue |
139 | ····const/16·v13,·0x | 135 | ····const/16·v13,·0x9 |
140 | ····const/4·v12,·0x1 | 136 | ····const/4·v12,·0x1 |
141 | ····const/4·v10,·0x0 | 137 | ····const/4·v10,·0x0 |
142 | ····.line·47 | 138 | ····.line·47 |
143 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 139 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
Offset 156, 21 lines modified | Offset 152, 17 lines modified | ||
156 | ····if-le·v3,·v9,·:cond_0 | 152 | ····if-le·v3,·v9,·:cond_0 |
157 | ····.line·49 | 153 | ····.line·49 |
158 | ····new-instance·v9,·Ljava/lang/IllegalArgumentException; | 154 | ····new-instance·v9,·Ljava/lang/IllegalArgumentException; |
159 | ····new-instance·v10,·Ljava/lang/StringBuilder; | 155 | ····new-instance·v10,·Ljava/lang/StringBuilder; |
160 | ····invoke-direct·{v10},·Ljava/lang/StringBuilder;-><init>()V | ||
161 | ····const-string·v11,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·" | 156 | ····const-string·v11,·"Requested·contents·should·be·less·than·80·digits·long,·but·got·" |
162 | ····invoke- | 157 | ····invoke-direct·{v10,·v11},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
163 | ····move-result-object·v10 | ||
164 | ····invoke-virtual·{v10,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 158 | ····invoke-virtual·{v10,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
165 | ····move-result-object·v10 | 159 | ····move-result-object·v10 |
166 | ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 160 | ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 178, 17 lines modified | Offset 170, 15 lines modified | ||
178 | ····invoke-direct·{v9,·v10},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 170 | ····invoke-direct·{v9,·v10},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
179 | ····throw·v9 | 171 | ····throw·v9 |
180 | ····.line·53 | 172 | ····.line·53 |
181 | ····:cond_0 | 173 | ····:cond_0 |
182 | ····const/16·v9,·0x9 | ||
183 | ····new-array·v8,·v | 174 | ····new-array·v8,·v13,·[I |
184 | ····.line·54 | 175 | ····.line·54 |
185 | ····.local·v8,·"widths":[I | 176 | ····.local·v8,·"widths":[I |
186 | ····add-int/lit8·v0,·v3,·0x19 | 177 | ····add-int/lit8·v0,·v3,·0x19 |
187 | ····.line·55 | 178 | ····.line·55 |
188 | ····.local·v0,·"codeWidth":I | 179 | ····.local·v0,·"codeWidth":I |
Offset 214, 21 lines modified | Offset 204, 17 lines modified | ||
214 | ····if-gez·v2,·:cond_1 | 204 | ····if-gez·v2,·:cond_1 |
215 | ····.line·58 | 205 | ····.line·58 |
216 | ····new-instance·v9,·Ljava/lang/IllegalArgumentException; | 206 | ····new-instance·v9,·Ljava/lang/IllegalArgumentException; |
217 | ····new-instance·v10,·Ljava/lang/StringBuilder; | 207 | ····new-instance·v10,·Ljava/lang/StringBuilder; |
218 | ····invoke-direct·{v10},·Ljava/lang/StringBuilder;-><init>()V | ||
219 | ····const-string·v11,·"Bad·contents:·" | 208 | ····const-string·v11,·"Bad·contents:·" |
220 | ····invoke- | 209 | ····invoke-direct·{v10,·v11},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
221 | ····move-result-object·v10 | ||
222 | ····invoke-virtual·{v10,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 210 | ····invoke-virtual·{v10,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
223 | ····move-result-object·v10 | 211 | ····move-result-object·v10 |
224 | ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 212 | ····invoke-virtual·{v10},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 242, 21 lines modified | Offset 228, 19 lines modified | ||
242 | ····:cond_1 | 228 | ····:cond_1 |
243 | ····sget-object·v9,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I | 229 | ····sget-object·v9,·Lcom/google/zxing/oned/Code39Reader;->CHARACTER_ENCODINGS:[I |
244 | ····aget·v9,·v9,·v2 | 230 | ····aget·v9,·v9,·v2 |
245 | ····invoke-static·{v9,·v8},·Lcom/google/zxing/oned/Code39Writer;->toIntArray(I[I)V | 231 | ····invoke-static·{v9,·v8},·Lcom/google/zxing/oned/Code39Writer;->toIntArray(I[I)V |
246 | ····.line·61 | ||
247 | ····array-length·v11,·v8 | ||
248 | ····move·v9,·v10 | 232 | ····move·v9,·v10 |
233 | ····.line·61 | ||
249 | ····:goto_1 | 234 | ····:goto_1 |
250 | ····if-ge·v9,·v1 | 235 | ····if-ge·v9,·v13,·:cond_2 |
251 | ····aget·v7,·v8,·v9 | 236 | ····aget·v7,·v8,·v9 |
252 | ····.line·62 | 237 | ····.line·62 |
253 | ····.local·v7,·"width":I | 238 | ····.local·v7,·"width":I |
254 | ····add-int/2addr·v0,·v7 | 239 | ····add-int/2addr·v0,·v7 |
Offset 275, 17 lines modified | Offset 259, 15 lines modified | ||
275 | ····.line·65 | 259 | ····.line·65 |
276 | ····.end·local·v2····#·"indexInString":I | 260 | ····.end·local·v2····#·"indexInString":I |
277 | ····:cond_3 | 261 | ····:cond_3 |
278 | ····new-array·v6,·v0,·[Z | 262 | ····new-array·v6,·v0,·[Z |
Max diff block lines reached; 982/4520 bytes (21.73%) of diff not shown. |
Offset 62, 56 lines modified | Offset 62, 53 lines modified | ||
62 | ····return-void | 62 | ····return-void |
63 | .end·method | 63 | .end·method |
64 | #·virtual·methods | 64 | #·virtual·methods |
65 | .method·decodeRow(ILcom/google/zxing/common/BitArray;I)Lcom/google/zxing/Result; | 65 | .method·decodeRow(ILcom/google/zxing/common/BitArray;I)Lcom/google/zxing/Result; |
66 | ····.locals· | 66 | ····.locals·3 |
67 | ····.param·p1,·"rowNumber"····#·I | 67 | ····.param·p1,·"rowNumber"····#·I |
68 | ····.param·p2,·"row"····#·Lcom/google/zxing/common/BitArray; | 68 | ····.param·p2,·"row"····#·Lcom/google/zxing/common/BitArray; |
69 | ····.param·p3,·"rowOffset"····#·I | 69 | ····.param·p3,·"rowOffset"····#·I |
70 | ····.annotation·system·Ldalvik/annotation/Throws; | 70 | ····.annotation·system·Ldalvik/annotation/Throws; |
71 | ········value·=·{ | 71 | ········value·=·{ |
72 | ············Lcom/google/zxing/NotFoundException; | 72 | ············Lcom/google/zxing/NotFoundException; |
73 | ········} | 73 | ········} |
74 | ····.end·annotation | 74 | ····.end·annotation |
75 | ····.prologue | 75 | ····.prologue |
76 | ····.line·32 | 76 | ····.line·32 |
77 | ····const/4·v | 77 | ····const/4·v1,·0x0 |
78 | ····sget-object·v | 78 | ····sget-object·v2,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->EXTENSION_START_PATTERN:[I |
79 | ····invoke-static·{p2,·p3,·v | 79 | ····invoke-static·{p2,·p3,·v1,·v2},·Lcom/google/zxing/oned/UPCEANReader;->findGuardPattern(Lcom/google/zxing/common/BitArray;IZ[I)[I |
80 | ····move-result-object·v0 | 80 | ····move-result-object·v0 |
81 | ····.line·34 | 81 | ····.line·34 |
82 | ····.local·v0,·"extensionStartRange":[I | 82 | ····.local·v0,·"extensionStartRange":[I |
83 | ····:try_start_0 | 83 | ····:try_start_0 |
84 | ····iget-object·v | 84 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->fiveSupport:Lcom/google/zxing/oned/UPCEANExtension5Support; |
85 | ····invoke-virtual·{v | 85 | ····invoke-virtual·{v1,·p1,·p2,·v0},·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeRow(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result; |
86 | ····:try_end_0 | 86 | ····:try_end_0 |
87 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 | 87 | ····.catch·Lcom/google/zxing/ReaderException;·{:try_start_0·..·:try_end_0}·:catch_0 |
88 | ····move-result-object·v | 88 | ····move-result-object·v1 |
89 | ····.line·36 | 89 | ····.line·36 |
90 | ····:goto_0 | 90 | ····:goto_0 |
91 | ····return-object·v | 91 | ····return-object·v1 |
92 | ····.line·35 | ||
93 | ····:catch_0 | 92 | ····:catch_0 |
94 | ····move-exception·v1 | 93 | ····move-exception·v1 |
95 | ····.line·36 | ||
96 | ····.local·v1,·"ignored":Lcom/google/zxing/ReaderException; | ||
97 | ····iget-object·v | 94 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/UPCEANExtensionSupport;->twoSupport:Lcom/google/zxing/oned/UPCEANExtension2Support; |
98 | ····invoke-virtual·{v | 95 | ····invoke-virtual·{v1,·p1,·p2,·v0},·Lcom/google/zxing/oned/UPCEANExtension2Support;->decodeRow(ILcom/google/zxing/common/BitArray;[I)Lcom/google/zxing/Result; |
99 | ····move-result-object·v | 96 | ····move-result-object·v1 |
100 | ····goto·:goto_0 | 97 | ····goto·:goto_0 |
101 | .end·method | 98 | .end·method |
Offset 64, 14 lines modified | Offset 64, 207 lines modified | ||
64 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 64 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
65 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder; | 65 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeRowStringBuffer:Ljava/lang/StringBuilder; |
66 | ····return-void | 66 | ····return-void |
67 | .end·method | 67 | .end·method |
68 | .method·private·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I | ||
69 | ····.locals·10 | ||
70 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; | ||
71 | ····.param·p2,·"startRange"····#·[I | ||
72 | ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder; | ||
73 | ····.annotation·system·Ldalvik/annotation/Throws; | ||
74 | ········value·=·{ | ||
75 | ············Lcom/google/zxing/NotFoundException; | ||
76 | ········} | ||
77 | ····.end·annotation | ||
78 | ····.prologue | ||
79 | ····.line·65 | ||
80 | ····iget-object·v3,·p0,·Lcom/google/zxing/oned/UPCEANExtension5Support;->decodeMiddleCounters:[I | ||
81 | ····.line·66 | ||
82 | ····.local·v3,·"counters":[I | ||
83 | ····const/4·v8,·0x0 | ||
84 | ····const/4·v9,·0x0 | ||
85 | ····aput·v9,·v3,·v8 | ||
86 | ····.line·67 | ||
87 | ····const/4·v8,·0x1 | ||
88 | ····const/4·v9,·0x0 | ||
89 | ····aput·v9,·v3,·v8 | ||
90 | ····.line·68 | ||
91 | ····const/4·v8,·0x2 | ||
92 | ····const/4·v9,·0x0 | ||
93 | ····aput·v9,·v3,·v8 | ||
94 | ····.line·69 | ||
95 | ····const/4·v8,·0x3 | ||
96 | ····const/4·v9,·0x0 | ||
97 | ····aput·v9,·v3,·v8 | ||
98 | ····.line·70 | ||
99 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I | ||
100 | ····move-result·v4 | ||
101 | ····.line·71 | ||
102 | ····.local·v4,·"end":I | ||
103 | ····const/4·v8,·0x1 | ||
104 | ····aget·v6,·p2,·v8 | ||
105 | ····.line·73 | ||
106 | ····.local·v6,·"rowOffset":I | ||
107 | ····const/4·v5,·0x0 | ||
108 | ····.line·75 | ||
109 | ····.local·v5,·"lgPatternFound":I | ||
110 | ····const/4·v7,·0x0 | ||
111 | ····.local·v7,·"x":I | ||
112 | ····:goto_0 | ||
113 | ····const/4·v8,·0x5 | ||
114 | ····if-ge·v7,·v8,·:cond_3 | ||
115 | ····if-ge·v6,·v4,·:cond_3 | ||
116 | ····.line·76 | ||
117 | ····sget-object·v8,·Lcom/google/zxing/oned/UPCEANReader;->L_AND_G_PATTERNS:[[I | ||
118 | ····invoke-static·{p1,·v3,·v6,·v8},·Lcom/google/zxing/oned/UPCEANReader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I | ||
119 | ····move-result·v0 | ||
120 | ····.line·77 | ||
121 | ····.local·v0,·"bestMatch":I | ||
122 | ····rem-int/lit8·v8,·v0,·0xa | ||
123 | ····add-int/lit8·v8,·v8,·0x30 | ||
124 | ····int-to-char·v8,·v8 | ||
125 | ····invoke-virtual·{p3,·v8},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | ||
126 | ····.line·78 | ||
127 | ····array-length·v9,·v3 | ||
128 | ····const/4·v8,·0x0 | ||
129 | ····:goto_1 | ||
130 | ····if-ge·v8,·v9,·:cond_0 | ||
131 | ····aget·v2,·v3,·v8 | ||
132 | ····.line·79 | ||
133 | ····.local·v2,·"counter":I | ||
134 | ····add-int/2addr·v6,·v2 | ||
135 | ····.line·78 | ||
136 | ····add-int/lit8·v8,·v8,·0x1 | ||
137 | ····goto·:goto_1 | ||
138 | ····.line·81 | ||
139 | ····.end·local·v2····#·"counter":I | ||
140 | ····:cond_0 | ||
141 | ····const/16·v8,·0xa | ||
142 | ····if-lt·v0,·v8,·:cond_1 | ||
143 | ····.line·82 | ||
144 | ····const/4·v8,·0x1 | ||
145 | ····rsub-int/lit8·v9,·v7,·0x4 | ||
146 | ····shl-int/2addr·v8,·v9 | ||
Max diff block lines reached; 6415/10554 bytes (60.78%) of diff not shown. |
Offset 297, 21 lines modified | Offset 297, 17 lines modified | ||
297 | ····if-nez·v8,·:cond_0 | 297 | ····if-nez·v8,·:cond_0 |
298 | ····.line·47 | 298 | ····.line·47 |
299 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; | 299 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; |
300 | ····new-instance·v19,·Ljava/lang/StringBuilder; | 300 | ····new-instance·v19,·Ljava/lang/StringBuilder; |
301 | ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V | ||
302 | ····const-string·v20,·"Invalid·start/end·guards:·" | 301 | ····const-string·v20,·"Invalid·start/end·guards:·" |
303 | ····invoke- | 302 | ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
304 | ····move-result-object·v19 | ||
305 | ····move-object/from16·v0,·v19 | 303 | ····move-object/from16·v0,·v19 |
306 | ····move-object/from16·v1,·p1 | 304 | ····move-object/from16·v1,·p1 |
307 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 305 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 333, 21 lines modified | Offset 329, 17 lines modified | ||
333 | ····if-nez·v7,·:cond_0 | 329 | ····if-nez·v7,·:cond_0 |
334 | ····.line·52 | 330 | ····.line·52 |
335 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; | 331 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; |
336 | ····new-instance·v19,·Ljava/lang/StringBuilder; | 332 | ····new-instance·v19,·Ljava/lang/StringBuilder; |
337 | ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V | ||
338 | ····const-string·v20,·"Invalid·start/end·guards:·" | 333 | ····const-string·v20,·"Invalid·start/end·guards:·" |
339 | ····invoke- | 334 | ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
340 | ····move-result-object·v19 | ||
341 | ····move-object/from16·v0,·v19 | 335 | ····move-object/from16·v0,·v19 |
342 | ····move-object/from16·v1,·p1 | 336 | ····move-object/from16·v1,·p1 |
343 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 337 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 369, 21 lines modified | Offset 361, 17 lines modified | ||
369 | ····.line·58 | 361 | ····.line·58 |
370 | ····:cond_5 | 362 | ····:cond_5 |
371 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; | 363 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; |
372 | ····new-instance·v19,·Ljava/lang/StringBuilder; | 364 | ····new-instance·v19,·Ljava/lang/StringBuilder; |
373 | ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V | ||
374 | ····const-string·v20,·"Invalid·start/end·guards:·" | 365 | ····const-string·v20,·"Invalid·start/end·guards:·" |
375 | ····invoke- | 366 | ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
376 | ····move-result-object·v19 | ||
377 | ····move-object/from16·v0,·v19 | 367 | ····move-object/from16·v0,·v19 |
378 | ····move-object/from16·v1,·p1 | 368 | ····move-object/from16·v1,·p1 |
379 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 369 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 460, 21 lines modified | Offset 448, 17 lines modified | ||
460 | ····.line·73 | 448 | ····.line·73 |
461 | ····:cond_8 | 449 | ····:cond_8 |
462 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; | 450 | ····new-instance·v18,·Ljava/lang/IllegalArgumentException; |
463 | ····new-instance·v19,·Ljava/lang/StringBuilder; | 451 | ····new-instance·v19,·Ljava/lang/StringBuilder; |
464 | ····invoke-direct/range·{v19·..·v19},·Ljava/lang/StringBuilder;-><init>()V | ||
465 | ····const-string·v20,·"Cannot·encode·:·\'" | 452 | ····const-string·v20,·"Cannot·encode·:·\'" |
466 | ····invoke- | 453 | ····invoke-direct/range·{v19·..·v20},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
467 | ····move-result-object·v19 | ||
468 | ····move-object/from16·v0,·p1 | 454 | ····move-object/from16·v0,·p1 |
469 | ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->charAt(I)C | 455 | ····invoke-virtual·{v0,·v10},·Ljava/lang/String;->charAt(I)C |
470 | ····move-result·v20 | 456 | ····move-result·v20 |
Offset 500, 18 lines modified | Offset 484, 20 lines modified | ||
500 | ····:cond_9 | 484 | ····:cond_9 |
501 | ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I | 485 | ····invoke-virtual/range·{p1·..·p1},·Ljava/lang/String;->length()I |
502 | ····move-result·v18 | 486 | ····move-result·v18 |
503 | ····add-int/lit8·v18,·v18,·-0x1 | 487 | ····add-int/lit8·v18,·v18,·-0x1 |
504 | ····add-int·v1 | 488 | ····add-int·v18,·v18,·v15 |
505 | ····.line·79 | 489 | ····.line·79 |
490 | ····move/from16·v0,·v18 | ||
506 | ····new-array·v14,·v | 491 | ····new-array·v14,·v0,·[Z |
507 | ····.line·80 | 492 | ····.line·80 |
508 | ····.local·v14,·"result":[Z | 493 | ····.local·v14,·"result":[Z |
509 | ····const/4·v13,·0x0 | 494 | ····const/4·v13,·0x0 |
510 | ····.line·81 | 495 | ····.line·81 |
511 | ····.local·v13,·"position":I | 496 | ····.local·v13,·"position":I |
Offset 1, 12 lines modified | Offset 1, 20 lines modified | ||
1 | .class·public·final·Lcom/google/zxing/oned/Code128Writer; | 1 | .class·public·final·Lcom/google/zxing/oned/Code128Writer; |
2 | .super·Lcom/google/zxing/oned/OneDimensionalCodeWriter; | 2 | .super·Lcom/google/zxing/oned/OneDimensionalCodeWriter; |
3 | .source·"Code128Writer.java" | 3 | .source·"Code128Writer.java" |
4 | #·annotations | ||
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | ||
6 | ····value·=·{ | ||
7 | ········Lcom/google/zxing/oned/Code128Writer$CType; | ||
8 | ····} | ||
9 | .end·annotation | ||
4 | #·static·fields | 10 | #·static·fields |
5 | .field·private·static·final·CODE_CODE_B:I·=·0x64 | 11 | .field·private·static·final·CODE_CODE_B:I·=·0x64 |
6 | .field·private·static·final·CODE_CODE_C:I·=·0x63 | 12 | .field·private·static·final·CODE_CODE_C:I·=·0x63 |
7 | .field·private·static·final·CODE_FNC_1:I·=·0x66 | 13 | .field·private·static·final·CODE_FNC_1:I·=·0x66 |
Offset 38, 88 lines modified | Offset 46, 265 lines modified | ||
38 | ····.prologue | 46 | ····.prologue |
39 | ····.line·33 | 47 | ····.line·33 |
40 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDimensionalCodeWriter;-><init>()V | 48 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDimensionalCodeWriter;-><init>()V |
41 | ····return-void | 49 | ····return-void |
42 | .end·method | 50 | .end·method |
43 | .method·private·static· | 51 | .method·private·static·chooseCode(Ljava/lang/CharSequence;II)I |
44 | ····.locals·6 | 52 | ····.locals·6 |
45 | ····.param·p0,·"value"····#·Ljava/lang/CharSequence; | 53 | ····.param·p0,·"value"····#·Ljava/lang/CharSequence; |
46 | ····.param·p1,·"start"····#·I | 54 | ····.param·p1,·"start"····#·I |
47 | ····.param·p2,·"l | 55 | ····.param·p2,·"oldCode"····#·I |
48 | ····.prologue | 56 | ····.prologue |
49 | ····const/ | 57 | ····const/16·v2,·0x63 |
58 | ····const/16·v3,·0x64 | ||
50 | ····.line·186 | ||
51 | ····add-int·v1,·p1,·p2 | ||
52 | ····.line· | 59 | ····.line·210 |
60 | ····invoke-static·{p0,·p1},·Lcom/google/zxing/oned/Code128Writer;->findCType(Ljava/lang/CharSequence;I)Lcom/google/zxing/oned/Code128Writer$CType; | ||
53 | ····.local·v1,·"end":I | ||
54 | ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I | ||
55 | ····move-result·v | 61 | ····move-result-object·v1 |
56 | ····.line· | 62 | ····.line·211 |
57 | ····.local·v | 63 | ····.local·v1,·"lookahead":Lcom/google/zxing/oned/Code128Writer$CType; |
64 | ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->UNCODABLE:Lcom/google/zxing/oned/Code128Writer$CType; | ||
65 | ····if-eq·v1,·v4,·:cond_0 | ||
66 | ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->ONE_DIGIT:Lcom/google/zxing/oned/Code128Writer$CType; | ||
67 | ····if-ne·v1,·v4,·:cond_2 | ||
68 | ····:cond_0 | ||
58 | ····move· | 69 | ····move·p2,·v3 |
59 | ····.l | 70 | ····.line·252 |
71 | ····.end·local·p2····#·"oldCode":I | ||
72 | ····:cond_1 | ||
60 | ····:goto_0 | 73 | ····:goto_0 |
74 | ····return·p2 | ||
75 | ····.line·214 | ||
76 | ····.restart·local·p2····#·"oldCode":I | ||
77 | ····:cond_2 | ||
78 | ····if-eq·p2,·v2,·:cond_1 | ||
79 | ····.line·217 | ||
80 | ····if-ne·p2,·v3,·:cond_7 | ||
81 | ····.line·218 | ||
82 | ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->FNC_1:Lcom/google/zxing/oned/Code128Writer$CType; | ||
83 | ····if-eq·v1,·v4,·:cond_1 | ||
84 | ····.line·222 | ||
85 | ····add-int/lit8·v4,·p1,·0x2 | ||
86 | ····invoke-static·{p0,·v4},·Lcom/google/zxing/oned/Code128Writer;->findCType(Ljava/lang/CharSequence;I)Lcom/google/zxing/oned/Code128Writer$CType; | ||
87 | ····move-result-object·v1 | ||
88 | ····.line·223 | ||
89 | ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->UNCODABLE:Lcom/google/zxing/oned/Code128Writer$CType; | ||
90 | ····if-eq·v1,·v4,·:cond_1 | ||
91 | ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->ONE_DIGIT:Lcom/google/zxing/oned/Code128Writer$CType; | ||
92 | ····if-eq·v1,·v4,·:cond_1 | ||
93 | ····.line·226 | ||
94 | ····sget-object·v4,·Lcom/google/zxing/oned/Code128Writer$CType;->FNC_1:Lcom/google/zxing/oned/Code128Writer$CType; | ||
61 | ····if- | 95 | ····if-ne·v1,·v4,·:cond_4 |
96 | ····.line·227 | ||
97 | ····add-int/lit8·v4,·p1,·0x3 | ||
98 | ····invoke-static·{p0,·v4},·Lcom/google/zxing/oned/Code128Writer;->findCType(Ljava/lang/CharSequence;I)Lcom/google/zxing/oned/Code128Writer$CType; | ||
99 | ····move-result-object·v4 | ||
100 | ····.line·228 | ||
101 | ····sget-object·v5,·Lcom/google/zxing/oned/Code128Writer$CType;->TWO_DIGITS:Lcom/google/zxing/oned/Code128Writer$CType; | ||
102 | ····if-ne·v4,·v5,·:cond_3 | ||
103 | ····move·p2,·v2 | ||
104 | ····.line·229 | ||
105 | ····goto·:goto_0 | ||
106 | ····:cond_3 | ||
107 | ····move·p2,·v3 | ||
108 | ····.line·231 | ||
109 | ····goto·:goto_0 | ||
110 | ····.line·236 | ||
111 | ····:cond_4 | ||
112 | ····add-int/lit8·v0,·p1,·0x4 | ||
Max diff block lines reached; 18642/24156 bytes (77.17%) of diff not shown. |
Offset 14, 15 lines modified | Offset 14, 15 lines modified | ||
14 | ····.line·42 | 14 | ····.line·42 |
15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
16 | ····return-void | 16 | ····return-void |
17 | .end·method | 17 | .end·method |
18 | .method·private·doDecode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result; | 18 | .method·private·doDecode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result; |
19 | ····.locals·2 | 19 | ····.locals·21 |
20 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; | 20 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; |
21 | ····.annotation·system·Ldalvik/annotation/Signature; | 21 | ····.annotation·system·Ldalvik/annotation/Signature; |
22 | ········value·=·{ | 22 | ········value·=·{ |
23 | ············"(", | 23 | ············"(", |
24 | ············"Lcom/google/zxing/BinaryBitmap;", | 24 | ············"Lcom/google/zxing/BinaryBitmap;", |
25 | ············"Ljava/util/Map", | 25 | ············"Ljava/util/Map", |
26 | ············"<", | 26 | ············"<", |
Offset 39, 390 lines modified | Offset 39, 385 lines modified | ||
39 | ····.end·annotation | 39 | ····.end·annotation |
40 | ····.prologue | 40 | ····.prologue |
41 | ····.line·105 | 41 | ····.line·105 |
42 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 42 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
43 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I | 43 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getWidth()I |
44 | ····move-result·v1 | 44 | ····move-result·v15 |
45 | ····.line·106 | 45 | ····.line·106 |
46 | ····.local·v1 | 46 | ····.local·v15,·"width":I |
47 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I | 47 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getHeight()I |
48 | ····move-result·v3 | 48 | ····move-result·v3 |
49 | ····.line·107 | 49 | ····.line·107 |
50 | ····.local·v3,·"height":I | 50 | ····.local·v3,·"height":I |
51 | ····new-instance·v1 | 51 | ····new-instance·v10,·Lcom/google/zxing/common/BitArray; |
52 | ····move/from16·v0,·v16 | ||
53 | ····invoke-direct·{v1 | 52 | ····invoke-direct·{v10,·v15},·Lcom/google/zxing/common/BitArray;-><init>(I)V |
54 | ····.line·109 | 53 | ····.line·109 |
55 | ····.local·v1 | 54 | ····.local·v10,·"row":Lcom/google/zxing/common/BitArray; |
56 | ····shr-int/lit8·v | 55 | ····shr-int/lit8·v6,·v3,·0x1 |
57 | ····.line·110 | 56 | ····.line·110 |
58 | ····.local·v | 57 | ····.local·v6,·"middle":I |
59 | ····if-eqz·p2,·:cond_ | 58 | ····if-eqz·p2,·:cond_2 |
60 | ····sget-object·v1 | 59 | ····sget-object·v17,·Lcom/google/zxing/DecodeHintType;->TRY_HARDER:Lcom/google/zxing/DecodeHintType; |
61 | ····move-object/from16·v0,·p2 | 60 | ····move-object/from16·v0,·p2 |
62 | ····move-object/from16·v1,·v1 | 61 | ····move-object/from16·v1,·v17 |
63 | ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z | 62 | ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z |
64 | ····move-result·v1 | 63 | ····move-result·v17 |
65 | ····if-eqz·v1 | 64 | ····if-eqz·v17,·:cond_2 |
66 | ····const/4·v1 | 65 | ····const/4·v14,·0x1 |
67 | ····.line·111 | 66 | ····.line·111 |
68 | ····.local·v1 | 67 | ····.local·v14,·"tryHarder":Z |
69 | ····:goto_0 | 68 | ····:goto_0 |
70 | ····const/16·v1 | 69 | ····const/16·v18,·0x1 |
71 | ····if-eqz·v1 | 70 | ····if-eqz·v14,·:cond_3 |
72 | ····const/16·v1 | 71 | ····const/16·v17,·0x8 |
73 | ····:goto_1 | 72 | ····:goto_1 |
74 | ····shr-int·v1 | 73 | ····shr-int·v17,·v3,·v17 |
75 | ····move/from16·v0,·v1 | 74 | ····move/from16·v0,·v18 |
76 | ····move/from16·v1,·v1 | 75 | ····move/from16·v1,·v17 |
77 | ····invoke-static·{v0,·v1},·Ljava/lang/Math;->max(II)I | 76 | ····invoke-static·{v0,·v1},·Ljava/lang/Math;->max(II)I |
78 | ····move-result·v1 | 77 | ····move-result·v12 |
79 | ····.line·113 | 78 | ····.line·113 |
80 | ····.local·v1 | 79 | ····.local·v12,·"rowStep":I |
81 | ····if-eqz·v1 | 80 | ····if-eqz·v14,·:cond_4 |
82 | ····.line·114 | 81 | ····.line·114 |
83 | ····move·v | 82 | ····move·v5,·v3 |
84 | ····.line·119 | 83 | ····.line·119 |
85 | ····.local·v | 84 | ····.local·v5,·"maxLines":I |
86 | ····:goto_2 | 85 | ····:goto_2 |
87 | ····const/16·v1 | 86 | ····const/16·v16,·0x0 |
88 | ····.local·v1 | 87 | ····.local·v16,·"x":I |
89 | ····:goto_3 | 88 | ····:goto_3 |
90 | ····move/from16·v0,·v1 | 89 | ····move/from16·v0,·v16 |
91 | ····if-ge·v0,·v | 90 | ····if-ge·v0,·v5,·:cond_8 |
92 | ····.line·122 | 91 | ····.line·122 |
93 | ····add-int/lit8·v1 | 92 | ····add-int/lit8·v17,·v16,·0x1 |
94 | ····div-int/lit8·v1 | 93 | ····div-int/lit8·v13,·v17,·0x2 |
95 | ····.line·123 | 94 | ····.line·123 |
96 | ····.local·v1 | 95 | ····.local·v13,·"rowStepsAboveOrBelow":I |
97 | ····and-int/lit8·v1 | 96 | ····and-int/lit8·v17,·v16,·0x1 |
98 | ····if-nez·v1 | 97 | ····if-nez·v17,·:cond_5 |
99 | ····const/4·v | 98 | ····const/4·v4,·0x1 |
100 | ····.line·124 | 99 | ····.line·124 |
101 | ····.local·v | 100 | ····.local·v4,·"isAbove":Z |
102 | ····:goto_4 | 101 | ····:goto_4 |
103 | ····if-eqz·v | 102 | ····if-eqz·v4,·:cond_6 |
104 | ····.end·local·v1 | 103 | ····.end·local·v13····#·"rowStepsAboveOrBelow":I |
105 | ····:goto_5 | 104 | ····:goto_5 |
106 | ····mul-int·v1 | 105 | ····mul-int·v17,·v12,·v13 |
107 | ····add-int·v1 | 106 | ····add-int·v11,·v6,·v17 |
108 | ····.line·125 | 107 | ····.line·125 |
109 | ····.local·v1 | 108 | ····.local·v11,·"rowNumber":I |
110 | ····if-ltz·v1 | 109 | ····if-ltz·v11,·:cond_8 |
Max diff block lines reached; 19066/24041 bytes (79.31%) of diff not shown. |
Offset 113, 217 lines modified | Offset 113, 198 lines modified | ||
113 | ····throw·v1 | 113 | ····throw·v1 |
114 | .end·method | 114 | .end·method |
115 | #·virtual·methods | 115 | #·virtual·methods |
116 | .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I | 116 | .method·protected·decodeMiddle(Lcom/google/zxing/common/BitArray;[ILjava/lang/StringBuilder;)I |
117 | ····.locals·1 | 117 | ····.locals·12 |
118 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; | 118 | ····.param·p1,·"row"····#·Lcom/google/zxing/common/BitArray; |
119 | ····.param·p2,·"startRange"····#·[I | 119 | ····.param·p2,·"startRange"····#·[I |
120 | ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder; | 120 | ····.param·p3,·"resultString"····#·Ljava/lang/StringBuilder; |
121 | ····.annotation·system·Ldalvik/annotation/Throws; | 121 | ····.annotation·system·Ldalvik/annotation/Throws; |
122 | ········value·=·{ | 122 | ········value·=·{ |
123 | ············Lcom/google/zxing/NotFoundException; | 123 | ············Lcom/google/zxing/NotFoundException; |
124 | ········} | 124 | ········} |
125 | ····.end·annotation | 125 | ····.end·annotation |
126 | ····.prologue | 126 | ····.prologue |
127 | ····const/4·v11,·0x6 | ||
128 | ····const/4·v10,·0x1 | ||
129 | ····const/4·v8,·0x0 | ||
127 | ····.line·75 | 130 | ····.line·75 |
128 | ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN13Reader;->decodeMiddleCounters:[I | 131 | ····iget-object·v2,·p0,·Lcom/google/zxing/oned/EAN13Reader;->decodeMiddleCounters:[I |
129 | ····.line·76 | 132 | ····.line·76 |
130 | ····.local·v2,·"counters":[I | 133 | ····.local·v2,·"counters":[I |
131 | ····const/4·v8,·0x0 | ||
132 | ····const/4·v9,·0x0 | ||
133 | ····aput·v | 134 | ····aput·v8,·v2,·v8 |
134 | ····.line·77 | 135 | ····.line·77 |
135 | ····const/4·v8,·0x1 | ||
136 | ····const/4·v9,·0x0 | ||
137 | ····aput·v | 136 | ····aput·v8,·v2,·v10 |
138 | ····.line·78 | 137 | ····.line·78 |
139 | ····const/4·v | 138 | ····const/4·v7,·0x2 |
140 | ····const/4·v9,·0x0 | ||
141 | ····aput·v | 139 | ····aput·v8,·v2,·v7 |
142 | ····.line·79 | 140 | ····.line·79 |
143 | ····const/4·v | 141 | ····const/4·v7,·0x3 |
144 | ····const/4·v9,·0x0 | ||
145 | ····aput·v | 142 | ····aput·v8,·v2,·v7 |
146 | ····.line·80 | 143 | ····.line·80 |
147 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I | 144 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitArray;->getSize()I |
148 | ····move-result·v3 | 145 | ····move-result·v3 |
149 | ····.line·81 | 146 | ····.line·81 |
150 | ····.local·v3,·"end":I | 147 | ····.local·v3,·"end":I |
151 | ····const/4·v8,·0x1 | ||
152 | ····aget·v | 148 | ····aget·v5,·p2,·v10 |
153 | ····.line·83 | 149 | ····.line·83 |
154 | ····.local·v | 150 | ····.local·v5,·"rowOffset":I |
155 | ····const/4·v4,·0x0 | 151 | ····const/4·v4,·0x0 |
156 | ····.line·85 | 152 | ····.line·85 |
157 | ····.local·v4,·"lgPatternFound":I | 153 | ····.local·v4,·"lgPatternFound":I |
158 | ····const/4·v | 154 | ····const/4·v6,·0x0 |
159 | ····.local·v | 155 | ····.local·v6,·"x":I |
160 | ····:goto_0 | 156 | ····:goto_0 |
161 | ···· | 157 | ····if-ge·v6,·v11,·:cond_2 |
162 | ····if-ge·v7,·v8,·:cond_2 | ||
163 | ····if-ge·v | 158 | ····if-ge·v5,·v3,·:cond_2 |
164 | ····.line·86 | 159 | ····.line·86 |
165 | ····sget-object·v | 160 | ····sget-object·v7,·Lcom/google/zxing/oned/EAN13Reader;->L_AND_G_PATTERNS:[[I |
166 | ····invoke-static·{p1,·v2,·v | 161 | ····invoke-static·{p1,·v2,·v5,·v7},·Lcom/google/zxing/oned/EAN13Reader;->decodeDigit(Lcom/google/zxing/common/BitArray;[II[[I)I |
167 | ····move-result·v0 | 162 | ····move-result·v0 |
168 | ····.line·87 | 163 | ····.line·87 |
169 | ····.local·v0,·"bestMatch":I | 164 | ····.local·v0,·"bestMatch":I |
170 | ····rem-int/lit8·v | 165 | ····rem-int/lit8·v7,·v0,·0xa |
171 | ····add-int/lit8·v | 166 | ····add-int/lit8·v7,·v7,·0x30 |
172 | ····int-to-char·v | 167 | ····int-to-char·v7,·v7 |
173 | ····invoke-virtual·{p3,·v | 168 | ····invoke-virtual·{p3,·v7},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
174 | ····.line·88 | 169 | ····.line·88 |
175 | ····array-length·v9,·v2 | 170 | ····array-length·v9,·v2 |
176 | ···· | 171 | ····move·v7,·v8 |
177 | ····:goto_1 | 172 | ····:goto_1 |
178 | ····if-ge·v | 173 | ····if-ge·v7,·v9,·:cond_0 |
179 | ····aget·v1,·v2,·v | 174 | ····aget·v1,·v2,·v7 |
180 | ····.line·89 | 175 | ····.line·89 |
181 | ····.local·v1,·"counter":I | 176 | ····.local·v1,·"counter":I |
182 | ····add-int/2addr·v | 177 | ····add-int/2addr·v5,·v1 |
183 | ····.line·88 | 178 | ····.line·88 |
184 | ····add-int/lit8·v | 179 | ····add-int/lit8·v7,·v7,·0x1 |
185 | ····goto·:goto_1 | 180 | ····goto·:goto_1 |
186 | ····.line·91 | 181 | ····.line·91 |
187 | ····.end·local·v1····#·"counter":I | 182 | ····.end·local·v1····#·"counter":I |
188 | ····:cond_0 | 183 | ····:cond_0 |
189 | ····const/16·v | 184 | ····const/16·v7,·0xa |
190 | ····if-lt·v0,·v | 185 | ····if-lt·v0,·v7,·:cond_1 |
191 | ····.line·92 | 186 | ····.line·92 |
Max diff block lines reached; 2835/6112 bytes (46.38%) of diff not shown. |
Offset 17, 24 lines modified | Offset 17, 24 lines modified | ||
17 | ····.param·p1,·"value"····#·I | 17 | ····.param·p1,·"value"····#·I |
18 | ····.param·p2,·"startEnd"····#·[I | 18 | ····.param·p2,·"startEnd"····#·[I |
19 | ····.param·p3,·"start"····#·I | 19 | ····.param·p3,·"start"····#·I |
20 | ····.param·p4,·"end"····#·I | 20 | ····.param·p4,·"end"····#·I |
21 | ····.param·p5,·"rowNumber"····#·I | 21 | ····.param·p5,·"rowNumber"····#·I |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line· | 23 | ····.line·30 |
24 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 24 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
25 | ····.line· | 25 | ····.line·31 |
26 | ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I | 26 | ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I |
27 | ····.line· | 27 | ····.line·32 |
28 | ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I | 28 | ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I |
29 | ····.line·3 | 29 | ····.line·33 |
30 | ····const/4·v0,·0x2 | 30 | ····const/4·v0,·0x2 |
31 | ····new-array·v0,·v0,·[Lcom/google/zxing/ResultPoint; | 31 | ····new-array·v0,·v0,·[Lcom/google/zxing/ResultPoint; |
32 | ····const/4·v1,·0x0 | 32 | ····const/4·v1,·0x0 |
33 | ····new-instance·v2,·Lcom/google/zxing/ResultPoint; | 33 | ····new-instance·v2,·Lcom/google/zxing/ResultPoint; |
Offset 57, 44 lines modified | Offset 57, 44 lines modified | ||
57 | ····invoke-direct·{v2,·v3,·v4},·Lcom/google/zxing/ResultPoint;-><init>(FF)V | 57 | ····invoke-direct·{v2,·v3,·v4},·Lcom/google/zxing/ResultPoint;-><init>(FF)V |
58 | ····aput-object·v2,·v0,·v1 | 58 | ····aput-object·v2,·v0,·v1 |
59 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint; | 59 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint; |
60 | ····.line·3 | 60 | ····.line·37 |
61 | ····return-void | 61 | ····return-void |
62 | .end·method | 62 | .end·method |
63 | #·virtual·methods | 63 | #·virtual·methods |
64 | .method·public·equals(Ljava/lang/Object;)Z | 64 | .method·public·equals(Ljava/lang/Object;)Z |
65 | ····.locals·4 | 65 | ····.locals·4 |
66 | ····.param·p1,·"o"····#·Ljava/lang/Object; | 66 | ····.param·p1,·"o"····#·Ljava/lang/Object; |
67 | ····.prologue | 67 | ····.prologue |
68 | ····const/4·v1,·0x0 | 68 | ····const/4·v1,·0x0 |
69 | ····.line·5 | 69 | ····.line·53 |
70 | ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/FinderPattern; | 70 | ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/FinderPattern; |
71 | ····if-nez·v2,·:cond_1 | 71 | ····if-nez·v2,·:cond_1 |
72 | ····.line·5 | 72 | ····.line·57 |
73 | ····:cond_0 | 73 | ····:cond_0 |
74 | ····:goto_0 | 74 | ····:goto_0 |
75 | ····return·v1 | 75 | ····return·v1 |
76 | ····:cond_1 | 76 | ····:cond_1 |
77 | ····move-object·v0,·p1 | 77 | ····move-object·v0,·p1 |
78 | ····.line·5 | 78 | ····.line·56 |
79 | ····check-cast·v0,·Lcom/google/zxing/oned/rss/FinderPattern; | 79 | ····check-cast·v0,·Lcom/google/zxing/oned/rss/FinderPattern; |
80 | ····.line·5 | 80 | ····.line·57 |
81 | ····.local·v0,·"that":Lcom/google/zxing/oned/rss/FinderPattern; | 81 | ····.local·v0,·"that":Lcom/google/zxing/oned/rss/FinderPattern; |
82 | ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I | 82 | ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I |
83 | ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I | 83 | ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I |
84 | ····if-ne·v2,·v3,·:cond_0 | 84 | ····if-ne·v2,·v3,·:cond_0 |
Offset 103, 42 lines modified | Offset 103, 42 lines modified | ||
103 | ····goto·:goto_0 | 103 | ····goto·:goto_0 |
104 | .end·method | 104 | .end·method |
105 | .method·public·getResultPoints()[Lcom/google/zxing/ResultPoint; | 105 | .method·public·getResultPoints()[Lcom/google/zxing/ResultPoint; |
106 | ····.locals·1 | 106 | ····.locals·1 |
107 | ····.prologue | 107 | ····.prologue |
108 | ····.line·4 | 108 | ····.line·48 |
109 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint; | 109 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->resultPoints:[Lcom/google/zxing/ResultPoint; |
110 | ····return-object·v0 | 110 | ····return-object·v0 |
111 | .end·method | 111 | .end·method |
112 | .method·public·getStartEnd()[I | 112 | .method·public·getStartEnd()[I |
113 | ····.locals·1 | 113 | ····.locals·1 |
114 | ····.prologue | 114 | ····.prologue |
115 | ····.line·4 | 115 | ····.line·44 |
116 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I | 116 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->startEnd:[I |
117 | ····return-object·v0 | 117 | ····return-object·v0 |
118 | .end·method | 118 | .end·method |
119 | .method·public·getValue()I | 119 | .method·public·getValue()I |
120 | ····.locals·1 | 120 | ····.locals·1 |
121 | ····.prologue | 121 | ····.prologue |
122 | ····.line· | 122 | ····.line·40 |
123 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I | 123 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I |
124 | ····return·v0 | 124 | ····return·v0 |
125 | .end·method | 125 | .end·method |
126 | .method·public·hashCode()I | 126 | .method·public·hashCode()I |
127 | ····.locals·1 | 127 | ····.locals·1 |
128 | ····.prologue | 128 | ····.prologue |
129 | ····.line· | 129 | ····.line·62 |
130 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I | 130 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/FinderPattern;->value:I |
131 | ····return·v0 | 131 | ····return·v0 |
132 | .end·method | 132 | .end·method |
Offset 30, 438 lines modified | Offset 30, 419 lines modified | ||
30 | #·direct·methods | 30 | #·direct·methods |
31 | .method·protected·constructor·<init>()V | 31 | .method·protected·constructor·<init>()V |
32 | ····.locals·2 | 32 | ····.locals·2 |
33 | ····.prologue | 33 | ····.prologue |
34 | ····const/4·v1,·0x4 | 34 | ····const/4·v1,·0x4 |
35 | ····.line· | 35 | ····.line·42 |
36 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V | 36 | ····invoke-direct·{p0},·Lcom/google/zxing/oned/OneDReader;-><init>()V |
37 | ····.line· | 37 | ····.line·43 |
38 | ····new-array·v0,·v1,·[I | 38 | ····new-array·v0,·v1,·[I |
39 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->decodeFinderCounters:[I | 39 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->decodeFinderCounters:[I |
40 | ····.line· | 40 | ····.line·44 |
41 | ····const/16·v0,·0x8 | 41 | ····const/16·v0,·0x8 |
42 | ····new-array·v0,·v0,·[I | 42 | ····new-array·v0,·v0,·[I |
43 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I | 43 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I |
44 | ····.line·4 | 44 | ····.line·45 |
45 | ····new-array·v0,·v1,·[F | 45 | ····new-array·v0,·v1,·[F |
46 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddRoundingErrors:[F | 46 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddRoundingErrors:[F |
47 | ····.line·4 | 47 | ····.line·46 |
48 | ····new-array·v0,·v1,·[F | 48 | ····new-array·v0,·v1,·[F |
49 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenRoundingErrors:[F | 49 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenRoundingErrors:[F |
50 | ····.line·4 | 50 | ····.line·47 |
51 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I | 51 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I |
52 | ····array-length·v0,·v0 | 52 | ····array-length·v0,·v0 |
53 | ····div-int/lit8·v0,·v0,·0x2 | 53 | ····div-int/lit8·v0,·v0,·0x2 |
54 | ····new-array·v0,·v0,·[I | 54 | ····new-array·v0,·v0,·[I |
55 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddCounts:[I | 55 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->oddCounts:[I |
56 | ····.line·4 | 56 | ····.line·48 |
57 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I | 57 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->dataCharacterCounters:[I |
58 | ····array-length·v0,·v0 | 58 | ····array-length·v0,·v0 |
59 | ····div-int/lit8·v0,·v0,·0x2 | 59 | ····div-int/lit8·v0,·v0,·0x2 |
60 | ····new-array·v0,·v0,·[I | 60 | ····new-array·v0,·v0,·[I |
61 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenCounts:[I | 61 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/AbstractRSSReader;->evenCounts:[I |
62 | ····.line·4 | 62 | ····.line·49 |
63 | ····return-void | 63 | ····return-void |
64 | .end·method | 64 | .end·method |
65 | .method·protected·static·count([I)I | 65 | .method·protected·static·count([I)I |
66 | ····.locals· | 66 | ····.locals·1 |
67 | ····.param·p0,·"array"····#·[I | 67 | ····.param·p0,·"array"····#·[I |
68 | ····.annotation·runtime·Ljava/lang/Deprecated; | ||
69 | ····.end·annotation | ||
68 | ····.prologue | 70 | ····.prologue |
69 | ····.line·82 | ||
70 | ····const/4·v1,·0x0 | ||
71 | ····.line· | 71 | ····.line·93 |
72 | ····invoke-static·{p0},·Lcom/google/zxing/common/detector/MathUtils;->sum([I)I | ||
72 | ····.local·v1,·"count":I | ||
73 | ····array-length·v3,·p0 | ||
74 | ····const/4·v2,·0x0 | ||
75 | ····:goto_0 | ||
76 | ····if-ge·v2,·v3,·:cond_0 | ||
77 | ····aget·v0,·p0,·v2 | ||
78 | ····.line·84 | ||
79 | ····.local·v0,·"a":I | ||
80 | ····add-int/2addr·v1,·v0 | ||
81 | ····.line·83 | ||
82 | ····add-int/lit8·v2,·v2,·0x1 | ||
83 | ···· | 73 | ····move-result·v0 |
84 | ····.line·86 | ||
85 | ····.end·local·v0····#·"a":I | ||
86 | ····:cond_0 | ||
87 | ····return·v | 74 | ····return·v0 |
88 | .end·method | 75 | .end·method |
89 | .method·protected·static·decrement([I[F)V | 76 | .method·protected·static·decrement([I[F)V |
90 | ····.locals·4 | 77 | ····.locals·4 |
91 | ····.param·p0,·"array"····#·[I | 78 | ····.param·p0,·"array"····#·[I |
92 | ····.param·p1,·"errors"····#·[F | 79 | ····.param·p1,·"errors"····#·[F |
93 | ····.prologue | 80 | ····.prologue |
94 | ····.line·10 | 81 | ····.line·109 |
95 | ····const/4·v2,·0x0 | 82 | ····const/4·v2,·0x0 |
96 | ····.line·1 | 83 | ····.line·110 |
97 | ····.local·v2,·"index":I | 84 | ····.local·v2,·"index":I |
98 | ····const/4·v3,·0x0 | 85 | ····const/4·v3,·0x0 |
99 | ····aget·v0,·p1,·v3 | 86 | ····aget·v0,·p1,·v3 |
100 | ····.line·1 | 87 | ····.line·111 |
101 | ····.local·v0,·"biggestError":F | 88 | ····.local·v0,·"biggestError":F |
102 | ····const/4·v1,·0x1 | 89 | ····const/4·v1,·0x1 |
103 | ····.local·v1,·"i":I | 90 | ····.local·v1,·"i":I |
104 | ····:goto_0 | 91 | ····:goto_0 |
105 | ····array-length·v3,·p0 | 92 | ····array-length·v3,·p0 |
106 | ····if-ge·v1,·v3,·:cond_1 | 93 | ····if-ge·v1,·v3,·:cond_1 |
107 | ····.line·1 | 94 | ····.line·112 |
108 | ····aget·v3,·p1,·v1 | 95 | ····aget·v3,·p1,·v1 |
109 | ····cmpg-float·v3,·v3,·v0 | 96 | ····cmpg-float·v3,·v3,·v0 |
110 | ····if-gez·v3,·:cond_0 | 97 | ····if-gez·v3,·:cond_0 |
Max diff block lines reached; 6000/8890 bytes (67.49%) of diff not shown. |
Offset 110, 51 lines modified | Offset 110, 51 lines modified | ||
110 | ····.param·p1,·"maxWidth"····#·I | 110 | ····.param·p1,·"maxWidth"····#·I |
111 | ····.param·p2,·"noNarrow"····#·Z | 111 | ····.param·p2,·"noNarrow"····#·Z |
112 | ····.prologue | 112 | ····.prologue |
113 | ····const/4·v12,·0x1 | 113 | ····const/4·v12,·0x1 |
114 | ····.line·67 | 114 | ····.line·67 |
115 | ····array-length·v1,·p0 | ||
116 | ····.line·68 | ||
117 | ····.local·v1,·"elements":I | ||
118 | ····const/4·v5,·0x0 | 115 | ····const/4·v5,·0x0 |
119 | ····.line·6 | 116 | ····.line·68 |
120 | ····.local·v5,·"n":I | 117 | ····.local·v5,·"n":I |
121 | ····array-length·v11,·p0 | 118 | ····array-length·v11,·p0 |
122 | ····const/4·v10,·0x0 | 119 | ····const/4·v10,·0x0 |
123 | ····:goto_0 | 120 | ····:goto_0 |
124 | ····if-ge·v10,·v11,·:cond_0 | 121 | ····if-ge·v10,·v11,·:cond_0 |
125 | ····aget·v9,·p0,·v10 | 122 | ····aget·v9,·p0,·v10 |
126 | ····.line· | 123 | ····.line·69 |
127 | ····.local·v9,·"width":I | 124 | ····.local·v9,·"width":I |
128 | ····add-int/2addr·v5,·v9 | 125 | ····add-int/2addr·v5,·v9 |
129 | ····.line·6 | 126 | ····.line·68 |
130 | ····add-int/lit8·v10,·v10,·0x1 | 127 | ····add-int/lit8·v10,·v10,·0x1 |
131 | ····goto·:goto_0 | 128 | ····goto·:goto_0 |
132 | ····.line·7 | 129 | ····.line·71 |
133 | ····.end·local·v9····#·"width":I | 130 | ····.end·local·v9····#·"width":I |
134 | ····:cond_0 | 131 | ····:cond_0 |
135 | ····const/4·v8,·0x0 | 132 | ····const/4·v8,·0x0 |
136 | ····.line·7 | 133 | ····.line·72 |
137 | ····.local·v8,·"val":I | 134 | ····.local·v8,·"val":I |
138 | ····const/4·v6,·0x0 | 135 | ····const/4·v6,·0x0 |
139 | ····.line·7 | 136 | ····.line·73 |
140 | ····.local·v6,·"narrowMask":I | 137 | ····.local·v6,·"narrowMask":I |
138 | ····array-length·v1,·p0 | ||
139 | ····.line·74 | ||
140 | ····.local·v1,·"elements":I | ||
141 | ····const/4·v0,·0x0 | 141 | ····const/4·v0,·0x0 |
142 | ····.local·v0,·"bar":I | 142 | ····.local·v0,·"bar":I |
143 | ····:goto_1 | 143 | ····:goto_1 |
144 | ····add-int/lit8·v10,·v1,·-0x1 | 144 | ····add-int/lit8·v10,·v1,·-0x1 |
145 | ····if-ge·v0,·v10,·:cond_6 | 145 | ····if-ge·v0,·v10,·:cond_6 |
Offset 48, 57 lines modified | Offset 48, 57 lines modified | ||
48 | ····.locals·5 | 48 | ····.locals·5 |
49 | ····.prologue | 49 | ····.prologue |
50 | ····const/4·v4,·0x5 | 50 | ····const/4·v4,·0x5 |
51 | ····const/4·v3,·0x4 | 51 | ····const/4·v3,·0x4 |
52 | ····.line·3 | 52 | ····.line·38 |
53 | ····new-array·v0,·v4,·[I | 53 | ····new-array·v0,·v4,·[I |
54 | ····fill-array-data·v0,·:array_0 | 54 | ····fill-array-data·v0,·:array_0 |
55 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_EVEN_TOTAL_SUBSET:[I | 55 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_EVEN_TOTAL_SUBSET:[I |
56 | ····.line·3 | 56 | ····.line·39 |
57 | ····new-array·v0,·v3,·[I | 57 | ····new-array·v0,·v3,·[I |
58 | ····fill-array-data·v0,·:array_1 | 58 | ····fill-array-data·v0,·:array_1 |
59 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_TOTAL_SUBSET:[I | 59 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_TOTAL_SUBSET:[I |
60 | ····.line· | 60 | ····.line·40 |
61 | ····new-array·v0,·v4,·[I | 61 | ····new-array·v0,·v4,·[I |
62 | ····fill-array-data·v0,·:array_2 | 62 | ····fill-array-data·v0,·:array_2 |
63 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_GSUM:[I | 63 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_GSUM:[I |
64 | ····.line·4 | 64 | ····.line·41 |
65 | ····new-array·v0,·v3,·[I | 65 | ····new-array·v0,·v3,·[I |
66 | ····fill-array-data·v0,·:array_3 | 66 | ····fill-array-data·v0,·:array_3 |
67 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_GSUM:[I | 67 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_GSUM:[I |
68 | ····.line·4 | 68 | ····.line·42 |
69 | ····new-array·v0,·v4,·[I | 69 | ····new-array·v0,·v4,·[I |
70 | ····fill-array-data·v0,·:array_4 | 70 | ····fill-array-data·v0,·:array_4 |
71 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_ODD_WIDEST:[I | 71 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->OUTSIDE_ODD_WIDEST:[I |
72 | ····.line·4 | 72 | ····.line·43 |
73 | ····new-array·v0,·v3,·[I | 73 | ····new-array·v0,·v3,·[I |
74 | ····fill-array-data·v0,·:array_5 | 74 | ····fill-array-data·v0,·:array_5 |
75 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_WIDEST:[I | 75 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->INSIDE_ODD_WIDEST:[I |
76 | ····.line·4 | 76 | ····.line·45 |
77 | ····const/16·v0,·0x9 | 77 | ····const/16·v0,·0x9 |
78 | ····new-array·v0,·v0,·[[I | 78 | ····new-array·v0,·v0,·[[I |
79 | ····const/4·v1,·0x0 | 79 | ····const/4·v1,·0x0 |
80 | ····new-array·v2,·v3,·[I | 80 | ····new-array·v2,·v3,·[I |
Offset 167, 72 lines modified | Offset 167, 72 lines modified | ||
167 | ····aput-object·v2,·v0,·v1 | 167 | ····aput-object·v2,·v0,·v1 |
168 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->FINDER_PATTERNS:[[I | 168 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/RSS14Reader;->FINDER_PATTERNS:[[I |
169 | ····return-void | 169 | ····return-void |
170 | ····.line·3 | 170 | ····.line·38 |
171 | ····:array_0 | 171 | ····:array_0 |
172 | ····.array-data·4 | 172 | ····.array-data·4 |
173 | ········0x1 | 173 | ········0x1 |
174 | ········0xa | 174 | ········0xa |
175 | ········0x22 | 175 | ········0x22 |
176 | ········0x46 | 176 | ········0x46 |
177 | ········0x7e | 177 | ········0x7e |
178 | ····.end·array-data | 178 | ····.end·array-data |
179 | ····.line·3 | 179 | ····.line·39 |
180 | ····:array_1 | 180 | ····:array_1 |
181 | ····.array-data·4 | 181 | ····.array-data·4 |
182 | ········0x4 | 182 | ········0x4 |
183 | ········0x14 | 183 | ········0x14 |
184 | ········0x30 | 184 | ········0x30 |
185 | ········0x51 | 185 | ········0x51 |
186 | ····.end·array-data | 186 | ····.end·array-data |
187 | ····.line· | 187 | ····.line·40 |
188 | ····:array_2 | 188 | ····:array_2 |
189 | ····.array-data·4 | 189 | ····.array-data·4 |
190 | ········0x0 | 190 | ········0x0 |
191 | ········0xa1 | 191 | ········0xa1 |
192 | ········0x3c1 | 192 | ········0x3c1 |
193 | ········0x7df | 193 | ········0x7df |
194 | ········0xa9b | 194 | ········0xa9b |
195 | ····.end·array-data | 195 | ····.end·array-data |
196 | ····.line·4 | 196 | ····.line·41 |
197 | ····:array_3 | 197 | ····:array_3 |
198 | ····.array-data·4 | 198 | ····.array-data·4 |
199 | ········0x0 | 199 | ········0x0 |
200 | ········0x150 | 200 | ········0x150 |
201 | ········0x40c | 201 | ········0x40c |
202 | ········0x5ec | 202 | ········0x5ec |
203 | ····.end·array-data | 203 | ····.end·array-data |
204 | ····.line·4 | 204 | ····.line·42 |
205 | ····:array_4 | 205 | ····:array_4 |
206 | ····.array-data·4 | 206 | ····.array-data·4 |
207 | ········0x8 | 207 | ········0x8 |
208 | ········0x6 | 208 | ········0x6 |
209 | ········0x4 | 209 | ········0x4 |
210 | ········0x3 | 210 | ········0x3 |
211 | ········0x1 | 211 | ········0x1 |
212 | ····.end·array-data | 212 | ····.end·array-data |
213 | ····.line·4 | 213 | ····.line·43 |
214 | ····:array_5 | 214 | ····:array_5 |
215 | ····.array-data·4 | 215 | ····.array-data·4 |
216 | ········0x2 | 216 | ········0x2 |
217 | ········0x4 | 217 | ········0x4 |
218 | ········0x6 | 218 | ········0x6 |
219 | ········0x8 | 219 | ········0x8 |
220 | ····.end·array-data | 220 | ····.end·array-data |
221 | ····.line·4 | 221 | ····.line·45 |
222 | ····:array_6 | 222 | ····:array_6 |
223 | ····.array-data·4 | 223 | ····.array-data·4 |
224 | ········0x3 | 224 | ········0x3 |
225 | ········0x8 | 225 | ········0x8 |
Max diff block lines reached; 58077/60502 bytes (95.99%) of diff not shown. |
Offset 12, 53 lines modified | Offset 12, 53 lines modified | ||
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method·public·constructor·<init>(II)V | 13 | .method·public·constructor·<init>(II)V |
14 | ····.locals·0 | 14 | ····.locals·0 |
15 | ····.param·p1,·"value"····#·I | 15 | ····.param·p1,·"value"····#·I |
16 | ····.param·p2,·"checksumPortion"····#·I | 16 | ····.param·p2,·"checksumPortion"····#·I |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·2 | 18 | ····.line·27 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····.line·2 | 20 | ····.line·28 |
21 | ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I | 21 | ····iput·p1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I |
22 | ····.line·2 | 22 | ····.line·29 |
23 | ····iput·p2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I | 23 | ····iput·p2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I |
24 | ····.line· | 24 | ····.line·30 |
25 | ····return-void | 25 | ····return-void |
26 | .end·method | 26 | .end·method |
27 | #·virtual·methods | 27 | #·virtual·methods |
28 | .method·public·final·equals(Ljava/lang/Object;)Z | 28 | .method·public·final·equals(Ljava/lang/Object;)Z |
29 | ····.locals·4 | 29 | ····.locals·4 |
30 | ····.param·p1,·"o"····#·Ljava/lang/Object; | 30 | ····.param·p1,·"o"····#·Ljava/lang/Object; |
31 | ····.prologue | 31 | ····.prologue |
32 | ····const/4·v1,·0x0 | 32 | ····const/4·v1,·0x0 |
33 | ····.line·4 | 33 | ····.line·47 |
34 | ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/DataCharacter; | 34 | ····instance-of·v2,·p1,·Lcom/google/zxing/oned/rss/DataCharacter; |
35 | ····if-nez·v2,·:cond_1 | 35 | ····if-nez·v2,·:cond_1 |
36 | ····.line· | 36 | ····.line·51 |
37 | ····:cond_0 | 37 | ····:cond_0 |
38 | ····:goto_0 | 38 | ····:goto_0 |
39 | ····return·v1 | 39 | ····return·v1 |
40 | ····:cond_1 | 40 | ····:cond_1 |
41 | ····move-object·v0,·p1 | 41 | ····move-object·v0,·p1 |
42 | ····.line· | 42 | ····.line·50 |
43 | ····check-cast·v0,·Lcom/google/zxing/oned/rss/DataCharacter; | 43 | ····check-cast·v0,·Lcom/google/zxing/oned/rss/DataCharacter; |
44 | ····.line· | 44 | ····.line·51 |
45 | ····.local·v0,·"that":Lcom/google/zxing/oned/rss/DataCharacter; | 45 | ····.local·v0,·"that":Lcom/google/zxing/oned/rss/DataCharacter; |
46 | ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I | 46 | ····iget·v2,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I |
47 | ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I | 47 | ····iget·v3,·v0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I |
48 | ····if-ne·v2,·v3,·:cond_0 | 48 | ····if-ne·v2,·v3,·:cond_0 |
Offset 73, 49 lines modified | Offset 73, 49 lines modified | ||
73 | ····goto·:goto_0 | 73 | ····goto·:goto_0 |
74 | .end·method | 74 | .end·method |
75 | .method·public·final·getChecksumPortion()I | 75 | .method·public·final·getChecksumPortion()I |
76 | ····.locals·1 | 76 | ····.locals·1 |
77 | ····.prologue | 77 | ····.prologue |
78 | ····.line·3 | 78 | ····.line·37 |
79 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I | 79 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I |
80 | ····return·v0 | 80 | ····return·v0 |
81 | .end·method | 81 | .end·method |
82 | .method·public·final·getValue()I | 82 | .method·public·final·getValue()I |
83 | ····.locals·1 | 83 | ····.locals·1 |
84 | ····.prologue | 84 | ····.prologue |
85 | ····.line·3 | 85 | ····.line·33 |
86 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I | 86 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I |
87 | ····return·v0 | 87 | ····return·v0 |
88 | .end·method | 88 | .end·method |
89 | .method·public·final·hashCode()I | 89 | .method·public·final·hashCode()I |
90 | ····.locals·2 | 90 | ····.locals·2 |
91 | ····.prologue | 91 | ····.prologue |
92 | ····.line·5 | 92 | ····.line·56 |
93 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I | 93 | ····iget·v0,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I |
94 | ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I | 94 | ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->checksumPortion:I |
95 | ····xor-int/2addr·v0,·v1 | 95 | ····xor-int/2addr·v0,·v1 |
96 | ····return·v0 | 96 | ····return·v0 |
97 | .end·method | 97 | .end·method |
98 | .method·public·final·toString()Ljava/lang/String; | 98 | .method·public·final·toString()Ljava/lang/String; |
99 | ····.locals·2 | 99 | ····.locals·2 |
100 | ····.prologue | 100 | ····.prologue |
101 | ····.line· | 101 | ····.line·42 |
102 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 102 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
103 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 103 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
104 | ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I | 104 | ····iget·v1,·p0,·Lcom/google/zxing/oned/rss/DataCharacter;->value:I |
105 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 105 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
Offset 12, 228 lines modified | Offset 12, 227 lines modified | ||
12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
13 | ····.line·40 | 13 | ····.line·40 |
14 | ····return-void | 14 | ····return-void |
15 | .end·method | 15 | .end·method |
16 | .method·static·buildBitArray(Ljava/util/List;)Lcom/google/zxing/common/BitArray; | 16 | .method·static·buildBitArray(Ljava/util/List;)Lcom/google/zxing/common/BitArray; |
17 | ····.locals·1 | 17 | ····.locals·12 |
18 | ····.annotation·system·Ldalvik/annotation/Signature; | 18 | ····.annotation·system·Ldalvik/annotation/Signature; |
19 | ········value·=·{ | 19 | ········value·=·{ |
20 | ············"(", | 20 | ············"(", |
21 | ············"Ljava/util/List", | 21 | ············"Ljava/util/List", |
22 | ············"<", | 22 | ············"<", |
23 | ············"Lcom/google/zxing/oned/rss/expanded/ExpandedPair;", | 23 | ············"Lcom/google/zxing/oned/rss/expanded/ExpandedPair;", |
24 | ············">;)", | 24 | ············">;)", |
25 | ············"Lcom/google/zxing/common/BitArray;" | 25 | ············"Lcom/google/zxing/common/BitArray;" |
26 | ········} | 26 | ········} |
27 | ····.end·annotation | 27 | ····.end·annotation |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.local·p0,·"pairs":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/oned/rss/expanded/ExpandedPair;>;" | 29 | ····.local·p0,·"pairs":Ljava/util/List;,·"Ljava/util/List<Lcom/google/zxing/oned/rss/expanded/ExpandedPair;>;" |
30 | ····const/4·v1 | 30 | ····const/4·v11,·0x1 |
31 | ····.line·43 | 31 | ····.line·43 |
32 | ····invoke-interface·{p0},·Ljava/util/List;->size()I | 32 | ····invoke-interface·{p0},·Ljava/util/List;->size()I |
33 | ····move-result·v1 | 33 | ····move-result·v10 |
34 | ···· | 34 | ····shl-int/lit8·v10,·v10,·0x1 |
35 | ····add-int/lit8·v2,·v1 | 35 | ····add-int/lit8·v2,·v10,·-0x1 |
36 | ····.line·44 | 36 | ····.line·44 |
37 | ····.local·v2,·"charNumber":I | 37 | ····.local·v2,·"charNumber":I |
38 | ····invoke-interface·{p0},·Ljava/util/List;->size()I | 38 | ····invoke-interface·{p0},·Ljava/util/List;->size()I |
39 | ····move-result·v1 | 39 | ····move-result·v10 |
40 | ····add-int/lit8·v1 | 40 | ····add-int/lit8·v10,·v10,·-0x1 |
41 | ····invoke-interface·{p0,·v1 | 41 | ····invoke-interface·{p0,·v10},·Ljava/util/List;->get(I)Ljava/lang/Object; |
42 | ····move-result-object·v1 | 42 | ····move-result-object·v10 |
43 | ····check-cast·v1 | 43 | ····check-cast·v10,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair; |
44 | ····invoke-virtual·{v1 | 44 | ····invoke-virtual·{v10},·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->getRightChar()Lcom/google/zxing/oned/rss/DataCharacter; |
45 | ····move-result-object·v1 | 45 | ····move-result-object·v10 |
46 | ····if-nez·v1 | 46 | ····if-nez·v10,·:cond_0 |
47 | ····.line·45 | 47 | ····.line·45 |
48 | ····add-int/lit8·v2,·v2,·-0x1 | 48 | ····add-int/lit8·v2,·v2,·-0x1 |
49 | ····.line·48 | 49 | ····.line·48 |
50 | ····:cond_0 | 50 | ····:cond_0 |
51 | ····mul-int/lit8·v | 51 | ····mul-int/lit8·v9,·v2,·0xc |
52 | ····.line·50 | 52 | ····.line·50 |
53 | ····.local·v | 53 | ····.local·v9,·"size":I |
54 | ····new-instance·v1,·Lcom/google/zxing/common/BitArray; | 54 | ····new-instance·v1,·Lcom/google/zxing/common/BitArray; |
55 | ····invoke-direct·{v1,·v | 55 | ····invoke-direct·{v1,·v9},·Lcom/google/zxing/common/BitArray;-><init>(I)V |
56 | ····.line·51 | 56 | ····.line·51 |
57 | ····.local·v1,·"binary":Lcom/google/zxing/common/BitArray; | 57 | ····.local·v1,·"binary":Lcom/google/zxing/common/BitArray; |
58 | ····const/4·v0,·0x0 | 58 | ····const/4·v0,·0x0 |
59 | ····.line·53 | 59 | ····.line·53 |
60 | ····.local·v0,·"accPos":I | 60 | ····.local·v0,·"accPos":I |
61 | ····const/4·v1 | 61 | ····const/4·v10,·0x0 |
62 | ····invoke-interface·{p0,·v1 | 62 | ····invoke-interface·{p0,·v10},·Ljava/util/List;->get(I)Ljava/lang/Object; |
63 | ····move-result-object·v | 63 | ····move-result-object·v10 |
64 | ····check-cast·v | 64 | ····check-cast·v10,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair; |
65 | ····.line·54 | 65 | ····.line·54 |
66 | ····.local·v4,·"firstPair":Lcom/google/zxing/oned/rss/expanded/ExpandedPair; | ||
67 | ····invoke-virtual·{v | 66 | ····invoke-virtual·{v10},·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->getRightChar()Lcom/google/zxing/oned/rss/DataCharacter; |
68 | ····move-result-object·v1 | 67 | ····move-result-object·v10 |
69 | ····invoke-virtual·{v1 | 68 | ····invoke-virtual·{v10},·Lcom/google/zxing/oned/rss/DataCharacter;->getValue()I |
70 | ····move-result·v | 69 | ····move-result·v4 |
71 | ····.line·55 | 70 | ····.line·55 |
72 | ····.local·v | 71 | ····.local·v4,·"firstValue":I |
73 | ····const/16·v | 72 | ····const/16·v5,·0xb |
74 | ····.local·v | 73 | ····.local·v5,·"i":I |
75 | ····:goto_0 | 74 | ····:goto_0 |
76 | ····if-ltz·v | 75 | ····if-ltz·v5,·:cond_2 |
77 | ····.line·56 | 76 | ····.line·56 |
78 | ····shl-int·v1 | 77 | ····shl-int·v10,·v11,·v5 |
79 | ····and-int/2addr·v1 | 78 | ····and-int/2addr·v10,·v4 |
80 | ····if-eqz·v1 | 79 | ····if-eqz·v10,·:cond_1 |
81 | ····.line·57 | 80 | ····.line·57 |
82 | ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/BitArray;->set(I)V | 81 | ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/BitArray;->set(I)V |
83 | ····.line·59 | 82 | ····.line·59 |
84 | ····:cond_1 | 83 | ····:cond_1 |
85 | ····add-int/lit8·v0,·v0,·0x1 | 84 | ····add-int/lit8·v0,·v0,·0x1 |
86 | ····.line·55 | 85 | ····.line·55 |
87 | ····add-int/lit8·v | 86 | ····add-int/lit8·v5,·v5,·-0x1 |
88 | ····goto·:goto_0 | 87 | ····goto·:goto_0 |
89 | ····.line·62 | 88 | ····.line·62 |
90 | ····:cond_2 | 89 | ····:cond_2 |
91 | ····const/4·v | 90 | ····const/4·v5,·0x1 |
92 | ····:goto_1 | 91 | ····:goto_1 |
93 | ····invoke-interface·{p0},·Ljava/util/List;->size()I | 92 | ····invoke-interface·{p0},·Ljava/util/List;->size()I |
94 | ····move-result·v1 | 93 | ····move-result·v10 |
95 | ····if-ge·v | 94 | ····if-ge·v5,·v10,·:cond_7 |
Max diff block lines reached; 3165/7572 bytes (41.80%) of diff not shown. |
Offset 249, 21 lines modified | Offset 249, 17 lines modified | ||
249 | .method·public·toString()Ljava/lang/String; | 249 | .method·public·toString()Ljava/lang/String; |
250 | ····.locals·2 | 250 | ····.locals·2 |
251 | ····.prologue | 251 | ····.prologue |
252 | ····.line·74 | 252 | ····.line·74 |
253 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 253 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
254 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | ||
255 | ····const-string·v1,·"[·" | 254 | ····const-string·v1,·"[·" |
256 | ····invoke- | 255 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
257 | ····move-result-object·v0 | ||
258 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->leftChar:Lcom/google/zxing/oned/rss/DataCharacter; | 256 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->leftChar:Lcom/google/zxing/oned/rss/DataCharacter; |
259 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 257 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
260 | ····move-result-object·v0 | 258 | ····move-result-object·v0 |
Offset 303, 17 lines modified | Offset 299, 17 lines modified | ||
303 | ····move-result-object·v0 | 299 | ····move-result-object·v0 |
304 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 300 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
305 | ····move-result-object·v0 | 301 | ····move-result-object·v0 |
302 | ····.line·74 | ||
306 | ····return-object·v0 | 303 | ····return-object·v0 |
307 | ····.line·74 | ||
308 | ····:cond_0 | 304 | ····:cond_0 |
309 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->finderPattern:Lcom/google/zxing/oned/rss/FinderPattern; | 305 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedPair;->finderPattern:Lcom/google/zxing/oned/rss/FinderPattern; |
310 | ····.line·76 | 306 | ····.line·76 |
311 | ····invoke-virtual·{v0},·Lcom/google/zxing/oned/rss/FinderPattern;->getValue()I | 307 | ····invoke-virtual·{v0},·Lcom/google/zxing/oned/rss/FinderPattern;->getValue()I |
312 | ····move-result·v0 | 308 | ····move-result·v0 |
Offset 70, 36 lines modified | Offset 70, 36 lines modified | ||
70 | ····const/4·v5,·0x5 | 70 | ····const/4·v5,·0x5 |
71 | ····const/4·v4,·0x4 | 71 | ····const/4·v4,·0x4 |
72 | ····const/16·v3,·0x8 | 72 | ····const/16·v3,·0x8 |
73 | ····.line·5 | 73 | ····.line·55 |
74 | ····new-array·v0,·v5,·[I | 74 | ····new-array·v0,·v5,·[I |
75 | ····fill-array-data·v0,·:array_0 | 75 | ····fill-array-data·v0,·:array_0 |
76 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->SYMBOL_WIDEST:[I | 76 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->SYMBOL_WIDEST:[I |
77 | ····.line·5 | 77 | ····.line·56 |
78 | ····new-array·v0,·v5,·[I | 78 | ····new-array·v0,·v5,·[I |
79 | ····fill-array-data·v0,·:array_1 | 79 | ····fill-array-data·v0,·:array_1 |
80 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->EVEN_TOTAL_SUBSET:[I | 80 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->EVEN_TOTAL_SUBSET:[I |
81 | ····.line·5 | 81 | ····.line·57 |
82 | ····new-array·v0,·v5,·[I | 82 | ····new-array·v0,·v5,·[I |
83 | ····fill-array-data·v0,·:array_2 | 83 | ····fill-array-data·v0,·:array_2 |
84 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->GSUM:[I | 84 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->GSUM:[I |
85 | ····.line·5 | 85 | ····.line·59 |
86 | ····const/4·v0,·0x6 | 86 | ····const/4·v0,·0x6 |
87 | ····new-array·v0,·v0,·[[I | 87 | ····new-array·v0,·v0,·[[I |
88 | ····const/4·v1,·0x0 | 88 | ····const/4·v1,·0x0 |
89 | ····new-array·v2,·v4,·[I | 89 | ····new-array·v2,·v4,·[I |
Offset 138, 15 lines modified | Offset 138, 15 lines modified | ||
138 | ····fill-array-data·v1,·:array_8 | 138 | ····fill-array-data·v1,·:array_8 |
139 | ····aput-object·v1,·v0,·v5 | 139 | ····aput-object·v1,·v0,·v5 |
140 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERNS:[[I | 140 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERNS:[[I |
141 | ····.line·6 | 141 | ····.line·68 |
142 | ····const/16·v0,·0x17 | 142 | ····const/16·v0,·0x17 |
143 | ····new-array·v0,·v0,·[[I | 143 | ····new-array·v0,·v0,·[[I |
144 | ····const/4·v1,·0x0 | 144 | ····const/4·v1,·0x0 |
145 | ····new-array·v2,·v3,·[I | 145 | ····new-array·v2,·v3,·[I |
Offset 319, 15 lines modified | Offset 319, 15 lines modified | ||
319 | ····fill-array-data·v2,·:array_1f | 319 | ····fill-array-data·v2,·:array_1f |
320 | ····aput-object·v2,·v0,·v1 | 320 | ····aput-object·v2,·v0,·v1 |
321 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->WEIGHTS:[[I | 321 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->WEIGHTS:[[I |
322 | ····.line·10 | 322 | ····.line·101 |
323 | ····const/16·v0,·0xa | 323 | ····const/16·v0,·0xa |
324 | ····new-array·v0,·v0,·[[I | 324 | ····new-array·v0,·v0,·[[I |
325 | ····const/4·v1,·0x0 | 325 | ····const/4·v1,·0x0 |
326 | ····new-array·v2,·v6,·[I | 326 | ····new-array·v2,·v6,·[I |
Offset 408, 45 lines modified | Offset 408, 45 lines modified | ||
408 | ····aput-object·v2,·v0,·v1 | 408 | ····aput-object·v2,·v0,·v1 |
409 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERN_SEQUENCES:[[I | 409 | ····sput-object·v0,·Lcom/google/zxing/oned/rss/expanded/RSSExpandedReader;->FINDER_PATTERN_SEQUENCES:[[I |
410 | ····return-void | 410 | ····return-void |
411 | ····.line·5 | 411 | ····.line·55 |
412 | ····:array_0 | 412 | ····:array_0 |
413 | ····.array-data·4 | 413 | ····.array-data·4 |
414 | ········0x7 | 414 | ········0x7 |
415 | ········0x5 | 415 | ········0x5 |
416 | ········0x4 | 416 | ········0x4 |
417 | ········0x3 | 417 | ········0x3 |
418 | ········0x1 | 418 | ········0x1 |
419 | ····.end·array-data | 419 | ····.end·array-data |
420 | ····.line·5 | 420 | ····.line·56 |
421 | ····:array_1 | 421 | ····:array_1 |
422 | ····.array-data·4 | 422 | ····.array-data·4 |
423 | ········0x4 | 423 | ········0x4 |
424 | ········0x14 | 424 | ········0x14 |
425 | ········0x34 | 425 | ········0x34 |
426 | ········0x68 | 426 | ········0x68 |
427 | ········0xcc | 427 | ········0xcc |
428 | ····.end·array-data | 428 | ····.end·array-data |
429 | ····.line·5 | 429 | ····.line·57 |
430 | ····:array_2 | 430 | ····:array_2 |
431 | ····.array-data·4 | 431 | ····.array-data·4 |
432 | ········0x0 | 432 | ········0x0 |
433 | ········0x15c | 433 | ········0x15c |
434 | ········0x56c | 434 | ········0x56c |
435 | ········0xb84 | 435 | ········0xb84 |
436 | ········0xf94 | 436 | ········0xf94 |
437 | ····.end·array-data | 437 | ····.end·array-data |
438 | ····.line·5 | 438 | ····.line·59 |
439 | ····:array_3 | 439 | ····:array_3 |
440 | ····.array-data·4 | 440 | ····.array-data·4 |
441 | ········0x1 | 441 | ········0x1 |
442 | ········0x8 | 442 | ········0x8 |
443 | ········0x4 | 443 | ········0x4 |
444 | ········0x1 | 444 | ········0x1 |
445 | ····.end·array-data | 445 | ····.end·array-data |
Offset 487, 15 lines modified | Offset 487, 15 lines modified | ||
487 | ····.array-data·4 | 487 | ····.array-data·4 |
488 | ········0x2 | 488 | ········0x2 |
489 | ········0x2 | 489 | ········0x2 |
490 | ········0x9 | 490 | ········0x9 |
491 | ········0x1 | 491 | ········0x1 |
492 | ····.end·array-data | 492 | ····.end·array-data |
493 | ····.line·6 | 493 | ····.line·68 |
494 | ····:array_9 | 494 | ····:array_9 |
495 | ····.array-data·4 | 495 | ····.array-data·4 |
496 | ········0x1 | 496 | ········0x1 |
497 | ········0x3 | 497 | ········0x3 |
Max diff block lines reached; 102504/104908 bytes (97.71%) of diff not shown. |
Offset 199, 21 lines modified | Offset 199, 17 lines modified | ||
199 | .method·public·toString()Ljava/lang/String; | 199 | .method·public·toString()Ljava/lang/String; |
200 | ····.locals·2 | 200 | ····.locals·2 |
201 | ····.prologue | 201 | ····.prologue |
202 | ····.line·56 | 202 | ····.line·56 |
203 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 203 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
204 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | ||
205 | ····const-string·v1,·"{·" | 204 | ····const-string·v1,·"{·" |
206 | ····invoke- | 205 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
207 | ····move-result-object·v0 | ||
208 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedRow;->pairs:Ljava/util/List; | 206 | ····iget-object·v1,·p0,·Lcom/google/zxing/oned/rss/expanded/ExpandedRow;->pairs:Ljava/util/List; |
209 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 207 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
210 | ····move-result-object·v0 | 208 | ····move-result-object·v0 |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | .class·abstract·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder; | 1 | .class·abstract·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder; |
2 | .super·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder; | 2 | .super·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder; |
3 | .source·"AI01decoder.java" | 3 | .source·"AI01decoder.java" |
4 | #·static·fields | 4 | #·static·fields |
5 | .field· | 5 | .field·static·final·GTIN_SIZE:I·=·0x28 |
6 | #·direct·methods | 6 | #·direct·methods |
7 | .method·constructor·<init>(Lcom/google/zxing/common/BitArray;)V | 7 | .method·constructor·<init>(Lcom/google/zxing/common/BitArray;)V |
8 | ····.locals·0 | 8 | ····.locals·0 |
9 | ····.param·p1,·"information"····#·Lcom/google/zxing/common/BitArray; | 9 | ····.param·p1,·"information"····#·Lcom/google/zxing/common/BitArray; |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | ····.line·79 | 85 | ····.line·79 |
86 | ····return-void | 86 | ····return-void |
87 | .end·method | 87 | .end·method |
88 | #·virtual·methods | 88 | #·virtual·methods |
89 | .method· | 89 | .method·final·encodeCompressedGtin(Ljava/lang/StringBuilder;I)V |
90 | ····.locals·2 | 90 | ····.locals·2 |
91 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; | 91 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; |
92 | ····.param·p2,·"currentPos"····#·I | 92 | ····.param·p2,·"currentPos"····#·I |
93 | ····.prologue | 93 | ····.prologue |
94 | ····.line·44 | 94 | ····.line·44 |
95 | ····const-string·v1,·"(01)" | 95 | ····const-string·v1,·"(01)" |
Offset 114, 15 lines modified | Offset 114, 15 lines modified | ||
114 | ····.line·48 | 114 | ····.line·48 |
115 | ····invoke-virtual·{p0,·p1,·p2,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder;->encodeCompressedGtinWithoutAI(Ljava/lang/StringBuilder;II)V | 115 | ····invoke-virtual·{p0,·p1,·p2,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01decoder;->encodeCompressedGtinWithoutAI(Ljava/lang/StringBuilder;II)V |
116 | ····.line·49 | 116 | ····.line·49 |
117 | ····return-void | 117 | ····return-void |
118 | .end·method | 118 | .end·method |
119 | .method· | 119 | .method·final·encodeCompressedGtinWithoutAI(Ljava/lang/StringBuilder;II)V |
120 | ····.locals·6 | 120 | ····.locals·6 |
121 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; | 121 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; |
122 | ····.param·p2,·"currentPos"····#·I | 122 | ····.param·p2,·"currentPos"····#·I |
123 | ····.param·p3,·"initialBufferPosition"····#·I | 123 | ····.param·p3,·"initialBufferPosition"····#·I |
124 | ····.prologue | 124 | ····.prologue |
125 | ····const/16·v5,·0x30 | 125 | ····const/16·v5,·0x30 |
Offset 2839, 21 lines modified | Offset 2839, 17 lines modified | ||
2839 | ····move-result-object·v3 | 2839 | ····move-result-object·v3 |
2840 | ····.line·271 | 2840 | ····.line·271 |
2841 | ····.local·v3,·"remaining":Ljava/lang/String; | 2841 | ····.local·v3,·"remaining":Ljava/lang/String; |
2842 | ····new-instance·v5,·Ljava/lang/StringBuilder; | 2842 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
2843 | ····const-string·v6,·"(" | ||
2843 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V | ||
2844 | ····const/16·v6,·0x28 | ||
2845 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | ||
2846 | ···· | 2844 | ····invoke-direct·{v5,·v6},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
2847 | ····invoke-virtual·{v5,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 2845 | ····invoke-virtual·{v5,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
2848 | ····move-result-object·v5 | 2846 | ····move-result-object·v5 |
2849 | ····const/16·v6,·0x29 | 2847 | ····const/16·v6,·0x29 |
Offset 2951, 21 lines modified | Offset 2947, 17 lines modified | ||
2951 | ····move-result-object·v4 | 2947 | ····move-result-object·v4 |
2952 | ····.line·287 | 2948 | ····.line·287 |
2953 | ····.local·v4,·"remaining":Ljava/lang/String; | 2949 | ····.local·v4,·"remaining":Ljava/lang/String; |
2954 | ····new-instance·v6,·Ljava/lang/StringBuilder; | 2950 | ····new-instance·v6,·Ljava/lang/StringBuilder; |
2951 | ····const-string·v7,·"(" | ||
2955 | ····invoke-direct·{v6},·Ljava/lang/StringBuilder;-><init>()V | ||
2956 | ····const/16·v7,·0x28 | ||
2957 | ····invoke- | 2952 | ····invoke-direct·{v6,·v7},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
2958 | ····move-result-object·v6 | ||
2959 | ····invoke-virtual·{v6,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 2953 | ····invoke-virtual·{v6,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
2960 | ····move-result-object·v6 | 2954 | ····move-result-object·v6 |
2961 | ····const/16·v7,·0x29 | 2955 | ····const/16·v7,·0x29 |
Offset 20, 15 lines modified | Offset 20, 15 lines modified | ||
20 | #·virtual·methods | 20 | #·virtual·methods |
21 | .method·protected·abstract·addWeightCode(Ljava/lang/StringBuilder;I)V | 21 | .method·protected·abstract·addWeightCode(Ljava/lang/StringBuilder;I)V |
22 | .end·method | 22 | .end·method |
23 | .method·protected·abstract·checkWeight(I)I | 23 | .method·protected·abstract·checkWeight(I)I |
24 | .end·method | 24 | .end·method |
25 | .method· | 25 | .method·final·encodeCompressedWeight(Ljava/lang/StringBuilder;II)V |
26 | ····.locals·5 | 26 | ····.locals·5 |
27 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; | 27 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; |
28 | ····.param·p2,·"currentPos"····#·I | 28 | ····.param·p2,·"currentPos"····#·I |
29 | ····.param·p3,·"weightSize"····#·I | 29 | ····.param·p3,·"weightSize"····#·I |
30 | ····.prologue | 30 | ····.prologue |
31 | ····.line·41 | 31 | ····.line·41 |
Offset 129, 21 lines modified | Offset 129, 17 lines modified | ||
129 | ····packed-switch·v2,·:pswitch_data_0 | 129 | ····packed-switch·v2,·:pswitch_data_0 |
130 | ····.line·418 | 130 | ····.line·418 |
131 | ····new-instance·v3,·Ljava/lang/IllegalStateException; | 131 | ····new-instance·v3,·Ljava/lang/IllegalStateException; |
132 | ····new-instance·v4,·Ljava/lang/StringBuilder; | 132 | ····new-instance·v4,·Ljava/lang/StringBuilder; |
133 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V | ||
134 | ····const-string·v5,·"Decoding·invalid·alphanumeric·value:·" | 133 | ····const-string·v5,·"Decoding·invalid·alphanumeric·value:·" |
135 | ····invoke- | 134 | ····invoke-direct·{v4,·v5},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
136 | ····move-result-object·v4 | ||
137 | ····invoke-virtual·{v4,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 135 | ····invoke-virtual·{v4,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
138 | ····move-result-object·v4 | 136 | ····move-result-object·v4 |
139 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 137 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 212, 153 lines modified | Offset 208, 152 lines modified | ||
212 | ········:pswitch_2 | 208 | ········:pswitch_2 |
213 | ········:pswitch_3 | 209 | ········:pswitch_3 |
214 | ········:pswitch_4 | 210 | ········:pswitch_4 |
215 | ····.end·packed-switch | 211 | ····.end·packed-switch |
216 | .end·method | 212 | .end·method |
217 | .method·private·decodeIsoIec646(I)Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar; | 213 | .method·private·decodeIsoIec646(I)Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar; |
218 | ····.locals· | 214 | ····.locals·6 |
219 | ····.param·p1,·"pos"····#·I | 215 | ····.param·p1,·"pos"····#·I |
220 | ····.annotation·system·Ldalvik/annotation/Throws; | 216 | ····.annotation·system·Ldalvik/annotation/Throws; |
221 | ········value·=·{ | 217 | ········value·=·{ |
222 | ············Lcom/google/zxing/FormatException; | 218 | ············Lcom/google/zxing/FormatException; |
223 | ········} | 219 | ········} |
224 | ····.end·annotation | 220 | ····.end·annotation |
225 | ····.prologue | 221 | ····.prologue |
226 | ····const/16·v | 222 | ····const/16·v5,·0x5a |
227 | ····const/16·v | 223 | ····const/16·v4,·0xf |
228 | ····const/4·v | 224 | ····const/4·v3,·0x5 |
229 | ····.line·274 | 225 | ····.line·274 |
230 | ····invoke-virtual·{p0,·p1,·v | 226 | ····invoke-virtual·{p0,·p1,·v3},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I |
231 | ····move-result·v | 227 | ····move-result·v1 |
232 | ····.line·275 | 228 | ····.line·275 |
233 | ····.local·v | 229 | ····.local·v1,·"fiveBitValue":I |
234 | ····if-ne·v | 230 | ····if-ne·v1,·v4,·:cond_0 |
235 | ····.line·276 | 231 | ····.line·276 |
236 | ····new-instance·v | 232 | ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar; |
237 | ····add-int/lit8·v | 233 | ····add-int/lit8·v4,·p1,·0x5 |
238 | ····const/16·v | 234 | ····const/16·v5,·0x24 |
239 | ····invoke-direct·{v | 235 | ····invoke-direct·{v3,·v4,·v5},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V |
240 | ····.line·362 | 236 | ····.line·362 |
241 | ····:goto_0 | 237 | ····:goto_0 |
242 | ····return-object·v | 238 | ····return-object·v3 |
243 | ····.line·279 | 239 | ····.line·279 |
244 | ····:cond_0 | 240 | ····:cond_0 |
245 | ····if-lt·v | 241 | ····if-lt·v1,·v3,·:cond_1 |
246 | ····if-ge·v | 242 | ····if-ge·v1,·v4,·:cond_1 |
247 | ····.line·280 | 243 | ····.line·280 |
248 | ····new-instance·v | 244 | ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar; |
249 | ····add-int/lit8·v | 245 | ····add-int/lit8·v4,·p1,·0x5 |
250 | ····add-int/lit8·v | 246 | ····add-int/lit8·v5,·v1,·0x30 |
251 | ····add-int/lit8·v | 247 | ····add-int/lit8·v5,·v5,·-0x5 |
252 | ····int-to-char·v | 248 | ····int-to-char·v5,·v5 |
253 | ····invoke-direct·{v | 249 | ····invoke-direct·{v3,·v4,·v5},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V |
254 | ····goto·:goto_0 | 250 | ····goto·:goto_0 |
255 | ····.line·283 | 251 | ····.line·283 |
256 | ····:cond_1 | 252 | ····:cond_1 |
257 | ····const/4·v | 253 | ····const/4·v3,·0x7 |
258 | ····invoke-virtual·{p0,·p1,·v | 254 | ····invoke-virtual·{p0,·p1,·v3},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I |
259 | ····move-result·v | 255 | ····move-result·v2 |
260 | ····.line·285 | 256 | ····.line·285 |
261 | ····.local·v | 257 | ····.local·v2,·"sevenBitValue":I |
262 | ····const/16·v | 258 | ····const/16·v3,·0x40 |
263 | ····if-lt·v | 259 | ····if-lt·v2,·v3,·:cond_2 |
264 | ····if-ge·v | 260 | ····if-ge·v2,·v5,·:cond_2 |
265 | ····.line·286 | 261 | ····.line·286 |
266 | ····new-instance·v | 262 | ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar; |
267 | ····add-int/lit8·v | 263 | ····add-int/lit8·v4,·p1,·0x7 |
268 | ····add-int/lit8·v | 264 | ····add-int/lit8·v5,·v2,·0x1 |
269 | ····int-to-char·v | 265 | ····int-to-char·v5,·v5 |
270 | ····invoke-direct·{v | 266 | ····invoke-direct·{v3,·v4,·v5},·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar;-><init>(IC)V |
271 | ····goto·:goto_0 | 267 | ····goto·:goto_0 |
272 | ····.line·289 | 268 | ····.line·289 |
273 | ····:cond_2 | 269 | ····:cond_2 |
274 | ····if-lt·v | 270 | ····if-lt·v2,·v5,·:cond_3 |
275 | ····const/16·v | 271 | ····const/16·v3,·0x74 |
276 | ····if-ge·v | 272 | ····if-ge·v2,·v3,·:cond_3 |
277 | ····.line·290 | 273 | ····.line·290 |
278 | ····new-instance·v | 274 | ····new-instance·v3,·Lcom/google/zxing/oned/rss/expanded/decoders/DecodedChar; |
Max diff block lines reached; 13459/18257 bytes (73.72%) of diff not shown. |
Offset 35, 159 lines modified | Offset 35, 153 lines modified | ||
35 | ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->firstAIdigits:Ljava/lang/String; | 35 | ····iput-object·p2,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->firstAIdigits:Ljava/lang/String; |
36 | ····.line·49 | 36 | ····.line·49 |
37 | ····return-void | 37 | ····return-void |
38 | .end·method | 38 | .end·method |
39 | .method·private·encodeCompressedDate(Ljava/lang/StringBuilder;I)V | 39 | .method·private·encodeCompressedDate(Ljava/lang/StringBuilder;I)V |
40 | ····.locals· | 40 | ····.locals·6 |
41 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; | 41 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; |
42 | ····.param·p2,·"currentPos"····#·I | 42 | ····.param·p2,·"currentPos"····#·I |
43 | ····.prologue | 43 | ····.prologue |
44 | ····const/16·v | 44 | ····const/16·v5,·0x30 |
45 | ····.line·67 | 45 | ····.line·67 |
46 | ····invoke-virtual·{p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->getGeneralDecoder()Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder; | 46 | ····invoke-virtual·{p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->getGeneralDecoder()Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder; |
47 | ····move-result-object·v | 47 | ····move-result-object·v3 |
48 | ····const/16·v | 48 | ····const/16·v4,·0x10 |
49 | ····invoke-virtual·{v | 49 | ····invoke-virtual·{v3,·p2,·v4},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(II)I |
50 | ····move-result·v2 | 50 | ····move-result·v2 |
51 | ····.line·68 | 51 | ····.line·68 |
52 | ····.local·v2,·"numericDate":I | 52 | ····.local·v2,·"numericDate":I |
53 | ····const·v | 53 | ····const·v3,·0x9600 |
54 | ····if-ne·v2,·v | 54 | ····if-ne·v2,·v3,·:cond_0 |
55 | ····.line·94 | 55 | ····.line·94 |
56 | ····:goto_0 | 56 | ····:goto_0 |
57 | ····return-void | 57 | ····return-void |
58 | ····.line·72 | 58 | ····.line·72 |
59 | ····:cond_0 | 59 | ····:cond_0 |
60 | ····const/16·v | 60 | ····const/16·v3,·0x28 |
61 | ····invoke-virtual·{p1,·v | 61 | ····invoke-virtual·{p1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
62 | ····.line·73 | 62 | ····.line·73 |
63 | ····iget-object·v | 63 | ····iget-object·v3,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->dateCode:Ljava/lang/String; |
64 | ····invoke-virtual·{p1,·v | 64 | ····invoke-virtual·{p1,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
65 | ····.line·74 | 65 | ····.line·74 |
66 | ····const/16·v | 66 | ····const/16·v3,·0x29 |
67 | ····invoke-virtual·{p1,·v | 67 | ····invoke-virtual·{p1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
68 | ····.line·76 | 68 | ····.line·76 |
69 | ····rem-int/lit8·v0,·v2,·0x20 | 69 | ····rem-int/lit8·v0,·v2,·0x20 |
70 | ····.line·77 | 70 | ····.line·77 |
71 | ····.local·v0,·"day":I | 71 | ····.local·v0,·"day":I |
72 | ····div-int/lit8·v2,·v2,·0x20 | 72 | ····div-int/lit8·v2,·v2,·0x20 |
73 | ····.line·78 | 73 | ····.line·78 |
74 | ····rem-int/lit8·v | 74 | ····rem-int/lit8·v3,·v2,·0xc |
75 | ····add-int/lit8·v1,·v | 75 | ····add-int/lit8·v1,·v3,·0x1 |
76 | ····.line·79 | 76 | ····.line·79 |
77 | ····.local·v1,·"month":I | 77 | ····.local·v1,·"month":I |
78 | ····div-int/lit8·v2,·v2,·0xc | 78 | ····div-int/lit8·v2,·v2,·0xc |
79 | ····.line·80 | ||
80 | ····move·v3,·v2 | ||
81 | ····.line·82 | 79 | ····.line·82 |
82 | ····.local·v3,·"year":I | ||
83 | ····div-int/lit8·v | 80 | ····div-int/lit8·v3,·v2,·0xa |
84 | ····if-nez·v | 81 | ····if-nez·v3,·:cond_1 |
85 | ····.line·83 | 82 | ····.line·83 |
86 | ····invoke-virtual·{p1,·v | 83 | ····invoke-virtual·{p1,·v5},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
87 | ····.line·85 | 84 | ····.line·85 |
88 | ····:cond_1 | 85 | ····:cond_1 |
89 | ····invoke-virtual·{p1,·v | 86 | ····invoke-virtual·{p1,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
90 | ····.line·86 | 87 | ····.line·86 |
91 | ····div-int/lit8·v | 88 | ····div-int/lit8·v3,·v1,·0xa |
92 | ····if-nez·v | 89 | ····if-nez·v3,·:cond_2 |
93 | ····.line·87 | 90 | ····.line·87 |
94 | ····invoke-virtual·{p1,·v | 91 | ····invoke-virtual·{p1,·v5},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
95 | ····.line·89 | 92 | ····.line·89 |
96 | ····:cond_2 | 93 | ····:cond_2 |
97 | ····invoke-virtual·{p1,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 94 | ····invoke-virtual·{p1,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
98 | ····.line·90 | 95 | ····.line·90 |
99 | ····div-int/lit8·v | 96 | ····div-int/lit8·v3,·v0,·0xa |
100 | ····if-nez·v | 97 | ····if-nez·v3,·:cond_3 |
101 | ····.line·91 | 98 | ····.line·91 |
102 | ····invoke-virtual·{p1,·v | 99 | ····invoke-virtual·{p1,·v5},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
103 | ····.line·93 | 100 | ····.line·93 |
104 | ····:cond_3 | 101 | ····:cond_3 |
105 | ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 102 | ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
106 | ····goto·:goto_0 | 103 | ····goto·:goto_0 |
107 | .end·method | 104 | .end·method |
108 | #·virtual·methods | 105 | #·virtual·methods |
109 | .method·protected·addWeightCode(Ljava/lang/StringBuilder;I)V | 106 | .method·protected·addWeightCode(Ljava/lang/StringBuilder;I)V |
110 | ····.locals· | 107 | ····.locals·1 |
111 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; | 108 | ····.param·p1,·"buf"····#·Ljava/lang/StringBuilder; |
112 | ····.param·p2,·"weight"····#·I | 109 | ····.param·p2,·"weight"····#·I |
113 | ····.prologue | 110 | ····.prologue |
114 | ····.line·98 | 111 | ····.line·98 |
115 | ····const·v | 112 | ····const/16·v0,·0x28 |
116 | ···· | 113 | ····invoke-virtual·{p1,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
117 | ····.line·99 | 114 | ····.line·99 |
115 | ····iget-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013x0x1xDecoder;->firstAIdigits:Ljava/lang/String; | ||
118 | ····.local·v0,·"lastAI":I | ||
119 | ····const/16·v1,·0x28 | ||
Max diff block lines reached; 1146/5797 bytes (19.77%) of diff not shown. |
Offset 29, 241 lines modified | Offset 29, 230 lines modified | ||
29 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;->generalDecoder:Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder; | 29 | ····iput-object·v0,·p0,·Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder;->generalDecoder:Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder; |
30 | ····.line·45 | 30 | ····.line·45 |
31 | ····return-void | 31 | ····return-void |
32 | .end·method | 32 | .end·method |
33 | .method·public·static·createDecoder(Lcom/google/zxing/common/BitArray;)Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder; | 33 | .method·public·static·createDecoder(Lcom/google/zxing/common/BitArray;)Lcom/google/zxing/oned/rss/expanded/decoders/AbstractExpandedDecoder; |
34 | ····.locals· | 34 | ····.locals·3 |
35 | ····.param·p0,·"information"····#·Lcom/google/zxing/common/BitArray; | 35 | ····.param·p0,·"information"····#·Lcom/google/zxing/common/BitArray; |
36 | ····.prologue | 36 | ····.prologue |
37 | ····const/4·v | 37 | ····const/4·v1,·0x1 |
38 | ····.line·58 | 38 | ····.line·58 |
39 | ····invoke-virtual·{p0,·v | 39 | ····invoke-virtual·{p0,·v1},·Lcom/google/zxing/common/BitArray;->get(I)Z |
40 | ····move-result·v | 40 | ····move-result·v0 |
41 | ····if-eqz·v | 41 | ····if-eqz·v0,·:cond_0 |
42 | ····.line·59 | 42 | ····.line·59 |
43 | ····new-instance·v | 43 | ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01AndOtherAIs; |
44 | ····invoke-direct·{v | 44 | ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01AndOtherAIs;-><init>(Lcom/google/zxing/common/BitArray;)V |
45 | ····.line·87 | 45 | ····.line·87 |
46 | ····:goto_0 | 46 | ····:goto_0 |
47 | ····return-object·v | 47 | ····return-object·v0 |
48 | ····.line·61 | 48 | ····.line·61 |
49 | ····:cond_0 | 49 | ····:cond_0 |
50 | ····const/4·v | 50 | ····const/4·v0,·0x2 |
51 | ····invoke-virtual·{p0,·v | 51 | ····invoke-virtual·{p0,·v0},·Lcom/google/zxing/common/BitArray;->get(I)Z |
52 | ····move-result·v | 52 | ····move-result·v0 |
53 | ····if-nez·v | 53 | ····if-nez·v0,·:cond_1 |
54 | ····.line·62 | 54 | ····.line·62 |
55 | ····new-instance·v | 55 | ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AnyAIDecoder; |
56 | ····invoke-direct·{v | 56 | ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AnyAIDecoder;-><init>(Lcom/google/zxing/common/BitArray;)V |
57 | ····goto·:goto_0 | 57 | ····goto·:goto_0 |
58 | ····.line·65 | 58 | ····.line·65 |
59 | ····:cond_1 | 59 | ····:cond_1 |
60 | ····const/4·v | 60 | ····const/4·v0,·0x4 |
61 | ····invoke-static·{p0,·v | 61 | ····invoke-static·{p0,·v1,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I |
62 | ····move-result·v | 62 | ····move-result·v0 |
63 | ····.line·67 | 63 | ····.line·67 |
64 | ····.local·v1,·"fourBitEncodationMethod":I | ||
65 | ····packed-switch·v | 64 | ····packed-switch·v0,·:pswitch_data_0 |
66 | ····.line·72 | 65 | ····.line·72 |
67 | ····const/4·v | 66 | ····const/4·v0,·0x5 |
68 | ····invoke-static·{p0,·v | 67 | ····invoke-static·{p0,·v1,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I |
69 | ····move-result·v0 | 68 | ····move-result·v0 |
70 | ····.line·73 | 69 | ····.line·73 |
71 | ····.local·v0,·"fiveBitEncodationMethod":I | ||
72 | ····packed-switch·v0,·:pswitch_data_1 | 70 | ····packed-switch·v0,·:pswitch_data_1 |
73 | ····.line·78 | 71 | ····.line·78 |
74 | ····const/4·v | 72 | ····const/4·v0,·0x7 |
75 | ····invoke-static·{p0,·v | 73 | ····invoke-static·{p0,·v1,·v0},·Lcom/google/zxing/oned/rss/expanded/decoders/GeneralAppIdDecoder;->extractNumericValueFromBitArray(Lcom/google/zxing/common/BitArray;II)I |
76 | ····move-result·v | 74 | ····move-result·v0 |
77 | ····.line·79 | 75 | ····.line·79 |
78 | ····.local·v2,·"sevenBitEncodationMethod":I | ||
79 | ····packed-switch·v | 76 | ····packed-switch·v0,·:pswitch_data_2 |
80 | ····.line·90 | 77 | ····.line·90 |
81 | ····new-instance·v | 78 | ····new-instance·v0,·Ljava/lang/IllegalStateException; |
82 | ····new-instance·v4,·Ljava/lang/StringBuilder; | ||
83 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V | ||
84 | ···· | 79 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
85 | ···· | 80 | ····const-string·v2,·"unknown·decoder:·" |
86 | ···· | 81 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
87 | ····invoke-virtual·{v | 82 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
88 | ····move-result-object·v | 83 | ····move-result-object·v1 |
89 | ····invoke-virtual·{v | 84 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
90 | ····move-result-object·v | 85 | ····move-result-object·v1 |
91 | ····invoke-direct·{v | 86 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
92 | ····throw·v | 87 | ····throw·v0 |
93 | ····.line·68 | 88 | ····.line·68 |
94 | ····.end·local·v0····#·"fiveBitEncodationMethod":I | ||
95 | ····.end·local·v2····#·"sevenBitEncodationMethod":I | ||
96 | ····:pswitch_0 | 89 | ····:pswitch_0 |
97 | ····new-instance·v | 90 | ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI013103decoder; |
98 | ····invoke-direct·{v | 91 | ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI013103decoder;-><init>(Lcom/google/zxing/common/BitArray;)V |
99 | ····goto·:goto_0 | 92 | ····goto·:goto_0 |
100 | ····.line·69 | 93 | ····.line·69 |
101 | ····:pswitch_1 | 94 | ····:pswitch_1 |
102 | ····new-instance·v | 95 | ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01320xDecoder; |
103 | ····invoke-direct·{v | 96 | ····invoke-direct·{v0,·p0},·Lcom/google/zxing/oned/rss/expanded/decoders/AI01320xDecoder;-><init>(Lcom/google/zxing/common/BitArray;)V |
104 | ····goto·:goto_0 | 97 | ····goto·:goto_0 |
105 | ····.line·74 | 98 | ····.line·74 |
106 | ····.restart·local·v0····#·"fiveBitEncodationMethod":I | ||
107 | ····:pswitch_2 | 99 | ····:pswitch_2 |
108 | ····new-instance·v | 100 | ····new-instance·v0,·Lcom/google/zxing/oned/rss/expanded/decoders/AI01392xDecoder; |
Max diff block lines reached; 6535/13015 bytes (50.21%) of diff not shown. |
Offset 17, 54 lines modified | Offset 17, 54 lines modified | ||
17 | ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix; | 17 | ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix; |
18 | ····.param·p2,·"points"····#·[Lcom/google/zxing/ResultPoint; | 18 | ····.param·p2,·"points"····#·[Lcom/google/zxing/ResultPoint; |
19 | ····.param·p3,·"compact"····#·Z | 19 | ····.param·p3,·"compact"····#·Z |
20 | ····.param·p4,·"nbDatablocks"····#·I | 20 | ····.param·p4,·"nbDatablocks"····#·I |
21 | ····.param·p5,·"nbLayers"····#·I | 21 | ····.param·p5,·"nbLayers"····#·I |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line· | 23 | ····.line·40 |
24 | ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/common/DetectorResult;-><init>(Lcom/google/zxing/common/BitMatrix;[Lcom/google/zxing/ResultPoint;)V | 24 | ····invoke-direct·{p0,·p1,·p2},·Lcom/google/zxing/common/DetectorResult;-><init>(Lcom/google/zxing/common/BitMatrix;[Lcom/google/zxing/ResultPoint;)V |
25 | ····.line· | 25 | ····.line·41 |
26 | ····iput-boolean·p3,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z | 26 | ····iput-boolean·p3,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z |
27 | ····.line· | 27 | ····.line·42 |
28 | ····iput·p4,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I | 28 | ····iput·p4,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I |
29 | ····.line· | 29 | ····.line·43 |
30 | ····iput·p5,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I | 30 | ····iput·p5,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I |
31 | ····.line· | 31 | ····.line·44 |
32 | ····return-void | 32 | ····return-void |
33 | .end·method | 33 | .end·method |
34 | #·virtual·methods | 34 | #·virtual·methods |
35 | .method·public·getNbDatablocks()I | 35 | .method·public·getNbDatablocks()I |
36 | ····.locals·1 | 36 | ····.locals·1 |
37 | ····.prologue | 37 | ····.prologue |
38 | ····.line· | 38 | ····.line·51 |
39 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I | 39 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbDatablocks:I |
40 | ····return·v0 | 40 | ····return·v0 |
41 | .end·method | 41 | .end·method |
42 | .method·public·getNbLayers()I | 42 | .method·public·getNbLayers()I |
43 | ····.locals·1 | 43 | ····.locals·1 |
44 | ····.prologue | 44 | ····.prologue |
45 | ····.line·4 | 45 | ····.line·47 |
46 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I | 46 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->nbLayers:I |
47 | ····return·v0 | 47 | ····return·v0 |
48 | .end·method | 48 | .end·method |
49 | .method·public·isCompact()Z | 49 | .method·public·isCompact()Z |
50 | ····.locals·1 | 50 | ····.locals·1 |
51 | ····.prologue | 51 | ····.prologue |
52 | ····.line· | 52 | ····.line·55 |
53 | ····iget-boolean·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z | 53 | ····iget-boolean·v0,·p0,·Lcom/google/zxing/aztec/AztecDetectorResult;->compact:Z |
54 | ····return·v0 | 54 | ····return·v0 |
55 | .end·method | 55 | .end·method |
Offset 37, 15 lines modified | Offset 37, 15 lines modified | ||
37 | ····move-result-object·v0 | 37 | ····move-result-object·v0 |
38 | ····return-object·v0 | 38 | ····return-object·v0 |
39 | .end·method | 39 | .end·method |
40 | .method·public·decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result; | 40 | .method·public·decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)Lcom/google/zxing/Result; |
41 | ····.locals· | 41 | ····.locals·20 |
42 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; | 42 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; |
43 | ····.annotation·system·Ldalvik/annotation/Signature; | 43 | ····.annotation·system·Ldalvik/annotation/Signature; |
44 | ········value·=·{ | 44 | ········value·=·{ |
45 | ············"(", | 45 | ············"(", |
46 | ············"Lcom/google/zxing/BinaryBitmap;", | 46 | ············"Lcom/google/zxing/BinaryBitmap;", |
47 | ············"Ljava/util/Map", | 47 | ············"Ljava/util/Map", |
48 | ············"<", | 48 | ············"<", |
Offset 61, 248 lines modified | Offset 61, 253 lines modified | ||
61 | ············Lcom/google/zxing/FormatException; | 61 | ············Lcom/google/zxing/FormatException; |
62 | ········} | 62 | ········} |
63 | ····.end·annotation | 63 | ····.end·annotation |
64 | ····.prologue | 64 | ····.prologue |
65 | ····.line·59 | 65 | ····.line·59 |
66 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 66 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
67 | ····const/ | 67 | ····const/16·v17,·0x0 |
68 | ····.line·60 | 68 | ····.line·60 |
69 | ····.local·v | 69 | ····.local·v17,·"notFoundException":Lcom/google/zxing/NotFoundException; |
70 | ····const/ | 70 | ····const/16·v16,·0x0 |
71 | ····.line·61 | 71 | ····.line·61 |
72 | ····.local·v | 72 | ····.local·v16,·"formatException":Lcom/google/zxing/FormatException; |
73 | ····new-instance·v | 73 | ····new-instance·v12,·Lcom/google/zxing/aztec/detector/Detector; |
74 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix; | 74 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/BinaryBitmap;->getBlackMatrix()Lcom/google/zxing/common/BitMatrix; |
75 | ····move-result-object·v | 75 | ····move-result-object·v3 |
76 | ····invoke-direct·{v | 76 | ····invoke-direct·{v12,·v3},·Lcom/google/zxing/aztec/detector/Detector;-><init>(Lcom/google/zxing/common/BitMatrix;)V |
77 | ····.line·62 | 77 | ····.line·62 |
78 | ····.local·v | 78 | ····.local·v12,·"detector":Lcom/google/zxing/aztec/detector/Detector; |
79 | ····const/4·v | 79 | ····const/4·v6,·0x0 |
80 | ····.line·63 | 80 | ····.line·63 |
81 | ····.local·v | 81 | ····.local·v6,·"points":[Lcom/google/zxing/ResultPoint; |
82 | ····const/4·v | 82 | ····const/4·v11,·0x0 |
83 | ····.line·65 | 83 | ····.line·65 |
84 | ····.local·v | 84 | ····.local·v11,·"decoderResult":Lcom/google/zxing/common/DecoderResult; |
85 | ····const/4·v | 85 | ····const/4·v3,·0x0 |
86 | ····:try_start_0 | 86 | ····:try_start_0 |
87 | ····invoke-virtual·{v | 87 | ····invoke-virtual·{v12,·v3},·Lcom/google/zxing/aztec/detector/Detector;->detect(Z)Lcom/google/zxing/aztec/AztecDetectorResult; |
88 | ····move-result-object·v | 88 | ····move-result-object·v13 |
89 | ····.line·66 | 89 | ····.line·66 |
90 | ····.local·v | 90 | ····.local·v13,·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult; |
91 | ····invoke-virtual·{v | 91 | ····invoke-virtual·{v13},·Lcom/google/zxing/aztec/AztecDetectorResult;->getPoints()[Lcom/google/zxing/ResultPoint; |
92 | ····move-result-object·v | 92 | ····move-result-object·v6 |
93 | ····.line·67 | 93 | ····.line·67 |
94 | ····new-instance·v | 94 | ····new-instance·v3,·Lcom/google/zxing/aztec/decoder/Decoder; |
95 | ····invoke-direct·{v | 95 | ····invoke-direct·{v3},·Lcom/google/zxing/aztec/decoder/Decoder;-><init>()V |
96 | ····invoke-virtual·{v | 96 | ····invoke-virtual·{v3,·v13},·Lcom/google/zxing/aztec/decoder/Decoder;->decode(Lcom/google/zxing/aztec/AztecDetectorResult;)Lcom/google/zxing/common/DecoderResult; |
97 | ····:try_end_0 | 97 | ····:try_end_0 |
98 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 98 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
99 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_1 | 99 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_1 |
100 | ····move-result-object·v | 100 | ····move-result-object·v11 |
101 | ····.line·73 | 101 | ····.line·73 |
102 | ····.end·local·v | 102 | ····.end·local·v13····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult; |
103 | ····:goto_0 | 103 | ····:goto_0 |
104 | ····if-nez·v | 104 | ····if-nez·v11,·:cond_0 |
105 | ····.line·75 | 105 | ····.line·75 |
106 | ····const/4·v | 106 | ····const/4·v3,·0x1 |
107 | ····:try_start_1 | 107 | ····:try_start_1 |
108 | ····invoke-virtual·{v | 108 | ····invoke-virtual·{v12,·v3},·Lcom/google/zxing/aztec/detector/Detector;->detect(Z)Lcom/google/zxing/aztec/AztecDetectorResult; |
109 | ····move-result-object·v | 109 | ····move-result-object·v13 |
110 | ····.line·76 | 110 | ····.line·76 |
111 | ····.restart·local·v | 111 | ····.restart·local·v13····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult; |
112 | ····invoke-virtual·{v | 112 | ····invoke-virtual·{v13},·Lcom/google/zxing/aztec/AztecDetectorResult;->getPoints()[Lcom/google/zxing/ResultPoint; |
113 | ····move-result-object·v | 113 | ····move-result-object·v6 |
114 | ····.line·77 | 114 | ····.line·77 |
115 | ····new-instance·v | 115 | ····new-instance·v3,·Lcom/google/zxing/aztec/decoder/Decoder; |
116 | ····invoke-direct·{v | 116 | ····invoke-direct·{v3},·Lcom/google/zxing/aztec/decoder/Decoder;-><init>()V |
117 | ····invoke-virtual·{v | 117 | ····invoke-virtual·{v3,·v13},·Lcom/google/zxing/aztec/decoder/Decoder;->decode(Lcom/google/zxing/aztec/AztecDetectorResult;)Lcom/google/zxing/common/DecoderResult; |
118 | ····:try_end_1 | 118 | ····:try_end_1 |
119 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_2 | 119 | ····.catch·Lcom/google/zxing/NotFoundException;·{:try_start_1·..·:try_end_1}·:catch_2 |
120 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_1·..·:try_end_1}·:catch_3 | 120 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_1·..·:try_end_1}·:catch_3 |
121 | ····move-result-object·v | 121 | ····move-result-object·v11 |
122 | ····.line·89 | 122 | ····.line·89 |
123 | ····.end·local·v | 123 | ····.end·local·v13····#·"detectorResult":Lcom/google/zxing/aztec/AztecDetectorResult; |
124 | ····:cond_0 | 124 | ····:cond_0 |
125 | ····if-eqz·p2,·:cond_3 | 125 | ····if-eqz·p2,·:cond_3 |
126 | ····.line·90 | 126 | ····.line·90 |
127 | ····sget-object·v | 127 | ····sget-object·v3,·Lcom/google/zxing/DecodeHintType;->NEED_RESULT_POINT_CALLBACK:Lcom/google/zxing/DecodeHintType; |
128 | ····move-object/from16·v0,·p2 | 128 | ····move-object/from16·v0,·p2 |
129 | ····invoke-interface·{v0,·v | 129 | ····invoke-interface·{v0,·v3},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
130 | ····move-result-object·v1 | 130 | ····move-result-object·v19 |
131 | ····check-cast·v1 | 131 | ····check-cast·v19,·Lcom/google/zxing/ResultPointCallback; |
132 | ····.line·91 | 132 | ····.line·91 |
133 | ····.local·v1 | 133 | ····.local·v19,·"rpcb":Lcom/google/zxing/ResultPointCallback; |
134 | ····if-eqz·v1 | 134 | ····if-eqz·v19,·:cond_3 |
135 | ····.line·92 | 135 | ····.line·92 |
136 | ····array-length·v | 136 | ····array-length·v4,·v6 |
Max diff block lines reached; 6463/13510 bytes (47.84%) of diff not shown. |
Offset 11, 15 lines modified | Offset 11, 15 lines modified | ||
11 | #·direct·methods | 11 | #·direct·methods |
12 | .method·static·constructor·<clinit>()V | 12 | .method·static·constructor·<clinit>()V |
13 | ····.locals·1 | 13 | ····.locals·1 |
14 | ····.prologue | 14 | ····.prologue |
15 | ····.line·3 | 15 | ····.line·34 |
16 | ····const-string·v0,·"ISO-8859-1" | 16 | ····const-string·v0,·"ISO-8859-1" |
17 | ····invoke-static·{v0},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset; | 17 | ····invoke-static·{v0},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset; |
18 | ····move-result-object·v0 | 18 | ····move-result-object·v0 |
19 | ····sput-object·v0,·Lcom/google/zxing/aztec/AztecWriter;->DEFAULT_CHARSET:Ljava/nio/charset/Charset; | 19 | ····sput-object·v0,·Lcom/google/zxing/aztec/AztecWriter;->DEFAULT_CHARSET:Ljava/nio/charset/Charset; |
Offset 27, 211 lines modified | Offset 27, 206 lines modified | ||
27 | ····return-void | 27 | ····return-void |
28 | .end·method | 28 | .end·method |
29 | .method·public·constructor·<init>()V | 29 | .method·public·constructor·<init>()V |
30 | ····.locals·0 | 30 | ····.locals·0 |
31 | ····.prologue | 31 | ····.prologue |
32 | ····.line· | 32 | ····.line·32 |
33 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 33 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
34 | ····return-void | 34 | ····return-void |
35 | .end·method | 35 | .end·method |
36 | .method·private·static·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/nio/charset/Charset;II)Lcom/google/zxing/common/BitMatrix; | 36 | .method·private·static·encode(Ljava/lang/String;Lcom/google/zxing/BarcodeFormat;IILjava/nio/charset/Charset;II)Lcom/google/zxing/common/BitMatrix; |
37 | ····.locals· | 37 | ····.locals·3 |
38 | ····.param·p0,·"contents"····#·Ljava/lang/String; | 38 | ····.param·p0,·"contents"····#·Ljava/lang/String; |
39 | ····.param·p1,·"format"····#·Lcom/google/zxing/BarcodeFormat; | 39 | ····.param·p1,·"format"····#·Lcom/google/zxing/BarcodeFormat; |
40 | ····.param·p2,·"width"····#·I | 40 | ····.param·p2,·"width"····#·I |
41 | ····.param·p3,·"height"····#·I | 41 | ····.param·p3,·"height"····#·I |
42 | ····.param·p4,·"charset"····#·Ljava/nio/charset/Charset; | 42 | ····.param·p4,·"charset"····#·Ljava/nio/charset/Charset; |
43 | ····.param·p5,·"eccPercent"····#·I | 43 | ····.param·p5,·"eccPercent"····#·I |
44 | ····.param·p6,·"layers"····#·I | 44 | ····.param·p6,·"layers"····#·I |
45 | ····.prologue | 45 | ····.prologue |
46 | ····.line· | 46 | ····.line·63 |
47 | ····sget-object·v | 47 | ····sget-object·v0,·Lcom/google/zxing/BarcodeFormat;->AZTEC:Lcom/google/zxing/BarcodeFormat; |
48 | ····if-eq·p1,·v1,·:cond_0 | ||
49 | ····.line·56 | ||
50 | ····new-instance·v1,·Ljava/lang/IllegalArgumentException; | ||
51 | ···· | 48 | ····if-eq·p1,·v0,·:cond_0 |
52 | ···· | 49 | ····.line·64 |
50 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; | ||
53 | ···· | 51 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
54 | ···· | 52 | ····const-string·v2,·"Can·only·encode·AZTEC,·but·got·" |
55 | ···· | 53 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
56 | ····invoke-virtual·{v | 54 | ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
57 | ····move-result-object·v | 55 | ····move-result-object·v1 |
58 | ····invoke-virtual·{v | 56 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
59 | ····move-result-object·v | 57 | ····move-result-object·v1 |
60 | ····invoke-direct·{v | 58 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
61 | ····throw·v | 59 | ····throw·v0 |
62 | ····.line· | 60 | ····.line·66 |
63 | ····:cond_0 | 61 | ····:cond_0 |
64 | ····invoke-virtual·{p0,·p4},·Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B | 62 | ····invoke-virtual·{p0,·p4},·Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B |
65 | ····move-result-object·v | 63 | ····move-result-object·v0 |
66 | ····invoke-static·{v | 64 | ····invoke-static·{v0,·p5,·p6},·Lcom/google/zxing/aztec/encoder/Encoder;->encode([BII)Lcom/google/zxing/aztec/encoder/AztecCode; |
67 | ····move-result-object·v0 | 65 | ····move-result-object·v0 |
68 | ····.line· | 66 | ····.line·67 |
69 | ····.local·v0,·"aztec":Lcom/google/zxing/aztec/encoder/AztecCode; | ||
70 | ····invoke-static·{v0,·p2,·p3},·Lcom/google/zxing/aztec/AztecWriter;->renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix; | 67 | ····invoke-static·{v0,·p2,·p3},·Lcom/google/zxing/aztec/AztecWriter;->renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix; |
71 | ····move-result-object·v | 68 | ····move-result-object·v0 |
72 | ····return-object·v | 69 | ····return-object·v0 |
73 | .end·method | 70 | .end·method |
74 | .method·private·static·renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix; | 71 | .method·private·static·renderResult(Lcom/google/zxing/aztec/encoder/AztecCode;II)Lcom/google/zxing/common/BitMatrix; |
75 | ····.locals·16 | 72 | ····.locals·16 |
76 | ····.param·p0,·"code"····#·Lcom/google/zxing/aztec/encoder/AztecCode; | 73 | ····.param·p0,·"code"····#·Lcom/google/zxing/aztec/encoder/AztecCode; |
77 | ····.param·p1,·"width"····#·I | 74 | ····.param·p1,·"width"····#·I |
78 | ····.param·p2,·"height"····#·I | 75 | ····.param·p2,·"height"····#·I |
79 | ····.prologue | 76 | ····.prologue |
80 | ····.line· | 77 | ····.line·71 |
81 | ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/aztec/encoder/AztecCode;->getMatrix()Lcom/google/zxing/common/BitMatrix; | 78 | ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/aztec/encoder/AztecCode;->getMatrix()Lcom/google/zxing/common/BitMatrix; |
82 | ····move-result-object·v1 | 79 | ····move-result-object·v1 |
83 | ····.line· | 80 | ····.line·72 |
84 | ····.local·v1,·"input":Lcom/google/zxing/common/BitMatrix; | 81 | ····.local·v1,·"input":Lcom/google/zxing/common/BitMatrix; |
85 | ····if-nez·v1,·:cond_0 | 82 | ····if-nez·v1,·:cond_0 |
86 | ····.line· | 83 | ····.line·73 |
87 | ····new-instance·v14,·Ljava/lang/IllegalStateException; | 84 | ····new-instance·v14,·Ljava/lang/IllegalStateException; |
88 | ····invoke-direct·{v14},·Ljava/lang/IllegalStateException;-><init>()V | 85 | ····invoke-direct·{v14},·Ljava/lang/IllegalStateException;-><init>()V |
89 | ····throw·v14 | 86 | ····throw·v14 |
90 | ····.line· | 87 | ····.line·75 |
91 | ····:cond_0 | 88 | ····:cond_0 |
92 | ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getWidth()I | 89 | ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getWidth()I |
93 | ····move-result·v3 | 90 | ····move-result·v3 |
94 | ····.line· | 91 | ····.line·76 |
95 | ····.local·v3,·"inputWidth":I | 92 | ····.local·v3,·"inputWidth":I |
96 | ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I | 93 | ····invoke-virtual·{v1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I |
97 | ····move-result·v2 | 94 | ····move-result·v2 |
98 | ····.line· | 95 | ····.line·77 |
99 | ····.local·v2,·"inputHeight":I | 96 | ····.local·v2,·"inputHeight":I |
Max diff block lines reached; 8509/13312 bytes (63.92%) of diff not shown. |
Offset 23, 54 lines modified | Offset 23, 54 lines modified | ||
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(II)V | 24 | .method·constructor·<init>(II)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"x"····#·I | 26 | ····.param·p1,·"x"····#·I |
27 | ····.param·p2,·"y"····#·I | 27 | ····.param·p2,·"y"····#·I |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·58 | 29 | ····.line·583 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line·58 | 31 | ····.line·584 |
32 | ····iput·p1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I | 32 | ····iput·p1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I |
33 | ····.line·58 | 33 | ····.line·585 |
34 | ····iput·p2,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I | 34 | ····iput·p2,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I |
35 | ····.line·58 | 35 | ····.line·586 |
36 | ····return-void | 36 | ····return-void |
37 | .end·method | 37 | .end·method |
38 | #·virtual·methods | 38 | #·virtual·methods |
39 | .method·getX()I | 39 | .method·getX()I |
40 | ····.locals·1 | 40 | ····.locals·1 |
41 | ····.prologue | 41 | ····.prologue |
42 | ····.line·58 | 42 | ····.line·589 |
43 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I | 43 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I |
44 | ····return·v0 | 44 | ····return·v0 |
45 | .end·method | 45 | .end·method |
46 | .method·getY()I | 46 | .method·getY()I |
47 | ····.locals·1 | 47 | ····.locals·1 |
48 | ····.prologue | 48 | ····.prologue |
49 | ····.line·59 | 49 | ····.line·593 |
50 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I | 50 | ····iget·v0,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->y:I |
51 | ····return·v0 | 51 | ····return·v0 |
52 | .end·method | 52 | .end·method |
53 | .method·toResultPoint()Lcom/google/zxing/ResultPoint; | 53 | .method·toResultPoint()Lcom/google/zxing/ResultPoint; |
54 | ····.locals·3 | 54 | ····.locals·3 |
55 | ····.prologue | 55 | ····.prologue |
56 | ····.line·5 | 56 | ····.line·580 |
57 | ····new-instance·v0,·Lcom/google/zxing/ResultPoint; | 57 | ····new-instance·v0,·Lcom/google/zxing/ResultPoint; |
58 | ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I | 58 | ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I |
59 | ····move-result·v1 | 59 | ····move-result·v1 |
60 | ····int-to-float·v1,·v1 | 60 | ····int-to-float·v1,·v1 |
Offset 86, 24 lines modified | Offset 86, 20 lines modified | ||
86 | ····return-object·v0 | 86 | ····return-object·v0 |
87 | .end·method | 87 | .end·method |
88 | .method·public·toString()Ljava/lang/String; | 88 | .method·public·toString()Ljava/lang/String; |
89 | ····.locals·2 | 89 | ····.locals·2 |
90 | ····.prologue | 90 | ····.prologue |
91 | ····.line·59 | 91 | ····.line·598 |
92 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 92 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
93 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | ||
94 | ····const-string·v1,·"<" | 93 | ····const-string·v1,·"<" |
95 | ····invoke- | 94 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
96 | ····move-result-object·v0 | ||
97 | ····iget·v1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I | 95 | ····iget·v1,·p0,·Lcom/google/zxing/aztec/detector/Detector$Point;->x:I |
98 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 96 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
99 | ····move-result-object·v0 | 97 | ····move-result-object·v0 |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | .method·private·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F | 73 | .method·private·static·distance(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)F |
74 | ····.locals·4 | 74 | ····.locals·4 |
75 | ····.param·p0,·"a"····#·Lcom/google/zxing/ResultPoint; | 75 | ····.param·p0,·"a"····#·Lcom/google/zxing/ResultPoint; |
76 | ····.param·p1,·"b"····#·Lcom/google/zxing/ResultPoint; | 76 | ····.param·p1,·"b"····#·Lcom/google/zxing/ResultPoint; |
77 | ····.prologue | 77 | ····.prologue |
78 | ····.line·56 | 78 | ····.line·562 |
79 | ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getX()F | 79 | ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getX()F |
80 | ····move-result·v0 | 80 | ····move-result·v0 |
81 | ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getY()F | 81 | ····invoke-virtual·{p0},·Lcom/google/zxing/ResultPoint;->getY()F |
82 | ····move-result·v1 | 82 | ····move-result·v1 |
Offset 103, 15 lines modified | Offset 103, 15 lines modified | ||
103 | .method·private·static·distance(Lcom/google/zxing/aztec/detector/Detector$Point;Lcom/google/zxing/aztec/detector/Detector$Point;)F | 103 | .method·private·static·distance(Lcom/google/zxing/aztec/detector/Detector$Point;Lcom/google/zxing/aztec/detector/Detector$Point;)F |
104 | ····.locals·4 | 104 | ····.locals·4 |
105 | ····.param·p0,·"a"····#·Lcom/google/zxing/aztec/detector/Detector$Point; | 105 | ····.param·p0,·"a"····#·Lcom/google/zxing/aztec/detector/Detector$Point; |
106 | ····.param·p1,·"b"····#·Lcom/google/zxing/aztec/detector/Detector$Point; | 106 | ····.param·p1,·"b"····#·Lcom/google/zxing/aztec/detector/Detector$Point; |
107 | ····.prologue | 107 | ····.prologue |
108 | ····.line·55 | 108 | ····.line·558 |
109 | ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I | 109 | ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getX()I |
110 | ····move-result·v0 | 110 | ····move-result·v0 |
111 | ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getY()I | 111 | ····invoke-virtual·{p0},·Lcom/google/zxing/aztec/detector/Detector$Point;->getY()I |
112 | ····move-result·v1 | 112 | ····move-result·v1 |
Offset 134, 22 lines modified | Offset 134, 22 lines modified | ||
134 | .method·private·static·expandSquare([Lcom/google/zxing/ResultPoint;FF)[Lcom/google/zxing/ResultPoint; | 134 | .method·private·static·expandSquare([Lcom/google/zxing/ResultPoint;FF)[Lcom/google/zxing/ResultPoint; |
135 | ····.locals·11 | 135 | ····.locals·11 |
136 | ····.param·p0,·"cornerPoints"····#·[Lcom/google/zxing/ResultPoint; | 136 | ····.param·p0,·"cornerPoints"····#·[Lcom/google/zxing/ResultPoint; |
137 | ····.param·p1,·"oldSide"····#·F | 137 | ····.param·p1,·"oldSide"····#·F |
138 | ····.param·p2,·"newSide"····#·F | 138 | ····.param·p2,·"newSide"····#·F |
139 | ····.prologue | 139 | ····.prologue |
140 | ····.line·52 | 140 | ····.line·528 |
141 | ····const/high16·v9,·0x40000000····#·2.0f | 141 | ····const/high16·v9,·0x40000000····#·2.0f |
142 | ····mul-float/2addr·v9,·p1 | 142 | ····mul-float/2addr·v9,·p1 |
143 | ····div-float·v4,·p2,·v9 | 143 | ····div-float·v4,·p2,·v9 |
144 | ····.line·52 | 144 | ····.line·529 |
145 | ····.local·v4,·"ratio":F | 145 | ····.local·v4,·"ratio":F |
146 | ····const/4·v9,·0x0 | 146 | ····const/4·v9,·0x0 |
147 | ····aget-object·v9,·p0,·v9 | 147 | ····aget-object·v9,·p0,·v9 |
148 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F | 148 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F |
Offset 161, 15 lines modified | Offset 161, 15 lines modified | ||
161 | ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getX()F | 161 | ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getX()F |
162 | ····move-result·v10 | 162 | ····move-result·v10 |
163 | ····sub-float·v2,·v9,·v10 | 163 | ····sub-float·v2,·v9,·v10 |
164 | ····.line·5 | 164 | ····.line·530 |
165 | ····.local·v2,·"dx":F | 165 | ····.local·v2,·"dx":F |
166 | ····const/4·v9,·0x0 | 166 | ····const/4·v9,·0x0 |
167 | ····aget-object·v9,·p0,·v9 | 167 | ····aget-object·v9,·p0,·v9 |
168 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F | 168 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F |
Offset 181, 15 lines modified | Offset 181, 15 lines modified | ||
181 | ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getY()F | 181 | ····invoke-virtual·{v10},·Lcom/google/zxing/ResultPoint;->getY()F |
182 | ····move-result·v10 | 182 | ····move-result·v10 |
183 | ····sub-float·v3,·v9,·v10 | 183 | ····sub-float·v3,·v9,·v10 |
184 | ····.line·53 | 184 | ····.line·531 |
185 | ····.local·v3,·"dy":F | 185 | ····.local·v3,·"dy":F |
186 | ····const/4·v9,·0x0 | 186 | ····const/4·v9,·0x0 |
187 | ····aget-object·v9,·p0,·v9 | 187 | ····aget-object·v9,·p0,·v9 |
188 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F | 188 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getX()F |
Offset 205, 15 lines modified | Offset 205, 15 lines modified | ||
205 | ····add-float/2addr·v9,·v10 | 205 | ····add-float/2addr·v9,·v10 |
206 | ····const/high16·v10,·0x40000000····#·2.0f | 206 | ····const/high16·v10,·0x40000000····#·2.0f |
207 | ····div-float·v0,·v9,·v10 | 207 | ····div-float·v0,·v9,·v10 |
208 | ····.line·53 | 208 | ····.line·532 |
209 | ····.local·v0,·"centerx":F | 209 | ····.local·v0,·"centerx":F |
210 | ····const/4·v9,·0x0 | 210 | ····const/4·v9,·0x0 |
211 | ····aget-object·v9,·p0,·v9 | 211 | ····aget-object·v9,·p0,·v9 |
212 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F | 212 | ····invoke-virtual·{v9},·Lcom/google/zxing/ResultPoint;->getY()F |
Offset 229, 43 lines modified | Offset 229, 43 lines modified | ||
229 | ····add-float/2addr·v9,·v10 | 229 | ····add-float/2addr·v9,·v10 |
230 | ····const/high16·v10,·0x40000000····#·2.0f | 230 | ····const/high16·v10,·0x40000000····#·2.0f |
231 | ····div-float·v1,·v9,·v10 | 231 | ····div-float·v1,·v9,·v10 |
232 | ····.line·53 | 232 | ····.line·534 |
233 | ····.local·v1,·"centery":F | 233 | ····.local·v1,·"centery":F |
234 | ····new-instance·v5,·Lcom/google/zxing/ResultPoint; | 234 | ····new-instance·v5,·Lcom/google/zxing/ResultPoint; |
235 | ····mul-float·v9,·v4,·v2 | 235 | ····mul-float·v9,·v4,·v2 |
236 | ····add-float/2addr·v9,·v0 | 236 | ····add-float/2addr·v9,·v0 |
237 | ····mul-float·v10,·v4,·v3 | 237 | ····mul-float·v10,·v4,·v3 |
238 | ····add-float/2addr·v10,·v1 | 238 | ····add-float/2addr·v10,·v1 |
239 | ····invoke-direct·{v5,·v9,·v10},·Lcom/google/zxing/ResultPoint;-><init>(FF)V | 239 | ····invoke-direct·{v5,·v9,·v10},·Lcom/google/zxing/ResultPoint;-><init>(FF)V |
240 | ····.line·53 | 240 | ····.line·535 |
241 | ····.local·v5,·"result0":Lcom/google/zxing/ResultPoint; | 241 | ····.local·v5,·"result0":Lcom/google/zxing/ResultPoint; |
242 | ····new-instance·v7,·Lcom/google/zxing/ResultPoint; | 242 | ····new-instance·v7,·Lcom/google/zxing/ResultPoint; |
Max diff block lines reached; 52571/55753 bytes (94.29%) of diff not shown. |
Offset 897, 521 lines modified | Offset 897, 903 lines modified | ||
897 | .method·public·constructor·<init>()V | 897 | .method·public·constructor·<init>()V |
898 | ····.locals·0 | 898 | ····.locals·0 |
899 | ····.prologue | 899 | ····.prologue |
900 | ····.line·35 | 900 | ····.line·35 |
901 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 901 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
902 | ····.line·37 | ||
903 | ····return-void | 902 | ····return-void |
904 | .end·method | 903 | .end·method |
904 | .method·static·convertBoolArrayToByteArray([Z)[B | ||
905 | ····.locals·3 | ||
906 | ····.param·p0,·"boolArr"····#·[Z | ||
907 | ····.prologue | ||
908 | ····.line·356 | ||
909 | ····array-length·v2,·p0 | ||
910 | ····add-int/lit8·v2,·v2,·0x7 | ||
911 | ····div-int/lit8·v2,·v2,·0x8 | ||
912 | ····new-array·v0,·v2,·[B | ||
913 | ····.line·357 | ||
914 | ····.local·v0,·"byteArr":[B | ||
915 | ····const/4·v1,·0x0 | ||
916 | ····.local·v1,·"i":I | ||
917 | ····:goto_0 | ||
918 | ····array-length·v2,·v0 | ||
919 | ····if-ge·v1,·v2,·:cond_0 | ||
920 | ····.line·358 | ||
921 | ····shl-int/lit8·v2,·v1,·0x3 | ||
922 | ····invoke-static·{p0,·v2},·Lcom/google/zxing/aztec/decoder/Decoder;->readByte([ZI)B | ||
923 | ····move-result·v2 | ||
924 | ····aput-byte·v2,·v0,·v1 | ||
925 | ····.line·357 | ||
926 | ····add-int/lit8·v1,·v1,·0x1 | ||
927 | ····goto·:goto_0 | ||
928 | ····.line·360 | ||
929 | ····:cond_0 | ||
930 | ····return-object·v0 | ||
931 | .end·method | ||
905 | .method·private·correctBits([Z)[Z | 932 | .method·private·correctBits([Z)[Z |
906 | ····.locals· | 933 | ····.locals·17 |
907 | ····.param·p1,·"rawbits"····#·[Z | 934 | ····.param·p1,·"rawbits"····#·[Z |
908 | ····.annotation·system·Ldalvik/annotation/Throws; | 935 | ····.annotation·system·Ldalvik/annotation/Throws; |
909 | ········value·=·{ | 936 | ········value·=·{ |
910 | ············Lcom/google/zxing/FormatException; | 937 | ············Lcom/google/zxing/FormatException; |
911 | ········} | 938 | ········} |
912 | ····.end·annotation | 939 | ····.end·annotation |
913 | ····.prologue | 940 | ····.prologue |
914 | ····.line·20 | 941 | ····.line·209 |
915 | ····move-object/from16·v0,·p0 | 942 | ····move-object/from16·v0,·p0 |
916 | ····iget-object·v | 943 | ····iget-object·v15,·v0,·Lcom/google/zxing/aztec/decoder/Decoder;->ddata:Lcom/google/zxing/aztec/AztecDetectorResult; |
917 | ····move-object/from16·v19,·v0 | ||
918 | ····invoke-virtual | 944 | ····invoke-virtual·{v15},·Lcom/google/zxing/aztec/AztecDetectorResult;->getNbLayers()I |
919 | ····move-result·v1 | 945 | ····move-result·v15 |
920 | ····const/16·v | 946 | ····const/16·v16,·0x2 |
921 | ····move/from16·v0,·v19 | ||
922 | ····move/from16·v | 947 | ····move/from16·v0,·v16 |
923 | ····if-gt·v | 948 | ····if-gt·v15,·v0,·:cond_0 |
924 | ····.line·2 | 949 | ····.line·210 |
925 | ····const/4·v | 950 | ····const/4·v2,·0x6 |
926 | ····.line·2 | 951 | ····.line·211 |
927 | ····.local·v | 952 | ····.local·v2,·"codewordSize":I |
928 | ····sget-object·v | 953 | ····sget-object·v6,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_6:Lcom/google/zxing/common/reedsolomon/GenericGF; |
929 | ····.line·2 | 954 | ····.line·223 |
930 | ····.local·v | 955 | ····.local·v6,·"gf":Lcom/google/zxing/common/reedsolomon/GenericGF; |
931 | ····:goto_0 | 956 | ····:goto_0 |
932 | ····move-object/from16·v0,·p0 | 957 | ····move-object/from16·v0,·p0 |
933 | ····iget-object·v | 958 | ····iget-object·v15,·v0,·Lcom/google/zxing/aztec/decoder/Decoder;->ddata:Lcom/google/zxing/aztec/AztecDetectorResult; |
934 | ····move-object/from16·v19,·v0 | ||
935 | ····invoke-virtual | 959 | ····invoke-virtual·{v15},·Lcom/google/zxing/aztec/AztecDetectorResult;->getNbDatablocks()I |
936 | ····move-result·v1 | 960 | ····move-result·v12 |
937 | ····.line·2 | 961 | ····.line·224 |
938 | ····.local·v1 | 962 | ····.local·v12,·"numDataCodewords":I |
939 | ····move-object/from16·v0,·p1 | 963 | ····move-object/from16·v0,·p1 |
940 | ····array-length·v | 964 | ····array-length·v15,·v0 |
941 | ···· | 965 | ····div-int·v11,·v15,·v2 |
942 | ····div-int·v13,·v19,·v3 | ||
943 | ····.line·2 | 966 | ····.line·225 |
944 | ····.local·v1 | 967 | ····.local·v11,·"numCodewords":I |
945 | ····if-ge·v1 | 968 | ····if-ge·v11,·v12,·:cond_3 |
946 | ····.line·2 | 969 | ····.line·226 |
947 | ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException; | 970 | ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException; |
948 | ····move-result-object·v1 | 971 | ····move-result-object·v15 |
949 | ····throw·v1 | 972 | ····throw·v15 |
950 | ····.line·2 | 973 | ····.line·212 |
951 | ····.end·local·v | 974 | ····.end·local·v2····#·"codewordSize":I |
952 | ····.end·local·v | 975 | ····.end·local·v6····#·"gf":Lcom/google/zxing/common/reedsolomon/GenericGF; |
Max diff block lines reached; 42471/46715 bytes (90.92%) of diff not shown. |
Offset 19, 15 lines modified | Offset 19, 15 lines modified | ||
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·static·constructor·<clinit>()V | 20 | .method·static·constructor·<clinit>()V |
21 | ····.locals·3 | 21 | ····.locals·3 |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line·1 | 23 | ····.line·182 |
24 | ····invoke-static·{},·Lcom/google/zxing/aztec/decoder/Decoder$Table;->values()[Lcom/google/zxing/aztec/decoder/Decoder$Table; | 24 | ····invoke-static·{},·Lcom/google/zxing/aztec/decoder/Decoder$Table;->values()[Lcom/google/zxing/aztec/decoder/Decoder$Table; |
25 | ····move-result-object·v0 | 25 | ····move-result-object·v0 |
26 | ····array-length·v0,·v0 | 26 | ····array-length·v0,·v0 |
27 | ····new-array·v0,·v0,·[I | 27 | ····new-array·v0,·v0,·[I |
Offset 636, 27 lines modified | Offset 636, 27 lines modified | ||
636 | ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 636 | ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
637 | ····throw·v29 | 637 | ····throw·v29 |
638 | ····.line·89 | 638 | ····.line·89 |
639 | ····:cond_3 | 639 | ····:cond_3 |
640 | ····if-eqz·v9,·:cond_ | 640 | ····if-eqz·v9,·:cond_b |
641 | ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I | 641 | ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I |
642 | ····move-result·v29 | 642 | ····move-result·v29 |
643 | ···· | 643 | ····shl-int/lit8·v30,·v28,·0x6 |
644 | ····move/from16·v0,·v29 | 644 | ····move/from16·v0,·v29 |
645 | ····move/from16·v1,·v30 | 645 | ····move/from16·v1,·v30 |
646 | ····if-le·v0,·v1,·:cond_ | 646 | ····if-le·v0,·v1,·:cond_b |
647 | ····.line·91 | 647 | ····.line·91 |
648 | ····new-instance·v29,·Ljava/lang/IllegalArgumentException; | 648 | ····new-instance·v29,·Ljava/lang/IllegalArgumentException; |
649 | ····const-string·v30,·"Data·to·large·for·user·specified·layer" | 649 | ····const-string·v30,·"Data·to·large·for·user·specified·layer" |
650 | ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 650 | ····invoke-direct/range·{v29·..·v30},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
Offset 701, 22 lines modified | Offset 701, 22 lines modified | ||
701 | ····.line·103 | 701 | ····.line·103 |
702 | ····:cond_5 | 702 | ····:cond_5 |
703 | ····const/16·v29,·0x3 | 703 | ····const/16·v29,·0x3 |
704 | ····move/from16·v0,·v29 | 704 | ····move/from16·v0,·v29 |
705 | ····if-gt·v11,·v0,·:cond_ | 705 | ····if-gt·v11,·v0,·:cond_9 |
706 | ····const/4·v9,·0x1 | 706 | ····const/4·v9,·0x1 |
707 | ····.line·104 | 707 | ····.line·104 |
708 | ····.restart·local·v9····#·"compact":Z | 708 | ····.restart·local·v9····#·"compact":Z |
709 | ····:goto_3 | 709 | ····:goto_3 |
710 | ····if-eqz·v9,·:cond_ | 710 | ····if-eqz·v9,·:cond_a |
711 | ····add-int/lit8·v14,·v11,·0x1 | 711 | ····add-int/lit8·v14,·v11,·0x1 |
712 | ····.line·105 | 712 | ····.line·105 |
713 | ····.restart·local·v14····#·"layers":I | 713 | ····.restart·local·v14····#·"layers":I |
714 | ····:goto_4 | 714 | ····:goto_4 |
715 | ····invoke-static·{v14,·v9},·Lcom/google/zxing/aztec/encoder/Encoder;->totalBitsInLayer(IZ)I | 715 | ····invoke-static·{v14,·v9},·Lcom/google/zxing/aztec/encoder/Encoder;->totalBitsInLayer(IZ)I |
Offset 725, 103 lines modified | Offset 725, 104 lines modified | ||
725 | ····.line·106 | 725 | ····.line·106 |
726 | ····.restart·local·v25····#·"totalBitsInLayer":I | 726 | ····.restart·local·v25····#·"totalBitsInLayer":I |
727 | ····move/from16·v0,·v26 | 727 | ····move/from16·v0,·v26 |
728 | ····move/from16·v1,·v25 | 728 | ····move/from16·v1,·v25 |
729 | ····if- | 729 | ····if-gt·v0,·v1,·:cond_8 |
730 | ····.line·99 | ||
731 | ····:cond_6 | ||
732 | ····add-int/lit8·v11,·v11,·0x1 | ||
733 | ····goto·:goto_2 | ||
734 | ····.line·103 | ||
735 | ····.end·local·v9····#·"compact":Z | ||
736 | ····.end·local·v14····#·"layers":I | ||
737 | ····.end·local·v25····#·"totalBitsInLayer":I | ||
738 | ····:cond_7 | ||
739 | ····const/4·v9,·0x0 | ||
740 | ····goto·:goto_3 | ||
741 | ····.restart·local·v9····#·"compact":Z | ||
742 | ····:cond_8 | ||
743 | ····move·v14,·v11 | ||
744 | ····.line·104 | ||
745 | ····goto·:goto_4 | ||
746 | ····.line·111 | 730 | ····.line·111 |
747 | ····.restart·local·v14····#·"layers":I | ||
748 | ····.restart·local·v25····#·"totalBitsInLayer":I | ||
749 | ····:cond_9 | ||
750 | ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I | 731 | ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I |
751 | ····aget·v29,·v29,·v14 | 732 | ····aget·v29,·v29,·v14 |
752 | ····move/from16·v0,·v28 | 733 | ····move/from16·v0,·v28 |
753 | ····move/from16·v1,·v29 | 734 | ····move/from16·v1,·v29 |
754 | ····if-eq·v0,·v1,·:cond_ | 735 | ····if-eq·v0,·v1,·:cond_6 |
755 | ····.line·112 | 736 | ····.line·112 |
756 | ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I | 737 | ····sget-object·v29,·Lcom/google/zxing/aztec/encoder/Encoder;->WORD_SIZE:[I |
757 | ····aget·v28,·v29,·v14 | 738 | ····aget·v28,·v29,·v14 |
758 | ····.line·113 | 739 | ····.line·113 |
759 | ····move/from16·v0,·v28 | 740 | ····move/from16·v0,·v28 |
760 | ····invoke-static·{v6,·v0},·Lcom/google/zxing/aztec/encoder/Encoder;->stuffBits(Lcom/google/zxing/common/BitArray;I)Lcom/google/zxing/common/BitArray; | 741 | ····invoke-static·{v6,·v0},·Lcom/google/zxing/aztec/encoder/Encoder;->stuffBits(Lcom/google/zxing/common/BitArray;I)Lcom/google/zxing/common/BitArray; |
761 | ····move-result-object·v24 | 742 | ····move-result-object·v24 |
762 | ····.line·115 | 743 | ····.line·115 |
763 | ····:cond_ | 744 | ····:cond_6 |
764 | ····rem-int·v29,·v25,·v28 | 745 | ····rem-int·v29,·v25,·v28 |
765 | ····sub-int·v27,·v25,·v29 | 746 | ····sub-int·v27,·v25,·v29 |
766 | ····.line·116 | 747 | ····.line·116 |
767 | ····.restart·local·v27····#·"usableBitsInLayers":I | 748 | ····.restart·local·v27····#·"usableBitsInLayers":I |
768 | ····if-eqz·v9,·:cond_ | 749 | ····if-eqz·v9,·:cond_7 |
769 | ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I | 750 | ····invoke-virtual/range·{v24·..·v24},·Lcom/google/zxing/common/BitArray;->getSize()I |
770 | ····move-result·v29 | 751 | ····move-result·v29 |
771 | ···· | 752 | ····shl-int/lit8·v30,·v28,·0x6 |
772 | ····move/from16·v0,·v29 | 753 | ····move/from16·v0,·v29 |
773 | ····move/from16·v1,·v30 | 754 | ····move/from16·v1,·v30 |
Max diff block lines reached; 11941/14909 bytes (80.09%) of diff not shown. |
Offset 64, 34 lines modified | Offset 64, 30 lines modified | ||
64 | ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S | 64 | ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S |
65 | ····shl-int·v2,·v3,·v2 | 65 | ····shl-int·v2,·v3,·v2 |
66 | ····add-int/lit8·v2,·v2,·-0x1 | 66 | ····add-int/lit8·v2,·v2,·-0x1 |
67 | ····and-int | 67 | ····and-int/2addr·v1,·v2 |
68 | ····.line·41 | 68 | ····.line·41 |
69 | ····.local·v0,·"value":I | ||
70 | ····iget-short·v | 69 | ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S |
71 | ····shl-int·v | 70 | ····shl-int·v2,·v3,·v2 |
72 | ····or-int | 71 | ····or-int·v0,·v1,·v2 |
73 | ····.line·42 | 72 | ····.line·42 |
73 | ····.local·v0,·"value":I | ||
74 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 74 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
75 | ····const-string·v2,·"<" | ||
75 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | ||
76 | ····const/16·v2,·0x3c | ||
77 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | ||
78 | ···· | 76 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
79 | ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S | 77 | ····iget-short·v2,·p0,·Lcom/google/zxing/aztec/encoder/SimpleToken;->bitCount:S |
80 | ····shl-int·v2,·v3,·v2 | 78 | ····shl-int·v2,·v3,·v2 |
81 | ····or-int/2addr·v2,·v0 | 79 | ····or-int/2addr·v2,·v0 |
Offset 30, 390 lines modified | Offset 30, 384 lines modified | ||
30 | #·direct·methods | 30 | #·direct·methods |
31 | .method·static·constructor·<clinit>()V | 31 | .method·static·constructor·<clinit>()V |
32 | ····.locals·13 | 32 | ····.locals·13 |
33 | ····.prologue | 33 | ····.prologue |
34 | ····const/4·v12,·0x4 | 34 | ····const/4·v12,·0x4 |
35 | ····const/4·v | 35 | ····const/4·v8,·0x5 |
36 | ····const/4·v11,·0x2 | 36 | ····const/4·v11,·0x2 |
37 | ····const/4·v10,·0x1 | 37 | ····const/4·v10,·0x1 |
38 | ····const/4·v6,·0x0 | 38 | ····const/4·v6,·0x0 |
39 | ····.line·43 | 39 | ····.line·43 |
40 | ····new-array·v | 40 | ····new-array·v4,·v8,·[Ljava/lang/String; |
41 | ····const-string·v | 41 | ····const-string·v5,·"UPPER" |
42 | ····aput-object·v | 42 | ····aput-object·v5,·v4,·v6 |
43 | ····const-string·v | 43 | ····const-string·v5,·"LOWER" |
44 | ····aput-object·v | 44 | ····aput-object·v5,·v4,·v10 |
45 | ····const-string·v | 45 | ····const-string·v5,·"DIGIT" |
46 | ····aput-object·v | 46 | ····aput-object·v5,·v4,·v11 |
47 | ····const/4·v | 47 | ····const/4·v5,·0x3 |
48 | ····const-string·v | 48 | ····const-string·v7,·"MIXED" |
49 | ····aput-object·v | 49 | ····aput-object·v7,·v4,·v5 |
50 | ····const-string·v | 50 | ····const-string·v5,·"PUNCT" |
51 | ····aput-object·v | 51 | ····aput-object·v5,·v4,·v12 |
52 | ····sput-object·v | 52 | ····sput-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->MODE_NAMES:[Ljava/lang/String; |
53 | ····.line·56 | 53 | ····.line·56 |
54 | ····new-array·v | 54 | ····new-array·v4,·v8,·[[I |
55 | ····new-array·v | 55 | ····new-array·v5,·v8,·[I |
56 | ····fill-array-data·v | 56 | ····fill-array-data·v5,·:array_0 |
57 | ····aput-object·v | 57 | ····aput-object·v5,·v4,·v6 |
58 | ····new-array·v | 58 | ····new-array·v5,·v8,·[I |
59 | ····fill-array-data·v | 59 | ····fill-array-data·v5,·:array_1 |
60 | ····aput-object·v | 60 | ····aput-object·v5,·v4,·v10 |
61 | ····new-array·v | 61 | ····new-array·v5,·v8,·[I |
62 | ····fill-array-data·v | 62 | ····fill-array-data·v5,·:array_2 |
63 | ····aput-object·v | 63 | ····aput-object·v5,·v4,·v11 |
64 | ····const/4·v | 64 | ····const/4·v5,·0x3 |
65 | ····new-array·v | 65 | ····new-array·v7,·v8,·[I |
66 | ····fill-array-data·v | 66 | ····fill-array-data·v7,·:array_3 |
67 | ····aput-object·v | 67 | ····aput-object·v7,·v4,·v5 |
68 | ····new-array·v | 68 | ····new-array·v5,·v8,·[I |
69 | ····fill-array-data·v | 69 | ····fill-array-data·v5,·:array_4 |
70 | ····aput-object·v | 70 | ····aput-object·v5,·v4,·v12 |
71 | ····sput-object·v | 71 | ····sput-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->LATCH_TABLE:[[I |
72 | ····.line·97 | 72 | ····.line·97 |
73 | ····const/16·v | 73 | ····const/16·v4,·0x100 |
74 | ····filled-new-array·{v | 74 | ····filled-new-array·{v8,·v4},·[I |
75 | ····move-result-object·v | 75 | ····move-result-object·v4 |
76 | ····sget-object·v7,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; | ||
77 | ···· | 76 | ····sget-object·v5,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; |
78 | ···· | 77 | ····invoke-static·{v5,·v4},·Ljava/lang/reflect/Array;->newInstance(Ljava/lang/Class;[I)Ljava/lang/Object; |
79 | ···· | 78 | ····move-result-object·v4 |
80 | ···· | 79 | ····check-cast·v4,·[[I |
81 | ····.line·99 | 80 | ····.line·99 |
82 | ····s | 81 | ····sput-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->CHAR_MAP:[[I |
83 | ····aget-object·v | 82 | ····aget-object·v4,·v4,·v6 |
84 | ····const/16·v | 83 | ····const/16·v5,·0x20 |
85 | ····aput·v10,·v | 84 | ····aput·v10,·v4,·v5 |
86 | ····.line·100 | 85 | ····.line·100 |
87 | ····const/16·v0,·0x41 | 86 | ····const/16·v0,·0x41 |
88 | ····.local·v0,·"c":I | 87 | ····.local·v0,·"c":I |
89 | ····:goto_0 | 88 | ····:goto_0 |
90 | ····const/16·v | 89 | ····const/16·v4,·0x5a |
91 | ····if-gt·v0,·v | 90 | ····if-gt·v0,·v4,·:cond_0 |
92 | ····.line·101 | 91 | ····.line·101 |
93 | ····sget-object·v | 92 | ····sget-object·v4,·Lcom/google/zxing/aztec/encoder/HighLevelEncoder;->CHAR_MAP:[[I |
94 | ····aget-object·v | 93 | ····aget-object·v4,·v4,·v6 |
95 | ····add-int/lit8·v | 94 | ····add-int/lit8·v5,·v0,·-0x41 |
96 | ····add-int/lit8·v | 95 | ····add-int/lit8·v5,·v5,·0x2 |
97 | ····aput·v | 96 | ····aput·v5,·v4,·v0 |
98 | ····.line·100 | 97 | ····.line·100 |
99 | ····add-int/lit8·v0,·v0,·0x1 | 98 | ····add-int/lit8·v0,·v0,·0x1 |
Max diff block lines reached; 16715/20849 bytes (80.17%) of diff not shown. |
Offset 207, 29 lines modified | Offset 207, 29 lines modified | ||
207 | ····.end·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State; | 207 | ····.end·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State; |
208 | ····:goto_0 | 208 | ····:goto_0 |
209 | ····return-object·p0 | 209 | ····return-object·p0 |
210 | ····.line·131 | 210 | ····.line·131 |
211 | ····.restart·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State; | 211 | ····.restart·local·p0····#·"this":Lcom/google/zxing/aztec/encoder/State; |
212 | ····:cond_0 | 212 | ····:cond_0 |
213 | ····iget-object·v | 213 | ····iget-object·v1,·p0,·Lcom/google/zxing/aztec/encoder/State;->token:Lcom/google/zxing/aztec/encoder/Token; |
214 | ····.line·132 | 214 | ····.line·132 |
215 | ····.local·v0,·"token":Lcom/google/zxing/aztec/encoder/Token; | ||
216 | ····iget·v | 215 | ····iget·v2,·p0,·Lcom/google/zxing/aztec/encoder/State;->binaryShiftByteCount:I |
217 | ····sub-int·v | 216 | ····sub-int·v2,·p1,·v2 |
218 | ····iget·v | 217 | ····iget·v3,·p0,·Lcom/google/zxing/aztec/encoder/State;->binaryShiftByteCount:I |
219 | ····invoke-virtual·{v | 218 | ····invoke-virtual·{v1,·v2,·v3},·Lcom/google/zxing/aztec/encoder/Token;->addBinaryShift(II)Lcom/google/zxing/aztec/encoder/Token; |
220 | ····move-result-object·v0 | 219 | ····move-result-object·v0 |
221 | ····.line·134 | 220 | ····.line·134 |
221 | ····.local·v0,·"token":Lcom/google/zxing/aztec/encoder/Token; | ||
222 | ····new-instance·v1,·Lcom/google/zxing/aztec/encoder/State; | 222 | ····new-instance·v1,·Lcom/google/zxing/aztec/encoder/State; |
223 | ····iget·v2,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I | 223 | ····iget·v2,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I |
224 | ····const/4·v3,·0x0 | 224 | ····const/4·v3,·0x0 |
225 | ····iget·v4,·p0,·Lcom/google/zxing/aztec/encoder/State;->bitCount:I | 225 | ····iget·v4,·p0,·Lcom/google/zxing/aztec/encoder/State;->bitCount:I |
Offset 450, 18 lines modified | Offset 450, 18 lines modified | ||
450 | ····aget-object·v3,·v3,·v4 | 450 | ····aget-object·v3,·v3,·v4 |
451 | ····aget·v3,·v3,·p1 | 451 | ····aget·v3,·v3,·p1 |
452 | ····invoke-virtual·{v1,·v3,·v0},·Lcom/google/zxing/aztec/encoder/Token;->add(II)Lcom/google/zxing/aztec/encoder/Token; | 452 | ····invoke-virtual·{v1,·v3,·v0},·Lcom/google/zxing/aztec/encoder/Token;->add(II)Lcom/google/zxing/aztec/encoder/Token; |
453 | ····move-result-object·v | 453 | ····move-result-object·v3 |
454 | ····.line·97 | 454 | ····.line·97 |
455 | ····invoke-virtual·{v | 455 | ····invoke-virtual·{v3,·p2,·v2},·Lcom/google/zxing/aztec/encoder/Token;->add(II)Lcom/google/zxing/aztec/encoder/Token; |
456 | ····move-result-object·v1 | 456 | ····move-result-object·v1 |
457 | ····.line·98 | 457 | ····.line·98 |
458 | ····new-instance·v2,·Lcom/google/zxing/aztec/encoder/State; | 458 | ····new-instance·v2,·Lcom/google/zxing/aztec/encoder/State; |
459 | ····iget·v3,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I | 459 | ····iget·v3,·p0,·Lcom/google/zxing/aztec/encoder/State;->mode:I |
Offset 483, 80 lines modified | Offset 483, 78 lines modified | ||
483 | ····move·v0,·v2 | 483 | ····move·v0,·v2 |
484 | ····.line·94 | 484 | ····.line·94 |
485 | ····goto·:goto_0 | 485 | ····goto·:goto_0 |
486 | .end·method | 486 | .end·method |
487 | .method·toBitArray([B)Lcom/google/zxing/common/BitArray; | 487 | .method·toBitArray([B)Lcom/google/zxing/common/BitArray; |
488 | ····.locals· | 488 | ····.locals·5 |
489 | ····.param·p1,·"text"····#·[B | 489 | ····.param·p1,·"text"····#·[B |
490 | ····.prologue | 490 | ····.prologue |
491 | ····.line·151 | 491 | ····.line·151 |
492 | ····new-instance·v | 492 | ····new-instance·v1,·Ljava/util/LinkedList; |
493 | ····invoke-direct·{v | 493 | ····invoke-direct·{v1},·Ljava/util/LinkedList;-><init>()V |
494 | ····.line·152 | 494 | ····.line·152 |
495 | ····.local·v | 495 | ····.local·v1,·"symbols":Ljava/util/Deque;,·"Ljava/util/Deque<Lcom/google/zxing/aztec/encoder/Token;>;" |
496 | ····array-length·v | 496 | ····array-length·v3,·p1 |
497 | ····invoke-virtual·{p0,·v | 497 | ····invoke-virtual·{p0,·v3},·Lcom/google/zxing/aztec/encoder/State;->endBinaryShift(I)Lcom/google/zxing/aztec/encoder/State; |
498 | ····move-result-object·v | 498 | ····move-result-object·v3 |
499 | ····iget-object·v | 499 | ····iget-object·v2,·v3,·Lcom/google/zxing/aztec/encoder/State;->token:Lcom/google/zxing/aztec/encoder/Token; |
500 | ····.local·v | 500 | ····.local·v2,·"token":Lcom/google/zxing/aztec/encoder/Token; |
501 | ····:goto_0 | 501 | ····:goto_0 |
502 | ····if-eqz·v | 502 | ····if-eqz·v2,·:cond_0 |
503 | ····.line·153 | 503 | ····.line·153 |
504 | ····invoke-interface·{v | 504 | ····invoke-interface·{v1,·v2},·Ljava/util/Deque;->addFirst(Ljava/lang/Object;)V |
505 | ····.line·152 | 505 | ····.line·152 |
506 | ····invoke-virtual·{v | 506 | ····invoke-virtual·{v2},·Lcom/google/zxing/aztec/encoder/Token;->getPrevious()Lcom/google/zxing/aztec/encoder/Token; |
507 | ····move-result-object·v | 507 | ····move-result-object·v2 |
508 | ····goto·:goto_0 | 508 | ····goto·:goto_0 |
509 | ····.line·155 | 509 | ····.line·155 |
510 | ····:cond_0 | 510 | ····:cond_0 |
511 | ····new-instance·v0,·Lcom/google/zxing/common/BitArray; | 511 | ····new-instance·v0,·Lcom/google/zxing/common/BitArray; |
512 | ····invoke-direct·{v0},·Lcom/google/zxing/common/BitArray;-><init>()V | 512 | ····invoke-direct·{v0},·Lcom/google/zxing/common/BitArray;-><init>()V |
513 | ····.line·157 | 513 | ····.line·157 |
514 | ····.local·v0,·"bitArray":Lcom/google/zxing/common/BitArray; | 514 | ····.local·v0,·"bitArray":Lcom/google/zxing/common/BitArray; |
515 | ····invoke-interface·{v | 515 | ····invoke-interface·{v1},·Ljava/util/Deque;->iterator()Ljava/util/Iterator; |
516 | ····move-result-object·v4 | 516 | ····move-result-object·v4 |
517 | ····:goto_1 | 517 | ····:goto_1 |
518 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z | 518 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z |
519 | ····move-result·v | 519 | ····move-result·v3 |
520 | ····if-eqz·v | 520 | ····if-eqz·v3,·:cond_1 |
521 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 521 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
522 | ····move-result-object·v | 522 | ····move-result-object·v3 |
523 | ····check-cast·v | 523 | ····check-cast·v3,·Lcom/google/zxing/aztec/encoder/Token; |
524 | ····.line·158 | 524 | ····.line·158 |
525 | ····.local·v1,·"symbol":Lcom/google/zxing/aztec/encoder/Token; | ||
526 | ····invoke-virtual·{v | 525 | ····invoke-virtual·{v3,·v0,·p1},·Lcom/google/zxing/aztec/encoder/Token;->appendTo(Lcom/google/zxing/common/BitArray;[B)V |
527 | ····goto·:goto_1 | 526 | ····goto·:goto_1 |
528 | ····.line·161 | 527 | ····.line·161 |
529 | ····.end·local·v1····#·"symbol":Lcom/google/zxing/aztec/encoder/Token; | ||
530 | ····:cond_1 | 528 | ····:cond_1 |
531 | ····return-object·v0 | 529 | ····return-object·v0 |
532 | .end·method | 530 | .end·method |
Max diff block lines reached; 17/5530 bytes (0.31%) of diff not shown. |
Offset 135, 21 lines modified | Offset 135, 17 lines modified | ||
135 | .method·public·toString()Ljava/lang/String; | 135 | .method·public·toString()Ljava/lang/String; |
136 | ····.locals·3 | 136 | ····.locals·3 |
137 | ····.prologue | 137 | ····.prologue |
138 | ····.line·57 | 138 | ····.line·57 |
139 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 139 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
140 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | ||
141 | ····const-string·v1,·"<" | 140 | ····const-string·v1,·"<" |
142 | ····invoke- | 141 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
143 | ····move-result-object·v0 | ||
144 | ····iget-short·v1,·p0,·Lcom/google/zxing/aztec/encoder/BinaryShiftToken;->binaryShiftStart:S | 142 | ····iget-short·v1,·p0,·Lcom/google/zxing/aztec/encoder/BinaryShiftToken;->binaryShiftStart:S |
145 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 143 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
146 | ····move-result-object·v0 | 144 | ····move-result-object·v0 |
Offset 52, 165 lines modified | Offset 52, 160 lines modified | ||
52 | ····.annotation·system·Ldalvik/annotation/Throws; | 52 | ····.annotation·system·Ldalvik/annotation/Throws; |
53 | ········value·=·{ | 53 | ········value·=·{ |
54 | ············Lcom/google/zxing/NotFoundException; | 54 | ············Lcom/google/zxing/NotFoundException; |
55 | ········} | 55 | ········} |
56 | ····.end·annotation | 56 | ····.end·annotation |
57 | ····.prologue | 57 | ····.prologue |
58 | ····const/4·v14,·0x1 | ||
59 | ····const/4·v13,·0x0 | ||
58 | ····.line·104 | 60 | ····.line·104 |
59 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getTopLeftOnBit()[I | 61 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getTopLeftOnBit()[I |
60 | ····move-result-object·v4 | 62 | ····move-result-object·v4 |
61 | ····.line·105 | 63 | ····.line·105 |
62 | ····.local·v4,·"leftTopBlack":[I | 64 | ····.local·v4,·"leftTopBlack":[I |
63 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getBottomRightOnBit()[I | 65 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getBottomRightOnBit()[I |
64 | ····move-result-object·v | 66 | ····move-result-object·v9 |
65 | ····.line·106 | 67 | ····.line·106 |
66 | ····.local·v | 68 | ····.local·v9,·"rightBottomBlack":[I |
67 | ····if-eqz·v4,·:cond_0 | 69 | ····if-eqz·v4,·:cond_0 |
68 | ····if-nez·v | 70 | ····if-nez·v9,·:cond_1 |
69 | ····.line·107 | 71 | ····.line·107 |
70 | ····:cond_0 | 72 | ····:cond_0 |
71 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 73 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
72 | ····move-result-object·v1 | 74 | ····move-result-object·v13 |
73 | ····throw·v1 | 75 | ····throw·v13 |
74 | ····.line·110 | 76 | ····.line·110 |
75 | ····:cond_1 | 77 | ····:cond_1 |
76 | ····invoke-static·{v4,·p0},·Lcom/google/zxing/datamatrix/DataMatrixReader;->moduleSize([ILcom/google/zxing/common/BitMatrix;)I | 78 | ····invoke-static·{v4,·p0},·Lcom/google/zxing/datamatrix/DataMatrixReader;->moduleSize([ILcom/google/zxing/common/BitMatrix;)I |
77 | ····move-result·v7 | 79 | ····move-result·v7 |
78 | ····.line·112 | 80 | ····.line·112 |
79 | ····.local·v7,·"moduleSize":I | 81 | ····.local·v7,·"moduleSize":I |
80 | ····const/4·v14,·0x1 | ||
81 | ····aget·v1 | 82 | ····aget·v10,·v4,·v14 |
82 | ····.line·113 | 83 | ····.line·113 |
83 | ····.local·v1 | 84 | ····.local·v10,·"top":I |
84 | ····const/4·v14,·0x1 | ||
85 | ····aget·v1,·v | 85 | ····aget·v1,·v9,·v14 |
86 | ····.line·114 | 86 | ····.line·114 |
87 | ····.local·v1,·"bottom":I | 87 | ····.local·v1,·"bottom":I |
88 | ····const/4·v14,·0x0 | ||
89 | ····aget·v3,·v4,·v1 | 88 | ····aget·v3,·v4,·v13 |
90 | ····.line·115 | 89 | ····.line·115 |
91 | ····.local·v3,·"left":I | 90 | ····.local·v3,·"left":I |
91 | ····aget·v13,·v9,·v13 | ||
92 | ····const/4·v14,·0x0 | ||
93 | ····aget·v9,·v10,·v14 | ||
94 | ····.line·117 | 92 | ····.line·117 |
95 | ····.local·v9,·"right":I | ||
96 | ····sub-int | 93 | ····sub-int/2addr·v13,·v3 |
97 | ····add-int/lit8·v1 | 94 | ····add-int/lit8·v13,·v13,·0x1 |
98 | ····div-int·v6,·v1 | 95 | ····div-int·v6,·v13,·v7 |
99 | ····.line·118 | 96 | ····.line·118 |
100 | ····.local·v6,·"matrixWidth":I | 97 | ····.local·v6,·"matrixWidth":I |
101 | ····sub-int·v1 | 98 | ····sub-int·v13,·v1,·v10 |
102 | ····add-int/lit8·v1 | 99 | ····add-int/lit8·v13,·v13,·0x1 |
103 | ····div-int·v5,·v1 | 100 | ····div-int·v5,·v13,·v7 |
104 | ····.line·119 | 101 | ····.line·119 |
105 | ····.local·v5,·"matrixHeight":I | 102 | ····.local·v5,·"matrixHeight":I |
106 | ····if-lez·v6,·:cond_2 | 103 | ····if-lez·v6,·:cond_2 |
107 | ····if-gtz·v5,·:cond_3 | 104 | ····if-gtz·v5,·:cond_3 |
108 | ····.line·120 | 105 | ····.line·120 |
109 | ····:cond_2 | 106 | ····:cond_2 |
110 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 107 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
111 | ····move-result-object·v1 | 108 | ····move-result-object·v13 |
112 | ····throw·v1 | 109 | ····throw·v13 |
113 | ····.line·126 | 110 | ····.line·126 |
114 | ····:cond_3 | 111 | ····:cond_3 |
115 | ····div-int/lit8·v8,·v7,·0x2 | 112 | ····div-int/lit8·v8,·v7,·0x2 |
116 | ····.line·127 | 113 | ····.line·127 |
117 | ····.local·v8,·"nudge":I | 114 | ····.local·v8,·"nudge":I |
118 | ····add-int/2addr·v1 | 115 | ····add-int/2addr·v10,·v8 |
119 | ····.line·128 | 116 | ····.line·128 |
120 | ····add-int/2addr·v3,·v8 | 117 | ····add-int/2addr·v3,·v8 |
121 | ····.line·131 | 118 | ····.line·131 |
122 | ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix; | 119 | ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix; |
123 | ····invoke-direct·{v0,·v6,·v5},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V | 120 | ····invoke-direct·{v0,·v6,·v5},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V |
124 | ····.line·132 | 121 | ····.line·132 |
125 | ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix; | 122 | ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix; |
126 | ····const/4·v1 | 123 | ····const/4·v12,·0x0 |
127 | ····.local·v1 | 124 | ····.local·v12,·"y":I |
128 | ····:goto_0 | 125 | ····:goto_0 |
129 | ····if-ge·v1 | 126 | ····if-ge·v12,·v5,·:cond_6 |
130 | ····.line·133 | 127 | ····.line·133 |
131 | ····mul-int·v1 | 128 | ····mul-int·v13,·v12,·v7 |
132 | ····add-int·v2,·v1 | 129 | ····add-int·v2,·v10,·v13 |
133 | ····.line·134 | 130 | ····.line·134 |
Max diff block lines reached; 1249/4411 bytes (28.32%) of diff not shown. |
Offset 395, 21 lines modified | Offset 395, 17 lines modified | ||
395 | ····if-eq·v0,·v11,·:cond_1 | 395 | ····if-eq·v0,·v11,·:cond_1 |
396 | ····.line·54 | 396 | ····.line·54 |
397 | ····new-instance·v11,·Ljava/lang/IllegalArgumentException; | 397 | ····new-instance·v11,·Ljava/lang/IllegalArgumentException; |
398 | ····new-instance·v12,·Ljava/lang/StringBuilder; | 398 | ····new-instance·v12,·Ljava/lang/StringBuilder; |
399 | ····invoke-direct·{v12},·Ljava/lang/StringBuilder;-><init>()V | ||
400 | ····const-string·v13,·"Can·only·encode·DATA_MATRIX,·but·got·" | 399 | ····const-string·v13,·"Can·only·encode·DATA_MATRIX,·but·got·" |
401 | ····invoke- | 400 | ····invoke-direct·{v12,·v13},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
402 | ····move-result-object·v12 | ||
403 | ····move-object/from16·v0,·p2 | 401 | ····move-object/from16·v0,·p2 |
404 | ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 402 | ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
405 | ····move-result-object·v12 | 403 | ····move-result-object·v12 |
Offset 429, 21 lines modified | Offset 425, 17 lines modified | ||
429 | ····.line·58 | 425 | ····.line·58 |
430 | ····:cond_2 | 426 | ····:cond_2 |
431 | ····new-instance·v11,·Ljava/lang/IllegalArgumentException; | 427 | ····new-instance·v11,·Ljava/lang/IllegalArgumentException; |
432 | ····new-instance·v12,·Ljava/lang/StringBuilder; | 428 | ····new-instance·v12,·Ljava/lang/StringBuilder; |
433 | ····invoke-direct·{v12},·Ljava/lang/StringBuilder;-><init>()V | ||
434 | ····const-string·v13,·"Requested·dimensions·are·too·small:·" | 429 | ····const-string·v13,·"Requested·dimensions·are·too·small:·" |
435 | ····invoke- | 430 | ····invoke-direct·{v12,·v13},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
436 | ····move-result-object·v12 | ||
437 | ····move/from16·v0,·p3 | 431 | ····move/from16·v0,·p3 |
438 | ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 432 | ····invoke-virtual·{v12,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
439 | ····move-result-object·v12 | 433 | ····move-result-object·v12 |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | .class·final·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator; | 1 | .class·final·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitionsComparator; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"Detector.java" | 3 | .source·"Detector.java" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/util/Comparator; | ||
6 | .implements·Ljava/io/Serializable; | 5 | .implements·Ljava/io/Serializable; |
6 | .implements·Ljava/util/Comparator; | ||
7 | #·annotations | 7 | #·annotations |
8 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 8 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
9 | ····value·=·Lcom/google/zxing/datamatrix/detector/Detector; | 9 | ····value·=·Lcom/google/zxing/datamatrix/detector/Detector; |
10 | .end·annotation | 10 | .end·annotation |
Offset 16, 19 lines modified | Offset 16, 19 lines modified | ||
16 | ····accessFlags·=·0x1a | 16 | ····accessFlags·=·0x1a |
17 | ····name·=·"ResultPointsAndTransitionsComparator" | 17 | ····name·=·"ResultPointsAndTransitionsComparator" |
18 | .end·annotation | 18 | .end·annotation |
19 | .annotation·system·Ldalvik/annotation/Signature; | 19 | .annotation·system·Ldalvik/annotation/Signature; |
20 | ····value·=·{ | 20 | ····value·=·{ |
21 | ········"Ljava/lang/Object;", | 21 | ········"Ljava/lang/Object;", |
22 | ········"Ljava/io/Serializable;", | ||
22 | ········"Ljava/util/Comparator", | 23 | ········"Ljava/util/Comparator", |
23 | ········"<", | 24 | ········"<", |
24 | ········"Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;", | 25 | ········"Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;", |
25 | ········">;" | 26 | ········">;" |
26 | ········"Ljava/io/Serializable;" | ||
27 | ····} | 27 | ····} |
28 | .end·annotation | 28 | .end·annotation |
29 | #·direct·methods | 29 | #·direct·methods |
30 | .method·private·constructor·<init>()V | 30 | .method·private·constructor·<init>()V |
31 | ····.locals·0 | 31 | ····.locals·0 |
Offset 211, 38 lines modified | Offset 211, 42 lines modified | ||
211 | ····.line·288 | 211 | ····.line·288 |
212 | ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z | 212 | ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z |
213 | ····move-result·v9 | 213 | ····move-result·v9 |
214 | ····if-eqz·v9,·:cond_1 | 214 | ····if-eqz·v9,·:cond_1 |
215 | ····move-object·v1,·v2 | ||
216 | ····.line·302 | 215 | ····.line·302 |
217 | ····.end·local·v | 216 | ····.end·local·v2····#·"c2":Lcom/google/zxing/ResultPoint; |
218 | ····:cond_0 | 217 | ····:cond_0 |
219 | ····:goto_0 | 218 | ····:goto_0 |
220 | ····return-object·v | 219 | ····return-object·v2 |
221 | ····.line·291 | 220 | ····.line·291 |
222 | ····.restart·local·v | 221 | ····.restart·local·v2····#·"c2":Lcom/google/zxing/ResultPoint; |
223 | ····:cond_1 | 222 | ····:cond_1 |
224 | ····const/4·v | 223 | ····const/4·v2,·0x0 |
225 | ····goto·:goto_0 | 224 | ····goto·:goto_0 |
226 | ····.line·293 | 225 | ····.line·293 |
227 | ····:cond_2 | 226 | ····:cond_2 |
228 | ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z | 227 | ····invoke-direct·{p0,·v2},·Lcom/google/zxing/datamatrix/detector/Detector;->isValid(Lcom/google/zxing/ResultPoint;)Z |
229 | ····move-result·v9 | 228 | ····move-result·v9 |
230 | ····if- | 229 | ····if-nez·v9,·:cond_3 |
230 | ····move-object·v2,·v1 | ||
231 | ····.line·294 | ||
232 | ····goto·:goto_0 | ||
231 | ····.line·297 | 233 | ····.line·297 |
234 | ····:cond_3 | ||
232 | ····invoke-direct·{p0,·p3,·v1},·Lcom/google/zxing/datamatrix/detector/Detector;->transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions; | 235 | ····invoke-direct·{p0,·p3,·v1},·Lcom/google/zxing/datamatrix/detector/Detector;->transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions; |
233 | ····move-result-object·v9 | 236 | ····move-result-object·v9 |
234 | ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->getTransitions()I | 237 | ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->getTransitions()I |
235 | ····move-result·v9 | 238 | ····move-result·v9 |
Offset 287, 17 lines modified | Offset 291, 17 lines modified | ||
287 | ····.line·299 | 291 | ····.line·299 |
288 | ····invoke-static·{v9},·Ljava/lang/Math;->abs(I)I | 292 | ····invoke-static·{v9},·Ljava/lang/Math;->abs(I)I |
289 | ····move-result·v6 | 293 | ····move-result·v6 |
290 | ····.line·302 | 294 | ····.line·302 |
291 | ····.local·v6,·"l2":I | 295 | ····.local·v6,·"l2":I |
292 | ····if- | 296 | ····if-gt·v5,·v6,·:cond_0 |
293 | ····move-object·v | 297 | ····move-object·v2,·v1 |
294 | ····goto·:goto_0 | 298 | ····goto·:goto_0 |
295 | .end·method | 299 | .end·method |
296 | .method·private·correctTopRightRectangular(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;II)Lcom/google/zxing/ResultPoint; | 300 | .method·private·correctTopRightRectangular(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;II)Lcom/google/zxing/ResultPoint; |
297 | ····.locals·12 | 301 | ····.locals·12 |
298 | ····.param·p1,·"bottomLeft"····#·Lcom/google/zxing/ResultPoint; | 302 | ····.param·p1,·"bottomLeft"····#·Lcom/google/zxing/ResultPoint; |
Offset 725, 15 lines modified | Offset 729, 14 lines modified | ||
725 | ····.prologue | 729 | ····.prologue |
726 | ····.line·329 | 730 | ····.line·329 |
727 | ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler; | 731 | ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler; |
728 | ····move-result-object·v1 | 732 | ····move-result-object·v1 |
729 | ····.line·331 | 733 | ····.line·331 |
730 | ····.local·v1,·"sampler":Lcom/google/zxing/common/GridSampler; | ||
731 | ····const/high16·v5,·0x3f000000····#·0.5f | 734 | ····const/high16·v5,·0x3f000000····#·0.5f |
732 | ····const/high16·v6,·0x3f000000····#·0.5f | 735 | ····const/high16·v6,·0x3f000000····#·0.5f |
733 | ····move/from16·v0,·p5 | 736 | ····move/from16·v0,·p5 |
734 | ····int-to-float·v2,·v0 | 737 | ····int-to-float·v2,·v0 |
Offset 815, 17 lines modified | Offset 818, 17 lines modified | ||
815 | ····move/from16·v3,·p5 | 818 | ····move/from16·v3,·p5 |
816 | ····move/from16·v4,·p6 | 819 | ····move/from16·v4,·p6 |
817 | ····.line·331 | 820 | ····.line·331 |
818 | ····invoke-virtual/range·{v1·..·v20},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IIFFFFFFFFFFFFFFFF)Lcom/google/zxing/common/BitMatrix; | 821 | ····invoke-virtual/range·{v1·..·v20},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IIFFFFFFFFFFFFFFFF)Lcom/google/zxing/common/BitMatrix; |
819 | ····move-result-object·v | 822 | ····move-result-object·v1 |
820 | ····return-object·v | 823 | ····return-object·v1 |
821 | .end·method | 824 | .end·method |
822 | .method·private·transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions; | 825 | .method·private·transitionsBetween(Lcom/google/zxing/ResultPoint;Lcom/google/zxing/ResultPoint;)Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions; |
823 | ····.locals·23 | 826 | ····.locals·23 |
824 | ····.param·p1,·"from"····#·Lcom/google/zxing/ResultPoint; | 827 | ····.param·p1,·"from"····#·Lcom/google/zxing/ResultPoint; |
825 | ····.param·p2,·"to"····#·Lcom/google/zxing/ResultPoint; | 828 | ····.param·p2,·"to"····#·Lcom/google/zxing/ResultPoint; |
Offset 993, 15 lines modified | Offset 996, 15 lines modified | ||
993 | ····.local·v16,·"x":I | 996 | ····.local·v16,·"x":I |
994 | ····move/from16·v18,·v8 | 997 | ····move/from16·v18,·v8 |
995 | ····.local·v18,·"y":I | 998 | ····.local·v18,·"y":I |
996 | ····:goto_5 | 999 | ····:goto_5 |
997 | ····move/from16·v0,·v16 | 1000 | ····move/from16·v0,·v16 |
998 | ····if-eq·v0,·v13,·:cond_ | 1001 | ····if-eq·v0,·v13,·:cond_a |
999 | ····.line·379 | 1002 | ····.line·379 |
1000 | ····move-object/from16·v0,·p0 | 1003 | ····move-object/from16·v0,·p0 |
1001 | ····iget-object·v0,·v0,·Lcom/google/zxing/datamatrix/detector/Detector;->image:Lcom/google/zxing/common/BitMatrix; | 1004 | ····iget-object·v0,·v0,·Lcom/google/zxing/datamatrix/detector/Detector;->image:Lcom/google/zxing/common/BitMatrix; |
1002 | ····move-object/from16·v22,·v0 | 1005 | ····move-object/from16·v22,·v0 |
Offset 1037, 45 lines modified | Offset 1040, 39 lines modified | ||
1037 | ····move·v9,·v10 | 1040 | ····move·v9,·v10 |
1038 | ····.line·384 | 1041 | ····.line·384 |
1039 | ····:cond_1 | 1042 | ····:cond_1 |
1040 | ····add-int/2addr·v6,·v5 | 1043 | ····add-int/2addr·v6,·v5 |
1041 | ····.line·385 | 1044 | ····.line·385 |
1042 | ····if-lez·v6,·:cond_ | 1045 | ····if-lez·v6,·:cond_2 |
1043 | ····.line·386 | 1046 | ····.line·386 |
1044 | ····move/from16·v0,·v18 | 1047 | ····move/from16·v0,·v18 |
1045 | ····if- | 1048 | ····if-eq·v0,·v14,·:cond_a |
Max diff block lines reached; 4198/8240 bytes (50.95%) of diff not shown. |
Offset 78, 15 lines modified | Offset 78, 15 lines modified | ||
78 | ····.prologue | 78 | ····.prologue |
79 | ····.line·416 | 79 | ····.line·416 |
80 | ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->to:Lcom/google/zxing/ResultPoint; | 80 | ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->to:Lcom/google/zxing/ResultPoint; |
81 | ····return-object·v0 | 81 | ····return-object·v0 |
82 | .end·method | 82 | .end·method |
83 | .method· | 83 | .method·getTransitions()I |
84 | ····.locals·1 | 84 | ····.locals·1 |
85 | ····.prologue | 85 | ····.prologue |
86 | ····.line·420 | 86 | ····.line·420 |
87 | ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->transitions:I | 87 | ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/detector/Detector$ResultPointsAndTransitions;->transitions:I |
88 | ····return·v0 | 88 | ····return·v0 |
Offset 26, 419 lines modified | Offset 26, 420 lines modified | ||
26 | ····iput-object·p2,·p0,·Lcom/google/zxing/datamatrix/decoder/DataBlock;->codewords:[B | 26 | ····iput-object·p2,·p0,·Lcom/google/zxing/datamatrix/decoder/DataBlock;->codewords:[B |
27 | ····.line·34 | 27 | ····.line·34 |
28 | ····return-void | 28 | ····return-void |
29 | .end·method | 29 | .end·method |
30 | .method·static·getDataBlocks([BLcom/google/zxing/datamatrix/decoder/Version;)[Lcom/google/zxing/datamatrix/decoder/DataBlock; | 30 | .method·static·getDataBlocks([BLcom/google/zxing/datamatrix/decoder/Version;)[Lcom/google/zxing/datamatrix/decoder/DataBlock; |
31 | ····.locals·2 | 31 | ····.locals·26 |
32 | ····.param·p0,·"rawCodewords"····#·[B | 32 | ····.param·p0,·"rawCodewords"····#·[B |
33 | ····.param·p1,·"version"····#·Lcom/google/zxing/datamatrix/decoder/Version; | 33 | ····.param·p1,·"version"····#·Lcom/google/zxing/datamatrix/decoder/Version; |
34 | ····.prologue | 34 | ····.prologue |
35 | ····.line·49 | 35 | ····.line·49 |
36 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/datamatrix/decoder/Version;->getECBlocks()Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks; | 36 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/datamatrix/decoder/Version;->getECBlocks()Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks; |
37 | ····move-result-object·v4 | 37 | ····move-result-object·v4 |
38 | ····.line·52 | 38 | ····.line·52 |
39 | ····.local·v4,·"ecBlocks":Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks; | 39 | ····.local·v4,·"ecBlocks":Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks; |
40 | ····const/16·v2 | 40 | ····const/16·v21,·0x0 |
41 | ····.line·53 | 41 | ····.line·53 |
42 | ····.local·v2 | 42 | ····.local·v21,·"totalBlocks":I |
43 | ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 43 | ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
44 | ····move-result-object·v3 | 44 | ····move-result-object·v3 |
45 | ····.line·54 | 45 | ····.line·54 |
46 | ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 46 | ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
47 | ····array-length·v0,·v3 | 47 | ····array-length·v0,·v3 |
48 | ····move/from16·v2 | 48 | ····move/from16·v23,·v0 |
49 | ····const/16·v2 | 49 | ····const/16·v22,·0x0 |
50 | ····:goto_0 | 50 | ····:goto_0 |
51 | ····move/from16·v0,·v2 | 51 | ····move/from16·v0,·v22 |
52 | ····move/from16·v1,·v2 | 52 | ····move/from16·v1,·v23 |
53 | ····if-ge·v0,·v1,·:cond_0 | 53 | ····if-ge·v0,·v1,·:cond_0 |
54 | ····aget-object·v2,·v3,·v2 | 54 | ····aget-object·v2,·v3,·v22 |
55 | ····.line·55 | 55 | ····.line·55 |
56 | ····.local·v2,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 56 | ····.local·v2,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
57 | ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I | 57 | ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I |
58 | ····move-result·v2 | 58 | ····move-result·v24 |
59 | ····add-int·v2 | 59 | ····add-int·v21,·v21,·v24 |
60 | ····.line·54 | 60 | ····.line·54 |
61 | ····add-int/lit8·v2 | 61 | ····add-int/lit8·v22,·v22,·0x1 |
62 | ····goto·:goto_0 | 62 | ····goto·:goto_0 |
63 | ····.line·59 | 63 | ····.line·59 |
64 | ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 64 | ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
65 | ····:cond_0 | 65 | ····:cond_0 |
66 | ····move/from16·v0,·v2 | 66 | ····move/from16·v0,·v21 |
67 | ····new-array·v0,·v0,·[Lcom/google/zxing/datamatrix/decoder/DataBlock; | 67 | ····new-array·v0,·v0,·[Lcom/google/zxing/datamatrix/decoder/DataBlock; |
68 | ····move-object/from16·v1 | 68 | ····move-object/from16·v18,·v0 |
69 | ····.line·60 | 69 | ····.line·60 |
70 | ····.local·v1 | 70 | ····.local·v18,·"result":[Lcom/google/zxing/datamatrix/decoder/DataBlock; |
71 | ····const/4·v1 | 71 | ····const/4·v14,·0x0 |
72 | ····.line·61 | 72 | ····.line·61 |
73 | ····.local·v1 | 73 | ····.local·v14,·"numResultBlocks":I |
74 | ····array-length·v0,·v3 | 74 | ····array-length·v0,·v3 |
75 | ····move/from16·v2 | 75 | ····move/from16·v23,·v0 |
76 | ····const/16·v2 | 76 | ····const/16·v22,·0x0 |
77 | ····:goto_1 | 77 | ····:goto_1 |
78 | ····move/from16·v0,·v2 | 78 | ····move/from16·v0,·v22 |
79 | ····move/from16·v1,·v2 | 79 | ····move/from16·v1,·v23 |
80 | ····if-ge·v0,·v1,·:cond_2 | 80 | ····if-ge·v0,·v1,·:cond_2 |
81 | ····aget-object·v2,·v3,·v2 | 81 | ····aget-object·v2,·v3,·v22 |
82 | ····.line·62 | 82 | ····.line·62 |
83 | ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 83 | ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
84 | ····const/4·v5,·0x0 | 84 | ····const/4·v5,·0x0 |
85 | ····.local·v5,·"i":I | 85 | ····.local·v5,·"i":I |
86 | ····:goto_2 | 86 | ····:goto_2 |
87 | ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I | 87 | ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I |
88 | ····move-result·v2 | 88 | ····move-result·v24 |
89 | ····move/from16·v0,·v2 | 89 | ····move/from16·v0,·v24 |
90 | ····if-ge·v5,·v0,·:cond_1 | 90 | ····if-ge·v5,·v0,·:cond_1 |
91 | ····.line·63 | 91 | ····.line·63 |
92 | ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getDataCodewords()I | 92 | ····invoke-virtual·{v2},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getDataCodewords()I |
93 | ····move-result·v1 | 93 | ····move-result·v12 |
94 | ····.line·64 | 94 | ····.line·64 |
95 | ····.local·v1 | 95 | ····.local·v12,·"numDataCodewords":I |
96 | ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I | 96 | ····invoke-virtual·{v4},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I |
97 | ····move-result·v2 | 97 | ····move-result·v24 |
98 | ····add-int·v1 | 98 | ····add-int·v11,·v24,·v12 |
99 | ····.line·65 | 99 | ····.line·65 |
100 | ····.local·v1 | 100 | ····.local·v11,·"numBlockCodewords":I |
101 | ····add-int/lit8·v1 | 101 | ····add-int/lit8·v15,·v14,·0x1 |
102 | ····.end·local·v1 | 102 | ····.end·local·v14····#·"numResultBlocks":I |
103 | ····.local·v1 | 103 | ····.local·v15,·"numResultBlocks":I |
104 | ····new-instance·v2 | 104 | ····new-instance·v24,·Lcom/google/zxing/datamatrix/decoder/DataBlock; |
105 | ····new-array·v0,·v1 | 105 | ····new-array·v0,·v11,·[B |
106 | ····move-object/from16·v2 | 106 | ····move-object/from16·v25,·v0 |
107 | ····move-object/from16·v0,·v2 | 107 | ····move-object/from16·v0,·v24 |
Max diff block lines reached; 11250/15521 bytes (72.48%) of diff not shown. |
Offset 1031, 34 lines modified | Offset 1031, 30 lines modified | ||
1031 | ····invoke-direct·{v7,·v0,·v8},·Ljava/lang/String;-><init>([BLjava/lang/String;)V | 1031 | ····invoke-direct·{v7,·v0,·v8},·Ljava/lang/String;-><init>([BLjava/lang/String;)V |
1032 | ····invoke-virtual·{p1,·v7},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1032 | ····invoke-virtual·{p1,·v7},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
1033 | ····:try_end_0 | 1033 | ····:try_end_0 |
1034 | ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_0 | 1034 | ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_0 |
1035 | ····.line·48 | 1035 | ····.line·484 |
1036 | ····return-void | 1036 | ····return-void |
1037 | ····.line·482 | 1037 | ····.line·482 |
1038 | ····:catch_0 | 1038 | ····:catch_0 |
1039 | ····move-exception·v6 | 1039 | ····move-exception·v6 |
1040 | ····.line·483 | 1040 | ····.line·483 |
1041 | ····.local·v6,·"uee":Ljava/io/UnsupportedEncodingException; | 1041 | ····.local·v6,·"uee":Ljava/io/UnsupportedEncodingException; |
1042 | ····new-instance·v7,·Ljava/lang/IllegalStateException; | 1042 | ····new-instance·v7,·Ljava/lang/IllegalStateException; |
1043 | ····new-instance·v8,·Ljava/lang/StringBuilder; | 1043 | ····new-instance·v8,·Ljava/lang/StringBuilder; |
1044 | ····invoke-direct·{v8},·Ljava/lang/StringBuilder;-><init>()V | ||
1045 | ····const-string·v9,·"Platform·does·not·support·required·encoding:·" | 1044 | ····const-string·v9,·"Platform·does·not·support·required·encoding:·" |
1046 | ····invoke- | 1045 | ····invoke-direct·{v8,·v9},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
1047 | ····move-result-object·v8 | ||
1048 | ····invoke-virtual·{v8,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | 1046 | ····invoke-virtual·{v8,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
1049 | ····move-result-object·v8 | 1047 | ····move-result-object·v8 |
1050 | ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1048 | ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 25, 244 lines modified | Offset 25, 238 lines modified | ||
25 | ····iput-object·v0,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; | 25 | ····iput-object·v0,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; |
26 | ····.line·39 | 26 | ····.line·39 |
27 | ····return-void | 27 | ····return-void |
28 | .end·method | 28 | .end·method |
29 | .method·private·correctErrors([BI)V | 29 | .method·private·correctErrors([BI)V |
30 | ····.locals· | 30 | ····.locals·5 |
31 | ····.param·p1,·"codewordBytes"····#·[B | 31 | ····.param·p1,·"codewordBytes"····#·[B |
32 | ····.param·p2,·"numDataCodewords"····#·I | 32 | ····.param·p2,·"numDataCodewords"····#·I |
33 | ····.annotation·system·Ldalvik/annotation/Throws; | 33 | ····.annotation·system·Ldalvik/annotation/Throws; |
34 | ········value·=·{ | 34 | ········value·=·{ |
35 | ············Lcom/google/zxing/ChecksumException; | 35 | ············Lcom/google/zxing/ChecksumException; |
36 | ········} | 36 | ········} |
37 | ····.end·annotation | 37 | ····.end·annotation |
38 | ····.prologue | 38 | ····.prologue |
39 | ····.line·11 | 39 | ····.line·116 |
40 | ····array-length·v | 40 | ····array-length·v2,·p1 |
41 | ····.line·11 | 41 | ····.line·118 |
42 | ····.local·v | 42 | ····.local·v2,·"numCodewords":I |
43 | ····new-array·v0,·v | 43 | ····new-array·v0,·v2,·[I |
44 | ····.line·1 | 44 | ····.line·119 |
45 | ····.local·v0,·"codewordsInts":[I | 45 | ····.local·v0,·"codewordsInts":[I |
46 | ····const/4·v1,·0x0 | 46 | ····const/4·v1,·0x0 |
47 | ····.local·v1,·"i":I | 47 | ····.local·v1,·"i":I |
48 | ····:goto_0 | 48 | ····:goto_0 |
49 | ····if-ge·v1,·v | 49 | ····if-ge·v1,·v2,·:cond_0 |
50 | ····.line·12 | 50 | ····.line·120 |
51 | ····aget-byte·v | 51 | ····aget-byte·v3,·p1,·v1 |
52 | ····and-int/lit16·v | 52 | ····and-int/lit16·v3,·v3,·0xff |
53 | ····aput·v | 53 | ····aput·v3,·v0,·v1 |
54 | ····.line·1 | 54 | ····.line·119 |
55 | ····add-int/lit8·v1,·v1,·0x1 | 55 | ····add-int/lit8·v1,·v1,·0x1 |
56 | ····goto·:goto_0 | 56 | ····goto·:goto_0 |
57 | ····.line·123 | 57 | ····.line·123 |
58 | ····:cond_0 | 58 | ····:cond_0 |
59 | ···· | 59 | ····:try_start_0 |
60 | ····iget-object·v3,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; | ||
60 | ···· | 61 | ····array-length·v4,·p1 |
62 | ····sub-int/2addr·v4,·p2 | ||
61 | ····.line·125 | ||
62 | ····.local·v4,·"numECCodewords":I | ||
63 | ····:try_start_0 | ||
64 | ····iget-object·v5,·p0,·Lcom/google/zxing/datamatrix/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; | ||
65 | ····invoke-virtual·{v | 63 | ····invoke-virtual·{v3,·v0,·v4},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V |
66 | ····:try_end_0 | 64 | ····:try_end_0 |
67 | ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0 | 65 | ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0 |
68 | ····.line·1 | 66 | ····.line·129 |
69 | ····const/4·v1,·0x0 | 67 | ····const/4·v1,·0x0 |
70 | ····:goto_1 | 68 | ····:goto_1 |
71 | ····if-ge·v1,·p2,·:cond_1 | 69 | ····if-ge·v1,·p2,·:cond_1 |
72 | ····.line·13 | 70 | ····.line·130 |
73 | ····aget·v | 71 | ····aget·v3,·v0,·v1 |
74 | ····int-to-byte·v | 72 | ····int-to-byte·v3,·v3 |
75 | ····aput-byte·v | 73 | ····aput-byte·v3,·p1,·v1 |
76 | ····.line·1 | 74 | ····.line·129 |
77 | ····add-int/lit8·v1,·v1,·0x1 | 75 | ····add-int/lit8·v1,·v1,·0x1 |
78 | ····goto·:goto_1 | 76 | ····goto·:goto_1 |
79 | ····.line·12 | 77 | ····.line·125 |
80 | ····:catch_0 | 78 | ····:catch_0 |
81 | ····move-exception·v | 79 | ····move-exception·v3 |
82 | ····.line·127 | ||
83 | ····.local·v2,·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; | ||
84 | ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException; | 80 | ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException; |
85 | ····move-result-object·v | 81 | ····move-result-object·v3 |
86 | ····throw·v | 82 | ····throw·v3 |
87 | ····.line·13 | 83 | ····.line·132 |
88 | ····.end·local·v2····#·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; | ||
89 | ····:cond_1 | 84 | ····:cond_1 |
90 | ····return-void | 85 | ····return-void |
91 | .end·method | 86 | .end·method |
92 | #·virtual·methods | 87 | #·virtual·methods |
93 | .method·public·decode(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/DecoderResult; | 88 | .method·public·decode(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/DecoderResult; |
94 | ····.locals·1 | 89 | ····.locals·16 |
95 | ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix; | 90 | ····.param·p1,·"bits"····#·Lcom/google/zxing/common/BitMatrix; |
96 | ····.annotation·system·Ldalvik/annotation/Throws; | 91 | ····.annotation·system·Ldalvik/annotation/Throws; |
97 | ········value·=·{ | 92 | ········value·=·{ |
98 | ············Lcom/google/zxing/FormatException;, | 93 | ············Lcom/google/zxing/FormatException;, |
99 | ············Lcom/google/zxing/ChecksumException; | 94 | ············Lcom/google/zxing/ChecksumException; |
100 | ········} | 95 | ········} |
101 | ····.end·annotation | 96 | ····.end·annotation |
102 | ····.prologue | 97 | ····.prologue |
103 | ····.line·75 | 98 | ····.line·75 |
104 | ····new-instance·v | 99 | ····new-instance·v9,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser; |
105 | ····move-object/from16·v0,·p1 | 100 | ····move-object/from16·v0,·p1 |
106 | ····invoke-direct·{v | 101 | ····invoke-direct·{v9,·v0},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;-><init>(Lcom/google/zxing/common/BitMatrix;)V |
107 | ····.line·76 | 102 | ····.line·76 |
108 | ····.local·v | 103 | ····.local·v9,·"parser":Lcom/google/zxing/datamatrix/decoder/BitMatrixParser; |
109 | ····invoke-virtual·{v | 104 | ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->getVersion()Lcom/google/zxing/datamatrix/decoder/Version; |
110 | ····move-result-object·v1 | 105 | ····move-result-object·v12 |
111 | ····.line·79 | 106 | ····.line·79 |
112 | ····.local·v1 | 107 | ····.local·v12,·"version":Lcom/google/zxing/datamatrix/decoder/Version; |
113 | ····invoke-virtual·{v | 108 | ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readCodewords()[B |
Max diff block lines reached; 5056/9854 bytes (51.31%) of diff not shown. |
Offset 75, 38 lines modified | Offset 75, 37 lines modified | ||
75 | ····.line·49 | 75 | ····.line·49 |
76 | ····iput·p5,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->dataRegionSizeColumns:I | 76 | ····iput·p5,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->dataRegionSizeColumns:I |
77 | ····.line·50 | 77 | ····.line·50 |
78 | ····iput-object·p6,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->ecBlocks:Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks; | 78 | ····iput-object·p6,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->ecBlocks:Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks; |
79 | ····.line·53 | 79 | ····.line·53 |
80 | ····const/4·v | 80 | ····const/4·v2,·0x0 |
81 | ····.line·54 | 81 | ····.line·54 |
82 | ····.local·v | 82 | ····.local·v2,·"total":I |
83 | ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I | 83 | ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECCodewords()I |
84 | ····move-result·v1 | 84 | ····move-result·v1 |
85 | ····.line·55 | 85 | ····.line·55 |
86 | ····.local·v1,·"ecCodewords":I | 86 | ····.local·v1,·"ecCodewords":I |
87 | ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 87 | ····invoke-virtual·{p6},·Lcom/google/zxing/datamatrix/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
88 | ····move-result-object·v | 88 | ····move-result-object·v4 |
89 | ····.line·56 | 89 | ····.line·56 |
90 | ····.local·v2,·"ecbArray":[Lcom/google/zxing/datamatrix/decoder/Version$ECB; | ||
91 | ····array-length·v5,·v | 90 | ····array-length·v5,·v4 |
92 | ····const/4·v | 91 | ····const/4·v3,·0x0 |
93 | ····:goto_0 | 92 | ····:goto_0 |
94 | ····if-ge·v | 93 | ····if-ge·v3,·v5,·:cond_0 |
95 | ····aget-object·v0,·v | 94 | ····aget-object·v0,·v4,·v3 |
96 | ····.line·57 | 95 | ····.line·57 |
97 | ····.local·v0,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 96 | ····.local·v0,·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
98 | ····invoke-virtual·{v0},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I | 97 | ····invoke-virtual·{v0},·Lcom/google/zxing/datamatrix/decoder/Version$ECB;->getCount()I |
99 | ····move-result·v6 | 98 | ····move-result·v6 |
Offset 114, 25 lines modified | Offset 113, 25 lines modified | ||
114 | ····move-result·v7 | 113 | ····move-result·v7 |
115 | ····add-int/2addr·v7,·v1 | 114 | ····add-int/2addr·v7,·v1 |
116 | ····mul-int/2addr·v6,·v7 | 115 | ····mul-int/2addr·v6,·v7 |
117 | ····add-int/2addr·v | 116 | ····add-int/2addr·v2,·v6 |
118 | ····.line·56 | 117 | ····.line·56 |
119 | ····add-int/lit8·v | 118 | ····add-int/lit8·v3,·v3,·0x1 |
120 | ····goto·:goto_0 | 119 | ····goto·:goto_0 |
121 | ····.line·59 | 120 | ····.line·59 |
122 | ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; | 121 | ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/datamatrix/decoder/Version$ECB; |
123 | ····:cond_0 | 122 | ····:cond_0 |
124 | ····iput·v | 123 | ····iput·v2,·p0,·Lcom/google/zxing/datamatrix/decoder/Version;->totalCodewords:I |
125 | ····.line·60 | 124 | ····.line·60 |
126 | ····return-void | 125 | ····return-void |
127 | .end·method | 126 | .end·method |
128 | .method·private·static·buildVersions()[Lcom/google/zxing/datamatrix/decoder/Version; | 127 | .method·private·static·buildVersions()[Lcom/google/zxing/datamatrix/decoder/Version; |
129 | ····.locals·15 | 128 | ····.locals·15 |
Offset 57, 15 lines modified | Offset 57, 15 lines modified | ||
57 | ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readVersion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/datamatrix/decoder/Version; | 57 | ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readVersion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/datamatrix/decoder/Version; |
58 | ····move-result-object·v1 | 58 | ····move-result-object·v1 |
59 | ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version; | 59 | ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version; |
60 | ····.line·42 | 60 | ····.line·42 |
61 | ····invoke- | 61 | ····invoke-direct·{p0,·p1},·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->extractDataRegion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/BitMatrix; |
62 | ····move-result-object·v1 | 62 | ····move-result-object·v1 |
63 | ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix; | 63 | ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix; |
64 | ····.line·43 | 64 | ····.line·43 |
65 | ····new-instance·v1,·Lcom/google/zxing/common/BitMatrix; | 65 | ····new-instance·v1,·Lcom/google/zxing/common/BitMatrix; |
Offset 86, 47 lines modified | Offset 86, 15 lines modified | ||
86 | ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readMappingMatrix:Lcom/google/zxing/common/BitMatrix; | 86 | ····iput-object·v1,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->readMappingMatrix:Lcom/google/zxing/common/BitMatrix; |
87 | ····.line·44 | 87 | ····.line·44 |
88 | ····return-void | 88 | ····return-void |
89 | .end·method | 89 | .end·method |
90 | .method·private·static·readVersion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/datamatrix/decoder/Version; | ||
91 | ····.locals·3 | ||
92 | ····.param·p0,·"bitMatrix"····#·Lcom/google/zxing/common/BitMatrix; | ||
93 | ····.annotation·system·Ldalvik/annotation/Throws; | ||
94 | ········value·=·{ | ||
95 | ············Lcom/google/zxing/FormatException; | ||
96 | ········} | ||
97 | ····.end·annotation | ||
98 | ····.prologue | ||
99 | ····.line·62 | ||
100 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getHeight()I | ||
101 | ····move-result·v1 | ||
102 | ····.line·63 | ||
103 | ····.local·v1,·"numRows":I | ||
104 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getWidth()I | ||
105 | ····move-result·v0 | ||
106 | ····.line·64 | ||
107 | ····.local·v0,·"numColumns":I | ||
108 | ····invoke-static·{v1,·v0},·Lcom/google/zxing/datamatrix/decoder/Version;->getVersionForDimensions(II)Lcom/google/zxing/datamatrix/decoder/Version; | ||
109 | ····move-result-object·v2 | ||
110 | ····return-object·v2 | ||
111 | .end·method | ||
112 | #·virtual·methods | ||
113 | .method·extractDataRegion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/BitMatrix; | 90 | .method·private·extractDataRegion(Lcom/google/zxing/common/BitMatrix;)Lcom/google/zxing/common/BitMatrix; |
114 | ····.locals·23 | 91 | ····.locals·23 |
115 | ····.param·p1,·"bitMatrix"····#·Lcom/google/zxing/common/BitMatrix; | 92 | ····.param·p1,·"bitMatrix"····#·Lcom/google/zxing/common/BitMatrix; |
116 | ····.prologue | 93 | ····.prologue |
117 | ····.line·403 | 94 | ····.line·403 |
118 | ····move-object/from16·v0,·p0 | 95 | ····move-object/from16·v0,·p0 |
Offset 334, 408 lines modified | Offset 302, 15 lines modified | ||
334 | ····.line·437 | 302 | ····.line·437 |
335 | ····.end·local·v3····#·"dataRegionColumn":I | 303 | ····.end·local·v3····#·"dataRegionColumn":I |
336 | ····.end·local·v6····#·"dataRegionRowOffset":I | 304 | ····.end·local·v6····#·"dataRegionRowOffset":I |
337 | ····:cond_5 | 305 | ····:cond_5 |
338 | ····return-object·v2 | 306 | ····return-object·v2 |
339 | .end·method | 307 | .end·method |
340 | .method·getVersion()Lcom/google/zxing/datamatrix/decoder/Version; | ||
341 | ····.locals·1 | ||
342 | ····.prologue | ||
343 | ····.line·47 | ||
344 | ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version; | ||
345 | ····return-object·v0 | ||
346 | .end·method | ||
347 | .method·readCodewords()[B | ||
348 | ····.locals·13 | ||
349 | ····.annotation·system·Ldalvik/annotation/Throws; | ||
350 | ········value·=·{ | ||
351 | ············Lcom/google/zxing/FormatException; | ||
352 | ········} | ||
353 | ····.end·annotation | ||
354 | ····.prologue | ||
355 | ····.line·77 | ||
356 | ····iget-object·v11,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->version:Lcom/google/zxing/datamatrix/decoder/Version; | ||
357 | ····invoke-virtual·{v11},·Lcom/google/zxing/datamatrix/decoder/Version;->getTotalCodewords()I | ||
358 | ····move-result·v11 | ||
359 | ····new-array·v7,·v11,·[B | ||
360 | ····.line·78 | ||
361 | ····.local·v7,·"result":[B | ||
362 | ····const/4·v8,·0x0 | ||
363 | ····.line·80 | ||
364 | ····.local·v8,·"resultOffset":I | ||
365 | ····const/4·v10,·0x4 | ||
366 | ····.line·81 | ||
367 | ····.local·v10,·"row":I | ||
368 | ····const/4·v0,·0x0 | ||
369 | ····.line·83 | ||
370 | ····.local·v0,·"column":I | ||
371 | ····iget-object·v11,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix; | ||
372 | ····invoke-virtual·{v11},·Lcom/google/zxing/common/BitMatrix;->getHeight()I | ||
373 | ····move-result·v6 | ||
374 | ····.line·84 | ||
375 | ····.local·v6,·"numRows":I | ||
376 | ····iget-object·v11,·p0,·Lcom/google/zxing/datamatrix/decoder/BitMatrixParser;->mappingBitMatrix:Lcom/google/zxing/common/BitMatrix; | ||
377 | ····invoke-virtual·{v11},·Lcom/google/zxing/common/BitMatrix;->getWidth()I | ||
378 | ····move-result·v5 | ||
Max diff block lines reached; 29030/40133 bytes (72.33%) of diff not shown. |
Offset 14, 142 lines modified | Offset 14, 135 lines modified | ||
14 | ····.line·19 | 14 | ····.line·19 |
15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 15 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
16 | ····return-void | 16 | ····return-void |
17 | .end·method | 17 | .end·method |
18 | .method·private·static·encodeASCIIDigits(CC)C | 18 | .method·private·static·encodeASCIIDigits(CC)C |
19 | ····.locals· | 19 | ····.locals·3 |
20 | ····.param·p0,·"digit1"····#·C | 20 | ····.param·p0,·"digit1"····#·C |
21 | ····.param·p1,·"digit2"····#·C | 21 | ····.param·p1,·"digit2"····#·C |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line·75 | 23 | ····.line·75 |
24 | ····invoke-static·{p0},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z | 24 | ····invoke-static·{p0},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z |
25 | ····move-result·v | 25 | ····move-result·v0 |
26 | ····if-eqz·v | 26 | ····if-eqz·v0,·:cond_0 |
27 | ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z | 27 | ····invoke-static·{p1},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->isDigit(C)Z |
28 | ····move-result·v | 28 | ····move-result·v0 |
29 | ····if-eqz·v | 29 | ····if-eqz·v0,·:cond_0 |
30 | ····.line·76 | 30 | ····.line·76 |
31 | ····add-int/lit8·v | 31 | ····add-int/lit8·v0,·p0,·-0x30 |
32 | ····mul-int/lit8·v | 32 | ····mul-int/lit8·v0,·v0,·0xa |
33 | ····add-int/lit8·v | 33 | ····add-int/lit8·v1,·p1,·-0x30 |
34 | ····add-int | 34 | ····add-int/2addr·v0,·v1 |
35 | ····.line·77 | 35 | ····.line·77 |
36 | ····.local·v0,·"num":I | ||
37 | ····add-int/lit16·v | 36 | ····add-int/lit16·v0,·v0,·0x82 |
38 | ····int-to-char·v | 37 | ····int-to-char·v0,·v0 |
39 | ····return·v | 38 | ····return·v0 |
40 | ····.line·79 | 39 | ····.line·79 |
41 | ····.end·local·v0····#·"num":I | ||
42 | ····:cond_0 | 40 | ····:cond_0 |
43 | ····new-instance·v | 41 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; |
44 | ····new-instance·v2,·Ljava/lang/StringBuilder; | ||
45 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | ||
46 | ···· | 42 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
47 | ···· | 43 | ····const-string·v2,·"not·digits:·" |
48 | ···· | 44 | ····invoke-direct·{v1,·v2},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
49 | ····invoke-virtual·{v | 45 | ····invoke-virtual·{v1,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
50 | ····move-result-object·v | 46 | ····move-result-object·v1 |
51 | ····invoke-virtual·{v | 47 | ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
52 | ····move-result-object·v | 48 | ····move-result-object·v1 |
53 | ····invoke-virtual·{v | 49 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
54 | ····move-result-object·v | 50 | ····move-result-object·v1 |
55 | ····invoke-direct·{v | 51 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
56 | ····throw·v | 52 | ····throw·v0 |
57 | .end·method | 53 | .end·method |
58 | #·virtual·methods | 54 | #·virtual·methods |
59 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V | 55 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V |
60 | ····.locals· | 56 | ····.locals·6 |
61 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; | 57 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; |
62 | ····.prologue | 58 | ····.prologue |
63 | ····const/4·v | 59 | ····const/4·v5,·0x2 |
64 | ····.line·29 | 60 | ····.line·29 |
65 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; | 61 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; |
66 | ····move-result-object·v | 62 | ····move-result-object·v2 |
67 | ····iget·v | 63 | ····iget·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
68 | ····invoke-static·{v | 64 | ····invoke-static·{v2,·v3},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->determineConsecutiveDigitCount(Ljava/lang/CharSequence;I)I |
69 | ····move-result·v | 65 | ····move-result·v2 |
70 | ····.line·30 | 66 | ····.line·30 |
71 | ····.local·v1,·"n":I | ||
72 | ····if-lt·v | 67 | ····if-lt·v2,·v5,·:cond_0 |
73 | ····.line·31 | 68 | ····.line·31 |
74 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; | 69 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; |
75 | ····move-result-object·v | 70 | ····move-result-object·v2 |
76 | ····iget·v | 71 | ····iget·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
77 | ····invoke-virtual·{v | 72 | ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->charAt(I)C |
78 | ····move-result·v | 73 | ····move-result·v2 |
79 | ····.line·32 | 74 | ····.line·32 |
80 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; | 75 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; |
81 | ····move-result-object·v | 76 | ····move-result-object·v3 |
82 | ····iget·v | 77 | ····iget·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
83 | ····add-int/lit8·v | 78 | ····add-int/lit8·v4,·v4,·0x1 |
84 | ····invoke-virtual·{v | 79 | ····invoke-virtual·{v3,·v4},·Ljava/lang/String;->charAt(I)C |
85 | ····move-result·v | 80 | ····move-result·v3 |
86 | ····.line·31 | 81 | ····.line·31 |
87 | ····invoke-static·{v | 82 | ····invoke-static·{v2,·v3},·Lcom/google/zxing/datamatrix/encoder/ASCIIEncoder;->encodeASCIIDigits(CC)C |
88 | ····move-result·v | 83 | ····move-result·v2 |
Max diff block lines reached; 7955/13241 bytes (60.08%) of diff not shown. |
Offset 383, 16 lines modified | Offset 383, 46 lines modified | ||
383 | ····invoke-direct·{p0,·v4,·v0,·p1,·v1},·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->module(IIII)V | 383 | ····invoke-direct·{p0,·v4,·v0,·p1,·v1},·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->module(IIII)V |
384 | ····.line·196 | 384 | ····.line·196 |
385 | ····return-void | 385 | ····return-void |
386 | .end·method | 386 | .end·method |
387 | .method·private·hasBit(II)Z | ||
388 | ····.locals·2 | ||
389 | ····.param·p1,·"col"····#·I | ||
390 | ····.param·p2,·"row"····#·I | ||
391 | ····.prologue | ||
392 | ····.line·67 | ||
393 | ····iget-object·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->bits:[B | ||
394 | ····iget·v1,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numcols:I | ||
395 | ····mul-int/2addr·v1,·p2 | ||
396 | ····add-int/2addr·v1,·p1 | ||
397 | ····aget-byte·v0,·v0,·v1 | ||
398 | ····if-ltz·v0,·:cond_0 | ||
399 | ····const/4·v0,·0x1 | ||
400 | ····:goto_0 | ||
401 | ····return·v0 | ||
402 | ····:cond_0 | ||
403 | ····const/4·v0,·0x0 | ||
404 | ····goto·:goto_0 | ||
405 | .end·method | ||
387 | .method·private·module(IIII)V | 406 | .method·private·module(IIII)V |
388 | ····.locals· | 407 | ····.locals·4 |
389 | ····.param·p1,·"row"····#·I | 408 | ····.param·p1,·"row"····#·I |
390 | ····.param·p2,·"col"····#·I | 409 | ····.param·p2,·"col"····#·I |
391 | ····.param·p3,·"pos"····#·I | 410 | ····.param·p3,·"pos"····#·I |
392 | ····.param·p4,·"bit"····#·I | 411 | ····.param·p4,·"bit"····#·I |
393 | ····.prologue | 412 | ····.prologue |
394 | ····const/4·v1,·0x1 | 413 | ····const/4·v1,·0x1 |
Offset 438, 40 lines modified | Offset 468, 75 lines modified | ||
438 | ····.line·131 | 468 | ····.line·131 |
439 | ····:cond_1 | 469 | ····:cond_1 |
440 | ····iget-object·v2,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->codewords:Ljava/lang/CharSequence; | 470 | ····iget-object·v2,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->codewords:Ljava/lang/CharSequence; |
441 | ····invoke-interface·{v2,·p3},·Ljava/lang/CharSequence;->charAt(I)C | 471 | ····invoke-interface·{v2,·p3},·Ljava/lang/CharSequence;->charAt(I)C |
442 | ····move-result·v | 472 | ····move-result·v2 |
443 | ····.line·132 | 473 | ····.line·132 |
444 | ····.local·v0,·"v":I | ||
445 | ····rsub-int/lit8·v | 474 | ····rsub-int/lit8·v3,·p4,·0x8 |
446 | ····shl-int·v | 475 | ····shl-int·v3,·v1,·v3 |
447 | ····and-int | 476 | ····and-int·v0,·v2,·v3 |
448 | ····.line·133 | 477 | ····.line·133 |
478 | ····.local·v0,·"v":I | ||
449 | ····if-eqz·v0,·:cond_2 | 479 | ····if-eqz·v0,·:cond_2 |
450 | ····:goto_0 | 480 | ····:goto_0 |
451 | ····invoke- | 481 | ····invoke-direct·{p0,·p2,·p1,·v1},·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->setBit(IIZ)V |
452 | ····.line·134 | 482 | ····.line·134 |
453 | ····return-void | 483 | ····return-void |
454 | ····.line·133 | 484 | ····.line·133 |
455 | ····:cond_2 | 485 | ····:cond_2 |
456 | ····const/4·v1,·0x0 | 486 | ····const/4·v1,·0x0 |
457 | ····goto·:goto_0 | 487 | ····goto·:goto_0 |
458 | .end·method | 488 | .end·method |
489 | .method·private·setBit(IIZ)V | ||
490 | ····.locals·3 | ||
491 | ····.param·p1,·"col"····#·I | ||
492 | ····.param·p2,·"row"····#·I | ||
493 | ····.param·p3,·"bit"····#·Z | ||
494 | ····.prologue | ||
495 | ····.line·63 | ||
496 | ····iget-object·v1,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->bits:[B | ||
497 | ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numcols:I | ||
498 | ····mul-int/2addr·v0,·p2 | ||
499 | ····add-int·v2,·v0,·p1 | ||
500 | ····if-eqz·p3,·:cond_0 | ||
501 | ····const/4·v0,·0x1 | ||
502 | ····:goto_0 | ||
503 | ····int-to-byte·v0,·v0 | ||
504 | ····aput-byte·v0,·v1,·v2 | ||
505 | ····.line·64 | ||
506 | ····return-void | ||
507 | ····.line·63 | ||
508 | ····:cond_0 | ||
509 | ····const/4·v0,·0x0 | ||
510 | ····goto·:goto_0 | ||
511 | .end·method | ||
459 | .method·private·utah(III)V | 512 | .method·private·utah(III)V |
460 | ····.locals·3 | 513 | ····.locals·3 |
461 | ····.param·p1,·"row"····#·I | 514 | ····.param·p1,·"row"····#·I |
462 | ····.param·p2,·"col"····#·I | 515 | ····.param·p2,·"col"····#·I |
463 | ····.param·p3,·"pos"····#·I | 516 | ····.param·p3,·"pos"····#·I |
464 | ····.prologue | 517 | ····.prologue |
Offset 599, 44 lines modified | Offset 664, 14 lines modified | ||
599 | ····.prologue | 664 | ····.prologue |
600 | ····.line·47 | 665 | ····.line·47 |
601 | ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numrows:I | 666 | ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/DefaultPlacement;->numrows:I |
Max diff block lines reached; 3809/6555 bytes (58.11%) of diff not shown. |
Offset 87, 17 lines modified | Offset 87, 17 lines modified | ||
87 | ····if-ltz·p1,·:cond_3 | 87 | ····if-ltz·p1,·:cond_3 |
88 | ····const/16·v2,·0x1f | 88 | ····const/16·v2,·0x1f |
89 | ····if-gt·p1,·v2,·:cond_3 | 89 | ····if-gt·p1,·v2,·:cond_3 |
90 | ····.line·41 | 90 | ····.line·41 |
91 | ····const/4·v | 91 | ····const/4·v0,·0x0 |
92 | ····invoke-virtual·{p2,·v | 92 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
93 | ····.line·42 | 93 | ····.line·42 |
94 | ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 94 | ····invoke-virtual·{p2,·p1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
95 | ····move·v0,·v1 | 95 | ····move·v0,·v1 |
96 | ····.line·43 | 96 | ····.line·43 |
Offset 113, 19 lines modified | Offset 113, 19 lines modified | ||
113 | ····if-gt·p1,·v2,·:cond_4 | 113 | ····if-gt·p1,·v2,·:cond_4 |
114 | ····.line·46 | 114 | ····.line·46 |
115 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 115 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
116 | ····.line·47 | 116 | ····.line·47 |
117 | ····add-int/lit8·v | 117 | ····add-int/lit8·v0,·p1,·-0x21 |
118 | ····int-to-char·v | 118 | ····int-to-char·v0,·v0 |
119 | ····invoke-virtual·{p2,·v | 119 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
120 | ····move·v0,·v1 | 120 | ····move·v0,·v1 |
121 | ····.line·48 | 121 | ····.line·48 |
122 | ····goto·:goto_0 | 122 | ····goto·:goto_0 |
123 | ····.line·50 | 123 | ····.line·50 |
Offset 138, 21 lines modified | Offset 138, 21 lines modified | ||
138 | ····if-gt·p1,·v2,·:cond_5 | 138 | ····if-gt·p1,·v2,·:cond_5 |
139 | ····.line·51 | 139 | ····.line·51 |
140 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 140 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
141 | ····.line·52 | 141 | ····.line·52 |
142 | ····add-int/lit8·v | 142 | ····add-int/lit8·v0,·p1,·-0x3a |
143 | ····add-int/lit8·v | 143 | ····add-int/lit8·v0,·v0,·0xf |
144 | ····int-to-char·v | 144 | ····int-to-char·v0,·v0 |
145 | ····invoke-virtual·{p2,·v | 145 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
146 | ····move·v0,·v1 | 146 | ····move·v0,·v1 |
147 | ····.line·53 | 147 | ····.line·53 |
148 | ····goto·:goto_0 | 148 | ····goto·:goto_0 |
149 | ····.line·55 | 149 | ····.line·55 |
Offset 165, 133 lines modified | Offset 165, 128 lines modified | ||
165 | ····if-gt·p1,·v2,·:cond_6 | 165 | ····if-gt·p1,·v2,·:cond_6 |
166 | ····.line·56 | 166 | ····.line·56 |
167 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 167 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
168 | ····.line·57 | 168 | ····.line·57 |
169 | ····add-int/lit8·v | 169 | ····add-int/lit8·v0,·p1,·-0x5b |
170 | ····add-int/lit8·v | 170 | ····add-int/lit8·v0,·v0,·0x16 |
171 | ····int-to-char·v | 171 | ····int-to-char·v0,·v0 |
172 | ····invoke-virtual·{p2,·v | 172 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
173 | ····move·v0,·v1 | 173 | ····move·v0,·v1 |
174 | ····.line·58 | 174 | ····.line·58 |
175 | ····goto·:goto_0 | 175 | ····goto·:goto_0 |
176 | ····.line·60 | 176 | ····.line·60 |
177 | ····:cond_6 | 177 | ····:cond_6 |
178 | ····const/16·v | 178 | ····const/16·v0,·0x60 |
179 | ····if-ne·p1,·v | 179 | ····if-ne·p1,·v0,·:cond_7 |
180 | ····.line·61 | 180 | ····.line·61 |
181 | ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 181 | ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
182 | ····.line·62 | 182 | ····.line·62 |
183 | ····add-int/lit8·v | 183 | ····add-int/lit8·v0,·p1,·-0x60 |
184 | ····int-to-char·v | 184 | ····int-to-char·v0,·v0 |
185 | ····invoke-virtual·{p2,·v | 185 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
186 | ····move·v0,·v1 | 186 | ····move·v0,·v1 |
187 | ····.line·63 | 187 | ····.line·63 |
188 | ····goto·:goto_0 | 188 | ····goto·:goto_0 |
189 | ····.line·65 | 189 | ····.line·65 |
190 | ····:cond_7 | 190 | ····:cond_7 |
191 | ····const/16·v | 191 | ····const/16·v0,·0x41 |
192 | ····if-lt·p1,·v | 192 | ····if-lt·p1,·v0,·:cond_8 |
193 | ····const/16·v | 193 | ····const/16·v0,·0x5a |
194 | ····if-gt·p1,·v | 194 | ····if-gt·p1,·v0,·:cond_8 |
195 | ····.line·66 | 195 | ····.line·66 |
196 | ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 196 | ····invoke-virtual·{p2,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
197 | ····.line·67 | 197 | ····.line·67 |
198 | ····add-int/lit8·v | 198 | ····add-int/lit8·v0,·p1,·-0x41 |
199 | ····add-int/lit8·v | 199 | ····add-int/lit8·v0,·v0,·0x1 |
200 | ····int-to-char·v | 200 | ····int-to-char·v0,·v0 |
201 | ····invoke-virtual·{p2,·v | 201 | ····invoke-virtual·{p2,·v0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
202 | ····move·v0,·v1 | 202 | ····move·v0,·v1 |
203 | ····.line·68 | 203 | ····.line·68 |
204 | ····goto/16·:goto_0 | 204 | ····goto/16·:goto_0 |
Max diff block lines reached; 2022/5638 bytes (35.86%) of diff not shown. |
Offset 13, 92 lines modified | Offset 13, 90 lines modified | ||
13 | ····return-void | 13 | ····return-void |
14 | .end·method | 14 | .end·method |
15 | #·virtual·methods | 15 | #·virtual·methods |
16 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V | 16 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V |
17 | ····.locals· | 17 | ····.locals·6 |
18 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; | 18 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; |
19 | ····.prologue | 19 | ····.prologue |
20 | ····.line·29 | 20 | ····.line·29 |
21 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 21 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
22 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 22 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
23 | ····.line·30 | 23 | ····.line·30 |
24 | ····.local·v0,·"buffer":Ljava/lang/StringBuilder; | 24 | ····.local·v0,·"buffer":Ljava/lang/StringBuilder; |
25 | ····:cond_0 | 25 | ····:cond_0 |
26 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z | 26 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z |
27 | ····move-result·v | 27 | ····move-result·v3 |
28 | ····if-eqz·v | 28 | ····if-eqz·v3,·:cond_1 |
29 | ····.line·31 | 29 | ····.line·31 |
30 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C | 30 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C |
31 | ····move-result·v1 | 31 | ····move-result·v1 |
32 | ····.line·32 | 32 | ····.line·32 |
33 | ····.local·v1,·"c":C | 33 | ····.local·v1,·"c":C |
34 | ····iget·v | 34 | ····iget·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
35 | ····add-int/lit8·v | 35 | ····add-int/lit8·v3,·v3,·0x1 |
36 | ····iput·v | 36 | ····iput·v3,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
37 | ····.line·34 | 37 | ····.line·34 |
38 | ····invoke-virtual·{p0,·v1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->encodeChar(CLjava/lang/StringBuilder;)I | 38 | ····invoke-virtual·{p0,·v1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->encodeChar(CLjava/lang/StringBuilder;)I |
39 | ····.line·36 | 39 | ····.line·36 |
40 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I | 40 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I |
41 | ····move-result·v | 41 | ····move-result·v3 |
42 | ····.line·37 | 42 | ····.line·37 |
43 | ····.local·v2,·"count":I | ||
44 | ····rem-int/lit8·v | 43 | ····rem-int/lit8·v3,·v3,·0x3 |
45 | ····if-nez·v | 44 | ····if-nez·v3,·:cond_0 |
46 | ····.line·38 | 45 | ····.line·38 |
47 | ····invoke-static·{p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->writeNextTriplet(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V | 46 | ····invoke-static·{p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->writeNextTriplet(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V |
48 | ····.line·40 | 47 | ····.line·40 |
49 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; | 48 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; |
50 | ····move-result-object·v | 49 | ····move-result-object·v3 |
51 | ····iget·v | 50 | ····iget·v4,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
52 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I | 51 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I |
53 | ····move-result·v | 52 | ····move-result·v5 |
54 | ····invoke-static·{v | 53 | ····invoke-static·{v3,·v4,·v5},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->lookAheadTest(Ljava/lang/CharSequence;II)I |
55 | ····move-result·v | 54 | ····move-result·v2 |
56 | ····.line·41 | 55 | ····.line·41 |
57 | ····.local·v | 56 | ····.local·v2,·"newMode":I |
58 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I | 57 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->getEncodingMode()I |
59 | ····move-result·v | 58 | ····move-result·v3 |
60 | ····if-eq·v | 59 | ····if-eq·v2,·v3,·:cond_0 |
61 | ····.line·42 | 60 | ····.line·42 |
62 | ····invoke-virtual·{p1,·v | 61 | ····invoke-virtual·{p1,·v2},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V |
63 | ····.line·47 | 62 | ····.line·47 |
64 | ····.end·local·v1····#·"c":C | 63 | ····.end·local·v1····#·"c":C |
65 | ····.end·local·v2····#·"count":I | ||
66 | ····.end·local·v | 64 | ····.end·local·v2····#·"newMode":I |
67 | ····:cond_1 | 65 | ····:cond_1 |
68 | ····invoke-virtual·{p0,·p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V | 66 | ····invoke-virtual·{p0,·p1,·v0},·Lcom/google/zxing/datamatrix/encoder/X12Encoder;->handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;)V |
69 | ····.line·48 | 67 | ····.line·48 |
70 | ····return-void | 68 | ····return-void |
71 | .end·method | 69 | .end·method |
Offset 657, 20 lines modified | Offset 657, 18 lines modified | ||
657 | ····new-instance·v1,·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144; | 657 | ····new-instance·v1,·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144; |
658 | ····invoke-direct·{v1},·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;-><init>()V | 658 | ····invoke-direct·{v1},·Lcom/google/zxing/datamatrix/encoder/DataMatrixSymbolInfo144;-><init>()V |
659 | ····aput-object·v1,·v9,·v0 | 659 | ····aput-object·v1,·v9,·v0 |
660 | ····sput-object·v9,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->PROD_SYMBOLS:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo; | ||
661 | ····.line·64 | 660 | ····.line·64 |
662 | ····s | 661 | ····sput-object·v9,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->PROD_SYMBOLS:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo; |
663 | ····sput-object·v | 662 | ····sput-object·v9,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->symbols:[Lcom/google/zxing/datamatrix/encoder/SymbolInfo; |
664 | ····return-void | 663 | ····return-void |
665 | .end·method | 664 | .end·method |
666 | .method·public·constructor·<init>(ZIIIII)V | 665 | .method·public·constructor·<init>(ZIIIII)V |
667 | ····.locals·9 | 666 | ····.locals·9 |
668 | ····.param·p1,·"rectangular"····#·Z | 667 | ····.param·p1,·"rectangular"····#·Z |
Offset 745, 14 lines modified | Offset 743, 128 lines modified | ||
745 | ····.line·100 | 743 | ····.line·100 |
746 | ····iput·p8,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockError:I | 744 | ····iput·p8,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->rsBlockError:I |
747 | ····.line·101 | 745 | ····.line·101 |
748 | ····return-void | 746 | ····return-void |
749 | .end·method | 747 | .end·method |
748 | .method·private·getHorizontalDataRegions()I | ||
749 | ····.locals·2 | ||
750 | ····.prologue | ||
751 | ····.line·156 | ||
752 | ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataRegions:I | ||
753 | ····sparse-switch·v0,·:sswitch_data_0 | ||
754 | ····.line·167 | ||
755 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | ||
756 | ····const-string·v1,·"Cannot·handle·this·number·of·data·regions" | ||
757 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | ||
758 | ····throw·v0 | ||
759 | ····.line·158 | ||
760 | ····:sswitch_0 | ||
761 | ····const/4·v0,·0x1 | ||
762 | ····.line·165 | ||
763 | ····:goto_0 | ||
764 | ····return·v0 | ||
765 | ····.line·161 | ||
766 | ····:sswitch_1 | ||
767 | ····const/4·v0,·0x2 | ||
768 | ····goto·:goto_0 | ||
769 | ····.line·163 | ||
770 | ····:sswitch_2 | ||
771 | ····const/4·v0,·0x4 | ||
772 | ····goto·:goto_0 | ||
773 | ····.line·165 | ||
774 | ····:sswitch_3 | ||
775 | ····const/4·v0,·0x6 | ||
776 | ····goto·:goto_0 | ||
777 | ····.line·156 | ||
778 | ····nop | ||
779 | ····:sswitch_data_0 | ||
780 | ····.sparse-switch | ||
781 | ········0x1·->·:sswitch_0 | ||
782 | ········0x2·->·:sswitch_1 | ||
783 | ········0x4·->·:sswitch_1 | ||
784 | ········0x10·->·:sswitch_2 | ||
785 | ········0x24·->·:sswitch_3 | ||
786 | ····.end·sparse-switch | ||
787 | .end·method | ||
788 | .method·private·getVerticalDataRegions()I | ||
789 | ····.locals·2 | ||
790 | ····.prologue | ||
791 | ····.line·172 | ||
792 | ····iget·v0,·p0,·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->dataRegions:I | ||
793 | ····sparse-switch·v0,·:sswitch_data_0 | ||
794 | ····.line·183 | ||
795 | ····new-instance·v0,·Ljava/lang/IllegalStateException; | ||
796 | ····const-string·v1,·"Cannot·handle·this·number·of·data·regions" | ||
797 | ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V | ||
798 | ····throw·v0 | ||
799 | ····.line·175 | ||
800 | ····:sswitch_0 | ||
801 | ····const/4·v0,·0x1 | ||
802 | ····.line·181 | ||
803 | ····:goto_0 | ||
804 | ····return·v0 | ||
805 | ····.line·177 | ||
806 | ····:sswitch_1 | ||
807 | ····const/4·v0,·0x2 | ||
808 | ····goto·:goto_0 | ||
809 | ····.line·179 | ||
810 | ····:sswitch_2 | ||
811 | ····const/4·v0,·0x4 | ||
812 | ····goto·:goto_0 | ||
813 | ····.line·181 | ||
814 | ····:sswitch_3 | ||
815 | ····const/4·v0,·0x6 | ||
Max diff block lines reached; 15985/19346 bytes (82.63%) of diff not shown. |
Offset 74, 18 lines modified | Offset 74, 18 lines modified | ||
74 | ····.line·428 | 74 | ····.line·428 |
75 | ····.local·v3,·"len":I | 75 | ····.local·v3,·"len":I |
76 | ····move·v2,·p1 | 76 | ····move·v2,·p1 |
77 | ····.line·429 | 77 | ····.line·429 |
78 | ····.local·v2,·"idx":I | 78 | ····.local·v2,·"idx":I |
79 | ····if-ge· | 79 | ····if-ge·p1,·v3,·:cond_1 |
80 | ····.line·430 | 80 | ····.line·430 |
81 | ····invoke-interface·{p0,· | 81 | ····invoke-interface·{p0,·p1},·Ljava/lang/CharSequence;->charAt(I)C |
82 | ····move-result·v0 | 82 | ····move-result·v0 |
83 | ····.line·431 | 83 | ····.line·431 |
84 | ····.local·v0,·"ch":C | 84 | ····.local·v0,·"ch":C |
85 | ····:cond_0 | 85 | ····:cond_0 |
86 | ····:goto_0 | 86 | ····:goto_0 |
Offset 236, 21 lines modified | Offset 236, 15 lines modified | ||
236 | ····.line·172 | 236 | ····.line·172 |
237 | ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V | 237 | ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V |
238 | ····.line·173 | 238 | ····.line·173 |
239 | ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I | 239 | ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
240 | ····add-int/lit8·v6,·v6,·0x7 | ||
240 | ····const-string·v7,·"[)>\u001e05\u001d" | ||
241 | ····invoke-virtual·{v7},·Ljava/lang/String;->length()I | ||
242 | ····move-result·v7 | ||
243 | ····add-int/2addr·v6,·v7 | ||
244 | ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I | 241 | ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
245 | ····.line·180 | 242 | ····.line·180 |
246 | ····:cond_0 | 243 | ····:cond_0 |
247 | ····:goto_0 | 244 | ····:goto_0 |
248 | ····const/4·v4,·0x0 | 245 | ····const/4·v4,·0x0 |
Offset 313, 21 lines modified | Offset 307, 15 lines modified | ||
313 | ····.line·176 | 307 | ····.line·176 |
314 | ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V | 308 | ····invoke-virtual·{v2,·v8},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->setSkipAtEnd(I)V |
315 | ····.line·177 | 309 | ····.line·177 |
316 | ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I | 310 | ····iget·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
311 | ····add-int/lit8·v6,·v6,·0x7 | ||
317 | ····const-string·v7,·"[)>\u001e06\u001d" | ||
318 | ····invoke-virtual·{v7},·Ljava/lang/String;->length()I | ||
319 | ····move-result·v7 | ||
320 | ····add-int/2addr·v6,·v7 | ||
321 | ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I | 312 | ····iput·v6,·v2,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
322 | ····goto·:goto_0 | 313 | ····goto·:goto_0 |
323 | ····.line·188 | 314 | ····.line·188 |
324 | ····.restart·local·v4····#·"encodingMode":I | 315 | ····.restart·local·v4····#·"encodingMode":I |
Offset 566, 21 lines modified | Offset 554, 17 lines modified | ||
566 | ····move-result-object·v0 | 554 | ····move-result-object·v0 |
567 | ····.line·445 | 555 | ····.line·445 |
568 | ····new-instance·v1,·Ljava/lang/IllegalArgumentException; | 556 | ····new-instance·v1,·Ljava/lang/IllegalArgumentException; |
569 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 557 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
570 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | ||
571 | ····const-string·v3,·"Illegal·character:·" | 558 | ····const-string·v3,·"Illegal·character:·" |
572 | ····invoke- | 559 | ····invoke-direct·{v2,·v3},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
573 | ····move-result-object·v2 | ||
574 | ····invoke-virtual·{v2,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 560 | ····invoke-virtual·{v2,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
575 | ····move-result-object·v2 | 561 | ····move-result-object·v2 |
576 | ····const-string·v3,·"·(0x" | 562 | ····const-string·v3,·"·(0x" |
Offset 843, 15 lines modified | Offset 827, 15 lines modified | ||
843 | ····:cond_1 | 827 | ····:cond_1 |
844 | ····const/4·v0,·0x0 | 828 | ····const/4·v0,·0x0 |
845 | ····goto·:goto_0 | 829 | ····goto·:goto_0 |
846 | .end·method | 830 | .end·method |
847 | .method·static·lookAheadTest(Ljava/lang/CharSequence;II)I | 831 | .method·static·lookAheadTest(Ljava/lang/CharSequence;II)I |
848 | ····.locals·1 | 832 | ····.locals·12 |
849 | ····.param·p0,·"msg"····#·Ljava/lang/CharSequence; | 833 | ····.param·p0,·"msg"····#·Ljava/lang/CharSequence; |
850 | ····.param·p1,·"startpos"····#·I | 834 | ····.param·p1,·"startpos"····#·I |
851 | ····.param·p2,·"currentMode"····#·I | 835 | ····.param·p2,·"currentMode"····#·I |
852 | ····.prologue | 836 | ····.prologue |
853 | ····.line·209 | 837 | ····.line·209 |
854 | ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I | 838 | ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I |
Offset 889, 50 lines modified | Offset 873, 49 lines modified | ||
889 | ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I | 873 | ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I |
890 | ····move-result·v10 | 874 | ····move-result·v10 |
891 | ····if-ne·v9,·v10,·:cond_8 | 875 | ····if-ne·v9,·v10,·:cond_8 |
892 | ····.line·225 | ||
893 | ····const·v4,·0x7fffffff | ||
894 | ····.line·226 | 876 | ····.line·226 |
895 | ····.local·v4,·"min":I | ||
896 | ····const/4·v9,·0x6 | 877 | ····const/4·v9,·0x6 |
897 | ····new-array·v6,·v9,·[B | 878 | ····new-array·v6,·v9,·[B |
898 | ····.line·227 | 879 | ····.line·227 |
899 | ····.local·v6,·"mins":[B | 880 | ····.local·v6,·"mins":[B |
900 | ····const/4·v9,·0x6 | 881 | ····const/4·v9,·0x6 |
901 | ····new-array·v3,·v9,·[I | 882 | ····new-array·v3,·v9,·[I |
902 | ····.line·228 | 883 | ····.line·228 |
903 | ····.local·v3,·"intCharCounts":[I | 884 | ····.local·v3,·"intCharCounts":[I |
Max diff block lines reached; 5621/8923 bytes (62.99%) of diff not shown. |
Offset 156, 213 lines modified | Offset 156, 203 lines modified | ||
156 | ····.line·84 | 156 | ····.line·84 |
157 | ····return-void | 157 | ····return-void |
158 | .end·method | 158 | .end·method |
159 | #·virtual·methods | 159 | #·virtual·methods |
160 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V | 160 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V |
161 | ····.locals·1 | 161 | ····.locals·14 |
162 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; | 162 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; |
163 | ····.prologue | 163 | ····.prologue |
164 | ····const/4·v13,·0x3 | ||
165 | ····const/4·v12,·0x1 | ||
166 | ····const/4·v11,·0x2 | ||
164 | ····.line·29 | 167 | ····.line·29 |
165 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 168 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
166 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 169 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
167 | ····.line·30 | 170 | ····.line·30 |
168 | ····.local·v1,·"buffer":Ljava/lang/StringBuilder; | 171 | ····.local·v1,·"buffer":Ljava/lang/StringBuilder; |
169 | ····:cond_0 | 172 | ····:cond_0 |
170 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z | 173 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z |
171 | ····move-result·v | 174 | ····move-result·v8 |
172 | ····if-eqz·v | 175 | ····if-eqz·v8,·:cond_6 |
173 | ····.line·31 | 176 | ····.line·31 |
174 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C | 177 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C |
175 | ····move-result·v2 | 178 | ····move-result·v2 |
176 | ····.line·32 | 179 | ····.line·32 |
177 | ····.local·v2,·"c":C | 180 | ····.local·v2,·"c":C |
178 | ····iget·v | 181 | ····iget·v8,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
179 | ····add-int/lit8·v | 182 | ····add-int/lit8·v8,·v8,·0x1 |
180 | ····iput·v | 183 | ····iput·v8,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
181 | ····.line·34 | 184 | ····.line·34 |
182 | ····invoke-virtual·{p0,·v2,·v1},·Lcom/google/zxing/datamatrix/encoder/C40Encoder;->encodeChar(CLjava/lang/StringBuilder;)I | 185 | ····invoke-virtual·{p0,·v2,·v1},·Lcom/google/zxing/datamatrix/encoder/C40Encoder;->encodeChar(CLjava/lang/StringBuilder;)I |
183 | ····move-result·v | 186 | ····move-result·v4 |
184 | ····.line·36 | 187 | ····.line·36 |
185 | ····.local·v | 188 | ····.local·v4,·"lastCharSize":I |
186 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I | 189 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I |
187 | ····move-result·v | 190 | ····move-result·v8 |
188 | ····div-int/lit8·v | 191 | ····div-int/lit8·v8,·v8,·0x3 |
189 | ···· | 192 | ····shl-int/lit8·v7,·v8,·0x1 |
190 | ····.line·38 | 193 | ····.line·38 |
191 | ····.local·v | 194 | ····.local·v7,·"unwritten":I |
192 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I | 195 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I |
193 | ····move-result·v | 196 | ····move-result·v8 |
194 | ····add-int·v | 197 | ····add-int·v3,·v8,·v7 |
195 | ····.line·39 | 198 | ····.line·39 |
196 | ····.local·v | 199 | ····.local·v3,·"curCodewordCount":I |
197 | ····invoke-virtual·{p1,·v | 200 | ····invoke-virtual·{p1,·v3},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo(I)V |
198 | ····.line·40 | 201 | ····.line·40 |
199 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo; | 202 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo; |
200 | ····move-result-object·v | 203 | ····move-result-object·v8 |
201 | ····invoke-virtual·{v | 204 | ····invoke-virtual·{v8},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I |
202 | ····move-result·v | 205 | ····move-result·v8 |
203 | ····sub-int·v0,·v | 206 | ····sub-int·v0,·v8,·v3 |
204 | ····.line·42 | 207 | ····.line·42 |
205 | ····.local·v0,·"available":I | 208 | ····.local·v0,·"available":I |
206 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z | 209 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z |
207 | ····move-result·v | 210 | ····move-result·v8 |
208 | ····if-nez·v | 211 | ····if-nez·v8,·:cond_5 |
209 | ····.line·44 | 212 | ····.line·44 |
210 | ····new-instance·v | 213 | ····new-instance·v6,·Ljava/lang/StringBuilder; |
211 | ····invoke-direct·{v | 214 | ····invoke-direct·{v6},·Ljava/lang/StringBuilder;-><init>()V |
212 | ····.line·45 | 215 | ····.line·45 |
213 | ····.local·v | 216 | ····.local·v6,·"removed":Ljava/lang/StringBuilder; |
214 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I | 217 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I |
215 | ····move-result·v | 218 | ····move-result·v8 |
216 | ····rem-int/lit8·v | 219 | ····rem-int/lit8·v8,·v8,·0x3 |
217 | ····const/4·v10,·0x2 | ||
218 | ····if-ne·v | 220 | ····if-ne·v8,·v11,·:cond_2 |
219 | ····.line·46 | 221 | ····.line·46 |
220 | ····const/4·v9,·0x2 | ||
221 | ····if-lt·v0,·v | 222 | ····if-lt·v0,·v11,·:cond_1 |
222 | ····const/4·v9,·0x2 | ||
223 | ····if-le·v0,·v | 223 | ····if-le·v0,·v11,·:cond_2 |
224 | ····.line·47 | 224 | ····.line·47 |
225 | ····:cond_1 | 225 | ····:cond_1 |
226 | ····invoke-direct·{p0,·p1,·v1,·v | 226 | ····invoke-direct·{p0,·p1,·v1,·v6,·v4},·Lcom/google/zxing/datamatrix/encoder/C40Encoder;->backtrackOneCharacter(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/StringBuilder;Ljava/lang/StringBuilder;I)I |
227 | ····move-result·v | 227 | ····move-result·v4 |
228 | ····.line·51 | 228 | ····.line·51 |
229 | ····:cond_2 | 229 | ····:cond_2 |
230 | ····:goto_0 | 230 | ····:goto_0 |
231 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I | 231 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->length()I |
Max diff block lines reached; 9254/13848 bytes (66.83%) of diff not shown. |
Offset 54, 145 lines modified | Offset 54, 141 lines modified | ||
54 | ····goto·:goto_0 | 54 | ····goto·:goto_0 |
55 | .end·method | 55 | .end·method |
56 | #·virtual·methods | 56 | #·virtual·methods |
57 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V | 57 | .method·public·encode(Lcom/google/zxing/datamatrix/encoder/EncoderContext;)V |
58 | ····.locals·1 | 58 | ····.locals·12 |
59 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; | 59 | ····.param·p1,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; |
60 | ····.prologue | 60 | ····.prologue |
61 | ····const/ | 61 | ····const/4·v7,·0x1 |
62 | ····const/4·v8,·0x | 62 | ····const/4·v8,·0x0 |
63 | ····const/4·v9,·0x0 | ||
64 | ····.line·28 | 63 | ····.line·28 |
65 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 64 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
66 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 65 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
67 | ····.line·29 | 66 | ····.line·29 |
68 | ····.local·v0,·"buffer":Ljava/lang/StringBuilder; | 67 | ····.local·v0,·"buffer":Ljava/lang/StringBuilder; |
69 | ····invoke-virtual·{v0,·v | 68 | ····invoke-virtual·{v0,·v8},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
70 | ····.line·30 | 69 | ····.line·30 |
71 | ····:cond_0 | 70 | ····:cond_0 |
72 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z | 71 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z |
73 | ····move-result·v | 72 | ····move-result·v9 |
74 | ····if-eqz·v | 73 | ····if-eqz·v9,·:cond_1 |
75 | ····.line·31 | 74 | ····.line·31 |
76 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C | 75 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCurrentChar()C |
77 | ····move-result·v1 | 76 | ····move-result·v1 |
78 | ····.line·32 | 77 | ····.line·32 |
79 | ····.local·v1,·"c":C | 78 | ····.local·v1,·"c":C |
80 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | 79 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
81 | ····.line·34 | 80 | ····.line·34 |
82 | ····iget·v | 81 | ····iget·v9,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
83 | ····add-int/lit8·v | 82 | ····add-int/lit8·v9,·v9,·0x1 |
84 | ····iput·v | 83 | ····iput·v9,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
85 | ····.line·36 | 84 | ····.line·36 |
86 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; | 85 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getMessage()Ljava/lang/String; |
87 | ····move-result-object·v | 86 | ····move-result-object·v9 |
88 | ····iget·v1 | 87 | ····iget·v10,·p1,·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->pos:I |
89 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I | 88 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I |
90 | ····move-result·v1 | 89 | ····move-result·v11 |
91 | ····invoke-static·{v | 90 | ····invoke-static·{v9,·v10,·v11},·Lcom/google/zxing/datamatrix/encoder/HighLevelEncoder;->lookAheadTest(Ljava/lang/CharSequence;II)I |
92 | ····move-result·v | 91 | ····move-result·v6 |
93 | ····.line·37 | 92 | ····.line·37 |
94 | ····.local·v | 93 | ····.local·v6,·"newMode":I |
95 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I | 94 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/Base256Encoder;->getEncodingMode()I |
96 | ····move-result·v | 95 | ····move-result·v9 |
97 | ····if-eq·v | 96 | ····if-eq·v6,·v9,·:cond_0 |
98 | ····.line·38 | 97 | ····.line·38 |
99 | ····invoke-virtual·{p1,·v | 98 | ····invoke-virtual·{p1,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V |
100 | ····.line·42 | 99 | ····.line·42 |
101 | ····.end·local·v1····#·"c":C | 100 | ····.end·local·v1····#·"c":C |
102 | ····.end·local·v | 101 | ····.end·local·v6····#·"newMode":I |
103 | ····:cond_1 | 102 | ····:cond_1 |
104 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I | 103 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->length()I |
105 | ····move-result·v | 104 | ····move-result·v9 |
106 | ····add-int/lit8·v3,·v10,·-0x1 | ||
105 | ····add-int/lit8·v3,·v9,·-0x1 | ||
107 | ····.line·43 | ||
108 | ····.local·v3,·"dataCount":I | ||
109 | ····const/4·v5,·0x1 | ||
110 | ····.line·44 | 106 | ····.line·44 |
111 | ····.local·v | 107 | ····.local·v3,·"dataCount":I |
112 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I | 108 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I |
113 | ····move-result·v | 109 | ····move-result·v9 |
114 | ····add-int/2addr·v | 110 | ····add-int/2addr·v9,·v3 |
115 | ····add-int·v2,·v | 111 | ····add-int/lit8·v2,·v9,·0x1 |
116 | ····.line·45 | 112 | ····.line·45 |
117 | ····.local·v2,·"currentSize":I | 113 | ····.local·v2,·"currentSize":I |
118 | ····invoke-virtual·{p1,·v2},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo(I)V | 114 | ····invoke-virtual·{p1,·v2},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo(I)V |
119 | ····.line·46 | 115 | ····.line·46 |
120 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo; | 116 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo; |
121 | ····move-result-object·v | 117 | ····move-result-object·v9 |
122 | ····invoke-virtual·{v | 118 | ····invoke-virtual·{v9},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I |
123 | ····move-result·v | 119 | ····move-result·v9 |
124 | ····sub-int/2addr·v | 120 | ····sub-int/2addr·v9,·v2 |
125 | ····if-lez·v | 121 | ····if-lez·v9,·:cond_4 |
126 | ····move·v | 122 | ····move·v5,·v7 |
127 | ····.line·47 | 123 | ····.line·47 |
128 | ····.local·v | 124 | ····.local·v5,·"mustPad":Z |
129 | ····:goto_0 | 125 | ····:goto_0 |
130 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z | 126 | ····invoke-virtual·{p1},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z |
131 | ····move-result·v | 127 | ····move-result·v9 |
Max diff block lines reached; 4042/8749 bytes (46.20%) of diff not shown. |
Offset 224, 340 lines modified | Offset 224, 327 lines modified | ||
224 | ····move·v2,·v3 | 224 | ····move·v2,·v3 |
225 | ····.line·119 | 225 | ····.line·119 |
226 | ····goto·:goto_1 | 226 | ····goto·:goto_1 |
227 | .end·method | 227 | .end·method |
228 | .method·private·static·handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/CharSequence;)V | 228 | .method·private·static·handleEOD(Lcom/google/zxing/datamatrix/encoder/EncoderContext;Ljava/lang/CharSequence;)V |
229 | ····.locals· | 229 | ····.locals·9 |
230 | ····.param·p0,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; | 230 | ····.param·p0,·"context"····#·Lcom/google/zxing/datamatrix/encoder/EncoderContext; |
231 | ····.param·p1,·"buffer"····#·Ljava/lang/CharSequence; | 231 | ····.param·p1,·"buffer"····#·Ljava/lang/CharSequence; |
232 | ····.prologue | 232 | ····.prologue |
233 | ····const/4·v | 233 | ····const/4·v8,·0x2 |
234 | ····const/4·v | 234 | ····const/4·v4,·0x1 |
235 | ····const/4·v | 235 | ····const/4·v6,·0x0 |
236 | ····.line·59 | 236 | ····.line·59 |
237 | ····:try_start_0 | 237 | ····:try_start_0 |
238 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I | 238 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I |
239 | ····:try_end_0 | 239 | ····:try_end_0 |
240 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 240 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
241 | ····move-result·v1 | 241 | ····move-result·v1 |
242 | ····.line·60 | 242 | ····.line·60 |
243 | ····.local·v1,·"count":I | 243 | ····.local·v1,·"count":I |
244 | ····if-nez·v1,·:cond_0 | 244 | ····if-nez·v1,·:cond_0 |
245 | ····.line·98 | 245 | ····.line·98 |
246 | ····invoke-virtual·{p0,·v | 246 | ····invoke-virtual·{p0,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V |
247 | ····.line· | 247 | ····.line·99 |
248 | ····:goto_0 | 248 | ····:goto_0 |
249 | ····return-void | 249 | ····return-void |
250 | ····.line·63 | 250 | ····.line·63 |
251 | ····:cond_0 | 251 | ····:cond_0 |
252 | ····if-ne·v1,·v | 252 | ····if-ne·v1,·v4,·:cond_1 |
253 | ····.line·65 | 253 | ····.line·65 |
254 | ····:try_start_1 | 254 | ····:try_start_1 |
255 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo()V | 255 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->updateSymbolInfo()V |
256 | ····.line·66 | 256 | ····.line·66 |
257 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo; | 257 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getSymbolInfo()Lcom/google/zxing/datamatrix/encoder/SymbolInfo; |
258 | ····move-result-object·v | 258 | ····move-result-object·v5 |
259 | ····invoke-virtual·{v | 259 | ····invoke-virtual·{v5},·Lcom/google/zxing/datamatrix/encoder/SymbolInfo;->getDataCapacity()I |
260 | ····move-result·v | 260 | ····move-result·v5 |
261 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I | 261 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getCodewordCount()I |
262 | ····move-result·v | 262 | ····move-result·v7 |
263 | ····sub-int·v0,·v | 263 | ····sub-int·v0,·v5,·v7 |
264 | ····.line·67 | 264 | ····.line·67 |
265 | ····.local·v0,·"available":I | 265 | ····.local·v0,·"available":I |
266 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getRemainingCharacters()I | 266 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->getRemainingCharacters()I |
267 | ····:try_end_1 | 267 | ····:try_end_1 |
268 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 268 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
269 | ····move-result·v | 269 | ····move-result·v5 |
270 | ····.line·68 | 270 | ····.line·68 |
271 | ····.local·v4,·"remaining":I | ||
272 | ····if-nez·v | 271 | ····if-nez·v5,·:cond_1 |
273 | ····if-gt·v0,·v | 272 | ····if-gt·v0,·v8,·:cond_1 |
274 | ····.line·98 | 273 | ····.line·98 |
275 | ····invoke-virtual·{p0,·v | 274 | ····invoke-virtual·{p0,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V |
276 | ····goto·:goto_0 | 275 | ····goto·:goto_0 |
277 | ····.line·73 | 276 | ····.line·73 |
278 | ····.end·local·v0····#·"available":I | 277 | ····.end·local·v0····#·"available":I |
279 | ····.end·local·v4····#·"remaining":I | ||
280 | ····:cond_1 | 278 | ····:cond_1 |
281 | ····const/4·v | 279 | ····const/4·v5,·0x4 |
282 | ····if-le·v1,·v | 280 | ····if-le·v1,·v5,·:cond_2 |
283 | ····.line·74 | 281 | ····.line·74 |
284 | ····:try_start_2 | 282 | ····:try_start_2 |
285 | ····new-instance·v | 283 | ····new-instance·v5,·Ljava/lang/IllegalStateException; |
286 | ····const-string·v | 284 | ····const-string·v7,·"Count·must·not·exceed·4" |
287 | ····invoke-direct·{v | 285 | ····invoke-direct·{v5,·v7},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
288 | ····throw·v | 286 | ····throw·v5 |
289 | ····:try_end_2 | 287 | ····:try_end_2 |
290 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0 | 288 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0 |
291 | ····.line·98 | 289 | ····.line·98 |
292 | ····.end·local·v1····#·"count":I | 290 | ····.end·local·v1····#·"count":I |
293 | ····:catchall_0 | 291 | ····:catchall_0 |
294 | ····move-exception·v | 292 | ····move-exception·v5 |
295 | ····invoke-virtual·{p0,·v | 293 | ····invoke-virtual·{p0,·v6},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->signalEncoderChange(I)V |
296 | ····throw·v | 294 | ····throw·v5 |
297 | ····.line·76 | 295 | ····.line·76 |
298 | ····.restart·local·v1····#·"count":I | 296 | ····.restart·local·v1····#·"count":I |
299 | ····:cond_2 | 297 | ····:cond_2 |
300 | ····add-int/lit8·v | 298 | ····add-int/lit8·v3,·v1,·-0x1 |
301 | ····.line·77 | 299 | ····.line·77 |
302 | ····.local·v | 300 | ····.local·v3,·"restChars":I |
303 | ····const/4·v | 301 | ····const/4·v5,·0x0 |
304 | ····:try_start_3 | 302 | ····:try_start_3 |
305 | ····invoke-static·{p1,·v | 303 | ····invoke-static·{p1,·v5},·Lcom/google/zxing/datamatrix/encoder/EdifactEncoder;->encodeToCodewords(Ljava/lang/CharSequence;I)Ljava/lang/String; |
306 | ····move-result-object·v2 | 304 | ····move-result-object·v2 |
307 | ····.line·78 | 305 | ····.line·78 |
308 | ····.local·v2,·"encoded":Ljava/lang/String; | 306 | ····.local·v2,·"encoded":Ljava/lang/String; |
309 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z | 307 | ····invoke-virtual·{p0},·Lcom/google/zxing/datamatrix/encoder/EncoderContext;->hasMoreCharacters()Z |
310 | ····move-result·v | 308 | ····move-result·v5 |
Max diff block lines reached; 8148/12641 bytes (64.46%) of diff not shown. |
Offset 220, 15 lines modified | Offset 220, 15 lines modified | ||
220 | ····.line·83 | 220 | ····.line·83 |
221 | ····sget-object·v2,·Lcom/google/zxing/datamatrix/encoder/ErrorCorrection;->LOG:[I | 221 | ····sget-object·v2,·Lcom/google/zxing/datamatrix/encoder/ErrorCorrection;->LOG:[I |
222 | ····aput·v0,·v2,·v1 | 222 | ····aput·v0,·v2,·v1 |
223 | ····.line·84 | 223 | ····.line·84 |
224 | ···· | 224 | ····shl-int/lit8·v1,·v1,·0x1 |
225 | ····.line·85 | 225 | ····.line·85 |
226 | ····const/16·v2,·0x100 | 226 | ····const/16·v2,·0x100 |
227 | ····if-lt·v1,·v2,·:cond_0 | 227 | ····if-lt·v1,·v2,·:cond_0 |
228 | ····.line·86 | 228 | ····.line·86 |
Offset 863, 21 lines modified | Offset 863, 17 lines modified | ||
863 | ····if-gez·v6,·:cond_2 | 863 | ····if-gez·v6,·:cond_2 |
864 | ····.line·154 | 864 | ····.line·154 |
865 | ····new-instance·v7,·Ljava/lang/IllegalArgumentException; | 865 | ····new-instance·v7,·Ljava/lang/IllegalArgumentException; |
866 | ····new-instance·v8,·Ljava/lang/StringBuilder; | 866 | ····new-instance·v8,·Ljava/lang/StringBuilder; |
867 | ····invoke-direct·{v8},·Ljava/lang/StringBuilder;-><init>()V | ||
868 | ····const-string·v9,·"Illegal·number·of·error·correction·codewords·specified:·" | 867 | ····const-string·v9,·"Illegal·number·of·error·correction·codewords·specified:·" |
869 | ····invoke- | 868 | ····invoke-direct·{v8,·v9},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
870 | ····move-result-object·v8 | ||
871 | ····invoke-virtual·{v8,·p3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 869 | ····invoke-virtual·{v8,·p3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
872 | ····move-result-object·v8 | 870 | ····move-result-object·v8 |
873 | ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 871 | ····invoke-virtual·{v8},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 20, 15 lines modified | Offset 20, 15 lines modified | ||
20 | ····.line·35 | 20 | ····.line·35 |
21 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 21 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
22 | ····return-void | 22 | ····return-void |
23 | .end·method | 23 | .end·method |
24 | .method·private·static·bitMatrixFromEncoder(Lcom/google/zxing/pdf417/encoder/PDF417;Ljava/lang/String;IIII)Lcom/google/zxing/common/BitMatrix; | 24 | .method·private·static·bitMatrixFromEncoder(Lcom/google/zxing/pdf417/encoder/PDF417;Ljava/lang/String;IIII)Lcom/google/zxing/common/BitMatrix; |
25 | ····.locals· | 25 | ····.locals·9 |
26 | ····.param·p0,·"encoder"····#·Lcom/google/zxing/pdf417/encoder/PDF417; | 26 | ····.param·p0,·"encoder"····#·Lcom/google/zxing/pdf417/encoder/PDF417; |
27 | ····.param·p1,·"contents"····#·Ljava/lang/String; | 27 | ····.param·p1,·"contents"····#·Ljava/lang/String; |
28 | ····.param·p2,·"errorCorrectionLevel"····#·I | 28 | ····.param·p2,·"errorCorrectionLevel"····#·I |
29 | ····.param·p3,·"width"····#·I | 29 | ····.param·p3,·"width"····#·I |
30 | ····.param·p4,·"height"····#·I | 30 | ····.param·p4,·"height"····#·I |
31 | ····.param·p5,·"margin"····#·I | 31 | ····.param·p5,·"margin"····#·I |
32 | ····.annotation·system·Ldalvik/annotation/Throws; | 32 | ····.annotation·system·Ldalvik/annotation/Throws; |
Offset 37, 154 lines modified | Offset 37, 152 lines modified | ||
37 | ········} | 37 | ········} |
38 | ····.end·annotation | 38 | ····.end·annotation |
39 | ····.prologue | 39 | ····.prologue |
40 | ····.line·107 | 40 | ····.line·107 |
41 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/google/zxing/pdf417/encoder/PDF417;->generateBarcodeLogic(Ljava/lang/String;I)V | 41 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/google/zxing/pdf417/encoder/PDF417;->generateBarcodeLogic(Ljava/lang/String;I)V |
42 | ····.line·109 | ||
43 | ····const/4·v0,·0x4 | ||
44 | ····.line·110 | 42 | ····.line·110 |
45 | ····.local·v0,·"aspectRatio":I | ||
46 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix; | 43 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix; |
47 | ····move-result-object·v | 44 | ····move-result-object·v6 |
48 | ····const/4·v | 45 | ····const/4·v7,·0x1 |
49 | ···· | 46 | ····const/4·v8,·0x4 |
47 | ····invoke-virtual·{v6,·v7,·v8},·Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;->getScaledMatrix(II)[[B | ||
50 | ····move-result-object·v | 48 | ····move-result-object·v0 |
51 | ····.line·111 | 49 | ····.line·111 |
52 | ····.local·v | 50 | ····.local·v0,·"originalScale":[[B |
53 | ····const/4·v | 51 | ····const/4·v1,·0x0 |
54 | ····.line·112 | 52 | ····.line·112 |
55 | ····.local·v | 53 | ····.local·v1,·"rotated":Z |
56 | ····if-le·p4,·p3,·:cond_2 | 54 | ····if-le·p4,·p3,·:cond_2 |
57 | ····const/4·v | 55 | ····const/4·v6,·0x1 |
58 | ····:goto_0 | 56 | ····:goto_0 |
59 | ····const/4·v | 57 | ····const/4·v7,·0x0 |
60 | ····aget-object·v | 58 | ····aget-object·v7,·v0,·v7 |
61 | ····array-length·v | 59 | ····array-length·v7,·v7 |
62 | ····array-length·v | 60 | ····array-length·v8,·v0 |
63 | ····if-ge·v | 61 | ····if-ge·v7,·v8,·:cond_3 |
64 | ····const/4·v | 62 | ····const/4·v7,·0x1 |
65 | ····:goto_1 | 63 | ····:goto_1 |
66 | ····xor-int/2addr·v | 64 | ····xor-int/2addr·v6,·v7 |
67 | ····if-eqz·v | 65 | ····if-eqz·v6,·:cond_0 |
68 | ····.line·113 | 66 | ····.line·113 |
69 | ····invoke-static·{v | 67 | ····invoke-static·{v0},·Lcom/google/zxing/pdf417/PDF417Writer;->rotateArray([[B)[[B |
70 | ····move-result-object·v | 68 | ····move-result-object·v0 |
71 | ····.line·114 | 69 | ····.line·114 |
72 | ····const/4·v | 70 | ····const/4·v1,·0x1 |
73 | ····.line·117 | 71 | ····.line·117 |
74 | ····:cond_0 | 72 | ····:cond_0 |
75 | ····const/4·v | 73 | ····const/4·v6,·0x0 |
76 | ····aget-object·v | 74 | ····aget-object·v6,·v0,·v6 |
77 | ····array-length·v | 75 | ····array-length·v6,·v6 |
78 | ····div-int·v | 76 | ····div-int·v3,·p3,·v6 |
79 | ····.line·118 | 77 | ····.line·118 |
80 | ····.local·v | 78 | ····.local·v3,·"scaleX":I |
81 | ····array-length·v | 79 | ····array-length·v6,·v0 |
82 | ····div-int·v | 80 | ····div-int·v4,·p4,·v6 |
83 | ····.line·121 | 81 | ····.line·121 |
84 | ····.local·v | 82 | ····.local·v4,·"scaleY":I |
85 | ····if-ge·v | 83 | ····if-ge·v3,·v4,·:cond_4 |
86 | ····.line·122 | 84 | ····.line·122 |
87 | ····move·v | 85 | ····move·v2,·v3 |
88 | ····.line·127 | 86 | ····.line·127 |
89 | ····.local·v | 87 | ····.local·v2,·"scale":I |
90 | ····:goto_2 | 88 | ····:goto_2 |
91 | ····const/4·v | 89 | ····const/4·v6,·0x1 |
92 | ····if-le·v | 90 | ····if-le·v2,·v6,·:cond_5 |
93 | ····.line·129 | 91 | ····.line·129 |
94 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix; | 92 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/encoder/PDF417;->getBarcodeMatrix()Lcom/google/zxing/pdf417/encoder/BarcodeMatrix; |
95 | ····move-result-object·v | 93 | ····move-result-object·v6 |
96 | ···· | 94 | ····shl-int/lit8·v7,·v2,·0x2 |
97 | ····invoke-virtual·{v | 95 | ····invoke-virtual·{v6,·v2,·v7},·Lcom/google/zxing/pdf417/encoder/BarcodeMatrix;->getScaledMatrix(II)[[B |
98 | ····move-result-object·v | 96 | ····move-result-object·v5 |
99 | ····.line·130 | 97 | ····.line·130 |
100 | ····.local·v | 98 | ····.local·v5,·"scaledMatrix":[[B |
101 | ····if-eqz·v | 99 | ····if-eqz·v1,·:cond_1 |
102 | ····.line·131 | 100 | ····.line·131 |
103 | ····invoke-static·{v | 101 | ····invoke-static·{v5},·Lcom/google/zxing/pdf417/PDF417Writer;->rotateArray([[B)[[B |
104 | ····move-result-object·v | 102 | ····move-result-object·v5 |
105 | ····.line·133 | 103 | ····.line·133 |
Max diff block lines reached; 6694/10839 bytes (61.76%) of diff not shown. |
Offset 28, 38 lines modified | Offset 28, 38 lines modified | ||
28 | #·direct·methods | 28 | #·direct·methods |
29 | .method·static·constructor·<clinit>()V | 29 | .method·static·constructor·<clinit>()V |
30 | ····.locals·2 | 30 | ····.locals·2 |
31 | ····.prologue | 31 | ····.prologue |
32 | ····const/16·v1,·0xae3 | 32 | ····const/16·v1,·0xae3 |
33 | ····.line· | 33 | ····.line·40 |
34 | ····const/4·v0,·0x0 | 34 | ····const/4·v0,·0x0 |
35 | ····new-array·v0,·v0,·[I | 35 | ····new-array·v0,·v0,·[I |
36 | ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->EMPTY_INT_ARRAY:[I | 36 | ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->EMPTY_INT_ARRAY:[I |
37 | ····.line·8 | 37 | ····.line·84 |
38 | ····new-array·v0,·v1,·[I | 38 | ····new-array·v0,·v1,·[I |
39 | ····fill-array-data·v0,·:array_0 | 39 | ····fill-array-data·v0,·:array_0 |
40 | ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I | 40 | ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I |
41 | ····.line·3 | 41 | ····.line·322 |
42 | ····new-array·v0,·v1,·[I | 42 | ····new-array·v0,·v1,·[I |
43 | ····fill-array-data·v0,·:array_1 | 43 | ····fill-array-data·v0,·:array_1 |
44 | ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->CODEWORD_TABLE:[I | 44 | ····sput-object·v0,·Lcom/google/zxing/pdf417/PDF417Common;->CODEWORD_TABLE:[I |
45 | ····return-void | 45 | ····return-void |
46 | ····.line·8 | 46 | ····.line·84 |
47 | ····:array_0 | 47 | ····:array_0 |
48 | ····.array-data·4 | 48 | ····.array-data·4 |
49 | ········0x1025e | 49 | ········0x1025e |
50 | ········0x1027a | 50 | ········0x1027a |
51 | ········0x1029e | 51 | ········0x1029e |
52 | ········0x102bc | 52 | ········0x102bc |
53 | ········0x102f2 | 53 | ········0x102f2 |
Offset 2843, 15 lines modified | Offset 2843, 15 lines modified | ||
2843 | ········0x1fba2 | 2843 | ········0x1fba2 |
2844 | ········0x1fba4 | 2844 | ········0x1fba4 |
2845 | ········0x1fba8 | 2845 | ········0x1fba8 |
2846 | ········0x1fbb6 | 2846 | ········0x1fbb6 |
2847 | ········0x1fbda | 2847 | ········0x1fbda |
2848 | ····.end·array-data | 2848 | ····.end·array-data |
2849 | ····.line·3 | 2849 | ····.line·322 |
2850 | ····:array_1 | 2850 | ····:array_1 |
2851 | ····.array-data·4 | 2851 | ····.array-data·4 |
2852 | ········0xa43 | 2852 | ········0xa43 |
2853 | ········0x71b | 2853 | ········0x71b |
2854 | ········0xa3e | 2854 | ········0xa3e |
2855 | ········0xa3d | 2855 | ········0xa3d |
2856 | ········0x715 | 2856 | ········0x715 |
Offset 5640, 79 lines modified | Offset 5640, 60 lines modified | ||
5640 | ····.end·array-data | 5640 | ····.end·array-data |
5641 | .end·method | 5641 | .end·method |
5642 | .method·private·constructor·<init>()V | 5642 | .method·private·constructor·<init>()V |
5643 | ····.locals·0 | 5643 | ····.locals·0 |
5644 | ····.prologue | 5644 | ····.prologue |
5645 | ····.line·4 | 5645 | ····.line·42 |
5646 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 5646 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
5647 | ····.line·4 | 5647 | ····.line·43 |
5648 | ····return-void | 5648 | ····return-void |
5649 | .end·method | 5649 | .end·method |
5650 | .method·public·static·getBitCountSum([I)I | 5650 | .method·public·static·getBitCountSum([I)I |
5651 | ····.locals· | 5651 | ····.locals·1 |
5652 | ····.param·p0,·"moduleBitCount"····#·[I | 5652 | ····.param·p0,·"moduleBitCount"····#·[I |
5653 | ····.annotation·runtime·Ljava/lang/Deprecated; | ||
5654 | ····.end·annotation | ||
5653 | ····.prologue | 5655 | ····.prologue |
5654 | ····.line·44 | ||
5655 | ····const/4·v0,·0x0 | ||
5656 | ····.line· | 5656 | ····.line·52 |
5657 | ····invoke-static·{p0},·Lcom/google/zxing/common/detector/MathUtils;->sum([I)I | ||
5657 | ····.local·v0,·"bitCountSum":I | ||
5658 | ····array-length·v3,·p0 | ||
5659 | ····const/4·v2,·0x0 | ||
5660 | ····:goto_0 | ||
5661 | ····if-ge·v2,·v3,·:cond_0 | ||
5662 | ····aget·v1,·p0,·v2 | ||
5663 | ····.line·46 | ||
5664 | ····.local·v1,·"count":I | ||
5665 | ····add-int/2addr·v0,·v1 | ||
5666 | ····.line·45 | ||
5667 | ····add-int/lit8·v2,·v2,·0x1 | ||
5668 | ···· | 5658 | ····move-result·v0 |
5669 | ····.line·48 | ||
5670 | ····.end·local·v1····#·"count":I | ||
5671 | ····:cond_0 | ||
5672 | ····return·v0 | 5659 | ····return·v0 |
5673 | .end·method | 5660 | .end·method |
5674 | .method·public·static·getCodeword(I)I | 5661 | .method·public·static·getCodeword(I)I |
5675 | ····.locals·3 | 5662 | ····.locals·3 |
5676 | ····.param·p0,·"symbol"····#·I | 5663 | ····.param·p0,·"symbol"····#·I |
5677 | ····.prologue | 5664 | ····.prologue |
5678 | ····.line· | 5665 | ····.line·72 |
5679 | ····sget-object·v1,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I | 5666 | ····sget-object·v1,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I |
5680 | ····const·v2,·0x3ffff | 5667 | ····const·v2,·0x3ffff |
5681 | ····and-int/2addr·v2,·p0 | 5668 | ····and-int/2addr·v2,·p0 |
5682 | ····invoke-static·{v1,·v2},·Ljava/util/Arrays;->binarySearch([II)I | 5669 | ····invoke-static·{v1,·v2},·Ljava/util/Arrays;->binarySearch([II)I |
5683 | ····move-result·v0 | 5670 | ····move-result·v0 |
5684 | ····.line· | 5671 | ····.line·73 |
5685 | ····.local·v0,·"i":I | 5672 | ····.local·v0,·"i":I |
5686 | ····if-gez·v0,·:cond_0 | 5673 | ····if-gez·v0,·:cond_0 |
5687 | ····.line·7 | 5674 | ····.line·74 |
Max diff block lines reached; 1821/4393 bytes (41.45%) of diff not shown. |
Offset 521, 15 lines modified | Offset 521, 15 lines modified | ||
521 | ····move-result-object·v0 | 521 | ····move-result-object·v0 |
522 | ····return-object·v0 | 522 | ····return-object·v0 |
523 | .end·method | 523 | .end·method |
524 | .method·public·decodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)[Lcom/google/zxing/Result; | 524 | .method·public·decodeMultiple(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;)[Lcom/google/zxing/Result; |
525 | ····.locals· | 525 | ····.locals·1 |
526 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; | 526 | ····.param·p1,·"image"····#·Lcom/google/zxing/BinaryBitmap; |
527 | ····.annotation·system·Ldalvik/annotation/Signature; | 527 | ····.annotation·system·Ldalvik/annotation/Signature; |
528 | ········value·=·{ | 528 | ········value·=·{ |
529 | ············"(", | 529 | ············"(", |
530 | ············"Lcom/google/zxing/BinaryBitmap;", | 530 | ············"Lcom/google/zxing/BinaryBitmap;", |
531 | ············"Ljava/util/Map", | 531 | ············"Ljava/util/Map", |
532 | ············"<", | 532 | ············"<", |
Offset 544, 41 lines modified | Offset 544, 37 lines modified | ||
544 | ············Lcom/google/zxing/NotFoundException; | 544 | ············Lcom/google/zxing/NotFoundException; |
545 | ········} | 545 | ········} |
546 | ····.end·annotation | 546 | ····.end·annotation |
547 | ····.prologue | 547 | ····.prologue |
548 | ····.line·76 | 548 | ····.line·76 |
549 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 549 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
550 | ····const/4·v | 550 | ····const/4·v0,·0x1 |
551 | ····:try_start_0 | 551 | ····:try_start_0 |
552 | ····invoke-static·{p1,·p2,·v | 552 | ····invoke-static·{p1,·p2,·v0},·Lcom/google/zxing/pdf417/PDF417Reader;->decode(Lcom/google/zxing/BinaryBitmap;Ljava/util/Map;Z)[Lcom/google/zxing/Result; |
553 | ····:try_end_0 | 553 | ····:try_end_0 |
554 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0 | 554 | ····.catch·Lcom/google/zxing/FormatException;·{:try_start_0·..·:try_end_0}·:catch_0 |
555 | ····.catch·Lcom/google/zxing/ChecksumException;·{:try_start_0·..·:try_end_0}·:catch_1 | 555 | ····.catch·Lcom/google/zxing/ChecksumException;·{:try_start_0·..·:try_end_0}·:catch_1 |
556 | ····move-result-object·v | 556 | ····move-result-object·v0 |
557 | ····return-object·v | 557 | ····return-object·v0 |
558 | ····.line·7 | 558 | ····.line·78 |
559 | ····:catch_0 | 559 | ····:catch_0 |
560 | ····move-exception·v0 | 560 | ····move-exception·v0 |
561 | ····.line·78 | ||
562 | ····.local·v0,·"ignored":Lcom/google/zxing/ReaderException; | ||
563 | ····:goto_0 | 561 | ····:goto_0 |
564 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 562 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
565 | ····move-result-object·v | 563 | ····move-result-object·v0 |
566 | ····throw·v | 564 | ····throw·v0 |
567 | ····.line·77 | ||
568 | ····.end·local·v0····#·"ignored":Lcom/google/zxing/ReaderException; | ||
569 | ····:catch_1 | 565 | ····:catch_1 |
570 | ····move-exception·v0 | 566 | ····move-exception·v0 |
571 | ····goto·:goto_0 | 567 | ····goto·:goto_0 |
572 | .end·method | 568 | .end·method |
573 | .method·public·reset()V | 569 | .method·public·reset()V |
Offset 268, 73 lines modified | Offset 268, 66 lines modified | ||
268 | ····.line·102 | 268 | ····.line·102 |
269 | ····.local·v3,·"foundBarcodeInRow":Z | 269 | ····.local·v3,·"foundBarcodeInRow":Z |
270 | ····:goto_0 | 270 | ····:goto_0 |
271 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I | 271 | ····invoke-virtual·{p1},·Lcom/google/zxing/common/BitMatrix;->getHeight()I |
272 | ····move-result·v6 | 272 | ····move-result·v6 |
273 | ····if-ge·v4,·v6,·:cond_ | 273 | ····if-ge·v4,·v6,·:cond_5 |
274 | ····.line·103 | 274 | ····.line·103 |
275 | ····invoke-static·{p1,·v4,·v2},·Lcom/google/zxing/pdf417/detector/Detector;->findVertices(Lcom/google/zxing/common/BitMatrix;II)[Lcom/google/zxing/ResultPoint; | 275 | ····invoke-static·{p1,·v4,·v2},·Lcom/google/zxing/pdf417/detector/Detector;->findVertices(Lcom/google/zxing/common/BitMatrix;II)[Lcom/google/zxing/ResultPoint; |
276 | ····move-result-object·v5 | 276 | ····move-result-object·v5 |
277 | ····.line·105 | 277 | ····.line·105 |
278 | ····.local·v5,·"vertices":[Lcom/google/zxing/ResultPoint; | 278 | ····.local·v5,·"vertices":[Lcom/google/zxing/ResultPoint; |
279 | ····const/4·v6,·0x0 | 279 | ····const/4·v6,·0x0 |
280 | ····aget-object·v6,·v5,·v6 | 280 | ····aget-object·v6,·v5,·v6 |
281 | ····if-nez·v6,·:cond_ | 281 | ····if-nez·v6,·:cond_3 |
282 | ····aget-object·v6,·v5,·v10 | 282 | ····aget-object·v6,·v5,·v10 |
283 | ····if-nez·v6,·:cond_ | 283 | ····if-nez·v6,·:cond_3 |
284 | ····.line·106 | 284 | ····.line·106 |
285 | ····if- | 285 | ····if-eqz·v3,·:cond_5 |
286 | ····.line·140 | ||
287 | ····.end·local·v5····#·"vertices":[Lcom/google/zxing/ResultPoint; | ||
288 | ····:cond_0 | ||
289 | ····return-object·v1 | ||
290 | ····.line·112 | 286 | ····.line·112 |
291 | ····.restart·local·v5····#·"vertices":[Lcom/google/zxing/ResultPoint; | ||
292 | ····:cond_1 | ||
293 | ····const/4·v3,·0x0 | 287 | ····const/4·v3,·0x0 |
294 | ····.line·113 | 288 | ····.line·113 |
295 | ····const/4·v2,·0x0 | 289 | ····const/4·v2,·0x0 |
296 | ····.line·114 | 290 | ····.line·114 |
297 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 291 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
298 | ····move-result-object·v6 | 292 | ····move-result-object·v6 |
299 | ····:cond_ | 293 | ····:cond_0 |
300 | ····:goto_1 | 294 | ····:goto_1 |
301 | ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z | 295 | ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z |
302 | ····move-result·v7 | 296 | ····move-result·v7 |
303 | ····if-eqz·v7,·:cond_ | 297 | ····if-eqz·v7,·:cond_2 |
304 | ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 298 | ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
305 | ····move-result-object·v0 | 299 | ····move-result-object·v0 |
306 | ····check-cast·v0,·[Lcom/google/zxing/ResultPoint; | 300 | ····check-cast·v0,·[Lcom/google/zxing/ResultPoint; |
307 | ····.line·115 | 301 | ····.line·115 |
308 | ····.local·v0,·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint; | 302 | ····.local·v0,·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint; |
309 | ····aget-object·v7,·v0,·v11 | 303 | ····aget-object·v7,·v0,·v11 |
310 | ····if-eqz·v7,·:cond_ | 304 | ····if-eqz·v7,·:cond_1 |
311 | ····.line·116 | 305 | ····.line·116 |
312 | ····int-to-float·v7,·v4 | 306 | ····int-to-float·v7,·v4 |
313 | ····aget-object·v8,·v0,·v11 | 307 | ····aget-object·v8,·v0,·v11 |
314 | ····invoke-virtual·{v8},·Lcom/google/zxing/ResultPoint;->getY()F | 308 | ····invoke-virtual·{v8},·Lcom/google/zxing/ResultPoint;->getY()F |
Offset 344, 18 lines modified | Offset 337, 18 lines modified | ||
344 | ····invoke-static·{v7,·v8},·Ljava/lang/Math;->max(FF)F | 337 | ····invoke-static·{v7,·v8},·Ljava/lang/Math;->max(FF)F |
345 | ····move-result·v7 | 338 | ····move-result·v7 |
346 | ····float-to-int·v4,·v7 | 339 | ····float-to-int·v4,·v7 |
347 | ····.line·118 | 340 | ····.line·118 |
348 | ····:cond_ | 341 | ····:cond_1 |
349 | ····aget-object·v7,·v0,·v10 | 342 | ····aget-object·v7,·v0,·v10 |
350 | ····if-eqz·v7,·:cond_ | 343 | ····if-eqz·v7,·:cond_0 |
351 | ····.line·119 | 344 | ····.line·119 |
352 | ····aget-object·v7,·v0,·v10 | 345 | ····aget-object·v7,·v0,·v10 |
353 | ····invoke-virtual·{v7},·Lcom/google/zxing/ResultPoint;->getY()F | 346 | ····invoke-virtual·{v7},·Lcom/google/zxing/ResultPoint;->getY()F |
354 | ····move-result·v7 | 347 | ····move-result·v7 |
Offset 366, 34 lines modified | Offset 359, 34 lines modified | ||
366 | ····move-result·v4 | 359 | ····move-result·v4 |
367 | ····goto·:goto_1 | 360 | ····goto·:goto_1 |
368 | ····.line·122 | 361 | ····.line·122 |
369 | ····.end·local·v0····#·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint; | 362 | ····.end·local·v0····#·"barcodeCoordinate":[Lcom/google/zxing/ResultPoint; |
370 | ····:cond_ | 363 | ····:cond_2 |
371 | ····add-int/lit8·v4,·v4,·0x5 | 364 | ····add-int/lit8·v4,·v4,·0x5 |
372 | ····.line·123 | 365 | ····.line·123 |
373 | ····goto·:goto_0 | 366 | ····goto·:goto_0 |
374 | ····.line·125 | 367 | ····.line·125 |
375 | ····:cond_ | 368 | ····:cond_3 |
376 | ····const/4·v3,·0x1 | 369 | ····const/4·v3,·0x1 |
377 | ····.line·126 | 370 | ····.line·126 |
378 | ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z | 371 | ····invoke-interface·{v1,·v5},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
379 | ····.line·127 | 372 | ····.line·127 |
380 | ····if-eqz·p0,·:cond_ | 373 | ····if-eqz·p0,·:cond_5 |
381 | ····.line·132 | 374 | ····.line·132 |
382 | ····aget-object·v6,·v5,·v9 | 375 | ····aget-object·v6,·v5,·v9 |
383 | ····if-eqz·v6,·:cond_ | 376 | ····if-eqz·v6,·:cond_4 |
384 | ····.line·133 | 377 | ····.line·133 |
385 | ····aget-object·v6,·v5,·v9 | 378 | ····aget-object·v6,·v5,·v9 |
386 | ····invoke-virtual·{v6},·Lcom/google/zxing/ResultPoint;->getX()F | 379 | ····invoke-virtual·{v6},·Lcom/google/zxing/ResultPoint;->getX()F |
387 | ····move-result·v6 | 380 | ····move-result·v6 |
Max diff block lines reached; 9948/12867 bytes (77.31%) of diff not shown. |
Offset 10, 15 lines modified | Offset 10, 15 lines modified | ||
10 | #·direct·methods | 10 | #·direct·methods |
11 | .method·static·constructor·<clinit>()V | 11 | .method·static·constructor·<clinit>()V |
12 | ····.locals·9 | 12 | ····.locals·9 |
13 | ····.prologue | 13 | ····.prologue |
14 | ····const/16·v8,·0x8 | 14 | ····const/16·v8,·0x8 |
15 | ····.line·2 | 15 | ····.line·28 |
16 | ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I | 16 | ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I |
17 | ····array-length·v5,·v5 | 17 | ····array-length·v5,·v5 |
18 | ····filled-new-array·{v5,·v8},·[I | 18 | ····filled-new-array·{v5,·v8},·[I |
19 | ····move-result-object·v5 | 19 | ····move-result-object·v5 |
Offset 29, 327 lines modified | Offset 29, 322 lines modified | ||
29 | ····move-result-object·v5 | 29 | ····move-result-object·v5 |
30 | ····check-cast·v5,·[[F | 30 | ····check-cast·v5,·[[F |
31 | ····sput-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F | 31 | ····sput-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F |
32 | ····.line·3 | 32 | ····.line·33 |
33 | ····const/4·v2,·0x0 | 33 | ····const/4·v2,·0x0 |
34 | ····.local·v2,·"i":I | 34 | ····.local·v2,·"i":I |
35 | ····:goto_0 | 35 | ····:goto_0 |
36 | ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I | 36 | ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I |
37 | ····array-length·v5,·v5 | 37 | ····array-length·v5,·v5 |
38 | ····if-ge·v2,·v5,·:cond_2 | 38 | ····if-ge·v2,·v5,·:cond_2 |
39 | ····.line·3 | 39 | ····.line·34 |
40 | ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I | 40 | ····sget-object·v5,·Lcom/google/zxing/pdf417/PDF417Common;->SYMBOL_TABLE:[I |
41 | ····aget·v1,·v5,·v2 | 41 | ····aget·v1,·v5,·v2 |
42 | ····.line·3 | 42 | ····.line·35 |
43 | ····.local·v1,·"currentSymbol":I | 43 | ····.local·v1,·"currentSymbol":I |
44 | ····and-int/lit8·v0,·v1,·0x1 | 44 | ····and-int/lit8·v0,·v1,·0x1 |
45 | ····.line·3 | 45 | ····.line·36 |
46 | ····.local·v0,·"currentBit":I | 46 | ····.local·v0,·"currentBit":I |
47 | ····const/4·v3,·0x0 | 47 | ····const/4·v3,·0x0 |
48 | ····.local·v3,·"j":I | 48 | ····.local·v3,·"j":I |
49 | ····:goto_1 | 49 | ····:goto_1 |
50 | ····if-ge·v3,·v8,·:cond_1 | 50 | ····if-ge·v3,·v8,·:cond_1 |
51 | ····.line·3 | 51 | ····.line·37 |
52 | ····const/4·v4,·0x0 | 52 | ····const/4·v4,·0x0 |
53 | ····.line·3 | 53 | ····.line·38 |
54 | ····.local·v4,·"size":F | 54 | ····.local·v4,·"size":F |
55 | ····:goto_2 | 55 | ····:goto_2 |
56 | ····and-int/lit8·v5,·v1,·0x1 | 56 | ····and-int/lit8·v5,·v1,·0x1 |
57 | ····if-ne·v5,·v0,·:cond_0 | 57 | ····if-ne·v5,·v0,·:cond_0 |
58 | ····.line·3 | 58 | ····.line·39 |
59 | ····const/high16·v5,·0x3f800000····#·1.0f | 59 | ····const/high16·v5,·0x3f800000····#·1.0f |
60 | ····add-float/2addr·v4,·v5 | 60 | ····add-float/2addr·v4,·v5 |
61 | ····.line· | 61 | ····.line·40 |
62 | ····shr-int/lit8·v1,·v1,·0x1 | 62 | ····shr-int/lit8·v1,·v1,·0x1 |
63 | ····goto·:goto_2 | 63 | ····goto·:goto_2 |
64 | ····.line·4 | 64 | ····.line·42 |
65 | ····:cond_0 | 65 | ····:cond_0 |
66 | ····and-int/lit8·v0,·v1,·0x1 | 66 | ····and-int/lit8·v0,·v1,·0x1 |
67 | ····.line·4 | 67 | ····.line·43 |
68 | ····sget-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F | 68 | ····sget-object·v5,·Lcom/google/zxing/pdf417/decoder/PDF417CodewordDecoder;->RATIOS_TABLE:[[F |
69 | ····aget-object·v5,·v5,·v2 | 69 | ····aget-object·v5,·v5,·v2 |
70 | ····rsub-int/lit8·v6,·v3,·0x8 | 70 | ····rsub-int/lit8·v6,·v3,·0x8 |
71 | ····add-int/lit8·v6,·v6,·-0x1 | 71 | ····add-int/lit8·v6,·v6,·-0x1 |
72 | ····const/high16·v7,·0x41880000····#·17.0f | 72 | ····const/high16·v7,·0x41880000····#·17.0f |
73 | ····div-float·v7,·v4,·v7 | 73 | ····div-float·v7,·v4,·v7 |
74 | ····aput·v7,·v5,·v6 | 74 | ····aput·v7,·v5,·v6 |
75 | ····.line·3 | 75 | ····.line·36 |
76 | ····add-int/lit8·v3,·v3,·0x1 | 76 | ····add-int/lit8·v3,·v3,·0x1 |
77 | ····goto·:goto_1 | 77 | ····goto·:goto_1 |
78 | ····.line·3 | 78 | ····.line·33 |
79 | ····.end·local·v4····#·"size":F | 79 | ····.end·local·v4····#·"size":F |
80 | ····:cond_1 | 80 | ····:cond_1 |
81 | ····add-int/lit8·v2,·v2,·0x1 | 81 | ····add-int/lit8·v2,·v2,·0x1 |
82 | ····goto·:goto_0 | 82 | ····goto·:goto_0 |
83 | ····.line·4 | 83 | ····.line·46 |
84 | ····.end·local·v0····#·"currentBit":I | 84 | ····.end·local·v0····#·"currentBit":I |
85 | ····.end·local·v1····#·"currentSymbol":I | 85 | ····.end·local·v1····#·"currentSymbol":I |
86 | ····.end·local·v3····#·"j":I | 86 | ····.end·local·v3····#·"j":I |
87 | ····:cond_2 | 87 | ····:cond_2 |
88 | ····return-void | 88 | ····return-void |
89 | .end·method | 89 | .end·method |
90 | .method·private·constructor·<init>()V | 90 | .method·private·constructor·<init>()V |
91 | ····.locals·0 | 91 | ····.locals·0 |
92 | ····.prologue | 92 | ····.prologue |
93 | ····.line·4 | 93 | ····.line·48 |
94 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 94 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
95 | ····.line·4 | 95 | ····.line·49 |
96 | ····return-void | 96 | ····return-void |
97 | .end·method | 97 | .end·method |
98 | .method·private·static·getBitValue([I)I | 98 | .method·private·static·getBitValue([I)I |
99 | ····.locals·10 | 99 | ····.locals·10 |
100 | ····.param·p0,·"moduleBitCount"····#·[I | 100 | ····.param·p0,·"moduleBitCount"····#·[I |
101 | ····.prologue | 101 | ····.prologue |
102 | ····const/4·v5,·0x1 | 102 | ····const/4·v5,·0x1 |
Max diff block lines reached; 6968/9563 bytes (72.86%) of diff not shown. |
Offset 14, 198 lines modified | Offset 14, 189 lines modified | ||
14 | #·direct·methods | 14 | #·direct·methods |
15 | .method·static·constructor·<clinit>()V | 15 | .method·static·constructor·<clinit>()V |
16 | ····.locals·1 | 16 | ····.locals·1 |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·4 | 18 | ····.line·43 |
19 | ····new-instance·v0,·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection; | 19 | ····new-instance·v0,·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection; |
20 | ····invoke-direct·{v0},·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;-><init>()V | 20 | ····invoke-direct·{v0},·Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection;-><init>()V |
21 | ····sput-object·v0,·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->errorCorrection:Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection; | 21 | ····sput-object·v0,·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->errorCorrection:Lcom/google/zxing/pdf417/decoder/ec/ErrorCorrection; |
22 | ····return-void | 22 | ····return-void |
23 | .end·method | 23 | .end·method |
24 | .method·private·constructor·<init>()V | 24 | .method·private·constructor·<init>()V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.prologue | 26 | ····.prologue |
27 | ····.line·4 | 27 | ····.line·45 |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
29 | ····.line·4 | 29 | ····.line·46 |
30 | ····return-void | 30 | ····return-void |
31 | .end·method | 31 | .end·method |
32 | .method·private·static·adjustBoundingBox(Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;)Lcom/google/zxing/pdf417/decoder/BoundingBox; | 32 | .method·private·static·adjustBoundingBox(Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;)Lcom/google/zxing/pdf417/decoder/BoundingBox; |
33 | ····.locals·10 | 33 | ····.locals·10 |
34 | ····.param·p0,·"rowIndicatorColumn"····#·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn; | 34 | ····.param·p0,·"rowIndicatorColumn"····#·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn; |
35 | ····.annotation·system·Ldalvik/annotation/Throws; | 35 | ····.annotation·system·Ldalvik/annotation/Throws; |
36 | ········value·=·{ | 36 | ········value·=·{ |
37 | ············Lcom/google/zxing/NotFoundException; | 37 | ············Lcom/google/zxing/NotFoundException; |
38 | ············Lcom/google/zxing/FormatException; | ||
39 | ········} | 38 | ········} |
40 | ····.end·annotation | 39 | ····.end·annotation |
41 | ····.prologue | 40 | ····.prologue |
42 | ····const/4·v7,·0x0 | 41 | ····const/4·v7,·0x0 |
43 | ····.line·14 | 42 | ····.line·144 |
44 | ····if-nez·p0,·:cond_1 | 43 | ····if-nez·p0,·:cond_1 |
45 | ····.line·17 | 44 | ····.line·173 |
46 | ····:cond_0 | 45 | ····:cond_0 |
47 | ····:goto_0 | 46 | ····:goto_0 |
48 | ····return-object·v7 | 47 | ····return-object·v7 |
49 | ····.line·14 | 48 | ····.line·147 |
50 | ····:cond_1 | 49 | ····:cond_1 |
51 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getRowHeights()[I | 50 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getRowHeights()[I |
52 | ····move-result-object·v6 | 51 | ····move-result-object·v6 |
53 | ····.line·14 | 52 | ····.line·148 |
54 | ····.local·v6,·"rowHeights":[I | 53 | ····.local·v6,·"rowHeights":[I |
55 | ····if-eqz·v6,·:cond_0 | 54 | ····if-eqz·v6,·:cond_0 |
56 | ····.line·15 | 55 | ····.line·151 |
57 | ····invoke-static·{v6},·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->getMax([I)I | 56 | ····invoke-static·{v6},·Lcom/google/zxing/pdf417/decoder/PDF417ScanningDecoder;->getMax([I)I |
58 | ····move-result·v1 | 57 | ····move-result·v1 |
59 | ····.line·15 | 58 | ····.line·152 |
60 | ····.local·v1,·"maxRowHeight":I | 59 | ····.local·v1,·"maxRowHeight":I |
61 | ····const/4·v3,·0x0 | 60 | ····const/4·v3,·0x0 |
62 | ····.line·15 | 61 | ····.line·153 |
63 | ····.local·v3,·"missingStartRows":I | 62 | ····.local·v3,·"missingStartRows":I |
64 | ····array-length·v8,·v6 | 63 | ····array-length·v8,·v6 |
65 | ····const/4·v7,·0x0 | 64 | ····const/4·v7,·0x0 |
66 | ····:goto_1 | 65 | ····:goto_1 |
67 | ····if-ge·v7,·v8,·:cond_2 | 66 | ····if-ge·v7,·v8,·:cond_2 |
68 | ····aget·v5,·v6,·v7 | 67 | ····aget·v5,·v6,·v7 |
69 | ····.line·15 | 68 | ····.line·154 |
70 | ····.local·v5,·"rowHeight":I | 69 | ····.local·v5,·"rowHeight":I |
71 | ····sub-int·v9,·v1,·v5 | 70 | ····sub-int·v9,·v1,·v5 |
72 | ····add-int/2addr·v3,·v9 | 71 | ····add-int/2addr·v3,·v9 |
73 | ····.line·15 | 72 | ····.line·155 |
74 | ····if- | 73 | ····if-gtz·v5,·:cond_2 |
75 | ····.line·15 | 74 | ····.line·153 |
75 | ····add-int/lit8·v7,·v7,·0x1 | ||
76 | ····goto·:goto_1 | ||
77 | ····.line·159 | ||
76 | ····.end·local·v5····#·"rowHeight":I | 78 | ····.end·local·v5····#·"rowHeight":I |
77 | ····:cond_2 | 79 | ····:cond_2 |
78 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword; | 80 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword; |
79 | ····move-result-object·v0 | 81 | ····move-result-object·v0 |
80 | ····.line·1 | 82 | ····.line·160 |
81 | ····.local·v0,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword; | 83 | ····.local·v0,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword; |
82 | ····const/4·v4,·0x0 | 84 | ····const/4·v4,·0x0 |
83 | ····.local·v4,·"row":I | 85 | ····.local·v4,·"row":I |
84 | ····:goto_2 | 86 | ····:goto_2 |
85 | ····if-lez·v3,·:cond_ | 87 | ····if-lez·v3,·:cond_3 |
86 | ····aget-object·v7,·v0,·v4 | 88 | ····aget-object·v7,·v0,·v4 |
87 | ····if-nez·v7,·:cond_ | 89 | ····if-nez·v7,·:cond_3 |
88 | ····.line·16 | 90 | ····.line·161 |
89 | ····add-int/lit8·v3,·v3,·-0x1 | 91 | ····add-int/lit8·v3,·v3,·-0x1 |
90 | ····.line·1 | 92 | ····.line·160 |
91 | ····add-int/lit8·v4,·v4,·0x1 | 93 | ····add-int/lit8·v4,·v4,·0x1 |
92 | ····goto·:goto_2 | 94 | ····goto·:goto_2 |
93 | ····.line·1 | 95 | ····.line·163 |
94 | ····.end·local·v0····#·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword; | ||
95 | ····.end·local·v4····#·"row":I | ||
96 | ····.restart·local·v5····#·"rowHeight":I | ||
97 | ····:cond_3 | 96 | ····:cond_3 |
98 | ····add-int/lit8·v7,·v7,·0x1 | ||
Max diff block lines reached; 67126/70654 bytes (95.01%) of diff not shown. |
Offset 64, 15 lines modified | Offset 64, 15 lines modified | ||
64 | ····.line·56 | 64 | ····.line·56 |
65 | ····check-cast·p1,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn; | 65 | ····check-cast·p1,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn; |
66 | ····.end·local·p1····#·"detectionResultColumn":Lcom/google/zxing/pdf417/decoder/DetectionResultColumn; | 66 | ····.end·local·p1····#·"detectionResultColumn":Lcom/google/zxing/pdf417/decoder/DetectionResultColumn; |
67 | ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResult;->barcodeMetadata:Lcom/google/zxing/pdf417/decoder/BarcodeMetadata; | 67 | ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResult;->barcodeMetadata:Lcom/google/zxing/pdf417/decoder/BarcodeMetadata; |
68 | ····.line·57 | 68 | ····.line·57 |
69 | ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->adjustCompleteIndicatorColumnRowNumbers(Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;) | 69 | ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->adjustCompleteIndicatorColumnRowNumbers(Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;)V |
70 | ····.line·59 | 70 | ····.line·59 |
71 | ····:cond_0 | 71 | ····:cond_0 |
72 | ····return-void | 72 | ····return-void |
73 | .end·method | 73 | .end·method |
74 | .method·private·static·adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z | 74 | .method·private·static·adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z |
Offset 228, 57 lines modified | Offset 228, 55 lines modified | ||
228 | ····.local·v1,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword; | 228 | ····.local·v1,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword; |
229 | ····const/4·v2,·0x0 | 229 | ····const/4·v2,·0x0 |
230 | ····.local·v2,·"codewordsRow":I | 230 | ····.local·v2,·"codewordsRow":I |
231 | ····:goto_1 | 231 | ····:goto_1 |
232 | ····array-length·v4,·v1 | 232 | ····array-length·v4,·v1 |
233 | ····if-ge·v2,·v4,·:cond_ | 233 | ····if-ge·v2,·v4,·:cond_3 |
234 | ····.line·76 | 234 | ····.line·76 |
235 | ····aget-object·v4,·v1,·v2 | 235 | ····aget-object·v4,·v1,·v2 |
236 | ····if- | 236 | ····if-eqz·v4,·:cond_2 |
237 | ····.line·75 | ||
238 | ····:cond_2 | ||
239 | ····:goto_2 | ||
240 | ····add-int/lit8·v2,·v2,·0x1 | ||
241 | ····goto·:goto_1 | ||
242 | ····.line·79 | 237 | ····.line·79 |
243 | ····:cond_3 | ||
244 | ····aget-object·v4,·v1,·v2 | 238 | ····aget-object·v4,·v1,·v2 |
245 | ····invoke-virtual·{v4},·Lcom/google/zxing/pdf417/decoder/Codeword;->hasValidRowNumber()Z | 239 | ····invoke-virtual·{v4},·Lcom/google/zxing/pdf417/decoder/Codeword;->hasValidRowNumber()Z |
246 | ····move-result·v4 | 240 | ····move-result·v4 |
247 | ····if-nez·v4,·:cond_2 | 241 | ····if-nez·v4,·:cond_2 |
248 | ····.line·80 | 242 | ····.line·80 |
249 | ····invoke-direct·{p0,·v0,·v2,·v1},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V | 243 | ····invoke-direct·{p0,·v0,·v2,·v1},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V |
244 | ····.line·75 | ||
245 | ····:cond_2 | ||
246 | ····add-int/lit8·v2,·v2,·0x1 | ||
250 | ····goto·:goto_ | 247 | ····goto·:goto_1 |
251 | ····.line·73 | 248 | ····.line·73 |
252 | ····:cond_ | 249 | ····:cond_3 |
253 | ····add-int/lit8·v0,·v0,·0x1 | 250 | ····add-int/lit8·v0,·v0,·0x1 |
254 | ····goto·:goto_0 | 251 | ····goto·:goto_0 |
255 | .end·method | 252 | .end·method |
256 | .method·private·adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V | 253 | .method·private·adjustRowNumbers(II[Lcom/google/zxing/pdf417/decoder/Codeword;)V |
257 | ····.locals· | 254 | ····.locals·10 |
258 | ····.param·p1,·"barcodeColumn"····#·I | 255 | ····.param·p1,·"barcodeColumn"····#·I |
259 | ····.param·p2,·"codewordsRow"····#·I | 256 | ····.param·p2,·"codewordsRow"····#·I |
260 | ····.param·p3,·"codewords"····#·[Lcom/google/zxing/pdf417/decoder/Codeword; | 257 | ····.param·p3,·"codewords"····#·[Lcom/google/zxing/pdf417/decoder/Codeword; |
261 | ····.prologue | 258 | ····.prologue |
259 | ····const/16·v9,·0xe | ||
262 | ····const/4·v8,·0x1 | 260 | ····const/4·v8,·0x1 |
263 | ····const/4·v5,·0x0 | 261 | ····const/4·v5,·0x0 |
264 | ····.line·187 | 262 | ····.line·187 |
265 | ····aget-object·v0,·p3,·p2 | 263 | ····aget-object·v0,·p3,·p2 |
Offset 317, 17 lines modified | Offset 315, 15 lines modified | ||
317 | ····invoke-virtual·{v6},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword; | 315 | ····invoke-virtual·{v6},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword; |
318 | ····move-result-object·v1 | 316 | ····move-result-object·v1 |
319 | ····.line·194 | 317 | ····.line·194 |
320 | ····:cond_0 | 318 | ····:cond_0 |
321 | ····const/16·v6,·0xe | ||
322 | ····new-array·v3,·v | 319 | ····new-array·v3,·v9,·[Lcom/google/zxing/pdf417/decoder/Codeword; |
323 | ····.line·196 | 320 | ····.line·196 |
324 | ····.local·v3,·"otherCodewords":[Lcom/google/zxing/pdf417/decoder/Codeword; | 321 | ····.local·v3,·"otherCodewords":[Lcom/google/zxing/pdf417/decoder/Codeword; |
325 | ····const/4·v6,·0x2 | 322 | ····const/4·v6,·0x2 |
326 | ····aget-object·v7,·v4,·p2 | 323 | ····aget-object·v7,·v4,·p2 |
Offset 465, 28 lines modified | Offset 461, 26 lines modified | ||
465 | ····aget-object·v7,·v1,·v7 | 461 | ····aget-object·v7,·v1,·v7 |
466 | ····aput-object·v7,·v3,·v6 | 462 | ····aput-object·v7,·v3,·v6 |
467 | ····.line·219 | 463 | ····.line·219 |
468 | ····:cond_4 | 464 | ····:cond_4 |
469 | ····array-length·v6,·v3 | ||
470 | ····:goto_0 | 465 | ····:goto_0 |
471 | ····if-ge·v5,·v | 466 | ····if-ge·v5,·v9,·:cond_5 |
472 | ····aget-object·v2,·v3,·v5 | 467 | ····aget-object·v2,·v3,·v5 |
473 | ····.line·220 | 468 | ····.line·220 |
474 | ····.local·v2,·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword; | 469 | ····.local·v2,·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword; |
475 | ····invoke-static·{v0,·v2},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z | 470 | ····invoke-static·{v0,·v2},·Lcom/google/zxing/pdf417/decoder/DetectionResult;->adjustRowNumber(Lcom/google/zxing/pdf417/decoder/Codeword;Lcom/google/zxing/pdf417/decoder/Codeword;)Z |
476 | ····move-result·v | 471 | ····move-result·v6 |
477 | ····if-eqz·v | 472 | ····if-eqz·v6,·:cond_6 |
478 | ····.line·224 | 473 | ····.line·224 |
479 | ····.end·local·v2····#·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword; | 474 | ····.end·local·v2····#·"otherCodeword":Lcom/google/zxing/pdf417/decoder/Codeword; |
480 | ····:cond_5 | 475 | ····:cond_5 |
481 | ····return-void | 476 | ····return-void |
482 | ····.line·219 | 477 | ····.line·219 |
Offset 506, 22 lines modified | Offset 500, 21 lines modified | ||
Max diff block lines reached; 7184/10841 bytes (66.27%) of diff not shown. |
Offset 63, 274 lines modified | Offset 63, 208 lines modified | ||
63 | #·direct·methods | 63 | #·direct·methods |
64 | .method·static·constructor·<clinit>()V | 64 | .method·static·constructor·<clinit>()V |
65 | ····.locals·5 | 65 | ····.locals·5 |
66 | ····.prologue | 66 | ····.prologue |
67 | ····.line·67 | 67 | ····.line·67 |
68 | ····const | 68 | ····const-string·v2,·";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}\'" |
69 | ···· | 69 | ····.line·68 |
70 | ····invoke-virtual·{v2},·Ljava/lang/String;->toCharArray()[C | ||
70 | ···· | 71 | ····move-result-object·v2 |
71 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->PUNCT_CHARS:[C | 72 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->PUNCT_CHARS:[C |
72 | ····.line·7 | 73 | ····.line·70 |
73 | ····const | 74 | ····const-string·v2,·"0123456789&\r\t,:#-.$/+%*=^" |
74 | ···· | 75 | ····.line·71 |
76 | ····invoke-virtual·{v2},·Ljava/lang/String;->toCharArray()[C | ||
75 | ···· | 77 | ····move-result-object·v2 |
76 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->MIXED_CHARS:[C | 78 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->MIXED_CHARS:[C |
77 | ····.line·7 | 79 | ····.line·73 |
78 | ····const-string·v2,·"ISO-8859-1" | 80 | ····const-string·v2,·"ISO-8859-1" |
79 | ····invoke-static·{v2},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset; | 81 | ····invoke-static·{v2},·Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset; |
80 | ····move-result-object·v2 | 82 | ····move-result-object·v2 |
81 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->DEFAULT_ENCODING:Ljava/nio/charset/Charset; | 83 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->DEFAULT_ENCODING:Ljava/nio/charset/Charset; |
82 | ····.line·8 | 84 | ····.line·81 |
83 | ····const/16·v2,·0x10 | 85 | ····const/16·v2,·0x10 |
84 | ····new-array·v2,·v2,·[Ljava/math/BigInteger; | 86 | ····new-array·v2,·v2,·[Ljava/math/BigInteger; |
87 | ····.line·82 | ||
85 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; | 88 | ····sput-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; |
86 | ····.line·86 | ||
87 | ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; | ||
88 | ····const/4·v3,·0x0 | 89 | ····const/4·v3,·0x0 |
89 | ····sget-object·v4,·Ljava/math/BigInteger;->ONE:Ljava/math/BigInteger; | 90 | ····sget-object·v4,·Ljava/math/BigInteger;->ONE:Ljava/math/BigInteger; |
90 | ····aput-object·v4,·v2,·v3 | 91 | ····aput-object·v4,·v2,·v3 |
91 | ····.line·8 | 92 | ····.line·83 |
92 | ····const-wide/16·v2,·0x384 | 93 | ····const-wide/16·v2,·0x384 |
93 | ····invoke-static·{v2,·v3},·Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger; | 94 | ····invoke-static·{v2,·v3},·Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger; |
94 | ····move-result-object·v1 | 95 | ····move-result-object·v1 |
95 | ····.line·8 | 96 | ····.line·84 |
96 | ····.local·v1,·"nineHundred":Ljava/math/BigInteger; | 97 | ····.local·v1,·"nineHundred":Ljava/math/BigInteger; |
97 | ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; | 98 | ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; |
98 | ····const/4·v3,·0x1 | 99 | ····const/4·v3,·0x1 |
99 | ····aput-object·v1,·v2,·v3 | 100 | ····aput-object·v1,·v2,·v3 |
100 | ····.line·8 | 101 | ····.line·85 |
101 | ····const/4·v0,·0x2 | 102 | ····const/4·v0,·0x2 |
102 | ····.local·v0,·"i":I | 103 | ····.local·v0,·"i":I |
103 | ····:goto_0 | 104 | ····:goto_0 |
104 | ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; | 105 | ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; |
105 | ····array-length·v2,·v2 | 106 | ····array-length·v2,·v2 |
106 | ····if-ge·v0,·v2,·:cond_0 | 107 | ····if-ge·v0,·v2,·:cond_0 |
107 | ····.line· | 108 | ····.line·86 |
108 | ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; | 109 | ····sget-object·v2,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; |
109 | ····sget-object·v3,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; | 110 | ····sget-object·v3,·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser;->EXP900:[Ljava/math/BigInteger; |
110 | ····add-int/lit8·v4,·v0,·-0x1 | 111 | ····add-int/lit8·v4,·v0,·-0x1 |
111 | ····aget-object·v3,·v3,·v4 | 112 | ····aget-object·v3,·v3,·v4 |
112 | ····invoke-virtual·{v3,·v1},·Ljava/math/BigInteger;->multiply(Ljava/math/BigInteger;)Ljava/math/BigInteger; | 113 | ····invoke-virtual·{v3,·v1},·Ljava/math/BigInteger;->multiply(Ljava/math/BigInteger;)Ljava/math/BigInteger; |
113 | ····move-result-object·v3 | 114 | ····move-result-object·v3 |
114 | ····aput-object·v3,·v2,·v0 | 115 | ····aput-object·v3,·v2,·v0 |
115 | ····.line·8 | 116 | ····.line·85 |
116 | ····add-int/lit8·v0,·v0,·0x1 | 117 | ····add-int/lit8·v0,·v0,·0x1 |
117 | ····goto·:goto_0 | 118 | ····goto·:goto_0 |
118 | ····.line· | 119 | ····.line·88 |
119 | ····:cond_0 | 120 | ····:cond_0 |
120 | ····return-void | 121 | ····return-void |
121 | ····.line·67 | ||
122 | ····:array_0 | ||
123 | ····.array-data·2 | ||
124 | ········0x3bs | ||
125 | ········0x3cs | ||
126 | ········0x3es | ||
127 | ········0x40s | ||
128 | ········0x5bs | ||
129 | ········0x5cs | ||
130 | ········0x5ds | ||
131 | ········0x5fs | ||
132 | ········0x60s | ||
133 | ········0x7es | ||
134 | ········0x21s | ||
135 | ········0xds | ||
136 | ········0x9s | ||
137 | ········0x2cs | ||
138 | ········0x3as | ||
139 | ········0xas | ||
140 | ········0x2ds | ||
141 | ········0x2es | ||
142 | ········0x24s | ||
143 | ········0x2fs | ||
144 | ········0x22s | ||
145 | ········0x7cs | ||
Max diff block lines reached; 42662/46583 bytes (91.58%) of diff not shown. |
Offset 19, 15 lines modified | Offset 19, 15 lines modified | ||
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·static·constructor·<clinit>()V | 20 | .method·static·constructor·<clinit>()V |
21 | ····.locals·3 | 21 | ····.locals·3 |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line· | 23 | ····.line·296 |
24 | ····invoke-static·{},·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode;->values()[Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode; | 24 | ····invoke-static·{},·Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode;->values()[Lcom/google/zxing/pdf417/decoder/DecodedBitStreamParser$Mode; |
25 | ····move-result-object·v0 | 25 | ····move-result-object·v0 |
26 | ····array-length·v0,·v0 | 26 | ····array-length·v0,·v0 |
27 | ····new-array·v0,·v0,·[I | 27 | ····new-array·v0,·v0,·[I |
Offset 10, 21 lines modified | Offset 10, 232 lines modified | ||
10 | #·direct·methods | 10 | #·direct·methods |
11 | .method·constructor·<init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;Z)V | 11 | .method·constructor·<init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;Z)V |
12 | ····.locals·0 | 12 | ····.locals·0 |
13 | ····.param·p1,·"boundingBox"····#·Lcom/google/zxing/pdf417/decoder/BoundingBox; | 13 | ····.param·p1,·"boundingBox"····#·Lcom/google/zxing/pdf417/decoder/BoundingBox; |
14 | ····.param·p2,·"isLeft"····#·Z | 14 | ····.param·p2,·"isLeft"····#·Z |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line·3 | 16 | ····.line·30 |
17 | ····invoke-direct·{p0,·p1},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;-><init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;)V | 17 | ····invoke-direct·{p0,·p1},·Lcom/google/zxing/pdf417/decoder/DetectionResultColumn;-><init>(Lcom/google/zxing/pdf417/decoder/BoundingBox;)V |
18 | ····.line·3 | 18 | ····.line·31 |
19 | ····iput-boolean·p2,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z | 19 | ····iput-boolean·p2,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z |
20 | ····.line·3 | 20 | ····.line·32 |
21 | ····return-void | ||
22 | .end·method | ||
23 | .method·private·adjustIncompleteIndicatorColumnRowNumbers(Lcom/google/zxing/pdf417/decoder/BarcodeMetadata;)V | ||
24 | ····.locals·14 | ||
25 | ····.param·p1,·"barcodeMetadata"····#·Lcom/google/zxing/pdf417/decoder/BarcodeMetadata; | ||
26 | ····.prologue | ||
27 | ····.line·137 | ||
28 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getBoundingBox()Lcom/google/zxing/pdf417/decoder/BoundingBox; | ||
29 | ····move-result-object·v2 | ||
30 | ····.line·138 | ||
31 | ····.local·v2,·"boundingBox":Lcom/google/zxing/pdf417/decoder/BoundingBox; | ||
32 | ····iget-boolean·v12,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z | ||
33 | ····if-eqz·v12,·:cond_1 | ||
34 | ····invoke-virtual·{v2},·Lcom/google/zxing/pdf417/decoder/BoundingBox;->getTopLeft()Lcom/google/zxing/ResultPoint; | ||
35 | ····move-result-object·v11 | ||
36 | ····.line·139 | ||
37 | ····.local·v11,·"top":Lcom/google/zxing/ResultPoint; | ||
38 | ····:goto_0 | ||
39 | ····iget-boolean·v12,·p0,·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->isLeft:Z | ||
40 | ····if-eqz·v12,·:cond_2 | ||
41 | ····invoke-virtual·{v2},·Lcom/google/zxing/pdf417/decoder/BoundingBox;->getBottomLeft()Lcom/google/zxing/ResultPoint; | ||
42 | ····move-result-object·v1 | ||
43 | ····.line·140 | ||
44 | ····.local·v1,·"bottom":Lcom/google/zxing/ResultPoint; | ||
45 | ····:goto_1 | ||
46 | ····invoke-virtual·{v11},·Lcom/google/zxing/ResultPoint;->getY()F | ||
47 | ····move-result·v12 | ||
48 | ····float-to-int·v12,·v12 | ||
49 | ····invoke-virtual·{p0,·v12},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->imageRowToCodewordIndex(I)I | ||
50 | ····move-result·v7 | ||
51 | ····.line·141 | ||
52 | ····.local·v7,·"firstRow":I | ||
53 | ····invoke-virtual·{v1},·Lcom/google/zxing/ResultPoint;->getY()F | ||
54 | ····move-result·v12 | ||
55 | ····float-to-int·v12,·v12 | ||
56 | ····invoke-virtual·{p0,·v12},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->imageRowToCodewordIndex(I)I | ||
57 | ····move-result·v8 | ||
58 | ····.line·143 | ||
59 | ····.local·v8,·"lastRow":I | ||
60 | ····invoke-virtual·{p0},·Lcom/google/zxing/pdf417/decoder/DetectionResultRowIndicatorColumn;->getCodewords()[Lcom/google/zxing/pdf417/decoder/Codeword; | ||
61 | ····move-result-object·v4 | ||
62 | ····.line·144 | ||
63 | ····.local·v4,·"codewords":[Lcom/google/zxing/pdf417/decoder/Codeword; | ||
64 | ····const/4·v0,·-0x1 | ||
65 | ····.line·145 | ||
66 | ····.local·v0,·"barcodeRow":I | ||
67 | ····const/4·v9,·0x1 | ||
68 | ····.line·146 | ||
69 | ····.local·v9,·"maxRowHeight":I | ||
70 | ····const/4·v6,·0x0 | ||
71 | ····.line·147 | ||
72 | ····.local·v6,·"currentRowHeight":I | ||
73 | ····move·v5,·v7 | ||
74 | ····.local·v5,·"codewordsRow":I | ||
75 | ····:goto_2 | ||
76 | ····if-ge·v5,·v8,·:cond_6 | ||
77 | ····.line·148 | ||
78 | ····aget-object·v12,·v4,·v5 | ||
79 | ····if-eqz·v12,·:cond_0 | ||
80 | ····.line·151 | ||
81 | ····aget-object·v3,·v4,·v5 | ||
82 | ····.line·153 | ||
83 | ····.local·v3,·"codeword":Lcom/google/zxing/pdf417/decoder/Codeword; | ||
84 | ····invoke-virtual·{v3},·Lcom/google/zxing/pdf417/decoder/Codeword;->setRowNumberAsRowIndicatorColumn()V | ||
85 | ····.line·155 | ||
86 | ····invoke-virtual·{v3},·Lcom/google/zxing/pdf417/decoder/Codeword;->getRowNumber()I | ||
87 | ····move-result·v12 | ||
88 | ····sub-int·v10,·v12,·v0 | ||
89 | ····.line·159 | ||
90 | ····.local·v10,·"rowDifference":I | ||
91 | ····if-nez·v10,·:cond_3 | ||
92 | ····.line·160 | ||
93 | ····add-int/lit8·v6,·v6,·0x1 | ||
94 | ····.line·147 | ||
95 | ····.end·local·v3····#·"codeword":Lcom/google/zxing/pdf417/decoder/Codeword; | ||
Max diff block lines reached; 31311/37763 bytes (82.91%) of diff not shown. |
Offset 249, 181 lines modified | Offset 249, 14 lines modified | ||
249 | ····iget-object·v6,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; | 249 | ····iget-object·v6,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; |
250 | ····invoke-direct·{p1,·v6,·v4},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;-><init>(Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;[I)V | 250 | ····invoke-direct·{p1,·v6,·v4},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;-><init>(Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;[I)V |
251 | ····goto·:goto_0 | 251 | ····goto·:goto_0 |
252 | .end·method | 252 | .end·method |
253 | .method·divide(Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;)[Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; | ||
254 | ····.locals·10 | ||
255 | ····.param·p1,·"other"····#·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; | ||
256 | ····.prologue | ||
257 | ····.line·205 | ||
258 | ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; | ||
259 | ····iget-object·v9,·p1,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; | ||
260 | ····invoke-virtual·{v8,·v9},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | ||
261 | ····move-result·v8 | ||
262 | ····if-nez·v8,·:cond_0 | ||
263 | ····.line·206 | ||
264 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; | ||
265 | ····const-string·v9,·"ModulusPolys·do·not·have·same·ModulusGF·field" | ||
266 | ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | ||
267 | ····throw·v8 | ||
268 | ····.line·208 | ||
269 | ····:cond_0 | ||
270 | ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->isZero()Z | ||
271 | ····move-result·v8 | ||
272 | ····if-eqz·v8,·:cond_1 | ||
273 | ····.line·209 | ||
274 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; | ||
275 | ····const-string·v9,·"Divide·by·0" | ||
276 | ····invoke-direct·{v8,·v9},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | ||
277 | ····throw·v8 | ||
278 | ····.line·212 | ||
279 | ····:cond_1 | ||
280 | ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; | ||
281 | ····invoke-virtual·{v8},·Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;->getZero()Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; | ||
282 | ····move-result-object·v4 | ||
283 | ····.line·213 | ||
284 | ····.local·v4,·"quotient":Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; | ||
285 | ····move-object·v5,·p0 | ||
286 | ····.line·215 | ||
287 | ····.local·v5,·"remainder":Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly; | ||
288 | ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I | ||
289 | ····move-result·v8 | ||
290 | ····invoke-virtual·{p1,·v8},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getCoefficient(I)I | ||
291 | ····move-result·v1 | ||
292 | ····.line·216 | ||
293 | ····.local·v1,·"denominatorLeadingTerm":I | ||
294 | ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; | ||
295 | ····invoke-virtual·{v8,·v1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;->inverse(I)I | ||
296 | ····move-result·v2 | ||
297 | ····.line·218 | ||
298 | ····.local·v2,·"inverseDenominatorLeadingTerm":I | ||
299 | ····:goto_0 | ||
300 | ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I | ||
301 | ····move-result·v8 | ||
302 | ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I | ||
303 | ····move-result·v9 | ||
304 | ····if-lt·v8,·v9,·:cond_2 | ||
305 | ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->isZero()Z | ||
306 | ····move-result·v8 | ||
307 | ····if-nez·v8,·:cond_2 | ||
308 | ····.line·219 | ||
309 | ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I | ||
310 | ····move-result·v8 | ||
311 | ····invoke-virtual·{p1},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I | ||
312 | ····move-result·v9 | ||
313 | ····sub-int·v0,·v8,·v9 | ||
314 | ····.line·220 | ||
315 | ····.local·v0,·"degreeDifference":I | ||
316 | ····iget-object·v8,·p0,·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->field:Lcom/google/zxing/pdf417/decoder/ec/ModulusGF; | ||
317 | ····invoke-virtual·{v5},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getDegree()I | ||
318 | ····move-result·v9 | ||
319 | ····invoke-virtual·{v5,·v9},·Lcom/google/zxing/pdf417/decoder/ec/ModulusPoly;->getCoefficient(I)I | ||
320 | ····move-result·v9 | ||
321 | ····invoke-virtual·{v8,·v9,·v2},·Lcom/google/zxing/pdf417/decoder/ec/ModulusGF;->multiply(II)I | ||
322 | ····move-result·v6 | ||
323 | ····.line·221 | ||
324 | ····.local·v6,·"scale":I | ||
Max diff block lines reached; 4350/10051 bytes (43.28%) of diff not shown. |
Offset 48, 27 lines modified | Offset 48, 27 lines modified | ||
48 | #·direct·methods | 48 | #·direct·methods |
49 | .method·static·constructor·<clinit>()V | 49 | .method·static·constructor·<clinit>()V |
50 | ····.locals·6 | 50 | ····.locals·6 |
51 | ····.prologue | 51 | ····.prologue |
52 | ····const/16·v5,·0x80 | 52 | ····const/16·v5,·0x80 |
53 | ····const/16·v | 53 | ····const/16·v3,·0x1e |
54 | ····const/4·v | 54 | ····const/4·v4,·-0x1 |
55 | ····.line·115 | 55 | ····.line·115 |
56 | ····new-array·v2,·v | 56 | ····new-array·v2,·v3,·[B |
57 | ····fill-array-data·v2,·:array_0 | 57 | ····fill-array-data·v2,·:array_0 |
58 | ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B | 58 | ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B |
59 | ····.line·122 | 59 | ····.line·122 |
60 | ····new-array·v2,·v | 60 | ····new-array·v2,·v3,·[B |
61 | ····fill-array-data·v2,·:array_1 | 61 | ····fill-array-data·v2,·:array_1 |
62 | ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B | 62 | ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B |
63 | ····.line·126 | 63 | ····.line·126 |
64 | ····new-array·v2,·v5,·[B | 64 | ····new-array·v2,·v5,·[B |
Offset 88, 20 lines modified | Offset 88, 20 lines modified | ||
88 | ····move-result-object·v2 | 88 | ····move-result-object·v2 |
89 | ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->DEFAULT_ENCODING:Ljava/nio/charset/Charset; | 89 | ····sput-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->DEFAULT_ENCODING:Ljava/nio/charset/Charset; |
90 | ····.line·136 | 90 | ····.line·136 |
91 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B | 91 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B |
92 | ····invoke-static·{v2,·v | 92 | ····invoke-static·{v2,·v4},·Ljava/util/Arrays;->fill([BB)V |
93 | ····.line·137 | 93 | ····.line·137 |
94 | ····const/4·v1,·0x0 | 94 | ····const/4·v1,·0x0 |
95 | ····.local·v1,·"i": | 95 | ····.local·v1,·"i":I |
96 | ····:goto_0 | 96 | ····:goto_0 |
97 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B | 97 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_MIXED_RAW:[B |
98 | ····array-length·v2,·v2 | 98 | ····array-length·v2,·v2 |
99 | ····if-ge·v1,·v2,·:cond_1 | 99 | ····if-ge·v1,·v2,·:cond_1 |
Offset 113, 30 lines modified | Offset 113, 30 lines modified | ||
113 | ····.line·139 | 113 | ····.line·139 |
114 | ····.local·v0,·"b":B | 114 | ····.local·v0,·"b":B |
115 | ····if-lez·v0,·:cond_0 | 115 | ····if-lez·v0,·:cond_0 |
116 | ····.line·140 | 116 | ····.line·140 |
117 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B | 117 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->MIXED:[B |
118 | ····int-to-byte·v3,·v1 | ||
118 | ····aput-byte·v | 119 | ····aput-byte·v3,·v2,·v0 |
119 | ····.line·137 | 120 | ····.line·137 |
120 | ····:cond_0 | 121 | ····:cond_0 |
121 | ····add-int/lit8·v | 122 | ····add-int/lit8·v1,·v1,·0x1 |
122 | ····int-to-byte·v1,·v2 | ||
123 | ····goto·:goto_0 | 123 | ····goto·:goto_0 |
124 | ····.line·143 | 124 | ····.line·143 |
125 | ····.end·local·v0····#·"b":B | 125 | ····.end·local·v0····#·"b":B |
126 | ····:cond_1 | 126 | ····:cond_1 |
127 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B | 127 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B |
128 | ····invoke-static·{v2,·v | 128 | ····invoke-static·{v2,·v4},·Ljava/util/Arrays;->fill([BB)V |
129 | ····.line·144 | 129 | ····.line·144 |
130 | ····const/4·v1,·0x0 | 130 | ····const/4·v1,·0x0 |
131 | ····:goto_1 | 131 | ····:goto_1 |
132 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B | 132 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->TEXT_PUNCTUATION_RAW:[B |
Offset 152, 21 lines modified | Offset 152, 21 lines modified | ||
152 | ····.line·146 | 152 | ····.line·146 |
153 | ····.restart·local·v0····#·"b":B | 153 | ····.restart·local·v0····#·"b":B |
154 | ····if-lez·v0,·:cond_2 | 154 | ····if-lez·v0,·:cond_2 |
155 | ····.line·147 | 155 | ····.line·147 |
156 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B | 156 | ····sget-object·v2,·Lcom/google/zxing/pdf417/encoder/PDF417HighLevelEncoder;->PUNCTUATION:[B |
157 | ····int-to-byte·v3,·v1 | ||
157 | ····aput-byte·v | 158 | ····aput-byte·v3,·v2,·v0 |
158 | ····.line·144 | 159 | ····.line·144 |
159 | ····:cond_2 | 160 | ····:cond_2 |
160 | ····add-int/lit8·v | 161 | ····add-int/lit8·v1,·v1,·0x1 |
161 | ····int-to-byte·v1,·v2 | ||
162 | ····goto·:goto_1 | 162 | ····goto·:goto_1 |
163 | ····.line·150 | 163 | ····.line·150 |
164 | ····.end·local·v0····#·"b":B | 164 | ····.end·local·v0····#·"b":B |
165 | ····:cond_3 | 165 | ····:cond_3 |
166 | ····return-void | 166 | ····return-void |
Offset 265, 116 lines modified | Offset 265, 109 lines modified | ||
265 | ············Lcom/google/zxing/WriterException; | 265 | ············Lcom/google/zxing/WriterException; |
266 | ········} | 266 | ········} |
267 | ····.end·annotation | 267 | ····.end·annotation |
268 | ····.prologue | 268 | ····.prologue |
269 | ····const/16·v7,·0xd | 269 | ····const/16·v7,·0xd |
270 | ····.line·53 | 270 | ····.line·536 |
271 | ····invoke-virtual·{p2},·Ljava/nio/charset/Charset;->newEncoder()Ljava/nio/charset/CharsetEncoder; | 271 | ····invoke-virtual·{p2},·Ljava/nio/charset/Charset;->newEncoder()Ljava/nio/charset/CharsetEncoder; |
272 | ····move-result-object·v1 | 272 | ····move-result-object·v1 |
273 | ····.line·53 | 273 | ····.line·537 |
274 | ····.local·v1,·"encoder":Ljava/nio/charset/CharsetEncoder; | 274 | ····.local·v1,·"encoder":Ljava/nio/charset/CharsetEncoder; |
275 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I | 275 | ····invoke-virtual·{p0},·Ljava/lang/String;->length()I |
276 | ····move-result·v4 | 276 | ····move-result·v4 |
277 | ····.line·53 | 277 | ····.line·538 |
278 | ····.local·v4,·"len":I | 278 | ····.local·v4,·"len":I |
279 | ····move·v3,·p1 | 279 | ····move·v3,·p1 |
Max diff block lines reached; 38558/41779 bytes (92.29%) of diff not shown. |
Offset 28, 14 lines modified | Offset 28, 42 lines modified | ||
28 | ····iput·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I | 28 | ····iput·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I |
29 | ····.line·34 | 29 | ····.line·34 |
30 | ····return-void | 30 | ····return-void |
31 | .end·method | 31 | .end·method |
32 | .method·private·set(IZ)V | ||
33 | ····.locals·2 | ||
34 | ····.param·p1,·"x"····#·I | ||
35 | ····.param·p2,·"black"····#·Z | ||
36 | ····.prologue | ||
37 | ····.line·53 | ||
38 | ····iget-object·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B | ||
39 | ····if-eqz·p2,·:cond_0 | ||
40 | ····const/4·v0,·0x1 | ||
41 | ····:goto_0 | ||
42 | ····int-to-byte·v0,·v0 | ||
43 | ····aput-byte·v0,·v1,·p1 | ||
44 | ····.line·54 | ||
45 | ····return-void | ||
46 | ····.line·53 | ||
47 | ····:cond_0 | ||
48 | ····const/4·v0,·0x0 | ||
49 | ····goto·:goto_0 | ||
50 | .end·method | ||
32 | #·virtual·methods | 51 | #·virtual·methods |
33 | .method·addBar(ZI)V | 52 | .method·addBar(ZI)V |
34 | ····.locals·3 | 53 | ····.locals·3 |
35 | ····.param·p1,·"black"····#·Z | 54 | ····.param·p1,·"black"····#·Z |
36 | ····.param·p2,·"width"····#·I | 55 | ····.param·p2,·"width"····#·I |
Offset 50, 15 lines modified | Offset 78, 15 lines modified | ||
50 | ····.line·62 | 78 | ····.line·62 |
51 | ····iget·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I | 79 | ····iget·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I |
52 | ····add-int/lit8·v2,·v1,·0x1 | 80 | ····add-int/lit8·v2,·v1,·0x1 |
53 | ····iput·v2,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I | 81 | ····iput·v2,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->currentLocation:I |
54 | ····invoke- | 82 | ····invoke-direct·{p0,·v1,·p1},·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->set(IZ)V |
55 | ····.line·61 | 83 | ····.line·61 |
56 | ····add-int/lit8·v0,·v0,·0x1 | 84 | ····add-int/lit8·v0,·v0,·0x1 |
57 | ····goto·:goto_0 | 85 | ····goto·:goto_0 |
58 | ····.line·64 | 86 | ····.line·64 |
Offset 119, 35 lines modified | Offset 147, 7 lines modified | ||
119 | ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B | 147 | ····iget-object·v0,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B |
120 | ····aput-byte·p2,·v0,·p1 | 148 | ····aput-byte·p2,·v0,·p1 |
121 | ····.line·44 | 149 | ····.line·44 |
122 | ····return-void | 150 | ····return-void |
123 | .end·method | 151 | .end·method |
124 | .method·set(IZ)V | ||
125 | ····.locals·2 | ||
126 | ····.param·p1,·"x"····#·I | ||
127 | ····.param·p2,·"black"····#·Z | ||
128 | ····.prologue | ||
129 | ····.line·53 | ||
130 | ····iget-object·v1,·p0,·Lcom/google/zxing/pdf417/encoder/BarcodeRow;->row:[B | ||
131 | ····if-eqz·p2,·:cond_0 | ||
132 | ····const/4·v0,·0x1 | ||
133 | ····:goto_0 | ||
134 | ····int-to-byte·v0,·v0 | ||
135 | ····aput-byte·v0,·v1,·p1 | ||
136 | ····.line·54 | ||
137 | ····return-void | ||
138 | ····.line·53 | ||
139 | ····:cond_0 | ||
140 | ····const/4·v0,·0x0 | ||
141 | ····goto·:goto_0 | ||
142 | .end·method |
Offset 35, 51 lines modified | Offset 35, 51 lines modified | ||
35 | ····const/4·v4,·0x2 | 35 | ····const/4·v4,·0x2 |
36 | ····const/4·v3,·0x1 | 36 | ····const/4·v3,·0x1 |
37 | ····const/4·v2,·0x0 | 37 | ····const/4·v2,·0x0 |
38 | ····.line·2 | 38 | ····.line·24 |
39 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; | 39 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; |
40 | ····const-string·v1,·"AUTO" | 40 | ····const-string·v1,·"AUTO" |
41 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V | 41 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V |
42 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction; | 42 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction; |
43 | ····.line·2 | 43 | ····.line·25 |
44 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; | 44 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; |
45 | ····const-string·v1,·"TEXT" | 45 | ····const-string·v1,·"TEXT" |
46 | ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V | 46 | ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V |
47 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->TEXT:Lcom/google/zxing/pdf417/encoder/Compaction; | 47 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->TEXT:Lcom/google/zxing/pdf417/encoder/Compaction; |
48 | ····.line·2 | 48 | ····.line·26 |
49 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; | 49 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; |
50 | ····const-string·v1,·"BYTE" | 50 | ····const-string·v1,·"BYTE" |
51 | ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V | 51 | ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V |
52 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->BYTE:Lcom/google/zxing/pdf417/encoder/Compaction; | 52 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->BYTE:Lcom/google/zxing/pdf417/encoder/Compaction; |
53 | ····.line·2 | 53 | ····.line·27 |
54 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; | 54 | ····new-instance·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; |
55 | ····const-string·v1,·"NUMERIC" | 55 | ····const-string·v1,·"NUMERIC" |
56 | ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V | 56 | ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/pdf417/encoder/Compaction;-><init>(Ljava/lang/String;I)V |
57 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->NUMERIC:Lcom/google/zxing/pdf417/encoder/Compaction; | 57 | ····sput-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->NUMERIC:Lcom/google/zxing/pdf417/encoder/Compaction; |
58 | ····.line· | 58 | ····.line·22 |
59 | ····const/4·v0,·0x4 | 59 | ····const/4·v0,·0x4 |
60 | ····new-array·v0,·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction; | 60 | ····new-array·v0,·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction; |
61 | ····sget-object·v1,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction; | 61 | ····sget-object·v1,·Lcom/google/zxing/pdf417/encoder/Compaction;->AUTO:Lcom/google/zxing/pdf417/encoder/Compaction; |
62 | ····aput-object·v1,·v0,·v2 | 62 | ····aput-object·v1,·v0,·v2 |
Offset 106, 26 lines modified | Offset 106, 26 lines modified | ||
106 | ····.annotation·system·Ldalvik/annotation/Signature; | 106 | ····.annotation·system·Ldalvik/annotation/Signature; |
107 | ········value·=·{ | 107 | ········value·=·{ |
108 | ············"()V" | 108 | ············"()V" |
109 | ········} | 109 | ········} |
110 | ····.end·annotation | 110 | ····.end·annotation |
111 | ····.prologue | 111 | ····.prologue |
112 | ····.line· | 112 | ····.line·22 |
113 | ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V | 113 | ····invoke-direct·{p0,·p1,·p2},·Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V |
114 | ····return-void | 114 | ····return-void |
115 | .end·method | 115 | .end·method |
116 | .method·public·static·valueOf(Ljava/lang/String;)Lcom/google/zxing/pdf417/encoder/Compaction; | 116 | .method·public·static·valueOf(Ljava/lang/String;)Lcom/google/zxing/pdf417/encoder/Compaction; |
117 | ····.locals·1 | 117 | ····.locals·1 |
118 | ····.param·p0,·"name"····#·Ljava/lang/String; | 118 | ····.param·p0,·"name"····#·Ljava/lang/String; |
119 | ····.prologue | 119 | ····.prologue |
120 | ····.line· | 120 | ····.line·22 |
121 | ····const-class·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; | 121 | ····const-class·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; |
122 | ····invoke-static·{v0,·p0},·Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; | 122 | ····invoke-static·{v0,·p0},·Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; |
123 | ····move-result-object·v0 | 123 | ····move-result-object·v0 |
124 | ····check-cast·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; | 124 | ····check-cast·v0,·Lcom/google/zxing/pdf417/encoder/Compaction; |
Offset 133, 15 lines modified | Offset 133, 15 lines modified | ||
133 | ····return-object·v0 | 133 | ····return-object·v0 |
134 | .end·method | 134 | .end·method |
135 | .method·public·static·values()[Lcom/google/zxing/pdf417/encoder/Compaction; | 135 | .method·public·static·values()[Lcom/google/zxing/pdf417/encoder/Compaction; |
136 | ····.locals·1 | 136 | ····.locals·1 |
137 | ····.prologue | 137 | ····.prologue |
138 | ····.line· | 138 | ····.line·22 |
139 | ····sget-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->$VALUES:[Lcom/google/zxing/pdf417/encoder/Compaction; | 139 | ····sget-object·v0,·Lcom/google/zxing/pdf417/encoder/Compaction;->$VALUES:[Lcom/google/zxing/pdf417/encoder/Compaction; |
140 | ····invoke-virtual·{v0},·[Lcom/google/zxing/pdf417/encoder/Compaction;->clone()Ljava/lang/Object; | 140 | ····invoke-virtual·{v0},·[Lcom/google/zxing/pdf417/encoder/Compaction;->clone()Ljava/lang/Object; |
141 | ····move-result-object·v0 | 141 | ····move-result-object·v0 |
142 | ····check-cast·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction; | 142 | ····check-cast·v0,·[Lcom/google/zxing/pdf417/encoder/Compaction; |
Offset 1207, 33 lines modified | Offset 1207, 29 lines modified | ||
1207 | ····if-ge·v1,·v5,·:cond_1 | 1207 | ····if-ge·v1,·v5,·:cond_1 |
1208 | ····.line·182 | 1208 | ····.line·182 |
1209 | ····invoke-interface·{p0,·v1},·Ljava/lang/CharSequence;->charAt(I)C | 1209 | ····invoke-interface·{p0,·v1},·Ljava/lang/CharSequence;->charAt(I)C |
1210 | ····move-result·v9 | 1210 | ····move-result·v9 |
1211 | ····array-length·v10,·v0 | ||
1212 | ····add-int/lit8·v10,·v | 1211 | ····add-int/lit8·v10,·v3,·-0x1 |
1213 | ····aget-char·v10,·v0,·v10 | 1212 | ····aget-char·v10,·v0,·v10 |
1214 | ····add-int/2addr·v9,·v10 | 1213 | ····add-int/2addr·v9,·v10 |
1215 | ····rem-int/lit16·v6,·v9,·0x3a1 | 1214 | ····rem-int/lit16·v6,·v9,·0x3a1 |
1216 | ····.line·185 | 1215 | ····.line·185 |
1217 | ····.local·v6,·"t1":I | 1216 | ····.local·v6,·"t1":I |
1218 | ····add-int/lit8·v2,·v3,·-0x1 | 1217 | ····add-int/lit8·v2,·v3,·-0x1 |
1219 | ····.local·v2,·"j":I | 1218 | ····.local·v2,·"j":I |
1220 | ····:goto_1 | 1219 | ····:goto_1 |
1221 | ····const/4·v9,·0x1 | ||
1222 | ····if-l | 1220 | ····if-lez·v2,·:cond_0 |
1223 | ····.line·186 | 1221 | ····.line·186 |
1224 | ····sget-object·v9,·Lcom/google/zxing/pdf417/encoder/PDF417ErrorCorrection;->EC_COEFFICIENTS:[[I | 1222 | ····sget-object·v9,·Lcom/google/zxing/pdf417/encoder/PDF417ErrorCorrection;->EC_COEFFICIENTS:[[I |
1225 | ····aget-object·v9,·v9,·p1 | 1223 | ····aget-object·v9,·v9,·p1 |
1226 | ····aget·v9,·v9,·v2 | 1224 | ····aget·v9,·v9,·v2 |
Offset 2980, 103 lines modified | Offset 2980, 48 lines modified | ||
2980 | ····const/4·v10,·0x1 | 2980 | ····const/4·v10,·0x1 |
2981 | ····const/4·v9,·0x0 | 2981 | ····const/4·v9,·0x0 |
2982 | ····const/high16·v8,·0x40400000····#·3.0f | 2982 | ····const/high16·v8,·0x40400000····#·3.0f |
2983 | ····.line·69 | 2983 | ····.line·690 |
2984 | ····const/4·v3,·0x0 | 2984 | ····const/4·v3,·0x0 |
2985 | ····.line·69 | 2985 | ····.line·691 |
2986 | ····.local·v3,·"ratio":F | 2986 | ····.local·v3,·"ratio":F |
2987 | ····const/4·v1,·0x0 | 2987 | ····const/4·v1,·0x0 |
2988 | ····.line·69 | 2988 | ····.line·693 |
2989 | ····.local·v1,·"dimension":[I | 2989 | ····.local·v1,·"dimension":[I |
2990 | ····iget·v0,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I | 2990 | ····iget·v0,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I |
2991 | ····.local·v0,·"cols":I | 2991 | ····.local·v0,·"cols":I |
2992 | ····:goto_0 | 2992 | ····:goto_0 |
2993 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxCols:I | 2993 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxCols:I |
2994 | ····if-gt·v0,·v5,·:cond_ | 2994 | ····if-gt·v0,·v5,·:cond_2 |
2995 | ····.line·69 | 2995 | ····.line·695 |
2996 | ····invoke-static·{p1,·p2,·v0},·Lcom/google/zxing/pdf417/encoder/PDF417;->calculateNumberOfRows(III)I | 2996 | ····invoke-static·{p1,·p2,·v0},·Lcom/google/zxing/pdf417/encoder/PDF417;->calculateNumberOfRows(III)I |
2997 | ····move-result·v4 | 2997 | ····move-result·v4 |
2998 | ····.line·69 | 2998 | ····.line·697 |
2999 | ····.local·v4,·"rows":I | 2999 | ····.local·v4,·"rows":I |
3000 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I | 3000 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I |
3001 | ····if- | 3001 | ····if-lt·v4,·v5,·:cond_2 |
3002 | ····.line·718 | ||
3003 | ····.end·local·v4····#·"rows":I | ||
3004 | ····:cond_0 | ||
3005 | ····if-nez·v1,·:cond_1 | ||
3006 | ····.line·719 | ||
3007 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I | ||
3008 | ····invoke-static·{p1,·p2,·v5},·Lcom/google/zxing/pdf417/encoder/PDF417;->calculateNumberOfRows(III)I | ||
3009 | ····move-result·v4 | ||
3010 | ····.line·720 | ||
3011 | ····.restart·local·v4····#·"rows":I | ||
3012 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I | ||
3013 | ····if-ge·v4,·v5,·:cond_1 | ||
3014 | ····.line·721 | ||
3015 | ····new-array·v1,·v11,·[I | ||
3016 | ····.end·local·v1····#·"dimension":[I | ||
3017 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minCols:I | ||
3018 | ····aput·v5,·v1,·v9 | ||
3019 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->minRows:I | ||
3020 | ····aput·v5,·v1,·v10 | ||
3021 | ····.line·725 | ||
3022 | ····.end·local·v4····#·"rows":I | ||
3023 | ····.restart·local·v1····#·"dimension":[I | ||
3024 | ····:cond_1 | ||
3025 | ····if-nez·v1,·:cond_6 | ||
3026 | ····.line·726 | ||
3027 | ····new-instance·v5,·Lcom/google/zxing/WriterException; | ||
3028 | ····const-string·v6,·"Unable·to·fit·message·in·columns" | ||
3029 | ····invoke-direct·{v5,·v6},·Lcom/google/zxing/WriterException;-><init>(Ljava/lang/String;)V | ||
3030 | ····throw·v5 | ||
3031 | ····.line·70 | 3002 | ····.line·701 |
3032 | ····.restart·local·v4····#·"rows":I | ||
3033 | ····:cond_2 | ||
3034 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxRows:I | 3003 | ····iget·v5,·p0,·Lcom/google/zxing/pdf417/encoder/PDF417;->maxRows:I |
3035 | ····if- | 3004 | ····if-gt·v4,·v5,·:cond_1 |
3036 | ····.line·694 | ||
3037 | ····:cond_3 | ||
3038 | ····:goto_1 | ||
3039 | ····add-int/lit8·v0,·v0,·0x1 | ||
3040 | ····goto·:goto_0 | ||
3041 | ····.line·70 | 3005 | ····.line·705 |
3042 | ····:cond_4 | ||
3043 | ····mul-int/lit8·v5,·v0,·0x11 | 3006 | ····mul-int/lit8·v5,·v0,·0x11 |
3044 | ····add-int/lit8·v5,·v5,·0x45 | 3007 | ····add-int/lit8·v5,·v5,·0x45 |
3045 | ····int-to-float·v5,·v5 | 3008 | ····int-to-float·v5,·v5 |
3046 | ····const·v6,·0x3eb6c8b4····#·0.357f | 3009 | ····const·v6,·0x3eb6c8b4····#·0.357f |
Offset 3087, 17 lines modified | Offset 3032, 17 lines modified | ||
3087 | ····const/high16·v7,·0x40000000····#·2.0f | 3032 | ····const/high16·v7,·0x40000000····#·2.0f |
3088 | ····mul-float/2addr·v6,·v7 | 3033 | ····mul-float/2addr·v6,·v7 |
3089 | ····div-float·v2,·v5,·v6 | 3034 | ····div-float·v2,·v5,·v6 |
3090 | ····.line·70 | 3035 | ····.line·708 |
3091 | ····.local·v2,·"newRatio":F | 3036 | ····.local·v2,·"newRatio":F |
3092 | ····if-eqz·v1,·:cond_ | 3037 | ····if-eqz·v1,·:cond_0 |
3093 | ····sub-float·v5,·v2,·v8 | 3038 | ····sub-float·v5,·v2,·v8 |
3094 | ····invoke-static·{v5},·Ljava/lang/Math;->abs(F)F | 3039 | ····invoke-static·{v5},·Ljava/lang/Math;->abs(F)F |
3095 | ····move-result·v5 | 3040 | ····move-result·v5 |
Offset 3105, 35 lines modified | Offset 3050, 81 lines modified | ||
3105 | ····invoke-static·{v6},·Ljava/lang/Math;->abs(F)F | 3050 | ····invoke-static·{v6},·Ljava/lang/Math;->abs(F)F |
3106 | ····move-result·v6 | 3051 | ····move-result·v6 |
Max diff block lines reached; 17953/20889 bytes (85.94%) of diff not shown. |
Offset 77, 17 lines modified | Offset 77, 15 lines modified | ||
77 | ····.prologue | 77 | ····.prologue |
78 | ····const/16·v9,·0xff | 78 | ····const/16·v9,·0xff |
79 | ····const/16·v8,·0x8 | 79 | ····const/16·v8,·0x8 |
80 | ····.line·63 | 80 | ····.line·63 |
81 | ····const/4·v5,·0x1 | ||
82 | ····if-l | 81 | ····if-lez·p1,·:cond_0 |
83 | ····const/16·v5,·0x20 | 82 | ····const/16·v5,·0x20 |
84 | ····if-gt·p1,·v5,·:cond_0 | 83 | ····if-gt·p1,·v5,·:cond_0 |
85 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitSource;->available()I | 84 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitSource;->available()I |
Offset 15, 14 lines modified | Offset 15, 16 lines modified | ||
15 | .field·private·final·ecLevel:Ljava/lang/String; | 15 | .field·private·final·ecLevel:Ljava/lang/String; |
16 | .field·private·erasures:Ljava/lang/Integer; | 16 | .field·private·erasures:Ljava/lang/Integer; |
17 | .field·private·errorsCorrected:Ljava/lang/Integer; | 17 | .field·private·errorsCorrected:Ljava/lang/Integer; |
18 | .field·private·numBits:I | ||
18 | .field·private·other:Ljava/lang/Object; | 19 | .field·private·other:Ljava/lang/Object; |
19 | .field·private·final·rawBytes:[B | 20 | .field·private·final·rawBytes:[B |
20 | .field·private·final·structuredAppendParity:I | 21 | .field·private·final·structuredAppendParity:I |
21 | .field·private·final·structuredAppendSequenceNumber:I | 22 | .field·private·final·structuredAppendSequenceNumber:I |
Offset 47, 35 lines modified | Offset 49, 35 lines modified | ||
47 | ········} | 49 | ········} |
48 | ····.end·annotation | 50 | ····.end·annotation |
49 | ····.prologue | 51 | ····.prologue |
50 | ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;" | 52 | ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;" |
51 | ····const/4·v5,·-0x1 | 53 | ····const/4·v5,·-0x1 |
52 | ····.line·4 | 54 | ····.line·45 |
53 | ····move-object·v0,·p0 | 55 | ····move-object·v0,·p0 |
54 | ····move-object·v1,·p1 | 56 | ····move-object·v1,·p1 |
55 | ····move-object·v2,·p2 | 57 | ····move-object·v2,·p2 |
56 | ····move-object·v3,·p3 | 58 | ····move-object·v3,·p3 |
57 | ····move-object·v4,·p4 | 59 | ····move-object·v4,·p4 |
58 | ····move·v6,·v5 | 60 | ····move·v6,·v5 |
59 | ····invoke-direct/range·{v0·..·v6},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V | 61 | ····invoke-direct/range·{v0·..·v6},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V |
60 | ····.line·4 | 62 | ····.line·46 |
61 | ····return-void | 63 | ····return-void |
62 | .end·method | 64 | .end·method |
63 | .method·public·constructor·<init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V | 65 | .method·public·constructor·<init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;II)V |
64 | ····.locals· | 66 | ····.locals·1 |
65 | ····.param·p1,·"rawBytes"····#·[B | 67 | ····.param·p1,·"rawBytes"····#·[B |
66 | ····.param·p2,·"text"····#·Ljava/lang/String; | 68 | ····.param·p2,·"text"····#·Ljava/lang/String; |
67 | ····.param·p4,·"ecLevel"····#·Ljava/lang/String; | 69 | ····.param·p4,·"ecLevel"····#·Ljava/lang/String; |
68 | ····.param·p5,·"saSequence"····#·I | 70 | ····.param·p5,·"saSequence"····#·I |
69 | ····.param·p6,·"saParity"····#·I | 71 | ····.param·p6,·"saParity"····#·I |
70 | ····.annotation·system·Ldalvik/annotation/Signature; | 72 | ····.annotation·system·Ldalvik/annotation/Signature; |
71 | ········value·=·{ | 73 | ········value·=·{ |
Offset 85, 38 lines modified | Offset 87, 54 lines modified | ||
85 | ············"<[B>;", | 87 | ············"<[B>;", |
86 | ············"Ljava/lang/String;", | 88 | ············"Ljava/lang/String;", |
87 | ············"II)V" | 89 | ············"II)V" |
88 | ········} | 90 | ········} |
89 | ····.end·annotation | 91 | ····.end·annotation |
90 | ····.prologue | 92 | ····.prologue |
91 | ····.line·5 | 93 | ····.line·53 |
92 | ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;" | 94 | ····.local·p3,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;" |
93 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 95 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
94 | ····.line·5 | 96 | ····.line·54 |
95 | ····iput-object·p1,·p0,·Lcom/google/zxing/common/DecoderResult;->rawBytes:[B | 97 | ····iput-object·p1,·p0,·Lcom/google/zxing/common/DecoderResult;->rawBytes:[B |
96 | ····.line·5 | 98 | ····.line·55 |
99 | ····if-nez·p1,·:cond_0 | ||
100 | ····const/4·v0,·0x0 | ||
101 | ····:goto_0 | ||
102 | ····iput·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->numBits:I | ||
103 | ····.line·56 | ||
97 | ····iput-object·p2,·p0,·Lcom/google/zxing/common/DecoderResult;->text:Ljava/lang/String; | 104 | ····iput-object·p2,·p0,·Lcom/google/zxing/common/DecoderResult;->text:Ljava/lang/String; |
98 | ····.line·5 | 105 | ····.line·57 |
99 | ····iput-object·p3,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List; | 106 | ····iput-object·p3,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List; |
100 | ····.line·5 | 107 | ····.line·58 |
101 | ····iput-object·p4,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String; | 108 | ····iput-object·p4,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String; |
102 | ····.line·5 | 109 | ····.line·59 |
103 | ····iput·p6,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendParity:I | 110 | ····iput·p6,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendParity:I |
104 | ····.line· | 111 | ····.line·60 |
105 | ····iput·p5,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendSequenceNumber:I | 112 | ····iput·p5,·p0,·Lcom/google/zxing/common/DecoderResult;->structuredAppendSequenceNumber:I |
106 | ····.line· | 113 | ····.line·61 |
107 | ····return-void | 114 | ····return-void |
115 | ····.line·55 | ||
116 | ····:cond_0 | ||
117 | ····array-length·v0,·p1 | ||
118 | ····mul-int/lit8·v0,·v0,·0x8 | ||
119 | ····goto·:goto_0 | ||
108 | .end·method | 120 | .end·method |
109 | #·virtual·methods | 121 | #·virtual·methods |
110 | .method·public·getByteSegments()Ljava/util/List; | 122 | .method·public·getByteSegments()Ljava/util/List; |
111 | ····.locals·1 | 123 | ····.locals·1 |
112 | ····.annotation·system·Ldalvik/annotation/Signature; | 124 | ····.annotation·system·Ldalvik/annotation/Signature; |
Offset 124, 105 lines modified | Offset 142, 115 lines modified | ||
124 | ············"()", | 142 | ············"()", |
125 | ············"Ljava/util/List", | 143 | ············"Ljava/util/List", |
126 | ············"<[B>;" | 144 | ············"<[B>;" |
127 | ········} | 145 | ········} |
128 | ····.end·annotation | 146 | ····.end·annotation |
129 | ····.prologue | 147 | ····.prologue |
130 | ····.line· | 148 | ····.line·97 |
131 | ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List; | 149 | ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->byteSegments:Ljava/util/List; |
132 | ····return-object·v0 | 150 | ····return-object·v0 |
133 | .end·method | 151 | .end·method |
134 | .method·public·getECLevel()Ljava/lang/String; | 152 | .method·public·getECLevel()Ljava/lang/String; |
135 | ····.locals·1 | 153 | ····.locals·1 |
136 | ····.prologue | 154 | ····.prologue |
137 | ····.line· | 155 | ····.line·104 |
138 | ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String; | 156 | ····iget-object·v0,·p0,·Lcom/google/zxing/common/DecoderResult;->ecLevel:Ljava/lang/String; |
Max diff block lines reached; 3407/6719 bytes (50.71%) of diff not shown. |
Offset 55, 255 lines modified | Offset 55, 253 lines modified | ||
55 | ····iput-object·v0,·p0,·Lcom/google/zxing/common/GlobalHistogramBinarizer;->buckets:[I | 55 | ····iput-object·v0,·p0,·Lcom/google/zxing/common/GlobalHistogramBinarizer;->buckets:[I |
56 | ····.line·48 | 56 | ····.line·48 |
57 | ····return-void | 57 | ····return-void |
58 | .end·method | 58 | .end·method |
59 | .method·private·static·estimateBlackPoint([I)I | 59 | .method·private·static·estimateBlackPoint([I)I |
60 | ····.locals·1 | 60 | ····.locals·14 |
61 | ····.param·p0,·"buckets"····#·[I | 61 | ····.param·p0,·"buckets"····#·[I |
62 | ····.annotation·system·Ldalvik/annotation/Throws; | 62 | ····.annotation·system·Ldalvik/annotation/Throws; |
63 | ········value·=·{ | 63 | ········value·=·{ |
64 | ············Lcom/google/zxing/NotFoundException; | 64 | ············Lcom/google/zxing/NotFoundException; |
65 | ········} | 65 | ········} |
66 | ····.end·annotation | 66 | ····.end·annotation |
67 | ····.prologue | 67 | ····.prologue |
68 | ····.line·14 | 68 | ····.line·148 |
69 | ····array-length·v | 69 | ····array-length·v6,·p0 |
70 | ····.line·14 | 70 | ····.line·149 |
71 | ····.local·v | 71 | ····.local·v6,·"numBuckets":I |
72 | ····const/4·v | 72 | ····const/4·v5,·0x0 |
73 | ····.line·1 | 73 | ····.line·150 |
74 | ····.local·v | 74 | ····.local·v5,·"maxBucketCount":I |
75 | ····const/4·v3,·0x0 | 75 | ····const/4·v3,·0x0 |
76 | ····.line·1 | 76 | ····.line·151 |
77 | ····.local·v3,·"firstPeak":I | 77 | ····.local·v3,·"firstPeak":I |
78 | ····const/4·v4,·0x0 | 78 | ····const/4·v4,·0x0 |
79 | ····.line·1 | 79 | ····.line·152 |
80 | ····.local·v4,·"firstPeakSize":I | 80 | ····.local·v4,·"firstPeakSize":I |
81 | ····const/4·v1 | 81 | ····const/4·v11,·0x0 |
82 | ····.local·v1 | 82 | ····.local·v11,·"x":I |
83 | ····:goto_0 | 83 | ····:goto_0 |
84 | ····if-ge·v1 | 84 | ····if-ge·v11,·v6,·:cond_2 |
85 | ····.line·1 | 85 | ····.line·153 |
86 | ····aget·v1 | 86 | ····aget·v12,·p0,·v11 |
87 | ····if-le·v1 | 87 | ····if-le·v12,·v4,·:cond_0 |
88 | ····.line·1 | 88 | ····.line·154 |
89 | ····move·v3,·v1 | 89 | ····move·v3,·v11 |
90 | ····.line·1 | 90 | ····.line·155 |
91 | ····aget·v4,·p0,·v1 | 91 | ····aget·v4,·p0,·v11 |
92 | ····.line·15 | 92 | ····.line·157 |
93 | ····:cond_0 | 93 | ····:cond_0 |
94 | ····aget·v1 | 94 | ····aget·v12,·p0,·v11 |
95 | ····if-le·v1 | 95 | ····if-le·v12,·v5,·:cond_1 |
96 | ····.line·15 | 96 | ····.line·158 |
97 | ····aget·v | 97 | ····aget·v5,·p0,·v11 |
98 | ····.line·1 | 98 | ····.line·152 |
99 | ····:cond_1 | 99 | ····:cond_1 |
100 | ····add-int/lit8·v1 | 100 | ····add-int/lit8·v11,·v11,·0x1 |
101 | ····goto·:goto_0 | 101 | ····goto·:goto_0 |
102 | ····.line·1 | 102 | ····.line·163 |
103 | ····:cond_2 | 103 | ····:cond_2 |
104 | ····const/4·v | 104 | ····const/4·v8,·0x0 |
105 | ····.line·1 | 105 | ····.line·164 |
106 | ····.local·v | 106 | ····.local·v8,·"secondPeak":I |
107 | ····const/4·v | 107 | ····const/4·v9,·0x0 |
108 | ····.line·1 | 108 | ····.line·165 |
109 | ····.local·v | 109 | ····.local·v9,·"secondPeakScore":I |
110 | ····const/4·v1 | 110 | ····const/4·v11,·0x0 |
111 | ····:goto_1 | 111 | ····:goto_1 |
112 | ····if-ge·v1 | 112 | ····if-ge·v11,·v6,·:cond_4 |
113 | ····.line·1 | 113 | ····.line·166 |
114 | ····sub-int·v2,·v1 | 114 | ····sub-int·v2,·v11,·v3 |
115 | ····.line·16 | 115 | ····.line·168 |
116 | ····.local·v2,·"distanceToBiggest":I | 116 | ····.local·v2,·"distanceToBiggest":I |
117 | ····aget·v1 | 117 | ····aget·v12,·p0,·v11 |
118 | ····mul-int/2addr·v1 | 118 | ····mul-int/2addr·v12,·v2 |
119 | ····mul-int·v | 119 | ····mul-int·v7,·v12,·v2 |
120 | ····.line·16 | 120 | ····.line·169 |
121 | ····.local·v | 121 | ····.local·v7,·"score":I |
122 | ····if-le·v | 122 | ····if-le·v7,·v9,·:cond_3 |
123 | ····.line·1 | 123 | ····.line·170 |
124 | ····move·v | 124 | ····move·v8,·v11 |
125 | ····.line·1 | 125 | ····.line·171 |
126 | ····move·v | 126 | ····move·v9,·v7 |
127 | ····.line·1 | 127 | ····.line·165 |
128 | ····:cond_3 | 128 | ····:cond_3 |
129 | ····add-int/lit8·v1 | 129 | ····add-int/lit8·v11,·v11,·0x1 |
130 | ····goto·:goto_1 | 130 | ····goto·:goto_1 |
131 | ····.line·1 | 131 | ····.line·176 |
132 | ····.end·local·v2····#·"distanceToBiggest":I | 132 | ····.end·local·v2····#·"distanceToBiggest":I |
133 | ····.end·local·v | 133 | ····.end·local·v7····#·"score":I |
134 | ····:cond_4 | 134 | ····:cond_4 |
135 | ····if-le·v3,·v | 135 | ····if-le·v3,·v8,·:cond_5 |
136 | ····.line·17 | 136 | ····.line·177 |
137 | ····move·v1 | 137 | ····move·v10,·v3 |
138 | ····.line·17 | 138 | ····.line·178 |
139 | ····.local·v1 | 139 | ····.local·v10,·"temp":I |
140 | ····move·v3,·v | 140 | ····move·v3,·v8 |
141 | ····.line·17 | 141 | ····.line·179 |
142 | ····move·v | 142 | ····move·v8,·v10 |
143 | ····.line·1 | 143 | ····.line·184 |
144 | ····.end·local·v1 | 144 | ····.end·local·v10····#·"temp":I |
145 | ····:cond_5 | 145 | ····:cond_5 |
146 | ····sub-int·v1 | 146 | ····sub-int·v12,·v8,·v3 |
Max diff block lines reached; 13608/17117 bytes (79.50%) of diff not shown. |
Offset 31, 23 lines modified | Offset 31, 21 lines modified | ||
31 | .method·public·constructor·<init>(II)V | 31 | .method·public·constructor·<init>(II)V |
32 | ····.locals·2 | 32 | ····.locals·2 |
33 | ····.param·p1,·"width"····#·I | 33 | ····.param·p1,·"width"····#·I |
34 | ····.param·p2,·"height"····#·I | 34 | ····.param·p2,·"height"····#·I |
35 | ····.prologue | 35 | ····.prologue |
36 | ····const/4·v0,·0x1 | ||
37 | ····.line·48 | 36 | ····.line·48 |
38 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 37 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
39 | ····.line·49 | 38 | ····.line·49 |
40 | ····if-l | 39 | ····if-lez·p1,·:cond_0 |
41 | ····if-g | 40 | ····if-gtz·p2,·:cond_1 |
42 | ····.line·50 | 41 | ····.line·50 |
43 | ····:cond_0 | 42 | ····:cond_0 |
44 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; | 43 | ····new-instance·v0,·Ljava/lang/IllegalArgumentException; |
45 | ····const-string·v1,·"Both·dimensions·must·be·greater·than·0" | 44 | ····const-string·v1,·"Both·dimensions·must·be·greater·than·0" |
Offset 105, 14 lines modified | Offset 103, 95 lines modified | ||
105 | ····.line·62 | 103 | ····.line·62 |
106 | ····iput-object·p4,·p0,·Lcom/google/zxing/common/BitMatrix;->bits:[I | 104 | ····iput-object·p4,·p0,·Lcom/google/zxing/common/BitMatrix;->bits:[I |
107 | ····.line·63 | 105 | ····.line·63 |
108 | ····return-void | 106 | ····return-void |
109 | .end·method | 107 | .end·method |
108 | .method·private·buildToString(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | ||
109 | ····.locals·5 | ||
110 | ····.param·p1,·"setString"····#·Ljava/lang/String; | ||
111 | ····.param·p2,·"unsetString"····#·Ljava/lang/String; | ||
112 | ····.param·p3,·"lineSeparator"····#·Ljava/lang/String; | ||
113 | ····.prologue | ||
114 | ····.line·435 | ||
115 | ····new-instance·v0,·Ljava/lang/StringBuilder; | ||
116 | ····iget·v3,·p0,·Lcom/google/zxing/common/BitMatrix;->height:I | ||
117 | ····iget·v4,·p0,·Lcom/google/zxing/common/BitMatrix;->width:I | ||
118 | ····add-int/lit8·v4,·v4,·0x1 | ||
119 | ····mul-int/2addr·v3,·v4 | ||
120 | ····invoke-direct·{v0,·v3},·Ljava/lang/StringBuilder;-><init>(I)V | ||
121 | ····.line·436 | ||
122 | ····.local·v0,·"result":Ljava/lang/StringBuilder; | ||
123 | ····const/4·v2,·0x0 | ||
124 | ····.local·v2,·"y":I | ||
125 | ····:goto_0 | ||
126 | ····iget·v3,·p0,·Lcom/google/zxing/common/BitMatrix;->height:I | ||
127 | ····if-ge·v2,·v3,·:cond_2 | ||
128 | ····.line·437 | ||
129 | ····const/4·v1,·0x0 | ||
130 | ····.local·v1,·"x":I | ||
131 | ····:goto_1 | ||
132 | ····iget·v3,·p0,·Lcom/google/zxing/common/BitMatrix;->width:I | ||
133 | ····if-ge·v1,·v3,·:cond_1 | ||
134 | ····.line·438 | ||
135 | ····invoke-virtual·{p0,·v1,·v2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z | ||
136 | ····move-result·v3 | ||
137 | ····if-eqz·v3,·:cond_0 | ||
138 | ····move-object·v3,·p1 | ||
139 | ····:goto_2 | ||
140 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
141 | ····.line·437 | ||
142 | ····add-int/lit8·v1,·v1,·0x1 | ||
143 | ····goto·:goto_1 | ||
144 | ····:cond_0 | ||
145 | ····move-object·v3,·p2 | ||
146 | ····.line·438 | ||
147 | ····goto·:goto_2 | ||
148 | ····.line·440 | ||
149 | ····:cond_1 | ||
150 | ····invoke-virtual·{v0,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
151 | ····.line·436 | ||
152 | ····add-int/lit8·v2,·v2,·0x1 | ||
153 | ····goto·:goto_0 | ||
154 | ····.line·442 | ||
155 | ····.end·local·v1····#·"x":I | ||
156 | ····:cond_2 | ||
157 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | ||
158 | ····move-result-object·v3 | ||
159 | ····return-object·v3 | ||
160 | .end·method | ||
110 | .method·public·static·parse(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/zxing/common/BitMatrix; | 161 | .method·public·static·parse(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/zxing/common/BitMatrix; |
111 | ····.locals·11 | 162 | ····.locals·11 |
112 | ····.param·p0,·"stringRepresentation"····#·Ljava/lang/String; | 163 | ····.param·p0,·"stringRepresentation"····#·Ljava/lang/String; |
113 | ····.param·p1,·"setString"····#·Ljava/lang/String; | 164 | ····.param·p1,·"setString"····#·Ljava/lang/String; |
114 | ····.param·p2,·"unsetString"····#·Ljava/lang/String; | 165 | ····.param·p2,·"unsetString"····#·Ljava/lang/String; |
115 | ····.prologue | 166 | ····.prologue |
Offset 293, 21 lines modified | Offset 372, 17 lines modified | ||
293 | ····.line·98 | 372 | ····.line·98 |
294 | ····:cond_7 | 373 | ····:cond_7 |
295 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; | 374 | ····new-instance·v8,·Ljava/lang/IllegalArgumentException; |
296 | ····new-instance·v9,·Ljava/lang/StringBuilder; | 375 | ····new-instance·v9,·Ljava/lang/StringBuilder; |
Max diff block lines reached; 18021/21164 bytes (85.15%) of diff not shown. |
Offset 68, 15 lines modified | Offset 68, 15 lines modified | ||
68 | ····iput·p9,·p0,·Lcom/google/zxing/common/PerspectiveTransform;->a33:F | 68 | ····iput·p9,·p0,·Lcom/google/zxing/common/PerspectiveTransform;->a33:F |
69 | ····.line·50 | 69 | ····.line·50 |
70 | ····return-void | 70 | ····return-void |
71 | .end·method | 71 | .end·method |
72 | .method·public·static·quadrilateralToQuadrilateral(FFFFFFFFFFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform; | 72 | .method·public·static·quadrilateralToQuadrilateral(FFFFFFFFFFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform; |
73 | ····.locals· | 73 | ····.locals·2 |
74 | ····.param·p0,·"x0"····#·F | 74 | ····.param·p0,·"x0"····#·F |
75 | ····.param·p1,·"y0"····#·F | 75 | ····.param·p1,·"y0"····#·F |
76 | ····.param·p2,·"x1"····#·F | 76 | ····.param·p2,·"x1"····#·F |
77 | ····.param·p3,·"y1"····#·F | 77 | ····.param·p3,·"y1"····#·F |
78 | ····.param·p4,·"x2"····#·F | 78 | ····.param·p4,·"x2"····#·F |
79 | ····.param·p5,·"y2"····#·F | 79 | ····.param·p5,·"y2"····#·F |
80 | ····.param·p6,·"x3"····#·F | 80 | ····.param·p6,·"x3"····#·F |
Offset 99, 20 lines modified | Offset 99, 19 lines modified | ||
99 | ····.line·62 | 99 | ····.line·62 |
100 | ····.local·v0,·"qToS":Lcom/google/zxing/common/PerspectiveTransform; | 100 | ····.local·v0,·"qToS":Lcom/google/zxing/common/PerspectiveTransform; |
101 | ····invoke-static/range·{p8·..·p15},·Lcom/google/zxing/common/PerspectiveTransform;->squareToQuadrilateral(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform; | 101 | ····invoke-static/range·{p8·..·p15},·Lcom/google/zxing/common/PerspectiveTransform;->squareToQuadrilateral(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform; |
102 | ····move-result-object·v1 | 102 | ····move-result-object·v1 |
103 | ····.line·63 | 103 | ····.line·63 |
104 | ····.local·v1,·"sToQ":Lcom/google/zxing/common/PerspectiveTransform; | ||
105 | ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/PerspectiveTransform;->times(Lcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/PerspectiveTransform; | 104 | ····invoke-virtual·{v1,·v0},·Lcom/google/zxing/common/PerspectiveTransform;->times(Lcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/PerspectiveTransform; |
106 | ····move-result-object·v | 105 | ····move-result-object·v1 |
107 | ····return-object·v | 106 | ····return-object·v1 |
108 | .end·method | 107 | .end·method |
109 | .method·public·static·quadrilateralToSquare(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform; | 108 | .method·public·static·quadrilateralToSquare(FFFFFFFF)Lcom/google/zxing/common/PerspectiveTransform; |
110 | ····.locals·1 | 109 | ····.locals·1 |
111 | ····.param·p0,·"x0"····#·F | 110 | ····.param·p0,·"x0"····#·F |
112 | ····.param·p1,·"y0"····#·F | 111 | ····.param·p1,·"y0"····#·F |
113 | ····.param·p2,·"x1"····#·F | 112 | ····.param·p2,·"x1"····#·F |
Offset 85, 15 lines modified | Offset 85, 15 lines modified | ||
85 | ····const/4·v3,·0x0 | 85 | ····const/4·v3,·0x0 |
86 | ····.line·56 | 86 | ····.line·56 |
87 | ····iget-object·v1,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I | 87 | ····iget-object·v1,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I |
88 | ····array-length·v1,·v1 | 88 | ····array-length·v1,·v1 |
89 | ···· | 89 | ····shl-int/lit8·v1,·v1,·0x5 |
90 | ····if-le·p1,·v1,·:cond_0 | 90 | ····if-le·p1,·v1,·:cond_0 |
91 | ····.line·57 | 91 | ····.line·57 |
92 | ····invoke-static·{p1},·Lcom/google/zxing/common/BitArray;->makeArray(I)[I | 92 | ····invoke-static·{p1},·Lcom/google/zxing/common/BitArray;->makeArray(I)[I |
93 | ····move-result-object·v0 | 93 | ····move-result-object·v0 |
Offset 118, 15 lines modified | Offset 118, 15 lines modified | ||
118 | .end·method | 118 | .end·method |
119 | .method·private·static·makeArray(I)[I | 119 | .method·private·static·makeArray(I)[I |
120 | ····.locals·1 | 120 | ····.locals·1 |
121 | ····.param·p0,·"size"····#·I | 121 | ····.param·p0,·"size"····#·I |
122 | ····.prologue | 122 | ····.prologue |
123 | ····.line·3 | 123 | ····.line·323 |
124 | ····add-int/lit8·v0,·p0,·0x1f | 124 | ····add-int/lit8·v0,·p0,·0x1f |
125 | ····div-int/lit8·v0,·v0,·0x20 | 125 | ····div-int/lit8·v0,·v0,·0x20 |
126 | ····new-array·v0,·v0,·[I | 126 | ····new-array·v0,·v0,·[I |
127 | ····return-object·v0 | 127 | ····return-object·v0 |
Offset 135, 25 lines modified | Offset 135, 25 lines modified | ||
135 | #·virtual·methods | 135 | #·virtual·methods |
136 | .method·public·appendBit(Z)V | 136 | .method·public·appendBit(Z)V |
137 | ····.locals·5 | 137 | ····.locals·5 |
138 | ····.param·p1,·"bit"····#·Z | 138 | ····.param·p1,·"bit"····#·Z |
139 | ····.prologue | 139 | ····.prologue |
140 | ····.line·2 | 140 | ····.line·217 |
141 | ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I | 141 | ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I |
142 | ····add-int/lit8·v0,·v0,·0x1 | 142 | ····add-int/lit8·v0,·v0,·0x1 |
143 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V | 143 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V |
144 | ····.line·2 | 144 | ····.line·218 |
145 | ····if-eqz·p1,·:cond_0 | 145 | ····if-eqz·p1,·:cond_0 |
146 | ····.line·2 | 146 | ····.line·219 |
147 | ····iget-object·v0,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I | 147 | ····iget-object·v0,·p0,·Lcom/google/zxing/common/BitArray;->bits:[I |
148 | ····iget·v1,·p0,·Lcom/google/zxing/common/BitArray;->size:I | 148 | ····iget·v1,·p0,·Lcom/google/zxing/common/BitArray;->size:I |
149 | ····div-int/lit8·v1,·v1,·0x20 | 149 | ····div-int/lit8·v1,·v1,·0x20 |
150 | ····aget·v2,·v0,·v1 | 150 | ····aget·v2,·v0,·v1 |
Offset 166, 175 lines modified | Offset 166, 175 lines modified | ||
166 | ····shl-int/2addr·v3,·v4 | 166 | ····shl-int/2addr·v3,·v4 |
167 | ····or-int/2addr·v2,·v3 | 167 | ····or-int/2addr·v2,·v3 |
168 | ····aput·v2,·v0,·v1 | 168 | ····aput·v2,·v0,·v1 |
169 | ····.line·2 | 169 | ····.line·221 |
170 | ····:cond_0 | 170 | ····:cond_0 |
171 | ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I | 171 | ····iget·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I |
172 | ····add-int/lit8·v0,·v0,·0x1 | 172 | ····add-int/lit8·v0,·v0,·0x1 |
173 | ····iput·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I | 173 | ····iput·v0,·p0,·Lcom/google/zxing/common/BitArray;->size:I |
174 | ····.line·2 | 174 | ····.line·222 |
175 | ····return-void | 175 | ····return-void |
176 | .end·method | 176 | .end·method |
177 | .method·public·appendBitArray(Lcom/google/zxing/common/BitArray;)V | 177 | .method·public·appendBitArray(Lcom/google/zxing/common/BitArray;)V |
178 | ····.locals·3 | 178 | ····.locals·3 |
179 | ····.param·p1,·"other"····#·Lcom/google/zxing/common/BitArray; | 179 | ····.param·p1,·"other"····#·Lcom/google/zxing/common/BitArray; |
180 | ····.prologue | 180 | ····.prologue |
181 | ····.line·2 | 181 | ····.line·243 |
182 | ····iget·v1,·p1,·Lcom/google/zxing/common/BitArray;->size:I | 182 | ····iget·v1,·p1,·Lcom/google/zxing/common/BitArray;->size:I |
183 | ····.line·2 | 183 | ····.line·244 |
184 | ····.local·v1,·"otherSize":I | 184 | ····.local·v1,·"otherSize":I |
185 | ····iget·v2,·p0,·Lcom/google/zxing/common/BitArray;->size:I | 185 | ····iget·v2,·p0,·Lcom/google/zxing/common/BitArray;->size:I |
186 | ····add-int/2addr·v2,·v1 | 186 | ····add-int/2addr·v2,·v1 |
187 | ····invoke-direct·{p0,·v2},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V | 187 | ····invoke-direct·{p0,·v2},·Lcom/google/zxing/common/BitArray;->ensureCapacity(I)V |
188 | ····.line·2 | 188 | ····.line·245 |
189 | ····const/4·v0,·0x0 | 189 | ····const/4·v0,·0x0 |
190 | ····.local·v0,·"i":I | 190 | ····.local·v0,·"i":I |
191 | ····:goto_0 | 191 | ····:goto_0 |
192 | ····if-ge·v0,·v1,·:cond_0 | 192 | ····if-ge·v0,·v1,·:cond_0 |
193 | ····.line·2 | 193 | ····.line·246 |
194 | ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/common/BitArray;->get(I)Z | 194 | ····invoke-virtual·{p1,·v0},·Lcom/google/zxing/common/BitArray;->get(I)Z |
195 | ····move-result·v2 | 195 | ····move-result·v2 |
196 | ····invoke-virtual·{p0,·v2},·Lcom/google/zxing/common/BitArray;->appendBit(Z)V | 196 | ····invoke-virtual·{p0,·v2},·Lcom/google/zxing/common/BitArray;->appendBit(Z)V |
197 | ····.line·2 | 197 | ····.line·245 |
198 | ····add-int/lit8·v0,·v0,·0x1 | 198 | ····add-int/lit8·v0,·v0,·0x1 |
199 | ····goto·:goto_0 | 199 | ····goto·:goto_0 |
200 | ····.line·2 | 200 | ····.line·248 |
201 | ····:cond_0 | 201 | ····:cond_0 |
202 | ····return-void | 202 | ····return-void |
203 | .end·method | 203 | .end·method |
204 | .method·public·appendBits(II)V | 204 | .method·public·appendBits(II)V |
205 | ····.locals·3 | 205 | ····.locals·3 |
206 | ····.param·p1,·"value"····#·I | 206 | ····.param·p1,·"value"····#·I |
207 | ····.param·p2,·"numBits"····#·I | 207 | ····.param·p2,·"numBits"····#·I |
208 | ····.prologue | 208 | ····.prologue |
209 | ····const/4·v2,·0x1 | 209 | ····const/4·v2,·0x1 |
210 | ····.line·2 | 210 | ····.line·233 |
211 | ····if-ltz·p2,·:cond_0 | 211 | ····if-ltz·p2,·:cond_0 |
Max diff block lines reached; 23673/26494 bytes (89.35%) of diff not shown. |
Offset 81, 15 lines modified | Offset 81, 15 lines modified | ||
81 | ····.line·42 | 81 | ····.line·42 |
82 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 82 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
83 | ····return-void | 83 | ····return-void |
84 | .end·method | 84 | .end·method |
85 | .method·public·static·guessEncoding([BLjava/util/Map;)Ljava/lang/String; | 85 | .method·public·static·guessEncoding([BLjava/util/Map;)Ljava/lang/String; |
86 | ····.locals·2 | 86 | ····.locals·22 |
87 | ····.param·p0,·"bytes"····#·[B | 87 | ····.param·p0,·"bytes"····#·[B |
88 | ····.annotation·system·Ldalvik/annotation/Signature; | 88 | ····.annotation·system·Ldalvik/annotation/Signature; |
89 | ········value·=·{ | 89 | ········value·=·{ |
90 | ············"([B", | 90 | ············"([B", |
91 | ············"Ljava/util/Map", | 91 | ············"Ljava/util/Map", |
92 | ············"<", | 92 | ············"<", |
93 | ············"Lcom/google/zxing/DecodeHintType;", | 93 | ············"Lcom/google/zxing/DecodeHintType;", |
Offset 99, 630 lines modified | Offset 99, 624 lines modified | ||
99 | ····.end·annotation | 99 | ····.end·annotation |
100 | ····.prologue | 100 | ····.prologue |
101 | ····.line·52 | 101 | ····.line·52 |
102 | ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 102 | ····.local·p1,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
103 | ····if-eqz·p1,·:cond_0 | 103 | ····if-eqz·p1,·:cond_0 |
104 | ····sget-object·v20,·Lcom/google/zxing/DecodeHintType;->CHARACTER_SET:Lcom/google/zxing/DecodeHintType; | ||
105 | ····move-object/from16·v0,·p1 | ||
106 | ····move-object/from16·v1,·v20 | ||
107 | ····invoke-interface·{v0,·v1},·Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z | ||
108 | ····move-result·v20 | ||
109 | ····if-eqz·v20,·:cond_0 | ||
104 | ····.line·53 | 110 | ····.line·53 |
105 | ····sget-object·v2 | 111 | ····sget-object·v20,·Lcom/google/zxing/DecodeHintType;->CHARACTER_SET:Lcom/google/zxing/DecodeHintType; |
106 | ····move-object/from16·v0,·p1 | 112 | ····move-object/from16·v0,·p1 |
107 | ····move-object/from16·v1,·v2 | 113 | ····move-object/from16·v1,·v20 |
108 | ····invoke-interface·{v0,·v1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; | 114 | ····invoke-interface·{v0,·v1},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
109 | ····move-result-object·v | 115 | ····move-result-object·v20 |
110 | ···· | 116 | ····invoke-virtual/range·{v20·..·v20},·Ljava/lang/Object;->toString()Ljava/lang/String; |
117 | ····move-result-object·v20 | ||
111 | ····.line·54 | ||
112 | ····.local·v5,·"characterSet":Ljava/lang/String; | ||
113 | ····if-eqz·v5,·:cond_0 | ||
114 | ····.line·2 | 118 | ····.line·207 |
115 | ····.end·local·v5····#·"characterSet":Ljava/lang/String; | ||
116 | ····:goto_0 | 119 | ····:goto_0 |
117 | ····return-object·v | 120 | ····return-object·v20 |
118 | ····.line· | 121 | ····.line·57 |
119 | ····:cond_0 | 122 | ····:cond_0 |
120 | ····move-object/from16·v0,·p0 | 123 | ····move-object/from16·v0,·p0 |
121 | ····array-length·v | 124 | ····array-length·v7,·v0 |
122 | ····.line· | 125 | ····.line·58 |
123 | ····.local·v | 126 | ····.local·v7,·"length":I |
124 | ····const/4·v2,·0x1 | 127 | ····const/4·v2,·0x1 |
125 | ····.line· | 128 | ····.line·59 |
126 | ····.local·v2,·"canBeISO88591":Z | 129 | ····.local·v2,·"canBeISO88591":Z |
127 | ····const/4·v3,·0x1 | 130 | ····const/4·v3,·0x1 |
128 | ····.line·6 | 131 | ····.line·60 |
129 | ····.local·v3,·"canBeShiftJIS":Z | 132 | ····.local·v3,·"canBeShiftJIS":Z |
130 | ····const/4·v4,·0x1 | 133 | ····const/4·v4,·0x1 |
131 | ····.line·6 | 134 | ····.line·61 |
132 | ····.local·v4,·"canBeUTF8":Z | 135 | ····.local·v4,·"canBeUTF8":Z |
133 | ····const/16·v1 | 136 | ····const/16·v17,·0x0 |
134 | ····.line·6 | 137 | ····.line·63 |
135 | ····.local·v1 | 138 | ····.local·v17,·"utf8BytesLeft":I |
139 | ····const/4·v14,·0x0 | ||
140 | ····.line·64 | ||
141 | ····.local·v14,·"utf2BytesChars":I | ||
136 | ····const/4·v15,·0x0 | 142 | ····const/4·v15,·0x0 |
137 | ····.line·6 | 143 | ····.line·65 |
138 | ····.local·v15,·"utf | 144 | ····.local·v15,·"utf3BytesChars":I |
139 | ····const/16·v16,·0x0 | 145 | ····const/16·v16,·0x0 |
140 | ····.line·6 | 146 | ····.line·66 |
141 | ····.local·v16,·"utf | 147 | ····.local·v16,·"utf4BytesChars":I |
142 | ····const/16·v17,·0x0 | ||
143 | ····.line·69 | ||
144 | ····.local·v17,·"utf4BytesChars":I | ||
145 | ····const/4·v | 148 | ····const/4·v8,·0x0 |
146 | ····.line·71 | ||
147 | ····.local·v9,·"sjisBytesLeft":I | ||
148 | ····const/4·v12,·0x0 | ||
149 | ····.line· | 149 | ····.line·68 |
150 | ····.local·v | 150 | ····.local·v8,·"sjisBytesLeft":I |
151 | ····const/4·v11,·0x0 | 151 | ····const/4·v11,·0x0 |
152 | ····.line·7 | 152 | ····.line·70 |
153 | ····.local·v11,·"sjis | 153 | ····.local·v11,·"sjisKatakanaChars":I |
154 | ····const/4·v10,·0x0 | 154 | ····const/4·v10,·0x0 |
155 | ····.line·7 | 155 | ····.line·71 |
156 | ····.local·v10,·"sjisCur | 156 | ····.local·v10,·"sjisCurKatakanaWordLength":I |
157 | ····const/4·v | 157 | ····const/4·v9,·0x0 |
158 | ····.line·7 | 158 | ····.line·72 |
159 | ····.local·v | 159 | ····.local·v9,·"sjisCurDoubleBytesWordLength":I |
160 | ····const/4·v13,·0x0 | 160 | ····const/4·v13,·0x0 |
161 | ····.line·7 | 161 | ····.line·73 |
162 | ····.local·v13,·"sjisMaxKatakanaWordLength":I | ||
163 | ····const/4·v12,·0x0 | ||
164 | ····.line·76 | ||
162 | ····.local·v1 | 165 | ····.local·v12,·"sjisMaxDoubleBytesWordLength":I |
163 | ····const/4·v | 166 | ····const/4·v6,·0x0 |
Max diff block lines reached; 13657/17441 bytes (78.30%) of diff not shown. |
Offset 55, 160 lines modified | Offset 55, 157 lines modified | ||
55 | ····move-result-object·v1 | 55 | ····move-result-object·v1 |
56 | ····return-object·v1 | 56 | ····return-object·v1 |
57 | .end·method | 57 | .end·method |
58 | .method·public·sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix; | 58 | .method·public·sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix; |
59 | ····.locals· | 59 | ····.locals·9 |
60 | ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix; | 60 | ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix; |
61 | ····.param·p2,·"dimensionX"····#·I | 61 | ····.param·p2,·"dimensionX"····#·I |
62 | ····.param·p3,·"dimensionY"····#·I | 62 | ····.param·p3,·"dimensionY"····#·I |
63 | ····.param·p4,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform; | 63 | ····.param·p4,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform; |
64 | ····.annotation·system·Ldalvik/annotation/Throws; | 64 | ····.annotation·system·Ldalvik/annotation/Throws; |
65 | ········value·=·{ | 65 | ········value·=·{ |
66 | ············Lcom/google/zxing/NotFoundException; | 66 | ············Lcom/google/zxing/NotFoundException; |
67 | ········} | 67 | ········} |
68 | ····.end·annotation | 68 | ····.end·annotation |
69 | ····.prologue | 69 | ····.prologue |
70 | ····const/high16·v | 70 | ····const/high16·v8,·0x3f000000····#·0.5f |
71 | ····.line·51 | 71 | ····.line·51 |
72 | ····if-lez·p2,·:cond_0 | 72 | ····if-lez·p2,·:cond_0 |
73 | ····if-gtz·p3,·:cond_1 | 73 | ····if-gtz·p3,·:cond_1 |
74 | ····.line·52 | 74 | ····.line·52 |
75 | ····:cond_0 | 75 | ····:cond_0 |
76 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 76 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
77 | ····move-result-object·v | 77 | ····move-result-object·v6 |
78 | ····throw·v | 78 | ····throw·v6 |
79 | ····.line·54 | 79 | ····.line·54 |
80 | ····:cond_1 | 80 | ····:cond_1 |
81 | ····new-instance·v | 81 | ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix; |
82 | ····invoke-direct·{v | 82 | ····invoke-direct·{v0,·p2,·p3},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V |
83 | ····.line·55 | 83 | ····.line·55 |
84 | ····.local·v | 84 | ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix; |
85 | ····mul-int/lit8·v | 85 | ····mul-int/lit8·v6,·p2,·0x2 |
86 | ····new-array·v | 86 | ····new-array·v3,·v6,·[F |
87 | ····.line·56 | 87 | ····.line·56 |
88 | ····.local·v | 88 | ····.local·v3,·"points":[F |
89 | ····const/4·v | 89 | ····const/4·v5,·0x0 |
90 | ····.local·v | 90 | ····.local·v5,·"y":I |
91 | ····:goto_0 | 91 | ····:goto_0 |
92 | ····if-ge·v | 92 | ····if-ge·v5,·p3,·:cond_5 |
93 | ····.line·57 | 93 | ····.line·57 |
94 | ····array-length·v | 94 | ····array-length·v2,·v3 |
95 | ····.line·58 | 95 | ····.line·58 |
96 | ····.local·v | 96 | ····.local·v2,·"max":I |
97 | ····int-to-float·v | 97 | ····int-to-float·v6,·v5 |
98 | ····add-float·v | 98 | ····add-float·v1,·v6,·v8 |
99 | ····.line·59 | 99 | ····.line·59 |
100 | ····.local·v | 100 | ····.local·v1,·"iValue":F |
101 | ····const/4·v | 101 | ····const/4·v4,·0x0 |
102 | ····.local·v | 102 | ····.local·v4,·"x":I |
103 | ····:goto_1 | 103 | ····:goto_1 |
104 | ····if-ge·v | 104 | ····if-ge·v4,·v2,·:cond_2 |
105 | ····.line·60 | 105 | ····.line·60 |
106 | ····div-int/lit8·v | 106 | ····div-int/lit8·v6,·v4,·0x2 |
107 | ····int-to-float·v | 107 | ····int-to-float·v6,·v6 |
108 | ····add-float/2addr·v | 108 | ····add-float/2addr·v6,·v8 |
109 | ····aput·v | 109 | ····aput·v6,·v3,·v4 |
110 | ····.line·61 | 110 | ····.line·61 |
111 | ····add-int/lit8·v | 111 | ····add-int/lit8·v6,·v4,·0x1 |
112 | ····aput·v | 112 | ····aput·v1,·v3,·v6 |
113 | ····.line·59 | 113 | ····.line·59 |
114 | ····add-int/lit8·v | 114 | ····add-int/lit8·v4,·v4,·0x2 |
115 | ····goto·:goto_1 | 115 | ····goto·:goto_1 |
116 | ····.line·63 | 116 | ····.line·63 |
117 | ····:cond_2 | 117 | ····:cond_2 |
118 | ····invoke-virtual·{p4,·v | 118 | ····invoke-virtual·{p4,·v3},·Lcom/google/zxing/common/PerspectiveTransform;->transformPoints([F)V |
119 | ····.line·66 | 119 | ····.line·66 |
120 | ····invoke-static·{p1,·v | 120 | ····invoke-static·{p1,·v3},·Lcom/google/zxing/common/DefaultGridSampler;->checkAndNudgePoints(Lcom/google/zxing/common/BitMatrix;[F)V |
121 | ····.line·68 | 121 | ····.line·68 |
122 | ····const/4·v | 122 | ····const/4·v4,·0x0 |
123 | ····:goto_2 | 123 | ····:goto_2 |
124 | ····if-ge·v | 124 | ····if-ge·v4,·v2,·:cond_4 |
125 | ····.line·69 | 125 | ····.line·69 |
126 | ····:try_start_0 | 126 | ····:try_start_0 |
127 | ····aget·v | 127 | ····aget·v6,·v3,·v4 |
128 | ····float-to-int·v | 128 | ····float-to-int·v6,·v6 |
129 | ····add-int/lit8·v | 129 | ····add-int/lit8·v7,·v4,·0x1 |
130 | ····aget·v | 130 | ····aget·v7,·v3,·v7 |
131 | ····float-to-int·v | 131 | ····float-to-int·v7,·v7 |
132 | ····invoke-virtual·{p1,·v | 132 | ····invoke-virtual·{p1,·v6,·v7},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
133 | ····move-result·v | 133 | ····move-result·v6 |
134 | ····if-eqz·v | 134 | ····if-eqz·v6,·:cond_3 |
135 | ····.line·71 | 135 | ····.line·71 |
136 | ····div-int/lit8·v | 136 | ····div-int/lit8·v6,·v4,·0x2 |
137 | ····invoke-virtual·{v | 137 | ····invoke-virtual·{v0,·v6,·v5},·Lcom/google/zxing/common/BitMatrix;->set(II)V |
138 | ····:try_end_0 | 138 | ····:try_end_0 |
139 | ····.catch·Ljava/lang/ArrayIndexOutOfBoundsException;·{:try_start_0·..·:try_end_0}·:catch_0 | 139 | ····.catch·Ljava/lang/ArrayIndexOutOfBoundsException;·{:try_start_0·..·:try_end_0}·:catch_0 |
Max diff block lines reached; 951/5211 bytes (18.25%) of diff not shown. |
Offset 171, 122 lines modified | Offset 171, 120 lines modified | ||
171 | ····return-object·v3 | 171 | ····return-object·v3 |
172 | .end·method | 172 | .end·method |
173 | #·virtual·methods | 173 | #·virtual·methods |
174 | .method·public·encode([II)V | 174 | .method·public·encode([II)V |
175 | ····.locals·1 | 175 | ····.locals·10 |
176 | ····.param·p1,·"toEncode"····#·[I | 176 | ····.param·p1,·"toEncode"····#·[I |
177 | ····.param·p2,·"ecBytes"····#·I | 177 | ····.param·p2,·"ecBytes"····#·I |
178 | ····.prologue | 178 | ····.prologue |
179 | ····const/4·v9,·0x1 | 179 | ····const/4·v9,·0x1 |
180 | ····const/4·v | 180 | ····const/4·v8,·0x0 |
181 | ····.line·53 | 181 | ····.line·53 |
182 | ····if-nez·p2,·:cond_0 | 182 | ····if-nez·p2,·:cond_0 |
183 | ····.line·54 | 183 | ····.line·54 |
184 | ····new-instance·v | 184 | ····new-instance·v6,·Ljava/lang/IllegalArgumentException; |
185 | ····const-string·v | 185 | ····const-string·v7,·"No·error·correction·bytes" |
186 | ····invoke-direct·{v | 186 | ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
187 | ····throw·v | 187 | ····throw·v6 |
188 | ····.line·56 | 188 | ····.line·56 |
189 | ····:cond_0 | 189 | ····:cond_0 |
190 | ····array-length·v | 190 | ····array-length·v6,·p1 |
191 | ····sub-int·v1,·v | 191 | ····sub-int·v1,·v6,·p2 |
192 | ····.line·57 | 192 | ····.line·57 |
193 | ····.local·v1,·"dataBytes":I | 193 | ····.local·v1,·"dataBytes":I |
194 | ····if-gtz·v1,·:cond_1 | 194 | ····if-gtz·v1,·:cond_1 |
195 | ····.line·58 | 195 | ····.line·58 |
196 | ····new-instance·v | 196 | ····new-instance·v6,·Ljava/lang/IllegalArgumentException; |
197 | ····const-string·v | 197 | ····const-string·v7,·"No·data·bytes·provided" |
198 | ····invoke-direct·{v | 198 | ····invoke-direct·{v6,·v7},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
199 | ····throw·v | 199 | ····throw·v6 |
200 | ····.line·60 | 200 | ····.line·60 |
201 | ····:cond_1 | 201 | ····:cond_1 |
202 | ····invoke-direct·{p0,·p2},·Lcom/google/zxing/common/reedsolomon/ReedSolomonEncoder;->buildGenerator(I)Lcom/google/zxing/common/reedsolomon/GenericGFPoly; | 202 | ····invoke-direct·{p0,·p2},·Lcom/google/zxing/common/reedsolomon/ReedSolomonEncoder;->buildGenerator(I)Lcom/google/zxing/common/reedsolomon/GenericGFPoly; |
203 | ····move-result-object·v2 | 203 | ····move-result-object·v2 |
204 | ····.line·61 | 204 | ····.line·61 |
205 | ····.local·v2,·"generator":Lcom/google/zxing/common/reedsolomon/GenericGFPoly; | 205 | ····.local·v2,·"generator":Lcom/google/zxing/common/reedsolomon/GenericGFPoly; |
206 | ····new-array·v | 206 | ····new-array·v4,·v1,·[I |
207 | ····.line·62 | 207 | ····.line·62 |
208 | ····.local·v | 208 | ····.local·v4,·"infoCoefficients":[I |
209 | ····invoke-static·{p1,·v | 209 | ····invoke-static·{p1,·v8,·v4,·v8,·v1},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V |
210 | ····.line·63 | 210 | ····.line·63 |
211 | ····new-instance·v | 211 | ····new-instance·v6,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly; |
212 | ····iget-object·v | 212 | ····iget-object·v7,·p0,·Lcom/google/zxing/common/reedsolomon/ReedSolomonEncoder;->field:Lcom/google/zxing/common/reedsolomon/GenericGF; |
213 | ····invoke-direct·{v | 213 | ····invoke-direct·{v6,·v7,·v4},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;-><init>(Lcom/google/zxing/common/reedsolomon/GenericGF;[I)V |
214 | ····.line·64 | 214 | ····.line·64 |
215 | ····.local·v4,·"info":Lcom/google/zxing/common/reedsolomon/GenericGFPoly; | ||
216 | ····invoke-virtual·{v | 215 | ····invoke-virtual·{v6,·p2,·v9},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->multiplyByMonomial(II)Lcom/google/zxing/common/reedsolomon/GenericGFPoly; |
217 | ····move-result-object·v | 216 | ····move-result-object·v6 |
218 | ····.line·65 | 217 | ····.line·65 |
219 | ····invoke-virtual·{v | 218 | ····invoke-virtual·{v6,·v2},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->divide(Lcom/google/zxing/common/reedsolomon/GenericGFPoly;)[Lcom/google/zxing/common/reedsolomon/GenericGFPoly; |
220 | ····move-result-object·v | 219 | ····move-result-object·v6 |
221 | ····aget-object·v | 220 | ····aget-object·v6,·v6,·v9 |
222 | ····.line·66 | 221 | ····.line·66 |
223 | ····.local·v7,·"remainder":Lcom/google/zxing/common/reedsolomon/GenericGFPoly; | ||
224 | ····invoke-virtual·{v | 222 | ····invoke-virtual·{v6},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->getCoefficients()[I |
225 | ····move-result-object·v0 | 223 | ····move-result-object·v0 |
226 | ····.line·67 | 224 | ····.line·67 |
227 | ····.local·v0,·"coefficients":[I | 225 | ····.local·v0,·"coefficients":[I |
228 | ····array-length·v | 226 | ····array-length·v6,·v0 |
229 | ····sub-int·v | 227 | ····sub-int·v5,·p2,·v6 |
230 | ····.line·68 | 228 | ····.line·68 |
231 | ····.local·v | 229 | ····.local·v5,·"numZeroCoefficients":I |
232 | ····const/4·v3,·0x0 | 230 | ····const/4·v3,·0x0 |
233 | ····.local·v3,·"i":I | 231 | ····.local·v3,·"i":I |
234 | ····:goto_0 | 232 | ····:goto_0 |
235 | ····if-ge·v3,·v | 233 | ····if-ge·v3,·v5,·:cond_2 |
236 | ····.line·69 | 234 | ····.line·69 |
237 | ····add-int·v | 235 | ····add-int·v6,·v1,·v3 |
238 | ····aput·v | 236 | ····aput·v8,·p1,·v6 |
239 | ····.line·68 | 237 | ····.line·68 |
240 | ····add-int/lit8·v3,·v3,·0x1 | 238 | ····add-int/lit8·v3,·v3,·0x1 |
241 | ····goto·:goto_0 | 239 | ····goto·:goto_0 |
242 | ····.line·71 | 240 | ····.line·71 |
243 | ····:cond_2 | 241 | ····:cond_2 |
244 | ····add-int·v | 242 | ····add-int·v6,·v1,·v5 |
245 | ····array-length·v | 243 | ····array-length·v7,·v0 |
246 | ····invoke-static·{v0,·v | 244 | ····invoke-static·{v0,·v8,·p1,·v6,·v7},·Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V |
247 | ····.line·72 | 245 | ····.line·72 |
248 | ····return-void | 246 | ····return-void |
249 | .end·method | 247 | .end·method |
Offset 435, 59 lines modified | Offset 435, 59 lines modified | ||
435 | ····.line·115 | 435 | ····.line·115 |
436 | ····:cond_0 | 436 | ····:cond_0 |
437 | ····return·v2 | 437 | ····return·v2 |
438 | ····.line·102 | 438 | ····.line·102 |
439 | ····:cond_1 | 439 | ····:cond_1 |
440 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I | ||
441 | ····array-length·v3,·v5 | ||
442 | ····.line·103 | ||
443 | ····.local·v3,·"size":I | ||
444 | ····const/4·v5,·0x1 | 440 | ····const/4·v5,·0x1 |
445 | ····if-ne·p1,·v5,·:cond_2 | 441 | ····if-ne·p1,·v5,·:cond_2 |
446 | ····.line·10 | 442 | ····.line·104 |
447 | ····const/4·v2,·0x0 | 443 | ····const/4·v2,·0x0 |
448 | ····.line·10 | 444 | ····.line·105 |
449 | ····.local·v2,·"result":I | 445 | ····.local·v2,·"result":I |
450 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I | 446 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I |
451 | ····array-length·v6,·v5 | 447 | ····array-length·v6,·v5 |
452 | ····:goto_0 | 448 | ····:goto_0 |
453 | ····if-ge·v4,·v6,·:cond_0 | 449 | ····if-ge·v4,·v6,·:cond_0 |
454 | ····aget·v0,·v5,·v4 | 450 | ····aget·v0,·v5,·v4 |
455 | ····.line·10 | 451 | ····.line·106 |
456 | ····.local·v0,·"coefficient":I | 452 | ····.local·v0,·"coefficient":I |
457 | ····invoke-static·{v2,·v0},·Lcom/google/zxing/common/reedsolomon/GenericGF;->addOrSubtract(II)I | 453 | ····invoke-static·{v2,·v0},·Lcom/google/zxing/common/reedsolomon/GenericGF;->addOrSubtract(II)I |
458 | ····move-result·v2 | 454 | ····move-result·v2 |
459 | ····.line·10 | 455 | ····.line·105 |
460 | ····add-int/lit8·v4,·v4,·0x1 | 456 | ····add-int/lit8·v4,·v4,·0x1 |
461 | ····goto·:goto_0 | 457 | ····goto·:goto_0 |
462 | ····.line·11 | 458 | ····.line·110 |
463 | ····.end·local·v0····#·"coefficient":I | 459 | ····.end·local·v0····#·"coefficient":I |
464 | ····.end·local·v2····#·"result":I | 460 | ····.end·local·v2····#·"result":I |
465 | ····:cond_2 | 461 | ····:cond_2 |
466 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I | 462 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I |
467 | ····aget·v2,·v5,·v4 | 463 | ····aget·v2,·v5,·v4 |
468 | ····.line·11 | 464 | ····.line·111 |
469 | ····.restart·local·v2····#·"result":I | 465 | ····.restart·local·v2····#·"result":I |
466 | ····iget-object·v4,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->coefficients:[I | ||
467 | ····array-length·v3,·v4 | ||
468 | ····.line·112 | ||
469 | ····.local·v3,·"size":I | ||
470 | ····const/4·v1,·0x1 | 470 | ····const/4·v1,·0x1 |
471 | ····.local·v1,·"i":I | 471 | ····.local·v1,·"i":I |
472 | ····:goto_1 | 472 | ····:goto_1 |
473 | ····if-ge·v1,·v3,·:cond_0 | 473 | ····if-ge·v1,·v3,·:cond_0 |
474 | ····.line·113 | 474 | ····.line·113 |
Offset 104, 18 lines modified | Offset 104, 16 lines modified | ||
104 | ····.line·37 | 104 | ····.line·37 |
105 | ····new-instance·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF; | 105 | ····new-instance·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF; |
106 | ····const/16·v1,·0x12d | 106 | ····const/16·v1,·0x12d |
107 | ····invoke-direct·{v0,·v1,·v4,·v3},·Lcom/google/zxing/common/reedsolomon/GenericGF;-><init>(III)V | 107 | ····invoke-direct·{v0,·v1,·v4,·v3},·Lcom/google/zxing/common/reedsolomon/GenericGF;-><init>(III)V |
108 | ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->DATA_MATRIX_FIELD_256:Lcom/google/zxing/common/reedsolomon/GenericGF; | ||
109 | ····.line·38 | 108 | ····.line·38 |
110 | ····s | 109 | ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->DATA_MATRIX_FIELD_256:Lcom/google/zxing/common/reedsolomon/GenericGF; |
111 | ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_8:Lcom/google/zxing/common/reedsolomon/GenericGF; | 110 | ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_8:Lcom/google/zxing/common/reedsolomon/GenericGF; |
112 | ····.line·39 | 111 | ····.line·39 |
113 | ····sget-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_6:Lcom/google/zxing/common/reedsolomon/GenericGF; | 112 | ····sget-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->AZTEC_DATA_6:Lcom/google/zxing/common/reedsolomon/GenericGF; |
114 | ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->MAXICODE_FIELD_64:Lcom/google/zxing/common/reedsolomon/GenericGF; | 113 | ····sput-object·v0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->MAXICODE_FIELD_64:Lcom/google/zxing/common/reedsolomon/GenericGF; |
Offset 169, 26 lines modified | Offset 167, 26 lines modified | ||
169 | ····.line·69 | 167 | ····.line·69 |
170 | ····iget-object·v2,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->expTable:[I | 168 | ····iget-object·v2,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->expTable:[I |
171 | ····aput·v1,·v2,·v0 | 169 | ····aput·v1,·v2,·v0 |
172 | ····.line·70 | 170 | ····.line·70 |
173 | ···· | 171 | ····shl-int/lit8·v1,·v1,·0x1 |
174 | ····.line·71 | 172 | ····.line·71 |
175 | ····if-lt·v1,·p2,·:cond_0 | 173 | ····if-lt·v1,·p2,·:cond_0 |
176 | ····.line·72 | 174 | ····.line·72 |
177 | ····xor-int | 175 | ····xor-int·v2,·v1,·p1 |
178 | ····.line·73 | 176 | ····.line·73 |
179 | ····add-int/lit8·v | 177 | ····add-int/lit8·v3,·p2,·-0x1 |
180 | ····and-int | 178 | ····and-int·v1,·v2,·v3 |
181 | ····.line·68 | 179 | ····.line·68 |
182 | ····:cond_0 | 180 | ····:cond_0 |
183 | ····add-int/lit8·v0,·v0,·0x1 | 181 | ····add-int/lit8·v0,·v0,·0x1 |
184 | ····goto·:goto_0 | 182 | ····goto·:goto_0 |
Offset 460, 21 lines modified | Offset 458, 17 lines modified | ||
460 | .method·public·toString()Ljava/lang/String; | 458 | .method·public·toString()Ljava/lang/String; |
461 | ····.locals·2 | 459 | ····.locals·2 |
462 | ····.prologue | 460 | ····.prologue |
463 | ····.line·163 | 461 | ····.line·163 |
464 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 462 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
465 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | ||
466 | ····const-string·v1,·"GF(0x" | 463 | ····const-string·v1,·"GF(0x" |
467 | ····invoke- | 464 | ····invoke-direct·{v0,·v1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
468 | ····move-result-object·v0 | ||
469 | ····iget·v1,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->primitive:I | 465 | ····iget·v1,·p0,·Lcom/google/zxing/common/reedsolomon/GenericGF;->primitive:I |
470 | ····invoke-static·{v1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String; | 466 | ····invoke-static·{v1},·Ljava/lang/Integer;->toHexString(I)Ljava/lang/String; |
471 | ····move-result-object·v1 | 467 | ····move-result-object·v1 |
Offset 695, 17 lines modified | Offset 695, 15 lines modified | ||
695 | ····invoke-virtual·{v8,·v14},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->evaluateAt(I)I | 695 | ····invoke-virtual·{v8,·v14},·Lcom/google/zxing/common/reedsolomon/GenericGFPoly;->evaluateAt(I)I |
696 | ····move-result·v4 | 696 | ····move-result·v4 |
697 | ····.line·64 | 697 | ····.line·64 |
698 | ····.local·v4,·"eval":I | 698 | ····.local·v4,·"eval":I |
699 | ····array-length·v14,·v13 | ||
700 | ····add-int/lit8·v14,· | 699 | ····add-int/lit8·v14,·p2,·-0x1 |
701 | ····sub-int/2addr·v14,·v5 | 700 | ····sub-int/2addr·v14,·v5 |
702 | ····aput·v4,·v13,·v14 | 701 | ····aput·v4,·v13,·v14 |
703 | ····.line·65 | 702 | ····.line·65 |
704 | ····if-eqz·v4,·:cond_0 | 703 | ····if-eqz·v4,·:cond_0 |
Offset 152, 76 lines modified | Offset 152, 76 lines modified | ||
152 | ····.locals·13 | 152 | ····.locals·13 |
153 | ····.param·p1,·"y"····#·Lcom/google/zxing/ResultPoint; | 153 | ····.param·p1,·"y"····#·Lcom/google/zxing/ResultPoint; |
154 | ····.param·p2,·"z"····#·Lcom/google/zxing/ResultPoint; | 154 | ····.param·p2,·"z"····#·Lcom/google/zxing/ResultPoint; |
155 | ····.param·p3,·"x"····#·Lcom/google/zxing/ResultPoint; | 155 | ····.param·p3,·"x"····#·Lcom/google/zxing/ResultPoint; |
156 | ····.param·p4,·"t"····#·Lcom/google/zxing/ResultPoint; | 156 | ····.param·p4,·"t"····#·Lcom/google/zxing/ResultPoint; |
157 | ····.prologue | 157 | ····.prologue |
158 | ····.line·2 | 158 | ····.line·278 |
159 | ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getX()F | 159 | ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getX()F |
160 | ····move-result·v4 | 160 | ····move-result·v4 |
161 | ····.line·2 | 161 | ····.line·279 |
162 | ····.local·v4,·"yi":F | 162 | ····.local·v4,·"yi":F |
163 | ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getY()F | 163 | ····invoke-virtual·{p1},·Lcom/google/zxing/ResultPoint;->getY()F |
164 | ····move-result·v5 | 164 | ····move-result·v5 |
165 | ····.line·2 | 165 | ····.line·280 |
166 | ····.local·v5,·"yj":F | 166 | ····.local·v5,·"yj":F |
167 | ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getX()F | 167 | ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getX()F |
168 | ····move-result·v6 | 168 | ····move-result·v6 |
169 | ····.line·2 | 169 | ····.line·281 |
170 | ····.local·v6,·"zi":F | 170 | ····.local·v6,·"zi":F |
171 | ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getY()F | 171 | ····invoke-virtual·{p2},·Lcom/google/zxing/ResultPoint;->getY()F |
172 | ····move-result·v7 | 172 | ····move-result·v7 |
173 | ····.line·2 | 173 | ····.line·282 |
174 | ····.local·v7,·"zj":F | 174 | ····.local·v7,·"zj":F |
175 | ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getX()F | 175 | ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getX()F |
176 | ····move-result·v2 | 176 | ····move-result·v2 |
177 | ····.line·2 | 177 | ····.line·283 |
178 | ····.local·v2,·"xi":F | 178 | ····.local·v2,·"xi":F |
179 | ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getY()F | 179 | ····invoke-virtual/range·{p3·..·p3},·Lcom/google/zxing/ResultPoint;->getY()F |
180 | ····move-result·v3 | 180 | ····move-result·v3 |
181 | ····.line·2 | 181 | ····.line·284 |
182 | ····.local·v3,·"xj":F | 182 | ····.local·v3,·"xj":F |
183 | ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getX()F | 183 | ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getX()F |
184 | ····move-result·v0 | 184 | ····move-result·v0 |
185 | ····.line·2 | 185 | ····.line·285 |
186 | ····.local·v0,·"ti":F | 186 | ····.local·v0,·"ti":F |
187 | ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getY()F | 187 | ····invoke-virtual/range·{p4·..·p4},·Lcom/google/zxing/ResultPoint;->getY()F |
188 | ····move-result·v1 | 188 | ····move-result·v1 |
189 | ····.line·2 | 189 | ····.line·287 |
190 | ····.local·v1,·"tj":F | 190 | ····.local·v1,·"tj":F |
191 | ····iget·v8,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->width:I | 191 | ····iget·v8,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->width:I |
192 | ····int-to-float·v8,·v8 | 192 | ····int-to-float·v8,·v8 |
193 | ····const/high16·v9,·0x40000000····#·2.0f | 193 | ····const/high16·v9,·0x40000000····#·2.0f |
194 | ····div-float/2addr·v8,·v9 | 194 | ····div-float/2addr·v8,·v9 |
195 | ····cmpg-float·v8,·v4,·v8 | 195 | ····cmpg-float·v8,·v4,·v8 |
196 | ····if-gez·v8,·:cond_0 | 196 | ····if-gez·v8,·:cond_0 |
197 | ····.line· | 197 | ····.line·288 |
198 | ····const/4·v8,·0x4 | 198 | ····const/4·v8,·0x4 |
199 | ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint; | 199 | ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint; |
200 | ····const/4·v9,·0x0 | 200 | ····const/4·v9,·0x0 |
201 | ····new-instance·v10,·Lcom/google/zxing/ResultPoint; | 201 | ····new-instance·v10,·Lcom/google/zxing/ResultPoint; |
Offset 282, 15 lines modified | Offset 282, 15 lines modified | ||
282 | ····sub-float·v12,·v5,·v12 | 282 | ····sub-float·v12,·v5,·v12 |
283 | ····invoke-direct·{v10,·v11,·v12},·Lcom/google/zxing/ResultPoint;-><init>(FF)V | 283 | ····invoke-direct·{v10,·v11,·v12},·Lcom/google/zxing/ResultPoint;-><init>(FF)V |
284 | ····aput-object·v10,·v8,·v9 | 284 | ····aput-object·v10,·v8,·v9 |
285 | ····.line· | 285 | ····.line·294 |
286 | ····:goto_0 | 286 | ····:goto_0 |
287 | ····return-object·v8 | 287 | ····return-object·v8 |
288 | ····:cond_0 | 288 | ····:cond_0 |
289 | ····const/4·v8,·0x4 | 289 | ····const/4·v8,·0x4 |
290 | ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint; | 290 | ····new-array·v8,·v8,·[Lcom/google/zxing/ResultPoint; |
Offset 368, 70 lines modified | Offset 368, 70 lines modified | ||
368 | ····.param·p2,·"b"····#·I | 368 | ····.param·p2,·"b"····#·I |
369 | ····.param·p3,·"fixed"····#·I | 369 | ····.param·p3,·"fixed"····#·I |
370 | ····.param·p4,·"horizontal"····#·Z | 370 | ····.param·p4,·"horizontal"····#·Z |
371 | ····.prologue | 371 | ····.prologue |
372 | ····const/4·v2,·0x1 | 372 | ····const/4·v2,·0x1 |
373 | ····.line·3 | 373 | ····.line·313 |
374 | ····if-eqz·p4,·:cond_2 | 374 | ····if-eqz·p4,·:cond_2 |
375 | ····.line·3 | 375 | ····.line·314 |
376 | ····move·v0,·p1 | 376 | ····move·v0,·p1 |
377 | ····.local·v0,·"x":I | 377 | ····.local·v0,·"x":I |
378 | ····:goto_0 | 378 | ····:goto_0 |
379 | ····if-gt·v0,·p2,·:cond_3 | 379 | ····if-gt·v0,·p2,·:cond_3 |
380 | ····.line·3 | 380 | ····.line·315 |
381 | ····iget-object·v3,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; | 381 | ····iget-object·v3,·p0,·Lcom/google/zxing/common/detector/WhiteRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; |
382 | ····invoke-virtual·{v3,·v0,·p3},·Lcom/google/zxing/common/BitMatrix;->get(II)Z | 382 | ····invoke-virtual·{v3,·v0,·p3},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
383 | ····move-result·v3 | 383 | ····move-result·v3 |
384 | ····if-eqz·v3,·:cond_1 | 384 | ····if-eqz·v3,·:cond_1 |
385 | ····.line·3 | 385 | ····.line·327 |
386 | ····.end·local·v0····#·"x":I | 386 | ····.end·local·v0····#·"x":I |
387 | ····:cond_0 | 387 | ····:cond_0 |
388 | ····:goto_1 | 388 | ····:goto_1 |
389 | ····return·v2 | 389 | ····return·v2 |
390 | ····.line·3 | 390 | ····.line·314 |
391 | ····.restart·local·v0····#·"x":I | 391 | ····.restart·local·v0····#·"x":I |
Max diff block lines reached; 14031/17081 bytes (82.14%) of diff not shown. |
Offset 4, 37 lines modified | Offset 4, 37 lines modified | ||
4 | #·direct·methods | 4 | #·direct·methods |
5 | .method·private·constructor·<init>()V | 5 | .method·private·constructor·<init>()V |
6 | ····.locals·0 | 6 | ····.locals·0 |
7 | ····.prologue | 7 | ····.prologue |
8 | ····.line·2 | 8 | ····.line·24 |
9 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 9 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
10 | ····.line·2 | 10 | ····.line·25 |
11 | ····return-void | 11 | ····return-void |
12 | .end·method | 12 | .end·method |
13 | .method·public·static·distance(FFFF)F | 13 | .method·public·static·distance(FFFF)F |
14 | ····.locals·4 | 14 | ····.locals·4 |
15 | ····.param·p0,·"aX"····#·F | 15 | ····.param·p0,·"aX"····#·F |
16 | ····.param·p1,·"aY"····#·F | 16 | ····.param·p1,·"aY"····#·F |
17 | ····.param·p2,·"bX"····#·F | 17 | ····.param·p2,·"bX"····#·F |
18 | ····.param·p3,·"bY"····#·F | 18 | ····.param·p3,·"bY"····#·F |
19 | ····.prologue | 19 | ····.prologue |
20 | ····.line· | 20 | ····.line·48 |
21 | ····sub-float·v0,·p0,·p2 | 21 | ····sub-float·v0,·p0,·p2 |
22 | ····.line· | 22 | ····.line·49 |
23 | ····.local·v0,·"xDiff":F | 23 | ····.local·v0,·"xDiff":F |
24 | ····sub-float·v1,·p1,·p3 | 24 | ····sub-float·v1,·p1,·p3 |
25 | ····.line· | 25 | ····.line·50 |
26 | ····.local·v1,·"yDiff":F | 26 | ····.local·v1,·"yDiff":F |
27 | ····mul-float·v2,·v0,·v0 | 27 | ····mul-float·v2,·v0,·v0 |
28 | ····mul-float·v3,·v1,·v1 | 28 | ····mul-float·v3,·v1,·v1 |
29 | ····add-float/2addr·v2,·v3 | 29 | ····add-float/2addr·v2,·v3 |
Offset 53, 22 lines modified | Offset 53, 22 lines modified | ||
53 | ····.locals·4 | 53 | ····.locals·4 |
54 | ····.param·p0,·"aX"····#·I | 54 | ····.param·p0,·"aX"····#·I |
55 | ····.param·p1,·"aY"····#·I | 55 | ····.param·p1,·"aY"····#·I |
56 | ····.param·p2,·"bX"····#·I | 56 | ····.param·p2,·"bX"····#·I |
57 | ····.param·p3,·"bY"····#·I | 57 | ····.param·p3,·"bY"····#·I |
58 | ····.prologue | 58 | ····.prologue |
59 | ····.line· | 59 | ····.line·61 |
60 | ····sub-int·v0,·p0,·p2 | 60 | ····sub-int·v0,·p0,·p2 |
61 | ····.line· | 61 | ····.line·62 |
62 | ····.local·v0,·"xDiff":I | 62 | ····.local·v0,·"xDiff":I |
63 | ····sub-int·v1,·p1,·p3 | 63 | ····sub-int·v1,·p1,·p3 |
64 | ····.line· | 64 | ····.line·63 |
65 | ····.local·v1,·"yDiff":I | 65 | ····.local·v1,·"yDiff":I |
66 | ····mul-int·v2,·v0,·v0 | 66 | ····mul-int·v2,·v0,·v0 |
67 | ····mul-int·v3,·v1,·v1 | 67 | ····mul-int·v3,·v1,·v1 |
68 | ····add-int/2addr·v2,·v3 | 68 | ····add-int/2addr·v2,·v3 |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | .end·method | 84 | .end·method |
85 | .method·public·static·round(F)I | 85 | .method·public·static·round(F)I |
86 | ····.locals·1 | 86 | ····.locals·1 |
87 | ····.param·p0,·"d"····#·F | 87 | ····.param·p0,·"d"····#·F |
88 | ····.prologue | 88 | ····.prologue |
89 | ····.line·3 | 89 | ····.line·37 |
90 | ····const/4·v0,·0x0 | 90 | ····const/4·v0,·0x0 |
91 | ····cmpg-float·v0,·p0,·v0 | 91 | ····cmpg-float·v0,·p0,·v0 |
92 | ····if-gez·v0,·:cond_0 | 92 | ····if-gez·v0,·:cond_0 |
93 | ····const/high16·v0,·-0x41000000····#·-0.5f | 93 | ····const/high16·v0,·-0x41000000····#·-0.5f |
Offset 105, 7 lines modified | Offset 105, 41 lines modified | ||
105 | ····return·v0 | 105 | ····return·v0 |
106 | ····:cond_0 | 106 | ····:cond_0 |
107 | ····const/high16·v0,·0x3f000000····#·0.5f | 107 | ····const/high16·v0,·0x3f000000····#·0.5f |
108 | ····goto·:goto_0 | 108 | ····goto·:goto_0 |
109 | .end·method | 109 | .end·method |
110 | .method·public·static·sum([I)I | ||
111 | ····.locals·4 | ||
112 | ····.param·p0,·"array"····#·[I | ||
113 | ····.prologue | ||
114 | ····.line·71 | ||
115 | ····const/4·v1,·0x0 | ||
116 | ····.line·72 | ||
117 | ····.local·v1,·"count":I | ||
118 | ····array-length·v3,·p0 | ||
119 | ····const/4·v2,·0x0 | ||
120 | ····:goto_0 | ||
121 | ····if-ge·v2,·v3,·:cond_0 | ||
122 | ····aget·v0,·p0,·v2 | ||
123 | ····.line·73 | ||
124 | ····.local·v0,·"a":I | ||
125 | ····add-int/2addr·v1,·v0 | ||
126 | ····.line·72 | ||
127 | ····add-int/lit8·v2,·v2,·0x1 | ||
128 | ····goto·:goto_0 | ||
129 | ····.line·75 | ||
130 | ····.end·local·v0····#·"a":I | ||
131 | ····:cond_0 | ||
132 | ····return·v1 | ||
133 | .end·method |
Offset 1, 227 lines modified | Offset 1, 232 lines modified | ||
1 | .class·public·final·Lcom/google/zxing/common/detector/MonochromeRectangleDetector; | 1 | .class·public·final·Lcom/google/zxing/common/detector/MonochromeRectangleDetector; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"MonochromeRectangleDetector.java" | 3 | .source·"MonochromeRectangleDetector.java" |
4 | #·annotations | ||
5 | .annotation·runtime·Ljava/lang/Deprecated; | ||
6 | .end·annotation | ||
4 | #·static·fields | 7 | #·static·fields |
5 | .field·private·static·final·MAX_MODULES:I·=·0x20 | 8 | .field·private·static·final·MAX_MODULES:I·=·0x20 |
6 | #·instance·fields | 9 | #·instance·fields |
7 | .field·private·final·image:Lcom/google/zxing/common/BitMatrix; | 10 | .field·private·final·image:Lcom/google/zxing/common/BitMatrix; |
8 | #·direct·methods | 11 | #·direct·methods |
9 | .method·public·constructor·<init>(Lcom/google/zxing/common/BitMatrix;)V | 12 | .method·public·constructor·<init>(Lcom/google/zxing/common/BitMatrix;)V |
10 | ····.locals·0 | 13 | ····.locals·0 |
11 | ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix; | 14 | ····.param·p1,·"image"····#·Lcom/google/zxing/common/BitMatrix; |
12 | ····.prologue | 15 | ····.prologue |
13 | ····.line·3 | 16 | ····.line·38 |
14 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 17 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
15 | ····.line·3 | 18 | ····.line·39 |
16 | ····iput-object·p1,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; | 19 | ····iput-object·p1,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; |
17 | ····.line· | 20 | ····.line·40 |
18 | ····return-void | 21 | ····return-void |
19 | .end·method | 22 | .end·method |
20 | .method·private·blackWhiteRange(IIIIZ)[I | 23 | .method·private·blackWhiteRange(IIIIZ)[I |
21 | ····.locals·7 | 24 | ····.locals·7 |
22 | ····.param·p1,·"fixedDimension"····#·I | 25 | ····.param·p1,·"fixedDimension"····#·I |
23 | ····.param·p2,·"maxWhiteRun"····#·I | 26 | ····.param·p2,·"maxWhiteRun"····#·I |
24 | ····.param·p3,·"minDim"····#·I | 27 | ····.param·p3,·"minDim"····#·I |
25 | ····.param·p4,·"maxDim"····#·I | 28 | ····.param·p4,·"maxDim"····#·I |
26 | ····.param·p5,·"horizontal"····#·Z | 29 | ····.param·p5,·"horizontal"····#·Z |
27 | ····.prologue | 30 | ····.prologue |
28 | ····.line·17 | 31 | ····.line·172 |
29 | ····add-int·v5,·p3,·p4 | 32 | ····add-int·v5,·p3,·p4 |
30 | ····div-int/lit8·v0,·v5,·0x2 | 33 | ····div-int/lit8·v0,·v5,·0x2 |
31 | ····.line·17 | 34 | ····.line·175 |
32 | ····.local·v0,·"center":I | 35 | ····.local·v0,·"center":I |
33 | ····move·v2,·v0 | 36 | ····move·v2,·v0 |
34 | ····.line·17 | 37 | ····.line·176 |
35 | ····.local·v2,·"start":I | 38 | ····.local·v2,·"start":I |
36 | ····:cond_0 | 39 | ····:cond_0 |
37 | ····:goto_0 | 40 | ····:goto_0 |
38 | ····if-lt·v2,·p3,·:cond_7 | 41 | ····if-lt·v2,·p3,·:cond_7 |
39 | ····.line·17 | 42 | ····.line·177 |
40 | ····if-eqz·p5,·:cond_2 | 43 | ····if-eqz·p5,·:cond_2 |
41 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; | 44 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; |
42 | ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z | 45 | ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
43 | ····move-result·v5 | 46 | ····move-result·v5 |
44 | ····if-eqz·v5,·:cond_3 | 47 | ····if-eqz·v5,·:cond_3 |
45 | ····.line·17 | 48 | ····.line·178 |
46 | ····:cond_1 | 49 | ····:cond_1 |
47 | ····add-int/lit8·v2,·v2,·-0x1 | 50 | ····add-int/lit8·v2,·v2,·-0x1 |
48 | ····goto·:goto_0 | 51 | ····goto·:goto_0 |
49 | ····.line·17 | 52 | ····.line·177 |
50 | ····:cond_2 | 53 | ····:cond_2 |
51 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; | 54 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; |
52 | ····invoke-virtual·{v5,·p1,·v2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z | 55 | ····invoke-virtual·{v5,·p1,·v2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
53 | ····move-result·v5 | 56 | ····move-result·v5 |
54 | ····if-nez·v5,·:cond_1 | 57 | ····if-nez·v5,·:cond_1 |
55 | ····.line·1 | 58 | ····.line·180 |
56 | ····:cond_3 | 59 | ····:cond_3 |
57 | ····move·v4,·v2 | 60 | ····move·v4,·v2 |
58 | ····.line·18 | 61 | ····.line·182 |
59 | ····.local·v4,·"whiteRunStart":I | 62 | ····.local·v4,·"whiteRunStart":I |
60 | ····:cond_4 | 63 | ····:cond_4 |
61 | ····add-int/lit8·v2,·v2,·-0x1 | 64 | ····add-int/lit8·v2,·v2,·-0x1 |
62 | ····.line·18 | 65 | ····.line·183 |
63 | ····if-lt·v2,·p3,·:cond_5 | 66 | ····if-lt·v2,·p3,·:cond_5 |
64 | ····if-eqz·p5,·:cond_a | 67 | ····if-eqz·p5,·:cond_a |
65 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; | 68 | ····iget-object·v5,·p0,·Lcom/google/zxing/common/detector/MonochromeRectangleDetector;->image:Lcom/google/zxing/common/BitMatrix; |
66 | ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z | 69 | ····invoke-virtual·{v5,·v2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
67 | ····move-result·v5 | 70 | ····move-result·v5 |
68 | ····if-eqz·v5,·:cond_4 | 71 | ····if-eqz·v5,·:cond_4 |
69 | ····.line·18 | 72 | ····.line·185 |
70 | ····:cond_5 | 73 | ····:cond_5 |
71 | ····:goto_1 | 74 | ····:goto_1 |
72 | ····sub-int·v3,·v4,·v2 | 75 | ····sub-int·v3,·v4,·v2 |
73 | ····.line·18 | 76 | ····.line·186 |
74 | ····.local·v3,·"whiteRunSize":I | 77 | ····.local·v3,·"whiteRunSize":I |
75 | ····if-lt·v2,·p3,·:cond_6 | 78 | ····if-lt·v2,·p3,·:cond_6 |
76 | ····if-le·v3,·p2,·:cond_0 | 79 | ····if-le·v3,·p2,·:cond_0 |
77 | ····.line·18 | 80 | ····.line·187 |
78 | ····:cond_6 | 81 | ····:cond_6 |
79 | ····move·v2,·v4 | 82 | ····move·v2,·v4 |
80 | ····.line·19 | 83 | ····.line·192 |
81 | ····.end·local·v3····#·"whiteRunSize":I | 84 | ····.end·local·v3····#·"whiteRunSize":I |
82 | ····.end·local·v4····#·"whiteRunStart":I | 85 | ····.end·local·v4····#·"whiteRunStart":I |
83 | ····:cond_7 | 86 | ····:cond_7 |
84 | ····add-int/lit8·v2,·v2,·0x1 | 87 | ····add-int/lit8·v2,·v2,·0x1 |
Max diff block lines reached; 15436/18537 bytes (83.27%) of diff not shown. |
Offset 119, 120 lines modified | Offset 119, 115 lines modified | ||
119 | ····.line·66 | 119 | ····.line·66 |
120 | ····iget-object·v0,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B | 120 | ····iget-object·v0,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B |
121 | ····return-object·v0 | 121 | ····return-object·v0 |
122 | .end·method | 122 | .end·method |
123 | .method·public·toString()Ljava/lang/String; | 123 | .method·public·toString()Ljava/lang/String; |
124 | ····.locals· | 124 | ····.locals·4 |
125 | ····.prologue | 125 | ····.prologue |
126 | ····const/16·v | 126 | ····const/16·v3,·0xa |
127 | ····.line·85 | 127 | ····.line·85 |
128 | ···· | 128 | ····iget-object·v1,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B |
129 | ···· | 129 | ····if-nez·v1,·:cond_0 |
130 | ···· | 130 | ····const/4·v0,·0x0 |
131 | ····.line·86 | 131 | ····.line·86 |
132 | ····.local·v0,·"dialogText":Ljava/lang/StringBuilder; | ||
133 | ···· | 132 | ····.local·v0,·"rawBytesLength":I |
133 | ····:goto_0 | ||
134 | ····new-instance·v1,·Ljava/lang/StringBuilder; | ||
134 | ····invoke- | 135 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
135 | ···· | 136 | ····const-string·v2,·"Format:·" |
136 | ····i | 137 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
137 | ···· | 138 | ····move-result-object·v1 |
138 | ····mo | 139 | ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->formatName:Ljava/lang/String; |
139 | ····invoke-virtual·{v | 140 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
140 | ····.line·87 | ||
141 | ···· | 141 | ····move-result-object·v1 |
142 | ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | ||
142 | ···· | 143 | ····move-result-object·v1 |
143 | ···· | 144 | ····const-string·v2,·"Contents:·" |
144 | ····i | 145 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
145 | ···· | 146 | ····move-result-object·v1 |
146 | ····mo | 147 | ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->contents:Ljava/lang/String; |
147 | ····invoke-virtual·{v | 148 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
149 | ····move-result-object·v1 | ||
148 | ····.line·88 | ||
149 | ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B | ||
150 | ····i | 150 | ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
151 | ···· | 151 | ····move-result-object·v1 |
152 | ····.line·89 | ||
153 | ····.local·v1,·"rawBytesLength":I | ||
154 | ····:goto_0 | ||
155 | ····const-string·v2,·"Raw·bytes:·(" | 152 | ····const-string·v2,·"Raw·bytes:·(" |
156 | ····invoke-virtual·{v | 153 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
157 | ····move-result-object·v2 | ||
158 | ···· | 154 | ····move-result-object·v1 |
159 | ···· | 155 | ····invoke-virtual·{v1,·v0},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
160 | ···· | 156 | ····move-result-object·v1 |
161 | ···· | 157 | ····const-string·v2,·"·bytes)\nOrientation:·" |
158 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
162 | ····.line·90 | ||
163 | ····const-string·v2,·"Orientation:·" | ||
164 | ···· | 159 | ····move-result-object·v1 |
165 | ····mo | 160 | ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->orientation:Ljava/lang/Integer; |
166 | ····i | 161 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
167 | ···· | 162 | ····move-result-object·v1 |
168 | ···· | 163 | ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
169 | ···· | 164 | ····move-result-object·v1 |
170 | ····.line·91 | ||
171 | ····const-string·v2,·"EC·level:·" | 165 | ····const-string·v2,·"EC·level:·" |
172 | ····invoke-virtual·{v | 166 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
173 | ····move-result-object·v | 167 | ····move-result-object·v1 |
174 | ····iget-object·v | 168 | ····iget-object·v2,·p0,·Lcom/google/zxing/integration/android/IntentResult;->errorCorrectionLevel:Ljava/lang/String; |
175 | ····invoke-virtual·{v | 169 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
176 | ····move-result-object·v | 170 | ····move-result-object·v1 |
177 | ····invoke-virtual·{v | 171 | ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; |
172 | ····move-result-object·v1 | ||
178 | ····.line·92 | ||
179 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | ||
180 | ···· | 173 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
181 | ····re | 174 | ····move-result-object·v1 |
175 | ····return-object·v1 | ||
182 | ····.line·8 | 176 | ····.line·85 |
183 | ····.end·local·v | 177 | ····.end·local·v0····#·"rawBytesLength":I |
184 | ····:cond_0 | 178 | ····:cond_0 |
185 | ····iget-object·v | 179 | ····iget-object·v1,·p0,·Lcom/google/zxing/integration/android/IntentResult;->rawBytes:[B |
186 | ····array-length·v | 180 | ····array-length·v0,·v1 |
Max diff block lines reached; 13/6682 bytes (0.19%) of diff not shown. |
Offset 25, 156 lines modified | Offset 25, 156 lines modified | ||
25 | ····.locals·19 | 25 | ····.locals·19 |
26 | ····.param·p0,·"code"····#·Lcom/google/zxing/qrcode/encoder/QRCode; | 26 | ····.param·p0,·"code"····#·Lcom/google/zxing/qrcode/encoder/QRCode; |
27 | ····.param·p1,·"width"····#·I | 27 | ····.param·p1,·"width"····#·I |
28 | ····.param·p2,·"height"····#·I | 28 | ····.param·p2,·"height"····#·I |
29 | ····.param·p3,·"quietZone"····#·I | 29 | ····.param·p3,·"quietZone"····#·I |
30 | ····.prologue | 30 | ····.prologue |
31 | ····.line·8 | 31 | ····.line·85 |
32 | ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/encoder/QRCode;->getMatrix()Lcom/google/zxing/qrcode/encoder/ByteMatrix; | 32 | ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/encoder/QRCode;->getMatrix()Lcom/google/zxing/qrcode/encoder/ByteMatrix; |
33 | ····move-result-object·v2 | 33 | ····move-result-object·v2 |
34 | ····.line·8 | 34 | ····.line·86 |
35 | ····.local·v2,·"input":Lcom/google/zxing/qrcode/encoder/ByteMatrix; | 35 | ····.local·v2,·"input":Lcom/google/zxing/qrcode/encoder/ByteMatrix; |
36 | ····if-nez·v2,·:cond_0 | 36 | ····if-nez·v2,·:cond_0 |
37 | ····.line·8 | 37 | ····.line·87 |
38 | ····new-instance·v17,·Ljava/lang/IllegalStateException; | 38 | ····new-instance·v17,·Ljava/lang/IllegalStateException; |
39 | ····invoke-direct/range·{v17·..·v17},·Ljava/lang/IllegalStateException;-><init>()V | 39 | ····invoke-direct/range·{v17·..·v17},·Ljava/lang/IllegalStateException;-><init>()V |
40 | ····throw·v17 | 40 | ····throw·v17 |
41 | ····.line· | 41 | ····.line·89 |
42 | ····:cond_0 | 42 | ····:cond_0 |
43 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I | 43 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I |
44 | ····move-result·v4 | 44 | ····move-result·v4 |
45 | ····.line·9 | 45 | ····.line·90 |
46 | ····.local·v4,·"inputWidth":I | 46 | ····.local·v4,·"inputWidth":I |
47 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I | 47 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I |
48 | ····move-result·v3 | 48 | ····move-result·v3 |
49 | ····.line·9 | 49 | ····.line·91 |
50 | ····.local·v3,·"inputHeight":I | 50 | ····.local·v3,·"inputHeight":I |
51 | ···· | 51 | ····shl-int/lit8·v17,·p3,·0x1 |
52 | ····add-int·v15,·v4,·v17 | 52 | ····add-int·v15,·v4,·v17 |
53 | ····.line·9 | 53 | ····.line·92 |
54 | ····.local·v15,·"qrWidth":I | 54 | ····.local·v15,·"qrWidth":I |
55 | ···· | 55 | ····shl-int/lit8·v17,·p3,·0x1 |
56 | ····add-int·v14,·v3,·v17 | 56 | ····add-int·v14,·v3,·v17 |
57 | ····.line·9 | 57 | ····.line·93 |
58 | ····.local·v14,·"qrHeight":I | 58 | ····.local·v14,·"qrHeight":I |
59 | ····move/from16·v0,·p1 | 59 | ····move/from16·v0,·p1 |
60 | ····invoke-static·{v0,·v15},·Ljava/lang/Math;->max(II)I | 60 | ····invoke-static·{v0,·v15},·Ljava/lang/Math;->max(II)I |
61 | ····move-result·v11 | 61 | ····move-result·v11 |
62 | ····.line·9 | 62 | ····.line·94 |
63 | ····.local·v11,·"outputWidth":I | 63 | ····.local·v11,·"outputWidth":I |
64 | ····move/from16·v0,·p2 | 64 | ····move/from16·v0,·p2 |
65 | ····invoke-static·{v0,·v14},·Ljava/lang/Math;->max(II)I | 65 | ····invoke-static·{v0,·v14},·Ljava/lang/Math;->max(II)I |
66 | ····move-result·v10 | 66 | ····move-result·v10 |
67 | ····.line·9 | 67 | ····.line·96 |
68 | ····.local·v10,·"outputHeight":I | 68 | ····.local·v10,·"outputHeight":I |
69 | ····div-int·v17,·v11,·v15 | 69 | ····div-int·v17,·v11,·v15 |
70 | ····div-int·v18,·v10,·v14 | 70 | ····div-int·v18,·v10,·v14 |
71 | ····invoke-static/range·{v17·..·v18},·Ljava/lang/Math;->min(II)I | 71 | ····invoke-static/range·{v17·..·v18},·Ljava/lang/Math;->min(II)I |
72 | ····move-result·v8 | 72 | ····move-result·v8 |
73 | ····.line·10 | 73 | ····.line·101 |
74 | ····.local·v8,·"multiple":I | 74 | ····.local·v8,·"multiple":I |
75 | ····mul-int·v17,·v4,·v8 | 75 | ····mul-int·v17,·v4,·v8 |
76 | ····sub-int·v17,·v11,·v17 | 76 | ····sub-int·v17,·v11,·v17 |
77 | ····div-int/lit8·v7,·v17,·0x2 | 77 | ····div-int/lit8·v7,·v17,·0x2 |
78 | ····.line·10 | 78 | ····.line·102 |
79 | ····.local·v7,·"leftPadding":I | 79 | ····.local·v7,·"leftPadding":I |
80 | ····mul-int·v17,·v3,·v8 | 80 | ····mul-int·v17,·v3,·v8 |
81 | ····sub-int·v17,·v10,·v17 | 81 | ····sub-int·v17,·v10,·v17 |
82 | ····div-int/lit8·v16,·v17,·0x2 | 82 | ····div-int/lit8·v16,·v17,·0x2 |
83 | ····.line·10 | 83 | ····.line·104 |
84 | ····.local·v16,·"topPadding":I | 84 | ····.local·v16,·"topPadding":I |
85 | ····new-instance·v9,·Lcom/google/zxing/common/BitMatrix; | 85 | ····new-instance·v9,·Lcom/google/zxing/common/BitMatrix; |
86 | ····invoke-direct·{v9,·v11,·v10},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V | 86 | ····invoke-direct·{v9,·v11,·v10},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V |
87 | ····.line·10 | 87 | ····.line·106 |
88 | ····.local·v9,·"output":Lcom/google/zxing/common/BitMatrix; | 88 | ····.local·v9,·"output":Lcom/google/zxing/common/BitMatrix; |
89 | ····const/4·v6,·0x0 | 89 | ····const/4·v6,·0x0 |
90 | ····.local·v6,·"inputY":I | 90 | ····.local·v6,·"inputY":I |
91 | ····move/from16·v13,·v16 | 91 | ····move/from16·v13,·v16 |
92 | ····.local·v13,·"outputY":I | 92 | ····.local·v13,·"outputY":I |
93 | ····:goto_0 | 93 | ····:goto_0 |
94 | ····if-ge·v6,·v3,·:cond_3 | 94 | ····if-ge·v6,·v3,·:cond_3 |
95 | ····.line·1 | 95 | ····.line·108 |
96 | ····const/4·v5,·0x0 | 96 | ····const/4·v5,·0x0 |
97 | ····.local·v5,·"inputX":I | 97 | ····.local·v5,·"inputX":I |
98 | ····move·v12,·v7 | 98 | ····move·v12,·v7 |
99 | ····.local·v12,·"outputX":I | 99 | ····.local·v12,·"outputX":I |
100 | ····:goto_1 | 100 | ····:goto_1 |
101 | ····if-ge·v5,·v4,·:cond_2 | 101 | ····if-ge·v5,·v4,·:cond_2 |
102 | ····.line·1 | 102 | ····.line·109 |
103 | ····invoke-virtual·{v2,·v5,·v6},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B | 103 | ····invoke-virtual·{v2,·v5,·v6},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B |
104 | ····move-result·v17 | 104 | ····move-result·v17 |
105 | ····const/16·v18,·0x1 | 105 | ····const/16·v18,·0x1 |
106 | ····move/from16·v0,·v17 | 106 | ····move/from16·v0,·v17 |
107 | ····move/from16·v1,·v18 | 107 | ····move/from16·v1,·v18 |
Max diff block lines reached; 9673/12735 bytes (75.96%) of diff not shown. |
Offset 140, 15 lines modified | Offset 140, 31 lines modified | ||
140 | ····if-eq·v0,·v1,·:cond_4 | 140 | ····if-eq·v0,·v1,·:cond_4 |
141 | ····.line·141 | 141 | ····.line·141 |
142 | ····sub-int·v18,·v3,·v15 | 142 | ····sub-int·v18,·v3,·v15 |
143 | ····add-int·v13,·v5,·v18 | 143 | ····add-int·v13,·v5,·v18 |
144 | ····.line·142 | ||
145 | ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/common/BitMatrix;->getWidth()I | ||
146 | ····move-result·v18 | ||
147 | ····move/from16·v0,·v18 | ||
148 | ····if-lt·v13,·v0,·:cond_4 | ||
144 | ····.line·144 | 149 | ····.line·144 |
150 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | ||
151 | ····move-result-object·v18 | ||
152 | ····throw·v18 | ||
153 | ····.line·148 | ||
145 | ····:cond_4 | 154 | ····:cond_4 |
146 | ····sub-int·v18,·v13,·v5 | 155 | ····sub-int·v18,·v13,·v5 |
147 | ····add-int/lit8·v18,·v18,·0x1 | 156 | ····add-int/lit8·v18,·v18,·0x1 |
148 | ····move/from16·v0,·v18 | 157 | ····move/from16·v0,·v18 |
Offset 158, 15 lines modified | Offset 174, 15 lines modified | ||
158 | ····div-float·v18,·v18,·v9 | 174 | ····div-float·v18,·v18,·v9 |
159 | ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I | 175 | ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I |
160 | ····move-result·v8 | 176 | ····move-result·v8 |
161 | ····.line·14 | 177 | ····.line·149 |
162 | ····.local·v8,·"matrixWidth":I | 178 | ····.local·v8,·"matrixWidth":I |
163 | ····sub-int·v18,·v3,·v15 | 179 | ····sub-int·v18,·v3,·v15 |
164 | ····add-int/lit8·v18,·v18,·0x1 | 180 | ····add-int/lit8·v18,·v18,·0x1 |
165 | ····move/from16·v0,·v18 | 181 | ····move/from16·v0,·v18 |
Offset 176, 57 lines modified | Offset 192, 57 lines modified | ||
176 | ····div-float·v18,·v18,·v9 | 192 | ····div-float·v18,·v18,·v9 |
177 | ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I | 193 | ····invoke-static/range·{v18·..·v18},·Ljava/lang/Math;->round(F)I |
178 | ····move-result·v7 | 194 | ····move-result·v7 |
179 | ····.line·1 | 195 | ····.line·150 |
180 | ····.local·v7,·"matrixHeight":I | 196 | ····.local·v7,·"matrixHeight":I |
181 | ····if-lez·v8,·:cond_5 | 197 | ····if-lez·v8,·:cond_5 |
182 | ····if-gtz·v7,·:cond_6 | 198 | ····if-gtz·v7,·:cond_6 |
183 | ····.line·1 | 199 | ····.line·151 |
184 | ····:cond_5 | 200 | ····:cond_5 |
185 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 201 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
186 | ····move-result-object·v18 | 202 | ····move-result-object·v18 |
187 | ····throw·v18 | 203 | ····throw·v18 |
188 | ····.line·1 | 204 | ····.line·153 |
189 | ····:cond_6 | 205 | ····:cond_6 |
190 | ····if-eq·v7,·v8,·:cond_7 | 206 | ····if-eq·v7,·v8,·:cond_7 |
191 | ····.line·15 | 207 | ····.line·155 |
192 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 208 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
193 | ····move-result-object·v18 | 209 | ····move-result-object·v18 |
194 | ····throw·v18 | 210 | ····throw·v18 |
195 | ····.line·1 | 211 | ····.line·161 |
196 | ····:cond_7 | 212 | ····:cond_7 |
197 | ····const/high16·v18,·0x40000000····#·2.0f | 213 | ····const/high16·v18,·0x40000000····#·2.0f |
198 | ····div-float·v18,·v9,·v18 | 214 | ····div-float·v18,·v9,·v18 |
199 | ····move/from16·v0,·v18 | 215 | ····move/from16·v0,·v18 |
200 | ····float-to-int·v10,·v0 | 216 | ····float-to-int·v10,·v0 |
201 | ····.line·1 | 217 | ····.line·162 |
202 | ····.local·v10,·"nudge":I | 218 | ····.local·v10,·"nudge":I |
203 | ····add-int/2addr·v15,·v10 | 219 | ····add-int/2addr·v15,·v10 |
204 | ····.line·1 | 220 | ····.line·163 |
205 | ····add-int/2addr·v5,·v10 | 221 | ····add-int/2addr·v5,·v10 |
206 | ····.line·16 | 222 | ····.line·168 |
207 | ····add-int/lit8·v18,·v8,·-0x1 | 223 | ····add-int/lit8·v18,·v8,·-0x1 |
208 | ····move/from16·v0,·v18 | 224 | ····move/from16·v0,·v18 |
209 | ····int-to-float·v0,·v0 | 225 | ····int-to-float·v0,·v0 |
210 | ····move/from16·v18,·v0 | 226 | ····move/from16·v18,·v0 |
Offset 239, 33 lines modified | Offset 255, 33 lines modified | ||
239 | ····move/from16·v18,·v0 | 255 | ····move/from16·v18,·v0 |
240 | ····add-int·v18,·v18,·v5 | 256 | ····add-int·v18,·v18,·v5 |
241 | ····sub-int·v12,·v18,·v13 | 257 | ····sub-int·v12,·v18,·v13 |
242 | ····.line·16 | 258 | ····.line·169 |
243 | ····.local·v12,·"nudgedTooFarRight":I | 259 | ····.local·v12,·"nudgedTooFarRight":I |
244 | ····if-lez·v12,·:cond_9 | 260 | ····if-lez·v12,·:cond_9 |
245 | ····.line·1 | 261 | ····.line·170 |
246 | ····if-le·v12,·v10,·:cond_8 | 262 | ····if-le·v12,·v10,·:cond_8 |
247 | ····.line·1 | 263 | ····.line·172 |
248 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 264 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
249 | ····move-result-object·v18 | 265 | ····move-result-object·v18 |
250 | ····throw·v18 | 266 | ····throw·v18 |
Max diff block lines reached; 4731/7343 bytes (64.43%) of diff not shown. |
Offset 370, 15 lines modified | Offset 370, 15 lines modified | ||
370 | ····move·v6,·v3 | 370 | ····move·v6,·v3 |
371 | ····.restart·local·v6····#·"sourceBottomRightY":F | 371 | ····.restart·local·v6····#·"sourceBottomRightY":F |
372 | ····goto·:goto_0 | 372 | ····goto·:goto_0 |
373 | .end·method | 373 | .end·method |
374 | .method·private·static·sampleGrid(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/common/PerspectiveTransform;I)Lcom/google/zxing/common/BitMatrix; | 374 | .method·private·static·sampleGrid(Lcom/google/zxing/common/BitMatrix;Lcom/google/zxing/common/PerspectiveTransform;I)Lcom/google/zxing/common/BitMatrix; |
375 | ····.locals· | 375 | ····.locals·1 |
376 | ····.param·p0,·"image"····#·Lcom/google/zxing/common/BitMatrix; | 376 | ····.param·p0,·"image"····#·Lcom/google/zxing/common/BitMatrix; |
377 | ····.param·p1,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform; | 377 | ····.param·p1,·"transform"····#·Lcom/google/zxing/common/PerspectiveTransform; |
378 | ····.param·p2,·"dimension"····#·I | 378 | ····.param·p2,·"dimension"····#·I |
379 | ····.annotation·system·Ldalvik/annotation/Throws; | 379 | ····.annotation·system·Ldalvik/annotation/Throws; |
380 | ········value·=·{ | 380 | ········value·=·{ |
381 | ············Lcom/google/zxing/NotFoundException; | 381 | ············Lcom/google/zxing/NotFoundException; |
382 | ········} | 382 | ········} |
Offset 387, 20 lines modified | Offset 387, 19 lines modified | ||
387 | ····.prologue | 387 | ····.prologue |
388 | ····.line·190 | 388 | ····.line·190 |
389 | ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler; | 389 | ····invoke-static·{},·Lcom/google/zxing/common/GridSampler;->getInstance()Lcom/google/zxing/common/GridSampler; |
390 | ····move-result-object·v0 | 390 | ····move-result-object·v0 |
391 | ····.line·191 | 391 | ····.line·191 |
392 | ····.local·v0,·"sampler":Lcom/google/zxing/common/GridSampler; | ||
393 | ····invoke-virtual·{v0,·p0,·p2,·p2,·p1},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix; | 392 | ····invoke-virtual·{v0,·p0,·p2,·p2,·p1},·Lcom/google/zxing/common/GridSampler;->sampleGrid(Lcom/google/zxing/common/BitMatrix;IILcom/google/zxing/common/PerspectiveTransform;)Lcom/google/zxing/common/BitMatrix; |
394 | ····move-result-object·v | 393 | ····move-result-object·v0 |
395 | ····return-object·v | 394 | ····return-object·v0 |
396 | .end·method | 395 | .end·method |
397 | .method·private·sizeOfBlackWhiteBlackRun(IIII)F | 396 | .method·private·sizeOfBlackWhiteBlackRun(IIII)F |
398 | ····.locals·19 | 397 | ····.locals·19 |
399 | ····.param·p1,·"fromX"····#·I | 398 | ····.param·p1,·"fromX"····#·I |
400 | ····.param·p2,·"fromY"····#·I | 399 | ····.param·p2,·"fromY"····#·I |
401 | ····.param·p3,·"toX"····#·I | 400 | ····.param·p3,·"toX"····#·I |
Offset 512, 15 lines modified | Offset 511, 15 lines modified | ||
512 | ····move/from16·v12,·p1 | 511 | ····move/from16·v12,·p1 |
513 | ····.local·v12,·"x":I | 512 | ····.local·v12,·"x":I |
514 | ····move/from16·v15,·p2 | 513 | ····move/from16·v15,·p2 |
515 | ····.local·v15,·"y":I | 514 | ····.local·v15,·"y":I |
516 | ····:goto_3 | 515 | ····:goto_3 |
517 | ····if-eq·v12,·v13,·:cond_ | 516 | ····if-eq·v12,·v13,·:cond_a |
518 | ····.line·330 | 517 | ····.line·330 |
519 | ····if-eqz·v10,·:cond_4 | 518 | ····if-eqz·v10,·:cond_4 |
520 | ····move·v7,·v15 | 519 | ····move·v7,·v15 |
521 | ····.line·331 | 520 | ····.line·331 |
Offset 645, 30 lines modified | Offset 644, 42 lines modified | ||
645 | ····add-int/lit8·v9,·v9,·0x1 | 644 | ····add-int/lit8·v9,·v9,·0x1 |
646 | ····.line·343 | 645 | ····.line·343 |
647 | ····:cond_8 | 646 | ····:cond_8 |
648 | ····add-int/2addr·v6,·v5 | 647 | ····add-int/2addr·v6,·v5 |
649 | ····.line·344 | 648 | ····.line·344 |
650 | ····if-lez·v6,·:cond_ | 649 | ····if-lez·v6,·:cond_9 |
651 | ····.line·345 | 650 | ····.line·345 |
652 | ····move/from16·v0,·p4 | 651 | ····move/from16·v0,·p4 |
653 | ····if- | 652 | ····if-eq·v15,·v0,·:cond_a |
653 | ····.line·348 | ||
654 | ····add-int·v15,·v15,·v16 | ||
655 | ····.line·349 | ||
656 | ····sub-int/2addr·v6,·v4 | ||
657 | ····.line·329 | ||
658 | ····:cond_9 | ||
659 | ····add-int/2addr·v12,·v14 | ||
660 | ····goto·:goto_3 | ||
654 | ····.line·355 | 661 | ····.line·355 |
655 | ····.end·local·v7····#·"realX":I | 662 | ····.end·local·v7····#·"realX":I |
656 | ····.end·local·v8····#·"realY":I | 663 | ····.end·local·v8····#·"realY":I |
657 | ····:cond_ | 664 | ····:cond_a |
658 | ····const/16·v17,·0x2 | 665 | ····const/16·v17,·0x2 |
659 | ····move/from16·v0,·v17 | 666 | ····move/from16·v0,·v17 |
660 | ····if-ne·v9,·v0,·:cond_ | 667 | ····if-ne·v9,·v0,·:cond_b |
661 | ····.line·356 | 668 | ····.line·356 |
662 | ····add-int·v17,·p3,·v14 | 669 | ····add-int·v17,·p3,·v14 |
663 | ····move/from16·v0,·v17 | 670 | ····move/from16·v0,·v17 |
664 | ····move/from16·v1,·p4 | 671 | ····move/from16·v1,·p4 |
Offset 679, 33 lines modified | Offset 690, 16 lines modified | ||
679 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/google/zxing/common/detector/MathUtils;->distance(IIII)F | 690 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/google/zxing/common/detector/MathUtils;->distance(IIII)F |
680 | ····move-result·v17 | 691 | ····move-result·v17 |
681 | ····goto·:goto_7 | 692 | ····goto·:goto_7 |
682 | ····.line·348 | ||
683 | ····.restart·local·v7····#·"realX":I | ||
684 | ····.restart·local·v8····#·"realY":I | ||
685 | ····:cond_a | ||
686 | ····add-int·v15,·v15,·v16 | ||
687 | ····.line·349 | ||
688 | ····sub-int/2addr·v6,·v4 | ||
689 | ····.line·329 | ||
690 | ····:cond_b | ||
691 | ····add-int/2addr·v12,·v14 | ||
692 | ····goto·:goto_3 | ||
693 | ····.line·359 | 693 | ····.line·359 |
694 | ····.end·local·v7····#·"realX":I | ||
695 | ····.end·local·v8····#·"realY":I | ||
696 | ····:cond_ | 694 | ····:cond_b |
697 | ····const/high16·v17,·0x7fc00000····#·Float.NaN | 695 | ····const/high16·v17,·0x7fc00000····#·Float.NaN |
698 | ····goto·:goto_7 | 696 | ····goto·:goto_7 |
699 | .end·method | 697 | .end·method |
Max diff block lines reached; 9928/13002 bytes (76.36%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$CenterComparator; | 1 | .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$CenterComparator; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"FinderPatternFinder.java" | 3 | .source·"FinderPatternFinder.java" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/util/Comparator; | ||
6 | .implements·Ljava/io/Serializable; | 5 | .implements·Ljava/io/Serializable; |
6 | .implements·Ljava/util/Comparator; | ||
7 | #·annotations | 7 | #·annotations |
8 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 8 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
9 | ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder; | 9 | ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder; |
10 | .end·annotation | 10 | .end·annotation |
Offset 16, 19 lines modified | Offset 16, 19 lines modified | ||
16 | ····accessFlags·=·0x1a | 16 | ····accessFlags·=·0x1a |
17 | ····name·=·"CenterComparator" | 17 | ····name·=·"CenterComparator" |
18 | .end·annotation | 18 | .end·annotation |
19 | .annotation·system·Ldalvik/annotation/Signature; | 19 | .annotation·system·Ldalvik/annotation/Signature; |
20 | ····value·=·{ | 20 | ····value·=·{ |
21 | ········"Ljava/lang/Object;", | 21 | ········"Ljava/lang/Object;", |
22 | ········"Ljava/io/Serializable;", | ||
22 | ········"Ljava/util/Comparator", | 23 | ········"Ljava/util/Comparator", |
23 | ········"<", | 24 | ········"<", |
24 | ········"Lcom/google/zxing/qrcode/detector/FinderPattern;", | 25 | ········"Lcom/google/zxing/qrcode/detector/FinderPattern;", |
25 | ········">;" | 26 | ········">;" |
26 | ········"Ljava/io/Serializable;" | ||
27 | ····} | 27 | ····} |
28 | .end·annotation | 28 | .end·annotation |
29 | #·instance·fields | 29 | #·instance·fields |
30 | .field·private·final·average:F | 30 | .field·private·final·average:F |
Offset 666, 19 lines modified | Offset 666, 19 lines modified | ||
666 | ····if-eqz·v10,·:cond_6 | 666 | ····if-eqz·v10,·:cond_6 |
667 | ····.line·112 | 667 | ····.line·112 |
668 | ····if-ne·v1,·v13,·:cond_2 | 668 | ····if-ne·v1,·v13,·:cond_2 |
669 | ····.line·113 | 669 | ····.line·113 |
670 | ····aget·v10,·v9,·v1 | 670 | ····aget·v10,·v9,·v13 |
671 | ····add-int/lit8·v10,·v10,·0x1 | 671 | ····add-int/lit8·v10,·v10,·0x1 |
672 | ····aput·v10,·v9,·v1 | 672 | ····aput·v10,·v9,·v13 |
673 | ····.line·136 | 673 | ····.line·136 |
674 | ····:goto_4 | 674 | ····:goto_4 |
675 | ····add-int/lit8·v5,·v5,·0x1 | 675 | ····add-int/lit8·v5,·v5,·0x1 |
676 | ····goto·:goto_3 | 676 | ····goto·:goto_3 |
Offset 122, 15 lines modified | Offset 122, 15 lines modified | ||
122 | ····sub-float/2addr·v0,·v1 | 122 | ····sub-float/2addr·v0,·v1 |
123 | ····return·v0 | 123 | ····return·v0 |
124 | .end·method | 124 | .end·method |
125 | .method·private·crossCheckDiagonal(IIII)Z | 125 | .method·private·crossCheckDiagonal(IIII)Z |
126 | ····.locals· | 126 | ····.locals·7 |
127 | ····.param·p1,·"startI"····#·I | 127 | ····.param·p1,·"startI"····#·I |
128 | ····.param·p2,·"centerJ"····#·I | 128 | ····.param·p2,·"centerJ"····#·I |
129 | ····.param·p3,·"maxCount"····#·I | 129 | ····.param·p3,·"maxCount"····#·I |
130 | ····.param·p4,·"originalStateCountTotal"····#·I | 130 | ····.param·p4,·"originalStateCountTotal"····#·I |
131 | ····.prologue | 131 | ····.prologue |
132 | ····.line·244 | 132 | ····.line·244 |
Offset 145, 413 lines modified | Offset 145, 413 lines modified | ||
145 | ····.line·248 | 145 | ····.line·248 |
146 | ····.local·v0,·"i":I | 146 | ····.local·v0,·"i":I |
147 | ····:goto_0 | 147 | ····:goto_0 |
148 | ····if-lt·p1,·v0,·:cond_0 | 148 | ····if-lt·p1,·v0,·:cond_0 |
149 | ····if-lt·p2,·v0,·:cond_0 | 149 | ····if-lt·p2,·v0,·:cond_0 |
150 | ····iget-object·v | 150 | ····iget-object·v4,·p0,·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;->image:Lcom/google/zxing/common/BitMatrix; |
151 | ····sub-int·v | 151 | ····sub-int·v5,·p2,·v0 |
152 | ····sub-int·v | 152 | ····sub-int·v6,·p1,·v0 |
153 | ····invoke-virtual·{v | 153 | ····invoke-virtual·{v4,·v5,·v6},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
154 | ····move-result·v | 154 | ····move-result·v4 |
155 | ····if-eqz·v | 155 | ····if-eqz·v4,·:cond_0 |
156 | ····.line·249 | 156 | ····.line·249 |
157 | ····const/4·v | 157 | ····const/4·v4,·0x2 |
158 | ····aget·v | 158 | ····aget·v5,·v3,·v4 |
159 | ····add-int/lit8·v | 159 | ····add-int/lit8·v5,·v5,·0x1 |
160 | ····aput·v | 160 | ····aput·v5,·v3,·v4 |
161 | ····.line·250 | 161 | ····.line·250 |
162 | ····add-int/lit8·v0,·v0,·0x1 | 162 | ····add-int/lit8·v0,·v0,·0x1 |
163 | ····goto·:goto_0 | 163 | ····goto·:goto_0 |
164 | ····.line·253 | 164 | ····.line·253 |
165 | ····:cond_0 | 165 | ····:cond_0 |
166 | ····if-lt·p1,·v0,·:cond_1 | 166 | ····if-lt·p1,·v0,·:cond_1 |
167 | ····if-ge·p2,·v0,·:cond_2 | 167 | ····if-ge·p2,·v0,·:cond_2 |
168 | ····.line·254 | 168 | ····.line·254 |
169 | ····:cond_1 | 169 | ····:cond_1 |
170 | ····const/4·v | 170 | ····const/4·v4,·0x0 |
171 | ····.line·319 | 171 | ····.line·319 |
172 | ····:goto_1 | 172 | ····:goto_1 |
173 | ····return·v | 173 | ····return·v4 |
174 | ····.line·258 | 174 | ····.line·258 |
175 | ····:cond_2 | 175 | ····:cond_2 |
176 | ····:goto_2 | 176 | ····:goto_2 |
177 | ····if-lt·p1,·v0,·:cond_3 | 177 | ····if-lt·p1,·v0,·:cond_3 |
178 | ····if-lt·p2,·v0,·:cond_3 | 178 | ····if-lt·p2,·v0,·:cond_3 |
179 | ····iget-object·v | 179 | ····iget-object·v4,·p0,·Lcom/google/zxing/qrcode/detector/FinderPatternFinder;->image:Lcom/google/zxing/common/BitMatrix; |
180 | ····sub-int·v | 180 | ····sub-int·v5,·p2,·v0 |
181 | ····sub-int·v | 181 | ····sub-int·v6,·p1,·v0 |
182 | ····invoke-virtual·{v | 182 | ····invoke-virtual·{v4,·v5,·v6},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
183 | ····move-result·v | 183 | ····move-result·v4 |
184 | ····if-nez·v | 184 | ····if-nez·v4,·:cond_3 |
185 | ····const/4·v | 185 | ····const/4·v4,·0x1 |
186 | ····aget·v | 186 | ····aget·v4,·v3,·v4 |
187 | ····if-gt·v | 187 | ····if-gt·v4,·p3,·:cond_3 |
188 | ····.line·260 | 188 | ····.line·260 |
189 | ····const/4·v | 189 | ····const/4·v4,·0x1 |
190 | ····aget·v | 190 | ····aget·v5,·v3,·v4 |
191 | ····add-int/lit8·v | 191 | ····add-int/lit8·v5,·v5,·0x1 |
192 | ····aput·v | 192 | ····aput·v5,·v3,·v4 |
193 | ····.line·261 | 193 | ····.line·261 |
194 | ····add-int/lit8·v0,·v0,·0x1 | 194 | ····add-int/lit8·v0,·v0,·0x1 |
195 | ····goto·:goto_2 | 195 | ····goto·:goto_2 |
196 | ····.line·265 | 196 | ····.line·265 |
197 | ····:cond_3 | 197 | ····:cond_3 |
198 | ····if-lt·p1,·v0,·:cond_4 | 198 | ····if-lt·p1,·v0,·:cond_4 |
199 | ····if-lt·p2,·v0,·:cond_4 | 199 | ····if-lt·p2,·v0,·:cond_4 |
200 | ····const/4·v | 200 | ····const/4·v4,·0x1 |
201 | ····aget·v | 201 | ····aget·v4,·v3,·v4 |
202 | ····if-le·v | 202 | ····if-le·v4,·p3,·:cond_5 |
203 | ····.line·266 | 203 | ····.line·266 |
204 | ····:cond_4 | 204 | ····:cond_4 |
205 | ····const/4·v | 205 | ····const/4·v4,·0x0 |
206 | ····goto·:goto_1 | 206 | ····goto·:goto_1 |
207 | ····.line·270 | 207 | ····.line·270 |
208 | ····:cond_5 | 208 | ····:cond_5 |
209 | ····:goto_3 | 209 | ····:goto_3 |
210 | ····if-lt·p1,·v0,·:cond_6 | 210 | ····if-lt·p1,·v0,·:cond_6 |
211 | ····if-lt·p2,·v0,·:cond_6 | 211 | ····if-lt·p2,·v0,·:cond_6 |
Max diff block lines reached; 48181/51536 bytes (93.49%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$FurthestFromAverageComparator; | 1 | .class·final·Lcom/google/zxing/qrcode/detector/FinderPatternFinder$FurthestFromAverageComparator; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"FinderPatternFinder.java" | 3 | .source·"FinderPatternFinder.java" |
4 | #·interfaces | 4 | #·interfaces |
5 | .implements·Ljava/util/Comparator; | ||
6 | .implements·Ljava/io/Serializable; | 5 | .implements·Ljava/io/Serializable; |
6 | .implements·Ljava/util/Comparator; | ||
7 | #·annotations | 7 | #·annotations |
8 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 8 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
9 | ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder; | 9 | ····value·=·Lcom/google/zxing/qrcode/detector/FinderPatternFinder; |
10 | .end·annotation | 10 | .end·annotation |
Offset 16, 19 lines modified | Offset 16, 19 lines modified | ||
16 | ····accessFlags·=·0x1a | 16 | ····accessFlags·=·0x1a |
17 | ····name·=·"FurthestFromAverageComparator" | 17 | ····name·=·"FurthestFromAverageComparator" |
18 | .end·annotation | 18 | .end·annotation |
19 | .annotation·system·Ldalvik/annotation/Signature; | 19 | .annotation·system·Ldalvik/annotation/Signature; |
20 | ····value·=·{ | 20 | ····value·=·{ |
21 | ········"Ljava/lang/Object;", | 21 | ········"Ljava/lang/Object;", |
22 | ········"Ljava/io/Serializable;", | ||
22 | ········"Ljava/util/Comparator", | 23 | ········"Ljava/util/Comparator", |
23 | ········"<", | 24 | ········"<", |
24 | ········"Lcom/google/zxing/qrcode/detector/FinderPattern;", | 25 | ········"Lcom/google/zxing/qrcode/detector/FinderPattern;", |
25 | ········">;" | 26 | ········">;" |
26 | ········"Ljava/io/Serializable;" | ||
27 | ····} | 27 | ····} |
28 | .end·annotation | 28 | .end·annotation |
29 | #·instance·fields | 29 | #·instance·fields |
30 | .field·private·final·average:F | 30 | .field·private·final·average:F |
Offset 1, 159 lines modified | Offset 1, 241 lines modified | ||
1 | .class·abstract·Lcom/google/zxing/qrcode/decoder/DataMask; | 1 | .class·abstract·enum·Lcom/google/zxing/qrcode/decoder/DataMask; |
2 | .super·Ljava/lang/ | 2 | .super·Ljava/lang/Enum; |
3 | .source·"DataMask.java" | 3 | .source·"DataMask.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/ | 5 | .annotation·system·Ldalvik/annotation/Signature; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········"Ljava/lang/Enum", | ||
8 | ········"<", | ||
7 | ········Lcom/google/zxing/qrcode/decoder/ | 9 | ········"Lcom/google/zxing/qrcode/decoder/DataMask;", |
10 | ········">;" | ||
8 | ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask110;, | ||
9 | ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask101;, | ||
10 | ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask100;, | ||
11 | ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask011;, | ||
12 | ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask010;, | ||
13 | ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask001;, | ||
14 | ········Lcom/google/zxing/qrcode/decoder/DataMask$DataMask000; | ||
15 | ····} | 11 | ····} |
16 | .end·annotation | 12 | .end·annotation |
17 | #·static·fields | 13 | #·static·fields |
14 | .field·private·static·final·synthetic·$VALUES:[Lcom/google/zxing/qrcode/decoder/DataMask; | ||
18 | .field·p | 15 | .field·public·static·final·enum·DATA_MASK_000:Lcom/google/zxing/qrcode/decoder/DataMask; |
16 | .field·public·static·final·enum·DATA_MASK_001:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
17 | .field·public·static·final·enum·DATA_MASK_010:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
18 | .field·public·static·final·enum·DATA_MASK_011:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
19 | .field·public·static·final·enum·DATA_MASK_100:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
20 | .field·public·static·final·enum·DATA_MASK_101:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
21 | .field·public·static·final·enum·DATA_MASK_110:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
22 | .field·public·static·final·enum·DATA_MASK_111:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
19 | #·direct·methods | 23 | #·direct·methods |
20 | .method·static·constructor·<clinit>()V | 24 | .method·static·constructor·<clinit>()V |
21 | ····.locals· | 25 | ····.locals·8 |
22 | ····.prologue | 26 | ····.prologue |
27 | ····const/4·v7,·0x4 | ||
28 | ····const/4·v6,·0x3 | ||
29 | ····const/4·v5,·0x2 | ||
30 | ····const/4·v4,·0x1 | ||
23 | ····const/4·v3,·0x0 | 31 | ····const/4·v3,·0x0 |
24 | ····.line·3 | 32 | ····.line·39 |
25 | ···· | 33 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$1; |
26 | ···· | 34 | ····const-string·v1,·"DATA_MASK_000" |
27 | ···· | 35 | ····invoke-direct·{v0,·v1,·v3},·Lcom/google/zxing/qrcode/decoder/DataMask$1;-><init>(Ljava/lang/String;I)V |
28 | ···· | 36 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_000:Lcom/google/zxing/qrcode/decoder/DataMask; |
29 | ···· | 37 | ····.line·49 |
38 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$2; | ||
30 | ···· | 39 | ····const-string·v1,·"DATA_MASK_001" |
31 | ···· | 40 | ····invoke-direct·{v0,·v1,·v4},·Lcom/google/zxing/qrcode/decoder/DataMask$2;-><init>(Ljava/lang/String;I)V |
32 | ···· | 41 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_001:Lcom/google/zxing/qrcode/decoder/DataMask; |
33 | ···· | 42 | ····.line·59 |
43 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$3; | ||
34 | ···· | 44 | ····const-string·v1,·"DATA_MASK_010" |
35 | ···· | 45 | ····invoke-direct·{v0,·v1,·v5},·Lcom/google/zxing/qrcode/decoder/DataMask$3;-><init>(Ljava/lang/String;I)V |
36 | ···· | 46 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_010:Lcom/google/zxing/qrcode/decoder/DataMask; |
37 | ···· | 47 | ····.line·69 |
48 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$4; | ||
38 | ···· | 49 | ····const-string·v1,·"DATA_MASK_011" |
39 | ···· | 50 | ····invoke-direct·{v0,·v1,·v6},·Lcom/google/zxing/qrcode/decoder/DataMask$4;-><init>(Ljava/lang/String;I)V |
40 | ···· | 51 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_011:Lcom/google/zxing/qrcode/decoder/DataMask; |
41 | ···· | 52 | ····.line·79 |
53 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$5; | ||
42 | ···· | 54 | ····const-string·v1,·"DATA_MASK_100" |
43 | ···· | 55 | ····invoke-direct·{v0,·v1,·v7},·Lcom/google/zxing/qrcode/decoder/DataMask$5;-><init>(Ljava/lang/String;I)V |
44 | ···· | 56 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_100:Lcom/google/zxing/qrcode/decoder/DataMask; |
45 | ···· | 57 | ····.line·90 |
58 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$6; | ||
46 | ···· | 59 | ····const-string·v1,·"DATA_MASK_101" |
47 | ····const/4·v | 60 | ····const/4·v2,·0x5 |
61 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/qrcode/decoder/DataMask$6;-><init>(Ljava/lang/String;I)V | ||
62 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_101:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
63 | ····.line·101 | ||
64 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$7; | ||
48 | ···· | 65 | ····const-string·v1,·"DATA_MASK_110" |
66 | ····const/4·v2,·0x6 | ||
67 | ····invoke-direct·{v0,·v1,·v2},·Lcom/google/zxing/qrcode/decoder/DataMask$7;-><init>(Ljava/lang/String;I)V | ||
68 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DataMask;->DATA_MASK_110:Lcom/google/zxing/qrcode/decoder/DataMask; | ||
69 | ····.line·112 | ||
70 | ····new-instance·v0,·Lcom/google/zxing/qrcode/decoder/DataMask$8; | ||
Max diff block lines reached; 4814/12600 bytes (38.21%) of diff not shown. |
Offset 1, 14 lines modified | Offset 1, 54 lines modified | ||
1 | .class· | 1 | .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$1; |
2 | .super·L | 2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; |
3 | .source·"DataMask.java" | 3 | .source·"DataMask.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 5 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; | 6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; |
7 | .end·annotation | 7 | .end·annotation |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x | 9 | ····accessFlags·=·0x4008 |
10 | ····name·=·null | 10 | ····name·=·null |
11 | .end·annotation | 11 | .end·annotation |
12 | #·direct·methods | ||
13 | .method·constructor·<init>(Ljava/lang/String;I)V | ||
14 | ····.locals·1 | ||
15 | ····.prologue | ||
16 | ····.line·39 | ||
17 | ····const/4·v0,·0x0 | ||
18 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V | ||
19 | ····return-void | ||
20 | .end·method | ||
21 | #·virtual·methods | ||
22 | .method·isMasked(II)Z | ||
23 | ····.locals·1 | ||
24 | ····.param·p1,·"i"····#·I | ||
25 | ····.param·p2,·"j"····#·I | ||
26 | ····.prologue | ||
27 | ····.line·42 | ||
28 | ····add-int·v0,·p1,·p2 | ||
29 | ····and-int/lit8·v0,·v0,·0x1 | ||
30 | ····if-nez·v0,·:cond_0 | ||
31 | ····const/4·v0,·0x1 | ||
32 | ····:goto_0 | ||
33 | ····return·v0 | ||
34 | ····:cond_0 | ||
35 | ····const/4·v0,·0x0 | ||
36 | ····goto·:goto_0 | ||
37 | .end·method |
Offset 1, 33 lines modified | Offset 1, 29 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/decoder/FormatInformation; | 1 | .class·final·Lcom/google/zxing/qrcode/decoder/FormatInformation; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"FormatInformation.java" | 3 | .source·"FormatInformation.java" |
4 | #·static·fields | 4 | #·static·fields |
5 | .field·private·static·final·BITS_SET_IN_HALF_BYTE:[I | ||
6 | .field·private·static·final·FORMAT_INFO_DECODE_LOOKUP:[[I | 5 | .field·private·static·final·FORMAT_INFO_DECODE_LOOKUP:[[I |
7 | .field·private·static·final·FORMAT_INFO_MASK_QR:I·=·0x5412 | 6 | .field·private·static·final·FORMAT_INFO_MASK_QR:I·=·0x5412 |
8 | #·instance·fields | 7 | #·instance·fields |
9 | .field·private·final·dataMask:B | 8 | .field·private·final·dataMask:B |
10 | .field·private·final·errorCorrectionLevel:Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; | 9 | .field·private·final·errorCorrectionLevel:Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; |
11 | #·direct·methods | 10 | #·direct·methods |
12 | .method·static·constructor·<clinit>()V | 11 | .method·static·constructor·<clinit>()V |
13 | ····.locals· | 12 | ····.locals·4 |
14 | ····.prologue | 13 | ····.prologue |
15 | ····const/16·v4,·0x10 | ||
16 | ····const/4·v3,·0x2 | 14 | ····const/4·v3,·0x2 |
17 | ····.line·34 | 15 | ····.line·34 |
18 | ····const/16·v0,·0x20 | 16 | ····const/16·v0,·0x20 |
19 | ····new-array·v0,·v0,·[[I | 17 | ····new-array·v0,·v0,·[[I |
Offset 153, 19 lines modified | Offset 149, 21 lines modified | ||
153 | ····new-array·v2,·v3,·[I | 149 | ····new-array·v2,·v3,·[I |
154 | ····fill-array-data·v2,·:array_f | 150 | ····fill-array-data·v2,·:array_f |
155 | ····aput-object·v2,·v0,·v1 | 151 | ····aput-object·v2,·v0,·v1 |
156 | ···· | 152 | ····const/16·v1,·0x10 |
153 | ····new-array·v2,·v3,·[I | ||
157 | ····fill-array-data·v | 154 | ····fill-array-data·v2,·:array_10 |
158 | ····aput-object·v | 155 | ····aput-object·v2,·v0,·v1 |
159 | ····const/16·v1,·0x11 | 156 | ····const/16·v1,·0x11 |
160 | ····new-array·v2,·v3,·[I | 157 | ····new-array·v2,·v3,·[I |
161 | ····fill-array-data·v2,·:array_11 | 158 | ····fill-array-data·v2,·:array_11 |
Offset 281, 24 lines modified | Offset 279, 18 lines modified | ||
281 | ····fill-array-data·v2,·:array_1f | 279 | ····fill-array-data·v2,·:array_1f |
282 | ····aput-object·v2,·v0,·v1 | 280 | ····aput-object·v2,·v0,·v1 |
283 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/FormatInformation;->FORMAT_INFO_DECODE_LOOKUP:[[I | 281 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/FormatInformation;->FORMAT_INFO_DECODE_LOOKUP:[[I |
284 | ····.line·72 | ||
285 | ····new-array·v0,·v4,·[I | ||
286 | ····fill-array-data·v0,·:array_20 | ||
287 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/FormatInformation;->BITS_SET_IN_HALF_BYTE:[I | ||
288 | ····return-void | 282 | ····return-void |
289 | ···· | 283 | ····nop |
290 | ····:array_0 | 284 | ····:array_0 |
291 | ····.array-data·4 | 285 | ····.array-data·4 |
292 | ········0x5412 | 286 | ········0x5412 |
293 | ········0x0 | 287 | ········0x0 |
294 | ····.end·array-data | 288 | ····.end·array-data |
295 | ····:array_1 | 289 | ····:array_1 |
Offset 482, 83 lines modified | Offset 474, 62 lines modified | ||
482 | ····.end·array-data | 474 | ····.end·array-data |
483 | ····:array_1f | 475 | ····:array_1f |
484 | ····.array-data·4 | 476 | ····.array-data·4 |
485 | ········0x2bed | 477 | ········0x2bed |
486 | ········0x1f | 478 | ········0x1f |
487 | ····.end·array-data | 479 | ····.end·array-data |
488 | ····.line·72 | ||
489 | ····:array_20 | ||
490 | ····.array-data·4 | ||
491 | ········0x0 | ||
492 | ········0x1 | ||
493 | ········0x1 | ||
494 | ········0x2 | ||
495 | ········0x1 | ||
496 | ········0x2 | ||
497 | ········0x2 | ||
498 | ········0x3 | ||
499 | ········0x1 | ||
500 | ········0x2 | ||
501 | ········0x2 | ||
502 | ········0x3 | ||
503 | ········0x2 | ||
504 | ········0x3 | ||
505 | ········0x3 | ||
506 | ········0x4 | ||
507 | ····.end·array-data | ||
508 | .end·method | 480 | .end·method |
509 | .method·private·constructor·<init>(I)V | 481 | .method·private·constructor·<init>(I)V |
510 | ····.locals·1 | 482 | ····.locals·1 |
511 | ····.param·p1,·"formatInfo"····#·I | 483 | ····.param·p1,·"formatInfo"····#·I |
512 | ····.prologue | 484 | ····.prologue |
513 | ····.line·7 | 485 | ····.line·72 |
514 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 486 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
515 | ····.line· | 487 | ····.line·74 |
516 | ····shr-int/lit8·v0,·p1,·0x3 | 488 | ····shr-int/lit8·v0,·p1,·0x3 |
517 | ····and-int/lit8·v0,·v0,·0x3 | 489 | ····and-int/lit8·v0,·v0,·0x3 |
518 | ····invoke-static·{v0},·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;->forBits(I)Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; | 490 | ····invoke-static·{v0},·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;->forBits(I)Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; |
Max diff block lines reached; 7869/10414 bytes (75.56%) of diff not shown. |
Offset 26, 457 lines modified | Offset 26, 448 lines modified | ||
26 | ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/DataBlock;->codewords:[B | 26 | ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/DataBlock;->codewords:[B |
27 | ····.line·34 | 27 | ····.line·34 |
28 | ····return-void | 28 | ····return-void |
29 | .end·method | 29 | .end·method |
30 | .method·static·getDataBlocks([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)[Lcom/google/zxing/qrcode/decoder/DataBlock; | 30 | .method·static·getDataBlocks([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)[Lcom/google/zxing/qrcode/decoder/DataBlock; |
31 | ····.locals·2 | 31 | ····.locals·24 |
32 | ····.param·p0,·"rawCodewords"····#·[B | 32 | ····.param·p0,·"rawCodewords"····#·[B |
33 | ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version; | 33 | ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version; |
34 | ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; | 34 | ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; |
35 | ····.prologue | 35 | ····.prologue |
36 | ····.line·51 | 36 | ····.line·51 |
37 | ····move-object/from16·v0,·p0 | 37 | ····move-object/from16·v0,·p0 |
38 | ····array-length·v0,·v0 | 38 | ····array-length·v0,·v0 |
39 | ····move/from16·v2 | 39 | ····move/from16·v20,·v0 |
40 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/Version;->getTotalCodewords()I | 40 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/Version;->getTotalCodewords()I |
41 | ····move-result·v2 | 41 | ····move-result·v21 |
42 | ····move/from16·v0,·v2 | 42 | ····move/from16·v0,·v20 |
43 | ····move/from16·v1,·v2 | 43 | ····move/from16·v1,·v21 |
44 | ····if-eq·v0,·v1,·:cond_0 | 44 | ····if-eq·v0,·v1,·:cond_0 |
45 | ····.line·52 | 45 | ····.line·52 |
46 | ····new-instance·v2 | 46 | ····new-instance·v20,·Ljava/lang/IllegalArgumentException; |
47 | ····invoke-direct/range·{v2 | 47 | ····invoke-direct/range·{v20·..·v20},·Ljava/lang/IllegalArgumentException;-><init>()V |
48 | ····throw·v2 | 48 | ····throw·v20 |
49 | ····.line·57 | 49 | ····.line·57 |
50 | ····:cond_0 | 50 | ····:cond_0 |
51 | ····invoke-virtual/range·{p1·..·p2},·Lcom/google/zxing/qrcode/decoder/Version;->getECBlocksForLevel(Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; | 51 | ····invoke-virtual/range·{p1·..·p2},·Lcom/google/zxing/qrcode/decoder/Version;->getECBlocksForLevel(Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;)Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; |
52 | ····move-result-object·v4 | 52 | ····move-result-object·v4 |
53 | ····.line·60 | 53 | ····.line·60 |
54 | ····.local·v4,·"ecBlocks":Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; | 54 | ····.local·v4,·"ecBlocks":Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; |
55 | ····const/16·v | 55 | ····const/16·v19,·0x0 |
56 | ····.line·61 | 56 | ····.line·61 |
57 | ····.local·v | 57 | ····.local·v19,·"totalBlocks":I |
58 | ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/qrcode/decoder/Version$ECB; | 58 | ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/qrcode/decoder/Version$ECB; |
59 | ····move-result-object·v3 | 59 | ····move-result-object·v3 |
60 | ····.line·62 | 60 | ····.line·62 |
61 | ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/qrcode/decoder/Version$ECB; | 61 | ····.local·v3,·"ecBlockArray":[Lcom/google/zxing/qrcode/decoder/Version$ECB; |
62 | ····array-length·v0,·v3 | 62 | ····array-length·v0,·v3 |
63 | ····move/from16·v2 | 63 | ····move/from16·v21,·v0 |
64 | ····const/16·v2 | 64 | ····const/16·v20,·0x0 |
65 | ····:goto_0 | 65 | ····:goto_0 |
66 | ····move/from16·v0,·v2 | 66 | ····move/from16·v0,·v20 |
67 | ····move/from16·v1,·v2 | 67 | ····move/from16·v1,·v21 |
68 | ····if-ge·v0,·v1,·:cond_1 | 68 | ····if-ge·v0,·v1,·:cond_1 |
69 | ····aget-object·v2,·v3,·v2 | 69 | ····aget-object·v2,·v3,·v20 |
70 | ····.line·63 | 70 | ····.line·63 |
71 | ····.local·v2,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; | 71 | ····.local·v2,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; |
72 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I | 72 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I |
73 | ····move-result·v2 | 73 | ····move-result·v22 |
74 | ····add-int·v | 74 | ····add-int·v19,·v19,·v22 |
75 | ····.line·62 | 75 | ····.line·62 |
76 | ····add-int/lit8·v2 | 76 | ····add-int/lit8·v20,·v20,·0x1 |
77 | ····goto·:goto_0 | 77 | ····goto·:goto_0 |
78 | ····.line·67 | 78 | ····.line·67 |
79 | ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; | 79 | ····.end·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; |
80 | ····:cond_1 | 80 | ····:cond_1 |
81 | ····move/from16·v0,·v | 81 | ····move/from16·v0,·v19 |
82 | ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/decoder/DataBlock; | 82 | ····new-array·v0,·v0,·[Lcom/google/zxing/qrcode/decoder/DataBlock; |
83 | ····move-object/from16·v1 | 83 | ····move-object/from16·v16,·v0 |
84 | ····.line·68 | 84 | ····.line·68 |
85 | ····.local·v1 | 85 | ····.local·v16,·"result":[Lcom/google/zxing/qrcode/decoder/DataBlock; |
86 | ····const/4·v1 | 86 | ····const/4·v12,·0x0 |
87 | ····.line·69 | 87 | ····.line·69 |
88 | ····.local·v1 | 88 | ····.local·v12,·"numResultBlocks":I |
89 | ····array-length·v0,·v3 | 89 | ····array-length·v0,·v3 |
90 | ····move/from16·v2 | 90 | ····move/from16·v21,·v0 |
91 | ····const/16·v2 | 91 | ····const/16·v20,·0x0 |
92 | ····:goto_1 | 92 | ····:goto_1 |
93 | ····move/from16·v0,·v2 | 93 | ····move/from16·v0,·v20 |
94 | ····move/from16·v1,·v2 | 94 | ····move/from16·v1,·v21 |
95 | ····if-ge·v0,·v1,·:cond_3 | 95 | ····if-ge·v0,·v1,·:cond_3 |
96 | ····aget-object·v2,·v3,·v2 | 96 | ····aget-object·v2,·v3,·v20 |
97 | ····.line·70 | 97 | ····.line·70 |
98 | ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; | 98 | ····.restart·local·v2····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; |
99 | ····const/4·v5,·0x0 | 99 | ····const/4·v5,·0x0 |
100 | ····.local·v5,·"i":I | 100 | ····.local·v5,·"i":I |
101 | ····:goto_2 | 101 | ····:goto_2 |
102 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I | 102 | ····invoke-virtual·{v2},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I |
103 | ····move-result·v2 | 103 | ····move-result·v22 |
104 | ····move/from16·v0,·v2 | 104 | ····move/from16·v0,·v22 |
105 | ····if-ge·v5,·v0,·:cond_2 | 105 | ····if-ge·v5,·v0,·:cond_2 |
Max diff block lines reached; 10991/15067 bytes (72.95%) of diff not shown. |
Offset 11, 87 lines modified | Offset 11, 40 lines modified | ||
11 | #·direct·methods | 11 | #·direct·methods |
12 | .method·static·constructor·<clinit>()V | 12 | .method·static·constructor·<clinit>()V |
13 | ····.locals·1 | 13 | ····.locals·1 |
14 | ····.prologue | 14 | ····.prologue |
15 | ····.line·45 | 15 | ····.line·45 |
16 | ····const | 16 | ····const-string·v0,·"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ·$%*+-./:" |
17 | ···· | 17 | ····.line·46 |
18 | ····invoke-virtual·{v0},·Ljava/lang/String;->toCharArray()[C | ||
18 | ···· | 19 | ····move-result-object·v0 |
19 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DecodedBitStreamParser;->ALPHANUMERIC_CHARS:[C | 20 | ····sput-object·v0,·Lcom/google/zxing/qrcode/decoder/DecodedBitStreamParser;->ALPHANUMERIC_CHARS:[C |
21 | ····.line·45 | ||
20 | ····return-void | 22 | ····return-void |
21 | ····:array_0 | ||
22 | ····.array-data·2 | ||
23 | ········0x30s | ||
24 | ········0x31s | ||
25 | ········0x32s | ||
26 | ········0x33s | ||
27 | ········0x34s | ||
28 | ········0x35s | ||
29 | ········0x36s | ||
30 | ········0x37s | ||
31 | ········0x38s | ||
32 | ········0x39s | ||
33 | ········0x41s | ||
34 | ········0x42s | ||
35 | ········0x43s | ||
36 | ········0x44s | ||
37 | ········0x45s | ||
38 | ········0x46s | ||
39 | ········0x47s | ||
40 | ········0x48s | ||
41 | ········0x49s | ||
42 | ········0x4as | ||
43 | ········0x4bs | ||
44 | ········0x4cs | ||
45 | ········0x4ds | ||
46 | ········0x4es | ||
47 | ········0x4fs | ||
48 | ········0x50s | ||
49 | ········0x51s | ||
50 | ········0x52s | ||
51 | ········0x53s | ||
52 | ········0x54s | ||
53 | ········0x55s | ||
54 | ········0x56s | ||
55 | ········0x57s | ||
56 | ········0x58s | ||
57 | ········0x59s | ||
58 | ········0x5as | ||
59 | ········0x20s | ||
60 | ········0x24s | ||
61 | ········0x25s | ||
62 | ········0x2as | ||
63 | ········0x2bs | ||
64 | ········0x2ds | ||
65 | ········0x2es | ||
66 | ········0x2fs | ||
67 | ········0x3as | ||
68 | ····.end·array-data | ||
69 | .end·method | 23 | .end·method |
70 | .method·private·constructor·<init>()V | 24 | .method·private·constructor·<init>()V |
71 | ····.locals·0 | 25 | ····.locals·0 |
72 | ····.prologue | 26 | ····.prologue |
73 | ····.line· | 27 | ····.line·49 |
74 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
75 | ····.line·5 | 29 | ····.line·50 |
76 | ····return-void | 30 | ····return-void |
77 | .end·method | 31 | .end·method |
78 | .method·static·decode([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult; | 32 | .method·static·decode([BLcom/google/zxing/qrcode/decoder/Version;Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult; |
79 | ····.locals· | 33 | ····.locals·17 |
80 | ····.param·p0,·"bytes"····#·[B | 34 | ····.param·p0,·"bytes"····#·[B |
81 | ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version; | 35 | ····.param·p1,·"version"····#·Lcom/google/zxing/qrcode/decoder/Version; |
82 | ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; | 36 | ····.param·p2,·"ecLevel"····#·Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; |
83 | ····.annotation·system·Ldalvik/annotation/Signature; | 37 | ····.annotation·system·Ldalvik/annotation/Signature; |
84 | ········value·=·{ | 38 | ········value·=·{ |
85 | ············"([B", | 39 | ············"([B", |
86 | ············"Lcom/google/zxing/qrcode/decoder/Version;", | 40 | ············"Lcom/google/zxing/qrcode/decoder/Version;", |
Offset 107, 376 lines modified | Offset 60, 346 lines modified | ||
107 | ····.annotation·system·Ldalvik/annotation/Throws; | 60 | ····.annotation·system·Ldalvik/annotation/Throws; |
108 | ········value·=·{ | 61 | ········value·=·{ |
109 | ············Lcom/google/zxing/FormatException; | 62 | ············Lcom/google/zxing/FormatException; |
110 | ········} | 63 | ········} |
111 | ····.end·annotation | 64 | ····.end·annotation |
112 | ····.prologue | 65 | ····.prologue |
113 | ····.line· | 66 | ····.line·56 |
114 | ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 67 | ····.local·p3,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
115 | ····new-instance·v | 68 | ····new-instance·v1,·Lcom/google/zxing/common/BitSource; |
116 | ····move-object/from16·v0,·p0 | 69 | ····move-object/from16·v0,·p0 |
117 | ····invoke-direct·{v | 70 | ····invoke-direct·{v1,·v0},·Lcom/google/zxing/common/BitSource;-><init>([B)V |
118 | ····.line· | 71 | ····.line·57 |
119 | ····.local·v | 72 | ····.local·v1,·"bits":Lcom/google/zxing/common/BitSource; |
120 | ····new-instance·v | 73 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
121 | ····const/16·v | 74 | ····const/16·v6,·0x32 |
122 | ····invoke-direct·{v | 75 | ····invoke-direct·{v2,·v6},·Ljava/lang/StringBuilder;-><init>(I)V |
123 | ····.line· | 76 | ····.line·58 |
124 | ····.local·v | 77 | ····.local·v2,·"result":Ljava/lang/StringBuilder; |
125 | ····new-instance·v | 78 | ····new-instance·v5,·Ljava/util/ArrayList; |
126 | ····const/4·v | 79 | ····const/4·v6,·0x1 |
127 | ····invoke-direct·{v | 80 | ····invoke-direct·{v5,·v6},·Ljava/util/ArrayList;-><init>(I)V |
128 | ····.line· | 81 | ····.line·59 |
129 | ····.local·v | 82 | ····.local·v5,·"byteSegments":Ljava/util/List;,·"Ljava/util/List<[B>;" |
83 | ····const/4·v11,·-0x1 | ||
84 | ····.line·60 | ||
85 | ····.local·v11,·"symbolSequence":I | ||
Max diff block lines reached; 39877/43623 bytes (91.41%) of diff not shown. |
Offset 25, 104 lines modified | Offset 25, 99 lines modified | ||
25 | ····iput-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; | 25 | ····iput-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; |
26 | ····.line·42 | 26 | ····.line·42 |
27 | ····return-void | 27 | ····return-void |
28 | .end·method | 28 | .end·method |
29 | .method·private·correctErrors([BI)V | 29 | .method·private·correctErrors([BI)V |
30 | ····.locals· | 30 | ····.locals·5 |
31 | ····.param·p1,·"codewordBytes"····#·[B | 31 | ····.param·p1,·"codewordBytes"····#·[B |
32 | ····.param·p2,·"numDataCodewords"····#·I | 32 | ····.param·p2,·"numDataCodewords"····#·I |
33 | ····.annotation·system·Ldalvik/annotation/Throws; | 33 | ····.annotation·system·Ldalvik/annotation/Throws; |
34 | ········value·=·{ | 34 | ········value·=·{ |
35 | ············Lcom/google/zxing/ChecksumException; | 35 | ············Lcom/google/zxing/ChecksumException; |
36 | ········} | 36 | ········} |
37 | ····.end·annotation | 37 | ····.end·annotation |
38 | ····.prologue | 38 | ····.prologue |
39 | ····.line·184 | 39 | ····.line·184 |
40 | ····array-length·v | 40 | ····array-length·v2,·p1 |
41 | ····.line·186 | 41 | ····.line·186 |
42 | ····.local·v | 42 | ····.local·v2,·"numCodewords":I |
43 | ····new-array·v0,·v | 43 | ····new-array·v0,·v2,·[I |
44 | ····.line·187 | 44 | ····.line·187 |
45 | ····.local·v0,·"codewordsInts":[I | 45 | ····.local·v0,·"codewordsInts":[I |
46 | ····const/4·v1,·0x0 | 46 | ····const/4·v1,·0x0 |
47 | ····.local·v1,·"i":I | 47 | ····.local·v1,·"i":I |
48 | ····:goto_0 | 48 | ····:goto_0 |
49 | ····if-ge·v1,·v | 49 | ····if-ge·v1,·v2,·:cond_0 |
50 | ····.line·188 | 50 | ····.line·188 |
51 | ····aget-byte·v | 51 | ····aget-byte·v3,·p1,·v1 |
52 | ····and-int/lit16·v | 52 | ····and-int/lit16·v3,·v3,·0xff |
53 | ····aput·v | 53 | ····aput·v3,·v0,·v1 |
54 | ····.line·187 | 54 | ····.line·187 |
55 | ····add-int/lit8·v1,·v1,·0x1 | 55 | ····add-int/lit8·v1,·v1,·0x1 |
56 | ····goto·:goto_0 | 56 | ····goto·:goto_0 |
57 | ····.line·19 | 57 | ····.line·191 |
58 | ····:cond_0 | 58 | ····:cond_0 |
59 | ···· | 59 | ····:try_start_0 |
60 | ····iget-object·v3,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; | ||
60 | ···· | 61 | ····array-length·v4,·p1 |
62 | ····sub-int/2addr·v4,·p2 | ||
61 | ····.line·192 | ||
62 | ····.local·v4,·"numECCodewords":I | ||
63 | ····:try_start_0 | ||
64 | ····iget-object·v5,·p0,·Lcom/google/zxing/qrcode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; | ||
65 | ····invoke-virtual·{v | 63 | ····invoke-virtual·{v3,·v0,·v4},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V |
66 | ····:try_end_0 | 64 | ····:try_end_0 |
67 | ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0 | 65 | ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0 |
68 | ····.line·19 | 66 | ····.line·197 |
69 | ····const/4·v1,·0x0 | 67 | ····const/4·v1,·0x0 |
70 | ····:goto_1 | 68 | ····:goto_1 |
71 | ····if-ge·v1,·p2,·:cond_1 | 69 | ····if-ge·v1,·p2,·:cond_1 |
72 | ····.line·19 | 70 | ····.line·198 |
73 | ····aget·v | 71 | ····aget·v3,·v0,·v1 |
74 | ····int-to-byte·v | 72 | ····int-to-byte·v3,·v3 |
75 | ····aput-byte·v | 73 | ····aput-byte·v3,·p1,·v1 |
76 | ····.line·19 | 74 | ····.line·197 |
77 | ····add-int/lit8·v1,·v1,·0x1 | 75 | ····add-int/lit8·v1,·v1,·0x1 |
78 | ····goto·:goto_1 | 76 | ····goto·:goto_1 |
79 | ····.line·193 | 77 | ····.line·193 |
80 | ····:catch_0 | 78 | ····:catch_0 |
81 | ····move-exception·v | 79 | ····move-exception·v3 |
82 | ····.line·194 | ||
83 | ····.local·v2,·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; | ||
84 | ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException; | 80 | ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException; |
85 | ····move-result-object·v | 81 | ····move-result-object·v3 |
86 | ····throw·v | 82 | ····throw·v3 |
87 | ····.line·20 | 83 | ····.line·200 |
88 | ····.end·local·v2····#·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; | ||
89 | ····:cond_1 | 84 | ····:cond_1 |
90 | ····return-void | 85 | ····return-void |
91 | .end·method | 86 | .end·method |
92 | .method·private·decode(Lcom/google/zxing/qrcode/decoder/BitMatrixParser;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult; | 87 | .method·private·decode(Lcom/google/zxing/qrcode/decoder/BitMatrixParser;Ljava/util/Map;)Lcom/google/zxing/common/DecoderResult; |
93 | ····.locals·1 | 88 | ····.locals·15 |
94 | ····.param·p1,·"parser"····#·Lcom/google/zxing/qrcode/decoder/BitMatrixParser; | 89 | ····.param·p1,·"parser"····#·Lcom/google/zxing/qrcode/decoder/BitMatrixParser; |
95 | ····.annotation·system·Ldalvik/annotation/Signature; | 90 | ····.annotation·system·Ldalvik/annotation/Signature; |
96 | ········value·=·{ | 91 | ········value·=·{ |
97 | ············"(", | 92 | ············"(", |
98 | ············"Lcom/google/zxing/qrcode/decoder/BitMatrixParser;", | 93 | ············"Lcom/google/zxing/qrcode/decoder/BitMatrixParser;", |
99 | ············"Ljava/util/Map", | 94 | ············"Ljava/util/Map", |
100 | ············"<", | 95 | ············"<", |
Offset 140, 156 lines modified | Offset 135, 153 lines modified | ||
140 | ····.end·annotation | 135 | ····.end·annotation |
141 | ····.prologue | 136 | ····.prologue |
142 | ····.line·145 | 137 | ····.line·145 |
143 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" | 138 | ····.local·p2,·"hints":Ljava/util/Map;,·"Ljava/util/Map<Lcom/google/zxing/DecodeHintType;*>;" |
144 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version; | 139 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version; |
145 | ····move-result-object·v1 | 140 | ····move-result-object·v11 |
146 | ····.line·146 | 141 | ····.line·146 |
147 | ····.local·v1 | 142 | ····.local·v11,·"version":Lcom/google/zxing/qrcode/decoder/Version; |
148 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readFormatInformation()Lcom/google/zxing/qrcode/decoder/FormatInformation; | 143 | ····invoke-virtual/range·{p1·..·p1},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readFormatInformation()Lcom/google/zxing/qrcode/decoder/FormatInformation; |
149 | ····move-result-object·v1 | 144 | ····move-result-object·v12 |
150 | ····invoke-virtual·{v1 | 145 | ····invoke-virtual·{v12},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getErrorCorrectionLevel()Lcom/google/zxing/qrcode/decoder/ErrorCorrectionLevel; |
151 | ····move-result-object·v | 146 | ····move-result-object·v4 |
152 | ····.line·149 | 147 | ····.line·149 |
Max diff block lines reached; 7144/11889 bytes (60.09%) of diff not shown. |
Offset 94, 55 lines modified | Offset 94, 54 lines modified | ||
94 | .method·private·varargs·constructor·<init>(I[I[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;)V | 94 | .method·private·varargs·constructor·<init>(I[I[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;)V |
95 | ····.locals·8 | 95 | ····.locals·8 |
96 | ····.param·p1,·"versionNumber"····#·I | 96 | ····.param·p1,·"versionNumber"····#·I |
97 | ····.param·p2,·"alignmentPatternCenters"····#·[I | 97 | ····.param·p2,·"alignmentPatternCenters"····#·[I |
98 | ····.param·p3,·"ecBlocks"····#·[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; | 98 | ····.param·p3,·"ecBlocks"····#·[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; |
99 | ····.prologue | 99 | ····.prologue |
100 | ····const/4·v | 100 | ····const/4·v3,·0x0 |
101 | ····.line·52 | 101 | ····.line·52 |
102 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 102 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
103 | ····.line·53 | 103 | ····.line·53 |
104 | ····iput·p1,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->versionNumber:I | 104 | ····iput·p1,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->versionNumber:I |
105 | ····.line·54 | 105 | ····.line·54 |
106 | ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->alignmentPatternCenters:[I | 106 | ····iput-object·p2,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->alignmentPatternCenters:[I |
107 | ····.line·55 | 107 | ····.line·55 |
108 | ····iput-object·p3,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->ecBlocks:[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; | 108 | ····iput-object·p3,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->ecBlocks:[Lcom/google/zxing/qrcode/decoder/Version$ECBlocks; |
109 | ····.line·56 | 109 | ····.line·56 |
110 | ····const/4·v | 110 | ····const/4·v2,·0x0 |
111 | ····.line·57 | 111 | ····.line·57 |
112 | ····.local·v | 112 | ····.local·v2,·"total":I |
113 | ····aget-object·v | 113 | ····aget-object·v4,·p3,·v3 |
114 | ····invoke-virtual·{v | 114 | ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECCodewordsPerBlock()I |
115 | ····move-result·v1 | 115 | ····move-result·v1 |
116 | ····.line·58 | 116 | ····.line·58 |
117 | ····.local·v1,·"ecCodewords":I | 117 | ····.local·v1,·"ecCodewords":I |
118 | ····aget-object·v | 118 | ····aget-object·v4,·p3,·v3 |
119 | ····invoke-virtual·{v | 119 | ····invoke-virtual·{v4},·Lcom/google/zxing/qrcode/decoder/Version$ECBlocks;->getECBlocks()[Lcom/google/zxing/qrcode/decoder/Version$ECB; |
120 | ····move-result-object·v | 120 | ····move-result-object·v4 |
121 | ····.line·59 | 121 | ····.line·59 |
122 | ····.local·v2,·"ecbArray":[Lcom/google/zxing/qrcode/decoder/Version$ECB; | ||
123 | ····array-length·v5,·v | 122 | ····array-length·v5,·v4 |
124 | ····:goto_0 | 123 | ····:goto_0 |
125 | ····if-ge·v | 124 | ····if-ge·v3,·v5,·:cond_0 |
126 | ····aget-object·v0,·v | 125 | ····aget-object·v0,·v4,·v3 |
127 | ····.line·60 | 126 | ····.line·60 |
128 | ····.local·v0,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; | 127 | ····.local·v0,·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; |
129 | ····invoke-virtual·{v0},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I | 128 | ····invoke-virtual·{v0},·Lcom/google/zxing/qrcode/decoder/Version$ECB;->getCount()I |
130 | ····move-result·v6 | 129 | ····move-result·v6 |
Offset 150, 25 lines modified | Offset 149, 25 lines modified | ||
150 | ····move-result·v7 | 149 | ····move-result·v7 |
151 | ····add-int/2addr·v7,·v1 | 150 | ····add-int/2addr·v7,·v1 |
152 | ····mul-int/2addr·v6,·v7 | 151 | ····mul-int/2addr·v6,·v7 |
153 | ····add-int/2addr·v | 152 | ····add-int/2addr·v2,·v6 |
154 | ····.line·59 | 153 | ····.line·59 |
155 | ····add-int/lit8·v | 154 | ····add-int/lit8·v3,·v3,·0x1 |
156 | ····goto·:goto_0 | 155 | ····goto·:goto_0 |
157 | ····.line·62 | 156 | ····.line·62 |
158 | ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; | 157 | ····.end·local·v0····#·"ecBlock":Lcom/google/zxing/qrcode/decoder/Version$ECB; |
159 | ····:cond_0 | 158 | ····:cond_0 |
160 | ····iput·v | 159 | ····iput·v2,·p0,·Lcom/google/zxing/qrcode/decoder/Version;->totalCodewords:I |
161 | ····.line·63 | 160 | ····.line·63 |
162 | ····return-void | 161 | ····return-void |
163 | .end·method | 162 | .end·method |
164 | .method·private·static·buildVersions()[Lcom/google/zxing/qrcode/decoder/Version; | 163 | .method·private·static·buildVersions()[Lcom/google/zxing/qrcode/decoder/Version; |
165 | ····.locals·14 | 164 | ····.locals·14 |
Offset 7099, 74 lines modified | Offset 7098, 70 lines modified | ||
7099 | ····:cond_3 | 7098 | ····:cond_3 |
7100 | ····const/4·v5,·0x0 | 7099 | ····const/4·v5,·0x0 |
7101 | ····goto·:goto_1 | 7100 | ····goto·:goto_1 |
7102 | .end·method | 7101 | .end·method |
7103 | .method·public·static·getProvisionalVersionForDimension(I)Lcom/google/zxing/qrcode/decoder/Version; | 7102 | .method·public·static·getProvisionalVersionForDimension(I)Lcom/google/zxing/qrcode/decoder/Version; |
7104 | ····.locals· | 7103 | ····.locals·2 |
7105 | ····.param·p0,·"dimension"····#·I | 7104 | ····.param·p0,·"dimension"····#·I |
7106 | ····.annotation·system·Ldalvik/annotation/Throws; | 7105 | ····.annotation·system·Ldalvik/annotation/Throws; |
7107 | ········value·=·{ | 7106 | ········value·=·{ |
7108 | ············Lcom/google/zxing/FormatException; | 7107 | ············Lcom/google/zxing/FormatException; |
7109 | ········} | 7108 | ········} |
7110 | ····.end·annotation | 7109 | ····.end·annotation |
7111 | ····.prologue | 7110 | ····.prologue |
7112 | ····.line·93 | 7111 | ····.line·93 |
7113 | ····rem-int/lit8·v | 7112 | ····rem-int/lit8·v0,·p0,·0x4 |
7114 | ····const/4·v | 7113 | ····const/4·v1,·0x1 |
7115 | ····if-eq·v | 7114 | ····if-eq·v0,·v1,·:cond_0 |
7116 | ····.line·94 | 7115 | ····.line·94 |
7117 | ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException; | 7116 | ····invoke-static·{},·Lcom/google/zxing/FormatException;->getFormatInstance()Lcom/google/zxing/FormatException; |
7118 | ····move-result-object·v | 7117 | ····move-result-object·v0 |
7119 | ····throw·v | 7118 | ····throw·v0 |
7120 | ····.line·97 | 7119 | ····.line·97 |
7121 | ····:cond_0 | 7120 | ····:cond_0 |
7122 | ····add-int/lit8·v | 7121 | ····add-int/lit8·v0,·p0,·-0x11 |
7123 | ····:try_start_0 | 7122 | ····:try_start_0 |
7124 | ····div-int/lit8·v | 7123 | ····div-int/lit8·v0,·v0,·0x4 |
7125 | ····invoke-static·{v | 7124 | ····invoke-static·{v0},·Lcom/google/zxing/qrcode/decoder/Version;->getVersionForNumber(I)Lcom/google/zxing/qrcode/decoder/Version; |
7126 | ····:try_end_0 | 7125 | ····:try_end_0 |
7127 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 | 7126 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_0·..·:try_end_0}·:catch_0 |
7128 | ····move-result-object·v | 7127 | ····move-result-object·v0 |
7129 | ····return-object·v | 7128 | ····return-object·v0 |
Max diff block lines reached; 1676/5944 bytes (28.20%) of diff not shown. |
Offset 57, 58 lines modified | Offset 57, 55 lines modified | ||
57 | ····iput-object·p1,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; | 57 | ····iput-object·p1,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; |
58 | ····.line·42 | 58 | ····.line·42 |
59 | ····return-void | 59 | ····return-void |
60 | .end·method | 60 | .end·method |
61 | .method·private·copyBit(III)I | 61 | .method·private·copyBit(III)I |
62 | ····.locals· | 62 | ····.locals·1 |
63 | ····.param·p1,·"i"····#·I | 63 | ····.param·p1,·"i"····#·I |
64 | ····.param·p2,·"j"····#·I | 64 | ····.param·p2,·"j"····#·I |
65 | ····.param·p3,·"versionBits"····#·I | 65 | ····.param·p3,·"versionBits"····#·I |
66 | ····.prologue | 66 | ····.prologue |
67 | ····.line·141 | 67 | ····.line·141 |
68 | ····iget-boolean·v | 68 | ····iget-boolean·v0,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->mirror:Z |
69 | ····if-eqz·v | 69 | ····if-eqz·v0,·:cond_0 |
70 | ····iget-object·v | 70 | ····iget-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; |
71 | ····invoke-virtual·{v | 71 | ····invoke-virtual·{v0,·p2,·p1},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
72 | ····move-result·v0 | 72 | ····move-result·v0 |
73 | ····.line·142 | 73 | ····.line·142 |
74 | ····.local·v0,·"bit":Z | ||
75 | ····:goto_0 | 74 | ····:goto_0 |
76 | ····if-eqz·v0,·:cond_1 | 75 | ····if-eqz·v0,·:cond_1 |
77 | ····shl-int/lit8·v | 76 | ····shl-int/lit8·v0,·p3,·0x1 |
78 | ····or-int/lit8·v | 77 | ····or-int/lit8·v0,·v0,·0x1 |
79 | ····:goto_1 | 78 | ····:goto_1 |
80 | ····return·v | 79 | ····return·v0 |
81 | ····.line·141 | 80 | ····.line·141 |
82 | ····.end·local·v0····#·"bit":Z | ||
83 | ····:cond_0 | 81 | ····:cond_0 |
84 | ····iget-object·v | 82 | ····iget-object·v0,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; |
85 | ····invoke-virtual·{v | 83 | ····invoke-virtual·{v0,·p1,·p2},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
86 | ····move-result·v0 | 84 | ····move-result·v0 |
87 | ····goto·:goto_0 | 85 | ····goto·:goto_0 |
88 | ····.line·142 | 86 | ····.line·142 |
89 | ····.restart·local·v0····#·"bit":Z | ||
90 | ····:cond_1 | 87 | ····:cond_1 |
91 | ····shl-int/lit8·v | 88 | ····shl-int/lit8·v0,·p3,·0x1 |
92 | ····goto·:goto_1 | 89 | ····goto·:goto_1 |
93 | .end·method | 90 | .end·method |
94 | #·virtual·methods | 91 | #·virtual·methods |
95 | .method·mirror()V | 92 | .method·mirror()V |
Offset 202, 21 lines modified | Offset 199, 23 lines modified | ||
202 | ····.local·v8,·"formatInfo":Lcom/google/zxing/qrcode/decoder/FormatInformation; | 199 | ····.local·v8,·"formatInfo":Lcom/google/zxing/qrcode/decoder/FormatInformation; |
203 | ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version; | 200 | ····invoke-virtual/range·{p0·..·p0},·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->readVersion()Lcom/google/zxing/qrcode/decoder/Version; |
204 | ····move-result-object·v16 | 201 | ····move-result-object·v16 |
205 | ····.line·160 | 202 | ····.line·160 |
206 | ····.local·v16,·"version":Lcom/google/zxing/qrcode/decoder/Version; | 203 | ····.local·v16,·"version":Lcom/google/zxing/qrcode/decoder/Version; |
207 | ····invoke- | 204 | ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/DataMask;->values()[Lcom/google/zxing/qrcode/decoder/DataMask; |
208 | ····move-result·v17 | 205 | ····move-result-object·v17 |
209 | ····invoke- | 206 | ····invoke-virtual·{v8},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getDataMask()B |
210 | ····move-result | 207 | ····move-result·v18 |
208 | ····aget-object·v6,·v17,·v18 | ||
211 | ····.line·161 | 209 | ····.line·161 |
212 | ····.local·v6,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask; | 210 | ····.local·v6,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask; |
213 | ····move-object/from16·v0,·p0 | 211 | ····move-object/from16·v0,·p0 |
214 | ····iget-object·v0,·v0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; | 212 | ····iget-object·v0,·v0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; |
Offset 790, 37 lines modified | Offset 789, 39 lines modified | ||
790 | ····move-result-object·v7 | 789 | ····move-result-object·v7 |
791 | ····throw·v7 | 790 | ····throw·v7 |
792 | .end·method | 791 | .end·method |
793 | .method·remask()V | 792 | .method·remask()V |
794 | ····.locals· | 793 | ····.locals·4 |
795 | ····.prologue | 794 | ····.prologue |
796 | ····.line·211 | 795 | ····.line·211 |
797 | ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->parsedFormatInfo:Lcom/google/zxing/qrcode/decoder/FormatInformation; | 796 | ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->parsedFormatInfo:Lcom/google/zxing/qrcode/decoder/FormatInformation; |
798 | ····if-nez·v2,·:cond_0 | 797 | ····if-nez·v2,·:cond_0 |
799 | ····.line·217 | 798 | ····.line·217 |
800 | ····:goto_0 | 799 | ····:goto_0 |
801 | ····return-void | 800 | ····return-void |
802 | ····.line·214 | 801 | ····.line·214 |
803 | ····:cond_0 | 802 | ····:cond_0 |
804 | ····i | 803 | ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/DataMask;->values()[Lcom/google/zxing/qrcode/decoder/DataMask; |
805 | ···· | 804 | ····move-result-object·v2 |
806 | ····mo | 805 | ····iget-object·v3,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->parsedFormatInfo:Lcom/google/zxing/qrcode/decoder/FormatInformation; |
807 | ····invoke- | 806 | ····invoke-virtual·{v3},·Lcom/google/zxing/qrcode/decoder/FormatInformation;->getDataMask()B |
807 | ····move-result·v3 | ||
808 | ···· | 808 | ····aget-object·v0,·v2,·v3 |
809 | ····.line·215 | 809 | ····.line·215 |
810 | ····.local·v0,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask; | 810 | ····.local·v0,·"dataMask":Lcom/google/zxing/qrcode/decoder/DataMask; |
811 | ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; | 811 | ····iget-object·v2,·p0,·Lcom/google/zxing/qrcode/decoder/BitMatrixParser;->bitMatrix:Lcom/google/zxing/common/BitMatrix; |
812 | ····invoke-virtual·{v2},·Lcom/google/zxing/common/BitMatrix;->getHeight()I | 812 | ····invoke-virtual·{v2},·Lcom/google/zxing/common/BitMatrix;->getHeight()I |
Offset 145, 59 lines modified | Offset 145, 59 lines modified | ||
145 | ····.annotation·system·Ldalvik/annotation/Throws; | 145 | ····.annotation·system·Ldalvik/annotation/Throws; |
146 | ········value·=·{ | 146 | ········value·=·{ |
147 | ············Lcom/google/zxing/WriterException; | 147 | ············Lcom/google/zxing/WriterException; |
148 | ········} | 148 | ········} |
149 | ····.end·annotation | 149 | ····.end·annotation |
150 | ····.prologue | 150 | ····.prologue |
151 | ····.line·5 | 151 | ····.line·568 |
152 | ····:try_start_0 | 152 | ····:try_start_0 |
153 | ····invoke-virtual·{p0,·p2},·Ljava/lang/String;->getBytes(Ljava/lang/String;)[B | 153 | ····invoke-virtual·{p0,·p2},·Ljava/lang/String;->getBytes(Ljava/lang/String;)[B |
154 | ····:try_end_0 | 154 | ····:try_end_0 |
155 | ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_0 | 155 | ····.catch·Ljava/io/UnsupportedEncodingException;·{:try_start_0·..·:try_end_0}·:catch_0 |
156 | ····move-result-object·v1 | 156 | ····move-result-object·v1 |
157 | ····.line·5 | 157 | ····.line·572 |
158 | ····.local·v1,·"bytes":[B | 158 | ····.local·v1,·"bytes":[B |
159 | ····array-length·v4,·v1 | 159 | ····array-length·v4,·v1 |
160 | ····const/4·v3,·0x0 | 160 | ····const/4·v3,·0x0 |
161 | ····:goto_0 | 161 | ····:goto_0 |
162 | ····if-ge·v3,·v4,·:cond_0 | 162 | ····if-ge·v3,·v4,·:cond_0 |
163 | ····aget-byte·v0,·v1,·v3 | 163 | ····aget-byte·v0,·v1,·v3 |
164 | ····.line·5 | 164 | ····.line·573 |
165 | ····.local·v0,·"b":B | 165 | ····.local·v0,·"b":B |
166 | ····const/16·v5,·0x8 | 166 | ····const/16·v5,·0x8 |
167 | ····invoke-virtual·{p1,·v0,·v5},·Lcom/google/zxing/common/BitArray;->appendBits(II)V | 167 | ····invoke-virtual·{p1,·v0,·v5},·Lcom/google/zxing/common/BitArray;->appendBits(II)V |
168 | ····.line·5 | 168 | ····.line·572 |
169 | ····add-int/lit8·v3,·v3,·0x1 | 169 | ····add-int/lit8·v3,·v3,·0x1 |
170 | ····goto·:goto_0 | 170 | ····goto·:goto_0 |
171 | ····.line·5 | 171 | ····.line·569 |
172 | ····.end·local·v0····#·"b":B | 172 | ····.end·local·v0····#·"b":B |
173 | ····.end·local·v1····#·"bytes":[B | 173 | ····.end·local·v1····#·"bytes":[B |
174 | ····:catch_0 | 174 | ····:catch_0 |
175 | ····move-exception·v2 | 175 | ····move-exception·v2 |
176 | ····.line·5 | 176 | ····.line·570 |
177 | ····.local·v2,·"uee":Ljava/io/UnsupportedEncodingException; | 177 | ····.local·v2,·"uee":Ljava/io/UnsupportedEncodingException; |
178 | ····new-instance·v3,·Lcom/google/zxing/WriterException; | 178 | ····new-instance·v3,·Lcom/google/zxing/WriterException; |
179 | ····invoke-direct·{v3,·v2},·Lcom/google/zxing/WriterException;-><init>(Ljava/lang/Throwable;)V | 179 | ····invoke-direct·{v3,·v2},·Lcom/google/zxing/WriterException;-><init>(Ljava/lang/Throwable;)V |
180 | ····throw·v3 | 180 | ····throw·v3 |
181 | ····.line·5 | 181 | ····.line·575 |
182 | ····.end·local·v2····#·"uee":Ljava/io/UnsupportedEncodingException; | 182 | ····.end·local·v2····#·"uee":Ljava/io/UnsupportedEncodingException; |
183 | ····.restart·local·v1····#·"bytes":[B | 183 | ····.restart·local·v1····#·"bytes":[B |
184 | ····:cond_0 | 184 | ····:cond_0 |
185 | ····return-void | 185 | ····return-void |
186 | .end·method | 186 | .end·method |
187 | .method·static·appendAlphanumericBytes(Ljava/lang/CharSequence;Lcom/google/zxing/common/BitArray;)V | 187 | .method·static·appendAlphanumericBytes(Ljava/lang/CharSequence;Lcom/google/zxing/common/BitArray;)V |
Offset 209, 105 lines modified | Offset 209, 106 lines modified | ||
209 | ············Lcom/google/zxing/WriterException; | 209 | ············Lcom/google/zxing/WriterException; |
210 | ········} | 210 | ········} |
211 | ····.end·annotation | 211 | ····.end·annotation |
212 | ····.prologue | 212 | ····.prologue |
213 | ····const/4·v6,·-0x1 | 213 | ····const/4·v6,·-0x1 |
214 | ····.line·5 | 214 | ····.line·541 |
215 | ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I | 215 | ····invoke-interface·{p0},·Ljava/lang/CharSequence;->length()I |
216 | ····move-result·v3 | 216 | ····move-result·v3 |
217 | ····.line·5 | 217 | ····.line·542 |
218 | ····.local·v3,·"length":I | 218 | ····.local·v3,·"length":I |
219 | ····const/4·v2,·0x0 | 219 | ····const/4·v2,·0x0 |
220 | ····.line·5 | 220 | ····.line·543 |
221 | ····.local·v2,·"i":I | 221 | ····.local·v2,·"i":I |
222 | ····:goto_0 | 222 | ····:goto_0 |
223 | ····if-ge·v2,·v3,·:cond_3 | 223 | ····if-ge·v2,·v3,·:cond_3 |
224 | ····.line·5 | 224 | ····.line·544 |
225 | ····invoke-interface·{p0,·v2},·Ljava/lang/CharSequence;->charAt(I)C | 225 | ····invoke-interface·{p0,·v2},·Ljava/lang/CharSequence;->charAt(I)C |
226 | ····move-result·v4 | 226 | ····move-result·v4 |
227 | ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I | 227 | ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I |
228 | ····move-result·v0 | 228 | ····move-result·v0 |
229 | ····.line·5 | 229 | ····.line·545 |
230 | ····.local·v0,·"code1":I | 230 | ····.local·v0,·"code1":I |
231 | ····if-ne·v0,·v6,·:cond_0 | 231 | ····if-ne·v0,·v6,·:cond_0 |
232 | ····.line·5 | 232 | ····.line·546 |
233 | ····new-instance·v4,·Lcom/google/zxing/WriterException; | 233 | ····new-instance·v4,·Lcom/google/zxing/WriterException; |
234 | ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V | 234 | ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V |
235 | ····throw·v4 | 235 | ····throw·v4 |
236 | ····.line·5 | 236 | ····.line·548 |
237 | ····:cond_0 | 237 | ····:cond_0 |
238 | ····add-int/lit8·v4,·v2,·0x1 | 238 | ····add-int/lit8·v4,·v2,·0x1 |
239 | ····if-ge·v4,·v3,·:cond_2 | 239 | ····if-ge·v4,·v3,·:cond_2 |
240 | ····.line·5 | 240 | ····.line·549 |
241 | ····add-int/lit8·v4,·v2,·0x1 | 241 | ····add-int/lit8·v4,·v2,·0x1 |
242 | ····invoke-interface·{p0,·v4},·Ljava/lang/CharSequence;->charAt(I)C | 242 | ····invoke-interface·{p0,·v4},·Ljava/lang/CharSequence;->charAt(I)C |
243 | ····move-result·v4 | 243 | ····move-result·v4 |
244 | ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I | 244 | ····invoke-static·{v4},·Lcom/google/zxing/qrcode/encoder/Encoder;->getAlphanumericCode(I)I |
245 | ····move-result·v1 | 245 | ····move-result·v1 |
246 | ····.line·5 | 246 | ····.line·550 |
247 | ····.local·v1,·"code2":I | 247 | ····.local·v1,·"code2":I |
248 | ····if-ne·v1,·v6,·:cond_1 | 248 | ····if-ne·v1,·v6,·:cond_1 |
249 | ····.line·5 | 249 | ····.line·551 |
250 | ····new-instance·v4,·Lcom/google/zxing/WriterException; | 250 | ····new-instance·v4,·Lcom/google/zxing/WriterException; |
251 | ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V | 251 | ····invoke-direct·{v4},·Lcom/google/zxing/WriterException;-><init>()V |
Max diff block lines reached; 71638/74772 bytes (95.81%) of diff not shown. |
Offset 1265, 60 lines modified | Offset 1265, 60 lines modified | ||
1265 | .method·static·calculateBCHCode(II)I | 1265 | .method·static·calculateBCHCode(II)I |
1266 | ····.locals·3 | 1266 | ····.locals·3 |
1267 | ····.param·p0,·"value"····#·I | 1267 | ····.param·p0,·"value"····#·I |
1268 | ····.param·p1,·"poly"····#·I | 1268 | ····.param·p1,·"poly"····#·I |
1269 | ····.prologue | 1269 | ····.prologue |
1270 | ····.line·30 | 1270 | ····.line·303 |
1271 | ····if-nez·p1,·:cond_0 | 1271 | ····if-nez·p1,·:cond_0 |
1272 | ····.line·30 | 1272 | ····.line·304 |
1273 | ····new-instance·v1,·Ljava/lang/IllegalArgumentException; | 1273 | ····new-instance·v1,·Ljava/lang/IllegalArgumentException; |
1274 | ····const-string·v2,·"0·polynomial" | 1274 | ····const-string·v2,·"0·polynomial" |
1275 | ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V | 1275 | ····invoke-direct·{v1,·v2},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V |
1276 | ····throw·v1 | 1276 | ····throw·v1 |
1277 | ····.line·3 | 1277 | ····.line·308 |
1278 | ····:cond_0 | 1278 | ····:cond_0 |
1279 | ····invoke-static·{p1},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I | 1279 | ····invoke-static·{p1},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I |
1280 | ····move-result·v0 | 1280 | ····move-result·v0 |
1281 | ····.line·3 | 1281 | ····.line·309 |
1282 | ····.local·v0,·"msbSetInPoly":I | 1282 | ····.local·v0,·"msbSetInPoly":I |
1283 | ····add-int/lit8·v1,·v0,·-0x1 | 1283 | ····add-int/lit8·v1,·v0,·-0x1 |
1284 | ····shl-int/2addr·p0,·v1 | 1284 | ····shl-int/2addr·p0,·v1 |
1285 | ····.line·31 | 1285 | ····.line·311 |
1286 | ····:goto_0 | 1286 | ····:goto_0 |
1287 | ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I | 1287 | ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I |
1288 | ····move-result·v1 | 1288 | ····move-result·v1 |
1289 | ····if-lt·v1,·v0,·:cond_1 | 1289 | ····if-lt·v1,·v0,·:cond_1 |
1290 | ····.line·31 | 1290 | ····.line·312 |
1291 | ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I | 1291 | ····invoke-static·{p0},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->findMSBSet(I)I |
1292 | ····move-result·v1 | 1292 | ····move-result·v1 |
1293 | ····sub-int/2addr·v1,·v0 | 1293 | ····sub-int/2addr·v1,·v0 |
1294 | ····shl-int·v1,·p1,·v1 | 1294 | ····shl-int·v1,·p1,·v1 |
1295 | ····xor-int/2addr·p0,·v1 | 1295 | ····xor-int/2addr·p0,·v1 |
1296 | ····goto·:goto_0 | 1296 | ····goto·:goto_0 |
1297 | ····.line·3 | 1297 | ····.line·315 |
1298 | ····:cond_1 | 1298 | ····:cond_1 |
1299 | ····return·p0 | 1299 | ····return·p0 |
1300 | .end·method | 1300 | .end·method |
1301 | .method·static·clearMatrix(Lcom/google/zxing/qrcode/encoder/ByteMatrix;)V | 1301 | .method·static·clearMatrix(Lcom/google/zxing/qrcode/encoder/ByteMatrix;)V |
1302 | ····.locals·1 | 1302 | ····.locals·1 |
1303 | ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix; | 1303 | ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix; |
Offset 1368, 47 lines modified | Offset 1368, 47 lines modified | ||
1368 | ············Lcom/google/zxing/WriterException; | 1368 | ············Lcom/google/zxing/WriterException; |
1369 | ········} | 1369 | ········} |
1370 | ····.end·annotation | 1370 | ····.end·annotation |
1371 | ····.prologue | 1371 | ····.prologue |
1372 | ····const/16·v2,·0x8 | 1372 | ····const/16·v2,·0x8 |
1373 | ····.line·3 | 1373 | ····.line·376 |
1374 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I | 1374 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I |
1375 | ····move-result·v0 | 1375 | ····move-result·v0 |
1376 | ····add-int/lit8·v0,·v0,·-0x8 | 1376 | ····add-int/lit8·v0,·v0,·-0x8 |
1377 | ····invoke-virtual·{p0,·v2,·v0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B | 1377 | ····invoke-virtual·{p0,·v2,·v0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->get(II)B |
1378 | ····move-result·v0 | 1378 | ····move-result·v0 |
1379 | ····if-nez·v0,·:cond_0 | 1379 | ····if-nez·v0,·:cond_0 |
1380 | ····.line·3 | 1380 | ····.line·377 |
1381 | ····new-instance·v0,·Lcom/google/zxing/WriterException; | 1381 | ····new-instance·v0,·Lcom/google/zxing/WriterException; |
1382 | ····invoke-direct·{v0},·Lcom/google/zxing/WriterException;-><init>()V | 1382 | ····invoke-direct·{v0},·Lcom/google/zxing/WriterException;-><init>()V |
1383 | ····throw·v0 | 1383 | ····throw·v0 |
1384 | ····.line·3 | 1384 | ····.line·379 |
1385 | ····:cond_0 | 1385 | ····:cond_0 |
1386 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I | 1386 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I |
1387 | ····move-result·v0 | 1387 | ····move-result·v0 |
1388 | ····add-int/lit8·v0,·v0,·-0x8 | 1388 | ····add-int/lit8·v0,·v0,·-0x8 |
1389 | ····const/4·v1,·0x1 | 1389 | ····const/4·v1,·0x1 |
1390 | ····invoke-virtual·{p0,·v2,·v0,·v1},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->set(III)V | 1390 | ····invoke-virtual·{p0,·v2,·v0,·v1},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->set(III)V |
1391 | ····.line·38 | 1391 | ····.line·380 |
1392 | ····return-void | 1392 | ····return-void |
1393 | .end·method | 1393 | .end·method |
1394 | .method·static·embedDataBits(Lcom/google/zxing/common/BitArray;ILcom/google/zxing/qrcode/encoder/ByteMatrix;)V | 1394 | .method·static·embedDataBits(Lcom/google/zxing/common/BitArray;ILcom/google/zxing/qrcode/encoder/ByteMatrix;)V |
1395 | ····.locals·10 | 1395 | ····.locals·10 |
1396 | ····.param·p0,·"dataBits"····#·Lcom/google/zxing/common/BitArray; | 1396 | ····.param·p0,·"dataBits"····#·Lcom/google/zxing/common/BitArray; |
1397 | ····.param·p1,·"maskPattern"····#·I | 1397 | ····.param·p1,·"maskPattern"····#·I |
Offset 1485, 24 lines modified | Offset 1485, 17 lines modified | ||
1485 | ····move-result·v7 | 1485 | ····move-result·v7 |
1486 | ····invoke-static·{v7},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->isEmpty(I)Z | 1486 | ····invoke-static·{v7},·Lcom/google/zxing/qrcode/encoder/MatrixUtil;->isEmpty(I)Z |
1487 | ····move-result·v7 | 1487 | ····move-result·v7 |
1488 | ····if- | 1488 | ····if-eqz·v7,·:cond_2 |
1489 | ····.line·234 | ||
1490 | ····:goto_3 | ||
1491 | ····add-int/lit8·v3,·v3,·0x1 | ||
1492 | ····goto·:goto_2 | ||
1493 | ····.line·241 | 1489 | ····.line·241 |
1494 | ····:cond_1 | ||
1495 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I | 1490 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitArray;->getSize()I |
Max diff block lines reached; 24804/27819 bytes (89.16%) of diff not shown. |
Offset 52, 86 lines modified | Offset 52, 86 lines modified | ||
52 | ····.locals·11 | 52 | ····.locals·11 |
53 | ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix; | 53 | ····.param·p0,·"matrix"····#·Lcom/google/zxing/qrcode/encoder/ByteMatrix; |
54 | ····.param·p1,·"isHorizontal"····#·Z | 54 | ····.param·p1,·"isHorizontal"····#·Z |
55 | ····.prologue | 55 | ····.prologue |
56 | ····const/4·v10,·0x5 | 56 | ····const/4·v10,·0x5 |
57 | ····.line·19 | 57 | ····.line·195 |
58 | ····const/4·v7,·0x0 | 58 | ····const/4·v7,·0x0 |
59 | ····.line·19 | 59 | ····.line·196 |
60 | ····.local·v7,·"penalty":I | 60 | ····.local·v7,·"penalty":I |
61 | ····if-eqz·p1,·:cond_0 | 61 | ····if-eqz·p1,·:cond_0 |
62 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I | 62 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I |
63 | ····move-result·v3 | 63 | ····move-result·v3 |
64 | ····.line·19 | 64 | ····.line·197 |
65 | ····.local·v3,·"iLimit":I | 65 | ····.local·v3,·"iLimit":I |
66 | ····:goto_0 | 66 | ····:goto_0 |
67 | ····if-eqz·p1,·:cond_1 | 67 | ····if-eqz·p1,·:cond_1 |
68 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I | 68 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I |
69 | ····move-result·v5 | 69 | ····move-result·v5 |
70 | ····.line·19 | 70 | ····.line·198 |
71 | ····.local·v5,·"jLimit":I | 71 | ····.local·v5,·"jLimit":I |
72 | ····:goto_1 | 72 | ····:goto_1 |
73 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getArray()[[B | 73 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getArray()[[B |
74 | ····move-result-object·v0 | 74 | ····move-result-object·v0 |
75 | ····.line·19 | 75 | ····.line·199 |
76 | ····.local·v0,·"array":[[B | 76 | ····.local·v0,·"array":[[B |
77 | ····const/4·v2,·0x0 | 77 | ····const/4·v2,·0x0 |
78 | ····.local·v2,·"i":I | 78 | ····.local·v2,·"i":I |
79 | ····:goto_2 | 79 | ····:goto_2 |
80 | ····if-ge·v2,·v3,·:cond_7 | 80 | ····if-ge·v2,·v3,·:cond_7 |
81 | ····.line· | 81 | ····.line·200 |
82 | ····const/4·v6,·0x0 | 82 | ····const/4·v6,·0x0 |
83 | ····.line· | 83 | ····.line·201 |
84 | ····.local·v6,·"numSameBitCells":I | 84 | ····.local·v6,·"numSameBitCells":I |
85 | ····const/4·v8,·-0x1 | 85 | ····const/4·v8,·-0x1 |
86 | ····.line· | 86 | ····.line·202 |
87 | ····.local·v8,·"prevBit":I | 87 | ····.local·v8,·"prevBit":I |
88 | ····const/4·v4,·0x0 | 88 | ····const/4·v4,·0x0 |
89 | ····.local·v4,·"j":I | 89 | ····.local·v4,·"j":I |
90 | ····:goto_3 | 90 | ····:goto_3 |
91 | ····if-ge·v4,·v5,·:cond_5 | 91 | ····if-ge·v4,·v5,·:cond_5 |
92 | ····.line· | 92 | ····.line·203 |
93 | ····if-eqz·p1,·:cond_2 | 93 | ····if-eqz·p1,·:cond_2 |
94 | ····aget-object·v9,·v0,·v2 | 94 | ····aget-object·v9,·v0,·v2 |
95 | ····aget-byte·v1,·v9,·v4 | 95 | ····aget-byte·v1,·v9,·v4 |
96 | ····.line·20 | 96 | ····.line·204 |
97 | ····.local·v1,·"bit":I | 97 | ····.local·v1,·"bit":I |
98 | ····:goto_4 | 98 | ····:goto_4 |
99 | ····if-ne·v1,·v8,·:cond_3 | 99 | ····if-ne·v1,·v8,·:cond_3 |
100 | ····.line·20 | 100 | ····.line·205 |
101 | ····add-int/lit8·v6,·v6,·0x1 | 101 | ····add-int/lit8·v6,·v6,·0x1 |
102 | ····.line· | 102 | ····.line·202 |
103 | ····:goto_5 | 103 | ····:goto_5 |
104 | ····add-int/lit8·v4,·v4,·0x1 | 104 | ····add-int/lit8·v4,·v4,·0x1 |
105 | ····goto·:goto_3 | 105 | ····goto·:goto_3 |
106 | ····.line·19 | 106 | ····.line·196 |
107 | ····.end·local·v0····#·"array":[[B | 107 | ····.end·local·v0····#·"array":[[B |
108 | ····.end·local·v1····#·"bit":I | 108 | ····.end·local·v1····#·"bit":I |
109 | ····.end·local·v2····#·"i":I | 109 | ····.end·local·v2····#·"i":I |
110 | ····.end·local·v3····#·"iLimit":I | 110 | ····.end·local·v3····#·"iLimit":I |
111 | ····.end·local·v4····#·"j":I | 111 | ····.end·local·v4····#·"j":I |
112 | ····.end·local·v5····#·"jLimit":I | 112 | ····.end·local·v5····#·"jLimit":I |
113 | ····.end·local·v6····#·"numSameBitCells":I | 113 | ····.end·local·v6····#·"numSameBitCells":I |
Offset 139, 77 lines modified | Offset 139, 77 lines modified | ||
139 | ····:cond_0 | 139 | ····:cond_0 |
140 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I | 140 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getWidth()I |
141 | ····move-result·v3 | 141 | ····move-result·v3 |
142 | ····goto·:goto_0 | 142 | ····goto·:goto_0 |
143 | ····.line·19 | 143 | ····.line·197 |
144 | ····.restart·local·v3····#·"iLimit":I | 144 | ····.restart·local·v3····#·"iLimit":I |
145 | ····:cond_1 | 145 | ····:cond_1 |
146 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I | 146 | ····invoke-virtual·{p0},·Lcom/google/zxing/qrcode/encoder/ByteMatrix;->getHeight()I |
147 | ····move-result·v5 | 147 | ····move-result·v5 |
148 | ····goto·:goto_1 | 148 | ····goto·:goto_1 |
149 | ····.line· | 149 | ····.line·203 |
150 | ····.restart·local·v0····#·"array":[[B | 150 | ····.restart·local·v0····#·"array":[[B |
151 | ····.restart·local·v2····#·"i":I | 151 | ····.restart·local·v2····#·"i":I |
152 | ····.restart·local·v4····#·"j":I | 152 | ····.restart·local·v4····#·"j":I |
153 | ····.restart·local·v5····#·"jLimit":I | 153 | ····.restart·local·v5····#·"jLimit":I |
154 | ····.restart·local·v6····#·"numSameBitCells":I | 154 | ····.restart·local·v6····#·"numSameBitCells":I |
155 | ····.restart·local·v8····#·"prevBit":I | 155 | ····.restart·local·v8····#·"prevBit":I |
156 | ····:cond_2 | 156 | ····:cond_2 |
157 | ····aget-object·v9,·v0,·v4 | 157 | ····aget-object·v9,·v0,·v4 |
158 | ····aget-byte·v1,·v9,·v2 | 158 | ····aget-byte·v1,·v9,·v2 |
159 | ····goto·:goto_4 | 159 | ····goto·:goto_4 |
160 | ····.line·20 | 160 | ····.line·207 |
161 | ····.restart·local·v1····#·"bit":I | 161 | ····.restart·local·v1····#·"bit":I |
162 | ····:cond_3 | 162 | ····:cond_3 |
163 | ····if-lt·v6,·v10,·:cond_4 | 163 | ····if-lt·v6,·v10,·:cond_4 |
164 | ····.line·20 | 164 | ····.line·208 |
165 | ····add-int/lit8·v9,·v6,·-0x5 | 165 | ····add-int/lit8·v9,·v6,·-0x5 |
166 | ····add-int/lit8·v9,·v9,·0x3 | 166 | ····add-int/lit8·v9,·v9,·0x3 |
Max diff block lines reached; 10185/13044 bytes (78.08%) of diff not shown. |
Offset 19, 15 lines modified | Offset 19, 15 lines modified | ||
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·static·constructor·<clinit>()V | 20 | .method·static·constructor·<clinit>()V |
21 | ····.locals·3 | 21 | ····.locals·3 |
22 | ····.prologue | 22 | ····.prologue |
23 | ····.line·4 | 23 | ····.line·498 |
24 | ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/Mode;->values()[Lcom/google/zxing/qrcode/decoder/Mode; | 24 | ····invoke-static·{},·Lcom/google/zxing/qrcode/decoder/Mode;->values()[Lcom/google/zxing/qrcode/decoder/Mode; |
25 | ····move-result-object·v0 | 25 | ····move-result-object·v0 |
26 | ····array-length·v0,·v0 | 26 | ····array-length·v0,·v0 |
27 | ····new-array·v0,·v0,·[I | 27 | ····new-array·v0,·v0,·[I |
Offset 60, 88 lines modified | Offset 60, 88 lines modified | ||
60 | ····.end·annotation | 60 | ····.end·annotation |
61 | ····.prologue | 61 | ····.prologue |
62 | ····const/16·v13,·0x21 | 62 | ····const/16·v13,·0x21 |
63 | ····const/16·v12,·0x1e | 63 | ····const/16·v12,·0x1e |
64 | ····.line·10 | 64 | ····.line·101 |
65 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getEnclosingRectangle()[I | 65 | ····invoke-virtual·{p0},·Lcom/google/zxing/common/BitMatrix;->getEnclosingRectangle()[I |
66 | ····move-result-object·v1 | 66 | ····move-result-object·v1 |
67 | ····.line·10 | 67 | ····.line·102 |
68 | ····.local·v1,·"enclosingRectangle":[I | 68 | ····.local·v1,·"enclosingRectangle":[I |
69 | ····if-nez·v1,·:cond_0 | 69 | ····if-nez·v1,·:cond_0 |
70 | ····.line·10 | 70 | ····.line·103 |
71 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; | 71 | ····invoke-static·{},·Lcom/google/zxing/NotFoundException;->getNotFoundInstance()Lcom/google/zxing/NotFoundException; |
72 | ····move-result-object·v10 | 72 | ····move-result-object·v10 |
73 | ····throw·v10 | 73 | ····throw·v10 |
74 | ····.line·10 | 74 | ····.line·106 |
75 | ····:cond_0 | 75 | ····:cond_0 |
76 | ····const/4·v10,·0x0 | 76 | ····const/4·v10,·0x0 |
77 | ····aget·v5,·v1,·v10 | 77 | ····aget·v5,·v1,·v10 |
78 | ····.line·10 | 78 | ····.line·107 |
79 | ····.local·v5,·"left":I | 79 | ····.local·v5,·"left":I |
80 | ····const/4·v10,·0x1 | 80 | ····const/4·v10,·0x1 |
81 | ····aget·v6,·v1,·v10 | 81 | ····aget·v6,·v1,·v10 |
82 | ····.line·10 | 82 | ····.line·108 |
83 | ····.local·v6,·"top":I | 83 | ····.local·v6,·"top":I |
84 | ····const/4·v10,·0x2 | 84 | ····const/4·v10,·0x2 |
85 | ····aget·v7,·v1,·v10 | 85 | ····aget·v7,·v1,·v10 |
86 | ····.line·1 | 86 | ····.line·109 |
87 | ····.local·v7,·"width":I | 87 | ····.local·v7,·"width":I |
88 | ····const/4·v10,·0x3 | 88 | ····const/4·v10,·0x3 |
89 | ····aget·v2,·v1,·v10 | 89 | ····aget·v2,·v1,·v10 |
90 | ····.line·11 | 90 | ····.line·112 |
91 | ····.local·v2,·"height":I | 91 | ····.local·v2,·"height":I |
92 | ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix; | 92 | ····new-instance·v0,·Lcom/google/zxing/common/BitMatrix; |
93 | ····invoke-direct·{v0,·v12,·v13},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V | 93 | ····invoke-direct·{v0,·v12,·v13},·Lcom/google/zxing/common/BitMatrix;-><init>(II)V |
94 | ····.line·11 | 94 | ····.line·113 |
95 | ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix; | 95 | ····.local·v0,·"bits":Lcom/google/zxing/common/BitMatrix; |
96 | ····const/4·v9,·0x0 | 96 | ····const/4·v9,·0x0 |
97 | ····.local·v9,·"y":I | 97 | ····.local·v9,·"y":I |
98 | ····:goto_0 | 98 | ····:goto_0 |
99 | ····if-ge·v9,·v13,·:cond_3 | 99 | ····if-ge·v9,·v13,·:cond_3 |
100 | ····.line·11 | 100 | ····.line·114 |
101 | ····mul-int·v10,·v9,·v2 | 101 | ····mul-int·v10,·v9,·v2 |
102 | ····div-int/lit8·v11,·v2,·0x2 | 102 | ····div-int/lit8·v11,·v2,·0x2 |
103 | ····add-int/2addr·v10,·v11 | 103 | ····add-int/2addr·v10,·v11 |
104 | ····div-int/lit8·v10,·v10,·0x21 | 104 | ····div-int/lit8·v10,·v10,·0x21 |
105 | ····add-int·v4,·v6,·v10 | 105 | ····add-int·v4,·v6,·v10 |
106 | ····.line·11 | 106 | ····.line·115 |
107 | ····.local·v4,·"iy":I | 107 | ····.local·v4,·"iy":I |
108 | ····const/4·v8,·0x0 | 108 | ····const/4·v8,·0x0 |
109 | ····.local·v8,·"x":I | 109 | ····.local·v8,·"x":I |
110 | ····:goto_1 | 110 | ····:goto_1 |
111 | ····if-ge·v8,·v12,·:cond_2 | 111 | ····if-ge·v8,·v12,·:cond_2 |
112 | ····.line·11 | 112 | ····.line·116 |
113 | ····mul-int·v10,·v8,·v7 | 113 | ····mul-int·v10,·v8,·v7 |
114 | ····div-int/lit8·v11,·v7,·0x2 | 114 | ····div-int/lit8·v11,·v7,·0x2 |
115 | ····add-int/2addr·v10,·v11 | 115 | ····add-int/2addr·v10,·v11 |
116 | ····and-int/lit8·v11,·v9,·0x1 | 116 | ····and-int/lit8·v11,·v9,·0x1 |
Offset 152, 39 lines modified | Offset 152, 39 lines modified | ||
152 | ····add-int/2addr·v10,·v11 | 152 | ····add-int/2addr·v10,·v11 |
153 | ····div-int/lit8·v10,·v10,·0x1e | 153 | ····div-int/lit8·v10,·v10,·0x1e |
154 | ····add-int·v3,·v5,·v10 | 154 | ····add-int·v3,·v5,·v10 |
155 | ····.line·11 | 155 | ····.line·117 |
156 | ····.local·v3,·"ix":I | 156 | ····.local·v3,·"ix":I |
157 | ····invoke-virtual·{p0,·v3,·v4},·Lcom/google/zxing/common/BitMatrix;->get(II)Z | 157 | ····invoke-virtual·{p0,·v3,·v4},·Lcom/google/zxing/common/BitMatrix;->get(II)Z |
158 | ····move-result·v10 | 158 | ····move-result·v10 |
159 | ····if-eqz·v10,·:cond_1 | 159 | ····if-eqz·v10,·:cond_1 |
160 | ····.line·11 | 160 | ····.line·118 |
161 | ····invoke-virtual·{v0,·v8,·v9},·Lcom/google/zxing/common/BitMatrix;->set(II)V | 161 | ····invoke-virtual·{v0,·v8,·v9},·Lcom/google/zxing/common/BitMatrix;->set(II)V |
162 | ····.line·11 | 162 | ····.line·115 |
163 | ····:cond_1 | 163 | ····:cond_1 |
164 | ····add-int/lit8·v8,·v8,·0x1 | 164 | ····add-int/lit8·v8,·v8,·0x1 |
165 | ····goto·:goto_1 | 165 | ····goto·:goto_1 |
166 | ····.line·11 | 166 | ····.line·113 |
167 | ····.end·local·v3····#·"ix":I | 167 | ····.end·local·v3····#·"ix":I |
168 | ····:cond_2 | 168 | ····:cond_2 |
169 | ····add-int/lit8·v9,·v9,·0x1 | 169 | ····add-int/lit8·v9,·v9,·0x1 |
170 | ····goto·:goto_0 | 170 | ····goto·:goto_0 |
171 | ····.line·12 | 171 | ····.line·122 |
172 | ····.end·local·v4····#·"iy":I | 172 | ····.end·local·v4····#·"iy":I |
173 | ····.end·local·v8····#·"x":I | 173 | ····.end·local·v8····#·"x":I |
174 | ····:cond_3 | 174 | ····:cond_3 |
175 | ····return-object·v0 | 175 | ····return-object·v0 |
176 | .end·method | 176 | .end·method |
Max diff block lines reached; 4807/7392 bytes (65.03%) of diff not shown. |
Offset 12, 16 lines modified | Offset 12, 14 lines modified | ||
12 | .field·private·static·final·LATCHA:C·=·'\ufff7' | 12 | .field·private·static·final·LATCHA:C·=·'\ufff7' |
13 | .field·private·static·final·LATCHB:C·=·'\ufff8' | 13 | .field·private·static·final·LATCHB:C·=·'\ufff8' |
14 | .field·private·static·final·LOCK:C·=·'\ufff9' | 14 | .field·private·static·final·LOCK:C·=·'\ufff9' |
15 | .field·private·static·final·NINE_DIGITS:Ljava/text/NumberFormat; | ||
16 | .field·private·static·final·NS:C·=·'\ufffb' | 15 | .field·private·static·final·NS:C·=·'\ufffb' |
17 | .field·private·static·final·PAD:C·=·'\ufffc' | 16 | .field·private·static·final·PAD:C·=·'\ufffc' |
18 | .field·private·static·final·RS:C·=·'\u001e' | 17 | .field·private·static·final·RS:C·=·'\u001e' |
19 | .field·private·static·final·SETS:[Ljava/lang/String; | 18 | .field·private·static·final·SETS:[Ljava/lang/String; |
Offset 34, 43 lines modified | Offset 32, 23 lines modified | ||
34 | .field·private·static·final·SHIFTD:C·=·'\ufff3' | 32 | .field·private·static·final·SHIFTD:C·=·'\ufff3' |
35 | .field·private·static·final·SHIFTE:C·=·'\ufff4' | 33 | .field·private·static·final·SHIFTE:C·=·'\ufff4' |
36 | .field·private·static·final·THREESHIFTA:C·=·'\ufff6' | 34 | .field·private·static·final·THREESHIFTA:C·=·'\ufff6' |
37 | .field·private·static·final·THREE_DIGITS:Ljava/text/NumberFormat; | ||
38 | .field·private·static·final·TWOSHIFTA:C·=·'\ufff5' | 35 | .field·private·static·final·TWOSHIFTA:C·=·'\ufff5' |
39 | #·direct·methods | 36 | #·direct·methods |
40 | .method·static·constructor·<clinit>()V | 37 | .method·static·constructor·<clinit>()V |
41 | ····.locals·3 | 38 | ····.locals·3 |
42 | ····.prologue | 39 | ····.prologue |
43 | ····.line·48 | ||
44 | ····new-instance·v0,·Ljava/text/DecimalFormat; | ||
45 | ····const-string·v1,·"000000000" | ||
46 | ····invoke-direct·{v0,·v1},·Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V | ||
47 | ····sput-object·v0,·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->NINE_DIGITS:Ljava/text/NumberFormat; | ||
48 | ····.line·49 | 40 | ····.line·49 |
49 | ····new-instance·v0,·Ljava/text/DecimalFormat; | ||
50 | ····const-string·v1,·"000" | ||
51 | ····invoke-direct·{v0,·v1},·Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V | ||
52 | ····sput-object·v0,·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->THREE_DIGITS:Ljava/text/NumberFormat; | ||
53 | ····.line·51 | ||
54 | ····const/4·v0,·0x6 | 41 | ····const/4·v0,·0x6 |
55 | ····new-array·v0,·v0,·[Ljava/lang/String; | 42 | ····new-array·v0,·v0,·[Ljava/lang/String; |
56 | ····const/4·v1,·0x0 | 43 | ····const/4·v1,·0x0 |
57 | ····const-string·v2,·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&\'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8" | 44 | ····const-string·v2,·"\nABCDEFGHIJKLMNOPQRSTUVWXYZ\ufffa\u001c\u001d\u001e\ufffb·\ufffc\"#$%&\'()*+,-./0123456789:\ufff1\ufff2\ufff3\ufff4\ufff8" |
Offset 112, 18 lines modified | Offset 90, 18 lines modified | ||
112 | ····return-void | 90 | ····return-void |
113 | .end·method | 91 | .end·method |
114 | .method·private·constructor·<init>()V | 92 | .method·private·constructor·<init>()V |
115 | ····.locals·0 | 93 | ····.locals·0 |
116 | ····.prologue | 94 | ····.prologue |
117 | ····.line· | 95 | ····.line·70 |
118 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 96 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
119 | ····.line· | 97 | ····.line·71 |
120 | ····return-void | 98 | ····return-void |
121 | .end·method | 99 | .end·method |
122 | .method·static·decode([BI)Lcom/google/zxing/common/DecoderResult; | 100 | .method·static·decode([BI)Lcom/google/zxing/common/DecoderResult; |
123 | ····.locals·12 | 101 | ····.locals·12 |
124 | ····.param·p0,·"bytes"····#·[B | 102 | ····.param·p0,·"bytes"····#·[B |
125 | ····.param·p1,·"mode"····#·I | 103 | ····.param·p1,·"mode"····#·I |
Offset 131, 142 lines modified | Offset 109, 144 lines modified | ||
131 | ····.prologue | 109 | ····.prologue |
132 | ····const/4·v7,·0x1 | 110 | ····const/4·v7,·0x1 |
133 | ····const/4·v11,·0x0 | 111 | ····const/4·v11,·0x0 |
134 | ····const/16·v10,·0x1d | 112 | ····const/16·v10,·0x1d |
135 | ····.line· | 113 | ····.line·74 |
136 | ····new-instance·v | 114 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
137 | ····const/16·v6,·0x90 | 115 | ····const/16·v6,·0x90 |
138 | ····invoke-direct·{v | 116 | ····invoke-direct·{v3,·v6},·Ljava/lang/StringBuilder;-><init>(I)V |
139 | ····.line· | 117 | ····.line·75 |
140 | ····.local·v | 118 | ····.local·v3,·"result":Ljava/lang/StringBuilder; |
141 | ····packed-switch·p1,·:pswitch_data_0 | 119 | ····packed-switch·p1,·:pswitch_data_0 |
142 | ····.line· | 120 | ····.line·103 |
143 | ····:goto_0 | 121 | ····:goto_0 |
144 | ····new-instance·v6,·Lcom/google/zxing/common/DecoderResult; | 122 | ····new-instance·v6,·Lcom/google/zxing/common/DecoderResult; |
145 | ····invoke-virtual·{v | 123 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
146 | ····move-result-object·v7 | 124 | ····move-result-object·v7 |
147 | ····const/4·v8,·0x0 | 125 | ····const/4·v8,·0x0 |
148 | ····invoke-static·{p1},·Ljava/lang/String;->valueOf(I)Ljava/lang/String; | 126 | ····invoke-static·{p1},·Ljava/lang/String;->valueOf(I)Ljava/lang/String; |
149 | ····move-result-object·v9 | 127 | ····move-result-object·v9 |
150 | ····invoke-direct·{v6,·p0,·v7,·v8,·v9},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;)V | 128 | ····invoke-direct·{v6,·p0,·v7,·v8,·v9},·Lcom/google/zxing/common/DecoderResult;-><init>([BLjava/lang/String;Ljava/util/List;Ljava/lang/String;)V |
151 | ····return-object·v6 | 129 | ····return-object·v6 |
152 | ····.line· | 130 | ····.line·79 |
153 | ····:pswitch_0 | 131 | ····:pswitch_0 |
154 | ····const/4·v6,·0x2 | 132 | ····const/4·v6,·0x2 |
155 | ····if-ne·p1,·v6,·:cond_0 | 133 | ····if-ne·p1,·v6,·:cond_0 |
156 | ····.line· | 134 | ····.line·80 |
157 | ····invoke-static·{p0},·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->getPostCode2([B)I | 135 | ····invoke-static·{p0},·Lcom/google/zxing/maxicode/decoder/DecodedBitStreamParser;->getPostCode2([B)I |
158 | ····move-result·v | 136 | ····move-result·v1 |
Max diff block lines reached; 21205/24924 bytes (85.08%) of diff not shown. |
Offset 33, 15 lines modified | Offset 33, 15 lines modified | ||
33 | ····iput-object·v0,·p0,·Lcom/google/zxing/maxicode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; | 33 | ····iput-object·v0,·p0,·Lcom/google/zxing/maxicode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; |
34 | ····.line·46 | 34 | ····.line·46 |
35 | ····return-void | 35 | ····return-void |
36 | .end·method | 36 | .end·method |
37 | .method·private·correctErrors([BIIII)V | 37 | .method·private·correctErrors([BIIII)V |
38 | ····.locals· | 38 | ····.locals·6 |
39 | ····.param·p1,·"codewordBytes"····#·[B | 39 | ····.param·p1,·"codewordBytes"····#·[B |
40 | ····.param·p2,·"start"····#·I | 40 | ····.param·p2,·"start"····#·I |
41 | ····.param·p3,·"dataCodewords"····#·I | 41 | ····.param·p3,·"dataCodewords"····#·I |
42 | ····.param·p4,·"ecCodewords"····#·I | 42 | ····.param·p4,·"ecCodewords"····#·I |
43 | ····.param·p5,·"mode"····#·I | 43 | ····.param·p5,·"mode"····#·I |
44 | ····.annotation·system·Ldalvik/annotation/Throws; | 44 | ····.annotation·system·Ldalvik/annotation/Throws; |
45 | ········value·=·{ | 45 | ········value·=·{ |
Offset 58, 46 lines modified | Offset 58, 46 lines modified | ||
58 | ····if-nez·p5,·:cond_2 | 58 | ····if-nez·p5,·:cond_2 |
59 | ····const/4·v2,·0x1 | 59 | ····const/4·v2,·0x1 |
60 | ····.line·94 | 60 | ····.line·94 |
61 | ····.local·v2,·"divisor":I | 61 | ····.local·v2,·"divisor":I |
62 | ····:goto_0 | 62 | ····:goto_0 |
63 | ····div-int·v | 63 | ····div-int·v4,·v0,·v2 |
64 | ····new-array·v1,·v | 64 | ····new-array·v1,·v4,·[I |
65 | ····.line·95 | 65 | ····.line·95 |
66 | ····.local·v1,·"codewordsInts":[I | 66 | ····.local·v1,·"codewordsInts":[I |
67 | ····const/4·v3,·0x0 | 67 | ····const/4·v3,·0x0 |
68 | ····.local·v3,·"i":I | 68 | ····.local·v3,·"i":I |
69 | ····:goto_1 | 69 | ····:goto_1 |
70 | ····if-ge·v3,·v0,·:cond_3 | 70 | ····if-ge·v3,·v0,·:cond_3 |
71 | ····.line·96 | 71 | ····.line·96 |
72 | ····if-eqz·p5,·:cond_0 | 72 | ····if-eqz·p5,·:cond_0 |
73 | ····rem-int/lit8·v | 73 | ····rem-int/lit8·v4,·v3,·0x2 |
74 | ····add-int/lit8·v | 74 | ····add-int/lit8·v5,·p5,·-0x1 |
75 | ····if-ne·v | 75 | ····if-ne·v4,·v5,·:cond_1 |
76 | ····.line·97 | 76 | ····.line·97 |
77 | ····:cond_0 | 77 | ····:cond_0 |
78 | ····div-int·v | 78 | ····div-int·v4,·v3,·v2 |
79 | ····add-int·v | 79 | ····add-int·v5,·v3,·p2 |
80 | ····aget-byte·v | 80 | ····aget-byte·v5,·p1,·v5 |
81 | ····and-int/lit16·v | 81 | ····and-int/lit16·v5,·v5,·0xff |
82 | ····aput·v | 82 | ····aput·v5,·v1,·v4 |
83 | ····.line·95 | 83 | ····.line·95 |
84 | ····:cond_1 | 84 | ····:cond_1 |
85 | ····add-int/lit8·v3,·v3,·0x1 | 85 | ····add-int/lit8·v3,·v3,·0x1 |
86 | ····goto·:goto_1 | 86 | ····goto·:goto_1 |
Offset 112, 69 lines modified | Offset 112, 66 lines modified | ||
112 | ····.line·101 | 112 | ····.line·101 |
113 | ····.restart·local·v1····#·"codewordsInts":[I | 113 | ····.restart·local·v1····#·"codewordsInts":[I |
114 | ····.restart·local·v2····#·"divisor":I | 114 | ····.restart·local·v2····#·"divisor":I |
115 | ····.restart·local·v3····#·"i":I | 115 | ····.restart·local·v3····#·"i":I |
116 | ····:cond_3 | 116 | ····:cond_3 |
117 | ····:try_start_0 | 117 | ····:try_start_0 |
118 | ····iget-object·v | 118 | ····iget-object·v4,·p0,·Lcom/google/zxing/maxicode/decoder/Decoder;->rsDecoder:Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder; |
119 | ····div-int·v | 119 | ····div-int·v5,·p4,·v2 |
120 | ····invoke-virtual·{v | 120 | ····invoke-virtual·{v4,·v1,·v5},·Lcom/google/zxing/common/reedsolomon/ReedSolomonDecoder;->decode([II)V |
121 | ····:try_end_0 | 121 | ····:try_end_0 |
122 | ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0 | 122 | ····.catch·Lcom/google/zxing/common/reedsolomon/ReedSolomonException;·{:try_start_0·..·:try_end_0}·:catch_0 |
123 | ····.line·107 | 123 | ····.line·107 |
124 | ····const/4·v3,·0x0 | 124 | ····const/4·v3,·0x0 |
125 | ····:goto_2 | 125 | ····:goto_2 |
126 | ····if-ge·v3,·p3,·:cond_6 | 126 | ····if-ge·v3,·p3,·:cond_6 |
127 | ····.line·108 | 127 | ····.line·108 |
128 | ····if-eqz·p5,·:cond_4 | 128 | ····if-eqz·p5,·:cond_4 |
129 | ····rem-int/lit8·v | 129 | ····rem-int/lit8·v4,·v3,·0x2 |
130 | ····add-int/lit8·v | 130 | ····add-int/lit8·v5,·p5,·-0x1 |
131 | ····if-ne·v | 131 | ····if-ne·v4,·v5,·:cond_5 |
132 | ····.line·109 | 132 | ····.line·109 |
133 | ····:cond_4 | 133 | ····:cond_4 |
134 | ····add-int·v | 134 | ····add-int·v4,·v3,·p2 |
135 | ····div-int·v | 135 | ····div-int·v5,·v3,·v2 |
136 | ····aget·v | 136 | ····aget·v5,·v1,·v5 |
137 | ····int-to-byte·v | 137 | ····int-to-byte·v5,·v5 |
138 | ····aput-byte·v | 138 | ····aput-byte·v5,·p1,·v4 |
139 | ····.line·107 | 139 | ····.line·107 |
140 | ····:cond_5 | 140 | ····:cond_5 |
141 | ····add-int/lit8·v3,·v3,·0x1 | 141 | ····add-int/lit8·v3,·v3,·0x1 |
142 | ····goto·:goto_2 | 142 | ····goto·:goto_2 |
143 | ····.line·10 | 143 | ····.line·103 |
144 | ····:catch_0 | 144 | ····:catch_0 |
145 | ····move-exception·v4 | 145 | ····move-exception·v4 |
146 | ····.line·103 | ||
147 | ····.local·v4,·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; | ||
148 | ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException; | 146 | ····invoke-static·{},·Lcom/google/zxing/ChecksumException;->getChecksumInstance()Lcom/google/zxing/ChecksumException; |
149 | ····move-result-object·v | 147 | ····move-result-object·v4 |
150 | ····throw·v | 148 | ····throw·v4 |
151 | ····.line·112 | 149 | ····.line·112 |
152 | ····.end·local·v4····#·"ignored":Lcom/google/zxing/common/reedsolomon/ReedSolomonException; | ||
153 | ····:cond_6 | 150 | ····:cond_6 |
154 | ····return-void | 151 | ····return-void |
Max diff block lines reached; 6060/9578 bytes (63.27%) of diff not shown. |
Offset 36, 15 lines modified | Offset 36, 14 lines modified | ||
36 | .method·public·constructor·<init>()V | 36 | .method·public·constructor·<init>()V |
37 | ····.locals·0 | 37 | ····.locals·0 |
38 | ····.prologue | 38 | ····.prologue |
39 | ····.line·34 | 39 | ····.line·34 |
40 | ····invoke-direct·{p0},·Landroid/preference/PreferenceActivity;-><init>()V | 40 | ····invoke-direct·{p0},·Landroid/preference/PreferenceActivity;-><init>()V |
41 | ····.line·220 | ||
42 | ····return-void | 41 | ····return-void |
43 | .end·method | 42 | .end·method |
44 | .method·static·synthetic·access$000(Landroid/preference/Preference;)V | 43 | .method·static·synthetic·access$000(Landroid/preference/Preference;)V |
45 | ····.locals·0 | 44 | ····.locals·0 |
46 | ····.param·p0,·"x0"····#·Landroid/preference/Preference; | 45 | ····.param·p0,·"x0"····#·Landroid/preference/Preference; |
Offset 64, 32 lines modified | Offset 63, 35 lines modified | ||
64 | ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener; | 63 | ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener; |
65 | ····invoke-virtual·{p0,·v0},·Landroid/preference/Preference;->setOnPreferenceChangeListener(Landroid/preference/Preference$OnPreferenceChangeListener;)V | 64 | ····invoke-virtual·{p0,·v0},·Landroid/preference/Preference;->setOnPreferenceChangeListener(Landroid/preference/Preference$OnPreferenceChangeListener;)V |
66 | ····.line·190 | 65 | ····.line·190 |
67 | ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener; | 66 | ····sget-object·v0,·Lcom/github/xloem/qrstream/Settings;->sBindPreferenceSummaryToValueListener:Landroid/preference/Preference$OnPreferenceChangeListener; |
67 | ····.line·192 | ||
68 | ····invoke-virtual·{p0},·Landroid/preference/Preference;->getContext()Landroid/content/Context; | 68 | ····invoke-virtual·{p0},·Landroid/preference/Preference;->getContext()Landroid/content/Context; |
69 | ····move-result-object·v1 | 69 | ····move-result-object·v1 |
70 | ····invoke-static·{v1},·Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; | 70 | ····invoke-static·{v1},·Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; |
71 | ····move-result-object·v1 | 71 | ····move-result-object·v1 |
72 | ····.line·193 | ||
72 | ····invoke-virtual·{p0},·Landroid/preference/Preference;->getKey()Ljava/lang/String; | 73 | ····invoke-virtual·{p0},·Landroid/preference/Preference;->getKey()Ljava/lang/String; |
73 | ····move-result-object·v2 | 74 | ····move-result-object·v2 |
74 | ····const-string·v3,·"" | 75 | ····const-string·v3,·"" |
75 | ····invoke-interface·{v1,·v2,·v3},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 76 | ····invoke-interface·{v1,·v2,·v3},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
76 | ····move-result-object·v1 | 77 | ····move-result-object·v1 |
78 | ····.line·190 | ||
77 | ····invoke-interface·{v0,·p0,·v1},·Landroid/preference/Preference$OnPreferenceChangeListener;->onPreferenceChange(Landroid/preference/Preference;Ljava/lang/Object;)Z | 79 | ····invoke-interface·{v0,·p0,·v1},·Landroid/preference/Preference$OnPreferenceChangeListener;->onPreferenceChange(Landroid/preference/Preference;Ljava/lang/Object;)Z |
78 | ····.line·194 | 80 | ····.line·194 |
79 | ····return-void | 81 | ····return-void |
80 | .end·method | 82 | .end·method |
81 | .method·private·static·isSimplePreferences(Landroid/content/Context;)Z | 83 | .method·private·static·isSimplePreferences(Landroid/content/Context;)Z |
Offset 100, 26 lines modified | Offset 102, 29 lines modified | ||
100 | ····.line·109 | 102 | ····.line·109 |
101 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I | 103 | ····sget·v0,·Landroid/os/Build$VERSION;->SDK_INT:I |
102 | ····const/16·v1,·0xb | 104 | ····const/16·v1,·0xb |
103 | ····if-lt·v0,·v1,·:cond_0 | 105 | ····if-lt·v0,·v1,·:cond_0 |
106 | ····.line·111 | ||
104 | ····invoke-static·{p0},·Lcom/github/xloem/qrstream/Settings;->isXLargeTablet(Landroid/content/Context;)Z | 107 | ····invoke-static·{p0},·Lcom/github/xloem/qrstream/Settings;->isXLargeTablet(Landroid/content/Context;)Z |
105 | ····move-result·v0 | 108 | ····move-result·v0 |
106 | ····if-nez·v0,·:cond_1 | 109 | ····if-nez·v0,·:cond_1 |
107 | ····:cond_0 | 110 | ····:cond_0 |
108 | ····const/4·v0,·0x1 | 111 | ····const/4·v0,·0x1 |
112 | ····.line·109 | ||
109 | ····:goto_0 | 113 | ····:goto_0 |
110 | ····return·v0 | 114 | ····return·v0 |
115 | ····.line·111 | ||
111 | ····:cond_1 | 116 | ····:cond_1 |
112 | ····const/4·v0,·0x0 | 117 | ····const/4·v0,·0x0 |
113 | ····goto·:goto_0 | 118 | ····goto·:goto_0 |
114 | .end·method | 119 | .end·method |
115 | .method·private·static·isXLargeTablet(Landroid/content/Context;)Z | 120 | .method·private·static·isXLargeTablet(Landroid/content/Context;)Z |
Offset 22, 10 lines modified | Offset 22, 9 lines modified | ||
22 | .method·public·constructor·<init>()V | 22 | .method·public·constructor·<init>()V |
23 | ····.locals·0 | 23 | ····.locals·0 |
24 | ····.prologue | 24 | ····.prologue |
25 | ····.line·10 | 25 | ····.line·10 |
26 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 26 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
27 | ····.line·68 | ||
28 | ····return-void | 27 | ····return-void |
29 | .end·method | 28 | .end·method |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; | 21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V | 23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·38 | 27 | ····.line·38 |
27 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$2;->this$0:Lcom/github/xloem/qrstream/Launcher; | 28 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$2;->this$0:Lcom/github/xloem/qrstream/Launcher; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 102, 14 lines modified | Offset 102, 15 lines modified | ||
102 | ····aput-object·v4,·v3,·v7 | 102 | ····aput-object·v4,·v3,·v7 |
103 | ····const-string·v4,·"AZTEC" | 103 | ····const-string·v4,·"AZTEC" |
104 | ····aput-object·v4,·v3,·v8 | 104 | ····aput-object·v4,·v3,·v8 |
105 | ····.line·88 | ||
105 | ····invoke-static·{v3},·Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List; | 106 | ····invoke-static·{v3},·Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List; |
106 | ····move-result-object·v3 | 107 | ····move-result-object·v3 |
107 | ····invoke-virtual·{v1,·v3},·Lcom/google/zxing/integration/android/IntentIntegrator;->initiateScan(Ljava/util/Collection;)Landroid/app/AlertDialog; | 108 | ····invoke-virtual·{v1,·v3},·Lcom/google/zxing/integration/android/IntentIntegrator;->initiateScan(Ljava/util/Collection;)Landroid/app/AlertDialog; |
108 | ····move-result-object·v0 | 109 | ····move-result-object·v0 |
Offset 200, 14 lines modified | Offset 201, 15 lines modified | ||
200 | ····move-result·v5 | 201 | ····move-result·v5 |
201 | ····if-eqz·v5,·:cond_1 | 202 | ····if-eqz·v5,·:cond_1 |
202 | ····iget-object·v5,·p0,·Lcom/github/xloem/qrstream/Receive;->lastBytes:[B | 203 | ····iget-object·v5,·p0,·Lcom/github/xloem/qrstream/Receive;->lastBytes:[B |
204 | ····.line·112 | ||
203 | ····invoke-static·{v1,·v5},·Ljava/util/Arrays;->equals([B[B)Z | 205 | ····invoke-static·{v1,·v5},·Ljava/util/Arrays;->equals([B[B)Z |
204 | ····move-result·v5 | 206 | ····move-result·v5 |
205 | ····if-nez·v5,·:cond_2 | 207 | ····if-nez·v5,·:cond_2 |
206 | ····.line·115 | 208 | ····.line·115 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; | 21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V | 23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·63 | 27 | ····.line·63 |
27 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$4;->this$0:Lcom/github/xloem/qrstream/Launcher; | 28 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$4;->this$0:Lcom/github/xloem/qrstream/Launcher; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; | 21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V | 23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·30 | 27 | ····.line·30 |
27 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$1;->this$0:Lcom/github/xloem/qrstream/Launcher; | 28 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$1;->this$0:Lcom/github/xloem/qrstream/Launcher; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; | 21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Launcher; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V | 23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Launcher;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Launcher; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·48 | 27 | ····.line·48 |
27 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$3;->this$0:Lcom/github/xloem/qrstream/Launcher; | 28 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Launcher$3;->this$0:Lcom/github/xloem/qrstream/Launcher; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 60, 20 lines modified | Offset 60, 22 lines modified | ||
60 | ····move-result·v0 | 60 | ····move-result·v0 |
61 | ····.line·139 | 61 | ····.line·139 |
62 | ····.local·v0,·"index":I | 62 | ····.local·v0,·"index":I |
63 | ····if-ltz·v0,·:cond_0 | 63 | ····if-ltz·v0,·:cond_0 |
64 | ····.line·141 | ||
64 | ····invoke-virtual·{v1},·Landroid/preference/ListPreference;->getEntries()[Ljava/lang/CharSequence; | 65 | ····invoke-virtual·{v1},·Landroid/preference/ListPreference;->getEntries()[Ljava/lang/CharSequence; |
65 | ····move-result-object·v5 | 66 | ····move-result-object·v5 |
66 | ····aget-object·v5,·v5,·v0 | 67 | ····aget-object·v5,·v5,·v0 |
68 | ····.line·139 | ||
67 | ····:cond_0 | 69 | ····:cond_0 |
68 | ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V | 70 | ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V |
69 | ····.line·171 | 71 | ····.line·171 |
70 | ····.end·local·v0····#·"index":I | 72 | ····.end·local·v0····#·"index":I |
71 | ····.end·local·v1····#·"listPreference":Landroid/preference/ListPreference; | 73 | ····.end·local·v1····#·"listPreference":Landroid/preference/ListPreference; |
72 | ····:goto_0 | 74 | ····:goto_0 |
Offset 97, 24 lines modified | Offset 99, 25 lines modified | ||
97 | ····.line·149 | 99 | ····.line·149 |
98 | ····const·v5,·0x7f06000e | 100 | ····const·v5,·0x7f06000e |
99 | ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(I)V | 101 | ····invoke-virtual·{p1,·v5},·Landroid/preference/Preference;->setSummary(I)V |
100 | ····goto·:goto_0 | 102 | ····goto·:goto_0 |
101 | ····.line·15 | 103 | ····.line·153 |
102 | ····:cond_2 | 104 | ····:cond_2 |
103 | ····invoke-virtual·{p1},·Landroid/preference/Preference;->getContext()Landroid/content/Context; | 105 | ····invoke-virtual·{p1},·Landroid/preference/Preference;->getContext()Landroid/content/Context; |
104 | ····move-result-object·v6 | 106 | ····move-result-object·v6 |
105 | ····invoke-static·{v4},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; | 107 | ····invoke-static·{v4},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; |
106 | ····move-result-object·v7 | 108 | ····move-result-object·v7 |
109 | ····.line·152 | ||
107 | ····invoke-static·{v6,·v7},·Landroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;)Landroid/media/Ringtone; | 110 | ····invoke-static·{v6,·v7},·Landroid/media/RingtoneManager;->getRingtone(Landroid/content/Context;Landroid/net/Uri;)Landroid/media/Ringtone; |
108 | ····move-result-object·v3 | 111 | ····move-result-object·v3 |
109 | ····.line·155 | 112 | ····.line·155 |
110 | ····.local·v3,·"ringtone":Landroid/media/Ringtone; | 113 | ····.local·v3,·"ringtone":Landroid/media/Ringtone; |
111 | ····if-nez·v3,·:cond_3 | 114 | ····if-nez·v3,·:cond_3 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Receive; | 21 | .field·final·synthetic·this$0:Lcom/github/xloem/qrstream/Receive; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Receive;)V | 23 | .method·constructor·<init>(Lcom/github/xloem/qrstream/Receive;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/github/xloem/qrstream/Receive; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·92 | 27 | ····.line·92 |
27 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Receive$1;->this$0:Lcom/github/xloem/qrstream/Receive; | 28 | ····iput-object·p1,·p0,·Lcom/github/xloem/qrstream/Receive$1;->this$0:Lcom/github/xloem/qrstream/Receive; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 1, 57 lines modified | Offset 1, 48 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$ | 1 | .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$6; |
2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; | 2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; |
3 | .source·"DataMask.java" | 3 | .source·"DataMask.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 5 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; | 6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; |
7 | .end·annotation | 7 | .end·annotation |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x | 9 | ····accessFlags·=·0x4008 |
10 | ····name·=· | 10 | ····name·=·null |
11 | .end·annotation | 11 | .end·annotation |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method· | 13 | .method·constructor·<init>(Ljava/lang/String;I)V |
14 | ····.locals·1 | 14 | ····.locals·1 |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line·9 | 16 | ····.line·90 |
17 | ····const/4·v0,·0x0 | 17 | ····const/4·v0,·0x0 |
18 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | 18 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V |
19 | ····return-void | ||
20 | .end·method | ||
21 | .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | ||
22 | ····.locals·0 | ||
23 | ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; | ||
24 | ····.prologue | ||
25 | ····.line·95 | ||
26 | ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask001;-><init>()V | ||
27 | ····return-void | 19 | ····return-void |
28 | .end·method | 20 | .end·method |
29 | #·virtual·methods | 21 | #·virtual·methods |
30 | .method·isMasked(II)Z | 22 | .method·isMasked(II)Z |
31 | ····.locals·1 | 23 | ····.locals·1 |
32 | ····.param·p1,·"i"····#·I | 24 | ····.param·p1,·"i"····#·I |
33 | ····.param·p2,·"j"····#·I | 25 | ····.param·p2,·"j"····#·I |
34 | ····.prologue | 26 | ····.prologue |
35 | ····.line·9 | 27 | ····.line·93 |
28 | ····mul-int·v0,·p1,·p2 | ||
36 | ···· | 29 | ····rem-int/lit8·v0,·v0,·0x6 |
37 | ····if-nez·v0,·:cond_0 | 30 | ····if-nez·v0,·:cond_0 |
38 | ····const/4·v0,·0x1 | 31 | ····const/4·v0,·0x1 |
39 | ····:goto_0 | 32 | ····:goto_0 |
40 | ····return·v0 | 33 | ····return·v0 |
Offset 1, 59 lines modified | Offset 1, 46 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$ | 1 | .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$3; |
2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; | 2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; |
3 | .source·"DataMask.java" | 3 | .source·"DataMask.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 5 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; | 6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; |
7 | .end·annotation | 7 | .end·annotation |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x | 9 | ····accessFlags·=·0x4008 |
10 | ····name·=· | 10 | ····name·=·null |
11 | .end·annotation | 11 | .end·annotation |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method· | 13 | .method·constructor·<init>(Ljava/lang/String;I)V |
14 | ····.locals·1 | 14 | ····.locals·1 |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line· | 16 | ····.line·59 |
17 | ····const/4·v0,·0x0 | 17 | ····const/4·v0,·0x0 |
18 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | 18 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V |
19 | ····return-void | ||
20 | .end·method | ||
21 | .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | ||
22 | ····.locals·0 | ||
23 | ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; | ||
24 | ····.prologue | ||
25 | ····.line·85 | ||
26 | ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask000;-><init>()V | ||
27 | ····return-void | 19 | ····return-void |
28 | .end·method | 20 | .end·method |
29 | #·virtual·methods | 21 | #·virtual·methods |
30 | .method·isMasked(II)Z | 22 | .method·isMasked(II)Z |
31 | ····.locals·1 | 23 | ····.locals·1 |
32 | ····.param·p1,·"i"····#·I | 24 | ····.param·p1,·"i"····#·I |
33 | ····.param·p2,·"j"····#·I | 25 | ····.param·p2,·"j"····#·I |
34 | ····.prologue | 26 | ····.prologue |
35 | ····.line· | 27 | ····.line·62 |
36 | ····add-int·v0,·p1,·p2 | ||
37 | ···· | 28 | ····rem-int/lit8·v0,·p2,·0x3 |
38 | ····if-nez·v0,·:cond_0 | 29 | ····if-nez·v0,·:cond_0 |
39 | ····const/4·v0,·0x1 | 30 | ····const/4·v0,·0x1 |
40 | ····:goto_0 | 31 | ····:goto_0 |
41 | ····return·v0 | 32 | ····return·v0 |
Offset 1, 56 lines modified | Offset 1, 45 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$ | 1 | .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$5; |
2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; | 2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; |
3 | .source·"DataMask.java" | 3 | .source·"DataMask.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 5 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; | 6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; |
7 | .end·annotation | 7 | .end·annotation |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x | 9 | ····accessFlags·=·0x4008 |
10 | ····name·=· | 10 | ····name·=·null |
11 | .end·annotation | 11 | .end·annotation |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method· | 13 | .method·constructor·<init>(Ljava/lang/String;I)V |
14 | ····.locals·1 | 14 | ····.locals·1 |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line· | 16 | ····.line·79 |
17 | ····const/4·v0,·0x0 | 17 | ····const/4·v0,·0x0 |
18 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | 18 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V |
19 | ····return-void | ||
20 | .end·method | ||
21 | .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | ||
22 | ····.locals·0 | ||
23 | ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; | ||
24 | ····.prologue | ||
25 | ····.line·125 | ||
26 | ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask100;-><init>()V | ||
27 | ····return-void | 19 | ····return-void |
28 | .end·method | 20 | .end·method |
29 | #·virtual·methods | 21 | #·virtual·methods |
30 | .method·isMasked(II)Z | 22 | .method·isMasked(II)Z |
31 | ····.locals·2 | 23 | ····.locals·2 |
32 | ····.param·p1,·"i"····#·I | 24 | ····.param·p1,·"i"····#·I |
33 | ····.param·p2,·"j"····#·I | 25 | ····.param·p2,·"j"····#·I |
34 | ····.prologue | 26 | ····.prologue |
35 | ····.line· | 27 | ····.line·82 |
36 | ····div-int/lit8·v0,·p1,·0x2 | 28 | ····div-int/lit8·v0,·p1,·0x2 |
37 | ····div-int/lit8·v1,·p2,·0x3 | 29 | ····div-int/lit8·v1,·p2,·0x3 |
38 | ····add-int/2addr·v0,·v1 | 30 | ····add-int/2addr·v0,·v1 |
39 | ····and-int/lit8·v0,·v0,·0x1 | 31 | ····and-int/lit8·v0,·v0,·0x1 |
Offset 1, 59 lines modified | Offset 1, 52 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$ | 1 | .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$7; |
2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; | 2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; |
3 | .source·"DataMask.java" | 3 | .source·"DataMask.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 5 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; | 6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; |
7 | .end·annotation | 7 | .end·annotation |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x | 9 | ····accessFlags·=·0x4008 |
10 | ····name·=· | 10 | ····name·=·null |
11 | .end·annotation | 11 | .end·annotation |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method· | 13 | .method·constructor·<init>(Ljava/lang/String;I)V |
14 | ····.locals·1 | 14 | ····.locals·1 |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line·10 | 16 | ····.line·101 |
17 | ····const/4·v0,·0x0 | 17 | ····const/4·v0,·0x0 |
18 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | 18 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V |
19 | ····return-void | ||
20 | .end·method | ||
21 | .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | ||
22 | ····.locals·0 | ||
23 | ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; | ||
24 | ····.prologue | ||
25 | ····.line·105 | ||
26 | ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask010;-><init>()V | ||
27 | ····return-void | 19 | ····return-void |
28 | .end·method | 20 | .end·method |
29 | #·virtual·methods | 21 | #·virtual·methods |
30 | .method·isMasked(II)Z | 22 | .method·isMasked(II)Z |
31 | ····.locals· | 23 | ····.locals·2 |
32 | ····.param·p1,·"i"····#·I | 24 | ····.param·p1,·"i"····#·I |
33 | ····.param·p2,·"j"····#·I | 25 | ····.param·p2,·"j"····#·I |
34 | ····.prologue | 26 | ····.prologue |
35 | ····.line·10 | 27 | ····.line·104 |
28 | ····mul-int·v0,·p1,·p2 | ||
36 | ····rem-int/lit8·v0,· | 29 | ····rem-int/lit8·v0,·v0,·0x6 |
30 | ····const/4·v1,·0x3 | ||
37 | ····if- | 31 | ····if-ge·v0,·v1,·:cond_0 |
38 | ····const/4·v0,·0x1 | 32 | ····const/4·v0,·0x1 |
39 | ····:goto_0 | 33 | ····:goto_0 |
40 | ····return·v0 | 34 | ····return·v0 |
41 | ····:cond_0 | 35 | ····:cond_0 |
Offset 1, 56 lines modified | Offset 1, 45 lines modified | ||
1 | .class·final·Lcom/google/zxing/qrcode/decoder/DataMask$ | 1 | .class·final·enum·Lcom/google/zxing/qrcode/decoder/DataMask$4; |
2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; | 2 | .super·Lcom/google/zxing/qrcode/decoder/DataMask; |
3 | .source·"DataMask.java" | 3 | .source·"DataMask.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 5 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; | 6 | ····value·=·Lcom/google/zxing/qrcode/decoder/DataMask; |
7 | .end·annotation | 7 | .end·annotation |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x | 9 | ····accessFlags·=·0x4008 |
10 | ····name·=· | 10 | ····name·=·null |
11 | .end·annotation | 11 | .end·annotation |
12 | #·direct·methods | 12 | #·direct·methods |
13 | .method· | 13 | .method·constructor·<init>(Ljava/lang/String;I)V |
14 | ····.locals·1 | 14 | ····.locals·1 |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line· | 16 | ····.line·69 |
17 | ····const/4·v0,·0x0 | 17 | ····const/4·v0,·0x0 |
18 | ····invoke-direct·{p0,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | 18 | ····invoke-direct·{p0,·p1,·p2,·v0},·Lcom/google/zxing/qrcode/decoder/DataMask;-><init>(Ljava/lang/String;ILcom/google/zxing/qrcode/decoder/DataMask$1;)V |
19 | ····return-void | ||
20 | .end·method | ||
21 | .method·synthetic·constructor·<init>(Lcom/google/zxing/qrcode/decoder/DataMask$1;)V | ||
22 | ····.locals·0 | ||
23 | ····.param·p1,·"x0"····#·Lcom/google/zxing/qrcode/decoder/DataMask$1; | ||
24 | ····.prologue | ||
25 | ····.line·115 | ||
26 | ····invoke-direct·{p0},·Lcom/google/zxing/qrcode/decoder/DataMask$DataMask011;-><init>()V | ||
27 | ····return-void | 19 | ····return-void |
28 | .end·method | 20 | .end·method |
29 | #·virtual·methods | 21 | #·virtual·methods |
30 | .method·isMasked(II)Z | 22 | .method·isMasked(II)Z |
31 | ····.locals·1 | 23 | ····.locals·1 |
32 | ····.param·p1,·"i"····#·I | 24 | ····.param·p1,·"i"····#·I |
33 | ····.param·p2,·"j"····#·I | 25 | ····.param·p2,·"j"····#·I |
34 | ····.prologue | 26 | ····.prologue |
35 | ····.line· | 27 | ····.line·72 |
36 | ····add-int·v0,·p1,·p2 | 28 | ····add-int·v0,·p1,·p2 |
37 | ····rem-int/lit8·v0,·v0,·0x3 | 29 | ····rem-int/lit8·v0,·v0,·0x3 |
38 | ····if-nez·v0,·:cond_0 | 30 | ····if-nez·v0,·:cond_0 |
39 | ····const/4·v0,·0x1 | 31 | ····const/4·v0,·0x1 |