Offset 1, 1518 lines modified | Offset 1, 1518 lines modified | ||
1 |
Zip·file·size:·819 |
1 | Zip·file·size:·8191676·bytes,·number·of·entries:·1516 |
2 | -rw----·····2.0·fat···154020·bl·defN·16-Mar-26·15:15·META-INF/MANIFEST.MF | 2 | -rw----·····2.0·fat···154020·bl·defN·16-Mar-26·15:15·META-INF/MANIFEST.MF |
3 | -rw----·····2.0·fat···154141·bl·defN·16-Mar-26·15:15·META-INF/7C77C08C.SF | 3 | -rw----·····2.0·fat···154141·bl·defN·16-Mar-26·15:15·META-INF/7C77C08C.SF |
4 | -rw----·····2.0·fat·····1326·bl·defN·16-Mar-26·15:15·META-INF/7C77C08C.RSA | 4 | -rw----·····2.0·fat·····1326·bl·defN·16-Mar-26·15:15·META-INF/7C77C08C.RSA |
5 | -rw----·····2.0·fat·······41·bl·defN·16-Mar-25·09:26·META-INF/buildserverid | 5 | -rw----·····2.0·fat·······41·bl·defN·16-Mar-25·09:26·META-INF/buildserverid |
6 | -rw----·····2.0·fat·······41·bl·defN·16-Mar-25·09:26·META-INF/fdroidserverid | 6 | -rw----·····2.0·fat·······41·bl·defN·16-Mar-25·09:26·META-INF/fdroidserverid |
7 |
-rw----·····2.0·fat····10756·bX·defN·16- |
7 | -rw----·····2.0·fat····10756·bX·defN·16-Sep-07·10:37·AndroidManifest.xml |
8 |
-rw----·····2.0·fat······480·bl·defN·16- |
8 | -rw----·····2.0·fat······480·bl·defN·16-Sep-07·10:37·res/anim/alt_code_key_while_typing_fadein.xml |
9 |
-rw----·····2.0·fat······480·bl·defN·16- |
9 | -rw----·····2.0·fat······480·bl·defN·16-Sep-07·10:37·res/anim/alt_code_key_while_typing_fadeout.xml |
10 |
-rw----·····2.0·fat······640·bl·defN·16- |
10 | -rw----·····2.0·fat······640·bl·defN·16-Sep-07·10:37·res/anim/key_preview_dismiss_holo.xml |
11 |
-rw----·····2.0·fat······640·bl·defN·16- |
11 | -rw----·····2.0·fat······640·bl·defN·16-Sep-07·10:37·res/anim/key_preview_dismiss_lxx.xml |
12 |
-rw----·····2.0·fat······640·bl·defN·16- |
12 | -rw----·····2.0·fat······640·bl·defN·16-Sep-07·10:37·res/anim/key_preview_show_up_holo.xml |
13 |
-rw----·····2.0·fat······640·bl·defN·16- |
13 | -rw----·····2.0·fat······640·bl·defN·16-Sep-07·10:37·res/anim/key_preview_show_up_lxx.xml |
14 |
-rw----·····2.0·fat······520·bl·defN·16- |
14 | -rw----·····2.0·fat······520·bl·defN·16-Sep-07·10:37·res/anim/language_on_spacebar_fadeout.xml |
15 |
-rw----·····2.0·fat······592·bl·defN·16- |
15 | -rw----·····2.0·fat······592·bl·defN·16-Sep-07·10:37·res/color/setup_step_action_background.xml |
16 |
-rw----·····2.0·fat······592·bl·defN·16- |
16 | -rw----·····2.0·fat······592·bl·defN·16-Sep-07·10:37·res/color/setup_step_action_color.xml |
17 |
-rw----·····1.0·fat······512·b-·stor·16- |
17 | -rw----·····1.0·fat······512·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_active_ics_dark.9.png |
18 |
-rw----·····1.0·fat······507·b-·stor·16- |
18 | -rw----·····1.0·fat······507·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_active_klp_dark.9.png |
19 |
-rw----·····1.0·fat·····1197·b-·stor·16- |
19 | -rw----·····1.0·fat·····1197·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_active_lxx_dark.9.png |
20 |
-rw----·····1.0·fat·····1201·b-·stor·16- |
20 | -rw----·····1.0·fat·····1201·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_active_lxx_light.9.png |
21 |
-rw----·····1.0·fat·····1199·b-·stor·16- |
21 | -rw----·····1.0·fat·····1199·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_active_pressed_lxx_dark.9.png |
22 |
-rw----·····1.0·fat·····1197·b-·stor·16- |
22 | -rw----·····1.0·fat·····1197·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_active_pressed_lxx_light.9.png |
23 |
-rw----·····1.0·fat······507·b-·stor·16- |
23 | -rw----·····1.0·fat······507·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_dark_active_holo.9.png |
24 |
-rw----·····1.0·fat······729·b-·stor·16- |
24 | -rw----·····1.0·fat······729·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_dark_normal_on_holo.9.png |
25 |
-rw----·····1.0·fat······584·b-·stor·16- |
25 | -rw----·····1.0·fat······584·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_dark_pressed_holo.9.png |
26 |
-rw----·····1.0·fat······745·b-·stor·16- |
26 | -rw----·····1.0·fat······745·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_dark_pressed_off_holo.9.png |
27 |
-rw----·····1.0·fat······757·b-·stor·16- |
27 | -rw----·····1.0·fat······757·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_dark_pressed_on_holo.9.png |
28 |
-rw----·····1.0·fat······548·b-·stor·16- |
28 | -rw----·····1.0·fat······548·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_light_pressed_holo.9.png |
29 |
-rw----·····1.0·fat······507·b-·stor·16- |
29 | -rw----·····1.0·fat······507·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_holo_dark.9.png |
30 |
-rw----·····1.0·fat······519·b-·stor·16- |
30 | -rw----·····1.0·fat······519·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_holo_light.9.png |
31 |
-rw----·····1.0·fat······661·b-·stor·16- |
31 | -rw----·····1.0·fat······661·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_off_holo_dark.9.png |
32 |
-rw----·····1.0·fat······366·b-·stor·16- |
32 | -rw----·····1.0·fat······366·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_off_lxx_dark.9.png |
33 |
-rw----·····1.0·fat······367·b-·stor·16- |
33 | -rw----·····1.0·fat······367·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_off_lxx_light.9.png |
34 |
-rw----·····1.0·fat······683·b-·stor·16- |
34 | -rw----·····1.0·fat······683·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_on_ics_dark.9.png |
35 |
-rw----·····1.0·fat······729·b-·stor·16- |
35 | -rw----·····1.0·fat······729·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_on_klp_dark.9.png |
36 |
-rw----·····1.0·fat······367·b-·stor·16- |
36 | -rw----·····1.0·fat······367·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_on_lxx_dark.9.png |
37 |
-rw----·····1.0·fat······366·b-·stor·16- |
37 | -rw----·····1.0·fat······366·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_normal_on_lxx_light.9.png |
38 |
-rw----·····1.0·fat······319·b-·stor·16- |
38 | -rw----·····1.0·fat······319·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_popup_selected_holo.9.png |
39 |
-rw----·····1.0·fat······317·b-·stor·16- |
39 | -rw----·····1.0·fat······317·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_popup_selected_ics.9.png |
40 |
-rw----·····1.0·fat······319·b-·stor·16- |
40 | -rw----·····1.0·fat······319·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_popup_selected_klp.9.png |
41 |
-rw----·····1.0·fat······268·b-·stor·16- |
41 | -rw----·····1.0·fat······268·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_popup_selected_lxx_dark.9.png |
42 |
-rw----·····1.0·fat······290·b-·stor·16- |
42 | -rw----·····1.0·fat······290·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_popup_selected_lxx_light.9.png |
43 |
-rw----·····1.0·fat······582·b-·stor·16- |
43 | -rw----·····1.0·fat······582·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_ics_dark.9.png |
44 |
-rw----·····1.0·fat······580·b-·stor·16- |
44 | -rw----·····1.0·fat······580·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_ics_light.9.png |
45 |
-rw----·····1.0·fat······584·b-·stor·16- |
45 | -rw----·····1.0·fat······584·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_klp_dark.9.png |
46 |
-rw----·····1.0·fat······548·b-·stor·16- |
46 | -rw----·····1.0·fat······548·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_klp_light.9.png |
47 |
-rw----·····1.0·fat······759·b-·stor·16- |
47 | -rw----·····1.0·fat······759·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_off_ics_dark.9.png |
48 |
-rw----·····1.0·fat······745·b-·stor·16- |
48 | -rw----·····1.0·fat······745·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_off_klp_dark.9.png |
49 |
-rw----·····1.0·fat······338·b-·stor·16- |
49 | -rw----·····1.0·fat······338·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_off_lxx_dark.9.png |
50 |
-rw----·····1.0·fat······340·b-·stor·16- |
50 | -rw----·····1.0·fat······340·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_off_lxx_light.9.png |
51 |
-rw----·····1.0·fat······795·b-·stor·16- |
51 | -rw----·····1.0·fat······795·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_on_ics_dark.9.png |
52 |
-rw----·····1.0·fat······757·b-·stor·16- |
52 | -rw----·····1.0·fat······757·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_on_klp_dark.9.png |
53 |
-rw----·····1.0·fat······369·b-·stor·16- |
53 | -rw----·····1.0·fat······369·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_on_lxx_dark.9.png |
54 |
-rw----·····1.0·fat······366·b-·stor·16- |
54 | -rw----·····1.0·fat······366·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_key_pressed_on_lxx_light.9.png |
55 |
-rw----·····1.0·fat······357·b-·stor·16- |
55 | -rw----·····1.0·fat······357·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_spacebar_normal_lxx_dark.9.png |
56 |
-rw----·····1.0·fat······419·b-·stor·16- |
56 | -rw----·····1.0·fat······419·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_spacebar_normal_lxx_light.9.png |
57 |
-rw----·····1.0·fat······375·b-·stor·16- |
57 | -rw----·····1.0·fat······375·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_spacebar_pressed_lxx_dark.9.png |
58 |
-rw----·····1.0·fat······419·b-·stor·16- |
58 | -rw----·····1.0·fat······419·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/btn_keyboard_spacebar_pressed_lxx_light.9.png |
59 |
-rw----·····1.0·fat······185·b-·stor·16- |
59 | -rw----·····1.0·fat······185·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/emoji_category_tab_selected_ics.9.png |
60 |
-rw----·····1.0·fat······185·b-·stor·16- |
60 | -rw----·····1.0·fat······185·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/emoji_category_tab_selected_klp.9.png |
61 |
-rw----·····1.0·fat······185·b-·stor·16- |
61 | -rw----·····1.0·fat······185·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/emoji_category_tab_selected_lxx_dark.9.png |
62 |
-rw----·····1.0·fat······184·b-·stor·16- |
62 | -rw----·····1.0·fat······184·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/emoji_category_tab_unselected_holo_dark.9.png |
63 |
-rw----·····1.0·fat······184·b-·stor·16- |
63 | -rw----·····1.0·fat······184·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/emoji_category_tab_unselected_lxx_dark.9.png |
64 |
-rw----·····1.0·fat······553·b-·stor·16- |
64 | -rw----·····1.0·fat······553·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_add_circle_wht_24dp.png |
65 |
-rw----·····1.0·fat······945·b-·stor·16- |
65 | -rw----·····1.0·fat······945·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_emoticons_activated_holo_dark.png |
66 |
-rw----·····1.0·fat······961·b-·stor·16- |
66 | -rw----·····1.0·fat······961·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_emoticons_activated_lxx_dark.png |
67 |
-rw----·····1.0·fat·····1076·b-·stor·16- |
67 | -rw----·····1.0·fat·····1076·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_emoticons_activated_lxx_light.png |
68 |
-rw----·····1.0·fat······882·b-·stor·16- |
68 | -rw----·····1.0·fat······882·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_emoticons_normal_holo_dark.png |
69 |
-rw----·····1.0·fat······876·b-·stor·16- |
69 | -rw----·····1.0·fat······876·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_emoticons_normal_lxx_dark.png |
70 |
-rw----·····1.0·fat······994·b-·stor·16- |
70 | -rw----·····1.0·fat······994·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_emoticons_normal_lxx_light.png |
71 |
-rw----·····1.0·fat·····1655·b-·stor·16- |
71 | -rw----·····1.0·fat·····1655·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_nature_activated_holo_dark.png |
72 |
-rw----·····1.0·fat·····1235·b-·stor·16- |
72 | -rw----·····1.0·fat·····1235·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_nature_activated_lxx_dark.png |
73 |
-rw----·····1.0·fat·····1226·b-·stor·16- |
73 | -rw----·····1.0·fat·····1226·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_nature_activated_lxx_light.png |
74 |
-rw----·····1.0·fat·····1281·b-·stor·16- |
74 | -rw----·····1.0·fat·····1281·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_nature_normal_holo_dark.png |
75 |
-rw----·····1.0·fat······843·b-·stor·16- |
75 | -rw----·····1.0·fat······843·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_nature_normal_lxx_dark.png |
76 |
-rw----·····1.0·fat······843·b-·stor·16- |
76 | -rw----·····1.0·fat······843·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_nature_normal_lxx_light.png |
77 |
-rw----·····1.0·fat·····1662·b-·stor·16- |
77 | -rw----·····1.0·fat·····1662·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_objects_activated_holo_dark.png |
78 |
-rw----·····1.0·fat·····1400·b-·stor·16- |
78 | -rw----·····1.0·fat·····1400·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_objects_activated_lxx_dark.png |
79 |
-rw----·····1.0·fat·····1343·b-·stor·16- |
79 | -rw----·····1.0·fat·····1343·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_objects_activated_lxx_light.png |
80 |
-rw----·····1.0·fat·····1311·b-·stor·16- |
80 | -rw----·····1.0·fat·····1311·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_objects_normal_holo_dark.png |
81 |
-rw----·····1.0·fat······947·b-·stor·16- |
81 | -rw----·····1.0·fat······947·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_objects_normal_lxx_dark.png |
82 |
-rw----·····1.0·fat······947·b-·stor·16- |
82 | -rw----·····1.0·fat······947·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_objects_normal_lxx_light.png |
83 |
-rw----·····1.0·fat·····1480·b-·stor·16- |
83 | -rw----·····1.0·fat·····1480·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_people_activated_holo_dark.png |
84 |
-rw----·····1.0·fat·····1093·b-·stor·16- |
84 | -rw----·····1.0·fat·····1093·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_people_activated_lxx_dark.png |
85 |
-rw----·····1.0·fat·····1047·b-·stor·16- |
85 | -rw----·····1.0·fat·····1047·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_people_activated_lxx_light.png |
86 |
-rw----·····1.0·fat·····1200·b-·stor·16- |
86 | -rw----·····1.0·fat·····1200·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_people_normal_holo_dark.png |
87 |
-rw----·····1.0·fat······778·b-·stor·16- |
87 | -rw----·····1.0·fat······778·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_people_normal_lxx_dark.png |
88 |
-rw----·····1.0·fat······778·b-·stor·16- |
88 | -rw----·····1.0·fat······778·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_people_normal_lxx_light.png |
89 |
-rw----·····1.0·fat·····1257·b-·stor·16- |
89 | -rw----·····1.0·fat·····1257·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_places_activated_holo_dark.png |
90 |
-rw----·····1.0·fat······885·b-·stor·16- |
90 | -rw----·····1.0·fat······885·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_places_activated_lxx_dark.png |
91 |
-rw----·····1.0·fat······793·b-·stor·16- |
91 | -rw----·····1.0·fat······793·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_places_activated_lxx_light.png |
92 |
-rw----·····1.0·fat·····1073·b-·stor·16- |
92 | -rw----·····1.0·fat·····1073·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_places_normal_holo_dark.png |
93 |
-rw----·····1.0·fat······649·b-·stor·16- |
93 | -rw----·····1.0·fat······649·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_places_normal_lxx_dark.png |
94 |
-rw----·····1.0·fat······649·b-·stor·16- |
94 | -rw----·····1.0·fat······649·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_places_normal_lxx_light.png |
95 |
-rw----·····1.0·fat·····1475·b-·stor·16- |
95 | -rw----·····1.0·fat·····1475·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_recents_activated_holo_dark.png |
96 |
-rw----·····1.0·fat·····1061·b-·stor·16- |
96 | -rw----·····1.0·fat·····1061·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_recents_activated_lxx_dark.png |
97 |
-rw----·····1.0·fat·····1019·b-·stor·16- |
97 | -rw----·····1.0·fat·····1019·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_recents_activated_lxx_light.png |
98 |
-rw----·····1.0·fat·····1162·b-·stor·16- |
98 | -rw----·····1.0·fat·····1162·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_recents_normal_holo_dark.png |
99 |
-rw----·····1.0·fat······775·b-·stor·16- |
99 | -rw----·····1.0·fat······775·b-·stor·16-Sep-07·10:36·res/drawable-hdpi-v4/ic_emoji_recents_normal_lxx_dark.png |
Max diff block lines reached; 0/313187 bytes (0.00%) of diff not shown. |
Offset 597, 18 lines modified | Offset 597, 20 lines modified | ||
597 | ····move/from16·v1,·v25 | 597 | ····move/from16·v1,·v25 |
598 | ····invoke-virtual·{v0,·v1},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->setXPos(F)V | 598 | ····invoke-virtual·{v0,·v1},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->setXPos(F)V |
599 | ····.line·256 | 599 | ····.line·256 |
600 | ····const/16·v25,·0x4 | 600 | ····const/16·v25,·0x4 |
601 | ····.line·257 | ||
601 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->getDefaultBackgroundType()I | 602 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->getDefaultBackgroundType()I |
602 | ····move-result·v26 | 603 | ····move-result·v26 |
604 | ····.line·256 | ||
603 | ····move-object/from16·v0,·p3 | 605 | ····move-object/from16·v0,·p3 |
604 | ····move-object/from16·v1,·p2 | 606 | ····move-object/from16·v1,·p2 |
605 | ····move/from16·v2,·v25 | 607 | ····move/from16·v2,·v25 |
606 | ····move/from16·v3,·v26 | 608 | ····move/from16·v3,·v26 |
Offset 678, 14 lines modified | Offset 680, 15 lines modified | ||
678 | ····move/from16·v2,·v25 | 680 | ····move/from16·v2,·v25 |
679 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/android/inputmethod/keyboard/internal/KeyStyle;->getFlags(Landroid/content/res/TypedArray;I)I | 681 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/android/inputmethod/keyboard/internal/KeyStyle;->getFlags(Landroid/content/res/TypedArray;I)I |
680 | ····move-result·v25 | 682 | ····move-result·v25 |
683 | ····.line·266 | ||
681 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->getDefaultKeyLabelFlags()I | 684 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->getDefaultKeyLabelFlags()I |
682 | ····move-result·v26 | 685 | ····move-result·v26 |
683 | ····or-int·v25,·v25,·v26 | 686 | ····or-int·v25,·v25,·v26 |
684 | ····move/from16·v0,·v25 | 687 | ····move/from16·v0,·v25 |
Offset 765, 14 lines modified | Offset 768, 15 lines modified | ||
765 | ····move-object/from16·v0,·p4 | 768 | ····move-object/from16·v0,·p4 |
766 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/internal/KeyboardParams;->mMaxMoreKeysKeyboardColumn:I | 769 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/internal/KeyboardParams;->mMaxMoreKeysKeyboardColumn:I |
767 | ····move/from16·v26,·v0 | 770 | ····move/from16·v26,·v0 |
771 | ····.line·274 | ||
768 | ····move-object/from16·v0,·p3 | 772 | ····move-object/from16·v0,·p3 |
769 | ····move-object/from16·v1,·p2 | 773 | ····move-object/from16·v1,·p2 |
770 | ····move/from16·v2,·v25 | 774 | ····move/from16·v2,·v25 |
771 | ····move/from16·v3,·v26 | 775 | ····move/from16·v3,·v26 |
Offset 1167, 20 lines modified | Offset 1171, 21 lines modified | ||
1167 | ····move-object/from16·v0,·v25 | 1171 | ····move-object/from16·v0,·v25 |
1168 | ····move-object/from16·v1,·p0 | 1172 | ····move-object/from16·v1,·p0 |
1169 | ····iput-object·v0,·v1,·Lcom/android/inputmethod/keyboard/Key;->mHintLabel:Ljava/lang/String; | 1173 | ····iput-object·v0,·v1,·Lcom/android/inputmethod/keyboard/Key;->mHintLabel:Ljava/lang/String; |
1170 |
····.line·3 |
1174 | ····.line·340 |
1171 | ····:goto_4 | 1175 | ····:goto_4 |
1172 | ····invoke-static/range·{p1·..·p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getOutputText(Ljava/lang/String;)Ljava/lang/String; | 1176 | ····invoke-static/range·{p1·..·p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getOutputText(Ljava/lang/String;)Ljava/lang/String; |
1173 | ····move-result-object·v25 | 1177 | ····move-result-object·v25 |
1178 | ····.line·339 | ||
1174 | ····move-object/from16·v0,·v25 | 1179 | ····move-object/from16·v0,·v25 |
1175 | ····move/from16·v1,·v19 | 1180 | ····move/from16·v1,·v19 |
1176 | ····move-object/from16·v2,·v16 | 1181 | ····move-object/from16·v2,·v16 |
1177 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfStringForLocale(Ljava/lang/String;ZLjava/util/Locale;)Ljava/lang/String; | 1182 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfStringForLocale(Ljava/lang/String;ZLjava/util/Locale;)Ljava/lang/String; |
Offset 1203, 14 lines modified | Offset 1208, 15 lines modified | ||
1203 | ····move-object/from16·v0,·p0 | 1208 | ····move-object/from16·v0,·p0 |
1204 | ····iget-object·v0,·v0,·Lcom/android/inputmethod/keyboard/Key;->mLabel:Ljava/lang/String; | 1209 | ····iget-object·v0,·v0,·Lcom/android/inputmethod/keyboard/Key;->mLabel:Ljava/lang/String; |
1205 | ····move-object/from16·v25,·v0 | 1210 | ····move-object/from16·v25,·v0 |
1211 | ····.line·343 | ||
1206 | ····invoke-static/range·{v25·..·v25},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1212 | ····invoke-static/range·{v25·..·v25},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
1207 | ····move-result·v25 | 1213 | ····move-result·v25 |
1208 | ····if-nez·v25,·:cond_e | 1214 | ····if-nez·v25,·:cond_e |
1209 | ····.line·344 | 1215 | ····.line·344 |
Offset 1264, 26 lines modified | Offset 1270, 28 lines modified | ||
1264 | ····iput·v0,·v1,·Lcom/android/inputmethod/keyboard/Key;->mCode:I | 1270 | ····iput·v0,·v1,·Lcom/android/inputmethod/keyboard/Key;->mCode:I |
1265 | ····.line·368 | 1271 | ····.line·368 |
1266 | ····:goto_5 | 1272 | ····:goto_5 |
1267 | ····const/16·v25,·0x0 | 1273 | ····const/16·v25,·0x0 |
1274 | ····.line·369 | ||
Max diff block lines reached; 8587/11077 bytes (77.52%) of diff not shown. |
Offset 385, 15 lines modified | Offset 385, 15 lines modified | ||
385 | ····move-result-object·v2 | 385 | ····move-result-object·v2 |
386 | ····.line·228 | 386 | ····.line·228 |
387 | ····.local·v2,·"key":Lcom/android/inputmethod/keyboard/Key; | 387 | ····.local·v2,·"key":Lcom/android/inputmethod/keyboard/Key; |
388 | ····if-eqz·v2,·:cond_0 | 388 | ····if-eqz·v2,·:cond_0 |
389 |
····.line·2 |
389 | ····.line·230 |
390 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/Key;->getX()I | 390 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/Key;->getX()I |
391 | ····move-result·v4 | 391 | ····move-result·v4 |
392 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/Key;->getWidth()I | 392 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/Key;->getWidth()I |
393 | ····move-result·v5 | 393 | ····move-result·v5 |
Offset 410, 14 lines modified | Offset 410, 15 lines modified | ||
410 | ····move-result·v6 | 410 | ····move-result·v6 |
411 | ····div-int/lit8·v6,·v6,·0x2 | 411 | ····div-int/lit8·v6,·v6,·0x2 |
412 | ····add-int/2addr·v5,·v6 | 412 | ····add-int/2addr·v5,·v6 |
413 | ····.line·229 | ||
413 | ····invoke-static·{v0,·v1,·v4,·v5},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->setXYInArray([IIII)V | 414 | ····invoke-static·{v0,·v1,·v4,·v5},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->setXYInArray([IIII)V |
414 | ····.line·226 | 415 | ····.line·226 |
415 | ····:goto_1 | 416 | ····:goto_1 |
416 | ····add-int/lit8·v1,·v1,·0x1 | 417 | ····add-int/lit8·v1,·v1,·0x1 |
417 | ····goto·:goto_0 | 418 | ····goto·:goto_0 |
Offset 431, 128 lines modified | Offset 432, 127 lines modified | ||
431 | ····.line·236 | 432 | ····.line·236 |
432 | ····.end·local·v2····#·"key":Lcom/android/inputmethod/keyboard/Key; | 433 | ····.end·local·v2····#·"key":Lcom/android/inputmethod/keyboard/Key; |
433 | ····:cond_1 | 434 | ····:cond_1 |
434 | ····return-object·v0 | 435 | ····return-object·v0 |
435 | .end·method | 436 | .end·method |
436 | .method·public·getKey(I)Lcom/android/inputmethod/keyboard/Key; | 437 | .method·public·getKey(I)Lcom/android/inputmethod/keyboard/Key; |
437 |
····.locals· |
438 | ····.locals·6 |
438 | ····.param·p1,·"code"····#·I | 439 | ····.param·p1,·"code"····#·I |
439 | ····.prologue | 440 | ····.prologue |
440 |
····const/4·v |
441 | ····const/4·v2,·0x0 |
441 | ····.line·170 | 442 | ····.line·170 |
442 |
····const/16·v |
443 | ····const/16·v3,·-0xf |
443 |
····if-ne·p1,·v |
444 | ····if-ne·p1,·v3,·:cond_0 |
444 | ····.line·186 | 445 | ····.line·186 |
445 | ····:goto_0 | 446 | ····:goto_0 |
446 |
····return-object·v |
447 | ····return-object·v2 |
447 | ····.line·173 | 448 | ····.line·173 |
448 | ····:cond_0 | 449 | ····:cond_0 |
449 |
····iget-object·v |
450 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/Keyboard;->mKeyCache:Landroid/util/SparseArray; |
450 |
····monitor-enter·v |
451 | ····monitor-enter·v3 |
451 | ····.line·174 | 452 | ····.line·174 |
452 | ····:try_start_0 | 453 | ····:try_start_0 |
453 |
····iget-object·v |
454 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/Keyboard;->mKeyCache:Landroid/util/SparseArray; |
454 |
····invoke-virtual·{v |
455 | ····invoke-virtual·{v4,·p1},·Landroid/util/SparseArray;->indexOfKey(I)I |
455 |
····move-result·v |
456 | ····move-result·v0 |
456 | ····.line·175 | 457 | ····.line·175 |
457 |
····.local·v |
458 | ····.local·v0,·"index":I |
458 |
····if-ltz·v |
459 | ····if-ltz·v0,·:cond_1 |
459 | ····.line·176 | 460 | ····.line·176 |
460 |
····iget-object·v |
461 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/Keyboard;->mKeyCache:Landroid/util/SparseArray; |
461 |
····invoke-virtual·{v |
462 | ····invoke-virtual·{v2,·v0},·Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object; |
462 |
····move-result-object·v |
463 | ····move-result-object·v2 |
463 |
····check-cast·v |
464 | ····check-cast·v2,·Lcom/android/inputmethod/keyboard/Key; |
464 |
····monitor-exit·v |
465 | ····monitor-exit·v3 |
465 | ····goto·:goto_0 | 466 | ····goto·:goto_0 |
466 | ····.line·187 | 467 | ····.line·187 |
467 |
····.end·local·v |
468 | ····.end·local·v0····#·"index":I |
468 | ····:catchall_0 | 469 | ····:catchall_0 |
469 |
····move-exception·v |
470 | ····move-exception·v2 |
470 |
····monitor-exit·v |
471 | ····monitor-exit·v3 |
471 | ····:try_end_0 | 472 | ····:try_end_0 |
472 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 473 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
473 |
····throw·v |
474 | ····throw·v2 |
474 | ····.line·179 | 475 | ····.line·179 |
475 |
····.restart·local·v |
476 | ····.restart·local·v0····#·"index":I |
476 | ····:cond_1 | 477 | ····:cond_1 |
Max diff block lines reached; 5707/8849 bytes (64.49%) of diff not shown. |
Offset 147, 14 lines modified | Offset 147, 15 lines modified | ||
147 | ····if-eqz·v0,·:cond_0 | 147 | ····if-eqz·v0,·:cond_0 |
148 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mEditorInfo:Landroid/view/inputmethod/EditorInfo; | 148 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mEditorInfo:Landroid/view/inputmethod/EditorInfo; |
149 | ····iget-object·v0,·v0,·Landroid/view/inputmethod/EditorInfo;->actionLabel:Ljava/lang/CharSequence; | 149 | ····iget-object·v0,·v0,·Landroid/view/inputmethod/EditorInfo;->actionLabel:Ljava/lang/CharSequence; |
150 | ····.line·90 | ||
150 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 151 | ····invoke-interface·{v0},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
151 | ····move-result-object·v0 | 152 | ····move-result-object·v0 |
152 | ····:goto_0 | 153 | ····:goto_0 |
153 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mCustomActionLabel:Ljava/lang/String; | 154 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mCustomActionLabel:Ljava/lang/String; |
Offset 169, 15 lines modified | Offset 170, 15 lines modified | ||
169 | ····move-result·v0 | 170 | ····move-result·v0 |
170 | ····iput·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mHashCode:I | 171 | ····iput·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mHashCode:I |
171 | ····.line·94 | 172 | ····.line·94 |
172 | ····return-void | 173 | ····return-void |
173 |
····.line· |
174 | ····.line·90 |
174 | ····:cond_0 | 175 | ····:cond_0 |
175 | ····const/4·v0,·0x0 | 176 | ····const/4·v0,·0x0 |
176 | ····goto·:goto_0 | 177 | ····goto·:goto_0 |
177 | .end·method | 178 | .end·method |
178 | .method·public·static·actionName(I)Ljava/lang/String; | 179 | .method·public·static·actionName(I)Ljava/lang/String; |
Offset 191, 14 lines modified | Offset 192, 15 lines modified | ||
191 | ····if-ne·p0,·v0,·:cond_0 | 192 | ····if-ne·p0,·v0,·:cond_0 |
192 | ····const-string·v0,·"actionCustomLabel" | 193 | ····const-string·v0,·"actionCustomLabel" |
193 | ····:goto_0 | 194 | ····:goto_0 |
194 | ····return-object·v0 | 195 | ····return-object·v0 |
196 | ····.line·242 | ||
195 | ····:cond_0 | 197 | ····:cond_0 |
196 | ····invoke-static·{p0},·Lorg/smc/inputmethod/compat/EditorInfoCompatUtils;->imeActionName(I)Ljava/lang/String; | 198 | ····invoke-static·{p0},·Lorg/smc/inputmethod/compat/EditorInfoCompatUtils;->imeActionName(I)Ljava/lang/String; |
197 | ····move-result-object·v0 | 199 | ····move-result-object·v0 |
198 | ····goto·:goto_0 | 200 | ····goto·:goto_0 |
199 | .end·method | 201 | .end·method |
Offset 213, 106 lines modified | Offset 215, 116 lines modified | ||
213 | ····new-array·v0,·v0,·[Ljava/lang/Object; | 215 | ····new-array·v0,·v0,·[Ljava/lang/Object; |
214 | ····const/4·v1,·0x0 | 216 | ····const/4·v1,·0x0 |
215 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mElementId:I | 217 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mElementId:I |
218 | ····.line·98 | ||
216 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 219 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
217 | ····move-result-object·v2 | 220 | ····move-result-object·v2 |
218 | ····aput-object·v2,·v0,·v1 | 221 | ····aput-object·v2,·v0,·v1 |
219 | ····const/4·v1,·0x1 | 222 | ····const/4·v1,·0x1 |
220 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mMode:I | 223 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mMode:I |
224 | ····.line·99 | ||
221 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 225 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
222 | ····move-result-object·v2 | 226 | ····move-result-object·v2 |
223 | ····aput-object·v2,·v0,·v1 | 227 | ····aput-object·v2,·v0,·v1 |
224 | ····const/4·v1,·0x2 | 228 | ····const/4·v1,·0x2 |
225 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mWidth:I | 229 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mWidth:I |
230 | ····.line·100 | ||
226 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 231 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
227 | ····move-result-object·v2 | 232 | ····move-result-object·v2 |
228 | ····aput-object·v2,·v0,·v1 | 233 | ····aput-object·v2,·v0,·v1 |
229 | ····const/4·v1,·0x3 | 234 | ····const/4·v1,·0x3 |
230 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mHeight:I | 235 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardId;->mHeight:I |
236 | ····.line·101 | ||
231 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 237 | ····invoke-static·{v2},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
232 | ····move-result-object·v2 | 238 | ····move-result-object·v2 |
233 | ····aput-object·v2,·v0,·v1 | 239 | ····aput-object·v2,·v0,·v1 |
234 | ····const/4·v1,·0x4 | 240 | ····const/4·v1,·0x4 |
241 | ····.line·102 | ||
235 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/KeyboardId;->passwordInput()Z | 242 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/KeyboardId;->passwordInput()Z |
Max diff block lines reached; 10871/13250 bytes (82.05%) of diff not shown. |
Offset 908, 14 lines modified | Offset 908, 15 lines modified | ||
908 | ····.line·266 | 908 | ····.line·266 |
909 | ····.local·v2,·"forceAscii":Z | 909 | ····.local·v2,·"forceAscii":Z |
910 | ····:goto_0 | 910 | ····:goto_0 |
911 | ····if-eqz·v2,·:cond_2 | 911 | ····if-eqz·v2,·:cond_2 |
912 | ····if-nez·v0,·:cond_2 | 912 | ····if-nez·v0,·:cond_2 |
913 | ····.line·267 | ||
913 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getInstance()Lorg/smc/inputmethod/indic/SubtypeSwitcher; | 914 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getInstance()Lorg/smc/inputmethod/indic/SubtypeSwitcher; |
914 | ····move-result-object·v4 | 915 | ····move-result-object·v4 |
915 | ····invoke-virtual·{v4},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getNoLanguageSubtype()Landroid/view/inputmethod/InputMethodSubtype; | 916 | ····invoke-virtual·{v4},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getNoLanguageSubtype()Landroid/view/inputmethod/InputMethodSubtype; |
916 | ····move-result-object·v3 | 917 | ····move-result-object·v3 |
Offset 936, 14 lines modified | Offset 937, 15 lines modified | ||
936 | ····const-string·v6,·"keyboard_layout_set_" | 937 | ····const-string·v6,·"keyboard_layout_set_" |
937 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 938 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
938 | ····move-result-object·v5 | 939 | ····move-result-object·v5 |
940 | ····.line·271 | ||
939 | ····invoke-static·{v3},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; | 941 | ····invoke-static·{v3},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; |
940 | ····move-result-object·v6 | 942 | ····move-result-object·v6 |
941 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 943 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
942 | ····move-result-object·v5 | 944 | ····move-result-object·v5 |
Offset 965, 15 lines modified | Offset 967, 15 lines modified | ||
965 | ····goto·:goto_0 | 967 | ····goto·:goto_0 |
966 | ····.restart·local·v2····#·"forceAscii":Z | 968 | ····.restart·local·v2····#·"forceAscii":Z |
967 | ····:cond_2 | 969 | ····:cond_2 |
968 | ····move-object·v3,·p1 | 970 | ····move-object·v3,·p1 |
969 |
····.line·26 |
971 | ····.line·267 |
970 | ····goto·:goto_1 | 972 | ····goto·:goto_1 |
971 | .end·method | 973 | .end·method |
972 | .method·public·setVoiceInputKeyEnabled(Z)Lcom/android/inputmethod/keyboard/KeyboardLayoutSet$Builder; | 974 | .method·public·setVoiceInputKeyEnabled(Z)Lcom/android/inputmethod/keyboard/KeyboardLayoutSet$Builder; |
973 | ····.locals·1 | 975 | ····.locals·1 |
974 | ····.param·p1,·"enabled"····#·Z | 976 | ····.param·p1,·"enabled"····#·Z |
Offset 137, 14 lines modified | Offset 137, 15 lines modified | ||
137 | ····invoke-direct·{v0,·p0},·Lcom/android/inputmethod/keyboard/internal/KeyboardState;-><init>(Lcom/android/inputmethod/keyboard/internal/KeyboardState$SwitchActions;)V | 137 | ····invoke-direct·{v0,·p0},·Lcom/android/inputmethod/keyboard/internal/KeyboardState;-><init>(Lcom/android/inputmethod/keyboard/internal/KeyboardState$SwitchActions;)V |
138 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mState:Lcom/android/inputmethod/keyboard/internal/KeyboardState; | 138 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mState:Lcom/android/inputmethod/keyboard/internal/KeyboardState; |
139 | ····.line·88 | 139 | ····.line·88 |
140 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mLatinIME:Lorg/smc/inputmethod/indic/LatinIME; | 140 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mLatinIME:Lorg/smc/inputmethod/indic/LatinIME; |
141 | ····.line·89 | ||
141 | ····invoke-static·{v0},·Lorg/smc/inputmethod/compat/InputMethodServiceCompatUtils;->enableHardwareAcceleration(Landroid/inputmethodservice/InputMethodService;)Z | 142 | ····invoke-static·{v0},·Lorg/smc/inputmethod/compat/InputMethodServiceCompatUtils;->enableHardwareAcceleration(Landroid/inputmethodservice/InputMethodService;)Z |
142 | ····move-result·v0 | 143 | ····move-result·v0 |
143 | ····iput-boolean·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mIsHardwareAcceleratedDrawingEnabled:Z | 144 | ····iput-boolean·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mIsHardwareAcceleratedDrawingEnabled:Z |
144 | ····.line·90 | 145 | ····.line·90 |
Offset 231, 14 lines modified | Offset 232, 15 lines modified | ||
231 | ····iget-object·v1,·v1,·Lcom/android/inputmethod/keyboard/KeyboardId;->mLocale:Ljava/util/Locale; | 232 | ····iget-object·v1,·v1,·Lcom/android/inputmethod/keyboard/KeyboardId;->mLocale:Ljava/util/Locale; |
232 | ····iget-object·v2,·v11,·Lcom/android/inputmethod/keyboard/Keyboard;->mId:Lcom/android/inputmethod/keyboard/KeyboardId; | 233 | ····iget-object·v2,·v11,·Lcom/android/inputmethod/keyboard/Keyboard;->mId:Lcom/android/inputmethod/keyboard/KeyboardId; |
233 | ····iget-object·v2,·v2,·Lcom/android/inputmethod/keyboard/KeyboardId;->mLocale:Ljava/util/Locale; | 234 | ····iget-object·v2,·v2,·Lcom/android/inputmethod/keyboard/KeyboardId;->mLocale:Ljava/util/Locale; |
235 | ····.line·166 | ||
234 | ····invoke-virtual·{v1,·v2},·Ljava/util/Locale;->equals(Ljava/lang/Object;)Z | 236 | ····invoke-virtual·{v1,·v2},·Ljava/util/Locale;->equals(Ljava/lang/Object;)Z |
235 | ····move-result·v1 | 237 | ····move-result·v1 |
236 | ····if-nez·v1,·:cond_1 | 238 | ····if-nez·v1,·:cond_1 |
237 | ····:cond_0 | 239 | ····:cond_0 |
Offset 259, 26 lines modified | Offset 261, 27 lines modified | ||
259 | ····.line·169 | 261 | ····.line·169 |
260 | ····.local·v10,·"languageOnSpacebarFormatType":I | 262 | ····.local·v10,·"languageOnSpacebarFormatType":I |
261 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInstance()Lorg/smc/inputmethod/indic/RichInputMethodManager; | 263 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInstance()Lorg/smc/inputmethod/indic/RichInputMethodManager; |
262 | ····move-result-object·v1 | 264 | ····move-result-object·v1 |
265 | ····.line·170 | ||
263 | ····invoke-virtual·{v1,·v13},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->hasMultipleEnabledIMEsOrSubtypes(Z)Z | 266 | ····invoke-virtual·{v1,·v13},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->hasMultipleEnabledIMEsOrSubtypes(Z)Z |
264 | ····move-result·v9 | 267 | ····move-result·v9 |
265 | ····.line·171 | 268 | ····.line·171 |
266 | ····.local·v9,·"hasMultipleEnabledIMEsOrSubtypes":Z | 269 | ····.local·v9,·"hasMultipleEnabledIMEsOrSubtypes":Z |
267 | ····invoke-virtual·{v0,·v12,·v10,·v9},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->startDisplayLanguageOnSpacebar(ZIZ)V | 270 | ····invoke-virtual·{v0,·v12,·v10,·v9},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->startDisplayLanguageOnSpacebar(ZIZ)V |
268 | ····.line·173 | 271 | ····.line·173 |
269 | ····return-void | 272 | ····return-void |
270 |
····.line·16 |
273 | ····.line·166 |
271 | ····.end·local·v9····#·"hasMultipleEnabledIMEsOrSubtypes":Z | 274 | ····.end·local·v9····#·"hasMultipleEnabledIMEsOrSubtypes":Z |
272 | ····.end·local·v10····#·"languageOnSpacebarFormatType":I | 275 | ····.end·local·v10····#·"languageOnSpacebarFormatType":I |
273 | ····.end·local·v12····#·"subtypeChanged":Z | 276 | ····.end·local·v12····#·"subtypeChanged":Z |
274 | ····:cond_1 | 277 | ····:cond_1 |
275 | ····const/4·v12,·0x0 | 278 | ····const/4·v12,·0x0 |
276 | ····goto·:goto_0 | 279 | ····goto·:goto_0 |
Offset 822, 18 lines modified | Offset 825, 20 lines modified | ||
822 | ····.line·350 | 825 | ····.line·350 |
823 | ····:cond_0 | 826 | ····:cond_0 |
824 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mLatinIME:Lorg/smc/inputmethod/indic/LatinIME; | 827 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mLatinIME:Lorg/smc/inputmethod/indic/LatinIME; |
825 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mPrefs:Landroid/content/SharedPreferences; | 828 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mPrefs:Landroid/content/SharedPreferences; |
829 | ····.line·351 | ||
826 | ····invoke-static·{v1},·Lcom/android/inputmethod/keyboard/KeyboardTheme;->getKeyboardTheme(Landroid/content/SharedPreferences;)Lcom/android/inputmethod/keyboard/KeyboardTheme; | 830 | ····invoke-static·{v1},·Lcom/android/inputmethod/keyboard/KeyboardTheme;->getKeyboardTheme(Landroid/content/SharedPreferences;)Lcom/android/inputmethod/keyboard/KeyboardTheme; |
827 | ····move-result-object·v1 | 831 | ····move-result-object·v1 |
832 | ····.line·350 | ||
828 | ····invoke-direct·{p0,·v0,·v1},·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->updateKeyboardThemeAndContextThemeWrapper(Landroid/content/Context;Lcom/android/inputmethod/keyboard/KeyboardTheme;)Z | 833 | ····invoke-direct·{p0,·v0,·v1},·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->updateKeyboardThemeAndContextThemeWrapper(Landroid/content/Context;Lcom/android/inputmethod/keyboard/KeyboardTheme;)Z |
829 | ····.line·352 | 834 | ····.line·352 |
830 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mThemeContext:Landroid/content/Context; | 835 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mThemeContext:Landroid/content/Context; |
831 | ····invoke-static·{v0},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; | 836 | ····invoke-static·{v0},·Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater; |
Offset 1228, 26 lines modified | Offset 1233, 29 lines modified | ||
1228 | ····.line·252 | 1233 | ····.line·252 |
1229 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mEmojiPalettesView:Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView; | 1234 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mEmojiPalettesView:Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView; |
1230 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mKeyboardTextsSet:Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet; | 1235 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mKeyboardTextsSet:Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet; |
1231 | ····const-string·v3,·"keylabel_to_alpha" | 1236 | ····const-string·v3,·"keylabel_to_alpha" |
1237 | ····.line·253 | ||
1232 | ····invoke-virtual·{v2,·v3},·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet;->getText(Ljava/lang/String;)Ljava/lang/String; | 1238 | ····invoke-virtual·{v2,·v3},·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet;->getText(Ljava/lang/String;)Ljava/lang/String; |
1233 | ····move-result-object·v2 | 1239 | ····move-result-object·v2 |
1234 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mKeyboardView:Lcom/android/inputmethod/keyboard/MainKeyboardView; | 1240 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->mKeyboardView:Lcom/android/inputmethod/keyboard/MainKeyboardView; |
1241 | ····.line·254 | ||
1235 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getKeyVisualAttribute()Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes; | 1242 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getKeyVisualAttribute()Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes; |
1236 | ····move-result-object·v3 | 1243 | ····move-result-object·v3 |
Max diff block lines reached; 1544/5704 bytes (27.07%) of diff not shown. |
Offset 154, 202 lines modified | Offset 154, 193 lines modified | ||
154 | ····iput·p4,·p0,·Lcom/android/inputmethod/keyboard/KeyboardTheme;->mMinApiVersion:I | 154 | ····iput·p4,·p0,·Lcom/android/inputmethod/keyboard/KeyboardTheme;->mMinApiVersion:I |
155 | ····.line·75 | 155 | ····.line·75 |
156 | ····return-void | 156 | ····return-void |
157 | .end·method | 157 | .end·method |
158 | .method·static·getDefaultKeyboardTheme(Landroid/content/SharedPreferences;I)Lcom/android/inputmethod/keyboard/KeyboardTheme; | 158 | .method·static·getDefaultKeyboardTheme(Landroid/content/SharedPreferences;I)Lcom/android/inputmethod/keyboard/KeyboardTheme; |
159 |
····.locals· |
159 | ····.locals·8 |
160 | ····.param·p0,·"prefs"····#·Landroid/content/SharedPreferences; | 160 | ····.param·p0,·"prefs"····#·Landroid/content/SharedPreferences; |
161 | ····.param·p1,·"sdkVersion"····#·I | 161 | ····.param·p1,·"sdkVersion"····#·I |
162 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 162 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
163 | ····.end·annotation | 163 | ····.end·annotation |
164 | ····.prologue | 164 | ····.prologue |
165 | ····.line·109 | 165 | ····.line·109 |
166 |
····const-string·v |
166 | ····const-string·v4,·"pref_keyboard_layout_20110916" |
167 |
····const/4·v |
167 | ····const/4·v5,·0x0 |
168 |
····invoke-interface·{p0,·v |
168 | ····invoke-interface·{p0,·v4,·v5},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
169 |
····move-result-object·v |
169 | ····move-result-object·v1 |
170 | ····.line·110 | 170 | ····.line·110 |
171 |
····.local·v |
171 | ····.local·v1,·"klpThemeIdString":Ljava/lang/String; |
172 |
····if-eqz·v |
172 | ····if-eqz·v1,·:cond_3 |
173 | ····.line·111 | 173 | ····.line·111 |
174 |
····const/16·v |
174 | ····const/16·v4,·0x13 |
175 |
····if-gt·p1,·v |
175 | ····if-gt·p1,·v4,·:cond_2 |
176 | ····.line·113 | 176 | ····.line·113 |
177 | ····:try_start_0 | 177 | ····:try_start_0 |
178 |
····invoke-static·{v |
178 | ····invoke-static·{v1},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I |
179 |
····move-result·v |
179 | ····move-result·v3 |
180 | ····.line·114 | 180 | ····.line·114 |
181 |
····.local·v |
181 | ····.local·v3,·"themeId":I |
182 |
····invoke-static·{v |
182 | ····invoke-static·{v3},·Lcom/android/inputmethod/keyboard/KeyboardTheme;->searchKeyboardThemeById(I)Lcom/android/inputmethod/keyboard/KeyboardTheme; |
183 |
····move-result-object·v |
183 | ····move-result-object·v2 |
184 | ····.line·115 | 184 | ····.line·115 |
185 |
····.local·v |
185 | ····.local·v2,·"theme":Lcom/android/inputmethod/keyboard/KeyboardTheme; |
186 |
····if-eqz·v |
186 | ····if-eqz·v2,·:cond_1 |
187 | ····.line·133 | 187 | ····.line·133 |
188 |
····.end·local·v |
188 | ····.end·local·v2····#·"theme":Lcom/android/inputmethod/keyboard/KeyboardTheme; |
189 |
····.end·local·v |
189 | ····.end·local·v3····#·"themeId":I |
190 | ····:cond_0 | 190 | ····:cond_0 |
191 | ····:goto_0 | 191 | ····:goto_0 |
192 |
····return-object·v |
192 | ····return-object·v2 |
193 | ····.line·118 | 193 | ····.line·118 |
194 |
····.restart·local·v |
194 | ····.restart·local·v2····#·"theme":Lcom/android/inputmethod/keyboard/KeyboardTheme; |
195 |
····.restart·local·v |
195 | ····.restart·local·v3····#·"themeId":I |
196 | ····:cond_1 | 196 | ····:cond_1 |
197 |
····sget-object·v |
197 | ····sget-object·v4,·Lcom/android/inputmethod/keyboard/KeyboardTheme;->TAG:Ljava/lang/String; |
198 |
····new-instance·v |
198 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
199 |
····invoke-direct·{v |
199 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V |
200 |
····const-string·v |
200 | ····const-string·v6,·"Unknown·keyboard·theme·in·KLP·preference:·" |
201 |
····invoke-virtual·{v |
201 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
202 |
····move-result-object·v |
202 | ····move-result-object·v5 |
203 |
····invoke-virtual·{v |
203 | ····invoke-virtual·{v5,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
204 |
····move-result-object·v |
204 | ····move-result-object·v5 |
205 |
····invoke-virtual·{v |
205 | ····invoke-virtual·{v5},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
206 |
····move-result-object·v |
206 | ····move-result-object·v5 |
207 |
····invoke-static·{v |
207 | ····invoke-static·{v4,·v5},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
208 | ····:try_end_0 | 208 | ····:try_end_0 |
209 | ····.catch·Ljava/lang/NumberFormatException;·{:try_start_0·..·:try_end_0}·:catch_0 | 209 | ····.catch·Ljava/lang/NumberFormatException;·{:try_start_0·..·:try_end_0}·:catch_0 |
210 | ····.line·124 | 210 | ····.line·124 |
211 |
····.end·local·v |
211 | ····.end·local·v2····#·"theme":Lcom/android/inputmethod/keyboard/KeyboardTheme; |
212 |
····.end·local·v |
212 | ····.end·local·v3····#·"themeId":I |
213 | ····:cond_2 | 213 | ····:cond_2 |
214 | ····:goto_1 | 214 | ····:goto_1 |
215 |
····sget-object·v |
215 | ····sget-object·v4,·Lcom/android/inputmethod/keyboard/KeyboardTheme;->TAG:Ljava/lang/String; |
216 |
····new-instance·v |
216 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
217 |
····invoke-direct·{v |
217 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V |
218 |
····const-string·v |
218 | ····const-string·v6,·"Remove·KLP·keyboard·theme·preference:·" |
219 |
····invoke-virtual·{v |
219 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
220 |
····move-result-object·v |
220 | ····move-result-object·v5 |
Max diff block lines reached; 7644/13133 bytes (58.20%) of diff not shown. |
Offset 345, 26 lines modified | Offset 345, 28 lines modified | ||
345 | ····move-result·v1 | 345 | ····move-result·v1 |
346 | ····mul-int/2addr·v1,·p1 | 346 | ····mul-int/2addr·v1,·p1 |
347 | ····div-int/lit16·v1,·v1,·0xff | 347 | ····div-int/lit16·v1,·v1,·0xff |
348 | ····.line·170 | ||
348 | ····invoke-static·{v0},·Landroid/graphics/Color;->red(I)I | 349 | ····invoke-static·{v0},·Landroid/graphics/Color;->red(I)I |
349 | ····move-result·v2 | 350 | ····move-result·v2 |
350 | ····invoke-static·{v0},·Landroid/graphics/Color;->green(I)I | 351 | ····invoke-static·{v0},·Landroid/graphics/Color;->green(I)I |
351 | ····move-result·v3 | 352 | ····move-result·v3 |
352 | ····invoke-static·{v0},·Landroid/graphics/Color;->blue(I)I | 353 | ····invoke-static·{v0},·Landroid/graphics/Color;->blue(I)I |
353 | ····move-result·v4 | 354 | ····move-result·v4 |
355 | ····.line·169 | ||
354 | ····invoke-virtual·{p0,·v1,·v2,·v3,·v4},·Landroid/graphics/Paint;->setARGB(IIII)V | 356 | ····invoke-virtual·{p0,·v1,·v2,·v3,·v4},·Landroid/graphics/Paint;->setARGB(IIII)V |
355 | ····.line·171 | 357 | ····.line·171 |
356 | ····return-void | 358 | ····return-void |
357 | .end·method | 359 | .end·method |
358 | .method·protected·static·drawIcon(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;IIII)V | 360 | .method·protected·static·drawIcon(Landroid/graphics/Canvas;Landroid/graphics/drawable/Drawable;IIII)V |
Offset 481, 14 lines modified | Offset 483, 15 lines modified | ||
481 | ····move-result·v3 | 483 | ····move-result·v3 |
482 | ····if-ne·v3,·v1,·:cond_2 | 484 | ····if-ne·v3,·v1,·:cond_2 |
483 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/KeyboardView;->mOffscreenBuffer:Landroid/graphics/Bitmap; | 485 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/KeyboardView;->mOffscreenBuffer:Landroid/graphics/Bitmap; |
486 | ····.line·251 | ||
484 | ····invoke-virtual·{v3},·Landroid/graphics/Bitmap;->getHeight()I | 487 | ····invoke-virtual·{v3},·Landroid/graphics/Bitmap;->getHeight()I |
485 | ····move-result·v3 | 488 | ····move-result·v3 |
486 | ····if-eq·v3,·v0,·:cond_0 | 489 | ····if-eq·v3,·v0,·:cond_0 |
487 | ····.line·254 | 490 | ····.line·254 |
Offset 622, 94 lines modified | Offset 625, 94 lines modified | ||
622 | .end·method | 625 | .end·method |
623 | .method·private·onDrawKeyboard(Landroid/graphics/Canvas;)V | 626 | .method·private·onDrawKeyboard(Landroid/graphics/Canvas;)V |
624 | ····.locals·14 | 627 | ····.locals·14 |
625 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; | 628 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; |
626 | ····.prologue | 629 | ····.prologue |
627 |
····const/4·v |
630 | ····const/4·v9,·0x0 |
628 | ····.line·269 | 631 | ····.line·269 |
629 |
····iget-object·v1 |
632 | ····iget-object·v10,·p0,·Lcom/android/inputmethod/keyboard/KeyboardView;->mKeyboard:Lcom/android/inputmethod/keyboard/Keyboard; |
630 |
····if-nez·v1 |
633 | ····if-nez·v10,·:cond_0 |
631 | ····.line·319 | 634 | ····.line·319 |
632 | ····:goto_0 | 635 | ····:goto_0 |
633 | ····return-void | 636 | ····return-void |
634 | ····.line·271 | 637 | ····.line·271 |
635 | ····:cond_0 | 638 | ····:cond_0 |
636 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/KeyboardView;->getWidth()I | 639 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/KeyboardView;->getWidth()I |
637 |
····move-result·v |
640 | ····move-result·v6 |
638 | ····.line·272 | 641 | ····.line·272 |
639 |
····.local·v |
642 | ····.local·v6,·"width":I |
640 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/KeyboardView;->getHeight()I | 643 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/KeyboardView;->getHeight()I |
641 | ····move-result·v2 | 644 | ····move-result·v2 |
642 | ····.line·273 | 645 | ····.line·273 |
643 | ····.local·v2,·"height":I | 646 | ····.local·v2,·"height":I |
644 |
····iget-object·v |
647 | ····iget-object·v5,·p0,·Lcom/android/inputmethod/keyboard/KeyboardView;->mPaint:Landroid/graphics/Paint; |
645 | ····.line·276 | 648 | ····.line·276 |
646 |
····.local·v |
649 | ····.local·v5,·"paint":Landroid/graphics/Paint; |
647 |
····iget-boolean·v1 |
650 | ····iget-boolean·v10,·p0,·Lcom/android/inputmethod/keyboard/KeyboardView;->mInvalidateAllKeys:Z |
648 |
····if-nez·v1 |
651 | ····if-nez·v10,·:cond_1 |
649 |
····iget-object·v1 |
652 | ····iget-object·v10,·p0,·Lcom/android/inputmethod/keyboard/KeyboardView;->mInvalidatedKeys:Ljava/util/HashSet; |
650 |
····invoke-virtual·{v1 |
653 | ····invoke-virtual·{v10},·Ljava/util/HashSet;->isEmpty()Z |
651 |
····move-result·v1 |
654 | ····move-result·v10 |
652 |
····if-eqz·v1 |
655 | ····if-eqz·v10,·:cond_6 |
653 | ····:cond_1 | 656 | ····:cond_1 |
654 | ····const/4·v1,·0x1 | 657 | ····const/4·v1,·0x1 |
655 | ····.line·277 | 658 | ····.line·277 |
656 | ····.local·v1,·"drawAllKeys":Z | 659 | ····.local·v1,·"drawAllKeys":Z |
657 | ····:goto_1 | 660 | ····:goto_1 |
Max diff block lines reached; 14360/17504 bytes (82.04%) of diff not shown. |
Offset 372, 14 lines modified | Offset 372, 15 lines modified | ||
372 | ····.local·v8,·"forceNonDistinctMultitouch":Z | 372 | ····.local·v8,·"forceNonDistinctMultitouch":Z |
373 | ····invoke-virtual/range·{p1·..·p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 373 | ····invoke-virtual/range·{p1·..·p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
374 | ····move-result-object·v20 | 374 | ····move-result-object·v20 |
375 | ····const-string·v21,·"android.hardware.touchscreen.multitouch.distinct" | 375 | ····const-string·v21,·"android.hardware.touchscreen.multitouch.distinct" |
376 | ····.line·205 | ||
376 | ····invoke-virtual/range·{v20·..·v21},·Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z | 377 | ····invoke-virtual/range·{v20·..·v21},·Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z |
377 | ····move-result·v20 | 378 | ····move-result·v20 |
378 | ····if-eqz·v20,·:cond_0 | 379 | ····if-eqz·v20,·:cond_0 |
379 | ····if-nez·v8,·:cond_0 | 380 | ····if-nez·v8,·:cond_0 |
Offset 916, 15 lines modified | Offset 917, 15 lines modified | ||
916 | ····move-object/from16·v1,·p0 | 917 | ····move-object/from16·v1,·p0 |
917 | ····iput·v0,·v1,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mLanguageOnSpacebarHorizontalMargin:I | 918 | ····iput·v0,·v1,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mLanguageOnSpacebarHorizontalMargin:I |
918 | ····.line·273 | 919 | ····.line·273 |
919 | ····return-void | 920 | ····return-void |
920 |
····.line·20 |
921 | ····.line·205 |
921 | ····.end·local·v5····#·"altCodeKeyWhileTypingFadeinAnimatorResId":I | 922 | ····.end·local·v5····#·"altCodeKeyWhileTypingFadeinAnimatorResId":I |
922 | ····.end·local·v6····#·"altCodeKeyWhileTypingFadeoutAnimatorResId":I | 923 | ····.end·local·v6····#·"altCodeKeyWhileTypingFadeoutAnimatorResId":I |
923 | ····.end·local·v7····#·"backgroundDimAlpha":I | 924 | ····.end·local·v7····#·"backgroundDimAlpha":I |
924 | ····.end·local·v10····#·"hasDistinctMultitouch":Z | 925 | ····.end·local·v10····#·"hasDistinctMultitouch":Z |
925 | ····.end·local·v12····#·"inflater":Landroid/view/LayoutInflater; | 926 | ····.end·local·v12····#·"inflater":Landroid/view/LayoutInflater; |
926 | ····.end·local·v15····#·"languageOnSpacebarFadeoutAnimatorResId":I | 927 | ····.end·local·v15····#·"languageOnSpacebarFadeoutAnimatorResId":I |
927 | ····.end·local·v17····#·"moreKeysKeyboardForActionLayoutId":I | 928 | ····.end·local·v17····#·"moreKeysKeyboardForActionLayoutId":I |
Offset 1381, 20 lines modified | Offset 1382, 21 lines modified | ||
1381 | ····const/4·v0,·0x0 | 1382 | ····const/4·v0,·0x0 |
1382 | ····.line·291 | 1383 | ····.line·291 |
1383 | ····:cond_0 | 1384 | ····:cond_0 |
1384 | ····:goto_0 | 1385 | ····:goto_0 |
1385 | ····return-object·v0 | 1386 | ····return-object·v0 |
1386 |
····.line·28 |
1387 | ····.line·287 |
1387 | ····:cond_1 | 1388 | ····:cond_1 |
1388 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getContext()Landroid/content/Context; | 1389 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getContext()Landroid/content/Context; |
1389 | ····move-result-object·v1 | 1390 | ····move-result-object·v1 |
1391 | ····.line·286 | ||
1390 | ····invoke-static·{v1,·p1},·Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator; | 1392 | ····invoke-static·{v1,·p1},·Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator; |
1391 | ····move-result-object·v0 | 1393 | ····move-result-object·v0 |
1392 | ····check-cast·v0,·Landroid/animation/ObjectAnimator; | 1394 | ····check-cast·v0,·Landroid/animation/ObjectAnimator; |
1393 | ····.line·288 | 1395 | ····.line·288 |
Offset 1480, 49 lines modified | Offset 1482, 54 lines modified | ||
1480 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->isPopupEnabled()Z | 1482 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->isPopupEnabled()Z |
1481 | ····move-result·v1 | 1483 | ····move-result·v1 |
1482 | ····if-eqz·v1,·:cond_2 | 1484 | ····if-eqz·v1,·:cond_2 |
1485 | ····.line·583 | ||
1483 | ····invoke-virtual·{p1},·Lcom/android/inputmethod/keyboard/Key;->noKeyPreview()Z | 1486 | ····invoke-virtual·{p1},·Lcom/android/inputmethod/keyboard/Key;->noKeyPreview()Z |
1484 | ····move-result·v1 | 1487 | ····move-result·v1 |
1485 | ····if-nez·v1,·:cond_2 | 1488 | ····if-nez·v1,·:cond_2 |
1486 | ····array-length·v1,·v9 | 1489 | ····array-length·v1,·v9 |
1487 | ····if-ne·v1,·v4,·:cond_2 | 1490 | ····if-ne·v1,·v4,·:cond_2 |
1488 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mKeyPreviewDrawParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; | 1491 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mKeyPreviewDrawParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; |
1492 | ····.line·584 | ||
1489 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->getVisibleWidth()I | 1493 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->getVisibleWidth()I |
1490 | ····move-result·v1 | 1494 | ····move-result·v1 |
1491 | ····if-lez·v1,·:cond_2 | 1495 | ····if-lez·v1,·:cond_2 |
1492 | ····.line·585 | 1496 | ····.line·585 |
1493 | ····.local·v4,·"isSingleMoreKeyWithPreview":Z | 1497 | ····.local·v4,·"isSingleMoreKeyWithPreview":Z |
1494 | ····:goto_1 | 1498 | ····:goto_1 |
1495 | ····new-instance·v0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$Builder; | 1499 | ····new-instance·v0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$Builder; |
1500 | ····.line·586 | ||
1496 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getKeyboard()Lcom/android/inputmethod/keyboard/Keyboard; | 1501 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getKeyboard()Lcom/android/inputmethod/keyboard/Keyboard; |
1497 | ····move-result-object·v3 | 1502 | ····move-result-object·v3 |
1498 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mKeyPreviewDrawParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; | 1503 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mKeyPreviewDrawParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; |
1504 | ····.line·587 | ||
1499 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->getVisibleWidth()I | 1505 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->getVisibleWidth()I |
1500 | ····move-result·v5 | 1506 | ····move-result·v5 |
1501 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mKeyPreviewDrawParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; | 1507 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MainKeyboardView;->mKeyPreviewDrawParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; |
Max diff block lines reached; 10036/13317 bytes (75.36%) of diff not shown. |
Offset 71, 110 lines modified | Offset 71, 110 lines modified | ||
71 | .method·public·detectHitKey(II)Lcom/android/inputmethod/keyboard/Key; | 71 | .method·public·detectHitKey(II)Lcom/android/inputmethod/keyboard/Key; |
72 | ····.locals·9 | 72 | ····.locals·9 |
73 | ····.param·p1,·"x"····#·I | 73 | ····.param·p1,·"x"····#·I |
74 | ····.param·p2,·"y"····#·I | 74 | ····.param·p2,·"y"····#·I |
75 | ····.prologue | 75 | ····.prologue |
76 | ····.line·89 | 76 | ····.line·89 |
77 |
····iget-object·v |
77 | ····iget-object·v6,·p0,·Lcom/android/inputmethod/keyboard/KeyDetector;->mKeyboard:Lcom/android/inputmethod/keyboard/Keyboard; |
78 |
····if-nez·v |
78 | ····if-nez·v6,·:cond_1 |
79 | ····.line·90 | 79 | ····.line·90 |
80 |
····const/4·v |
80 | ····const/4·v3,·0x0 |
81 | ····.line·114 | 81 | ····.line·114 |
82 | ····:cond_0 | 82 | ····:cond_0 |
83 |
····return-object·v |
83 | ····return-object·v3 |
84 | ····.line·92 | 84 | ····.line·92 |
85 | ····:cond_1 | 85 | ····:cond_1 |
86 | ····invoke-virtual·{p0,·p1},·Lcom/android/inputmethod/keyboard/KeyDetector;->getTouchX(I)I | 86 | ····invoke-virtual·{p0,·p1},·Lcom/android/inputmethod/keyboard/KeyDetector;->getTouchX(I)I |
87 |
····move-result·v |
87 | ····move-result·v4 |
88 | ····.line·93 | 88 | ····.line·93 |
89 |
····.local·v |
89 | ····.local·v4,·"touchX":I |
90 | ····invoke-virtual·{p0,·p2},·Lcom/android/inputmethod/keyboard/KeyDetector;->getTouchY(I)I | 90 | ····invoke-virtual·{p0,·p2},·Lcom/android/inputmethod/keyboard/KeyDetector;->getTouchY(I)I |
91 |
····move-result·v |
91 | ····move-result·v5 |
92 | ····.line·95 | 92 | ····.line·95 |
93 |
····.local·v |
93 | ····.local·v5,·"touchY":I |
94 |
····const·v |
94 | ····const·v2,·0x7fffffff |
95 | ····.line·96 | 95 | ····.line·96 |
96 |
····.local·v |
96 | ····.local·v2,·"minDistance":I |
97 |
····const/4·v |
97 | ····const/4·v3,·0x0 |
98 | ····.line·97 | 98 | ····.line·97 |
99 |
····.local·v |
99 | ····.local·v3,·"primaryKey":Lcom/android/inputmethod/keyboard/Key; |
100 |
····iget-object·v |
100 | ····iget-object·v6,·p0,·Lcom/android/inputmethod/keyboard/KeyDetector;->mKeyboard:Lcom/android/inputmethod/keyboard/Keyboard; |
101 |
····invoke-virtual·{v |
101 | ····invoke-virtual·{v6,·v4,·v5},·Lcom/android/inputmethod/keyboard/Keyboard;->getNearestKeys(II)Ljava/util/List; |
102 |
····move-result-object·v |
102 | ····move-result-object·v6 |
103 |
····invoke-interface·{v |
103 | ····invoke-interface·{v6},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
104 |
····move-result-object·v |
104 | ····move-result-object·v6 |
105 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
106 | ····:cond_2 | 105 | ····:cond_2 |
107 | ····:goto_0 | 106 | ····:goto_0 |
108 |
····invoke-interface·{v |
107 | ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z |
109 | ····move-result·v7 | 108 | ····move-result·v7 |
110 | ····if-eqz·v7,·:cond_0 | 109 | ····if-eqz·v7,·:cond_0 |
111 |
····invoke-interface·{v |
110 | ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
112 |
····move-result-object·v |
111 | ····move-result-object·v1 |
113 |
····check-cast·v |
112 | ····check-cast·v1,·Lcom/android/inputmethod/keyboard/Key; |
114 | ····.line·100 | 113 | ····.line·100 |
115 |
····.local·v |
114 | ····.local·v1,·"key":Lcom/android/inputmethod/keyboard/Key; |
116 |
····invoke-virtual·{v |
115 | ····invoke-virtual·{v1,·v4,·v5},·Lcom/android/inputmethod/keyboard/Key;->isOnKey(II)Z |
117 | ····move-result·v7 | 116 | ····move-result·v7 |
118 | ····if-eqz·v7,·:cond_2 | 117 | ····if-eqz·v7,·:cond_2 |
119 | ····.line·103 | 118 | ····.line·103 |
120 |
····invoke-virtual·{v |
119 | ····invoke-virtual·{v1,·v4,·v5},·Lcom/android/inputmethod/keyboard/Key;->squaredDistanceToEdge(II)I |
121 | ····move-result·v0 | 120 | ····move-result·v0 |
122 | ····.line·104 | 121 | ····.line·104 |
123 | ····.local·v0,·"distance":I | 122 | ····.local·v0,·"distance":I |
124 |
····if-gt·v0,·v |
123 | ····if-gt·v0,·v2,·:cond_2 |
125 | ····.line·108 | 124 | ····.line·108 |
126 |
····if-eqz·v |
125 | ····if-eqz·v3,·:cond_3 |
127 |
····if-lt·v0,·v |
126 | ····if-lt·v0,·v2,·:cond_3 |
128 |
···· |
127 | ····.line·109 |
128 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/Key;->getCode()I | ||
129 | ····move-result·v7 | 129 | ····move-result·v7 |
130 |
····invoke-virtual·{v |
130 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/Key;->getCode()I |
131 | ····move-result·v8 | 131 | ····move-result·v8 |
132 | ····if-le·v7,·v8,·:cond_2 | 132 | ····if-le·v7,·v8,·:cond_2 |
133 | ····.line·110 | 133 | ····.line·110 |
Max diff block lines reached; 248/4213 bytes (5.89%) of diff not shown. |
Offset 53, 96 lines modified | Offset 53, 94 lines modified | ||
53 | ····.param·p1,·"x"····#·I | 53 | ····.param·p1,·"x"····#·I |
54 | ····.param·p2,·"y"····#·I | 54 | ····.param·p2,·"y"····#·I |
55 | ····.prologue | 55 | ····.prologue |
56 | ····.line·37 | 56 | ····.line·37 |
57 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->getKeyboard()Lcom/android/inputmethod/keyboard/Keyboard; | 57 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->getKeyboard()Lcom/android/inputmethod/keyboard/Keyboard; |
58 |
····move-result-object·v |
58 | ····move-result-object·v2 |
59 | ····.line·38 | 59 | ····.line·38 |
60 |
····.local·v |
60 | ····.local·v2,·"keyboard":Lcom/android/inputmethod/keyboard/Keyboard; |
61 |
····if-nez·v |
61 | ····if-nez·v2,·:cond_1 |
62 | ····.line·39 | 62 | ····.line·39 |
63 |
····const/4·v |
63 | ····const/4·v4,·0x0 |
64 | ····.line·53 | 64 | ····.line·53 |
65 | ····:cond_0 | 65 | ····:cond_0 |
66 |
····return-object·v |
66 | ····return-object·v4 |
67 | ····.line·41 | 67 | ····.line·41 |
68 | ····:cond_1 | 68 | ····:cond_1 |
69 | ····invoke-virtual·{p0,·p1},·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->getTouchX(I)I | 69 | ····invoke-virtual·{p0,·p1},·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->getTouchX(I)I |
70 |
····move-result·v |
70 | ····move-result·v5 |
71 | ····.line·42 | 71 | ····.line·42 |
72 |
····.local·v |
72 | ····.local·v5,·"touchX":I |
73 | ····invoke-virtual·{p0,·p2},·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->getTouchY(I)I | 73 | ····invoke-virtual·{p0,·p2},·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->getTouchY(I)I |
74 |
····move-result·v |
74 | ····move-result·v6 |
75 | ····.line·44 | 75 | ····.line·44 |
76 |
····.local·v |
76 | ····.local·v6,·"touchY":I |
77 |
····const/4·v |
77 | ····const/4·v4,·0x0 |
78 | ····.line·45 | 78 | ····.line·45 |
79 |
····.local·v |
79 | ····.local·v4,·"nearestKey":Lcom/android/inputmethod/keyboard/Key; |
80 | ····if-gez·p2,·:cond_3 | 80 | ····if-gez·p2,·:cond_3 |
81 |
····iget·v |
81 | ····iget·v3,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->mSlideAllowanceSquareTop:I |
82 | ····.line·46 | 82 | ····.line·46 |
83 |
····.local·v |
83 | ····.local·v3,·"nearestDist":I |
84 | ····:goto_0 | 84 | ····:goto_0 |
85 |
····invoke-virtual·{v |
85 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/Keyboard;->getSortedKeys()Ljava/util/List; |
86 |
····move-result-object·v |
86 | ····move-result-object·v7 |
87 |
····invoke-interface·{v |
87 | ····invoke-interface·{v7},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
88 |
····move-result-object·v |
88 | ····move-result-object·v7 |
89 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
90 | ····:cond_2 | 89 | ····:cond_2 |
91 | ····:goto_1 | 90 | ····:goto_1 |
92 |
····invoke-interface·{v |
91 | ····invoke-interface·{v7},·Ljava/util/Iterator;->hasNext()Z |
93 | ····move-result·v8 | 92 | ····move-result·v8 |
94 | ····if-eqz·v8,·:cond_0 | 93 | ····if-eqz·v8,·:cond_0 |
95 |
····invoke-interface·{v |
94 | ····invoke-interface·{v7},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
96 |
····move-result-object·v |
95 | ····move-result-object·v1 |
97 |
····check-cast·v |
96 | ····check-cast·v1,·Lcom/android/inputmethod/keyboard/Key; |
98 | ····.line·47 | 97 | ····.line·47 |
99 |
····.local·v |
98 | ····.local·v1,·"key":Lcom/android/inputmethod/keyboard/Key; |
100 |
····invoke-virtual·{v |
99 | ····invoke-virtual·{v1,·v5,·v6},·Lcom/android/inputmethod/keyboard/Key;->squaredDistanceToEdge(II)I |
101 | ····move-result·v0 | 100 | ····move-result·v0 |
102 | ····.line·48 | 101 | ····.line·48 |
103 | ····.local·v0,·"dist":I | 102 | ····.local·v0,·"dist":I |
104 |
····if-ge·v0,·v |
103 | ····if-ge·v0,·v3,·:cond_2 |
105 | ····.line·49 | 104 | ····.line·49 |
106 |
····move-object·v |
105 | ····move-object·v4,·v1 |
107 | ····.line·50 | 106 | ····.line·50 |
108 |
····move·v |
107 | ····move·v3,·v0 |
109 | ····goto·:goto_1 | 108 | ····goto·:goto_1 |
110 | ····.line·45 | 109 | ····.line·45 |
111 | ····.end·local·v0····#·"dist":I | 110 | ····.end·local·v0····#·"dist":I |
112 |
····.end·local·v1····#·" |
111 | ····.end·local·v1····#·"key":Lcom/android/inputmethod/keyboard/Key; |
113 |
····.end·local·v |
112 | ····.end·local·v3····#·"nearestDist":I |
114 | ····.end·local·v4····#·"nearestDist":I | ||
115 | ····:cond_3 | 113 | ····:cond_3 |
116 |
····iget·v |
114 | ····iget·v3,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysDetector;->mSlideAllowanceSquare:I |
117 | ····goto·:goto_0 | 115 | ····goto·:goto_0 |
118 | .end·method | 116 | .end·method |
Offset 128, 14 lines modified | Offset 128, 15 lines modified | ||
128 | ····array-length·v2,·v11 | 128 | ····array-length·v2,·v11 |
129 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->getMoreKeysColumnNumber()I | 129 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->getMoreKeysColumnNumber()I |
130 | ····move-result·v3 | 130 | ····move-result·v3 |
131 | ····.line·313 | ||
131 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->getX()I | 132 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->getX()I |
132 | ····move-result·v6 | 133 | ····move-result·v6 |
133 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->getWidth()I | 134 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->getWidth()I |
134 | ····move-result·v7 | 135 | ····move-result·v7 |
Offset 146, 22 lines modified | Offset 147, 24 lines modified | ||
146 | ····move-object/from16·v0,·p3 | 147 | ····move-object/from16·v0,·p3 |
147 | ····iget-object·v7,·v0,·Lcom/android/inputmethod/keyboard/Keyboard;->mId:Lcom/android/inputmethod/keyboard/KeyboardId; | 148 | ····iget-object·v7,·v0,·Lcom/android/inputmethod/keyboard/Keyboard;->mId:Lcom/android/inputmethod/keyboard/KeyboardId; |
148 | ····iget·v7,·v7,·Lcom/android/inputmethod/keyboard/KeyboardId;->mWidth:I | 149 | ····iget·v7,·v7,·Lcom/android/inputmethod/keyboard/KeyboardId;->mWidth:I |
150 | ····.line·314 | ||
149 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->isMoreKeysFixedColumn()Z | 151 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->isMoreKeysFixedColumn()Z |
150 | ····move-result·v8 | 152 | ····move-result·v8 |
151 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->isMoreKeysFixedOrder()Z | 153 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->isMoreKeysFixedOrder()Z |
152 | ····move-result·v9 | 154 | ····move-result·v9 |
155 | ····.line·312 | ||
153 | ····invoke-virtual/range·{v1·..·v10},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->setParameters(IIIIIIZZI)V | 156 | ····invoke-virtual/range·{v1·..·v10},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->setParameters(IIIIIIZZI)V |
154 | ····.line·315 | 157 | ····.line·315 |
155 | ····return-void | 158 | ····return-void |
156 | ····.line·298 | 159 | ····.line·298 |
157 | ····.end·local·v4····#·"keyWidth":I | 160 | ····.end·local·v4····#·"keyWidth":I |
Offset 175, 14 lines modified | Offset 178, 15 lines modified | ||
175 | ····const·v2,·0x7f080026 | 178 | ····const·v2,·0x7f080026 |
176 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimension(I)F | 179 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimension(I)F |
177 | ····move-result·v2 | 180 | ····move-result·v2 |
181 | ····.line·300 | ||
178 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->hasLabelsInMoreKeys()Z | 182 | ····invoke-virtual·{p2},·Lcom/android/inputmethod/keyboard/Key;->hasLabelsInMoreKeys()Z |
179 | ····move-result·v1 | 183 | ····move-result·v1 |
180 | ····if-eqz·v1,·:cond_1 | 184 | ····if-eqz·v1,·:cond_1 |
181 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$Builder;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyboardParams; | 185 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$Builder;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyboardParams; |
Offset 219, 15 lines modified | Offset 223, 15 lines modified | ||
219 | ····move-object/from16·v0,·p3 | 223 | ····move-object/from16·v0,·p3 |
220 | ····iget·v5,·v0,·Lcom/android/inputmethod/keyboard/Keyboard;->mMostCommonKeyHeight:I | 224 | ····iget·v5,·v0,·Lcom/android/inputmethod/keyboard/Keyboard;->mMostCommonKeyHeight:I |
221 | ····.restart·local·v5····#·"rowHeight":I | 225 | ····.restart·local·v5····#·"rowHeight":I |
222 | ····goto·:goto_0 | 226 | ····goto·:goto_0 |
223 |
····.line· |
227 | ····.line·300 |
224 | ····.end·local·v4····#·"keyWidth":I | 228 | ····.end·local·v4····#·"keyWidth":I |
225 | ····.end·local·v5····#·"rowHeight":I | 229 | ····.end·local·v5····#·"rowHeight":I |
226 | ····.end·local·v12····#·"padding":F | 230 | ····.end·local·v12····#·"padding":F |
227 | ····:cond_1 | 231 | ····:cond_1 |
228 | ····const/4·v1,·0x0 | 232 | ····const/4·v1,·0x0 |
229 | ····goto·:goto_2 | 233 | ····goto·:goto_2 |
Offset 247, 74 lines modified | Offset 251, 72 lines modified | ||
247 | ····.param·p0,·"parentKey"····#·Lcom/android/inputmethod/keyboard/Key; | 251 | ····.param·p0,·"parentKey"····#·Lcom/android/inputmethod/keyboard/Key; |
248 | ····.param·p1,·"minKeyWidth"····#·I | 252 | ····.param·p1,·"minKeyWidth"····#·I |
249 | ····.param·p2,·"padding"····#·F | 253 | ····.param·p2,·"padding"····#·F |
250 | ····.param·p3,·"paint"····#·Landroid/graphics/Paint; | 254 | ····.param·p3,·"paint"····#·Landroid/graphics/Paint; |
251 | ····.prologue | 255 | ····.prologue |
252 | ····.line·319 | 256 | ····.line·319 |
253 |
····move·v |
257 | ····move·v1,·p1 |
254 | ····.line·320 | 258 | ····.line·320 |
255 |
····.local·v |
259 | ····.local·v1,·"maxWidth":I |
256 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/Key;->getMoreKeys()[Lcom/android/inputmethod/keyboard/internal/MoreKeySpec; | 260 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/Key;->getMoreKeys()[Lcom/android/inputmethod/keyboard/internal/MoreKeySpec; |
257 |
····move-result-object·v |
261 | ····move-result-object·v4 |
258 |
|
262 | ····array-length·v5,·v4 |
259 | ····array-length·v3,·v0 | ||
260 |
···· |
263 | ····const/4·v3,·0x0 |
261 | ····const/4·v1,·0x0 | ||
262 | ····.local·v1,·"i$":I | ||
263 | ····:goto_0 | 264 | ····:goto_0 |
264 |
····if-ge·v |
265 | ····if-ge·v3,·v5,·:cond_1 |
265 |
····aget-object·v |
266 | ····aget-object·v2,·v4,·v3 |
Max diff block lines reached; 1989/4882 bytes (40.74%) of diff not shown. |
Offset 760, 14 lines modified | Offset 760, 15 lines modified | ||
760 | ····.line·128 | 760 | ····.line·128 |
761 | ····if-eqz·p8,·:cond_7 | 761 | ····if-eqz·p8,·:cond_7 |
762 | ····invoke-direct·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->getFixedOrderTopRowAdjustment()I | 762 | ····invoke-direct·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->getFixedOrderTopRowAdjustment()I |
763 | ····move-result·v10 | 763 | ····move-result·v10 |
764 | ····.line·129 | ||
764 | ····:goto_2 | 765 | ····:goto_2 |
765 | ····iput·v10,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mTopRowAdjustment:I | 766 | ····iput·v10,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mTopRowAdjustment:I |
766 | ····.line·130 | 767 | ····.line·130 |
767 | ····move/from16·v0,·p9 | 768 | ····move/from16·v0,·p9 |
768 | ····iput·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mDividerWidth:I | 769 | ····iput·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mDividerWidth:I |
Offset 818, 15 lines modified | Offset 819, 15 lines modified | ||
818 | ····iput·v10,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mOccupiedHeight:I | 819 | ····iput·v10,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mOccupiedHeight:I |
819 | ····iput·v10,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mBaseHeight:I | 820 | ····iput·v10,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->mBaseHeight:I |
820 | ····.line·136 | 821 | ····.line·136 |
821 | ····return-void | 822 | ····return-void |
822 |
····.line·9 |
823 | ····.line·91 |
823 | ····.end·local·v1····#·"leftKeys":I | 824 | ····.end·local·v1····#·"leftKeys":I |
824 | ····.end·local·v2····#·"maxLeftKeys":I | 825 | ····.end·local·v2····#·"maxLeftKeys":I |
825 | ····.end·local·v3····#·"maxRightKeys":I | 826 | ····.end·local·v3····#·"maxRightKeys":I |
826 | ····.end·local·v4····#·"numColumns":I | 827 | ····.end·local·v4····#·"numColumns":I |
827 | ····.end·local·v5····#·"numLeftKeys":I | 828 | ····.end·local·v5····#·"numLeftKeys":I |
828 | ····.end·local·v6····#·"numRightKeys":I | 829 | ····.end·local·v6····#·"numRightKeys":I |
829 | ····.end·local·v8····#·"rightKeys":I | 830 | ····.end·local·v8····#·"rightKeys":I |
Offset 867, 15 lines modified | Offset 868, 15 lines modified | ||
867 | ····.line·110 | 868 | ····.line·110 |
868 | ····.restart·local·v1····#·"leftKeys":I | 869 | ····.restart·local·v1····#·"leftKeys":I |
869 | ····move·v8,·v6 | 870 | ····move·v8,·v6 |
870 | ····.restart·local·v8····#·"rightKeys":I | 871 | ····.restart·local·v8····#·"rightKeys":I |
871 | ····goto·:goto_1 | 872 | ····goto·:goto_1 |
872 |
····.line·12 |
873 | ····.line·129 |
873 | ····:cond_7 | 874 | ····:cond_7 |
874 | ····invoke-direct·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->getAutoOrderTopRowAdjustment()I | 875 | ····invoke-direct·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboard$MoreKeysKeyboardParams;->getAutoOrderTopRowAdjustment()I |
875 | ····move-result·v10 | 876 | ····move-result·v10 |
876 | ····goto·:goto_2 | 877 | ····goto·:goto_2 |
877 | .end·method | 878 | .end·method |
Offset 236, 14 lines modified | Offset 236, 15 lines modified | ||
236 | ····:cond_0 | 236 | ····:cond_0 |
237 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; | 237 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; |
238 | ····.line·244 | 238 | ····.line·244 |
239 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; | 239 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; |
240 | ····if-eqz·v0,·:cond_1 | 240 | ····if-eqz·v0,·:cond_1 |
241 | ····.line·245 | ||
241 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 242 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
242 | ····move-result-object·v1 | 243 | ····move-result-object·v1 |
243 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isAccessibilityEnabled()Z | 244 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isAccessibilityEnabled()Z |
244 | ····move-result·v1 | 245 | ····move-result·v1 |
Offset 422, 14 lines modified | Offset 423, 15 lines modified | ||
422 | ····.line·290 | 423 | ····.line·290 |
423 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; | 424 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; |
424 | ····.line·291 | 425 | ····.line·291 |
425 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; | 426 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; |
426 | ····if-eqz·v0,·:cond_0 | 427 | ····if-eqz·v0,·:cond_0 |
428 | ····.line·292 | ||
427 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 429 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
428 | ····move-result-object·v1 | 430 | ····move-result-object·v1 |
429 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z | 431 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z |
430 | ····move-result·v1 | 432 | ····move-result·v1 |
Offset 821, 14 lines modified | Offset 823, 15 lines modified | ||
821 | ····.prologue | 823 | ····.prologue |
822 | ····.line·106 | 824 | ····.line·106 |
823 | ····invoke-super·{p0,·p1},·Lcom/android/inputmethod/keyboard/KeyboardView;->setKeyboard(Lcom/android/inputmethod/keyboard/Keyboard;)V | 825 | ····invoke-super·{p0,·p1},·Lcom/android/inputmethod/keyboard/KeyboardView;->setKeyboard(Lcom/android/inputmethod/keyboard/Keyboard;)V |
824 | ····.line·107 | 826 | ····.line·107 |
825 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mKeyDetector:Lcom/android/inputmethod/keyboard/KeyDetector; | 827 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mKeyDetector:Lcom/android/inputmethod/keyboard/KeyDetector; |
828 | ····.line·108 | ||
826 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->getPaddingLeft()I | 829 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->getPaddingLeft()I |
827 | ····move-result·v1 | 830 | ····move-result·v1 |
828 | ····neg-int·v1,·v1 | 831 | ····neg-int·v1,·v1 |
829 | ····int-to-float·v1,·v1 | 832 | ····int-to-float·v1,·v1 |
Offset 843, 14 lines modified | Offset 846, 15 lines modified | ||
843 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->getVerticalCorrection()F | 846 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->getVerticalCorrection()F |
844 | ····move-result·v3 | 847 | ····move-result·v3 |
845 | ····add-float/2addr·v2,·v3 | 848 | ····add-float/2addr·v2,·v3 |
849 | ····.line·107 | ||
846 | ····invoke-virtual·{v0,·p1,·v1,·v2},·Lcom/android/inputmethod/keyboard/KeyDetector;->setKeyboard(Lcom/android/inputmethod/keyboard/Keyboard;FF)V | 850 | ····invoke-virtual·{v0,·p1,·v1,·v2},·Lcom/android/inputmethod/keyboard/KeyDetector;->setKeyboard(Lcom/android/inputmethod/keyboard/Keyboard;FF)V |
847 | ····.line·109 | 851 | ····.line·109 |
848 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 852 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
849 | ····move-result-object·v0 | 853 | ····move-result-object·v0 |
Offset 976, 14 lines modified | Offset 980, 15 lines modified | ||
976 | ····invoke-virtual·{v1},·Landroid/view/View;->getPaddingBottom()I | 980 | ····invoke-virtual·{v1},·Landroid/view/View;->getPaddingBottom()I |
977 | ····move-result·v8 | 981 | ····move-result·v8 |
978 | ····add-int/2addr·v7,·v8 | 982 | ····add-int/2addr·v7,·v8 |
983 | ····.line·132 | ||
979 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->getPaddingBottom()I | 984 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->getPaddingBottom()I |
980 | ····move-result·v8 | 985 | ····move-result·v8 |
981 | ····add-int·v6,·v7,·v8 | 986 | ····add-int·v6,·v7,·v8 |
982 | ····.line·134 | 987 | ····.line·134 |
Offset 1068, 14 lines modified | Offset 1073, 15 lines modified | ||
1068 | ····.line·145 | 1073 | ····.line·145 |
1069 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; | 1074 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/MoreKeysKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; |
1070 | ····.line·146 | 1075 | ····.line·146 |
1071 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; | 1076 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/MoreKeysKeyboardAccessibilityDelegate; |
1072 | ····if-eqz·v0,·:cond_0 | 1077 | ····if-eqz·v0,·:cond_0 |
1078 | ····.line·147 | ||
1073 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 1079 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
1074 | ····move-result-object·v7 | 1080 | ····move-result-object·v7 |
1075 | ····invoke-virtual·{v7},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isAccessibilityEnabled()Z | 1081 | ····invoke-virtual·{v7},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isAccessibilityEnabled()Z |
1076 | ····move-result·v7 | 1082 | ····move-result·v7 |
Offset 247, 527 lines modified | Offset 247, 526 lines modified | ||
247 | ····.line·249 | 247 | ····.line·249 |
248 | ····.local·v5,·"defaultWidth":I | 248 | ····.local·v5,·"defaultWidth":I |
249 | ····move-object/from16·v0,·p0 | 249 | ····move-object/from16·v0,·p0 |
250 | ····iget-object·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mSortedKeys:Ljava/util/List; | 250 | ····iget-object·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mSortedKeys:Ljava/util/List; |
251 |
····move-object/from16·v3 |
251 | ····move-object/from16·v34,·v0 |
252 |
····invoke-interface/range·{v3 |
252 | ····invoke-interface/range·{v34·..·v34},·Ljava/util/List;->size()I |
253 |
····move-result·v1 |
253 | ····move-result·v14 |
254 | ····.line·250 | 254 | ····.line·250 |
255 |
····.local·v1 |
255 | ····.local·v14,·"keyCount":I |
256 | ····move-object/from16·v0,·p0 | 256 | ····move-object/from16·v0,·p0 |
257 | ····iget-object·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mGridNeighbors:[Ljava/util/List; | 257 | ····iget-object·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mGridNeighbors:[Ljava/util/List; |
258 |
····move-object/from16·v3 |
258 | ····move-object/from16·v34,·v0 |
259 |
····move-object/from16·v0,·v3 |
259 | ····move-object/from16·v0,·v34 |
260 | ····array-length·v6,·v0 | 260 | ····array-length·v6,·v0 |
261 | ····.line·251 | 261 | ····.line·251 |
262 | ····.local·v6,·"gridSize":I | 262 | ····.local·v6,·"gridSize":I |
263 | ····int-to-float·v0,·v5 | 263 | ····int-to-float·v0,·v5 |
264 |
····move/from16·v3 |
264 | ····move/from16·v34,·v0 |
265 |
····const·v3 |
265 | ····const·v35,·0x3f99999a····#·1.2f |
266 |
····mul-float·v3 |
266 | ····mul-float·v34,·v34,·v35 |
267 |
····move/from16·v0,·v3 |
267 | ····move/from16·v0,·v34 |
268 | ····float-to-int·v0,·v0 | 268 | ····float-to-int·v0,·v0 |
269 |
····move/from16·v2 |
269 | ····move/from16·v23,·v0 |
270 | ····.line·252 | 270 | ····.line·252 |
271 |
····.local·v2 |
271 | ····.local·v23,·"threshold":I |
272 |
····mul-int·v2 |
272 | ····mul-int·v24,·v23,·v23 |
273 | ····.line·254 | 273 | ····.line·254 |
274 |
····.local·v2 |
274 | ····.local·v24,·"thresholdSquared":I |
275 | ····move-object/from16·v0,·p0 | 275 | ····move-object/from16·v0,·p0 |
276 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mGridWidth:I | 276 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mGridWidth:I |
277 |
····move/from16·v3 |
277 | ····move/from16·v34,·v0 |
278 | ····move-object/from16·v0,·p0 | 278 | ····move-object/from16·v0,·p0 |
279 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mCellWidth:I | 279 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mCellWidth:I |
280 |
····move/from16·v3 |
280 | ····move/from16·v35,·v0 |
281 |
····mul-int·v3 |
281 | ····mul-int·v34,·v34,·v35 |
282 |
····add-int/lit8·v1 |
282 | ····add-int/lit8·v17,·v34,·-0x1 |
283 | ····.line·255 | 283 | ····.line·255 |
284 |
····.local·v1 |
284 | ····.local·v17,·"lastPixelXCoordinate":I |
285 | ····move-object/from16·v0,·p0 | 285 | ····move-object/from16·v0,·p0 |
286 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mGridHeight:I | 286 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mGridHeight:I |
287 |
····move/from16·v3 |
287 | ····move/from16·v34,·v0 |
288 | ····move-object/from16·v0,·p0 | 288 | ····move-object/from16·v0,·p0 |
289 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mCellHeight:I | 289 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/ProximityInfo;->mCellHeight:I |
290 |
····move/from16·v3 |
290 | ····move/from16·v35,·v0 |
291 |
····mul-int·v3 |
291 | ····mul-int·v34,·v34,·v35 |
292 |
····add-int/lit8·v1 |
292 | ····add-int/lit8·v18,·v34,·-0x1 |
293 | ····.line·264 | 293 | ····.line·264 |
294 |
····.local·v1 |
294 | ····.local·v18,·"lastPixelYCoordinate":I |
295 |
····mul-int·v3 |
295 | ····mul-int·v34,·v6,·v14 |
296 |
····move/from16·v0,·v3 |
296 | ····move/from16·v0,·v34 |
297 | ····new-array·v0,·v0,·[Lcom/android/inputmethod/keyboard/Key; | 297 | ····new-array·v0,·v0,·[Lcom/android/inputmethod/keyboard/Key; |
298 |
····move-object/from16·v2 |
298 | ····move-object/from16·v22,·v0 |
299 | ····.line·265 | 299 | ····.line·265 |
300 |
····.local·v2 |
300 | ····.local·v22,·"neighborsFlatBuffer":[Lcom/android/inputmethod/keyboard/Key; |
301 | ····new-array·v0,·v6,·[I | 301 | ····new-array·v0,·v6,·[I |
302 |
····move-object/from16·v2 |
302 | ····move-object/from16·v20,·v0 |
303 | ····.line·266 | 303 | ····.line·266 |
304 |
····.local·v2 |
304 | ····.local·v20,·"neighborCountPerCell":[I |
Max diff block lines reached; 21957/25165 bytes (87.25%) of diff not shown. |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/inputmethod/keyboard/TextDecorator; | 21 | .field·final·synthetic·this$0:Lcom/android/inputmethod/keyboard/TextDecorator; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/TextDecorator;)V | 23 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/TextDecorator;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/TextDecorator; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·90 | 27 | ····.line·90 |
27 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/TextDecorator$1;->this$0:Lcom/android/inputmethod/keyboard/TextDecorator; | 28 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/TextDecorator$1;->this$0:Lcom/android/inputmethod/keyboard/TextDecorator; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 777, 14 lines modified | Offset 777, 15 lines modified | ||
777 | ····.line·908 | 777 | ····.line·908 |
778 | ····:cond_0 | 778 | ····:cond_0 |
779 | ····sget-boolean·v0,·Lcom/android/inputmethod/keyboard/PointerTracker;->sNeedsPhantomSuddenMoveEventHack:Z | 779 | ····sget-boolean·v0,·Lcom/android/inputmethod/keyboard/PointerTracker;->sNeedsPhantomSuddenMoveEventHack:Z |
780 | ····if-eqz·v0,·:cond_1 | 780 | ····if-eqz·v0,·:cond_1 |
781 | ····.line·909 | ||
781 | ····invoke-static·{p2,·p3,·p7,·p8},·Lcom/android/inputmethod/keyboard/PointerTracker;->getDistance(IIII)I | 782 | ····invoke-static·{p2,·p3,·p7,·p8},·Lcom/android/inputmethod/keyboard/PointerTracker;->getDistance(IIII)I |
782 | ····move-result·v0 | 783 | ····move-result·v0 |
783 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/PointerTracker;->mPhantomSuddenMoveThreshold:I | 784 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/PointerTracker;->mPhantomSuddenMoveThreshold:I |
784 | ····if-lt·v0,·v1,·:cond_1 | 785 | ····if-lt·v0,·v1,·:cond_1 |
Offset 802, 14 lines modified | Offset 803, 15 lines modified | ||
802 | ····move-result·v0 | 803 | ····move-result·v0 |
803 | ····if-eqz·v0,·:cond_2 | 804 | ····if-eqz·v0,·:cond_2 |
804 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/PointerTracker;->mBogusMoveEventDetector:Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector; | 805 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/PointerTracker;->mBogusMoveEventDetector:Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector; |
806 | ····.line·916 | ||
805 | ····invoke-virtual·{v0,·p2,·p3},·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->isCloseToActualDownEvent(II)Z | 807 | ····invoke-virtual·{v0,·p2,·p3},·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->isCloseToActualDownEvent(II)Z |
806 | ····move-result·v0 | 808 | ····move-result·v0 |
807 | ····if-eqz·v0,·:cond_2 | 809 | ····if-eqz·v0,·:cond_2 |
808 | ····.line·917 | 810 | ····.line·917 |
Offset 823, 14 lines modified | Offset 825, 15 lines modified | ||
823 | ····move-result·v0 | 825 | ····move-result·v0 |
824 | ····if-le·v0,·v2,·:cond_4 | 826 | ····if-le·v0,·v2,·:cond_4 |
825 | ····sget-object·v0,·Lcom/android/inputmethod/keyboard/PointerTracker;->sPointerTrackerQueue:Lcom/android/inputmethod/keyboard/internal/PointerTrackerQueue; | 827 | ····sget-object·v0,·Lcom/android/inputmethod/keyboard/PointerTracker;->sPointerTrackerQueue:Lcom/android/inputmethod/keyboard/internal/PointerTrackerQueue; |
828 | ····.line·924 | ||
826 | ····invoke-virtual·{v0,·p0},·Lcom/android/inputmethod/keyboard/internal/PointerTrackerQueue;->hasModifierKeyOlderThan(Lcom/android/inputmethod/keyboard/internal/PointerTrackerQueue$Element;)Z | 829 | ····invoke-virtual·{v0,·p0},·Lcom/android/inputmethod/keyboard/internal/PointerTrackerQueue;->hasModifierKeyOlderThan(Lcom/android/inputmethod/keyboard/internal/PointerTrackerQueue$Element;)Z |
827 | ····move-result·v0 | 830 | ····move-result·v0 |
828 | ····if-nez·v0,·:cond_4 | 831 | ····if-nez·v0,·:cond_4 |
829 | ····.line·925 | 832 | ····.line·925 |
Offset 845, 20 lines modified | Offset 848, 22 lines modified | ||
845 | ····new-array·v2,·v2,·[Ljava/lang/Object; | 848 | ····new-array·v2,·v2,·[Ljava/lang/Object; |
846 | ····const/4·v3,·0x0 | 849 | ····const/4·v3,·0x0 |
847 | ····iget·v4,·p0,·Lcom/android/inputmethod/keyboard/PointerTracker;->mPointerId:I | 850 | ····iget·v4,·p0,·Lcom/android/inputmethod/keyboard/PointerTracker;->mPointerId:I |
851 | ····.line·927 | ||
848 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 852 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
849 | ····move-result-object·v4 | 853 | ····move-result-object·v4 |
850 | ····aput-object·v4,·v2,·v3 | 854 | ····aput-object·v4,·v2,·v3 |
855 | ····.line·926 | ||
851 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 856 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
852 | ····move-result-object·v1 | 857 | ····move-result-object·v1 |
853 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 858 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
854 | ····.line·929 | 859 | ····.line·929 |
Offset 1104, 22 lines modified | Offset 1109, 25 lines modified | ||
1104 | ····.line·215 | 1109 | ····.line·215 |
1105 | ····.local·v0,·"res":Landroid/content/res/Resources; | 1110 | ····.local·v0,·"res":Landroid/content/res/Resources; |
1106 | ····const·v1,·0x7f0a0014 | 1111 | ····const·v1,·0x7f0a0014 |
1107 | ····sget-object·v2,·Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean; | 1112 | ····sget-object·v2,·Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean; |
1113 | ····.line·217 | ||
1108 | ····invoke-virtual·{v2},·Ljava/lang/Boolean;->toString()Ljava/lang/String; | 1114 | ····invoke-virtual·{v2},·Ljava/lang/Boolean;->toString()Ljava/lang/String; |
1109 | ····move-result-object·v2 | 1115 | ····move-result-object·v2 |
1116 | ····.line·216 | ||
1110 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/inputmethod/latin/utils/ResourceUtils;->getDeviceOverrideValue(Landroid/content/res/Resources;ILjava/lang/String;)Ljava/lang/String; | 1117 | ····invoke-static·{v0,·v1,·v2},·Lcom/android/inputmethod/latin/utils/ResourceUtils;->getDeviceOverrideValue(Landroid/content/res/Resources;ILjava/lang/String;)Ljava/lang/String; |
1111 | ····move-result-object·v1 | 1118 | ····move-result-object·v1 |
1119 | ····.line·215 | ||
1112 | ····invoke-static·{v1},·Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z | 1120 | ····invoke-static·{v1},·Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z |
1113 | ····move-result·v1 | 1121 | ····move-result·v1 |
1114 | ····sput-boolean·v1,·Lcom/android/inputmethod/keyboard/PointerTracker;->sNeedsPhantomSuddenMoveEventHack:Z | 1122 | ····sput-boolean·v1,·Lcom/android/inputmethod/keyboard/PointerTracker;->sNeedsPhantomSuddenMoveEventHack:Z |
1115 | ····.line·218 | 1123 | ····.line·218 |
Offset 1234, 28 lines modified | Offset 1242, 30 lines modified | ||
1234 | ····new-array·v10,·v10,·[Ljava/lang/Object; | 1242 | ····new-array·v10,·v10,·[Ljava/lang/Object; |
Max diff block lines reached; 29662/32535 bytes (91.17%) of diff not shown. |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$listener:Ljava/lang/Runnable; | 22 | .field·final·synthetic·val$listener:Ljava/lang/Runnable; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/TextDecoratorUi;Ljava/lang/Runnable;)V | 24 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/TextDecoratorUi;Ljava/lang/Runnable;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/TextDecoratorUi; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·179 | 28 | ····.line·179 |
28 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/TextDecoratorUi$1;->this$0:Lcom/android/inputmethod/keyboard/TextDecoratorUi; | 29 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/TextDecoratorUi$1;->this$0:Lcom/android/inputmethod/keyboard/TextDecoratorUi; |
29 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/TextDecoratorUi$1;->val$listener:Ljava/lang/Runnable; | 30 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/TextDecoratorUi$1;->val$listener:Ljava/lang/Runnable; |
Offset 64, 18 lines modified | Offset 64, 20 lines modified | ||
64 | ····.line·67 | 64 | ····.line·67 |
65 | ····.local·v2,·"hitAreaMarginInDP":I | 65 | ····.local·v2,·"hitAreaMarginInDP":I |
66 | ····const/4·v4,·0x1 | 66 | ····const/4·v4,·0x1 |
67 | ····int-to-float·v5,·v2 | 67 | ····int-to-float·v5,·v2 |
68 | ····.line·68 | ||
68 | ····invoke-virtual·{v3},·Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics; | 69 | ····invoke-virtual·{v3},·Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics; |
69 | ····move-result-object·v6 | 70 | ····move-result-object·v6 |
71 | ····.line·67 | ||
70 | ····invoke-static·{v4,·v5,·v6},·Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F | 72 | ····invoke-static·{v4,·v5,·v6},·Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F |
71 | ····move-result·v4 | 73 | ····move-result·v4 |
72 | ····iput·v4,·p0,·Lcom/android/inputmethod/keyboard/TextDecoratorUi;->mHitAreaMarginInPixels:F | 74 | ····iput·v4,·p0,·Lcom/android/inputmethod/keyboard/TextDecoratorUi;->mHitAreaMarginInPixels:F |
73 | ····.line·69 | 75 | ····.line·69 |
Offset 514, 26 lines modified | Offset 516, 29 lines modified | ||
514 | ····iget·v7,·v0,·Landroid/graphics/RectF;->top:F | 516 | ····iget·v7,·v0,·Landroid/graphics/RectF;->top:F |
515 | ····float-to-int·v7,·v7 | 517 | ····float-to-int·v7,·v7 |
516 | ····sub-int/2addr·v7,·v4 | 518 | ····sub-int/2addr·v7,·v4 |
519 | ····.line·166 | ||
517 | ····invoke-virtual·{v0},·Landroid/graphics/RectF;->width()F | 520 | ····invoke-virtual·{v0},·Landroid/graphics/RectF;->width()F |
518 | ····move-result·v8 | 521 | ····move-result·v8 |
519 | ····float-to-int·v8,·v8 | 522 | ····float-to-int·v8,·v8 |
523 | ····.line·167 | ||
520 | ····invoke-virtual·{v0},·Landroid/graphics/RectF;->height()F | 524 | ····invoke-virtual·{v0},·Landroid/graphics/RectF;->height()F |
521 | ····move-result·v9 | 525 | ····move-result·v9 |
522 | ····float-to-int·v9,·v9 | 526 | ····float-to-int·v9,·v9 |
527 | ····.line·164 | ||
523 | ····invoke-virtual·{v5,·v6,·v7,·v8,·v9},·Landroid/widget/PopupWindow;->update(IIII)V | 528 | ····invoke-virtual·{v5,·v6,·v7,·v8,·v9},·Landroid/widget/PopupWindow;->update(IIII)V |
524 | ····.line·175 | 529 | ····.line·175 |
525 | ····:goto_1 | 530 | ····:goto_1 |
526 | ····return-void | 531 | ····return-void |
527 | ····.end·local·v0····#·"hitAreaBoundsInScreenCoordinates":Landroid/graphics/RectF; | 532 | ····.end·local·v0····#·"hitAreaBoundsInScreenCoordinates":Landroid/graphics/RectF; |
Offset 191, 170 lines modified | Offset 191, 169 lines modified | ||
191 | ····:cond_0 | 191 | ····:cond_0 |
192 | ····const/4·v2,·0x0 | 192 | ····const/4·v2,·0x0 |
193 | ····goto·:goto_0 | 193 | ····goto·:goto_0 |
194 | .end·method | 194 | .end·method |
195 | .method·private·addKey(Lcom/android/inputmethod/keyboard/Key;Z)V | 195 | .method·private·addKey(Lcom/android/inputmethod/keyboard/Key;Z)V |
196 |
····.locals·1 |
196 | ····.locals·10 |
197 | ····.param·p1,·"usedKey"····#·Lcom/android/inputmethod/keyboard/Key; | 197 | ····.param·p1,·"usedKey"····#·Lcom/android/inputmethod/keyboard/Key; |
198 | ····.param·p2,·"addFirst"····#·Z | 198 | ····.param·p2,·"addFirst"····#·Z |
199 | ····.prologue | 199 | ····.prologue |
200 | ····.line·104 | 200 | ····.line·104 |
201 | ····if-nez·p1,·:cond_0 | 201 | ····if-nez·p1,·:cond_0 |
202 | ····.line·131 | 202 | ····.line·131 |
203 | ····:goto_0 | 203 | ····:goto_0 |
204 | ····return-void | 204 | ····return-void |
205 | ····.line·107 | 205 | ····.line·107 |
206 | ····:cond_0 | 206 | ····:cond_0 |
207 |
····iget-object·v |
207 | ····iget-object·v8,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mLock:Ljava/lang/Object; |
208 |
····monitor-enter·v |
208 | ····monitor-enter·v8 |
209 | ····.line·108 | 209 | ····.line·108 |
210 |
····const/4·v |
210 | ····const/4·v7,·0x0 |
211 | ····:try_start_0 | 211 | ····:try_start_0 |
212 |
····iput-object·v |
212 | ····iput-object·v7,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mCachedGridKeys:Ljava/util/List; |
213 | ····.line·109 | 213 | ····.line·109 |
214 |
····new-instance·v |
214 | ····new-instance·v2,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard$GridKey; |
215 |
····invoke-direct·{v |
215 | ····invoke-direct·{v2,·p1},·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard$GridKey;-><init>(Lcom/android/inputmethod/keyboard/Key;)V |
216 | ····.line·110 | 216 | ····.line·110 |
217 |
····.local·v |
217 | ····.local·v2,·"key":Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard$GridKey; |
218 | ····:cond_1 | 218 | ····:cond_1 |
219 |
····iget-object·v |
219 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mGridKeys:Ljava/util/ArrayDeque; |
220 |
····invoke-virtual·{v |
220 | ····invoke-virtual·{v7,·v2},·Ljava/util/ArrayDeque;->remove(Ljava/lang/Object;)Z |
221 |
····move-result·v |
221 | ····move-result·v7 |
222 |
····if-nez·v |
222 | ····if-nez·v7,·:cond_1 |
223 | ····.line·113 | 223 | ····.line·113 |
224 | ····if-eqz·p2,·:cond_2 | 224 | ····if-eqz·p2,·:cond_2 |
225 | ····.line·114 | 225 | ····.line·114 |
226 |
····iget-object·v |
226 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mGridKeys:Ljava/util/ArrayDeque; |
227 |
····invoke-virtual·{v |
227 | ····invoke-virtual·{v7,·v2},·Ljava/util/ArrayDeque;->addFirst(Ljava/lang/Object;)V |
228 | ····.line·118 | 228 | ····.line·118 |
229 | ····:goto_1 | 229 | ····:goto_1 |
230 |
····iget-object·v |
230 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mGridKeys:Ljava/util/ArrayDeque; |
231 |
····invoke-virtual·{v |
231 | ····invoke-virtual·{v7},·Ljava/util/ArrayDeque;->size()I |
232 |
····move-result·v |
232 | ····move-result·v7 |
233 |
····iget·v |
233 | ····iget·v9,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mMaxKeyCount:I |
234 |
····if-le·v |
234 | ····if-le·v7,·v9,·:cond_3 |
235 | ····.line·119 | 235 | ····.line·119 |
236 |
····iget-object·v |
236 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mGridKeys:Ljava/util/ArrayDeque; |
237 |
····invoke-virtual·{v |
237 | ····invoke-virtual·{v7},·Ljava/util/ArrayDeque;->removeLast()Ljava/lang/Object; |
238 | ····goto·:goto_1 | 238 | ····goto·:goto_1 |
239 | ····.line·130 | 239 | ····.line·130 |
240 |
····.end·local·v |
240 | ····.end·local·v2····#·"key":Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard$GridKey; |
241 | ····:catchall_0 | 241 | ····:catchall_0 |
242 |
····move-exception·v |
242 | ····move-exception·v7 |
243 |
····monitor-exit·v |
243 | ····monitor-exit·v8 |
244 | ····:try_end_0 | 244 | ····:try_end_0 |
245 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 245 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
246 |
····throw·v |
246 | ····throw·v7 |
247 | ····.line·116 | 247 | ····.line·116 |
248 |
····.restart·local·v |
248 | ····.restart·local·v2····#·"key":Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard$GridKey; |
249 | ····:cond_2 | 249 | ····:cond_2 |
250 | ····:try_start_1 | 250 | ····:try_start_1 |
251 |
····iget-object·v |
251 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->mGridKeys:Ljava/util/ArrayDeque; |
252 |
····invoke-virtual·{v |
252 | ····invoke-virtual·{v7,·v2},·Ljava/util/ArrayDeque;->addLast(Ljava/lang/Object;)V |
253 | ····goto·:goto_1 | 253 | ····goto·:goto_1 |
254 | ····.line·121 | 254 | ····.line·121 |
255 | ····:cond_3 | 255 | ····:cond_3 |
256 |
····const/4·v |
256 | ····const/4·v1,·0x0 |
Max diff block lines reached; 23227/28233 bytes (82.27%) of diff not shown. |
Offset 21, 14 lines modified | Offset 21, 15 lines modified | ||
21 | .field·final·synthetic·this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 21 | .field·final·synthetic·this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·public·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;II)V | 23 | .method·public·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;II)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | ||
25 | ····.param·p2,·"categoryId"····#·I | 26 | ····.param·p2,·"categoryId"····#·I |
26 | ····.param·p3,·"pageCount"····#·I | 27 | ····.param·p3,·"pageCount"····#·I |
27 | ····.prologue | 28 | ····.prologue |
28 | ····.line·59 | 29 | ····.line·59 |
29 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory$CategoryProperties;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 30 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory$CategoryProperties;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
Offset 376, 14 lines modified | Offset 376, 15 lines modified | ||
376 | ····const/4·v1,·0x4 | 376 | ····const/4·v1,·0x4 |
377 | ····invoke-direct·{p0,·v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->addShownCategoryId(I)V | 377 | ····invoke-direct·{p0,·v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->addShownCategoryId(I)V |
378 | ····.line·131 | 378 | ····.line·131 |
379 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mPrefs:Landroid/content/SharedPreferences; | 379 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mPrefs:Landroid/content/SharedPreferences; |
380 | ····.line·132 | ||
380 | ····invoke-static·{v1,·v5},·Lorg/smc/inputmethod/indic/settings/Settings;->readLastShownEmojiCategoryId(Landroid/content/SharedPreferences;I)I | 381 | ····invoke-static·{v1,·v5},·Lorg/smc/inputmethod/indic/settings/Settings;->readLastShownEmojiCategoryId(Landroid/content/SharedPreferences;I)I |
381 | ····move-result·v1 | 382 | ····move-result·v1 |
382 | ····iput·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mCurrentCategoryId:I | 383 | ····iput·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mCurrentCategoryId:I |
383 | ····.line·137 | 384 | ····.line·137 |
Offset 398, 27 lines modified | Offset 399, 29 lines modified | ||
398 | ····.line·139 | 399 | ····.line·139 |
399 | ····invoke-virtual·{p0,·v4,·v4},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getKeyboard(II)Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard; | 400 | ····invoke-virtual·{p0,·v4,·v4},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getKeyboard(II)Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard; |
400 | ····move-result-object·v1 | 401 | ····move-result-object·v1 |
401 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mCategoryKeyboardMap:Ljava/util/concurrent/ConcurrentHashMap; | 402 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mCategoryKeyboardMap:Ljava/util/concurrent/ConcurrentHashMap; |
403 | ····.line·140 | ||
402 | ····invoke-virtual·{v2},·Ljava/util/concurrent/ConcurrentHashMap;->values()Ljava/util/Collection; | 404 | ····invoke-virtual·{v2},·Ljava/util/concurrent/ConcurrentHashMap;->values()Ljava/util/Collection; |
403 | ····move-result-object·v2 | 405 | ····move-result-object·v2 |
404 | ····invoke-virtual·{v1,·v2},·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->loadRecentKeys(Ljava/util/Collection;)V | 406 | ····invoke-virtual·{v1,·v2},·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->loadRecentKeys(Ljava/util/Collection;)V |
405 | ····.line·141 | 407 | ····.line·141 |
406 | ····return-void | 408 | ····return-void |
407 | ····.line·134 | 409 | ····.line·134 |
408 | ····:cond_1 | 410 | ····:cond_1 |
409 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mPrefs:Landroid/content/SharedPreferences; | 411 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mPrefs:Landroid/content/SharedPreferences; |
412 | ····.line·135 | ||
410 | ····invoke-static·{v1,·v6},·Lorg/smc/inputmethod/indic/settings/Settings;->readLastShownEmojiCategoryId(Landroid/content/SharedPreferences;I)I | 413 | ····invoke-static·{v1,·v6},·Lorg/smc/inputmethod/indic/settings/Settings;->readLastShownEmojiCategoryId(Landroid/content/SharedPreferences;I)I |
411 | ····move-result·v1 | 414 | ····move-result·v1 |
412 | ····iput·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mCurrentCategoryId:I | 415 | ····iput·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mCurrentCategoryId:I |
413 | ····goto·:goto_1 | 416 | ····goto·:goto_1 |
Offset 433, 14 lines modified | Offset 436, 15 lines modified | ||
433 | ····const/4·v1,·0x0 | 436 | ····const/4·v1,·0x0 |
434 | ····invoke-virtual·{p0,·p1,·v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getKeyboard(II)Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard; | 437 | ····invoke-virtual·{p0,·p1,·v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getKeyboard(II)Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard; |
435 | ····.line·146 | 438 | ····.line·146 |
436 | ····new-instance·v0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory$CategoryProperties; | 439 | ····new-instance·v0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory$CategoryProperties; |
440 | ····.line·147 | ||
437 | ····invoke-direct·{p0,·p1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCategoryPageCount(I)I | 441 | ····invoke-direct·{p0,·p1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCategoryPageCount(I)I |
438 | ····move-result·v1 | 442 | ····move-result·v1 |
439 | ····invoke-direct·{v0,·p0,·p1,·v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory$CategoryProperties;-><init>(Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;II)V | 443 | ····invoke-direct·{v0,·p0,·p1,·v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory$CategoryProperties;-><init>(Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;II)V |
440 | ····.line·148 | 444 | ····.line·148 |
Offset 654, 91 lines modified | Offset 658, 90 lines modified | ||
654 | ····move-result·v1 | 658 | ····move-result·v1 |
655 | ····return·v1 | 659 | ····return·v1 |
656 | .end·method | 660 | .end·method |
657 | .method·public·getCategoryIdAndPageIdFromPagePosition(I)Landroid/util/Pair; | 661 | .method·public·getCategoryIdAndPageIdFromPagePosition(I)Landroid/util/Pair; |
658 |
····.locals· |
662 | ····.locals·6 |
659 | ····.param·p1,·"position"····#·I | 663 | ····.param·p1,·"position"····#·I |
660 | ····.annotation·system·Ldalvik/annotation/Signature; | 664 | ····.annotation·system·Ldalvik/annotation/Signature; |
661 | ········value·=·{ | 665 | ········value·=·{ |
662 | ············"(I)", | 666 | ············"(I)", |
663 | ············"Landroid/util/Pair", | 667 | ············"Landroid/util/Pair", |
664 | ············"<", | 668 | ············"<", |
665 | ············"Ljava/lang/Integer;", | 669 | ············"Ljava/lang/Integer;", |
666 | ············"Ljava/lang/Integer;", | 670 | ············"Ljava/lang/Integer;", |
667 | ············">;" | 671 | ············">;" |
668 | ········} | 672 | ········} |
669 | ····.end·annotation | 673 | ····.end·annotation |
670 | ····.prologue | 674 | ····.prologue |
671 | ····.line·253 | 675 | ····.line·253 |
672 |
····const/4·v |
676 | ····const/4·v1,·0x0 |
673 | ····.line·254 | 677 | ····.line·254 |
674 |
····.local·v |
678 | ····.local·v1,·"sum":I |
675 |
····iget-object·v |
679 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->mShownCategories:Ljava/util/ArrayList; |
676 |
····invoke-virtual·{v |
680 | ····invoke-virtual·{v3},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
677 |
····move-result-object·v |
681 | ····move-result-object·v3 |
678 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
679 | ····:cond_0 | 682 | ····:cond_0 |
680 |
····invoke-interface·{v |
683 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
681 | ····move-result·v4 | 684 | ····move-result·v4 |
Max diff block lines reached; 23907/27597 bytes (86.63%) of diff not shown. |
Offset 91, 14 lines modified | Offset 91, 15 lines modified | ||
91 | ····float-to-int·v3,·v3 | 91 | ····float-to-int·v3,·v3 |
92 | ····iput·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiLayoutParams;->mKeyHorizontalGap:I | 92 | ····iput·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiLayoutParams;->mKeyHorizontalGap:I |
93 | ····.line·51 | 93 | ····.line·51 |
94 | ····const·v3,·0x7f08002c | 94 | ····const·v3,·0x7f08002c |
95 | ····.line·52 | ||
95 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getDimension(I)F | 96 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getDimension(I)F |
96 | ····move-result·v3 | 97 | ····move-result·v3 |
97 | ····float-to-int·v3,·v3 | 98 | ····float-to-int·v3,·v3 |
98 | ····iput·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiLayoutParams;->mEmojiCategoryPageIdViewHeight:I | 99 | ····iput·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiLayoutParams;->mEmojiCategoryPageIdViewHeight:I |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$key:Lcom/android/inputmethod/keyboard/Key; | 22 | .field·final·synthetic·val$key:Lcom/android/inputmethod/keyboard/Key; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;Lcom/android/inputmethod/keyboard/Key;)V | 24 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;Lcom/android/inputmethod/keyboard/Key;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·166 | 28 | ····.line·166 |
28 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$2;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; | 29 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$2;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; |
29 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$2;->val$key:Lcom/android/inputmethod/keyboard/Key; | 30 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$2;->val$key:Lcom/android/inputmethod/keyboard/Key; |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$key:Lcom/android/inputmethod/keyboard/Key; | 22 | .field·final·synthetic·val$key:Lcom/android/inputmethod/keyboard/Key; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;Lcom/android/inputmethod/keyboard/Key;)V | 24 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;Lcom/android/inputmethod/keyboard/Key;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·196 | 28 | ····.line·196 |
28 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$3;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; | 29 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$3;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; |
29 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$3;->val$key:Lcom/android/inputmethod/keyboard/Key; | 30 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView$3;->val$key:Lcom/android/inputmethod/keyboard/Key; |
Offset 268, 14 lines modified | Offset 268, 15 lines modified | ||
268 | ····.line·106 | 268 | ····.line·106 |
269 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityDelegate; | 269 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;->mAccessibilityDelegate:Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityDelegate; |
270 | ····.line·108 | 270 | ····.line·108 |
271 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityDelegate;,·"Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityDelegate<Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;>;" | 271 | ····.local·v0,·"accessibilityDelegate":Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityDelegate;,·"Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityDelegate<Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView;>;" |
272 | ····if-eqz·v0,·:cond_0 | 272 | ····if-eqz·v0,·:cond_0 |
273 | ····.line·109 | ||
273 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 274 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
274 | ····move-result-object·v1 | 275 | ····move-result-object·v1 |
275 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z | 276 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z |
276 | ····move-result·v1 | 277 | ····move-result·v1 |
Offset 120, 14 lines modified | Offset 120, 15 lines modified | ||
120 | ····invoke-virtual·{v1,·p1},·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->addKeyFirst(Lcom/android/inputmethod/keyboard/Key;)V | 120 | ····invoke-virtual·{v1,·p1},·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->addKeyFirst(Lcom/android/inputmethod/keyboard/Key;)V |
121 | ····.line·64 | 121 | ····.line·64 |
122 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActiveKeyboardViews:Landroid/util/SparseArray; | 122 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActiveKeyboardViews:Landroid/util/SparseArray; |
123 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 123 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
124 | ····.line·65 | ||
124 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getRecentTabId()I | 125 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getRecentTabId()I |
125 | ····move-result·v2 | 126 | ····move-result·v2 |
126 | ····invoke-virtual·{v1,·v2},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; | 127 | ····invoke-virtual·{v1,·v2},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; |
127 | ····move-result-object·v0 | 128 | ····move-result-object·v0 |
Offset 226, 14 lines modified | Offset 227, 15 lines modified | ||
226 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->flushPendingRecentKeys()V | 227 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard;->flushPendingRecentKeys()V |
227 | ····.line·51 | 228 | ····.line·51 |
228 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActiveKeyboardViews:Landroid/util/SparseArray; | 229 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActiveKeyboardViews:Landroid/util/SparseArray; |
229 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 230 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
231 | ····.line·52 | ||
230 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getRecentTabId()I | 232 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getRecentTabId()I |
231 | ····move-result·v2 | 233 | ····move-result·v2 |
232 | ····invoke-virtual·{v1,·v2},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; | 234 | ····invoke-virtual·{v1,·v2},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; |
233 | ····move-result-object·v0 | 235 | ····move-result-object·v0 |
Offset 293, 14 lines modified | Offset 295, 15 lines modified | ||
293 | ····invoke-virtual·{v4,·p2},·Landroid/util/SparseArray;->remove(I)V | 295 | ····invoke-virtual·{v4,·p2},·Landroid/util/SparseArray;->remove(I)V |
294 | ····.line·116 | 296 | ····.line·116 |
295 | ····:cond_0 | 297 | ····:cond_0 |
296 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 298 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
299 | ····.line·117 | ||
297 | ····invoke-virtual·{v4,·p2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getKeyboardFromPagePosition(I)Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard; | 300 | ····invoke-virtual·{v4,·p2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getKeyboardFromPagePosition(I)Lcom/android/inputmethod/keyboard/emoji/DynamicGridKeyboard; |
298 | ····move-result-object·v1 | 301 | ····move-result-object·v1 |
299 | ····.line·118 | 302 | ····.line·118 |
300 | ····.local·v1,·"keyboard":Lcom/android/inputmethod/keyboard/Keyboard; | 303 | ····.local·v1,·"keyboard":Lcom/android/inputmethod/keyboard/Keyboard; |
301 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; | 304 | ····invoke-virtual·{p1},·Landroid/view/ViewGroup;->getContext()Landroid/content/Context; |
Offset 383, 14 lines modified | Offset 386, 15 lines modified | ||
383 | ····.prologue | 386 | ····.prologue |
384 | ····.line·78 | 387 | ····.line·78 |
385 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActiveKeyboardViews:Landroid/util/SparseArray; | 388 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActiveKeyboardViews:Landroid/util/SparseArray; |
386 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActivePosition:I | 389 | ····iget·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesAdapter;->mActivePosition:I |
390 | ····.line·79 | ||
387 | ····invoke-virtual·{v1,·v2},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; | 391 | ····invoke-virtual·{v1,·v2},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; |
388 | ····move-result-object·v0 | 392 | ····move-result-object·v0 |
389 | ····check-cast·v0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; | 393 | ····check-cast·v0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPageKeyboardView; |
390 | ····.line·80 | 394 | ····.line·80 |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener; | 18 | .field·final·synthetic·this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener;JJ)V | 20 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener;JJ)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener; | ||
22 | ····.param·p2,·"x0"····#·J | 23 | ····.param·p2,·"x0"····#·J |
23 | ····.param·p4,·"x1"····#·J | 24 | ····.param·p4,·"x1"····#·J |
24 | ····.prologue | 25 | ····.prologue |
25 | ····.line·448 | 26 | ····.line·448 |
26 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener$1;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener; | 27 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener$1;->this$0:Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView$DeleteKeyOnTouchListener; |
Offset 391, 26 lines modified | Offset 391, 29 lines modified | ||
391 | ····.local·v0,·"newCategoryPageId":I | 391 | ····.local·v0,·"newCategoryPageId":I |
392 | ····if-nez·p2,·:cond_3 | 392 | ····if-nez·p2,·:cond_3 |
393 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 393 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
394 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiPager:Landroid/support/v4/view/ViewPager; | 394 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiPager:Landroid/support/v4/view/ViewPager; |
395 | ····.line·431 | ||
395 | ····invoke-virtual·{v4},·Landroid/support/v4/view/ViewPager;->getCurrentItem()I | 396 | ····invoke-virtual·{v4},·Landroid/support/v4/view/ViewPager;->getCurrentItem()I |
396 | ····move-result·v4 | 397 | ····move-result·v4 |
398 | ····.line·430 | ||
397 | ····invoke-virtual·{v3,·v4},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCategoryIdAndPageIdFromPagePosition(I)Landroid/util/Pair; | 399 | ····invoke-virtual·{v3,·v4},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCategoryIdAndPageIdFromPagePosition(I)Landroid/util/Pair; |
398 | ····move-result-object·v3 | 400 | ····move-result-object·v3 |
399 | ····iget-object·v3,·v3,·Landroid/util/Pair;->first:Ljava/lang/Object; | 401 | ····iget-object·v3,·v3,·Landroid/util/Pair;->first:Ljava/lang/Object; |
400 | ····check-cast·v3,·Ljava/lang/Integer; | 402 | ····check-cast·v3,·Ljava/lang/Integer; |
403 | ····.line·431 | ||
401 | ····invoke-virtual·{v3},·Ljava/lang/Integer;->intValue()I | 404 | ····invoke-virtual·{v3},·Ljava/lang/Integer;->intValue()I |
402 | ····move-result·v3 | 405 | ····move-result·v3 |
403 | ····if-eq·v3,·p1,·:cond_4 | 406 | ····if-eq·v3,·p1,·:cond_4 |
404 | ····.line·432 | 407 | ····.line·432 |
Offset 490, 26 lines modified | Offset 493, 29 lines modified | ||
490 | ····.line·409 | 493 | ····.line·409 |
491 | ····:cond_0 | 494 | ····:cond_0 |
492 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategoryPageIndicatorView:Lcom/android/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView; | 495 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategoryPageIndicatorView:Lcom/android/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView; |
493 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 496 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
497 | ····.line·410 | ||
494 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCurrentCategoryPageSize()I | 498 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCurrentCategoryPageSize()I |
495 | ····move-result·v1 | 499 | ····move-result·v1 |
496 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; | 500 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
501 | ····.line·411 | ||
497 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCurrentCategoryPageId()I | 502 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getCurrentCategoryPageId()I |
498 | ····move-result·v2 | 503 | ····move-result·v2 |
499 | ····const/4·v3,·0x0 | 504 | ····const/4·v3,·0x0 |
505 | ····.line·409 | ||
500 | ····invoke-virtual·{v0,·v1,·v2,·v3},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView;->setCategoryPageId(IIF)V | 506 | ····invoke-virtual·{v0,·v1,·v2,·v3},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategoryPageIndicatorView;->setCategoryPageId(IIF)V |
501 | ····goto·:goto_0 | 507 | ····goto·:goto_0 |
502 | .end·method | 508 | .end·method |
503 | #·virtual·methods | 509 | #·virtual·methods |
Offset 575, 374 lines modified | Offset 581, 374 lines modified | ||
575 | ····goto·:goto_0 | 581 | ····goto·:goto_0 |
576 | .end·method | 582 | .end·method |
577 | .method·protected·onFinishInflate()V | 583 | .method·protected·onFinishInflate()V |
578 | ····.locals·8 | 584 | ····.locals·8 |
579 | ····.prologue | 585 | ····.prologue |
580 |
····const/4·v |
586 | ····const/4·v7,·0x0 |
581 |
····const/16·v |
587 | ····const/16·v6,·-0xe |
582 | ····.line·166 | 588 | ····.line·166 |
583 |
····const·v |
589 | ····const·v3,·0x7f100068 |
584 |
····invoke-virtual·{p0,·v |
590 | ····invoke-virtual·{p0,·v3},·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->findViewById(I)Landroid/view/View; |
585 |
····move-result-object·v |
591 | ····move-result-object·v3 |
586 |
····check-cast·v |
592 | ····check-cast·v3,·Landroid/widget/TabHost; |
587 |
····iput-object·v |
593 | ····iput-object·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mTabHost:Landroid/widget/TabHost; |
588 | ····.line·167 | 594 | ····.line·167 |
589 |
····iget-object·v |
595 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mTabHost:Landroid/widget/TabHost; |
590 |
····invoke-virtual·{v |
596 | ····invoke-virtual·{v3},·Landroid/widget/TabHost;->setup()V |
591 | ····.line·169 | 597 | ····.line·169 |
592 |
····iget-object·v |
598 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/emoji/EmojiPalettesView;->mEmojiCategory:Lcom/android/inputmethod/keyboard/emoji/EmojiCategory; |
593 |
····invoke-virtual·{v |
599 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/emoji/EmojiCategory;->getShownCategories()Ljava/util/ArrayList; |
594 |
····move-result-object·v |
600 | ····move-result-object·v3 |
595 |
····invoke-virtual·{v |
601 | ····invoke-virtual·{v3},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
596 |
····move-result-object·v |
602 | ····move-result-object·v3 |
597 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
Max diff block lines reached; 31801/36048 bytes (88.22%) of diff not shown. |
Offset 129, 18 lines modified | Offset 129, 20 lines modified | ||
129 | ····move-result·v0 | 129 | ····move-result·v0 |
130 | ····.line·96 | 130 | ····.line·96 |
131 | ····.local·v0,·"beforeLength":I | 131 | ····.local·v0,·"beforeLength":I |
132 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->mRecognitionPoints:Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints; | 132 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->mRecognitionPoints:Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints; |
133 | ····.line·97 | ||
133 | ····invoke-virtual·{p0,·p3,·p4},·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->getElapsedTimeSinceFirstDown(J)I | 134 | ····invoke-virtual·{p0,·p3,·p4},·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->getElapsedTimeSinceFirstDown(J)I |
134 | ····move-result·v3 | 135 | ····move-result·v3 |
136 | ····.line·96 | ||
135 | ····invoke-virtual·{v2,·p1,·p2,·v3,·p5},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->addEventPoint(IIIZ)Z | 137 | ····invoke-virtual·{v2,·p1,·p2,·v3,·p5},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->addEventPoint(IIIZ)Z |
136 | ····move-result·v1 | 138 | ····move-result·v1 |
137 | ····.line·98 | 139 | ····.line·98 |
138 | ····.local·v1,·"onValidArea":Z | 140 | ····.local·v1,·"onValidArea":Z |
139 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->mRecognitionPoints:Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints; | 141 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->mRecognitionPoints:Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints; |
Offset 396, 18 lines modified | Offset 398, 20 lines modified | ||
396 | ····.param·p1,·"syntheticMoveEventTime"····#·J | 398 | ····.param·p1,·"syntheticMoveEventTime"····#·J |
397 | ····.param·p3,·"listener"····#·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter$BatchInputArbiterListener; | 399 | ····.param·p3,·"listener"····#·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter$BatchInputArbiterListener; |
398 | ····.prologue | 400 | ····.prologue |
399 | ····.line·132 | 401 | ····.line·132 |
400 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->mRecognitionPoints:Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints; | 402 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->mRecognitionPoints:Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints; |
403 | ····.line·133 | ||
401 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->getElapsedTimeSinceFirstDown(J)I | 404 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->getElapsedTimeSinceFirstDown(J)I |
402 | ····move-result·v1 | 405 | ····move-result·v1 |
406 | ····.line·132 | ||
403 | ····invoke-virtual·{v0,·v1},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->duplicateLastPointWith(I)V | 407 | ····invoke-virtual·{v0,·v1},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->duplicateLastPointWith(I)V |
404 | ····.line·134 | 408 | ····.line·134 |
405 | ····invoke-virtual·{p0,·p1,·p2,·p3},·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->updateBatchInput(JLcom/android/inputmethod/keyboard/internal/BatchInputArbiter$BatchInputArbiterListener;)V | 409 | ····invoke-virtual·{p0,·p1,·p2,·p3},·Lcom/android/inputmethod/keyboard/internal/BatchInputArbiter;->updateBatchInput(JLcom/android/inputmethod/keyboard/internal/BatchInputArbiter$BatchInputArbiterListener;)V |
406 | ····.line·135 | 410 | ····.line·135 |
407 | ····return-void | 411 | ····return-void |
Offset 274, 27 lines modified | Offset 274, 30 lines modified | ||
274 | ····.prologue | 274 | ····.prologue |
275 | ····.line·112 | 275 | ····.line·112 |
276 | ····sget-boolean·v0,·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->sNeedsProximateBogusDownMoveUpEventHack:Z | 276 | ····sget-boolean·v0,·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->sNeedsProximateBogusDownMoveUpEventHack:Z |
277 | ····if-eqz·v0,·:cond_0 | 277 | ····if-eqz·v0,·:cond_0 |
278 | ····.line·113 | ||
278 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->getDistanceFromDownEvent(II)I | 279 | ····invoke-virtual·{p0,·p1,·p2},·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->getDistanceFromDownEvent(II)I |
279 | ····move-result·v0 | 280 | ····move-result·v0 |
280 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->mRadiusThreshold:I | 281 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/BogusMoveEventDetector;->mRadiusThreshold:I |
281 | ····if-ge·v0,·v1,·:cond_0 | 282 | ····if-ge·v0,·v1,·:cond_0 |
282 | ····const/4·v0,·0x1 | 283 | ····const/4·v0,·0x1 |
284 | ····.line·112 | ||
283 | ····:goto_0 | 285 | ····:goto_0 |
284 | ····return·v0 | 286 | ····return·v0 |
287 | ····.line·113 | ||
285 | ····:cond_0 | 288 | ····:cond_0 |
286 | ····const/4·v0,·0x0 | 289 | ····const/4·v0,·0x0 |
287 | ····goto·:goto_0 | 290 | ····goto·:goto_0 |
288 | .end·method | 291 | .end·method |
289 | .method·public·onActualDownEvent(II)V | 292 | .method·public·onActualDownEvent(II)V |
Offset 241, 143 lines modified | Offset 241, 137 lines modified | ||
241 | ····.locals·8 | 241 | ····.locals·8 |
242 | ····.param·p0,·"codesArraySpec"····#·Ljava/lang/String; | 242 | ····.param·p0,·"codesArraySpec"····#·Ljava/lang/String; |
243 | ····.prologue | 243 | ····.prologue |
244 | ····.line·58 | 244 | ····.line·58 |
245 | ····invoke-static·{p0},·Lcom/android/inputmethod/keyboard/internal/CodesArrayParser;->getLabelSpec(Ljava/lang/String;)Ljava/lang/String; | 245 | ····invoke-static·{p0},·Lcom/android/inputmethod/keyboard/internal/CodesArrayParser;->getLabelSpec(Ljava/lang/String;)Ljava/lang/String; |
246 |
····move-result-object·v |
246 | ····move-result-object·v2 |
247 | ····.line·59 | 247 | ····.line·59 |
248 |
····.local·v |
248 | ····.local·v2,·"labelSpec":Ljava/lang/String; |
249 |
····new-instance·v |
249 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
250 |
····invoke-direct·{v |
250 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
251 | ····.line·60 | 251 | ····.line·60 |
252 |
····.local·v |
252 | ····.local·v3,·"sb":Ljava/lang/StringBuilder; |
253 |
····sget-object·v |
253 | ····sget-object·v4,·Lcom/android/inputmethod/keyboard/internal/CodesArrayParser;->COMMA_REGEX:Ljava/lang/String; |
254 |
····invoke-virtual·{v |
254 | ····invoke-virtual·{v2,·v4},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; |
255 |
····move-result-object·v |
255 | ····move-result-object·v5 |
256 |
|
256 | ····array-length·v6,·v5 |
257 | ····array-length·v5,·v0 | ||
258 |
···· |
257 | ····const/4·v4,·0x0 |
259 | ····const/4·v3,·0x0 | ||
260 | ····.local·v3,·"i$":I | ||
261 | ····:goto_0 | 258 | ····:goto_0 |
262 |
····if-ge·v |
259 | ····if-ge·v4,·v6,·:cond_0 |
263 |
····aget-object·v |
260 | ····aget-object·v0,·v5,·v4 |
264 | ····.line·61 | 261 | ····.line·61 |
265 |
····.local·v |
262 | ····.local·v0,·"codeInHex":Ljava/lang/String; |
266 | ····const/16·v7,·0x10 | 263 | ····const/16·v7,·0x10 |
267 |
····invoke-static·{v |
264 | ····invoke-static·{v0,·v7},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;I)I |
268 |
····move-result·v |
265 | ····move-result·v1 |
269 | ····.line·62 | 266 | ····.line·62 |
270 |
····.local·v |
267 | ····.local·v1,·"codePoint":I |
271 |
····invoke-virtual·{v |
268 | ····invoke-virtual·{v3,·v1},·Ljava/lang/StringBuilder;->appendCodePoint(I)Ljava/lang/StringBuilder; |
272 | ····.line·60 | 269 | ····.line·60 |
273 |
····add-int/lit8·v |
270 | ····add-int/lit8·v4,·v4,·0x1 |
274 | ····goto·:goto_0 | 271 | ····goto·:goto_0 |
275 | ····.line·64 | 272 | ····.line·64 |
276 |
····.end·local·v |
273 | ····.end·local·v0····#·"codeInHex":Ljava/lang/String; |
277 |
····.end·local·v |
274 | ····.end·local·v1····#·"codePoint":I |
278 | ····:cond_0 | 275 | ····:cond_0 |
279 |
····invoke-virtual·{v |
276 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
280 |
····move-result-object·v |
277 | ····move-result-object·v4 |
281 |
····return-object·v |
278 | ····return-object·v4 |
282 | .end·method | 279 | .end·method |
283 | .method·public·static·parseOutputText(Ljava/lang/String;)Ljava/lang/String; | 280 | .method·public·static·parseOutputText(Ljava/lang/String;)Ljava/lang/String; |
284 | ····.locals·8 | 281 | ····.locals·8 |
285 | ····.param·p0,·"codesArraySpec"····#·Ljava/lang/String; | 282 | ····.param·p0,·"codesArraySpec"····#·Ljava/lang/String; |
286 | ····.prologue | 283 | ····.prologue |
287 | ····.line·96 | 284 | ····.line·96 |
288 | ····invoke-static·{p0},·Lcom/android/inputmethod/keyboard/internal/CodesArrayParser;->getCodeSpec(Ljava/lang/String;)Ljava/lang/String; | 285 | ····invoke-static·{p0},·Lcom/android/inputmethod/keyboard/internal/CodesArrayParser;->getCodeSpec(Ljava/lang/String;)Ljava/lang/String; |
289 |
····move-result-object·v |
286 | ····move-result-object·v2 |
290 | ····.line·97 | 287 | ····.line·97 |
291 |
····.local·v |
288 | ····.local·v2,·"codeSpec":Ljava/lang/String; |
292 |
····const/16·v |
289 | ····const/16·v4,·0x2c |
293 |
····invoke-virtual·{v |
290 | ····invoke-virtual·{v2,·v4},·Ljava/lang/String;->indexOf(I)I |
294 |
····move-result·v |
291 | ····move-result·v4 |
295 |
····if-gez·v |
292 | ····if-gez·v4,·:cond_0 |
296 | ····.line·98 | 293 | ····.line·98 |
297 |
····const/4·v |
294 | ····const/4·v4,·0x0 |
298 | ····.line·105 | 295 | ····.line·105 |
299 | ····:goto_0 | 296 | ····:goto_0 |
300 |
····return-object·v |
297 | ····return-object·v4 |
301 | ····.line·100 | 298 | ····.line·100 |
302 | ····:cond_0 | 299 | ····:cond_0 |
303 |
····new-instance·v |
300 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
304 |
····invoke-direct·{v |
301 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
305 | ····.line·101 | 302 | ····.line·101 |
306 |
····.local·v |
303 | ····.local·v3,·"sb":Ljava/lang/StringBuilder; |
307 |
····sget-object·v |
304 | ····sget-object·v4,·Lcom/android/inputmethod/keyboard/internal/CodesArrayParser;->COMMA_REGEX:Ljava/lang/String; |
Max diff block lines reached; 1694/5926 bytes (28.59%) of diff not shown. |
Offset 37, 14 lines modified | Offset 37, 15 lines modified | ||
37 | ····if-eqz·v0,·:cond_0 | 37 | ····if-eqz·v0,·:cond_0 |
38 | ····iget-boolean·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureEnabler;->mGestureHandlingEnabledByUser:Z | 38 | ····iget-boolean·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureEnabler;->mGestureHandlingEnabledByUser:Z |
39 | ····if-eqz·v0,·:cond_0 | 39 | ····if-eqz·v0,·:cond_0 |
40 | ····.line·32 | ||
40 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 41 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
41 | ····move-result-object·v0 | 42 | ····move-result-object·v0 |
42 | ····invoke-virtual·{v0},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z | 43 | ····invoke-virtual·{v0},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z |
43 | ····move-result·v0 | 44 | ····move-result·v0 |
Offset 55, 15 lines modified | Offset 56, 15 lines modified | ||
55 | ····:goto_0 | 56 | ····:goto_0 |
56 | ····iput-boolean·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureEnabler;->mShouldHandleGesture:Z | 57 | ····iput-boolean·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureEnabler;->mShouldHandleGesture:Z |
57 | ····.line·33 | 58 | ····.line·33 |
58 | ····return-void | 59 | ····return-void |
59 |
····.line· |
60 | ····.line·32 |
60 | ····:cond_0 | 61 | ····:cond_0 |
61 | ····const/4·v0,·0x0 | 62 | ····const/4·v0,·0x0 |
62 | ····goto·:goto_0 | 63 | ····goto·:goto_0 |
63 | .end·method | 64 | .end·method |
Offset 86, 14 lines modified | Offset 86, 15 lines modified | ||
86 | ····move-result·v2 | 86 | ····move-result·v2 |
87 | ····if-nez·v2,·:cond_0 | 87 | ····if-nez·v2,·:cond_0 |
88 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mSuggestedWords:Lorg/smc/inputmethod/indic/SuggestedWords; | 88 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mSuggestedWords:Lorg/smc/inputmethod/indic/SuggestedWords; |
89 | ····.line·138 | ||
89 | ····invoke-virtual·{v2,·v4},·Lorg/smc/inputmethod/indic/SuggestedWords;->getWord(I)Ljava/lang/String; | 90 | ····invoke-virtual·{v2,·v4},·Lorg/smc/inputmethod/indic/SuggestedWords;->getWord(I)Ljava/lang/String; |
90 | ····move-result-object·v2 | 91 | ····move-result-object·v2 |
91 | ····invoke-static·{v2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 92 | ····invoke-static·{v2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
92 | ····move-result·v2 | 93 | ····move-result·v2 |
Offset 113, 18 lines modified | Offset 114, 20 lines modified | ||
113 | ····.line·142 | 114 | ····.line·142 |
114 | ····.local·v0,·"round":F | 115 | ····.local·v0,·"round":F |
115 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mGesturePreviewRectangle:Landroid/graphics/RectF; | 116 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mGesturePreviewRectangle:Landroid/graphics/RectF; |
116 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mParams:Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview$GesturePreviewTextParams; | 117 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mParams:Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview$GesturePreviewTextParams; |
118 | ····.line·143 | ||
117 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview$GesturePreviewTextParams;->getBackgroundPaint()Landroid/graphics/Paint; | 119 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview$GesturePreviewTextParams;->getBackgroundPaint()Landroid/graphics/Paint; |
118 | ····move-result-object·v3 | 120 | ····move-result-object·v3 |
121 | ····.line·142 | ||
119 | ····invoke-virtual·{p1,·v2,·v0,·v0,·v3},·Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V | 122 | ····invoke-virtual·{p1,·v2,·v0,·v0,·v3},·Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V |
120 | ····.line·144 | 123 | ····.line·144 |
121 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mSuggestedWords:Lorg/smc/inputmethod/indic/SuggestedWords; | 124 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mSuggestedWords:Lorg/smc/inputmethod/indic/SuggestedWords; |
122 | ····invoke-virtual·{v2,·v4},·Lorg/smc/inputmethod/indic/SuggestedWords;->getWord(I)Ljava/lang/String; | 125 | ····invoke-virtual·{v2,·v4},·Lorg/smc/inputmethod/indic/SuggestedWords;->getWord(I)Ljava/lang/String; |
Offset 306, 14 lines modified | Offset 309, 15 lines modified | ||
306 | ····add-float·v1,·v10,·v11 | 309 | ····add-float·v1,·v10,·v11 |
307 | ····.line·167 | 310 | ····.line·167 |
308 | ····.local·v1,·"rectHeight":F | 311 | ····.local·v1,·"rectHeight":F |
309 | ····iget-object·v10,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mLastPointerCoords:[I | 312 | ····iget-object·v10,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mLastPointerCoords:[I |
313 | ····.line·168 | ||
310 | ····invoke-static·{v10},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I | 314 | ····invoke-static·{v10},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I |
311 | ····move-result·v10 | 315 | ····move-result·v10 |
312 | ····int-to-float·v10,·v10 | 316 | ····int-to-float·v10,·v10 |
313 | ····div-float·v11,·v2,·v12 | 317 | ····div-float·v11,·v2,·v12 |
Offset 330, 14 lines modified | Offset 334, 15 lines modified | ||
330 | ····iget·v11,·v11,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview$GesturePreviewTextParams;->mDisplayWidth:I | 334 | ····iget·v11,·v11,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview$GesturePreviewTextParams;->mDisplayWidth:I |
331 | ····int-to-float·v11,·v11 | 335 | ····int-to-float·v11,·v11 |
332 | ····sub-float/2addr·v11,·v2 | 336 | ····sub-float/2addr·v11,·v2 |
337 | ····.line·167 | ||
333 | ····invoke-static·{v10,·v11},·Ljava/lang/Math;->min(FF)F | 338 | ····invoke-static·{v10,·v11},·Ljava/lang/Math;->min(FF)F |
334 | ····move-result·v3 | 339 | ····move-result·v3 |
335 | ····.line·170 | 340 | ····.line·170 |
336 | ····.local·v3,·"rectX":F | 341 | ····.local·v3,·"rectX":F |
337 | ····iget-object·v10,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mLastPointerCoords:[I | 342 | ····iget-object·v10,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureFloatingTextDrawingPreview;->mLastPointerCoords:[I |
Offset 56, 18 lines modified | Offset 56, 20 lines modified | ||
56 | ····.line·48 | 56 | ····.line·48 |
57 | ····.local·v0,·"interpolationAngularDegree":I | 57 | ····.local·v0,·"interpolationAngularDegree":I |
58 | ····if-gtz·v0,·:cond_0 | 58 | ····if-gtz·v0,·:cond_0 |
59 | ····const-wide/high16·v2,·0x402e000000000000L····#·15.0 | 59 | ····const-wide/high16·v2,·0x402e000000000000L····#·15.0 |
60 | ····.line·49 | ||
60 | ····invoke-static·{v2,·v3},·Ljava/lang/Math;->toRadians(D)D | 61 | ····invoke-static·{v2,·v3},·Ljava/lang/Math;->toRadians(D)D |
61 | ····move-result-wide·v2 | 62 | ····move-result-wide·v2 |
63 | ····.line·50 | ||
62 | ····:goto_0 | 64 | ····:goto_0 |
63 | ····iput-wide·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeDrawingParams;->mMaxInterpolationAngularThreshold:D | 65 | ····iput-wide·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeDrawingParams;->mMaxInterpolationAngularThreshold:D |
64 | ····.line·51 | 66 | ····.line·51 |
65 | ····const/16·v1,·0x21 | 67 | ····const/16·v1,·0x21 |
66 | ····invoke-virtual·{p1,·v1,·v4},·Landroid/content/res/TypedArray;->getDimension(IF)F | 68 | ····invoke-virtual·{p1,·v1,·v4},·Landroid/content/res/TypedArray;->getDimension(IF)F |
Offset 88, 17 lines modified | Offset 90, 18 lines modified | ||
88 | ····move-result·v1 | 90 | ····move-result·v1 |
89 | ····iput·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeDrawingParams;->mMaxInterpolationSegments:I | 91 | ····iput·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeDrawingParams;->mMaxInterpolationSegments:I |
90 | ····.line·57 | 92 | ····.line·57 |
91 | ····return-void | 93 | ····return-void |
92 |
····.line·4 |
94 | ····.line·49 |
93 | ····:cond_0 | 95 | ····:cond_0 |
94 | ····int-to-double·v2,·v0 | 96 | ····int-to-double·v2,·v0 |
97 | ····.line·50 | ||
95 | ····invoke-static·{v2,·v3},·Ljava/lang/Math;->toRadians(D)D | 98 | ····invoke-static·{v2,·v3},·Ljava/lang/Math;->toRadians(D)D |
96 | ····move-result-wide·v2 | 99 | ····move-result-wide·v2 |
97 | ····goto·:goto_0 | 100 | ····goto·:goto_0 |
98 | .end·method | 101 | .end·method |
Offset 690, 18 lines modified | Offset 690, 20 lines modified | ||
690 | ····move-object/from16·v0,·v31 | 690 | ····move-object/from16·v0,·v31 |
691 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeDrawingParams;->mMaxInterpolationSegments:I | 691 | ····iget·v0,·v0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeDrawingParams;->mMaxInterpolationSegments:I |
692 | ····move/from16·v31,·v0 | 692 | ····move/from16·v31,·v0 |
693 | ····.line·153 | ||
693 | ····invoke-static/range·{v26·..·v27},·Ljava/lang/Math;->max(II)I | 694 | ····invoke-static/range·{v26·..·v27},·Ljava/lang/Math;->max(II)I |
694 | ····move-result·v32 | 695 | ····move-result·v32 |
696 | ····.line·152 | ||
695 | ····invoke-static/range·{v31·..·v32},·Ljava/lang/Math;->min(II)I | 697 | ····invoke-static/range·{v31·..·v32},·Ljava/lang/Math;->min(II)I |
696 | ····move-result·v25 | 698 | ····move-result·v25 |
697 | ····.line·154 | 699 | ····.line·154 |
698 | ····.local·v25,·"segments":I | 700 | ····.local·v25,·"segments":I |
699 | ····move-object/from16·v0,·p2 | 701 | ····move-object/from16·v0,·p2 |
Offset 204, 14 lines modified | Offset 204, 15 lines modified | ||
204 | ····move-result-object·v5 | 204 | ····move-result-object·v5 |
205 | ····aput-object·v5,·v3,·v4 | 205 | ····aput-object·v5,·v3,·v4 |
206 | ····const/4·v4,·0x1 | 206 | ····const/4·v4,·0x1 |
207 | ····.line·213 | ||
207 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 208 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
208 | ····move-result-object·v5 | 209 | ····move-result-object·v5 |
209 | ····aput-object·v5,·v3,·v4 | 210 | ····aput-object·v5,·v3,·v4 |
210 | ····const/4·v4,·0x2 | 211 | ····const/4·v4,·0x2 |
Offset 258, 24 lines modified | Offset 259, 26 lines modified | ||
258 | ····aput-object·v5,·v3,·v4 | 259 | ····aput-object·v5,·v3,·v4 |
259 | ····const/4·v4,·0x6 | 260 | ····const/4·v4,·0x6 |
260 | ····iget-object·v5,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mEventTimes:Lcom/android/inputmethod/latin/utils/ResizableIntArray; | 261 | ····iget-object·v5,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mEventTimes:Lcom/android/inputmethod/latin/utils/ResizableIntArray; |
262 | ····.line·214 | ||
261 | ····invoke-virtual·{v5,·v0},·Lcom/android/inputmethod/latin/utils/ResizableIntArray;->get(I)I | 263 | ····invoke-virtual·{v5,·v0},·Lcom/android/inputmethod/latin/utils/ResizableIntArray;->get(I)I |
262 | ····move-result·v5 | 264 | ····move-result·v5 |
263 | ····invoke-static·{v5},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 265 | ····invoke-static·{v5},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
264 | ····move-result-object·v5 | 266 | ····move-result-object·v5 |
265 | ····aput-object·v5,·v3,·v4 | 267 | ····aput-object·v5,·v3,·v4 |
268 | ····.line·212 | ||
266 | ····invoke-static·{v2,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 269 | ····invoke-static·{v2,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
267 | ····move-result-object·v2 | 270 | ····move-result-object·v2 |
268 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 271 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
269 | ····.line·220 | 272 | ····.line·220 |
Offset 937, 28 lines modified | Offset 940, 30 lines modified | ||
937 | ····.line·159 | 940 | ····.line·159 |
938 | ····.local·v1,·"deltaTime":I | 941 | ····.local·v1,·"deltaTime":I |
939 | ····if-ltz·v1,·:cond_0 | 942 | ····if-ltz·v1,·:cond_0 |
940 | ····.line·162 | 943 | ····.line·162 |
941 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mXCoordinates:Lcom/android/inputmethod/latin/utils/ResizableIntArray; | 944 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mXCoordinates:Lcom/android/inputmethod/latin/utils/ResizableIntArray; |
945 | ····.line·163 | ||
942 | ····invoke-virtual·{v7,·v4},·Lcom/android/inputmethod/latin/utils/ResizableIntArray;->get(I)I | 946 | ····invoke-virtual·{v7,·v4},·Lcom/android/inputmethod/latin/utils/ResizableIntArray;->get(I)I |
943 | ····move-result·v7 | 947 | ····move-result·v7 |
944 | ····iget-object·v8,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mYCoordinates:Lcom/android/inputmethod/latin/utils/ResizableIntArray; | 948 | ····iget-object·v8,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mYCoordinates:Lcom/android/inputmethod/latin/utils/ResizableIntArray; |
945 | ····invoke-virtual·{v8,·v4},·Lcom/android/inputmethod/latin/utils/ResizableIntArray;->get(I)I | 949 | ····invoke-virtual·{v8,·v4},·Lcom/android/inputmethod/latin/utils/ResizableIntArray;->get(I)I |
946 | ····move-result·v8 | 950 | ····move-result·v8 |
947 | ····iget·v9,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mDetectFastMoveX:I | 951 | ····iget·v9,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mDetectFastMoveX:I |
948 | ····iget·v10,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mDetectFastMoveY:I | 952 | ····iget·v10,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->mDetectFastMoveY:I |
953 | ····.line·162 | ||
949 | ····invoke-static·{v7,·v8,·v9,·v10},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->getDistance(IIII)I | 954 | ····invoke-static·{v7,·v8,·v9,·v10},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->getDistance(IIII)I |
950 | ····move-result·v0 | 955 | ····move-result·v0 |
951 | ····.line·165 | 956 | ····.line·165 |
952 | ····.local·v0,·"deltaDistance":I | 957 | ····.local·v0,·"deltaDistance":I |
953 | ····invoke-direct·{p0,·v1},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->getGestureDynamicDistanceThreshold(I)I | 958 | ····invoke-direct·{p0,·v1},·Lcom/android/inputmethod/keyboard/internal/GestureStrokeRecognitionPoints;->getGestureDynamicDistanceThreshold(I)I |
Offset 114, 23 lines modified | Offset 114, 25 lines modified | ||
114 | ····div-float/2addr·v2,·v5 | 114 | ····div-float/2addr·v2,·v5 |
115 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailDrawingParams;->mTrailShadowRatio:F | 115 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailDrawingParams;->mTrailShadowRatio:F |
116 | ····.line·67 | 116 | ····.line·67 |
117 | ····const/16·v2,·0x23 | 117 | ····const/16·v2,·0x23 |
118 | ····.line·69 | ||
118 | ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/res/TypedArray;->getInt(II)I | 119 | ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/res/TypedArray;->getInt(II)I |
119 | ····move-result·v2 | 120 | ····move-result·v2 |
120 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailDrawingParams;->mFadeoutStartDelay:I | 121 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailDrawingParams;->mFadeoutStartDelay:I |
121 | ····.line·71 | 122 | ····.line·71 |
122 | ····const/16·v2,·0x24 | 123 | ····const/16·v2,·0x24 |
124 | ····.line·73 | ||
123 | ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/res/TypedArray;->getInt(II)I | 125 | ····invoke-virtual·{p1,·v2,·v3},·Landroid/content/res/TypedArray;->getInt(II)I |
124 | ····move-result·v2 | 126 | ····move-result·v2 |
125 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailDrawingParams;->mFadeoutDuration:I | 127 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailDrawingParams;->mFadeoutDuration:I |
126 | ····.line·75 | 128 | ····.line·75 |
Offset 285, 14 lines modified | Offset 285, 15 lines modified | ||
285 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailsDrawingPreview;->mOffscreenWidth:I | 285 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailsDrawingPreview;->mOffscreenWidth:I |
286 | ····if-ne·v0,·v1,·:cond_0 | 286 | ····if-ne·v0,·v1,·:cond_0 |
287 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailsDrawingPreview;->mOffscreenBuffer:Landroid/graphics/Bitmap; | 287 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailsDrawingPreview;->mOffscreenBuffer:Landroid/graphics/Bitmap; |
288 | ····.line·84 | ||
288 | ····invoke-virtual·{v0},·Landroid/graphics/Bitmap;->getHeight()I | 289 | ····invoke-virtual·{v0},·Landroid/graphics/Bitmap;->getHeight()I |
289 | ····move-result·v0 | 290 | ····move-result·v0 |
290 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailsDrawingPreview;->mOffscreenHeight:I | 291 | ····iget·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/GestureTrailsDrawingPreview;->mOffscreenHeight:I |
291 | ····if-ne·v0,·v1,·:cond_0 | 292 | ····if-ne·v0,·v1,·:cond_0 |
Offset 21, 14 lines modified | Offset 21, 15 lines modified | ||
21 | .field·final·synthetic·val$keyPreviewView:Lcom/android/inputmethod/keyboard/internal/KeyPreviewView; | 21 | .field·final·synthetic·val$keyPreviewView:Lcom/android/inputmethod/keyboard/internal/KeyPreviewView; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;Lcom/android/inputmethod/keyboard/Key;Lcom/android/inputmethod/keyboard/internal/KeyPreviewView;)V | 23 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;Lcom/android/inputmethod/keyboard/Key;Lcom/android/inputmethod/keyboard/internal/KeyPreviewView;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·171 | 27 | ····.line·171 |
27 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$1;->this$0:Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer; | 28 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$1;->this$0:Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer; |
28 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$1;->val$key:Lcom/android/inputmethod/keyboard/Key; | 29 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$1;->val$key:Lcom/android/inputmethod/keyboard/Key; |
Offset 19, 14 lines modified | Offset 19, 15 lines modified | ||
19 | .field·final·synthetic·val$key:Lcom/android/inputmethod/keyboard/Key; | 19 | .field·final·synthetic·val$key:Lcom/android/inputmethod/keyboard/Key; |
20 | #·direct·methods | 20 | #·direct·methods |
21 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;Lcom/android/inputmethod/keyboard/Key;)V | 21 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;Lcom/android/inputmethod/keyboard/Key;)V |
22 | ····.locals·0 | 22 | ····.locals·0 |
23 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer; | ||
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·182 | 25 | ····.line·182 |
25 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$2;->this$0:Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer; | 26 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$2;->this$0:Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer; |
26 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$2;->val$key:Lcom/android/inputmethod/keyboard/Key; | 27 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer$2;->val$key:Lcom/android/inputmethod/keyboard/Key; |
Offset 155, 14 lines modified | Offset 155, 15 lines modified | ||
155 | ····sub-int·v8,·v4,·v1 | 155 | ····sub-int·v8,·v4,·v1 |
156 | ····div-int/lit8·v8,·v8,·0x2 | 156 | ····div-int/lit8·v8,·v8,·0x2 |
157 | ····sub-int/2addr·v7,·v8 | 157 | ····sub-int/2addr·v7,·v8 |
158 | ····.line·129 | ||
158 | ····invoke-static·{p6},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I | 159 | ····invoke-static·{p6},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I |
159 | ····move-result·v8 | 160 | ····move-result·v8 |
160 | ····add-int·v5,·v7,·v8 | 161 | ····add-int·v5,·v7,·v8 |
161 | ····.line·130 | 162 | ····.line·130 |
Offset 200, 14 lines modified | Offset 201, 15 lines modified | ||
200 | ····iget-object·v8,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; | 201 | ····iget-object·v8,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams; |
201 | ····iget·v8,·v8,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mPreviewOffset:I | 202 | ····iget·v8,·v8,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mPreviewOffset:I |
202 | ····add-int/2addr·v7,·v8 | 203 | ····add-int/2addr·v7,·v8 |
204 | ····.line·144 | ||
203 | ····invoke-static·{p6},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->y([I)I | 205 | ····invoke-static·{p6},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->y([I)I |
204 | ····move-result·v8 | 206 | ····move-result·v8 |
205 | ····add-int·v6,·v7,·v8 | 207 | ····add-int·v6,·v7,·v8 |
206 | ····.line·146 | 208 | ····.line·146 |
Offset 340, 56 lines modified | Offset 342, 55 lines modified | ||
340 | ····invoke-virtual·{v0,·v1},·Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V | 342 | ····invoke-virtual·{v0,·v1},·Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V |
341 | ····.line·177 | 343 | ····.line·177 |
342 | ····return-object·v0 | 344 | ····return-object·v0 |
343 | .end·method | 345 | .end·method |
344 | .method·public·dismissAllKeyPreviews()V | 346 | .method·public·dismissAllKeyPreviews()V |
345 |
····.locals· |
347 | ····.locals·3 |
346 | ····.prologue | 348 | ····.prologue |
347 | ····.line·74 | 349 | ····.line·74 |
348 |
····new-instance·v |
350 | ····new-instance·v1,·Ljava/util/HashSet; |
349 |
····iget-object·v |
351 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;->mShowingKeyPreviewViews:Ljava/util/HashMap; |
350 |
····invoke-virtual·{v |
352 | ····invoke-virtual·{v2},·Ljava/util/HashMap;->keySet()Ljava/util/Set; |
351 |
····move-result-object·v |
353 | ····move-result-object·v2 |
352 |
····invoke-direct·{v |
354 | ····invoke-direct·{v1,·v2},·Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V |
353 |
····invoke-virtual·{v |
355 | ····invoke-virtual·{v1},·Ljava/util/HashSet;->iterator()Ljava/util/Iterator; |
354 |
····move-result-object·v |
356 | ····move-result-object·v1 |
355 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
356 | ····:goto_0 | 357 | ····:goto_0 |
357 |
····invoke-interface·{v |
358 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
358 | ····move-result·v2 | 359 | ····move-result·v2 |
359 | ····if-eqz·v2,·:cond_0 | 360 | ····if-eqz·v2,·:cond_0 |
360 |
····invoke-interface·{v |
361 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
361 |
····move-result-object·v |
362 | ····move-result-object·v0 |
362 |
····check-cast·v |
363 | ····check-cast·v0,·Lcom/android/inputmethod/keyboard/Key; |
363 | ····.line·75 | 364 | ····.line·75 |
364 |
····.local·v |
365 | ····.local·v0,·"key":Lcom/android/inputmethod/keyboard/Key; |
365 | ····const/4·v2,·0x0 | 366 | ····const/4·v2,·0x0 |
366 |
····invoke-virtual·{p0,·v |
367 | ····invoke-virtual·{p0,·v0,·v2},·Lcom/android/inputmethod/keyboard/internal/KeyPreviewChoreographer;->dismissKeyPreview(Lcom/android/inputmethod/keyboard/Key;Z)V |
367 | ····goto·:goto_0 | 368 | ····goto·:goto_0 |
368 | ····.line·77 | 369 | ····.line·77 |
369 |
····.end·local·v |
370 | ····.end·local·v0····#·"key":Lcom/android/inputmethod/keyboard/Key; |
370 | ····:cond_0 | 371 | ····:cond_0 |
371 | ····return-void | 372 | ····return-void |
372 | .end·method | 373 | .end·method |
373 | .method·public·dismissKeyPreview(Lcom/android/inputmethod/keyboard/Key;Z)V | 374 | .method·public·dismissKeyPreview(Lcom/android/inputmethod/keyboard/Key;Z)V |
374 | ····.locals·4 | 375 | ····.locals·4 |
375 | ····.param·p1,·"key"····#·Lcom/android/inputmethod/keyboard/Key; | 376 | ····.param·p1,·"key"····#·Lcom/android/inputmethod/keyboard/Key; |
Offset 223, 22 lines modified | Offset 223, 23 lines modified | ||
223 | ····.end·local·v1····#·"dismissAnimator":Landroid/animation/AnimatorSet; | 223 | ····.end·local·v1····#·"dismissAnimator":Landroid/animation/AnimatorSet; |
224 | ····.end·local·v2····#·"dismissDuration":I | 224 | ····.end·local·v2····#·"dismissDuration":I |
225 | ····.end·local·v3····#·"scaleXAnimator":Landroid/animation/ObjectAnimator; | 225 | ····.end·local·v3····#·"scaleXAnimator":Landroid/animation/ObjectAnimator; |
226 | ····.end·local·v4····#·"scaleYAnimator":Landroid/animation/ObjectAnimator; | 226 | ····.end·local·v4····#·"scaleYAnimator":Landroid/animation/ObjectAnimator; |
227 | ····:goto_0 | 227 | ····:goto_0 |
228 | ····return-object·v1 | 228 | ····return-object·v1 |
229 |
····.line·18 |
229 | ····.line·183 |
230 | ····:cond_0 | 230 | ····:cond_0 |
231 | ····invoke-virtual·{p1},·Landroid/view/View;->getContext()Landroid/content/Context; | 231 | ····invoke-virtual·{p1},·Landroid/view/View;->getContext()Landroid/content/Context; |
232 | ····move-result-object·v5 | 232 | ····move-result-object·v5 |
233 | ····iget·v6,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mDismissAnimatorResId:I | 233 | ····iget·v6,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mDismissAnimatorResId:I |
234 | ····.line·182 | ||
234 | ····invoke-static·{v5,·v6},·Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator; | 235 | ····invoke-static·{v5,·v6},·Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator; |
235 | ····move-result-object·v0 | 236 | ····move-result-object·v0 |
236 | ····.line·184 | 237 | ····.line·184 |
237 | ····.local·v0,·"animator":Landroid/animation/Animator; | 238 | ····.local·v0,·"animator":Landroid/animation/Animator; |
238 | ····invoke-virtual·{v0,·p1},·Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V | 239 | ····invoke-virtual·{v0,·p1},·Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V |
Offset 332, 22 lines modified | Offset 333, 23 lines modified | ||
332 | ····.line·166 | 333 | ····.line·166 |
333 | ····.end·local·v1····#·"scaleXAnimator":Landroid/animation/ObjectAnimator; | 334 | ····.end·local·v1····#·"scaleXAnimator":Landroid/animation/ObjectAnimator; |
334 | ····.end·local·v2····#·"scaleYAnimator":Landroid/animation/ObjectAnimator; | 335 | ····.end·local·v2····#·"scaleYAnimator":Landroid/animation/ObjectAnimator; |
335 | ····.end·local·v3····#·"showUpAnimator":Landroid/animation/AnimatorSet; | 336 | ····.end·local·v3····#·"showUpAnimator":Landroid/animation/AnimatorSet; |
336 | ····:goto_0 | 337 | ····:goto_0 |
337 | ····return-object·v3 | 338 | ····return-object·v3 |
338 |
····.line·16 |
339 | ····.line·163 |
339 | ····:cond_0 | 340 | ····:cond_0 |
340 | ····invoke-virtual·{p1},·Landroid/view/View;->getContext()Landroid/content/Context; | 341 | ····invoke-virtual·{p1},·Landroid/view/View;->getContext()Landroid/content/Context; |
341 | ····move-result-object·v4 | 342 | ····move-result-object·v4 |
342 | ····iget·v5,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mShowUpAnimatorResId:I | 343 | ····iget·v5,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mShowUpAnimatorResId:I |
344 | ····.line·162 | ||
343 | ····invoke-static·{v4,·v5},·Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator; | 345 | ····invoke-static·{v4,·v5},·Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator; |
344 | ····move-result-object·v0 | 346 | ····move-result-object·v0 |
345 | ····.line·164 | 347 | ····.line·164 |
346 | ····.local·v0,·"animator":Landroid/animation/Animator; | 348 | ····.local·v0,·"animator":Landroid/animation/Animator; |
347 | ····invoke-virtual·{v0,·p1},·Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V | 349 | ····invoke-virtual·{v0,·p1},·Landroid/animation/Animator;->setTarget(Ljava/lang/Object;)V |
Offset 467, 14 lines modified | Offset 469, 15 lines modified | ||
467 | ····.local·v0,·"previewHeight":I | 469 | ····.local·v0,·"previewHeight":I |
468 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingLeft()I | 470 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingLeft()I |
469 | ····move-result·v2 | 471 | ····move-result·v2 |
470 | ····sub-int·v2,·v1,·v2 | 472 | ····sub-int·v2,·v1,·v2 |
473 | ····.line·101 | ||
471 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingRight()I | 474 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingRight()I |
472 | ····move-result·v3 | 475 | ····move-result·v3 |
473 | ····sub-int/2addr·v2,·v3 | 476 | ····sub-int/2addr·v2,·v3 |
474 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mVisibleWidth:I | 477 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mVisibleWidth:I |
Offset 482, 14 lines modified | Offset 485, 15 lines modified | ||
482 | ····.line·102 | 485 | ····.line·102 |
483 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingTop()I | 486 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingTop()I |
484 | ····move-result·v2 | 487 | ····move-result·v2 |
485 | ····sub-int·v2,·v0,·v2 | 488 | ····sub-int·v2,·v0,·v2 |
489 | ····.line·103 | ||
486 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingBottom()I | 490 | ····invoke-virtual·{p1},·Landroid/view/View;->getPaddingBottom()I |
487 | ····move-result·v3 | 491 | ····move-result·v3 |
488 | ····sub-int/2addr·v2,·v3 | 492 | ····sub-int/2addr·v2,·v3 |
489 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mVisibleHeight:I | 493 | ····iput·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyPreviewDrawParams;->mVisibleHeight:I |
Offset 275, 14 lines modified | Offset 275, 15 lines modified | ||
275 | ····.local·v1,·"labelEnd":I | 275 | ····.local·v1,·"labelEnd":I |
276 | ····invoke-static·{p0,·v1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getBeforeLabelEnd(Ljava/lang/String;I)Ljava/lang/String; | 276 | ····invoke-static·{p0,·v1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getBeforeLabelEnd(Ljava/lang/String;I)Ljava/lang/String; |
277 | ····move-result-object·v2 | 277 | ····move-result-object·v2 |
278 | ····const-string·v3,·"!icon/" | 278 | ····const-string·v3,·"!icon/" |
279 | ····.line·239 | ||
279 | ····invoke-virtual·{v3},·Ljava/lang/String;->length()I | 280 | ····invoke-virtual·{v3},·Ljava/lang/String;->length()I |
280 | ····move-result·v3 | 281 | ····move-result·v3 |
281 | ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->substring(I)Ljava/lang/String; | 282 | ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->substring(I)Ljava/lang/String; |
282 | ····move-result-object·v0 | 283 | ····move-result-object·v0 |
Offset 61, 59 lines modified | Offset 61, 55 lines modified | ||
61 | #·direct·methods | 61 | #·direct·methods |
62 | .method·static·constructor·<clinit>()V | 62 | .method·static·constructor·<clinit>()V |
63 | ····.locals·6 | 63 | ····.locals·6 |
64 | ····.prologue | 64 | ····.prologue |
65 | ····.line·53 | 65 | ····.line·53 |
66 |
····const/16·v |
66 | ····const/16·v1,·0x14 |
67 |
····new-array·v |
67 | ····new-array·v1,·v1,·[I |
68 |
····fill-array-data·v |
68 | ····fill-array-data·v1,·:array_0 |
69 |
····sput-object·v |
69 | ····sput-object·v1,·Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes;->VISUAL_ATTRIBUTE_IDS:[I |
70 | ····.line·75 | 70 | ····.line·75 |
71 |
····new-instance·v |
71 | ····new-instance·v1,·Landroid/util/SparseIntArray; |
72 |
····invoke-direct·{v |
72 | ····invoke-direct·{v1},·Landroid/util/SparseIntArray;-><init>()V |
73 |
····sput-object·v |
73 | ····sput-object·v1,·Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes;->sVisualAttributeIds:Landroid/util/SparseIntArray; |
74 | ····.line·79 | 74 | ····.line·79 |
75 |
····sget-object·v |
75 | ····sget-object·v2,·Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes;->VISUAL_ATTRIBUTE_IDS:[I |
76 |
···· |
76 | ····array-length·v3,·v2 |
77 | ····array-length·v3,·v0 | ||
78 |
···· |
77 | ····const/4·v1,·0x0 |
79 | ····const/4·v2,·0x0 | ||
80 |
····.local·v |
78 | ····.local·v0,·"attrId":I |
81 | ····:goto_0 | 79 | ····:goto_0 |
82 |
····if-ge·v |
80 | ····if-ge·v1,·v3,·:cond_0 |
83 |
····aget·v |
81 | ····aget·v0,·v2,·v1 |
84 | ····.line·80 | 82 | ····.line·80 |
85 | ····.local·v1,·"attrId":I | ||
86 | ····sget-object·v4,·Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes;->sVisualAttributeIds:Landroid/util/SparseIntArray; | 83 | ····sget-object·v4,·Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes;->sVisualAttributeIds:Landroid/util/SparseIntArray; |
87 | ····const/4·v5,·0x1 | 84 | ····const/4·v5,·0x1 |
88 |
····invoke-virtual·{v4,·v |
85 | ····invoke-virtual·{v4,·v0,·v5},·Landroid/util/SparseIntArray;->put(II)V |
89 | ····.line·79 | 86 | ····.line·79 |
90 |
····add-int/lit8·v |
87 | ····add-int/lit8·v1,·v1,·0x1 |
91 | ····goto·:goto_0 | 88 | ····goto·:goto_0 |
92 | ····.line·82 | 89 | ····.line·82 |
93 | ····.end·local·v1····#·"attrId":I | ||
94 | ····:cond_0 | 90 | ····:cond_0 |
95 | ····return-void | 91 | ····return-void |
96 | ····.line·53 | 92 | ····.line·53 |
97 | ····:array_0 | 93 | ····:array_0 |
98 | ····.array-data·4 | 94 | ····.array-data·4 |
99 | ········0x10 | 95 | ········0x10 |
Offset 160, 19 lines modified | Offset 156, 20 lines modified | ||
160 | ····.line·97 | 156 | ····.line·97 |
161 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/TypedArray;->hasValue(I)Z | 157 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/TypedArray;->hasValue(I)Z |
162 | ····move-result·v0 | 158 | ····move-result·v0 |
163 | ····if-eqz·v0,·:cond_0 | 159 | ····if-eqz·v0,·:cond_0 |
164 |
····.line·9 |
160 | ····.line·99 |
165 | ····invoke-virtual·{p1,·v3,·v1},·Landroid/content/res/TypedArray;->getInt(II)I | 161 | ····invoke-virtual·{p1,·v3,·v1},·Landroid/content/res/TypedArray;->getInt(II)I |
166 | ····move-result·v0 | 162 | ····move-result·v0 |
163 | ····.line·98 | ||
167 | ····invoke-static·{v0},·Landroid/graphics/Typeface;->defaultFromStyle(I)Landroid/graphics/Typeface; | 164 | ····invoke-static·{v0},·Landroid/graphics/Typeface;->defaultFromStyle(I)Landroid/graphics/Typeface; |
168 | ····move-result-object·v0 | 165 | ····move-result-object·v0 |
169 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes;->mTypeface:Landroid/graphics/Typeface; | 166 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyVisualAttributes;->mTypeface:Landroid/graphics/Typeface; |
170 | ····.line·104 | 167 | ····.line·104 |
Offset 188, 31 lines modified | Offset 188, 34 lines modified | ||
188 | ····new-array·v1,·v1,·[Ljava/lang/Object; | 188 | ····new-array·v1,·v1,·[Ljava/lang/Object; |
189 | ····aput-object·p2,·v1,·v3 | 189 | ····aput-object·p2,·v1,·v3 |
190 | ····const/4·v2,·0x1 | 190 | ····const/4·v2,·0x1 |
191 | ····.line·868 | ||
191 | ····invoke-virtual·{p0,·p1,·v3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z | 192 | ····invoke-virtual·{p0,·p1,·v3},·Landroid/content/res/TypedArray;->getBoolean(IZ)Z |
192 | ····move-result·v3 | 193 | ····move-result·v3 |
193 | ····invoke-static·{v3},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; | 194 | ····invoke-static·{v3},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; |
194 | ····move-result-object·v3 | 195 | ····move-result-object·v3 |
195 | ····aput-object·v3,·v1,·v2 | 196 | ····aput-object·v3,·v1,·v2 |
196 | ····invoke-static·{v0,·v1},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 197 | ····invoke-static·{v0,·v1},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
197 | ····move-result-object·v0 | 198 | ····move-result-object·v0 |
199 | ····.line·867 | ||
198 | ····:goto_0 | 200 | ····:goto_0 |
199 | ····return-object·v0 | 201 | ····return-object·v0 |
202 | ····.line·868 | ||
200 | ····:cond_0 | 203 | ····:cond_0 |
201 | ····const-string·v0,·"" | 204 | ····const-string·v0,·"" |
202 | ····goto·:goto_0 | 205 | ····goto·:goto_0 |
203 | .end·method | 206 | .end·method |
204 | .method·private·endKey(Lcom/android/inputmethod/keyboard/Key;)V | 207 | .method·private·endKey(Lcom/android/inputmethod/keyboard/Key;)V |
Offset 531, 14 lines modified | Offset 534, 15 lines modified | ||
531 | ····.line·743 | 534 | ····.line·743 |
532 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/TypedArray;->hasValue(I)Z | 535 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/TypedArray;->hasValue(I)Z |
533 | ····move-result·v0 | 536 | ····move-result·v0 |
534 | ····if-eqz·v0,·:cond_0 | 537 | ····if-eqz·v0,·:cond_0 |
538 | ····.line·744 | ||
535 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; | 539 | ····invoke-virtual·{p0,·p1},·Landroid/content/res/TypedArray;->getString(I)Ljava/lang/String; |
536 | ····move-result-object·v0 | 540 | ····move-result-object·v0 |
537 | ····const-string·v1,·"\\|" | 541 | ····const-string·v1,·"\\|" |
538 | ····invoke-virtual·{v0,·v1},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; | 542 | ····invoke-virtual·{v0,·v1},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; |
Offset 550, 17 lines modified | Offset 554, 19 lines modified | ||
550 | ····move-result·v0 | 554 | ····move-result·v0 |
551 | ····if-eqz·v0,·:cond_1 | 555 | ····if-eqz·v0,·:cond_1 |
552 | ····:cond_0 | 556 | ····:cond_0 |
553 | ····const/4·v0,·0x1 | 557 | ····const/4·v0,·0x1 |
558 | ····.line·743 | ||
554 | ····:goto_0 | 559 | ····:goto_0 |
555 | ····return·v0 | 560 | ····return·v0 |
561 | ····.line·744 | ||
556 | ····:cond_1 | 562 | ····:cond_1 |
557 | ····const/4·v0,·0x0 | 563 | ····const/4·v0,·0x0 |
558 | ····goto·:goto_0 | 564 | ····goto·:goto_0 |
559 | .end·method | 565 | .end·method |
560 | .method·private·static·matchTypedValue(Landroid/content/res/TypedArray;IILjava/lang/String;)Z | 566 | .method·private·static·matchTypedValue(Landroid/content/res/TypedArray;IILjava/lang/String;)Z |
Offset 720, 15 lines modified | Offset 726, 15 lines modified | ||
720 | ····.line·636 | 726 | ····.line·636 |
721 | ····.local·v8,·"id":Lcom/android/inputmethod/keyboard/KeyboardId; | 727 | ····.local·v8,·"id":Lcom/android/inputmethod/keyboard/KeyboardId; |
722 | ····if-nez·v8,·:cond_0 | 728 | ····if-nez·v8,·:cond_0 |
723 | ····.line·637 | 729 | ····.line·637 |
724 | ····const/16·v22,·0x1 | 730 | ····const/16·v22,·0x1 |
725 |
····.line·72 |
731 | ····.line·722 |
726 | ····:goto_0 | 732 | ····:goto_0 |
727 | ····return·v22 | 733 | ····return·v22 |
728 | ····.line·639 | 734 | ····.line·639 |
729 | ····:cond_0 | 735 | ····:cond_0 |
730 | ····invoke-static/range·{p1·..·p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet; | 736 | ····invoke-static/range·{p1·..·p1},·Landroid/util/Xml;->asAttributeSet(Lorg/xmlpull/v1/XmlPullParser;)Landroid/util/AttributeSet; |
Offset 757, 18 lines modified | Offset 763, 20 lines modified | ||
757 | ····const/16·v23,·0x0 | 763 | ····const/16·v23,·0x0 |
758 | ····:try_start_0 | 764 | ····:try_start_0 |
759 | ····iget-object·v0,·v8,·Lcom/android/inputmethod/keyboard/KeyboardId;->mSubtype:Landroid/view/inputmethod/InputMethodSubtype; | 765 | ····iget-object·v0,·v8,·Lcom/android/inputmethod/keyboard/KeyboardId;->mSubtype:Landroid/view/inputmethod/InputMethodSubtype; |
760 | ····move-object/from16·v24,·v0 | 766 | ····move-object/from16·v24,·v0 |
767 | ····.line·644 | ||
761 | ····invoke-static/range·{v24·..·v24},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; | 768 | ····invoke-static/range·{v24·..·v24},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; |
762 | ····move-result-object·v24 | 769 | ····move-result-object·v24 |
Max diff block lines reached; 10191/12576 bytes (81.04%) of diff not shown. |
Offset 128, 94 lines modified | Offset 128, 101 lines modified | ||
128 | ····const-string·v5,·"undefined" | 128 | ····const-string·v5,·"undefined" |
129 | ····aput-object·v5,·v4,·v6 | 129 | ····aput-object·v5,·v4,·v6 |
130 | ····const/4·v5,·0x1 | 130 | ····const/4·v5,·0x1 |
131 | ····.line·65 | ||
131 | ····invoke-static·{v6},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 132 | ····invoke-static·{v6},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
132 | ····move-result-object·v6 | 133 | ····move-result-object·v6 |
133 | ····aput-object·v6,·v4,·v5 | 134 | ····aput-object·v6,·v4,·v5 |
134 | ····const/4·v5,·0x2 | 135 | ····const/4·v5,·0x2 |
135 | ····const-string·v6,·"shift_key" | 136 | ····const-string·v6,·"shift_key" |
136 | ····aput-object·v6,·v4,·v5 | 137 | ····aput-object·v6,·v4,·v5 |
137 | ····const/4·v5,·0x3 | 138 | ····const/4·v5,·0x3 |
139 | ····.line·66 | ||
138 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 140 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
139 | ····move-result-object·v6 | 141 | ····move-result-object·v6 |
140 | ····aput-object·v6,·v4,·v5 | 142 | ····aput-object·v6,·v4,·v5 |
141 | ····const/4·v5,·0x4 | 143 | ····const/4·v5,·0x4 |
142 | ····const-string·v6,·"delete_key" | 144 | ····const-string·v6,·"delete_key" |
143 | ····aput-object·v6,·v4,·v5 | 145 | ····aput-object·v6,·v4,·v5 |
144 | ····const/4·v5,·0x5 | 146 | ····const/4·v5,·0x5 |
147 | ····.line·67 | ||
145 | ····invoke-static·{v8},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 148 | ····invoke-static·{v8},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
146 | ····move-result-object·v6 | 149 | ····move-result-object·v6 |
147 | ····aput-object·v6,·v4,·v5 | 150 | ····aput-object·v6,·v4,·v5 |
148 | ····const/4·v5,·0x6 | 151 | ····const/4·v5,·0x6 |
149 | ····const-string·v6,·"settings_key" | 152 | ····const-string·v6,·"settings_key" |
150 | ····aput-object·v6,·v4,·v5 | 153 | ····aput-object·v6,·v4,·v5 |
151 | ····const/4·v5,·0x7 | 154 | ····const/4·v5,·0x7 |
155 | ····.line·68 | ||
152 | ····invoke-static·{v9},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 156 | ····invoke-static·{v9},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
153 | ····move-result-object·v6 | 157 | ····move-result-object·v6 |
154 | ····aput-object·v6,·v4,·v5 | 158 | ····aput-object·v6,·v4,·v5 |
155 | ····const/16·v5,·0x8 | 159 | ····const/16·v5,·0x8 |
156 | ····const-string·v6,·"space_key" | 160 | ····const-string·v6,·"space_key" |
157 | ····aput-object·v6,·v4,·v5 | 161 | ····aput-object·v6,·v4,·v5 |
158 | ····const/16·v5,·0x9 | 162 | ····const/16·v5,·0x9 |
163 | ····.line·69 | ||
159 | ····invoke-static·{v10},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 164 | ····invoke-static·{v10},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
160 | ····move-result-object·v6 | 165 | ····move-result-object·v6 |
161 | ····aput-object·v6,·v4,·v5 | 166 | ····aput-object·v6,·v4,·v5 |
162 | ····const-string·v5,·"enter_key" | 167 | ····const-string·v5,·"enter_key" |
163 | ····aput-object·v5,·v4,·v7 | 168 | ····aput-object·v5,·v4,·v7 |
164 | ····const/16·v5,·0xe | 169 | ····const/16·v5,·0xe |
170 | ····.line·70 | ||
165 | ····invoke-static·{v5},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 171 | ····invoke-static·{v5},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
166 | ····move-result-object·v5 | 172 | ····move-result-object·v5 |
167 | ····aput-object·v5,·v4,·v8 | 173 | ····aput-object·v5,·v4,·v8 |
168 | ····const-string·v5,·"go_key" | 174 | ····const-string·v5,·"go_key" |
169 | ····aput-object·v5,·v4,·v9 | 175 | ····aput-object·v5,·v4,·v9 |
170 | ····const/16·v5,·0xf | 176 | ····const/16·v5,·0xf |
177 | ····.line·71 | ||
171 | ····invoke-static·{v5},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 178 | ····invoke-static·{v5},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
172 | ····move-result-object·v5 | 179 | ····move-result-object·v5 |
173 | ····aput-object·v5,·v4,·v10 | 180 | ····aput-object·v5,·v4,·v10 |
Max diff block lines reached; 5216/7020 bytes (74.30%) of diff not shown. |
Offset 243, 18 lines modified | Offset 243, 20 lines modified | ||
243 | ····iget·v2,·v2,·Lcom/android/inputmethod/keyboard/internal/KeyboardParams;->mBaseWidth:I | 243 | ····iget·v2,·v2,·Lcom/android/inputmethod/keyboard/internal/KeyboardParams;->mBaseWidth:I |
244 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyboardParams; | 244 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyboardParams; |
245 | ····iget·v3,·v3,·Lcom/android/inputmethod/keyboard/internal/KeyboardParams;->mBaseWidth:I | 245 | ····iget·v3,·v3,·Lcom/android/inputmethod/keyboard/internal/KeyboardParams;->mBaseWidth:I |
246 | ····.line·185 | ||
246 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->getDefaultKeyWidth()F | 247 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->getDefaultKeyWidth()F |
247 | ····move-result·v4 | 248 | ····move-result·v4 |
249 | ····.line·184 | ||
248 | ····invoke-virtual·{p1,·v5,·v2,·v3,·v4},·Landroid/content/res/TypedArray;->getFraction(IIIF)F | 250 | ····invoke-virtual·{p1,·v5,·v2,·v3,·v4},·Landroid/content/res/TypedArray;->getFraction(IIIF)F |
249 | ····move-result·v2 | 251 | ····move-result·v2 |
250 | ····goto·:goto_0 | 252 | ····goto·:goto_0 |
251 | ····.line·181 | 253 | ····.line·181 |
Offset 409, 14 lines modified | Offset 411, 15 lines modified | ||
409 | ····.prologue | 411 | ····.prologue |
410 | ····.line·120 | 412 | ····.line·120 |
411 | ····new-instance·v0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow$RowAttributes; | 413 | ····new-instance·v0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow$RowAttributes; |
412 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->mRowAttributesStack:Ljava/util/ArrayDeque; | 414 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->mRowAttributesStack:Ljava/util/ArrayDeque; |
415 | ····.line·121 | ||
413 | ····invoke-virtual·{v1},·Ljava/util/ArrayDeque;->peek()Ljava/lang/Object; | 416 | ····invoke-virtual·{v1},·Ljava/util/ArrayDeque;->peek()Ljava/lang/Object; |
414 | ····move-result-object·v1 | 417 | ····move-result-object·v1 |
415 | ····check-cast·v1,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow$RowAttributes; | 418 | ····check-cast·v1,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow$RowAttributes; |
416 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyboardParams; | 419 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardRow;->mParams:Lcom/android/inputmethod/keyboard/internal/KeyboardParams; |
Offset 496, 14 lines modified | Offset 496, 15 lines modified | ||
496 | ····move-result·v1 | 496 | ····move-result·v1 |
497 | ····if-nez·v1,·:cond_8 | 497 | ····if-nez·v1,·:cond_8 |
498 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; | 498 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; |
499 | ····.line·562 | ||
499 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/ShiftKeyState;->isPressing()Z | 500 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/ShiftKeyState;->isPressing()Z |
500 | ····move-result·v1 | 501 | ····move-result·v1 |
501 | ····if-nez·v1,·:cond_7 | 502 | ····if-nez·v1,·:cond_7 |
502 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; | 503 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; |
Offset 544, 14 lines modified | Offset 545, 15 lines modified | ||
544 | ····move-result·v1 | 545 | ····move-result·v1 |
545 | ····if-eqz·v1,·:cond_a | 546 | ····if-eqz·v1,·:cond_a |
546 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; | 547 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; |
548 | ····.line·569 | ||
547 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/ShiftKeyState;->isPressingOnShifted()Z | 549 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/ShiftKeyState;->isPressingOnShifted()Z |
548 | ····move-result·v1 | 550 | ····move-result·v1 |
549 | ····if-eqz·v1,·:cond_a | 551 | ····if-eqz·v1,·:cond_a |
550 | ····if-nez·p1,·:cond_a | 552 | ····if-nez·p1,·:cond_a |
Offset 572, 14 lines modified | Offset 574, 15 lines modified | ||
572 | ····move-result·v1 | 574 | ····move-result·v1 |
573 | ····if-eqz·v1,·:cond_0 | 575 | ····if-eqz·v1,·:cond_0 |
574 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; | 576 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; |
577 | ····.line·574 | ||
575 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/ShiftKeyState;->isPressing()Z | 578 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/ShiftKeyState;->isPressing()Z |
576 | ····move-result·v1 | 579 | ····move-result·v1 |
577 | ····if-eqz·v1,·:cond_0 | 580 | ····if-eqz·v1,·:cond_0 |
578 | ····if-nez·p1,·:cond_0 | 581 | ····if-nez·p1,·:cond_0 |
Offset 901, 14 lines modified | Offset 904, 15 lines modified | ||
901 | ····move-result·v0 | 904 | ····move-result·v0 |
902 | ····if-eqz·v0,·:cond_1 | 905 | ····if-eqz·v0,·:cond_1 |
903 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mAlphabetShiftState:Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState; | 906 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mAlphabetShiftState:Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState; |
907 | ····.line·234 | ||
904 | ····invoke-virtual·{v0},·Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState;->isShiftLockShifted()Z | 908 | ····invoke-virtual·{v0},·Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState;->isShiftLockShifted()Z |
905 | ····move-result·v0 | 909 | ····move-result·v0 |
906 | ····if-eqz·v0,·:cond_2 | 910 | ····if-eqz·v0,·:cond_2 |
907 | ····.line·235 | 911 | ····.line·235 |
Offset 1786, 14 lines modified | Offset 1790, 15 lines modified | ||
1786 | ····move-result·v1 | 1790 | ····move-result·v1 |
1787 | ····if-nez·v1,·:cond_4 | 1791 | ····if-nez·v1,·:cond_4 |
1788 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mAlphabetShiftState:Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState; | 1792 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mAlphabetShiftState:Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState; |
1793 | ····.line·376 | ||
1789 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState;->isManualShifted()Z | 1794 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/keyboard/internal/AlphabetShiftState;->isManualShifted()Z |
1790 | ····move-result·v1 | 1795 | ····move-result·v1 |
1791 | ····if-eqz·v1,·:cond_5 | 1796 | ····if-eqz·v1,·:cond_5 |
1792 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; | 1797 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mShiftKeyState:Lcom/android/inputmethod/keyboard/internal/ShiftKeyState; |
Offset 1815, 15 lines modified | Offset 1820, 15 lines modified | ||
1815 | ····.line·378 | 1820 | ····.line·378 |
1816 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mSwitchActions:Lcom/android/inputmethod/keyboard/internal/KeyboardState$SwitchActions; | 1821 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardState;->mSwitchActions:Lcom/android/inputmethod/keyboard/internal/KeyboardState$SwitchActions; |
1817 | ····invoke-interface·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyboardState$SwitchActions;->setAlphabetKeyboard()V | 1822 | ····invoke-interface·{v1},·Lcom/android/inputmethod/keyboard/internal/KeyboardState$SwitchActions;->setAlphabetKeyboard()V |
1818 | ····goto·:goto_0 | 1823 | ····goto·:goto_0 |
1819 |
····.line·37 |
1824 | ····.line·376 |
1820 | ····.end·local·v0····#·"needsToResetAutoCaps":Z | 1825 | ····.end·local·v0····#·"needsToResetAutoCaps":Z |
1821 | ····:cond_5 | 1826 | ····:cond_5 |
1822 | ····const/4·v0,·0x0 | 1827 | ····const/4·v0,·0x0 |
1823 | ····goto·:goto_1 | 1828 | ····goto·:goto_1 |
1824 | .end·method | 1829 | .end·method |
Offset 1943, 14 lines modified | Offset 1948, 15 lines modified | ||
1943 | ····move-result·v3 | 1948 | ····move-result·v3 |
Max diff block lines reached; 1694/4678 bytes (36.21%) of diff not shown. |
Offset 30, 14 lines modified | Offset 30, 15 lines modified | ||
30 | .field·final·synthetic·val$resourcePackageName:Ljava/lang/String; | 30 | .field·final·synthetic·val$resourcePackageName:Ljava/lang/String; |
31 | #·direct·methods | 31 | #·direct·methods |
32 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet;Landroid/content/res/Resources;Ljava/lang/String;)V | 32 | .method·constructor·<init>(Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet;Landroid/content/res/Resources;Ljava/lang/String;)V |
33 | ····.locals·0 | 33 | ····.locals·0 |
34 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet; | ||
34 | ····.prologue | 35 | ····.prologue |
35 | ····.line·47 | 36 | ····.line·47 |
36 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet$1;->this$0:Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet; | 37 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet$1;->this$0:Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet; |
37 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet$1;->val$res:Landroid/content/res/Resources; | 38 | ····iput-object·p2,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet$1;->val$res:Landroid/content/res/Resources; |
Offset 206, 63 lines modified | Offset 206, 58 lines modified | ||
206 | ····move-result-object·v0 | 206 | ····move-result-object·v0 |
207 | ····goto·:goto_0 | 207 | ····goto·:goto_0 |
208 | .end·method | 208 | .end·method |
209 | .method·loadStringResourcesInternal(Landroid/content/res/Resources;[Ljava/lang/String;Ljava/lang/String;)V | 209 | .method·loadStringResourcesInternal(Landroid/content/res/Resources;[Ljava/lang/String;Ljava/lang/String;)V |
210 |
····.locals· |
210 | ····.locals·6 |
211 | ····.param·p1,·"res"····#·Landroid/content/res/Resources; | 211 | ····.param·p1,·"res"····#·Landroid/content/res/Resources; |
212 | ····.param·p2,·"resourceNames"····#·[Ljava/lang/String; | 212 | ····.param·p2,·"resourceNames"····#·[Ljava/lang/String; |
213 | ····.param·p3,·"resourcePackageName"····#·Ljava/lang/String; | 213 | ····.param·p3,·"resourcePackageName"····#·Ljava/lang/String; |
214 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 214 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
215 | ····.end·annotation | 215 | ····.end·annotation |
216 | ····.prologue | 216 | ····.prologue |
217 | ····.line·62 | 217 | ····.line·62 |
218 |
···· |
218 | ····array-length·v3,·p2 |
219 | ····.local·v0,·"arr$":[Ljava/lang/String; | ||
220 | ····array-length·v2,·v0 | ||
221 |
···· |
219 | ····const/4·v2,·0x0 |
222 | ····const/4·v1,·0x0 | ||
223 | ····.local·v1,·"i$":I | ||
224 | ····:goto_0 | 220 | ····:goto_0 |
225 |
····if-ge·v |
221 | ····if-ge·v2,·v3,·:cond_0 |
226 |
····aget-object·v |
222 | ····aget-object·v1,·p2,·v2 |
227 | ····.line·63 | 223 | ····.line·63 |
228 |
····.local·v |
224 | ····.local·v1,·"resName":Ljava/lang/String; |
229 |
····const-string·v |
225 | ····const-string·v4,·"string" |
230 |
····invoke-virtual·{p1,·v |
226 | ····invoke-virtual·{p1,·v1,·v4,·p3},·Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I |
231 |
····move-result·v |
227 | ····move-result·v0 |
232 | ····.line·64 | 228 | ····.line·64 |
233 |
····.local·v |
229 | ····.local·v0,·"resId":I |
234 |
····iget-object·v |
230 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet;->mResourceNameToTextsMap:Ljava/util/HashMap; |
235 |
····invoke-virtual·{p1,·v |
231 | ····invoke-virtual·{p1,·v0},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
236 |
····move-result-object·v |
232 | ····move-result-object·v5 |
237 |
····invoke-virtual·{v |
233 | ····invoke-virtual·{v4,·v1,·v5},·Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
238 | ····.line·62 | 234 | ····.line·62 |
239 |
····add-int/lit8·v |
235 | ····add-int/lit8·v2,·v2,·0x1 |
240 | ····goto·:goto_0 | 236 | ····goto·:goto_0 |
241 | ····.line·66 | 237 | ····.line·66 |
242 |
····.end·local·v |
238 | ····.end·local·v0····#·"resId":I |
243 |
····.end·local·v |
239 | ····.end·local·v1····#·"resName":Ljava/lang/String; |
244 | ····:cond_0 | 240 | ····:cond_0 |
245 | ····return-void | 241 | ····return-void |
246 | .end·method | 242 | .end·method |
247 | .method·public·resolveTextReference(Ljava/lang/String;)Ljava/lang/String; | 243 | .method·public·resolveTextReference(Ljava/lang/String;)Ljava/lang/String; |
248 | ····.locals·12 | 244 | ····.locals·12 |
249 | ····.param·p1,·"rawText"····#·Ljava/lang/String; | 245 | ····.param·p1,·"rawText"····#·Ljava/lang/String; |
Offset 530, 26 lines modified | Offset 525, 28 lines modified | ||
530 | ····invoke-direct·{v0,·p0,·v2,·v3},·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet$1;-><init>(Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet;Landroid/content/res/Resources;Ljava/lang/String;)V | 525 | ····invoke-direct·{v0,·p0,·v2,·v3},·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet$1;-><init>(Lcom/android/inputmethod/keyboard/internal/KeyboardTextsSet;Landroid/content/res/Resources;Ljava/lang/String;)V |
531 | ····.line·55 | 526 | ····.line·55 |
532 | ····.local·v0,·"job":Lcom/android/inputmethod/latin/utils/RunInLocale;,·"Lcom/android/inputmethod/latin/utils/RunInLocale<Ljava/lang/Void;>;" | 527 | ····.local·v0,·"job":Lcom/android/inputmethod/latin/utils/RunInLocale;,·"Lcom/android/inputmethod/latin/utils/RunInLocale<Ljava/lang/Void;>;" |
533 | ····const-string·v4,·"en_US" | 528 | ····const-string·v4,·"en_US" |
529 | ····.line·56 | ||
534 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; | 530 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; |
535 | ····move-result-object·v5 | 531 | ····move-result-object·v5 |
536 | ····invoke-virtual·{v4,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 532 | ····invoke-virtual·{v4,·v5},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
537 | ····move-result·v4 | 533 | ····move-result·v4 |
538 | ····if-eqz·v4,·:cond_0 | 534 | ····if-eqz·v4,·:cond_0 |
539 | ····const/4·p1,·0x0 | 535 | ····const/4·p1,·0x0 |
536 | ····.line·55 | ||
540 | ····.end·local·p1····#·"locale":Ljava/util/Locale; | 537 | ····.end·local·p1····#·"locale":Ljava/util/Locale; |
541 | ····:cond_0 | 538 | ····:cond_0 |
542 | ····invoke-virtual·{v0,·v2,·p1},·Lcom/android/inputmethod/latin/utils/RunInLocale;->runInLocale(Landroid/content/res/Resources;Ljava/util/Locale;)Ljava/lang/Object; | 539 | ····invoke-virtual·{v0,·v2,·p1},·Lcom/android/inputmethod/latin/utils/RunInLocale;->runInLocale(Landroid/content/res/Resources;Ljava/util/Locale;)Ljava/lang/Object; |
543 | ····.line·57 | 540 | ····.line·57 |
544 | ····return-void | 541 | ····return-void |
545 | .end·method | 542 | .end·method |
Offset 4284, 14 lines modified | Offset 4284, 15 lines modified | ||
4284 | ····invoke-virtual·{v3,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 4284 | ····invoke-virtual·{v3,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
4285 | ····move-result-object·v5 | 4285 | ····move-result-object·v5 |
4286 | ····sget-object·v3,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsTable;->sTextsTableToLocaleMap:Ljava/util/HashMap; | 4286 | ····sget-object·v3,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsTable;->sTextsTableToLocaleMap:Ljava/util/HashMap; |
4287 | ····.line·56 | ||
4287 | ····invoke-virtual·{v3,·p1},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 4288 | ····invoke-virtual·{v3,·p1},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
4288 | ····move-result-object·v3 | 4289 | ····move-result-object·v3 |
4289 | ····check-cast·v3,·Ljava/lang/String; | 4290 | ····check-cast·v3,·Ljava/lang/String; |
4290 | ····invoke-virtual·{v5,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 4291 | ····invoke-virtual·{v5,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 4386, 14 lines modified | Offset 4387, 15 lines modified | ||
4386 | ····invoke-virtual·{v3,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 4387 | ····invoke-virtual·{v3,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
4387 | ····move-result-object·v5 | 4388 | ····move-result-object·v5 |
4388 | ····sget-object·v3,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsTable;->sTextsTableToLocaleMap:Ljava/util/HashMap; | 4389 | ····sget-object·v3,·Lcom/android/inputmethod/keyboard/internal/KeyboardTextsTable;->sTextsTableToLocaleMap:Ljava/util/HashMap; |
4390 | ····.line·69 | ||
4389 | ····invoke-virtual·{v3,·p1},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 4391 | ····invoke-virtual·{v3,·p1},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
4390 | ····move-result-object·v3 | 4392 | ····move-result-object·v3 |
4391 | ····check-cast·v3,·Ljava/lang/String; | 4393 | ····check-cast·v3,·Ljava/lang/String; |
4392 | ····invoke-virtual·{v5,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 4394 | ····invoke-virtual·{v5,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 38, 15 lines modified | Offset 38, 14 lines modified | ||
38 | .method·public·constructor·<init>()V | 38 | .method·public·constructor·<init>()V |
39 | ····.locals·0 | 39 | ····.locals·0 |
40 | ····.prologue | 40 | ····.prologue |
41 | ····.line·30 | 41 | ····.line·30 |
42 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 42 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
43 | ····.line·32 | ||
44 | ····return-void | 43 | ····return-void |
45 | .end·method | 44 | .end·method |
46 | .method·static·synthetic·access$000()Ljava/lang/String; | 45 | .method·static·synthetic·access$000()Ljava/lang/String; |
47 | ····.locals·1 | 46 | ····.locals·1 |
48 | ····.prologue | 47 | ····.prologue |
Offset 29, 14 lines modified | Offset 29, 15 lines modified | ||
29 | .method·static·constructor·<clinit>()V | 29 | .method·static·constructor·<clinit>()V |
30 | ····.locals·1 | 30 | ····.locals·1 |
31 | ····.prologue | 31 | ····.prologue |
32 | ····.line·118 | 32 | ····.line·118 |
33 | ····const/16·v0,·0x25 | 33 | ····const/16·v0,·0x25 |
34 | ····.line·119 | ||
34 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/StringUtils;->newSingleCodePointString(I)Ljava/lang/String; | 35 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/StringUtils;->newSingleCodePointString(I)Ljava/lang/String; |
35 | ····move-result-object·v0 | 36 | ····move-result-object·v0 |
36 | ····sput-object·v0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->ADDITIONAL_MORE_KEY_MARKER:Ljava/lang/String; | 37 | ····sput-object·v0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->ADDITIONAL_MORE_KEY_MARKER:Ljava/lang/String; |
37 | ····.line·174 | 38 | ····.line·174 |
Offset 71, 31 lines modified | Offset 72, 33 lines modified | ||
71 | ····const-string·v2,·"Empty·more·key·spec" | 72 | ····const-string·v2,·"Empty·more·key·spec" |
72 | ····invoke-direct·{v1,·v2},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser$KeySpecParserError;-><init>(Ljava/lang/String;)V | 73 | ····invoke-direct·{v1,·v2},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser$KeySpecParserError;-><init>(Ljava/lang/String;)V |
73 | ····throw·v1 | 74 | ····throw·v1 |
74 |
····.line·5 |
75 | ····.line·55 |
75 | ····:cond_0 | 76 | ····:cond_0 |
76 | ····invoke-static·{p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getLabel(Ljava/lang/String;)Ljava/lang/String; | 77 | ····invoke-static·{p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getLabel(Ljava/lang/String;)Ljava/lang/String; |
77 | ····move-result-object·v1 | 78 | ····move-result-object·v1 |
79 | ····.line·54 | ||
78 | ····invoke-static·{v1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfStringForLocale(Ljava/lang/String;ZLjava/util/Locale;)Ljava/lang/String; | 80 | ····invoke-static·{v1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfStringForLocale(Ljava/lang/String;ZLjava/util/Locale;)Ljava/lang/String; |
79 | ····move-result-object·v1 | 81 | ····move-result-object·v1 |
80 | ····iput-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mLabel:Ljava/lang/String; | 82 | ····iput-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mLabel:Ljava/lang/String; |
81 |
····.line·5 |
83 | ····.line·57 |
82 | ····invoke-static·{p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getCode(Ljava/lang/String;)I | 84 | ····invoke-static·{p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getCode(Ljava/lang/String;)I |
83 | ····move-result·v1 | 85 | ····move-result·v1 |
86 | ····.line·56 | ||
84 | ····invoke-static·{v1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfCodeForLocale(IZLjava/util/Locale;)I | 87 | ····invoke-static·{v1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfCodeForLocale(IZLjava/util/Locale;)I |
85 | ····move-result·v0 | 88 | ····move-result·v0 |
86 | ····.line·58 | 89 | ····.line·58 |
87 | ····.local·v0,·"code":I | 90 | ····.local·v0,·"code":I |
88 | ····const/16·v1,·-0xf | 91 | ····const/16·v1,·-0xf |
Offset 123, 19 lines modified | Offset 126, 20 lines modified | ||
123 | ····.line·69 | 126 | ····.line·69 |
124 | ····return-void | 127 | ····return-void |
125 | ····.line·64 | 128 | ····.line·64 |
126 | ····:cond_1 | 129 | ····:cond_1 |
127 | ····iput·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mCode:I | 130 | ····iput·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mCode:I |
128 |
····.line·6 |
131 | ····.line·66 |
129 | ····invoke-static·{p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getOutputText(Ljava/lang/String;)Ljava/lang/String; | 132 | ····invoke-static·{p1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getOutputText(Ljava/lang/String;)Ljava/lang/String; |
130 | ····move-result-object·v1 | 133 | ····move-result-object·v1 |
134 | ····.line·65 | ||
131 | ····invoke-static·{v1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfStringForLocale(Ljava/lang/String;ZLjava/util/Locale;)Ljava/lang/String; | 135 | ····invoke-static·{v1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/StringUtils;->toUpperCaseOfStringForLocale(Ljava/lang/String;ZLjava/util/Locale;)Ljava/lang/String; |
132 | ····move-result-object·v1 | 136 | ····move-result-object·v1 |
133 | ····iput-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mOutputText:Ljava/lang/String; | 137 | ····iput-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mOutputText:Ljava/lang/String; |
134 | ····goto·:goto_0 | 138 | ····goto·:goto_0 |
Offset 915, 24 lines modified | Offset 919, 26 lines modified | ||
915 | ····if-ne·v3,·v4,·:cond_2 | 919 | ····if-ne·v3,·v4,·:cond_2 |
916 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mLabel:Ljava/lang/String; | 920 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mLabel:Ljava/lang/String; |
917 | ····iget-object·v4,·v0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mLabel:Ljava/lang/String; | 921 | ····iget-object·v4,·v0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mLabel:Ljava/lang/String; |
922 | ····.line·95 | ||
918 | ····invoke-static·{v3,·v4},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z | 923 | ····invoke-static·{v3,·v4},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z |
919 | ····move-result·v3 | 924 | ····move-result·v3 |
920 | ····if-eqz·v3,·:cond_2 | 925 | ····if-eqz·v3,·:cond_2 |
921 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mOutputText:Ljava/lang/String; | 926 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mOutputText:Ljava/lang/String; |
922 | ····iget-object·v4,·v0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mOutputText:Ljava/lang/String; | 927 | ····iget-object·v4,·v0,·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->mOutputText:Ljava/lang/String; |
928 | ····.line·96 | ||
923 | ····invoke-static·{v3,·v4},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z | 929 | ····invoke-static·{v3,·v4},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z |
924 | ····move-result·v3 | 930 | ····move-result·v3 |
925 | ····if-nez·v3,·:cond_0 | 931 | ····if-nez·v3,·:cond_0 |
926 | ····:cond_2 | 932 | ····:cond_2 |
Offset 1075, 14 lines modified | Offset 1081, 15 lines modified | ||
Max diff block lines reached; 814/4118 bytes (19.77%) of diff not shown. |
Offset 186, 14 lines modified | Offset 186, 15 lines modified | ||
186 | ····.line·90 | 186 | ····.line·90 |
187 | ····.local·v3,·"radius":F | 187 | ····.local·v3,·"radius":F |
188 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mRoundedLine:Lcom/android/inputmethod/keyboard/internal/RoundedLine; | 188 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mRoundedLine:Lcom/android/inputmethod/keyboard/internal/RoundedLine; |
189 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewFrom:[I | 189 | ····iget-object·v1,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewFrom:[I |
190 | ····.line·91 | ||
190 | ····invoke-static·{v1},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I | 191 | ····invoke-static·{v1},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I |
191 | ····move-result·v1 | 192 | ····move-result·v1 |
192 | ····int-to-float·v1,·v1 | 193 | ····int-to-float·v1,·v1 |
193 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewFrom:[I | 194 | ····iget-object·v2,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewFrom:[I |
Offset 202, 14 lines modified | Offset 203, 15 lines modified | ||
202 | ····move-result·v2 | 203 | ····move-result·v2 |
203 | ····int-to-float·v2,·v2 | 204 | ····int-to-float·v2,·v2 |
204 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewTo:[I | 205 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewTo:[I |
206 | ····.line·92 | ||
205 | ····invoke-static·{v4},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I | 207 | ····invoke-static·{v4},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I |
206 | ····move-result·v4 | 208 | ····move-result·v4 |
207 | ····int-to-float·v4,·v4 | 209 | ····int-to-float·v4,·v4 |
208 | ····iget-object·v5,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewTo:[I | 210 | ····iget-object·v5,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPreviewTo:[I |
Offset 218, 14 lines modified | Offset 220, 15 lines modified | ||
218 | ····move-result·v5 | 220 | ····move-result·v5 |
219 | ····int-to-float·v5,·v5 | 221 | ····int-to-float·v5,·v5 |
220 | ····move·v6,·v3 | 222 | ····move·v6,·v3 |
223 | ····.line·90 | ||
221 | ····invoke-virtual/range·{v0·..·v6},·Lcom/android/inputmethod/keyboard/internal/RoundedLine;->makePath(FFFFFF)Landroid/graphics/Path; | 224 | ····invoke-virtual/range·{v0·..·v6},·Lcom/android/inputmethod/keyboard/internal/RoundedLine;->makePath(FFFFFF)Landroid/graphics/Path; |
222 | ····move-result-object·v7 | 225 | ····move-result-object·v7 |
223 | ····.line·93 | 226 | ····.line·93 |
224 | ····.local·v7,·"path":Landroid/graphics/Path; | 227 | ····.local·v7,·"path":Landroid/graphics/Path; |
225 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPaint:Landroid/graphics/Paint; | 228 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/keyboard/internal/SlidingKeyInputDrawingPreview;->mPaint:Landroid/graphics/Paint; |
Offset 363, 20 lines modified | Offset 363, 22 lines modified | ||
363 | ····.line·172 | 363 | ····.line·172 |
364 | ····const/4·v0,·0x4 | 364 | ····const/4·v0,·0x4 |
365 | ····invoke-virtual·{p0,·v0},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->obtainMessage(I)Landroid/os/Message; | 365 | ····invoke-virtual·{p0,·v0},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->obtainMessage(I)Landroid/os/Message; |
366 | ····move-result-object·v0 | 366 | ····move-result-object·v0 |
367 | ····.line·173 | ||
367 | ····invoke-static·{},·Landroid/view/ViewConfiguration;->getDoubleTapTimeout()I | 368 | ····invoke-static·{},·Landroid/view/ViewConfiguration;->getDoubleTapTimeout()I |
368 | ····move-result·v1 | 369 | ····move-result·v1 |
369 | ····int-to-long·v2,·v1 | 370 | ····int-to-long·v2,·v1 |
371 | ····.line·172 | ||
370 | ····invoke-virtual·{p0,·v0,·v2,·v3},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->sendMessageDelayed(Landroid/os/Message;J)Z | 372 | ····invoke-virtual·{p0,·v0,·v2,·v3},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->sendMessageDelayed(Landroid/os/Message;J)Z |
371 | ····.line·174 | 373 | ····.line·174 |
372 | ····return-void | 374 | ····return-void |
373 | .end·method | 375 | .end·method |
374 | .method·public·startKeyRepeatTimerOf(Lcom/android/inputmethod/keyboard/PointerTracker;II)V | 376 | .method·public·startKeyRepeatTimerOf(Lcom/android/inputmethod/keyboard/PointerTracker;II)V |
Offset 402, 24 lines modified | Offset 404, 26 lines modified | ||
402 | ····:goto_0 | 404 | ····:goto_0 |
403 | ····return-void | 405 | ····return-void |
404 | ····.line·89 | 406 | ····.line·89 |
405 | ····:cond_1 | 407 | ····:cond_1 |
406 | ····const/4·v1,·0x1 | 408 | ····const/4·v1,·0x1 |
409 | ····.line·90 | ||
407 | ····invoke-virtual·{v0},·Lcom/android/inputmethod/keyboard/Key;->getCode()I | 410 | ····invoke-virtual·{v0},·Lcom/android/inputmethod/keyboard/Key;->getCode()I |
408 | ····move-result·v2 | 411 | ····move-result·v2 |
409 | ····invoke-virtual·{p0,·v1,·v2,·p2,·p1},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message; | 412 | ····invoke-virtual·{p0,·v1,·v2,·p2,·p1},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message; |
410 | ····move-result-object·v1 | 413 | ····move-result-object·v1 |
411 | ····int-to-long·v2,·p3 | 414 | ····int-to-long·v2,·p3 |
415 | ····.line·89 | ||
412 | ····invoke-virtual·{p0,·v1,·v2,·v3},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->sendMessageDelayed(Landroid/os/Message;J)Z | 416 | ····invoke-virtual·{p0,·v1,·v2,·v3},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->sendMessageDelayed(Landroid/os/Message;J)Z |
413 | ····goto·:goto_0 | 417 | ····goto·:goto_0 |
414 | .end·method | 418 | .end·method |
415 | .method·public·startLongPressTimerOf(Lcom/android/inputmethod/keyboard/PointerTracker;I)V | 419 | .method·public·startLongPressTimerOf(Lcom/android/inputmethod/keyboard/PointerTracker;I)V |
416 | ····.locals·6 | 420 | ····.locals·6 |
Offset 539, 24 lines modified | Offset 543, 25 lines modified | ||
539 | ····if-eqz·v1,·:cond_0 | 543 | ····if-eqz·v1,·:cond_0 |
540 | ····.line·152 | 544 | ····.line·152 |
541 | ····invoke-interface·{v0},·Lcom/android/inputmethod/keyboard/internal/TimerHandler$Callbacks;->startWhileTypingFadeinAnimation()V | 545 | ····invoke-interface·{v0},·Lcom/android/inputmethod/keyboard/internal/TimerHandler$Callbacks;->startWhileTypingFadeinAnimation()V |
542 | ····goto·:goto_0 | 546 | ····goto·:goto_0 |
543 |
····.line·15 |
547 | ····.line·158 |
544 | ····:cond_3 | 548 | ····:cond_3 |
545 | ····invoke-virtual·{p0,·v4},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->obtainMessage(I)Landroid/os/Message; | 549 | ····invoke-virtual·{p0,·v4},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->obtainMessage(I)Landroid/os/Message; |
546 | ····move-result-object·v3 | 550 | ····move-result-object·v3 |
547 | ····iget·v4,·p0,·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->mIgnoreAltCodeKeyTimeout:I | 551 | ····iget·v4,·p0,·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->mIgnoreAltCodeKeyTimeout:I |
548 | ····int-to-long·v4,·v4 | 552 | ····int-to-long·v4,·v4 |
553 | ····.line·157 | ||
549 | ····invoke-virtual·{p0,·v3,·v4,·v5},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->sendMessageDelayed(Landroid/os/Message;J)Z | 554 | ····invoke-virtual·{p0,·v3,·v4,·v5},·Lcom/android/inputmethod/keyboard/internal/TimerHandler;->sendMessageDelayed(Landroid/os/Message;J)Z |
550 | ····.line·159 | 555 | ····.line·159 |
551 | ····if-nez·v1,·:cond_0 | 556 | ····if-nez·v1,·:cond_0 |
552 | ····.line·162 | 557 | ····.line·162 |
553 | ····invoke-interface·{v0},·Lcom/android/inputmethod/keyboard/internal/TimerHandler$Callbacks;->startWhileTypingFadeoutAnimation()V | 558 | ····invoke-interface·{v0},·Lcom/android/inputmethod/keyboard/internal/TimerHandler$Callbacks;->startWhileTypingFadeoutAnimation()V |
Offset 176, 15 lines modified | Offset 176, 15 lines modified | ||
176 | ····invoke-direct/range·{v2·..·v8},·Lcom/android/inputmethod/latin/BinaryDictionary;->loadDictionary(Ljava/lang/String;JJZ)V | 176 | ····invoke-direct/range·{v2·..·v8},·Lcom/android/inputmethod/latin/BinaryDictionary;->loadDictionary(Ljava/lang/String;JJZ)V |
177 | ····.line·136 | 177 | ····.line·136 |
178 | ····return-void | 178 | ····return-void |
179 | .end·method | 179 | .end·method |
180 | .method·public·constructor·<init>(Ljava/lang/String;ZLjava/util/Locale;Ljava/lang/String;JLjava/util/Map;)V | 180 | .method·public·constructor·<init>(Ljava/lang/String;ZLjava/util/Locale;Ljava/lang/String;JLjava/util/Map;)V |
181 |
····.locals· |
181 | ····.locals·7 |
182 | ····.param·p1,·"filename"····#·Ljava/lang/String; | 182 | ····.param·p1,·"filename"····#·Ljava/lang/String; |
183 | ····.param·p2,·"useFullEditDistance"····#·Z | 183 | ····.param·p2,·"useFullEditDistance"····#·Z |
184 | ····.param·p3,·"locale"····#·Ljava/util/Locale; | 184 | ····.param·p3,·"locale"····#·Ljava/util/Locale; |
185 | ····.param·p4,·"dictType"····#·Ljava/lang/String; | 185 | ····.param·p4,·"dictType"····#·Ljava/lang/String; |
186 | ····.param·p5,·"formatVersion"····#·J | 186 | ····.param·p5,·"formatVersion"····#·J |
187 | ····.annotation·system·Ldalvik/annotation/Signature; | 187 | ····.annotation·system·Ldalvik/annotation/Signature; |
188 | ········value·=·{ | 188 | ········value·=·{ |
Offset 204, 122 lines modified | Offset 204, 117 lines modified | ||
204 | ····.prologue | 204 | ····.prologue |
205 | ····.line·149 | 205 | ····.line·149 |
206 | ····.local·p7,·"attributeMap":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;" | 206 | ····.local·p7,·"attributeMap":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;" |
207 | ····invoke-direct·{p0,·p4},·Lorg/smc/inputmethod/indic/Dictionary;-><init>(Ljava/lang/String;)V | 207 | ····invoke-direct·{p0,·p4},·Lorg/smc/inputmethod/indic/Dictionary;-><init>(Ljava/lang/String;)V |
208 | ····.line·101 | 208 | ····.line·101 |
209 |
····new-instance·v |
209 | ····new-instance·v4,·Landroid/util/SparseArray; |
210 |
····invoke-direct·{v |
210 | ····invoke-direct·{v4},·Landroid/util/SparseArray;-><init>()V |
211 |
····iput-object·v |
211 | ····iput-object·v4,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mDicTraverseSessions:Landroid/util/SparseArray; |
212 | ····.line·150 | 212 | ····.line·150 |
213 | ····iput-object·p3,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mLocale:Ljava/util/Locale; | 213 | ····iput-object·p3,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mLocale:Ljava/util/Locale; |
214 | ····.line·151 | 214 | ····.line·151 |
215 |
····const-wide/16·v |
215 | ····const-wide/16·v4,·0x0 |
216 |
····iput-wide·v |
216 | ····iput-wide·v4,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mDictSize:J |
217 | ····.line·152 | 217 | ····.line·152 |
218 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mDictFilePath:Ljava/lang/String; | 218 | ····iput-object·p1,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mDictFilePath:Ljava/lang/String; |
219 | ····.line·154 | 219 | ····.line·154 |
220 |
····const/4·v |
220 | ····const/4·v4,·0x1 |
221 |
····iput-boolean·v |
221 | ····iput-boolean·v4,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mIsUpdatable:Z |
222 | ····.line·155 | 222 | ····.line·155 |
223 |
····const/4·v |
223 | ····const/4·v4,·0x0 |
224 |
····iput-boolean·v |
224 | ····iput-boolean·v4,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mHasUpdated:Z |
225 | ····.line·156 | 225 | ····.line·156 |
226 | ····iput-boolean·p2,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mUseFullEditDistance:Z | 226 | ····iput-boolean·p2,·p0,·Lcom/android/inputmethod/latin/BinaryDictionary;->mUseFullEditDistance:Z |
227 | ····.line·157 | 227 | ····.line·157 |
228 |
····invoke-interfac |
228 | ····invoke-interface·{p7},·Ljava/util/Map;->size()I |
229 |
····move-result·v |
229 | ····move-result·v4 |
230 |
····new-array·v |
230 | ····new-array·v2,·v4,·[Ljava/lang/String; |
231 | ····.line·158 | 231 | ····.line·158 |
232 |
····.local·v |
232 | ····.local·v2,·"keyArray":[Ljava/lang/String; |
233 |
····invoke-interfac |
233 | ····invoke-interface·{p7},·Ljava/util/Map;->size()I |
234 |
····move-result·v |
234 | ····move-result·v4 |
235 |
····new-array·v |
235 | ····new-array·v3,·v4,·[Ljava/lang/String; |
236 | ····.line·159 | 236 | ····.line·159 |
237 |
····.local·v |
237 | ····.local·v3,·"valueArray":[Ljava/lang/String; |
238 |
····const/4·v |
238 | ····const/4·v0,·0x0 |
239 | ····.line·160 | 239 | ····.line·160 |
240 |
····.local·v |
240 | ····.local·v0,·"index":I |
241 |
····invoke-interfac |
241 | ····invoke-interface·{p7},·Ljava/util/Map;->keySet()Ljava/util/Set; |
242 |
····move-result-object·v |
242 | ····move-result-object·v4 |
243 |
····invoke-interface·{v |
243 | ····invoke-interface·{v4},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
244 |
····move-result-object·v |
244 | ····move-result-object·v5 |
245 | ····.local·v2,·"i$":Ljava/util/Iterator; | ||
246 | ····:goto_0 | 245 | ····:goto_0 |
247 |
····invoke-interface·{v |
246 | ····invoke-interface·{v5},·Ljava/util/Iterator;->hasNext()Z |
248 |
····move-result·v |
247 | ····move-result·v4 |
249 |
····if-eqz·v |
248 | ····if-eqz·v4,·:cond_0 |
250 |
····invoke-interface·{v |
249 | ····invoke-interface·{v5},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
251 |
····move-result-object·v |
250 | ····move-result-object·v1 |
252 |
····check-cast·v |
251 | ····check-cast·v1,·Ljava/lang/String; |
253 | ····.line·161 | 252 | ····.line·161 |
254 |
····.local·v |
253 | ····.local·v1,·"key":Ljava/lang/String; |
255 |
····aput-object·v |
254 | ····aput-object·v1,·v2,·v0 |
Max diff block lines reached; 8874/13336 bytes (66.54%) of diff not shown. |
Offset 121, 32 lines modified | Offset 121, 34 lines modified | ||
121 | ····invoke-direct·{v0},·Lorg/smc/inputmethod/indic/settings/NativeSuggestOptions;-><init>()V | 121 | ····invoke-direct·{v0},·Lorg/smc/inputmethod/indic/settings/NativeSuggestOptions;-><init>()V |
122 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/latin/DicTraverseSession;->mNativeSuggestOptions:Lorg/smc/inputmethod/indic/settings/NativeSuggestOptions; | 122 | ····iput-object·v0,·p0,·Lcom/android/inputmethod/latin/DicTraverseSession;->mNativeSuggestOptions:Lorg/smc/inputmethod/indic/settings/NativeSuggestOptions; |
123 | ····.line·56 | 123 | ····.line·56 |
124 | ····if-eqz·p1,·:cond_0 | 124 | ····if-eqz·p1,·:cond_0 |
125 | ····.line·57 | ||
125 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; | 126 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; |
126 | ····move-result-object·v0 | 127 | ····move-result-object·v0 |
128 | ····.line·56 | ||
127 | ····:goto_0 | 129 | ····:goto_0 |
128 | ····invoke-direct·{p0,·v0,·p4,·p5},·Lcom/android/inputmethod/latin/DicTraverseSession;->createNativeDicTraverseSession(Ljava/lang/String;J)J | 130 | ····invoke-direct·{p0,·v0,·p4,·p5},·Lcom/android/inputmethod/latin/DicTraverseSession;->createNativeDicTraverseSession(Ljava/lang/String;J)J |
129 | ····move-result-wide·v0 | 131 | ····move-result-wide·v0 |
130 | ····iput-wide·v0,·p0,·Lcom/android/inputmethod/latin/DicTraverseSession;->mNativeDicTraverseSession:J | 132 | ····iput-wide·v0,·p0,·Lcom/android/inputmethod/latin/DicTraverseSession;->mNativeDicTraverseSession:J |
131 | ····.line·58 | 133 | ····.line·58 |
132 | ····invoke-virtual·{p0,·p2,·p3},·Lcom/android/inputmethod/latin/DicTraverseSession;->initSession(J)V | 134 | ····invoke-virtual·{p0,·p2,·p3},·Lcom/android/inputmethod/latin/DicTraverseSession;->initSession(J)V |
133 | ····.line·59 | 135 | ····.line·59 |
134 | ····return-void | 136 | ····return-void |
135 |
····.line·5 |
137 | ····.line·57 |
136 | ····:cond_0 | 138 | ····:cond_0 |
137 | ····const-string·v0,·"" | 139 | ····const-string·v0,·"" |
138 | ····goto·:goto_0 | 140 | ····goto·:goto_0 |
139 | .end·method | 141 | .end·method |
140 | .method·private·closeInternal()V | 142 | .method·private·closeInternal()V |
Offset 73, 158 lines modified | Offset 73, 157 lines modified | ||
73 | .method·public·toString(IZ)Ljava/lang/String; | 73 | .method·public·toString(IZ)Ljava/lang/String; |
74 | ····.locals·12 | 74 | ····.locals·12 |
75 | ····.param·p1,·"indentCount"····#·I | 75 | ····.param·p1,·"indentCount"····#·I |
76 | ····.param·p2,·"plumbing"····#·Z | 76 | ····.param·p2,·"plumbing"····#·Z |
77 | ····.prologue | 77 | ····.prologue |
78 | ····.line·345 | 78 | ····.line·345 |
79 |
····new-instance·v |
79 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
80 |
····invoke-direct·{v |
80 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
81 | ····.line·346 | 81 | ····.line·346 |
82 |
····.local·v |
82 | ····.local·v1,·"indent":Ljava/lang/StringBuilder; |
83 | ····if-eqz·p2,·:cond_1 | 83 | ····if-eqz·p2,·:cond_1 |
84 | ····.line·347 | 84 | ····.line·347 |
85 |
····const-string·v |
85 | ····const-string·v4,·"H:" |
86 |
····invoke-virtual·{v |
86 | ····invoke-virtual·{v1,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
87 | ····.line·353 | 87 | ····.line·353 |
88 | ····:cond_0 | 88 | ····:cond_0 |
89 |
····new-instance·v |
89 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
90 |
····invoke-direct·{v |
90 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
91 | ····.line·354 | 91 | ····.line·354 |
92 |
····.local·v |
92 | ····.local·v3,·"s":Ljava/lang/StringBuilder; |
93 |
····iget-object·v |
93 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/latin/makedict/FormatSpec$DictionaryOptions;->mAttributes:Ljava/util/HashMap; |
94 |
····invoke-virtual·{v |
94 | ····invoke-virtual·{v4},·Ljava/util/HashMap;->keySet()Ljava/util/Set; |
95 |
····move-result-object·v |
95 | ····move-result-object·v4 |
96 |
····invoke-interface·{v |
96 | ····invoke-interface·{v4},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
97 |
····move-result-object·v |
97 | ····move-result-object·v5 |
98 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
99 | ····:goto_0 | 98 | ····:goto_0 |
100 |
····invoke-interface·{v |
99 | ····invoke-interface·{v5},·Ljava/util/Iterator;->hasNext()Z |
101 |
····move-result·v |
100 | ····move-result·v4 |
102 |
····if-eqz·v |
101 | ····if-eqz·v4,·:cond_3 |
103 |
····invoke-interface·{v |
102 | ····invoke-interface·{v5},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
104 |
····move-result-object·v |
103 | ····move-result-object·v2 |
105 |
····check-cast·v |
104 | ····check-cast·v2,·Ljava/lang/String; |
106 | ····.line·355 | 105 | ····.line·355 |
107 |
····.local·v |
106 | ····.local·v2,·"optionKey":Ljava/lang/String; |
108 |
····invoke-virtual·{v |
107 | ····invoke-virtual·{v3,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; |
109 | ····.line·356 | 108 | ····.line·356 |
110 |
····invoke-virtual·{v |
109 | ····invoke-virtual·{v3,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
111 | ····.line·357 | 110 | ····.line·357 |
112 |
····const-string·v |
111 | ····const-string·v4,·"·=·" |
113 |
····invoke-virtual·{v |
112 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
114 | ····.line·358 | 113 | ····.line·358 |
115 |
····const-string·v |
114 | ····const-string·v4,·"date" |
116 |
····invoke-virtual·{v |
115 | ····invoke-virtual·{v4,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
117 |
····move-result·v |
116 | ····move-result·v4 |
118 |
····if-eqz·v |
117 | ····if-eqz·v4,·:cond_2 |
119 | ····if-nez·p2,·:cond_2 | 118 | ····if-nez·p2,·:cond_2 |
120 | ····.line·360 | 119 | ····.line·360 |
121 | ····new-instance·v6,·Ljava/util/Date; | 120 | ····new-instance·v6,·Ljava/util/Date; |
122 | ····const-wide/16·v8,·0x3e8 | 121 | ····const-wide/16·v8,·0x3e8 |
123 |
····iget-object·v |
122 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/latin/makedict/FormatSpec$DictionaryOptions;->mAttributes:Ljava/util/HashMap; |
124 |
···· |
123 | ····.line·361 |
124 | ····invoke-virtual·{v4,·v2},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | ||
125 |
····move-result-object·v |
125 | ····move-result-object·v4 |
126 |
····check-cast·v |
126 | ····check-cast·v4,·Ljava/lang/String; |
127 |
····invoke-static·{v |
127 | ····invoke-static·{v4},·Ljava/lang/Long;->parseLong(Ljava/lang/String;)J |
128 | ····move-result-wide·v10 | 128 | ····move-result-wide·v10 |
129 | ····mul-long/2addr·v8,·v10 | 129 | ····mul-long/2addr·v8,·v10 |
130 | ····invoke-direct·{v6,·v8,·v9},·Ljava/util/Date;-><init>(J)V | 130 | ····invoke-direct·{v6,·v8,·v9},·Ljava/util/Date;-><init>(J)V |
131 | ····invoke-virtual·{v6},·Ljava/util/Date;->toString()Ljava/lang/String; | 131 | ····invoke-virtual·{v6},·Ljava/util/Date;->toString()Ljava/lang/String; |
Max diff block lines reached; 2883/7622 bytes (37.82%) of diff not shown. |
Offset 250, 15 lines modified | Offset 250, 15 lines modified | ||
250 | ····.local·v1,·"bigramTargetCount":I | 250 | ····.local·v1,·"bigramTargetCount":I |
251 | ····const/4·v3,·0x0 | 251 | ····const/4·v3,·0x0 |
252 | ····.local·v3,·"i":I | 252 | ····.local·v3,·"i":I |
253 | ····:goto_0 | 253 | ····:goto_0 |
254 | ····if-ge·v3,·v1,·:cond_0 | 254 | ····if-ge·v3,·v1,·:cond_0 |
255 |
····.line·9 |
255 | ····.line·92 |
256 | ····move-object/from16·v0,·p8 | 256 | ····move-object/from16·v0,·p8 |
257 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 257 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
258 | ····move-result-object·v6 | 258 | ····move-result-object·v6 |
259 | ····check-cast·v6,·[I | 259 | ····check-cast·v6,·[I |
Offset 269, 28 lines modified | Offset 269, 30 lines modified | ||
269 | ····.line·93 | 269 | ····.line·93 |
270 | ····.local·v2,·"bigramTargetString":Ljava/lang/String; | 270 | ····.local·v2,·"bigramTargetString":Ljava/lang/String; |
271 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/latin/makedict/WordProperty;->mBigrams:Ljava/util/ArrayList; | 271 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/latin/makedict/WordProperty;->mBigrams:Ljava/util/ArrayList; |
272 | ····new-instance·v8,·Lcom/android/inputmethod/latin/makedict/WeightedString; | 272 | ····new-instance·v8,·Lcom/android/inputmethod/latin/makedict/WeightedString; |
273 | ····.line·94 | ||
273 | ····move-object/from16·v0,·p9 | 274 | ····move-object/from16·v0,·p9 |
274 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 275 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
275 | ····move-result-object·v6 | 276 | ····move-result-object·v6 |
276 | ····check-cast·v6,·[I | 277 | ····check-cast·v6,·[I |
277 | ····invoke-static·{v6},·Lcom/android/inputmethod/latin/makedict/WordProperty;->createProbabilityInfoFromArray([I)Lcom/android/inputmethod/latin/makedict/ProbabilityInfo; | 278 | ····invoke-static·{v6},·Lcom/android/inputmethod/latin/makedict/WordProperty;->createProbabilityInfoFromArray([I)Lcom/android/inputmethod/latin/makedict/ProbabilityInfo; |
278 | ····move-result-object·v6 | 279 | ····move-result-object·v6 |
279 | ····invoke-direct·{v8,·v2,·v6},·Lcom/android/inputmethod/latin/makedict/WeightedString;-><init>(Ljava/lang/String;Lcom/android/inputmethod/latin/makedict/ProbabilityInfo;)V | 280 | ····invoke-direct·{v8,·v2,·v6},·Lcom/android/inputmethod/latin/makedict/WeightedString;-><init>(Ljava/lang/String;Lcom/android/inputmethod/latin/makedict/ProbabilityInfo;)V |
281 | ····.line·93 | ||
280 | ····invoke-virtual·{v7,·v8},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 282 | ····invoke-virtual·{v7,·v8},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
281 | ····.line·90 | 283 | ····.line·90 |
282 | ····add-int/lit8·v3,·v3,·0x1 | 284 | ····add-int/lit8·v3,·v3,·0x1 |
283 | ····goto·:goto_0 | 285 | ····goto·:goto_0 |
Offset 304, 15 lines modified | Offset 306, 15 lines modified | ||
304 | ····.line·98 | 306 | ····.line·98 |
305 | ····.local·v4,·"shortcutTargetCount":I | 307 | ····.local·v4,·"shortcutTargetCount":I |
306 | ····const/4·v3,·0x0 | 308 | ····const/4·v3,·0x0 |
307 | ····:goto_1 | 309 | ····:goto_1 |
308 | ····if-ge·v3,·v4,·:cond_1 | 310 | ····if-ge·v3,·v4,·:cond_1 |
309 |
····.line· |
311 | ····.line·100 |
310 | ····move-object/from16·v0,·p10 | 312 | ····move-object/from16·v0,·p10 |
311 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 313 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
312 | ····move-result-object·v6 | 314 | ····move-result-object·v6 |
313 | ····check-cast·v6,·[I | 315 | ····check-cast·v6,·[I |
Offset 323, 28 lines modified | Offset 325, 30 lines modified | ||
323 | ····.line·101 | 325 | ····.line·101 |
324 | ····.local·v5,·"shortcutTargetString":Ljava/lang/String; | 326 | ····.local·v5,·"shortcutTargetString":Ljava/lang/String; |
325 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/latin/makedict/WordProperty;->mShortcutTargets:Ljava/util/ArrayList; | 327 | ····iget-object·v7,·p0,·Lcom/android/inputmethod/latin/makedict/WordProperty;->mShortcutTargets:Ljava/util/ArrayList; |
326 | ····new-instance·v8,·Lcom/android/inputmethod/latin/makedict/WeightedString; | 328 | ····new-instance·v8,·Lcom/android/inputmethod/latin/makedict/WeightedString; |
329 | ····.line·102 | ||
327 | ····move-object/from16·v0,·p11 | 330 | ····move-object/from16·v0,·p11 |
328 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 331 | ····invoke-virtual·{v0,·v3},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
329 | ····move-result-object·v6 | 332 | ····move-result-object·v6 |
330 | ····check-cast·v6,·Ljava/lang/Integer; | 333 | ····check-cast·v6,·Ljava/lang/Integer; |
331 | ····invoke-virtual·{v6},·Ljava/lang/Integer;->intValue()I | 334 | ····invoke-virtual·{v6},·Ljava/lang/Integer;->intValue()I |
332 | ····move-result·v6 | 335 | ····move-result·v6 |
333 | ····invoke-direct·{v8,·v5,·v6},·Lcom/android/inputmethod/latin/makedict/WeightedString;-><init>(Ljava/lang/String;I)V | 336 | ····invoke-direct·{v8,·v5,·v6},·Lcom/android/inputmethod/latin/makedict/WeightedString;-><init>(Ljava/lang/String;I)V |
337 | ····.line·101 | ||
334 | ····invoke-virtual·{v7,·v8},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 338 | ····invoke-virtual·{v7,·v8},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
335 | ····.line·98 | 339 | ····.line·98 |
336 | ····add-int/lit8·v3,·v3,·0x1 | 340 | ····add-int/lit8·v3,·v3,·0x1 |
337 | ····goto·:goto_1 | 341 | ····goto·:goto_1 |
Offset 376, 58 lines modified | Offset 380, 63 lines modified | ||
376 | ····aput-object·v2,·v0,·v1 | 380 | ····aput-object·v2,·v0,·v1 |
377 | ····const/4·v1,·0x2 | 381 | ····const/4·v1,·0x2 |
Max diff block lines reached; 1856/4597 bytes (40.37%) of diff not shown. |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ····.line·64 | 75 | ····.line·64 |
76 | ····.local·v0,·"nameId":I | 76 | ····.local·v0,·"nameId":I |
77 | ····invoke-static·{p0,·p1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->getPlatformVersionDependentExtraValue(Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String; | 77 | ····invoke-static·{p0,·p1,·p2,·p3},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->getPlatformVersionDependentExtraValue(Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String; |
78 | ····move-result-object·v4 | 78 | ····move-result-object·v4 |
79 |
····.line·6 |
79 | ····.line·67 |
80 | ····.local·v4,·"platformVersionDependentExtraValues":Ljava/lang/String; | 80 | ····.local·v4,·"platformVersionDependentExtraValues":Ljava/lang/String; |
81 | ····invoke-static·{p0,·p1},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->getPlatformVersionIndependentSubtypeId(Ljava/lang/String;Ljava/lang/String;)I | 81 | ····invoke-static·{p0,·p1},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->getPlatformVersionIndependentSubtypeId(Ljava/lang/String;Ljava/lang/String;)I |
82 | ····move-result·v7 | 82 | ····move-result·v7 |
83 | ····.line·70 | 83 | ····.line·70 |
84 | ····.local·v7,·"platformVersionIndependentSubtypeId":I | 84 | ····.local·v7,·"platformVersionIndependentSubtypeId":I |
Offset 103, 77 lines modified | Offset 103, 74 lines modified | ||
103 | .end·method | 103 | .end·method |
104 | .method·public·static·createAdditionalSubtypesArray(Ljava/lang/String;)[Landroid/view/inputmethod/InputMethodSubtype; | 104 | .method·public·static·createAdditionalSubtypesArray(Ljava/lang/String;)[Landroid/view/inputmethod/InputMethodSubtype; |
105 | ····.locals·13 | 105 | ····.locals·13 |
106 | ····.param·p0,·"prefSubtypes"····#·Ljava/lang/String; | 106 | ····.param·p0,·"prefSubtypes"····#·Ljava/lang/String; |
107 | ····.prologue | 107 | ····.prologue |
108 | ····const/4·v8,·0x0 | ||
108 | ····.line·103 | 109 | ····.line·103 |
109 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 110 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
110 |
····move-result·v |
111 | ····move-result·v7 |
111 |
····if-eqz·v |
112 | ····if-eqz·v7,·:cond_0 |
112 | ····.line·104 | 113 | ····.line·104 |
113 |
····sget-object·v |
114 | ····sget-object·v7,·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->EMPTY_SUBTYPE_ARRAY:[Landroid/view/inputmethod/InputMethodSubtype; |
114 | ····.line·129 | 115 | ····.line·129 |
115 | ····:goto_0 | 116 | ····:goto_0 |
116 |
····return-object·v |
117 | ····return-object·v7 |
117 | ····.line·106 | 118 | ····.line·106 |
118 | ····:cond_0 | 119 | ····:cond_0 |
119 |
····const-string·v |
120 | ····const-string·v7,·";" |
120 |
····invoke-virtual·{p0,·v |
121 | ····invoke-virtual·{p0,·v7},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; |
121 |
····move-result-object·v |
122 | ····move-result-object·v4 |
122 | ····.line·107 | 123 | ····.line·107 |
123 |
····.local·v |
124 | ····.local·v4,·"prefSubtypeArray":[Ljava/lang/String; |
124 |
····new-instance·v |
125 | ····new-instance·v6,·Ljava/util/ArrayList; |
125 |
····array-length·v |
126 | ····array-length·v7,·v4 |
126 |
····invoke-direct·{v |
127 | ····invoke-direct·{v6,·v7},·Ljava/util/ArrayList;-><init>(I)V |
127 | ····.line·108 | 128 | ····.line·108 |
128 |
····.local·v |
129 | ····.local·v6,·"subtypesList":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Landroid/view/inputmethod/InputMethodSubtype;>;" |
129 |
···· |
130 | ····array-length·v9,·v4 |
130 |
···· |
131 | ····move·v7,·v8 |
131 | ····array-length·v4,·v0 | ||
132 | ····.local·v4,·"len$":I | ||
133 | ····const/4·v2,·0x0 | ||
134 | ····.local·v2,·"i$":I | ||
135 | ····:goto_1 | 132 | ····:goto_1 |
136 |
····if-ge·v |
133 | ····if-ge·v7,·v9,·:cond_3 |
137 |
····aget-object·v |
134 | ····aget-object·v3,·v4,·v7 |
138 | ····.line·109 | 135 | ····.line·109 |
139 |
····.local·v |
136 | ····.local·v3,·"prefSubtype":Ljava/lang/String; |
140 | ····const-string·v10,·":" | 137 | ····const-string·v10,·":" |
141 |
····invoke-virtual·{v |
138 | ····invoke-virtual·{v3,·v10},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; |
142 |
····move-result-object·v |
139 | ····move-result-object·v0 |
143 | ····.line·110 | 140 | ····.line·110 |
144 |
····.local·v |
141 | ····.local·v0,·"elems":[Ljava/lang/String; |
145 |
····array-length·v10,·v |
142 | ····array-length·v10,·v0 |
146 | ····const/4·v11,·0x2 | 143 | ····const/4·v11,·0x2 |
147 | ····if-eq·v10,·v11,·:cond_2 | 144 | ····if-eq·v10,·v11,·:cond_2 |
148 |
····array-length·v10,·v |
145 | ····array-length·v10,·v0 |
149 | ····const/4·v11,·0x3 | 146 | ····const/4·v11,·0x3 |
150 | ····if-eq·v10,·v11,·:cond_2 | 147 | ····if-eq·v10,·v11,·:cond_2 |
151 | ····.line·112 | 148 | ····.line·112 |
152 | ····sget-object·v10,·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->TAG:Ljava/lang/String; | 149 | ····sget-object·v10,·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->TAG:Ljava/lang/String; |
Offset 184, 15 lines modified | Offset 181, 15 lines modified | ||
184 | ····const-string·v12,·"Unknown·additional·subtype·specified:·" | 181 | ····const-string·v12,·"Unknown·additional·subtype·specified:·" |
Max diff block lines reached; 13390/17266 bytes (77.55%) of diff not shown. |
Offset 47, 18 lines modified | Offset 47, 20 lines modified | ||
47 | ····.prologue | 47 | ····.prologue |
48 | ····.line·112 | 48 | ····.line·112 |
49 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I | 49 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I |
50 | ····move-result-object·v0 | 50 | ····move-result-object·v0 |
51 | ····.line·113 | ||
51 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I | 52 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I |
52 | ····move-result-object·v1 | 53 | ····move-result-object·v1 |
54 | ····.line·112 | ||
53 | ····invoke-static·{v0,·v1,·p2},·Lcom/android/inputmethod/latin/utils/BinaryDictionaryUtils;->calcNormalizedScoreNative([I[II)F | 55 | ····invoke-static·{v0,·v1,·p2},·Lcom/android/inputmethod/latin/utils/BinaryDictionaryUtils;->calcNormalizedScoreNative([I[II)F |
54 | ····move-result·v0 | 56 | ····move-result·v0 |
55 | ····return·v0 | 57 | ····return·v0 |
56 | .end·method | 58 | .end·method |
Offset 102, 61 lines modified | Offset 104, 60 lines modified | ||
102 | ····move-result·v1 | 104 | ····move-result·v1 |
103 | ····new-array·v6,·v1,·[Ljava/lang/String; | 105 | ····new-array·v6,·v1,·[Ljava/lang/String; |
104 | ····.line·100 | 106 | ····.line·100 |
105 | ····.local·v6,·"valueArray":[Ljava/lang/String; | 107 | ····.local·v6,·"valueArray":[Ljava/lang/String; |
106 |
····const/4·v |
108 | ····const/4·v0,·0x0 |
107 | ····.line·101 | 109 | ····.line·101 |
108 |
····.local·v |
110 | ····.local·v0,·"index":I |
109 | ····invoke-interface·{p4},·Ljava/util/Map;->keySet()Ljava/util/Set; | 111 | ····invoke-interface·{p4},·Ljava/util/Map;->keySet()Ljava/util/Set; |
110 | ····move-result-object·v1 | 112 | ····move-result-object·v1 |
111 | ····invoke-interface·{v1},·Ljava/util/Set;->iterator()Ljava/util/Iterator; | 113 | ····invoke-interface·{v1},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
112 |
····move-result-object·v |
114 | ····move-result-object·v2 |
113 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
114 | ····:goto_0 | 115 | ····:goto_0 |
115 |
····invoke-interface·{v |
116 | ····invoke-interface·{v2},·Ljava/util/Iterator;->hasNext()Z |
116 | ····move-result·v1 | 117 | ····move-result·v1 |
117 | ····if-eqz·v1,·:cond_0 | 118 | ····if-eqz·v1,·:cond_0 |
118 |
····invoke-interface·{v |
119 | ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
119 |
····move-result-object·v |
120 | ····move-result-object·v7 |
120 |
····check-cast·v |
121 | ····check-cast·v7,·Ljava/lang/String; |
121 | ····.line·102 | 122 | ····.line·102 |
122 |
····.local·v |
123 | ····.local·v7,·"key":Ljava/lang/String; |
123 |
····aput-object·v |
124 | ····aput-object·v7,·v5,·v0 |
124 | ····.line·103 | 125 | ····.line·103 |
125 |
····invoke-interface·{p4,·v |
126 | ····invoke-interface·{p4,·v7},·Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; |
126 | ····move-result-object·v1 | 127 | ····move-result-object·v1 |
127 | ····check-cast·v1,·Ljava/lang/String; | 128 | ····check-cast·v1,·Ljava/lang/String; |
128 |
····aput-object·v1,·v6,·v |
129 | ····aput-object·v1,·v6,·v0 |
129 | ····.line·104 | 130 | ····.line·104 |
130 |
····add-int/lit8·v |
131 | ····add-int/lit8·v0,·v0,·0x1 |
131 | ····.line·105 | 132 | ····.line·105 |
132 | ····goto·:goto_0 | 133 | ····goto·:goto_0 |
133 | ····.line·106 | 134 | ····.line·106 |
134 |
····.end·local·v |
135 | ····.end·local·v7····#·"key":Ljava/lang/String; |
135 | ····:cond_0 | 136 | ····:cond_0 |
136 | ····invoke-virtual·{p3},·Ljava/util/Locale;->toString()Ljava/lang/String; | 137 | ····invoke-virtual·{p3},·Ljava/util/Locale;->toString()Ljava/lang/String; |
137 | ····move-result-object·v4 | 138 | ····move-result-object·v4 |
138 | ····move-object·v1,·p0 | 139 | ····move-object·v1,·p0 |
Offset 193, 18 lines modified | Offset 194, 20 lines modified | ||
193 | ····.line·120 | 194 | ····.line·120 |
194 | ····:cond_1 | 195 | ····:cond_1 |
195 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I | 196 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I |
196 | ····move-result-object·v0 | 197 | ····move-result-object·v0 |
198 | ····.line·121 | ||
197 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I | 199 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/StringUtils;->toCodePointArray(Ljava/lang/CharSequence;)[I |
198 | ····move-result-object·v1 | 200 | ····move-result-object·v1 |
201 | ····.line·120 | ||
199 | ····invoke-static·{v0,·v1},·Lcom/android/inputmethod/latin/utils/BinaryDictionaryUtils;->editDistanceNative([I[I)I | 202 | ····invoke-static·{v0,·v1},·Lcom/android/inputmethod/latin/utils/BinaryDictionaryUtils;->editDistanceNative([I[I)I |
200 | ····move-result·v0 | 203 | ····move-result·v0 |
Max diff block lines reached; 4868/7829 bytes (62.18%) of diff not shown. |
Offset 304, 14 lines modified | Offset 304, 15 lines modified | ||
304 | ····if-eq·v6,·v14,·:cond_f | 304 | ····if-eq·v6,·v14,·:cond_f |
305 | ····const/16·v14,·0x27 | 305 | ····const/16·v14,·0x27 |
306 | ····if-eq·v6,·v14,·:cond_f | 306 | ····if-eq·v6,·v14,·:cond_f |
307 | ····.line·206 | ||
307 | ····invoke-static·{v6},·Ljava/lang/Character;->getType(C)I | 308 | ····invoke-static·{v6},·Ljava/lang/Character;->getType(C)I |
308 | ····move-result·v14 | 309 | ····move-result·v14 |
309 | ····const/16·v15,·0x16 | 310 | ····const/16·v15,·0x16 |
310 | ····if-eq·v14,·v15,·:cond_f | 311 | ····if-eq·v14,·v15,·:cond_f |
Offset 658, 26 lines modified | Offset 659, 29 lines modified | ||
658 | ····if-eq·p0,·v0,·:cond_0 | 659 | ····if-eq·p0,·v0,·:cond_0 |
659 | ····const/16·v0,·0xa1 | 660 | ····const/16·v0,·0xa1 |
660 | ····if-eq·p0,·v0,·:cond_0 | 661 | ····if-eq·p0,·v0,·:cond_0 |
662 | ····.line·77 | ||
661 | ····invoke-static·{p0},·Ljava/lang/Character;->getType(I)I | 663 | ····invoke-static·{p0},·Ljava/lang/Character;->getType(I)I |
662 | ····move-result·v0 | 664 | ····move-result·v0 |
663 | ····const/16·v1,·0x15 | 665 | ····const/16·v1,·0x15 |
664 | ····if-ne·v0,·v1,·:cond_1 | 666 | ····if-ne·v0,·v1,·:cond_1 |
665 | ····:cond_0 | 667 | ····:cond_0 |
666 | ····const/4·v0,·0x1 | 668 | ····const/4·v0,·0x1 |
669 | ····.line·74 | ||
667 | ····:goto_0 | 670 | ····:goto_0 |
668 | ····return·v0 | 671 | ····return·v0 |
672 | ····.line·77 | ||
669 | ····:cond_1 | 673 | ····:cond_1 |
670 | ····const/4·v0,·0x0 | 674 | ····const/4·v0,·0x0 |
671 | ····goto·:goto_0 | 675 | ····goto·:goto_0 |
672 | .end·method | 676 | .end·method |
Offset 55, 128 lines modified | Offset 55, 127 lines modified | ||
55 | ····.local·p0,·"attributeMap":Ljava/util/HashMap;,·"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;" | 55 | ····.local·p0,·"attributeMap":Ljava/util/HashMap;,·"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;" |
56 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 56 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
57 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 57 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
58 | ····.line·40 | 58 | ····.line·40 |
59 | ····.local·v0,·"builder":Ljava/lang/StringBuilder; | 59 | ····.local·v0,·"builder":Ljava/lang/StringBuilder; |
60 |
····const-string·v |
60 | ····const-string·v3,·"dictionary=" |
61 |
····invoke-virtual·{v0,·v |
61 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
62 | ····.line·41 | 62 | ····.line·41 |
63 |
····const-string·v |
63 | ····const-string·v3,·"dictionary" |
64 |
····invoke-virtual·{p0,·v |
64 | ····invoke-virtual·{p0,·v3},·Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z |
65 |
····move-result·v |
65 | ····move-result·v3 |
66 |
····if-eqz·v |
66 | ····if-eqz·v3,·:cond_0 |
67 | ····.line·42 | 67 | ····.line·42 |
68 |
····const-string·v |
68 | ····const-string·v3,·"dictionary" |
69 |
····invoke-virtual·{p0,·v |
69 | ····invoke-virtual·{p0,·v3},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
70 |
····move-result-object·v |
70 | ····move-result-object·v3 |
71 |
····check-cast·v |
71 | ····check-cast·v3,·Ljava/lang/String; |
72 |
····invoke-virtual·{v0,·v |
72 | ····invoke-virtual·{v0,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
73 | ····.line·44 | 73 | ····.line·44 |
74 | ····:cond_0 | 74 | ····:cond_0 |
75 | ····invoke-virtual·{p0},·Ljava/util/HashMap;->keySet()Ljava/util/Set; | 75 | ····invoke-virtual·{p0},·Ljava/util/HashMap;->keySet()Ljava/util/Set; |
76 |
····move-result-object·v |
76 | ····move-result-object·v3 |
77 |
····invoke-interface·{v |
77 | ····invoke-interface·{v3},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
78 |
····move-result-object·v |
78 | ····move-result-object·v3 |
79 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
80 | ····:cond_1 | 79 | ····:cond_1 |
81 | ····:goto_0 | 80 | ····:goto_0 |
82 |
····invoke-interface·{v |
81 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
83 | ····move-result·v4 | 82 | ····move-result·v4 |
84 | ····if-eqz·v4,·:cond_2 | 83 | ····if-eqz·v4,·:cond_2 |
85 |
····invoke-interface·{v |
84 | ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
86 |
····move-result-object·v |
85 | ····move-result-object·v1 |
87 |
····check-cast·v |
86 | ····check-cast·v1,·Ljava/lang/String; |
88 | ····.line·45 | 87 | ····.line·45 |
89 |
····.local·v |
88 | ····.local·v1,·"key":Ljava/lang/String; |
90 | ····const-string·v4,·"dictionary" | 89 | ····const-string·v4,·"dictionary" |
91 |
····invoke-virtual·{v |
90 | ····invoke-virtual·{v1,·v4},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
92 | ····move-result·v4 | 91 | ····move-result·v4 |
93 | ····if-nez·v4,·:cond_1 | 92 | ····if-nez·v4,·:cond_1 |
94 | ····.line·48 | 93 | ····.line·48 |
95 |
····invoke-virtual·{p0,·v |
94 | ····invoke-virtual·{p0,·v1},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
96 |
····move-result-object·v |
95 | ····move-result-object·v2 |
97 |
····check-cast·v |
96 | ····check-cast·v2,·Ljava/lang/String; |
98 | ····.line·49 | 97 | ····.line·49 |
99 |
····.local·v |
98 | ····.local·v2,·"value":Ljava/lang/String; |
100 | ····new-instance·v4,·Ljava/lang/StringBuilder; | 99 | ····new-instance·v4,·Ljava/lang/StringBuilder; |
101 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V | 100 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V |
102 | ····const-string·v5,·"," | 101 | ····const-string·v5,·"," |
103 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 102 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
104 | ····move-result-object·v4 | 103 | ····move-result-object·v4 |
105 |
····invoke-virtual·{v4,·v |
104 | ····invoke-virtual·{v4,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
106 | ····move-result-object·v4 | 105 | ····move-result-object·v4 |
107 | ····const-string·v5,·"=" | 106 | ····const-string·v5,·"=" |
108 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 107 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
109 | ····move-result-object·v4 | 108 | ····move-result-object·v4 |
110 |
····invoke-virtual·{v4,·v |
109 | ····invoke-virtual·{v4,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
111 | ····move-result-object·v4 | 110 | ····move-result-object·v4 |
Max diff block lines reached; 11614/15901 bytes (73.04%) of diff not shown. |
Offset 12, 26 lines modified | Offset 12, 26 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·public·static·getCursorAnchorInfo(Landroid/widget/TextView;)Landroid/view/inputmethod/CursorAnchorInfo; | 16 | .method·public·static·getCursorAnchorInfo(Landroid/widget/TextView;)Landroid/view/inputmethod/CursorAnchorInfo; |
17 |
····.locals· |
17 | ····.locals·57 |
18 | ····.param·p0,·"textView"····#·Landroid/widget/TextView; | 18 | ····.param·p0,·"textView"····#·Landroid/widget/TextView; |
19 | ····.prologue | 19 | ····.prologue |
20 | ····.line·86 | 20 | ····.line·86 |
21 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getLayout()Landroid/text/Layout; | 21 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getLayout()Landroid/text/Layout; |
22 |
····move-result-object·v |
22 | ····move-result-object·v28 |
23 | ····.line·87 | 23 | ····.line·87 |
24 |
····.local·v |
24 | ····.local·v28,·"layout":Landroid/text/Layout; |
25 |
····if-nez·v |
25 | ····if-nez·v28,·:cond_0 |
26 | ····.line·88 | 26 | ····.line·88 |
27 | ····const/4·v11,·0x0 | 27 | ····const/4·v11,·0x0 |
28 | ····.line·234 | 28 | ····.line·234 |
29 | ····:goto_0 | 29 | ····:goto_0 |
30 | ····return-object·v11 | 30 | ····return-object·v11 |
Offset 42, 589 lines modified | Offset 42, 591 lines modified | ||
42 | ····invoke-direct·{v4},·Landroid/view/inputmethod/CursorAnchorInfo$Builder;-><init>()V | 42 | ····invoke-direct·{v4},·Landroid/view/inputmethod/CursorAnchorInfo$Builder;-><init>()V |
43 | ····.line·93 | 43 | ····.line·93 |
44 | ····.local·v4,·"builder":Landroid/view/inputmethod/CursorAnchorInfo$Builder; | 44 | ····.local·v4,·"builder":Landroid/view/inputmethod/CursorAnchorInfo$Builder; |
45 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getSelectionStart()I | 45 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getSelectionStart()I |
46 |
····move-result·v4 |
46 | ····move-result·v43 |
47 | ····.line·94 | 47 | ····.line·94 |
48 |
····.local·v4 |
48 | ····.local·v43,·"selectionStart":I |
49 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getSelectionEnd()I | 49 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getSelectionEnd()I |
50 | ····move-result·v11 | 50 | ····move-result·v11 |
51 |
····move/from16·v0,·v4 |
51 | ····move/from16·v0,·v43 |
52 | ····invoke-virtual·{v4,·v0,·v11},·Landroid/view/inputmethod/CursorAnchorInfo$Builder;->setSelectionRange(II)Landroid/view/inputmethod/CursorAnchorInfo$Builder; | 52 | ····invoke-virtual·{v4,·v0,·v11},·Landroid/view/inputmethod/CursorAnchorInfo$Builder;->setSelectionRange(II)Landroid/view/inputmethod/CursorAnchorInfo$Builder; |
53 | ····.line·97 | 53 | ····.line·97 |
54 |
····new-instance·v5 |
54 | ····new-instance·v51,·Landroid/graphics/Matrix; |
55 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getMatrix()Landroid/graphics/Matrix; | 55 | ····invoke-virtual/range·{p0·..·p0},·Landroid/widget/TextView;->getMatrix()Landroid/graphics/Matrix; |
56 | ····move-result-object·v11 | 56 | ····move-result-object·v11 |
57 |
····move-object/from16·v0,·v5 |
57 | ····move-object/from16·v0,·v51 |
58 | ····invoke-direct·{v0,·v11},·Landroid/graphics/Matrix;-><init>(Landroid/graphics/Matrix;)V | 58 | ····invoke-direct·{v0,·v11},·Landroid/graphics/Matrix;-><init>(Landroid/graphics/Matrix;)V |
59 | ····.line·98 | 59 | ····.line·98 |
60 |
····.local·v5 |
60 | ····.local·v51,·"viewToScreenMatrix":Landroid/graphics/Matrix; |
61 | ····const/4·v11,·0x2 | 61 | ····const/4·v11,·0x2 |
62 | ····new-array·v0,·v11,·[I | 62 | ····new-array·v0,·v11,·[I |
63 |
····move-object/from16·v5 |
63 | ····move-object/from16·v50,·v0 |
64 | ····.line·99 | 64 | ····.line·99 |
65 |
····.local·v5 |
65 | ····.local·v50,·"viewOriginInScreen":[I |
66 | ····move-object/from16·v0,·p0 | 66 | ····move-object/from16·v0,·p0 |
67 |
····move-object/from16·v1,·v5 |
67 | ····move-object/from16·v1,·v50 |
68 | ····invoke-virtual·{v0,·v1},·Landroid/widget/TextView;->getLocationOnScreen([I)V | 68 | ····invoke-virtual·{v0,·v1},·Landroid/widget/TextView;->getLocationOnScreen([I)V |
69 | ····.line·100 | 69 | ····.line·100 |
70 | ····const/4·v11,·0x0 | 70 | ····const/4·v11,·0x0 |
71 |
····aget·v11,·v5 |
71 | ····aget·v11,·v50,·v11 |
72 | ····int-to-float·v11,·v11 | 72 | ····int-to-float·v11,·v11 |
73 |
····const/16·v5 |
73 | ····const/16·v55,·0x1 |
74 |
····aget·v5 |
74 | ····aget·v55,·v50,·v55 |
75 |
····move/from16·v0,·v5 |
75 | ····move/from16·v0,·v55 |
76 | ····int-to-float·v0,·v0 | 76 | ····int-to-float·v0,·v0 |
77 |
····move/from16·v5 |
77 | ····move/from16·v55,·v0 |
78 |
····move-object/from16·v0,·v5 |
78 | ····move-object/from16·v0,·v51 |
79 |
····move/from16·v1,·v5 |
79 | ····move/from16·v1,·v55 |
80 | ····invoke-virtual·{v0,·v11,·v1},·Landroid/graphics/Matrix;->postTranslate(FF)Z | 80 | ····invoke-virtual·{v0,·v11,·v1},·Landroid/graphics/Matrix;->postTranslate(FF)Z |
81 | ····.line·101 | 81 | ····.line·101 |
82 |
····move-object/from16·v0,·v5 |
82 | ····move-object/from16·v0,·v51 |
Max diff block lines reached; 27607/30869 bytes (89.43%) of diff not shown. |
Offset 129, 18 lines modified | Offset 129, 20 lines modified | ||
129 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils$DictionaryInfo;->mFileAddress:Lorg/smc/inputmethod/indic/AssetFileAddress; | 129 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils$DictionaryInfo;->mFileAddress:Lorg/smc/inputmethod/indic/AssetFileAddress; |
130 | ····iget-object·v4,·v4,·Lorg/smc/inputmethod/indic/AssetFileAddress;->mFilename:Ljava/lang/String; | 130 | ····iget-object·v4,·v4,·Lorg/smc/inputmethod/indic/AssetFileAddress;->mFilename:Ljava/lang/String; |
131 | ····invoke-direct·{v3,·v4},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 131 | ····invoke-direct·{v3,·v4},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
132 | ····.line·81 | ||
132 | ····invoke-virtual·{v3},·Ljava/io/File;->lastModified()J | 133 | ····invoke-virtual·{v3},·Ljava/io/File;->lastModified()J |
133 | ····move-result-wide·v4 | 134 | ····move-result-wide·v4 |
135 | ····.line·80 | ||
134 | ····invoke-virtual·{v2,·v4,·v5},·Ljava/util/concurrent/TimeUnit;->toSeconds(J)J | 136 | ····invoke-virtual·{v2,·v4,·v5},·Ljava/util/concurrent/TimeUnit;->toSeconds(J)J |
135 | ····move-result-wide·v2 | 137 | ····move-result-wide·v2 |
136 | ····invoke-static·{v2,·v3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 138 | ····invoke-static·{v2,·v3},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
137 | ····move-result-object·v2 | 139 | ····move-result-object·v2 |
Offset 405, 15 lines modified | Offset 405, 15 lines modified | ||
405 | ····aget-object·v2,·v1,·v2 | 405 | ····aget-object·v2,·v1,·v2 |
406 | ····goto·:goto_0 | 406 | ····goto·:goto_0 |
407 | .end·method | 407 | .end·method |
408 | .method·public·static·getCurrentDictionaryFileNameAndVersionInfo(Landroid/content/Context;)Ljava/util/ArrayList; | 408 | .method·public·static·getCurrentDictionaryFileNameAndVersionInfo(Landroid/content/Context;)Ljava/util/ArrayList; |
409 |
····.locals· |
409 | ····.locals·19 |
410 | ····.param·p0,·"context"····#·Landroid/content/Context; | 410 | ····.param·p0,·"context"····#·Landroid/content/Context; |
411 | ····.annotation·system·Ldalvik/annotation/Signature; | 411 | ····.annotation·system·Ldalvik/annotation/Signature; |
412 | ········value·=·{ | 412 | ········value·=·{ |
413 | ············"(", | 413 | ············"(", |
414 | ············"Landroid/content/Context;", | 414 | ············"Landroid/content/Context;", |
415 | ············")", | 415 | ············")", |
416 | ············"Ljava/util/ArrayList", | 416 | ············"Ljava/util/ArrayList", |
Offset 421, 279 lines modified | Offset 421, 259 lines modified | ||
421 | ············"Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils$DictionaryInfo;", | 421 | ············"Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils$DictionaryInfo;", |
422 | ············">;" | 422 | ············">;" |
423 | ········} | 423 | ········} |
424 | ····.end·annotation | 424 | ····.end·annotation |
425 | ····.prologue | 425 | ····.prologue |
426 | ····.line·340 | 426 | ····.line·340 |
427 |
····new-instance·v |
427 | ····new-instance·v3,·Ljava/util/ArrayList; |
428 |
····invoke-direct·{v |
428 | ····invoke-direct·{v3},·Ljava/util/ArrayList;-><init>()V |
429 | ····.line·343 | 429 | ····.line·343 |
430 |
····.local·v |
430 | ····.local·v3,·"dictList":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils$DictionaryInfo;>;" |
431 | ····invoke-static/range·{p0·..·p0},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getCachedDirectoryList(Landroid/content/Context;)[Ljava/io/File; | 431 | ····invoke-static/range·{p0·..·p0},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getCachedDirectoryList(Landroid/content/Context;)[Ljava/io/File; |
432 |
····move-result-object·v |
432 | ····move-result-object·v7 |
433 | ····.line·344 | 433 | ····.line·344 |
434 |
····.local·v |
434 | ····.local·v7,·"directoryList":[Ljava/io/File; |
435 |
····if-eqz·v |
435 | ····if-eqz·v7,·:cond_3 |
436 | ····.line·345 | 436 | ····.line·345 |
437 |
···· |
437 | ····array-length·v0,·v7 |
438 |
···· |
438 | ····move/from16·v16,·v0 |
439 | ····array-length·v14,·v2 | ||
440 |
···· |
439 | ····const/4·v14,·0x0 |
441 | ····const/4·v12,·0x0 | ||
442 |
···· |
440 | ····move·v15,·v14 |
443 | ····move·v13,·v12 | ||
444 | ····.end·local·v2····#·"arr$":[Ljava/io/File; | ||
445 | ····.end·local·v12····#·"i$":I | ||
446 | ····.end·local·v14····#·"len$":I | ||
447 | ····.local·v13,·"i$":I | ||
448 | ····:goto_0 | 441 | ····:goto_0 |
449 |
···· |
442 | ····move/from16·v0,·v16 |
443 | ····if-ge·v15,·v0,·:cond_3 | ||
450 |
····aget-object·v |
444 | ····aget-object·v6,·v7,·v15 |
451 | ····.line·346 | 445 | ····.line·346 |
452 |
····.local·v |
446 | ····.local·v6,·"directory":Ljava/io/File; |
453 |
····invoke-virtual·{v |
447 | ····invoke-virtual·{v6},·Ljava/io/File;->getName()Ljava/lang/String; |
454 |
····move-result-object·v |
448 | ····move-result-object·v14 |
455 |
····invoke-static |
449 | ····invoke-static·{v14},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getWordListIdFromFileName(Ljava/lang/String;)Ljava/lang/String; |
456 |
····move-result-object·v1 |
450 | ····move-result-object·v10 |
457 | ····.line·347 | 451 | ····.line·347 |
458 |
····.local·v1 |
452 | ····.local·v10,·"localeString":Ljava/lang/String; |
459 |
····move-object/from16·v0,· |
453 | ····move-object/from16·v0,·p0 |
460 | ····move-object/from16·v1,·p0 | ||
461 |
····invoke-static·{v0,·v |
454 | ····invoke-static·{v10,·v0},·Lorg/smc/inputmethod/indic/BinaryDictionaryGetter;->getCachedWordLists(Ljava/lang/String;Landroid/content/Context;)[Ljava/io/File; |
462 |
····move-result-object·v |
455 | ····move-result-object·v5 |
463 | ····.line·348 | 456 | ····.line·348 |
464 |
····.local·v |
457 | ····.local·v5,·"dicts":[Ljava/io/File; |
465 |
···· |
458 | ····array-length·v0,·v5 |
466 |
···· |
459 | ····move/from16·v17,·v0 |
467 | ····array-length·v15,·v3 | ||
468 |
···· |
460 | ····const/4·v14,·0x0 |
469 | ····const/4·v12,·0x0 | ||
470 | ····.end·local·v13····#·"i$":I | ||
471 | ····.restart·local·v12····#·"i$":I | ||
472 | ····:goto_1 | 461 | ····:goto_1 |
473 |
···· |
462 | ····move/from16·v0,·v17 |
463 | ····if-ge·v14,·v0,·:cond_2 | ||
474 |
····aget-object·v |
464 | ····aget-object·v2,·v5,·v14 |
Max diff block lines reached; 15212/19196 bytes (79.25%) of diff not shown. |
Offset 68, 20 lines modified | Offset 68, 22 lines modified | ||
68 | .method·static·constructor·<clinit>()V | 68 | .method·static·constructor·<clinit>()V |
69 | ····.locals·1 | 69 | ····.locals·1 |
70 | ····.prologue | 70 | ····.prologue |
71 | ····.line·48 | 71 | ····.line·48 |
72 | ····const-class·v0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions; | 72 | ····const-class·v0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions; |
73 | ····.line·49 | ||
73 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 74 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
74 | ····move-result-object·v0 | 75 | ····move-result-object·v0 |
75 | ····sput-object·v0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->TAG:Ljava/lang/String; | 76 | ····sput-object·v0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->TAG:Ljava/lang/String; |
77 | ····.line·48 | ||
76 | ····return-void | 78 | ····return-void |
77 | .end·method | 79 | .end·method |
78 | .method·public·constructor·<init>(Landroid/content/Context;)V | 80 | .method·public·constructor·<init>(Landroid/content/Context;)V |
79 | ····.locals·2 | 81 | ····.locals·2 |
80 | ····.param·p1,·"context"····#·Landroid/content/Context; | 82 | ····.param·p1,·"context"····#·Landroid/content/Context; |
Offset 168, 14 lines modified | Offset 170, 15 lines modified | ||
168 | ····move-result·v12 | 170 | ····move-result·v12 |
169 | ····.line·245 | 171 | ····.line·245 |
170 | ····.local·v12,·"trailingSingleQuotesCount":I | 172 | ····.local·v12,·"trailingSingleQuotesCount":I |
171 | ····if-lez·v12,·:cond_1 | 173 | ····if-lez·v12,·:cond_1 |
174 | ····.line·246 | ||
172 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I | 175 | ····invoke-virtual·{p1},·Ljava/lang/String;->length()I |
173 | ····move-result·v0 | 176 | ····move-result·v0 |
174 | ····sub-int/2addr·v0,·v12 | 177 | ····sub-int/2addr·v0,·v12 |
175 | ····invoke-virtual·{p1,·v10,·v0},·Ljava/lang/String;->substring(II)Ljava/lang/String; | 178 | ····invoke-virtual·{p1,·v10,·v0},·Ljava/lang/String;->substring(II)Ljava/lang/String; |
Offset 216, 20 lines modified | Offset 219, 22 lines modified | ||
216 | ····.line·254 | 219 | ····.line·254 |
217 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->mDictionaryFacilitator:Lorg/smc/inputmethod/indic/DictionaryFacilitator; | 220 | ····iget-object·v0,·p0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->mDictionaryFacilitator:Lorg/smc/inputmethod/indic/DictionaryFacilitator; |
218 | ····sget-object·v2,·Lcom/android/inputmethod/latin/PrevWordsInfo;->EMPTY_PREV_WORDS_INFO:Lcom/android/inputmethod/latin/PrevWordsInfo; | 221 | ····sget-object·v2,·Lcom/android/inputmethod/latin/PrevWordsInfo;->EMPTY_PREV_WORDS_INFO:Lcom/android/inputmethod/latin/PrevWordsInfo; |
219 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->mKeyboard:Lcom/android/inputmethod/keyboard/Keyboard; | 222 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->mKeyboard:Lcom/android/inputmethod/keyboard/Keyboard; |
223 | ····.line·255 | ||
220 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/Keyboard;->getProximityInfo()Lcom/android/inputmethod/keyboard/ProximityInfo; | 224 | ····invoke-virtual·{v3},·Lcom/android/inputmethod/keyboard/Keyboard;->getProximityInfo()Lcom/android/inputmethod/keyboard/ProximityInfo; |
221 | ····move-result-object·v3 | 225 | ····move-result-object·v3 |
222 | ····const/4·v5,·0x0 | 226 | ····const/4·v5,·0x0 |
227 | ····.line·254 | ||
223 | ····invoke-virtual/range·{v0·..·v5},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->getSuggestionResults(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/PrevWordsInfo;Lcom/android/inputmethod/keyboard/ProximityInfo;Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion;I)Lcom/android/inputmethod/latin/utils/SuggestionResults; | 228 | ····invoke-virtual/range·{v0·..·v5},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->getSuggestionResults(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/PrevWordsInfo;Lcom/android/inputmethod/keyboard/ProximityInfo;Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion;I)Lcom/android/inputmethod/latin/utils/SuggestionResults; |
224 | ····move-result-object·v11 | 229 | ····move-result-object·v11 |
225 | ····.line·257 | 230 | ····.line·257 |
226 | ····.local·v11,·"suggestionResults":Lcom/android/inputmethod/latin/utils/SuggestionResults; | 231 | ····.local·v11,·"suggestionResults":Lcom/android/inputmethod/latin/utils/SuggestionResults; |
227 | ····invoke-virtual·{v11},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->isEmpty()Z | 232 | ····invoke-virtual·{v11},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->isEmpty()Z |
Offset 257, 15 lines modified | Offset 262, 15 lines modified | ||
257 | ····.end·local·v1····#·"composer":Lorg/smc/inputmethod/indic/WordComposer; | 262 | ····.end·local·v1····#·"composer":Lorg/smc/inputmethod/indic/WordComposer; |
258 | ····.end·local·v6····#·"codePoints":[I | 263 | ····.end·local·v6····#·"codePoints":[I |
259 | ····.end·local·v7····#·"consideredWord":Ljava/lang/String; | 264 | ····.end·local·v7····#·"consideredWord":Ljava/lang/String; |
260 | ····:cond_1 | 265 | ····:cond_1 |
261 | ····move-object·v7,·p1 | 266 | ····move-object·v7,·p1 |
262 |
····.line·24 |
267 | ····.line·246 |
263 | ····goto·:goto_1 | 268 | ····goto·:goto_1 |
264 | ····.line·260 | 269 | ····.line·260 |
265 | ····.restart·local·v1····#·"composer":Lorg/smc/inputmethod/indic/WordComposer; | 270 | ····.restart·local·v1····#·"composer":Lorg/smc/inputmethod/indic/WordComposer; |
266 | ····.restart·local·v6····#·"codePoints":[I | 271 | ····.restart·local·v6····#·"codePoints":[I |
267 | ····.restart·local·v7····#·"consideredWord":Ljava/lang/String; | 272 | ····.restart·local·v7····#·"consideredWord":Ljava/lang/String; |
268 | ····.restart·local·v8····#·"coordinates":[I | 273 | ····.restart·local·v8····#·"coordinates":[I |
Offset 724, 15 lines modified | Offset 729, 15 lines modified | ||
724 | ····.line·179 | 729 | ····.line·179 |
725 | ····monitor-exit·v7 | 730 | ····monitor-exit·v7 |
726 | ····:try_end_4 | 731 | ····:try_end_4 |
727 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_0 | 732 | ····.catchall·{:try_start_4·..·:try_end_4}·:catchall_0 |
728 | ····goto·:goto_0 | 733 | ····goto·:goto_0 |
729 |
····.line·19 |
734 | ····.line·196 |
730 | ····.end·local·v0····#·"e":Ljava/lang/InterruptedException; | 735 | ····.end·local·v0····#·"e":Ljava/lang/InterruptedException; |
731 | ····.restart·local·v1····#·"isCachedDistracter":Ljava/lang/Boolean; | 736 | ····.restart·local·v1····#·"isCachedDistracter":Ljava/lang/Boolean; |
732 | ····:cond_4 | 737 | ····:cond_4 |
733 | ····invoke-direct·{p0,·p2},·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->checkDistracterUsingMaxFreqencyOfExactMatches(Ljava/lang/String;)Z | 738 | ····invoke-direct·{p0,·p2},·Lcom/android/inputmethod/latin/utils/DistracterFilterCheckingExactMatchesAndSuggestions;->checkDistracterUsingMaxFreqencyOfExactMatches(Ljava/lang/String;)Z |
734 | ····move-result·v2 | 739 | ····move-result·v2 |
Offset 760, 15 lines modified | Offset 765, 15 lines modified | ||
760 | ····move-result·v4 | 765 | ····move-result·v4 |
761 | ····.line·204 | 766 | ····.line·204 |
762 | ····.local·v4,·"isValidWord":Z | 767 | ····.local·v4,·"isValidWord":Z |
Max diff block lines reached; 6231/9786 bytes (63.67%) of diff not shown. |
Offset 43, 15 lines modified | Offset 43, 14 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·29 | 46 | ····.line·29 |
47 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 47 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
48 | ····.line·33 | ||
49 | ····return-void | 48 | ····return-void |
50 | .end·method | 49 | .end·method |
51 | .method·static·synthetic·access$000()Ljava/util/concurrent/ConcurrentHashMap; | 50 | .method·static·synthetic·access$000()Ljava/util/concurrent/ConcurrentHashMap; |
52 | ····.locals·1 | 51 | ····.locals·1 |
53 | ····.prologue | 52 | ····.prologue |
Offset 137, 67 lines modified | Offset 136, 67 lines modified | ||
137 | .method·public·static·shutdownAllExecutors()V | 136 | .method·public·static·shutdownAllExecutors()V |
138 | ····.locals·4 | 137 | ····.locals·4 |
139 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 138 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
140 | ····.end·annotation | 139 | ····.end·annotation |
141 | ····.prologue | 140 | ····.prologue |
142 | ····.line·68 | 141 | ····.line·68 |
143 |
····sget-object·v |
142 | ····sget-object·v2,·Lcom/android/inputmethod/latin/utils/ExecutorUtils;->sExecutorMap:Ljava/util/concurrent/ConcurrentHashMap; |
144 |
····monitor-enter·v |
143 | ····monitor-enter·v2 |
145 | ····.line·69 | 144 | ····.line·69 |
146 | ····:try_start_0 | 145 | ····:try_start_0 |
147 |
····sget-object·v |
146 | ····sget-object·v1,·Lcom/android/inputmethod/latin/utils/ExecutorUtils;->sExecutorMap:Ljava/util/concurrent/ConcurrentHashMap; |
148 |
····invoke-virtual·{v |
147 | ····invoke-virtual·{v1},·Ljava/util/concurrent/ConcurrentHashMap;->values()Ljava/util/Collection; |
149 |
····move-result-object·v |
148 | ····move-result-object·v1 |
150 |
····invoke-interface·{v |
149 | ····invoke-interface·{v1},·Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
151 | ····move-result-object·v1 | 150 | ····move-result-object·v1 |
152 |
····.local·v |
151 | ····.local·v0,·"executor":Ljava/util/concurrent/ExecutorService; |
153 | ····:goto_0 | 152 | ····:goto_0 |
154 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 153 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
155 |
····move-result·v |
154 | ····move-result·v3 |
156 |
····if-eqz·v |
155 | ····if-eqz·v3,·:cond_0 |
157 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 156 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
158 | ····move-result-object·v0 | 157 | ····move-result-object·v0 |
158 | ····.end·local·v0····#·"executor":Ljava/util/concurrent/ExecutorService; | ||
159 | ····check-cast·v0,·Ljava/util/concurrent/ExecutorService; | 159 | ····check-cast·v0,·Ljava/util/concurrent/ExecutorService; |
160 | ····.line·70 | 160 | ····.line·70 |
161 |
····.local·v0 |
161 | ····.restart·local·v0····#·"executor":Ljava/util/concurrent/ExecutorService; |
162 |
····new-instance·v |
162 | ····new-instance·v3,·Lcom/android/inputmethod/latin/utils/ExecutorUtils$1; |
163 |
····invoke-direct·{v |
163 | ····invoke-direct·{v3,·v0},·Lcom/android/inputmethod/latin/utils/ExecutorUtils$1;-><init>(Ljava/util/concurrent/ExecutorService;)V |
164 |
····invoke-interface·{v0,·v |
164 | ····invoke-interface·{v0,·v3},·Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V |
165 | ····goto·:goto_0 | 165 | ····goto·:goto_0 |
166 | ····.line·78 | 166 | ····.line·78 |
167 | ····.end·local·v0····#·"executor":Ljava/util/concurrent/ExecutorService; | ||
168 | ····:catchall_0 | 167 | ····:catchall_0 |
169 |
····move-exception·v |
168 | ····move-exception·v1 |
170 |
····monitor-exit·v |
169 | ····monitor-exit·v2 |
171 | ····:try_end_0 | 170 | ····:try_end_0 |
172 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 171 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
173 |
····throw·v |
172 | ····throw·v1 |
174 | ····:cond_0 | 173 | ····:cond_0 |
175 | ····:try_start_1 | 174 | ····:try_start_1 |
176 |
····monitor-exit·v |
175 | ····monitor-exit·v2 |
177 | ····:try_end_1 | 176 | ····:try_end_1 |
178 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 177 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
179 | ····.line·79 | 178 | ····.line·79 |
180 | ····return-void | 179 | ····return-void |
181 | .end·method | 180 | .end·method |
Offset 11, 130 lines modified | Offset 11, 124 lines modified | ||
11 | ····.line·25 | 11 | ····.line·25 |
12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
13 | ····return-void | 13 | ····return-void |
14 | .end·method | 14 | .end·method |
15 | .method·public·static·deleteFilteredFiles(Ljava/io/File;Ljava/io/FilenameFilter;)Z | 15 | .method·public·static·deleteFilteredFiles(Ljava/io/File;Ljava/io/FilenameFilter;)Z |
16 |
····.locals· |
16 | ····.locals·6 |
17 | ····.param·p0,·"dir"····#·Ljava/io/File; | 17 | ····.param·p0,·"dir"····#·Ljava/io/File; |
18 | ····.param·p1,·"fileNameFilter"····#·Ljava/io/FilenameFilter; | 18 | ····.param·p1,·"fileNameFilter"····#·Ljava/io/FilenameFilter; |
19 | ····.prologue | 19 | ····.prologue |
20 | ····const/4·v3,·0x0 | 20 | ····const/4·v3,·0x0 |
21 | ····.line·39 | 21 | ····.line·39 |
22 | ····invoke-virtual·{p0},·Ljava/io/File;->isDirectory()Z | 22 | ····invoke-virtual·{p0},·Ljava/io/File;->isDirectory()Z |
23 |
····move-result·v |
23 | ····move-result·v4 |
24 | ····if-nez·v4,·:cond_1 | ||
24 |
···· |
25 | ····move·v2,·v3 |
25 | ····.line·52 | 26 | ····.line·52 |
26 | ····:cond_0 | 27 | ····:cond_0 |
27 |
···· |
28 | ····:goto_0 |
29 | ····return·v2 | ||
28 | ····.line·42 | 30 | ····.line·42 |
29 | ····:cond_1 | 31 | ····:cond_1 |
30 | ····invoke-virtual·{p0,·p1},·Ljava/io/File;->listFiles(Ljava/io/FilenameFilter;)[Ljava/io/File; | 32 | ····invoke-virtual·{p0,·p1},·Ljava/io/File;->listFiles(Ljava/io/FilenameFilter;)[Ljava/io/File; |
31 |
····move-result-object·v |
33 | ····move-result-object·v1 |
32 | ····.line·43 | 34 | ····.line·43 |
33 |
····.local·v |
35 | ····.local·v1,·"files":[Ljava/io/File; |
34 |
····if- |
36 | ····if-nez·v1,·:cond_2 |
35 |
···· |
37 | ····move·v2,·v3 |
36 | ····const/4·v3,·0x1 | ||
37 |
····.line·4 |
38 | ····.line·44 |
38 |
···· |
39 | ····goto·:goto_0 |
39 | ····move-object·v0,·v2 | ||
40 |
····. |
40 | ····.line·46 |
41 |
···· |
41 | ····:cond_2 |
42 | ····const/4·v2,·0x1 | ||
42 |
····. |
43 | ····.line·47 |
43 |
····c |
44 | ····.local·v2,·"hasDeletedAllFiles":Z |
45 | ····array-length·v4,·v1 | ||
44 |
···· |
46 | ····:goto_1 |
45 |
····: |
47 | ····if-ge·v3,·v4,·:cond_0 |
46 | ····if-ge·v4,·v5,·:cond_0 | ||
47 |
····aget-object·v |
48 | ····aget-object·v0,·v1,·v3 |
48 | ····.line·48 | 49 | ····.line·48 |
49 |
····.local·v |
50 | ····.local·v0,·"file":Ljava/io/File; |
50 |
····invoke-static·{v |
51 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/FileUtils;->deleteRecursively(Ljava/io/File;)Z |
51 |
····move-result·v |
52 | ····move-result·v5 |
52 |
····if-nez·v |
53 | ····if-nez·v5,·:cond_3 |
53 | ····.line·49 | 54 | ····.line·49 |
54 |
····const/4·v |
55 | ····const/4·v2,·0x0 |
55 | ····.line·47 | 56 | ····.line·47 |
56 |
····:cond_ |
57 | ····:cond_3 |
57 |
····add-int/lit8·v |
58 | ····add-int/lit8·v3,·v3,·0x1 |
58 |
····goto·:goto_ |
59 | ····goto·:goto_1 |
59 | .end·method | 60 | .end·method |
60 | .method·public·static·deleteRecursively(Ljava/io/File;)Z | 61 | .method·public·static·deleteRecursively(Ljava/io/File;)Z |
61 |
····.locals· |
62 | ····.locals·4 |
62 | ····.param·p0,·"path"····#·Ljava/io/File; | 63 | ····.param·p0,·"path"····#·Ljava/io/File; |
63 | ····.prologue | 64 | ····.prologue |
64 | ····.line·27 | 65 | ····.line·27 |
65 | ····invoke-virtual·{p0},·Ljava/io/File;->isDirectory()Z | 66 | ····invoke-virtual·{p0},·Ljava/io/File;->isDirectory()Z |
66 |
····move-result·v |
67 | ····move-result·v2 |
67 |
····if-eqz·v |
68 | ····if-eqz·v2,·:cond_0 |
68 | ····.line·28 | 69 | ····.line·28 |
69 | ····invoke-virtual·{p0},·Ljava/io/File;->listFiles()[Ljava/io/File; | 70 | ····invoke-virtual·{p0},·Ljava/io/File;->listFiles()[Ljava/io/File; |
70 |
····move-result-object·v |
71 | ····move-result-object·v1 |
71 | ····.line·29 | 72 | ····.line·29 |
72 |
····.local·v |
73 | ····.local·v1,·"files":[Ljava/io/File; |
73 |
····if-eqz·v |
74 | ····if-eqz·v1,·:cond_0 |
74 | ····.line·30 | 75 | ····.line·30 |
Max diff block lines reached; 1094/3970 bytes (27.56%) of diff not shown. |
Offset 288, 18 lines modified | Offset 288, 20 lines modified | ||
288 | ····.line·96 | 288 | ····.line·96 |
289 | ····invoke-interface·{v4},·Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; | 289 | ····invoke-interface·{v4},·Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; |
290 | ····move-result-object·v5 | 290 | ····move-result-object·v5 |
291 | ····const-string·v6,·"timestamp_of_first_important_notice" | 291 | ····const-string·v6,·"timestamp_of_first_important_notice" |
292 | ····.line·97 | ||
292 | ····invoke-interface·{v5,·v6,·p1,·p2},·Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor; | 293 | ····invoke-interface·{v5,·v6,·p1,·p2},·Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor; |
293 | ····move-result-object·v5 | 294 | ····move-result-object·v5 |
295 | ····.line·98 | ||
294 | ····invoke-interface·{v5},·Landroid/content/SharedPreferences$Editor;->apply()V | 296 | ····invoke-interface·{v5},·Landroid/content/SharedPreferences$Editor;->apply()V |
295 | ····.line·100 | 297 | ····.line·100 |
296 | ····:cond_0 | 298 | ····:cond_0 |
297 | ····const-string·v5,·"timestamp_of_first_important_notice" | 299 | ····const-string·v5,·"timestamp_of_first_important_notice" |
298 | ····invoke-interface·{v4,·v5,·p1,·p2},·Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J | 300 | ····invoke-interface·{v4,·v5,·p1,·p2},·Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J |
Offset 333, 21 lines modified | Offset 335, 23 lines modified | ||
333 | ····.locals·5 | 335 | ····.locals·5 |
334 | ····.param·p0,·"context"····#·Landroid/content/Context; | 336 | ····.param·p0,·"context"····#·Landroid/content/Context; |
335 | ····.prologue | 337 | ····.prologue |
336 | ····const/4·v2,·0x0 | 338 | ····const/4·v2,·0x0 |
337 | ····.line·58 | 339 | ····.line·58 |
340 | ····.line·59 | ||
338 | ····:try_start_0 | 341 | ····:try_start_0 |
339 | ····invoke-virtual·{p0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; | 342 | ····invoke-virtual·{p0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; |
340 | ····move-result-object·v3 | 343 | ····move-result-object·v3 |
341 | ····const-string·v4,·"user_setup_complete" | 344 | ····const-string·v4,·"user_setup_complete" |
345 | ····.line·58 | ||
342 | ····invoke-static·{v3,·v4},·Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;)I | 346 | ····invoke-static·{v3,·v4},·Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;)I |
343 | ····:try_end_0 | 347 | ····:try_end_0 |
344 | ····.catch·Landroid/provider/Settings$SettingNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 | 348 | ····.catch·Landroid/provider/Settings$SettingNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
345 | ····move-result·v1 | 349 | ····move-result·v1 |
346 | ····.line·60 | 350 | ····.line·60 |
Offset 446, 32 lines modified | Offset 450, 36 lines modified | ||
446 | ····.prologue | 450 | ····.prologue |
447 | ····.line·125 | 451 | ····.line·125 |
448 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/ImportantNoticeUtils;->getImportantNoticePreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; | 452 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/ImportantNoticeUtils;->getImportantNoticePreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; |
449 | ····move-result-object·v0 | 453 | ····move-result-object·v0 |
454 | ····.line·126 | ||
450 | ····invoke-interface·{v0},·Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; | 455 | ····invoke-interface·{v0},·Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; |
451 | ····move-result-object·v0 | 456 | ····move-result-object·v0 |
452 | ····const-string·v1,·"important_notice_version" | 457 | ····const-string·v1,·"important_notice_version" |
458 | ····.line·127 | ||
453 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/ImportantNoticeUtils;->getNextImportantNoticeVersion(Landroid/content/Context;)I | 459 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/ImportantNoticeUtils;->getNextImportantNoticeVersion(Landroid/content/Context;)I |
454 | ····move-result·v2 | 460 | ····move-result·v2 |
455 | ····invoke-interface·{v0,·v1,·v2},·Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor; | 461 | ····invoke-interface·{v0,·v1,·v2},·Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor; |
456 | ····move-result-object·v0 | 462 | ····move-result-object·v0 |
457 | ····const-string·v1,·"timestamp_of_first_important_notice" | 463 | ····const-string·v1,·"timestamp_of_first_important_notice" |
464 | ····.line·128 | ||
458 | ····invoke-interface·{v0,·v1},·Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor; | 465 | ····invoke-interface·{v0,·v1},·Landroid/content/SharedPreferences$Editor;->remove(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor; |
459 | ····move-result-object·v0 | 466 | ····move-result-object·v0 |
467 | ····.line·129 | ||
460 | ····invoke-interface·{v0},·Landroid/content/SharedPreferences$Editor;->apply()V | 468 | ····invoke-interface·{v0},·Landroid/content/SharedPreferences$Editor;->apply()V |
461 | ····.line·130 | 469 | ····.line·130 |
462 | ····return-void | 470 | ····return-void |
463 | .end·method | 471 | .end·method |
Offset 98, 64 lines modified | Offset 98, 61 lines modified | ||
98 | ····and-int/lit16·v0,·v0,·0xff | 98 | ····and-int/lit16·v0,·v0,·0xff |
99 | ····goto·:goto_0 | 99 | ····goto·:goto_0 |
100 | .end·method | 100 | .end·method |
101 | .method·public·static·isAutoSpaceFriendlyType(I)Z | 101 | .method·public·static·isAutoSpaceFriendlyType(I)Z |
102 |
····.locals· |
102 | ····.locals·7 |
103 | ····.param·p0,·"inputType"····#·I | 103 | ····.param·p0,·"inputType"····#·I |
104 | ····.prologue | 104 | ····.prologue |
105 |
····const/4·v |
105 | ····const/4·v3,·0x1 |
106 |
····const/4·v |
106 | ····const/4·v2,·0x0 |
107 | ····.line·99 | 107 | ····.line·99 |
108 |
····and-int/lit8·v |
108 | ····and-int/lit8·v4,·p0,·0xf |
109 |
····if-eq·v |
109 | ····if-eq·v3,·v4,·:cond_1 |
110 | ····.line·104 | 110 | ····.line·104 |
111 | ····:cond_0 | 111 | ····:cond_0 |
112 | ····:goto_0 | 112 | ····:goto_0 |
113 |
····return·v |
113 | ····return·v2 |
114 | ····.line·100 | 114 | ····.line·100 |
115 | ····:cond_1 | 115 | ····:cond_1 |
116 |
····and-int/lit16·v |
116 | ····and-int/lit16·v1,·p0,·0xff0 |
117 | ····.line·101 | 117 | ····.line·101 |
118 |
····.local·v |
118 | ····.local·v1,·"variation":I |
119 |
····sget-object·v |
119 | ····sget-object·v5,·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->SUPPRESSING_AUTO_SPACES_FIELD_VARIATION:[I |
120 |
···· |
120 | ····array-length·v6,·v5 |
121 | ····array-length·v3,·v0 | ||
122 |
···· |
121 | ····move·v4,·v2 |
123 | ····const/4·v2,·0x0 | ||
124 | ····.local·v2,·"i$":I | ||
125 | ····:goto_1 | 122 | ····:goto_1 |
126 |
····if-ge·v |
123 | ····if-ge·v4,·v6,·:cond_2 |
127 |
····aget·v |
124 | ····aget·v0,·v5,·v4 |
128 | ····.line·102 | 125 | ····.line·102 |
129 |
····.local·v |
126 | ····.local·v0,·"fieldVariation":I |
130 |
····if-eq·v |
127 | ····if-eq·v1,·v0,·:cond_0 |
131 | ····.line·101 | 128 | ····.line·101 |
132 |
····add-int/lit8·v |
129 | ····add-int/lit8·v4,·v4,·0x1 |
133 | ····goto·:goto_1 | 130 | ····goto·:goto_1 |
134 |
····.end·local·v |
131 | ····.end·local·v0····#·"fieldVariation":I |
135 | ····:cond_2 | 132 | ····:cond_2 |
136 |
····move·v |
133 | ····move·v2,·v3 |
137 | ····.line·104 | 134 | ····.line·104 |
138 | ····goto·:goto_0 | 135 | ····goto·:goto_0 |
139 | .end·method | 136 | .end·method |
140 | .method·public·static·isEmailVariation(I)Z | 137 | .method·public·static·isEmailVariation(I)Z |
141 | ····.locals·1 | 138 | ····.locals·1 |
Offset 163, 26 lines modified | Offset 160, 29 lines modified | ||
163 | ····.prologue | 160 | ····.prologue |
164 | ····.line·72 | 161 | ····.line·72 |
165 | ····const/16·v0,·0x20 | 162 | ····const/16·v0,·0x20 |
166 | ····if-eq·p0,·v0,·:cond_0 | 163 | ····if-eq·p0,·v0,·:cond_0 |
164 | ····.line·73 | ||
167 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isWebEmailAddressVariation(I)Z | 165 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isWebEmailAddressVariation(I)Z |
168 | ····move-result·v0 | 166 | ····move-result·v0 |
169 | ····if-eqz·v0,·:cond_1 | 167 | ····if-eqz·v0,·:cond_1 |
170 | ····:cond_0 | 168 | ····:cond_0 |
171 | ····const/4·v0,·0x1 | 169 | ····const/4·v0,·0x1 |
170 | ····.line·72 | ||
172 | ····:goto_0 | 171 | ····:goto_0 |
173 | ····return·v0 | 172 | ····return·v0 |
173 | ····.line·73 | ||
174 | ····:cond_1 | 174 | ····:cond_1 |
175 | ····const/4·v0,·0x0 | 175 | ····const/4·v0,·0x0 |
176 | ····goto·:goto_0 | 176 | ····goto·:goto_0 |
177 | .end·method | 177 | .end·method |
178 | .method·private·static·isNumberPasswordInputType(I)Z | 178 | .method·private·static·isNumberPasswordInputType(I)Z |
Offset 224, 26 lines modified | Offset 224, 29 lines modified | ||
224 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isWebPasswordInputType(I)Z | 224 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isWebPasswordInputType(I)Z |
225 | ····move-result·v1 | 225 | ····move-result·v1 |
Max diff block lines reached; 982/3317 bytes (29.61%) of diff not shown. |
Offset 288, 151 lines modified | Offset 288, 146 lines modified | ||
288 | ····.prologue | 288 | ····.prologue |
289 | ····.line·69 | 289 | ····.line·69 |
290 | ····.local·p0,·"list":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/Object;>;" | 290 | ····.local·p0,·"list":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/Object;>;" |
291 | ····if-eqz·p0,·:cond_0 | 291 | ····if-eqz·p0,·:cond_0 |
292 | ····invoke-interface·{p0},·Ljava/util/List;->isEmpty()Z | 292 | ····invoke-interface·{p0},·Ljava/util/List;->isEmpty()Z |
293 |
····move-result·v |
293 | ····move-result·v3 |
294 |
····if-eqz·v |
294 | ····if-eqz·v3,·:cond_1 |
295 | ····.line·70 | 295 | ····.line·70 |
296 | ····:cond_0 | 296 | ····:cond_0 |
297 |
····const-string·v |
297 | ····const-string·v3,·"" |
298 | ····.line·91 | 298 | ····.line·91 |
299 | ····:goto_0 | 299 | ····:goto_0 |
300 |
····return-object·v |
300 | ····return-object·v3 |
301 | ····.line·72 | 301 | ····.line·72 |
302 | ····:cond_1 | 302 | ····:cond_1 |
303 |
····new-instance·v |
303 | ····new-instance·v1,·Ljava/io/StringWriter; |
304 |
····invoke-direct·{v |
304 | ····invoke-direct·{v1},·Ljava/io/StringWriter;-><init>()V |
305 | ····.line·73 | 305 | ····.line·73 |
306 |
····.local·v |
306 | ····.local·v1,·"sw":Ljava/io/StringWriter; |
307 |
····new-instance·v |
307 | ····new-instance·v2,·Landroid/util/JsonWriter; |
308 |
····invoke-direct·{v |
308 | ····invoke-direct·{v2,·v1},·Landroid/util/JsonWriter;-><init>(Ljava/io/Writer;)V |
309 | ····.line·75 | 309 | ····.line·75 |
310 |
····.local·v |
310 | ····.local·v2,·"writer":Landroid/util/JsonWriter; |
311 | ····:try_start_0 | 311 | ····:try_start_0 |
312 |
····invoke-virtual·{v |
312 | ····invoke-virtual·{v2},·Landroid/util/JsonWriter;->beginArray()Landroid/util/JsonWriter; |
313 | ····.line·76 | 313 | ····.line·76 |
314 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 314 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
315 |
····move-result-object·v |
315 | ····move-result-object·v3 |
316 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
317 | ····:goto_1 | 316 | ····:goto_1 |
318 |
····invoke-interface·{v |
317 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
319 | ····move-result·v4 | 318 | ····move-result·v4 |
320 | ····if-eqz·v4,·:cond_4 | 319 | ····if-eqz·v4,·:cond_4 |
321 |
····invoke-interface·{v |
320 | ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
322 |
····move-result-object·v |
321 | ····move-result-object·v0 |
323 | ····.line·77 | 322 | ····.line·77 |
324 |
····.local·v |
323 | ····.local·v0,·"o":Ljava/lang/Object; |
325 |
····invoke-virtual·{v |
324 | ····invoke-virtual·{v2},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; |
326 | ····.line·78 | 325 | ····.line·78 |
327 |
····instance-of·v4,·v |
326 | ····instance-of·v4,·v0,·Ljava/lang/Integer; |
328 | ····if-eqz·v4,·:cond_3 | 327 | ····if-eqz·v4,·:cond_3 |
329 | ····.line·79 | 328 | ····.line·79 |
330 | ····sget-object·v4,·Lcom/android/inputmethod/latin/utils/JsonUtils;->INTEGER_CLASS_NAME:Ljava/lang/String; | 329 | ····sget-object·v4,·Lcom/android/inputmethod/latin/utils/JsonUtils;->INTEGER_CLASS_NAME:Ljava/lang/String; |
331 |
····invoke-virtual·{v |
330 | ····invoke-virtual·{v2,·v4},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
332 | ····move-result-object·v4 | 331 | ····move-result-object·v4 |
333 |
····check-cast·v |
332 | ····check-cast·v0,·Ljava/lang/Integer; |
334 |
····.end·local·v |
333 | ····.end·local·v0····#·"o":Ljava/lang/Object; |
335 |
····invoke-virtual·{v4,·v |
334 | ····invoke-virtual·{v4,·v0},·Landroid/util/JsonWriter;->value(Ljava/lang/Number;)Landroid/util/JsonWriter; |
336 | ····.line·83 | 335 | ····.line·83 |
337 | ····:cond_2 | 336 | ····:cond_2 |
338 | ····:goto_2 | 337 | ····:goto_2 |
339 |
····invoke-virtual·{v |
338 | ····invoke-virtual·{v2},·Landroid/util/JsonWriter;->endObject()Landroid/util/JsonWriter; |
340 | ····:try_end_0 | 339 | ····:try_end_0 |
341 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0 | 340 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0 |
342 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 341 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
343 | ····goto·:goto_1 | 342 | ····goto·:goto_1 |
344 | ····.line·87 | 343 | ····.line·87 |
345 | ····.end·local·v0····#·"i$":Ljava/util/Iterator; | ||
346 | ····:catch_0 | 344 | ····:catch_0 |
347 |
····move-exception·v |
345 | ····move-exception·v3 |
348 | ····.line·89 | 346 | ····.line·89 |
349 |
····invoke-static·{v |
347 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/JsonUtils;->close(Ljava/io/Closeable;)V |
350 | ····.line·91 | 348 | ····.line·91 |
351 |
····const-string·v |
349 | ····const-string·v3,·"" |
352 | ····goto·:goto_0 | 350 | ····goto·:goto_0 |
353 | ····.line·80 | 351 | ····.line·80 |
354 |
····.restart·local·v0····#·" |
352 | ····.restart·local·v0····#·"o":Ljava/lang/Object; |
Max diff block lines reached; 2327/6470 bytes (35.97%) of diff not shown. |
Offset 170, 14 lines modified | Offset 170, 15 lines modified | ||
170 | ····move-result·v1 | 170 | ····move-result·v1 |
171 | ····const/4·v5,·0x1 | 171 | ····const/4·v5,·0x1 |
172 | ····if-ne·v1,·v5,·:cond_0 | 172 | ····if-ne·v1,·v5,·:cond_0 |
173 | ····.line·158 | ||
173 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/latin/PrevWordsInfo;->isValid()Z | 174 | ····invoke-virtual·{p0},·Lcom/android/inputmethod/latin/PrevWordsInfo;->isValid()Z |
174 | ····move-result·v1 | 175 | ····move-result·v1 |
175 | ····if-nez·v1,·:cond_0 | 176 | ····if-nez·v1,·:cond_0 |
176 | ····if-nez·p3,·:cond_0 | 177 | ····if-nez·p3,·:cond_0 |
Offset 355, 15 lines modified | Offset 356, 15 lines modified | ||
355 | ····.line·107 | 356 | ····.line·107 |
356 | ····sget-object·v4,·Lcom/android/inputmethod/latin/PrevWordsInfo;->EMPTY_PREV_WORDS_INFO:Lcom/android/inputmethod/latin/PrevWordsInfo; | 357 | ····sget-object·v4,·Lcom/android/inputmethod/latin/PrevWordsInfo;->EMPTY_PREV_WORDS_INFO:Lcom/android/inputmethod/latin/PrevWordsInfo; |
357 | ····.line·108 | 358 | ····.line·108 |
358 | ····goto·:goto_1 | 359 | ····goto·:goto_1 |
359 |
····.line·11 |
360 | ····.line·114 |
360 | ····:cond_2 | 361 | ····:cond_2 |
361 | ····invoke-static·{v4,·v5,·p1,·p2,·p4},·Lcom/android/inputmethod/latin/utils/LanguageModelParam;->detectWhetherVaildWordOrNotAndGetLanguageModelParam(Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;ILorg/smc/inputmethod/indic/DictionaryFacilitator;Lcom/android/inputmethod/latin/utils/DistracterFilter;)Lcom/android/inputmethod/latin/utils/LanguageModelParam; | 362 | ····invoke-static·{v4,·v5,·p1,·p2,·p4},·Lcom/android/inputmethod/latin/utils/LanguageModelParam;->detectWhetherVaildWordOrNotAndGetLanguageModelParam(Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;ILorg/smc/inputmethod/indic/DictionaryFacilitator;Lcom/android/inputmethod/latin/utils/DistracterFilter;)Lcom/android/inputmethod/latin/utils/LanguageModelParam; |
362 | ····move-result-object·v2 | 363 | ····move-result-object·v2 |
363 | ····.line·117 | 364 | ····.line·117 |
364 | ····.local·v2,·"languageModelParam":Lcom/android/inputmethod/latin/utils/LanguageModelParam; | 365 | ····.local·v2,·"languageModelParam":Lcom/android/inputmethod/latin/utils/LanguageModelParam; |
Offset 199, 14 lines modified | Offset 199, 15 lines modified | ||
199 | ····:cond_5 | 199 | ····:cond_5 |
200 | ····invoke-virtual·{p1,·v4},·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->isWordSeparator(I)Z | 200 | ····invoke-virtual·{p1,·v4},·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->isWordSeparator(I)Z |
201 | ····move-result·v9 | 201 | ····move-result·v9 |
202 | ····if-nez·v9,·:cond_6 | 202 | ····if-nez·v9,·:cond_6 |
203 | ····.line·96 | ||
203 | ····invoke-virtual·{p1,·v4},·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->isWordConnector(I)Z | 204 | ····invoke-virtual·{p1,·v4},·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->isWordConnector(I)Z |
204 | ····move-result·v9 | 205 | ····move-result·v9 |
205 | ····if-eqz·v9,·:cond_7 | 206 | ····if-eqz·v9,·:cond_7 |
206 | ····.line·97 | 207 | ····.line·97 |
Offset 654, 14 lines modified | Offset 654, 15 lines modified | ||
654 | ····iput·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mCursorStartAfter:I | 654 | ····iput·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mCursorStartAfter:I |
655 | ····iput·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mCursorStartBefore:I | 655 | ····iput·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mCursorStartBefore:I |
656 | ····.line·188 | 656 | ····.line·188 |
657 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mStringBefore:Ljava/lang/String; | 657 | ····iget-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mStringBefore:Ljava/lang/String; |
658 | ····.line·189 | ||
658 | ····invoke-virtual·{v4,·v3,·v2},·Ljava/lang/String;->substring(II)Ljava/lang/String; | 659 | ····invoke-virtual·{v4,·v3,·v2},·Ljava/lang/String;->substring(II)Ljava/lang/String; |
659 | ····move-result-object·v4 | 660 | ····move-result-object·v4 |
660 | ····iput-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mStringBefore:Ljava/lang/String; | 661 | ····iput-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mStringBefore:Ljava/lang/String; |
661 | ····iput-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mStringAfter:Ljava/lang/String; | 662 | ····iput-object·v4,·p0,·Lcom/android/inputmethod/latin/utils/RecapitalizeStatus;->mStringAfter:Ljava/lang/String; |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ····:cond_0 | 98 | ····:cond_0 |
99 | ····invoke-virtual·{p0,·p1},·Lcom/android/inputmethod/latin/utils/RunInLocale;->job(Landroid/content/res/Resources;)Ljava/lang/Object; | 99 | ····invoke-virtual·{p0,·p1},·Lcom/android/inputmethod/latin/utils/RunInLocale;->job(Landroid/content/res/Resources;)Ljava/lang/Object; |
100 | ····move-result-object·v2 | 100 | ····move-result-object·v2 |
101 | ····monitor-exit·v3 | 101 | ····monitor-exit·v3 |
102 |
····.line·4 |
102 | ····.line·46 |
103 | ····:goto_0 | 103 | ····:goto_0 |
104 | ····return-object·v2 | 104 | ····return-object·v2 |
105 | ····.line·42 | 105 | ····.line·42 |
106 | ····:cond_1 | 106 | ····:cond_1 |
107 | ····iget-object·v1,·v0,·Landroid/content/res/Configuration;->locale:Ljava/util/Locale; | 107 | ····iget-object·v1,·v0,·Landroid/content/res/Configuration;->locale:Ljava/util/Locale; |
108 | ····:try_end_0 | 108 | ····:try_end_0 |
Offset 273, 74 lines modified | Offset 273, 71 lines modified | ||
273 | ········} | 273 | ········} |
274 | ····.end·annotation | 274 | ····.end·annotation |
275 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 275 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
276 | ····.end·annotation | 276 | ····.end·annotation |
277 | ····.prologue | 277 | ····.prologue |
278 | ····.line·126 | ||
279 | ····.local·p0,·"keyValuePairs":Ljava/util/HashMap;,·"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;" | 278 | ····.local·p0,·"keyValuePairs":Ljava/util/HashMap;,·"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;" |
279 | ····const/4·v6,·0x0 | ||
280 | ····.line·126 | ||
280 | ····if-eqz·p1,·:cond_0 | 281 | ····if-eqz·p1,·:cond_0 |
281 | ····if-nez·p0,·:cond_2 | 282 | ····if-nez·p0,·:cond_2 |
282 | ····.line·127 | 283 | ····.line·127 |
283 | ····:cond_0 | 284 | ····:cond_0 |
284 |
····const/4·v |
285 | ····const/4·v3,·0x0 |
285 | ····.line·153 | 286 | ····.line·153 |
286 | ····:cond_1 | 287 | ····:cond_1 |
287 |
····return-object·v |
288 | ····return-object·v3 |
288 | ····.line·129 | 289 | ····.line·129 |
289 | ····:cond_2 | 290 | ····:cond_2 |
290 |
····const/4·v |
291 | ····const/4·v3,·0x0 |
291 | ····.line·130 | 292 | ····.line·130 |
292 |
····.local·v |
293 | ····.local·v3,·"foundValue":Ljava/lang/String; |
293 |
···· |
294 | ····array-length·v7,·p1 |
294 | ····.local·v0,·"arr$":[Ljava/lang/String; | ||
295 | ····array-length·v6,·v0 | ||
296 |
···· |
295 | ····move·v5,·v6 |
297 | ····const/4·v5,·0x0 | ||
298 | ····.local·v5,·"i$":I | ||
299 | ····:goto_0 | 296 | ····:goto_0 |
300 |
····if-ge·v5,·v |
297 | ····if-ge·v5,·v7,·:cond_1 |
301 |
····aget-object·v |
298 | ····aget-object·v1,·p1,·v5 |
302 | ····.line·131 | 299 | ····.line·131 |
303 |
····.local·v |
300 | ····.local·v1,·"conditionConstant":Ljava/lang/String; |
304 | ····const/16·v8,·0x2c | 301 | ····const/16·v8,·0x2c |
305 |
····invoke-virtual·{v |
302 | ····invoke-virtual·{v1,·v8},·Ljava/lang/String;->indexOf(I)I |
306 |
····move-result·v |
303 | ····move-result·v4 |
307 | ····.line·132 | 304 | ····.line·132 |
308 |
····.local·v |
305 | ····.local·v4,·"posComma":I |
309 |
····if-gez·v |
306 | ····if-gez·v4,·:cond_4 |
310 | ····.line·133 | 307 | ····.line·133 |
311 | ····sget-object·v8,·Lcom/android/inputmethod/latin/utils/ResourceUtils;->TAG:Ljava/lang/String; | 308 | ····sget-object·v8,·Lcom/android/inputmethod/latin/utils/ResourceUtils;->TAG:Ljava/lang/String; |
312 | ····new-instance·v9,·Ljava/lang/StringBuilder; | 309 | ····new-instance·v9,·Ljava/lang/StringBuilder; |
313 | ····invoke-direct·{v9},·Ljava/lang/StringBuilder;-><init>()V | 310 | ····invoke-direct·{v9},·Ljava/lang/StringBuilder;-><init>()V |
314 | ····const-string·v10,·"Array·element·has·no·comma:·" | 311 | ····const-string·v10,·"Array·element·has·no·comma:·" |
315 | ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 312 | ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
316 | ····move-result-object·v9 | 313 | ····move-result-object·v9 |
317 |
····invoke-virtual·{v9,·v |
314 | ····invoke-virtual·{v9,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
318 | ····move-result-object·v9 | 315 | ····move-result-object·v9 |
319 | ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 316 | ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
320 | ····move-result-object·v9 | 317 | ····move-result-object·v9 |
Offset 351, 23 lines modified | Offset 348, 21 lines modified | ||
351 | ····:goto_1 | 348 | ····:goto_1 |
352 | ····add-int/lit8·v5,·v5,·0x1 | 349 | ····add-int/lit8·v5,·v5,·0x1 |
353 | ····goto·:goto_0 | 350 | ····goto·:goto_0 |
354 | ····.line·136 | 351 | ····.line·136 |
355 | ····:cond_4 | 352 | ····:cond_4 |
356 |
···· |
353 | ····invoke-virtual·{v1,·v6,·v4},·Ljava/lang/String;->substring(II)Ljava/lang/String; |
357 |
···· |
354 | ····move-result-object·v0 |
358 | ····move-result-object·v1 | ||
359 | ····.line·137 | 355 | ····.line·137 |
360 |
····.local·v |
356 | ····.local·v0,·"condition":Ljava/lang/String; |
361 |
····invoke-virtual·{v |
357 | ····invoke-virtual·{v0},·Ljava/lang/String;->isEmpty()Z |
362 | ····move-result·v8 | 358 | ····move-result·v8 |
363 | ····if-eqz·v8,·:cond_5 | 359 | ····if-eqz·v8,·:cond_5 |
Max diff block lines reached; 10482/13415 bytes (78.14%) of diff not shown. |
Offset 305, 14 lines modified | Offset 305, 15 lines modified | ||
305 | ····const-string·v3,·"We·have·been·called·with·an·unsupported·language:·\"" | 305 | ····const-string·v3,·"We·have·been·called·with·an·unsupported·language:·\"" |
306 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 306 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
307 | ····move-result-object·v2 | 307 | ····move-result-object·v2 |
308 | ····.line·188 | ||
308 | ····invoke-virtual·{p0},·Ljava/util/Locale;->getLanguage()Ljava/lang/String; | 309 | ····invoke-virtual·{p0},·Ljava/util/Locale;->getLanguage()Ljava/lang/String; |
309 | ····move-result-object·v3 | 310 | ····move-result-object·v3 |
310 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 311 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
311 | ····move-result-object·v2 | 312 | ····move-result-object·v2 |
Offset 126, 14 lines modified | Offset 126, 15 lines modified | ||
126 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 126 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
127 | ····move-result-object·v2 | 127 | ····move-result-object·v2 |
128 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;->val$subtype:Landroid/view/inputmethod/InputMethodSubtype; | 128 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;->val$subtype:Landroid/view/inputmethod/InputMethodSubtype; |
129 | ····.line·255 | ||
129 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getNameResId()I | 130 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getNameResId()I |
130 | ····move-result·v3 | 131 | ····move-result·v3 |
131 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 132 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
132 | ····move-result-object·v2 | 133 | ····move-result-object·v2 |
Offset 142, 14 lines modified | Offset 143, 15 lines modified | ||
142 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 143 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
143 | ····move-result-object·v2 | 144 | ····move-result-object·v2 |
144 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;->val$subtype:Landroid/view/inputmethod/InputMethodSubtype; | 145 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;->val$subtype:Landroid/view/inputmethod/InputMethodSubtype; |
146 | ····.line·256 | ||
145 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getLocale()Ljava/lang/String; | 147 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getLocale()Ljava/lang/String; |
146 | ····move-result-object·v3 | 148 | ····move-result-object·v3 |
147 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 149 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
148 | ····move-result-object·v2 | 150 | ····move-result-object·v2 |
Offset 158, 40 lines modified | Offset 160, 43 lines modified | ||
158 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 160 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
159 | ····move-result-object·v2 | 161 | ····move-result-object·v2 |
160 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;->val$subtype:Landroid/view/inputmethod/InputMethodSubtype; | 162 | ····iget-object·v3,·p0,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;->val$subtype:Landroid/view/inputmethod/InputMethodSubtype; |
163 | ····.line·257 | ||
161 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getExtraValue()Ljava/lang/String; | 164 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getExtraValue()Ljava/lang/String; |
162 | ····move-result-object·v3 | 165 | ····move-result-object·v3 |
163 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 166 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
164 | ····move-result-object·v2 | 167 | ····move-result-object·v2 |
165 | ····const-string·v3,·"\n" | 168 | ····const-string·v3,·"\n" |
166 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 169 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
167 | ····move-result-object·v2 | 170 | ····move-result-object·v2 |
171 | ····.line·258 | ||
168 | ····invoke-static·{},·Lcom/android/inputmethod/latin/utils/DebugLogUtils;->getStackTrace()Ljava/lang/String; | 172 | ····invoke-static·{},·Lcom/android/inputmethod/latin/utils/DebugLogUtils;->getStackTrace()Ljava/lang/String; |
169 | ····move-result-object·v3 | 173 | ····move-result-object·v3 |
170 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 174 | ····invoke-virtual·{v2,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
171 | ····move-result-object·v2 | 175 | ····move-result-object·v2 |
172 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 176 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
173 | ····move-result-object·v2 | 177 | ····move-result-object·v2 |
178 | ····.line·254 | ||
174 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 179 | ····invoke-static·{v1,·v2},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
175 | ····.line·259 | 180 | ····.line·259 |
176 | ····const-string·v1,·"" | 181 | ····const-string·v1,·"" |
177 | ····goto·:goto_0 | 182 | ····goto·:goto_0 |
178 | .end·method | 183 | .end·method |
Offset 64, 92 lines modified | Offset 64, 87 lines modified | ||
64 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 64 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
65 | ····.line·50 | 65 | ····.line·50 |
66 | ····return-void | 66 | ····return-void |
67 | .end·method | 67 | .end·method |
68 | .method·public·static·byteArrayToHexString([B)Ljava/lang/String; | 68 | .method·public·static·byteArrayToHexString([B)Ljava/lang/String; |
69 |
····.locals· |
69 | ····.locals·8 |
70 | ····.param·p0,·"bytes"····#·[B | 70 | ····.param·p0,·"bytes"····#·[B |
71 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 71 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
72 | ····.end·annotation | 72 | ····.end·annotation |
73 | ····.prologue | 73 | ····.prologue |
74 | ····const/4·v3,·0x0 | ||
74 | ····.line·463 | 75 | ····.line·463 |
75 | ····if-eqz·p0,·:cond_0 | 76 | ····if-eqz·p0,·:cond_0 |
76 |
····array-length·v |
77 | ····array-length·v2,·p0 |
77 |
····if-nez·v |
78 | ····if-nez·v2,·:cond_1 |
78 | ····.line·464 | 79 | ····.line·464 |
79 | ····:cond_0 | 80 | ····:cond_0 |
80 |
····const-string·v |
81 | ····const-string·v2,·"" |
81 | ····.line·470 | 82 | ····.line·470 |
82 | ····:goto_0 | 83 | ····:goto_0 |
83 |
····return-object·v |
84 | ····return-object·v2 |
84 | ····.line·466 | 85 | ····.line·466 |
85 | ····:cond_1 | 86 | ····:cond_1 |
86 |
····new-instance·v |
87 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
87 |
····invoke-direct·{v |
88 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
88 | ····.line·467 | 89 | ····.line·467 |
89 |
····.local·v |
90 | ····.local·v1,·"sb":Ljava/lang/StringBuilder; |
90 |
···· |
91 | ····array-length·v4,·p0 |
91 |
···· |
92 | ····move·v2,·v3 |
92 | ····array-length·v3,·v0 | ||
93 | ····.local·v3,·"len$":I | ||
94 | ····const/4·v2,·0x0 | ||
95 | ····.local·v2,·"i$":I | ||
96 | ····:goto_1 | 93 | ····:goto_1 |
97 |
····if-ge·v2,·v |
94 | ····if-ge·v2,·v4,·:cond_2 |
98 |
····aget-byte·v |
95 | ····aget-byte·v0,·p0,·v2 |
99 | ····.line·468 | 96 | ····.line·468 |
100 |
····.local·v |
97 | ····.local·v0,·"b":B |
101 | ····const-string·v5,·"%02x" | 98 | ····const-string·v5,·"%02x" |
102 | ····const/4·v6,·0x1 | 99 | ····const/4·v6,·0x1 |
103 | ····new-array·v6,·v6,·[Ljava/lang/Object; | 100 | ····new-array·v6,·v6,·[Ljava/lang/Object; |
104 |
···· |
101 | ····and-int/lit16·v7,·v0,·0xff |
105 | ····and-int/lit16·v8,·v1,·0xff | ||
106 |
····invoke-static·{v |
102 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
107 |
····move-result-object·v |
103 | ····move-result-object·v7 |
108 |
····aput-object·v |
104 | ····aput-object·v7,·v6,·v3 |
109 | ····invoke-static·{v5,·v6},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 105 | ····invoke-static·{v5,·v6},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
110 | ····move-result-object·v5 | 106 | ····move-result-object·v5 |
111 |
····invoke-virtual·{v |
107 | ····invoke-virtual·{v1,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
112 | ····.line·467 | 108 | ····.line·467 |
113 | ····add-int/lit8·v2,·v2,·0x1 | 109 | ····add-int/lit8·v2,·v2,·0x1 |
114 | ····goto·:goto_1 | 110 | ····goto·:goto_1 |
115 | ····.line·470 | 111 | ····.line·470 |
116 |
····.end·local·v |
112 | ····.end·local·v0····#·"b":B |
117 | ····:cond_2 | 113 | ····:cond_2 |
118 |
····invoke-virtual·{v |
114 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
119 |
····move-result-object·v |
115 | ····move-result-object·v2 |
120 | ····goto·:goto_0 | 116 | ····goto·:goto_0 |
121 | .end·method | 117 | .end·method |
122 | .method·public·static·capitalizeEachWord(Ljava/lang/String;[ILjava/util/Locale;)Ljava/lang/String; | 118 | .method·public·static·capitalizeEachWord(Ljava/lang/String;[ILjava/util/Locale;)Ljava/lang/String; |
123 | ····.locals·8 | 119 | ····.locals·8 |
124 | ····.param·p0,·"text"····#·Ljava/lang/String; | 120 | ····.param·p0,·"text"····#·Ljava/lang/String; |
Offset 280, 20 lines modified | Offset 275, 21 lines modified | ||
280 | ····.line·154 | 275 | ····.line·154 |
281 | ····:cond_0 | 276 | ····:cond_0 |
282 | ····invoke-virtual·{p0,·v4,·v3},·Ljava/lang/String;->offsetByCodePoints(II)I | 277 | ····invoke-virtual·{p0,·v4,·v3},·Ljava/lang/String;->offsetByCodePoints(II)I |
Max diff block lines reached; 7992/10932 bytes (73.11%) of diff not shown. |
Offset 381, 14 lines modified | Offset 381, 15 lines modified | ||
381 | ····const-string·v4,·"KeyboardLayoutSet·not·found,·use·QWERTY:·locale=" | 381 | ····const-string·v4,·"KeyboardLayoutSet·not·found,·use·QWERTY:·locale=" |
382 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 382 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
383 | ····move-result-object·v3 | 383 | ····move-result-object·v3 |
384 | ····.line·299 | ||
384 | ····invoke-virtual·{p0},·Landroid/view/inputmethod/InputMethodSubtype;->getLocale()Ljava/lang/String; | 385 | ····invoke-virtual·{p0},·Landroid/view/inputmethod/InputMethodSubtype;->getLocale()Ljava/lang/String; |
385 | ····move-result-object·v4 | 386 | ····move-result-object·v4 |
386 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 387 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
387 | ····move-result-object·v3 | 388 | ····move-result-object·v3 |
Offset 407, 14 lines modified | Offset 408, 15 lines modified | ||
407 | ····move-result-object·v3 | 408 | ····move-result-object·v3 |
408 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 409 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
409 | ····move-result-object·v3 | 410 | ····move-result-object·v3 |
411 | ····.line·298 | ||
410 | ····invoke-static·{v2,·v3},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 412 | ····invoke-static·{v2,·v3},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
411 | ····.line·300 | 413 | ····.line·300 |
412 | ····const-string·v1,·"qwerty" | 414 | ····const-string·v1,·"qwerty" |
413 | ····.line·302 | 415 | ····.line·302 |
414 | ····.end·local·v1····#·"keyboardLayoutSet":Ljava/lang/String; | 416 | ····.end·local·v1····#·"keyboardLayoutSet":Ljava/lang/String; |
Offset 470, 14 lines modified | Offset 472, 15 lines modified | ||
470 | ····const/16·v1,·0x10 | 472 | ····const/16·v1,·0x10 |
471 | ····if-lt·v0,·v1,·:cond_0 | 473 | ····if-lt·v0,·v1,·:cond_0 |
472 | ····const-string·v0,·"UntranslatableReplacementStringInSubtypeName" | 474 | ····const-string·v0,·"UntranslatableReplacementStringInSubtypeName" |
475 | ····.line·223 | ||
473 | ····invoke-virtual·{p0,·v0},·Landroid/view/inputmethod/InputMethodSubtype;->containsExtraValueKey(Ljava/lang/String;)Z | 476 | ····invoke-virtual·{p0,·v0},·Landroid/view/inputmethod/InputMethodSubtype;->containsExtraValueKey(Ljava/lang/String;)Z |
474 | ····move-result·v0 | 477 | ····move-result·v0 |
475 | ····if-eqz·v0,·:cond_0 | 478 | ····if-eqz·v0,·:cond_0 |
476 | ····.line·224 | 479 | ····.line·224 |
Offset 549, 20 lines modified | Offset 552, 22 lines modified | ||
549 | ····invoke-direct·{v0,·v1,·v2,·p0},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;-><init>(ILjava/lang/String;Landroid/view/inputmethod/InputMethodSubtype;)V | 552 | ····invoke-direct·{v0,·v1,·v2,·p0},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils$2;-><init>(ILjava/lang/String;Landroid/view/inputmethod/InputMethodSubtype;)V |
550 | ····.line·263 | 553 | ····.line·263 |
551 | ····.local·v0,·"getSubtypeName":Lcom/android/inputmethod/latin/utils/RunInLocale;,·"Lcom/android/inputmethod/latin/utils/RunInLocale<Ljava/lang/String;>;" | 554 | ····.local·v0,·"getSubtypeName":Lcom/android/inputmethod/latin/utils/RunInLocale;,·"Lcom/android/inputmethod/latin/utils/RunInLocale<Ljava/lang/String;>;" |
552 | ····sget-object·v3,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->sResources:Landroid/content/res/Resources; | 555 | ····sget-object·v3,·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->sResources:Landroid/content/res/Resources; |
556 | ····.line·264 | ||
553 | ····invoke-virtual·{v0,·v3,·p1},·Lcom/android/inputmethod/latin/utils/RunInLocale;->runInLocale(Landroid/content/res/Resources;Ljava/util/Locale;)Ljava/lang/Object; | 557 | ····invoke-virtual·{v0,·v3,·p1},·Lcom/android/inputmethod/latin/utils/RunInLocale;->runInLocale(Landroid/content/res/Resources;Ljava/util/Locale;)Ljava/lang/Object; |
554 | ····move-result-object·v3 | 558 | ····move-result-object·v3 |
555 | ····check-cast·v3,·Ljava/lang/String; | 559 | ····check-cast·v3,·Ljava/lang/String; |
560 | ····.line·263 | ||
556 | ····invoke-static·{v3,·p1},·Lcom/android/inputmethod/latin/utils/StringUtils;->capitalizeFirstCodePoint(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String; | 561 | ····invoke-static·{v3,·p1},·Lcom/android/inputmethod/latin/utils/StringUtils;->capitalizeFirstCodePoint(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String; |
557 | ····move-result-object·v3 | 562 | ····move-result-object·v3 |
558 | ····return-object·v3 | 563 | ····return-object·v3 |
559 | .end·method | 564 | .end·method |
Offset 798, 14 lines modified | Offset 803, 15 lines modified | ||
798 | ····.line·145 | 803 | ····.line·145 |
799 | ····sget·v2,·Landroid/os/Build$VERSION;->SDK_INT:I | 804 | ····sget·v2,·Landroid/os/Build$VERSION;->SDK_INT:I |
800 | ····const/16·v3,·0x10 | 805 | ····const/16·v3,·0x10 |
801 | ····if-lt·v2,·v3,·:cond_0 | 806 | ····if-lt·v2,·v3,·:cond_0 |
807 | ····.line·146 | ||
802 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->isExceptionalLocale(Ljava/lang/String;)Z | 808 | ····invoke-static·{p0},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->isExceptionalLocale(Ljava/lang/String;)Z |
803 | ····move-result·v2 | 809 | ····move-result·v2 |
804 | ····if-eqz·v2,·:cond_0 | 810 | ····if-eqz·v2,·:cond_0 |
805 | ····.line·147 | 811 | ····.line·147 |
Offset 831, 14 lines modified | Offset 837, 15 lines modified | ||
831 | ····invoke-virtual·{v2,·p0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 837 | ····invoke-virtual·{v2,·p0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
832 | ····move-result·v2 | 838 | ····move-result·v2 |
833 | ····if-eqz·v2,·:cond_1 | 839 | ····if-eqz·v2,·:cond_1 |
840 | ····.line·150 | ||
834 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getNoLanguageLayoutKey(Ljava/lang/String;)Ljava/lang/String; | 841 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getNoLanguageLayoutKey(Ljava/lang/String;)Ljava/lang/String; |
835 | ····move-result-object·v0 | 842 | ····move-result-object·v0 |
Max diff block lines reached; 484/3453 bytes (14.02%) of diff not shown. |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Ljava/util/TreeSet; | 2 | .super·Ljava/util/TreeSet; |
3 | .source·"SuggestionResults.java" | 3 | .source·"SuggestionResults.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lcom/android/inputmethod/latin/utils/SuggestionResults$1;, | ||
8 | ········Lcom/android/inputmethod/latin/utils/SuggestionResults$SuggestedWordInfoComparator; | 7 | ········Lcom/android/inputmethod/latin/utils/SuggestionResults$SuggestedWordInfoComparator; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | .annotation·system·Ldalvik/annotation/Signature; | 10 | .annotation·system·Ldalvik/annotation/Signature; |
12 | ····value·=·{ | 11 | ····value·=·{ |
13 | ········"Ljava/util/TreeSet", | 12 | ········"Ljava/util/TreeSet", |
Offset 33, 14 lines modified | Offset 33, 15 lines modified | ||
33 | ····.line·110 | 33 | ····.line·110 |
34 | ····if-ltz·p2,·:cond_0 | 34 | ····if-ltz·p2,·:cond_0 |
35 | ····if-lt·p4,·p2,·:cond_0 | 35 | ····if-lt·p4,·p2,·:cond_0 |
36 | ····if-gt·p4,·p3,·:cond_0 | 36 | ····if-gt·p4,·p3,·:cond_0 |
37 | ····.line·112 | ||
37 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I | 38 | ····invoke-interface·{p1},·Ljava/lang/CharSequence;->length()I |
38 | ····move-result·v0 | 39 | ····move-result·v0 |
39 | ····if-le·p3,·v0,·:cond_1 | 40 | ····if-le·p3,·v0,·:cond_1 |
40 | ····.line·113 | 41 | ····.line·113 |
Offset 19, 53 lines modified | Offset 19, 52 lines modified | ||
19 | ····.param·p0,·"packageName"····#·Ljava/lang/String; | 19 | ····.param·p0,·"packageName"····#·Ljava/lang/String; |
20 | ····.param·p1,·"imm"····#·Landroid/view/inputmethod/InputMethodManager; | 20 | ····.param·p1,·"imm"····#·Landroid/view/inputmethod/InputMethodManager; |
21 | ····.prologue | 21 | ····.prologue |
22 | ····.line·77 | 22 | ····.line·77 |
23 | ····invoke-virtual·{p1},·Landroid/view/inputmethod/InputMethodManager;->getInputMethodList()Ljava/util/List; | 23 | ····invoke-virtual·{p1},·Landroid/view/inputmethod/InputMethodManager;->getInputMethodList()Ljava/util/List; |
24 |
····move-result-object·v |
24 | ····move-result-object·v1 |
25 |
····invoke-interface·{v |
25 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
26 |
····move-result-object·v |
26 | ····move-result-object·v1 |
27 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
28 | ····:cond_0 | 27 | ····:cond_0 |
29 |
····invoke-interface·{v |
28 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
30 | ····move-result·v2 | 29 | ····move-result·v2 |
31 | ····if-eqz·v2,·:cond_1 | 30 | ····if-eqz·v2,·:cond_1 |
32 |
····invoke-interface·{v |
31 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
33 |
····move-result-object·v |
32 | ····move-result-object·v0 |
34 |
····check-cast·v |
33 | ····check-cast·v0,·Landroid/view/inputmethod/InputMethodInfo; |
35 | ····.line·78 | 34 | ····.line·78 |
36 |
····.local·v |
35 | ····.local·v0,·"imi":Landroid/view/inputmethod/InputMethodInfo; |
37 |
····invoke-virtual·{v |
36 | ····invoke-virtual·{v0},·Landroid/view/inputmethod/InputMethodInfo;->getPackageName()Ljava/lang/String; |
38 | ····move-result-object·v2 | 37 | ····move-result-object·v2 |
39 | ····invoke-virtual·{p0,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 38 | ····invoke-virtual·{p0,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
40 | ····move-result·v2 | 39 | ····move-result·v2 |
41 | ····if-eqz·v2,·:cond_0 | 40 | ····if-eqz·v2,·:cond_0 |
42 | ····.line·82 | 41 | ····.line·82 |
43 |
····.end·local·v |
42 | ····.end·local·v0····#·"imi":Landroid/view/inputmethod/InputMethodInfo; |
44 | ····:goto_0 | 43 | ····:goto_0 |
45 |
····return-object·v |
44 | ····return-object·v0 |
46 | ····:cond_1 | 45 | ····:cond_1 |
47 |
····const/4·v |
46 | ····const/4·v0,·0x0 |
48 | ····goto·:goto_0 | 47 | ····goto·:goto_0 |
49 | .end·method | 48 | .end·method |
50 | .method·public·static·isThisImeCurrent(Landroid/content/Context;Landroid/view/inputmethod/InputMethodManager;)Z | 49 | .method·public·static·isThisImeCurrent(Landroid/content/Context;Landroid/view/inputmethod/InputMethodManager;)Z |
51 | ····.locals·4 | 50 | ····.locals·4 |
52 | ····.param·p0,·"context"····#·Landroid/content/Context; | 51 | ····.param·p0,·"context"····#·Landroid/content/Context; |
Offset 77, 22 lines modified | Offset 76, 23 lines modified | ||
77 | ····move-result-object·v2 | 76 | ····move-result-object·v2 |
78 | ····invoke-static·{v2,·p1},·Lcom/android/inputmethod/latin/utils/UncachedInputMethodManagerUtils;->getInputMethodInfoOf(Ljava/lang/String;Landroid/view/inputmethod/InputMethodManager;)Landroid/view/inputmethod/InputMethodInfo; | 77 | ····invoke-static·{v2,·p1},·Lcom/android/inputmethod/latin/utils/UncachedInputMethodManagerUtils;->getInputMethodInfoOf(Ljava/lang/String;Landroid/view/inputmethod/InputMethodManager;)Landroid/view/inputmethod/InputMethodInfo; |
79 | ····move-result-object·v1 | 78 | ····move-result-object·v1 |
80 |
····.line·6 |
79 | ····.line·62 |
81 | ····.local·v1,·"imi":Landroid/view/inputmethod/InputMethodInfo; | 80 | ····.local·v1,·"imi":Landroid/view/inputmethod/InputMethodInfo; |
82 | ····invoke-virtual·{p0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; | 81 | ····invoke-virtual·{p0},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; |
83 | ····move-result-object·v2 | 82 | ····move-result-object·v2 |
84 | ····const-string·v3,·"default_input_method" | 83 | ····const-string·v3,·"default_input_method" |
84 | ····.line·61 | ||
85 | ····invoke-static·{v2,·v3},·Landroid/provider/Settings$Secure;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String; | 85 | ····invoke-static·{v2,·v3},·Landroid/provider/Settings$Secure;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String; |
86 | ····move-result-object·v0 | 86 | ····move-result-object·v0 |
87 | ····.line·63 | 87 | ····.line·63 |
88 | ····.local·v0,·"currentImeId":Ljava/lang/String; | 88 | ····.local·v0,·"currentImeId":Ljava/lang/String; |
89 | ····if-eqz·v1,·:cond_0 | 89 | ····if-eqz·v1,·:cond_0 |
Offset 123, 58 lines modified | Offset 123, 57 lines modified | ||
123 | ····.param·p0,·"context"····#·Landroid/content/Context; | 123 | ····.param·p0,·"context"····#·Landroid/content/Context; |
124 | ····.param·p1,·"imm"····#·Landroid/view/inputmethod/InputMethodManager; | 124 | ····.param·p1,·"imm"····#·Landroid/view/inputmethod/InputMethodManager; |
125 | ····.prologue | 125 | ····.prologue |
126 | ····.line·41 | 126 | ····.line·41 |
127 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageName()Ljava/lang/String; | 127 | ····invoke-virtual·{p0},·Landroid/content/Context;->getPackageName()Ljava/lang/String; |
128 |
····move-result-object·v |
128 | ····move-result-object·v1 |
129 | ····.line·42 | 129 | ····.line·42 |
130 |
····.local·v |
130 | ····.local·v1,·"packageName":Ljava/lang/String; |
131 | ····invoke-virtual·{p1},·Landroid/view/inputmethod/InputMethodManager;->getEnabledInputMethodList()Ljava/util/List; | 131 | ····invoke-virtual·{p1},·Landroid/view/inputmethod/InputMethodManager;->getEnabledInputMethodList()Ljava/util/List; |
132 |
····move-result-object·v |
132 | ····move-result-object·v2 |
133 |
····invoke-interface·{v |
133 | ····invoke-interface·{v2},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
134 |
····move-result-object·v |
134 | ····move-result-object·v2 |
135 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
136 | ····:cond_0 | 135 | ····:cond_0 |
Max diff block lines reached; 1326/5328 bytes (24.89%) of diff not shown. |
Offset 72, 14 lines modified | Offset 72, 15 lines modified | ||
72 | ····const-string·v2,·"placer·is·neither·FrameLayout·nor·RelativeLayout:·" | 72 | ····const-string·v2,·"placer·is·neither·FrameLayout·nor·RelativeLayout:·" |
73 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 73 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
74 | ····move-result-object·v1 | 74 | ····move-result-object·v1 |
75 | ····.line·43 | ||
75 | ····invoke-virtual·{p0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 76 | ····invoke-virtual·{p0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
76 | ····move-result-object·v2 | 77 | ····move-result-object·v2 |
77 | ····invoke-virtual·{v2},·Ljava/lang/Class;->getName()Ljava/lang/String; | 78 | ····invoke-virtual·{v2},·Ljava/lang/Class;->getName()Ljava/lang/String; |
78 | ····move-result-object·v2 | 79 | ····move-result-object·v2 |
Offset 216, 14 lines modified | Offset 217, 15 lines modified | ||
216 | ····const-string·v4,·"Layout·parameter·doesn\'t·have·gravity:·" | 217 | ····const-string·v4,·"Layout·parameter·doesn\'t·have·gravity:·" |
217 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 218 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
218 | ····move-result-object·v3 | 219 | ····move-result-object·v3 |
220 | ····.line·90 | ||
219 | ····invoke-virtual·{v0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 221 | ····invoke-virtual·{v0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
220 | ····move-result-object·v4 | 222 | ····move-result-object·v4 |
221 | ····invoke-virtual·{v4},·Ljava/lang/Class;->getName()Ljava/lang/String; | 223 | ····invoke-virtual·{v4},·Ljava/lang/Class;->getName()Ljava/lang/String; |
222 | ····move-result-object·v4 | 224 | ····move-result-object·v4 |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$context:Landroid/content/Context; | 22 | .field·final·synthetic·val$context:Landroid/content/Context; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/android/inputmethodcommon/InputMethodSettingsImpl;Landroid/content/Context;)V | 24 | .method·constructor·<init>(Lcom/android/inputmethodcommon/InputMethodSettingsImpl;Landroid/content/Context;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/android/inputmethodcommon/InputMethodSettingsImpl; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·60 | 28 | ····.line·60 |
28 | ····iput-object·p1,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1;->this$0:Lcom/android/inputmethodcommon/InputMethodSettingsImpl; | 29 | ····iput-object·p1,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1;->this$0:Lcom/android/inputmethodcommon/InputMethodSettingsImpl; |
29 | ····iput-object·p2,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1;->val$context:Landroid/content/Context; | 30 | ····iput-object·p2,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1;->val$context:Landroid/content/Context; |
Offset 135, 20 lines modified | Offset 135, 22 lines modified | ||
135 | ····.line·104 | 135 | ····.line·104 |
136 | ····:cond_2 | 136 | ····:cond_2 |
137 | ····invoke-virtual·{p2},·Landroid/view/inputmethod/InputMethodInfo;->getPackageName()Ljava/lang/String; | 137 | ····invoke-virtual·{p2},·Landroid/view/inputmethod/InputMethodInfo;->getPackageName()Ljava/lang/String; |
138 | ····move-result-object·v5 | 138 | ····move-result-object·v5 |
139 | ····.line·105 | ||
139 | ····invoke-virtual·{p2},·Landroid/view/inputmethod/InputMethodInfo;->getServiceInfo()Landroid/content/pm/ServiceInfo; | 140 | ····invoke-virtual·{p2},·Landroid/view/inputmethod/InputMethodInfo;->getServiceInfo()Landroid/content/pm/ServiceInfo; |
140 | ····move-result-object·v6 | 141 | ····move-result-object·v6 |
141 | ····iget-object·v6,·v6,·Landroid/content/pm/ServiceInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 142 | ····iget-object·v6,·v6,·Landroid/content/pm/ServiceInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
143 | ····.line·104 | ||
142 | ····invoke-virtual·{v3,·p0,·v5,·v6},·Landroid/view/inputmethod/InputMethodSubtype;->getDisplayName(Landroid/content/Context;Ljava/lang/String;Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence; | 144 | ····invoke-virtual·{v3,·p0,·v5,·v6},·Landroid/view/inputmethod/InputMethodSubtype;->getDisplayName(Landroid/content/Context;Ljava/lang/String;Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence; |
143 | ····move-result-object·v5 | 145 | ····move-result-object·v5 |
144 | ····invoke-virtual·{v2,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; | 146 | ····invoke-virtual·{v2,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; |
145 | ····.line·99 | 147 | ····.line·99 |
Offset 330, 14 lines modified | Offset 332, 15 lines modified | ||
330 | ····.line·59 | 332 | ····.line·59 |
331 | ····iget-object·v0,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl;->mSubtypeEnablerPreference:Landroid/preference/Preference; | 333 | ····iget-object·v0,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl;->mSubtypeEnablerPreference:Landroid/preference/Preference; |
332 | ····new-instance·v2,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1; | 334 | ····new-instance·v2,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1; |
333 | ····invoke-direct·{v2,·p0,·p1},·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1;-><init>(Lcom/android/inputmethodcommon/InputMethodSettingsImpl;Landroid/content/Context;)V | 335 | ····invoke-direct·{v2,·p0,·p1},·Lcom/android/inputmethodcommon/InputMethodSettingsImpl$1;-><init>(Lcom/android/inputmethodcommon/InputMethodSettingsImpl;Landroid/content/Context;)V |
336 | ····.line·60 | ||
334 | ····invoke-virtual·{v0,·v2},·Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V | 337 | ····invoke-virtual·{v0,·v2},·Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V |
335 | ····.line·77 | 338 | ····.line·77 |
336 | ····iget-object·v0,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl;->mSubtypeEnablerPreference:Landroid/preference/Preference; | 339 | ····iget-object·v0,·p0,·Lcom/android/inputmethodcommon/InputMethodSettingsImpl;->mSubtypeEnablerPreference:Landroid/preference/Preference; |
337 | ····invoke-virtual·{p2,·v0},·Landroid/preference/PreferenceScreen;->addPreference(Landroid/preference/Preference;)Z | 340 | ····invoke-virtual·{p2,·v0},·Landroid/preference/PreferenceScreen;->addPreference(Landroid/preference/Preference;)Z |
Offset 950, 63 lines modified | Offset 950, 62 lines modified | ||
950 | ····.locals·4 | 950 | ····.locals·4 |
951 | ····.param·p1,·"input"····#·Ljava/lang/String; | 951 | ····.param·p1,·"input"····#·Ljava/lang/String; |
952 | ····.param·p2,·"context"····#·Ljava/lang/String; | 952 | ····.param·p2,·"context"····#·Ljava/lang/String; |
953 | ····.param·p3,·"altGr"····#·Ljava/lang/Boolean; | 953 | ····.param·p3,·"altGr"····#·Ljava/lang/Boolean; |
954 | ····.prologue | 954 | ····.prologue |
955 | ····.line·162 | 955 | ····.line·162 |
956 |
····iget-object·v |
956 | ····iget-object·v2,·p0,·Lorg/smc/ime/InputMethod;->patterns:Ljava/util/ArrayList; |
957 |
····invoke-virtual·{v |
957 | ····invoke-virtual·{v2},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
958 |
····move-result-object·v |
958 | ····move-result-object·v2 |
959 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
960 | ····:cond_0 | 959 | ····:cond_0 |
961 |
····invoke-interface·{v |
960 | ····invoke-interface·{v2},·Ljava/util/Iterator;->hasNext()Z |
962 | ····move-result·v3 | 961 | ····move-result·v3 |
963 | ····if-eqz·v3,·:cond_2 | 962 | ····if-eqz·v3,·:cond_2 |
964 |
····invoke-interface·{v |
963 | ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
965 |
····move-result-object·v |
964 | ····move-result-object·v1 |
966 |
····check-cast·v |
965 | ····check-cast·v1,·Lorg/smc/ime/InputMethod$InputPattern; |
967 | ····.line·163 | 966 | ····.line·163 |
968 |
····.local·v |
967 | ····.local·v1,·"pattern":Lorg/smc/ime/InputMethod$InputPattern; |
969 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->inputPattern:Ljava/util/regex/Pattern; | 968 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->inputPattern:Ljava/util/regex/Pattern; |
970 |
····invoke-static·{v |
969 | ····invoke-static·{v1},·Lorg/smc/ime/InputMethod$InputPattern;->access$000(Lorg/smc/ime/InputMethod$InputPattern;)Ljava/util/regex/Pattern; |
971 | ····move-result-object·v3 | 970 | ····move-result-object·v3 |
972 | ····invoke-virtual·{v3,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 971 | ····invoke-virtual·{v3,·p1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
973 |
····move-result-object·v |
972 | ····move-result-object·v0 |
974 | ····.line·164 | 973 | ····.line·164 |
975 |
····.local·v |
974 | ····.local·v0,·"inputMatcher":Ljava/util/regex/Matcher; |
976 |
····invoke-virtual·{v |
975 | ····invoke-virtual·{v0},·Ljava/util/regex/Matcher;->find()Z |
977 | ····move-result·v3 | 976 | ····move-result·v3 |
978 | ····if-eqz·v3,·:cond_0 | 977 | ····if-eqz·v3,·:cond_0 |
979 | ····.line·165 | 978 | ····.line·165 |
980 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->contextPattern:Ljava/util/regex/Pattern; | 979 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->contextPattern:Ljava/util/regex/Pattern; |
981 |
····invoke-static·{v |
980 | ····invoke-static·{v1},·Lorg/smc/ime/InputMethod$InputPattern;->access$100(Lorg/smc/ime/InputMethod$InputPattern;)Ljava/util/regex/Pattern; |
982 | ····move-result-object·v3 | 981 | ····move-result-object·v3 |
983 | ····if-eqz·v3,·:cond_1 | 982 | ····if-eqz·v3,·:cond_1 |
984 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->contextPattern:Ljava/util/regex/Pattern; | 983 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->contextPattern:Ljava/util/regex/Pattern; |
985 |
····invoke-static·{v |
984 | ····invoke-static·{v1},·Lorg/smc/ime/InputMethod$InputPattern;->access$100(Lorg/smc/ime/InputMethod$InputPattern;)Ljava/util/regex/Pattern; |
986 | ····move-result-object·v3 | 985 | ····move-result-object·v3 |
987 | ····invoke-virtual·{v3,·p2},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; | 986 | ····invoke-virtual·{v3,·p2},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
988 | ····move-result-object·v3 | 987 | ····move-result-object·v3 |
Offset 1015, 33 lines modified | Offset 1014, 33 lines modified | ||
1015 | ····move-result·v3 | 1014 | ····move-result·v3 |
1016 | ····if-eqz·v3,·:cond_0 | 1015 | ····if-eqz·v3,·:cond_0 |
1017 | ····.line·166 | 1016 | ····.line·166 |
1018 | ····:cond_1 | 1017 | ····:cond_1 |
1019 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->altGr:Ljava/lang/Boolean; | 1018 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->altGr:Ljava/lang/Boolean; |
1020 |
····invoke-static·{v |
1019 | ····invoke-static·{v1},·Lorg/smc/ime/InputMethod$InputPattern;->access$200(Lorg/smc/ime/InputMethod$InputPattern;)Ljava/lang/Boolean; |
1021 | ····move-result-object·v3 | 1020 | ····move-result-object·v3 |
1022 | ····if-ne·v3,·p3,·:cond_0 | 1021 | ····if-ne·v3,·p3,·:cond_0 |
1023 | ····.line·167 | 1022 | ····.line·167 |
1024 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->replacement:Ljava/lang/String; | 1023 | ····#·getter·for:·Lorg/smc/ime/InputMethod$InputPattern;->replacement:Ljava/lang/String; |
1025 |
····invoke-static·{v |
1024 | ····invoke-static·{v1},·Lorg/smc/ime/InputMethod$InputPattern;->access$300(Lorg/smc/ime/InputMethod$InputPattern;)Ljava/lang/String; |
1026 |
····move-result-object·v |
1025 | ····move-result-object·v2 |
1027 |
····invoke-direct·{p0,·v |
1026 | ····invoke-direct·{p0,·v0,·p1,·v2},·Lorg/smc/ime/InputMethod;->replaceAll(Ljava/util/regex/Matcher;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
1028 | ····move-result-object·p1 | 1027 | ····move-result-object·p1 |
1029 | ····.line·172 | 1028 | ····.line·172 |
1030 |
····.end·local·v |
1029 | ····.end·local·v0····#·"inputMatcher":Ljava/util/regex/Matcher; |
1031 |
····.end·local·v |
1030 | ····.end·local·v1····#·"pattern":Lorg/smc/ime/InputMethod$InputPattern; |
1032 | ····.end·local·p1····#·"input":Ljava/lang/String; | 1031 | ····.end·local·p1····#·"input":Ljava/lang/String; |
1033 | ····:cond_2 | 1032 | ····:cond_2 |
1034 | ····return-object·p1 | 1033 | ····return-object·p1 |
1035 | .end·method | 1034 | .end·method |
1036 | .method·public·transliterateAll(Ljava/lang/String;Ljava/util/ArrayList;)Ljava/lang/String; | 1035 | .method·public·transliterateAll(Ljava/lang/String;Ljava/util/ArrayList;)Ljava/lang/String; |
1037 | ····.locals·12 | 1036 | ····.locals·12 |
Offset 15, 10 lines modified | Offset 15, 9 lines modified | ||
15 | .method·public·constructor·<init>()V | 15 | .method·public·constructor·<init>()V |
16 | ····.locals·0 | 16 | ····.locals·0 |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·9 | 18 | ····.line·9 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····.line·10 | ||
21 | ····return-void | 20 | ····return-void |
22 | .end·method | 21 | .end·method |
Offset 567, 14 lines modified | Offset 567, 15 lines modified | ||
567 | ····.line·293 | 567 | ····.line·293 |
568 | ····.restart·local·v0····#·"baseCode":I | 568 | ····.restart·local·v0····#·"baseCode":I |
569 | ····.restart·local·v1····#·"baseIndex":I | 569 | ····.restart·local·v1····#·"baseIndex":I |
570 | ····:cond_2 | 570 | ····:cond_2 |
571 | ····const-string·v5,·"spoken_accented_letter_%04X" | 571 | ····const-string·v5,·"spoken_accented_letter_%04X" |
572 | ····.line·294 | ||
572 | ····invoke-direct·{p0,·p1,·v0,·v5},·Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper;->getSpokenDescriptionId(Landroid/content/Context;ILjava/lang/String;)I | 573 | ····invoke-direct·{p0,·p1,·v0,·v5},·Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper;->getSpokenDescriptionId(Landroid/content/Context;ILjava/lang/String;)I |
573 | ····move-result·v3 | 574 | ····move-result·v3 |
574 | ····goto·:goto_1 | 575 | ····goto·:goto_1 |
575 | ····.line·298 | 576 | ····.line·298 |
Offset 949, 14 lines modified | Offset 950, 15 lines modified | ||
949 | ····.line·119 | 950 | ····.line·119 |
950 | ····invoke-static·{v0},·Ljava/lang/Character;->isDefined(I)Z | 951 | ····invoke-static·{v0},·Ljava/lang/Character;->isDefined(I)Z |
951 | ····move-result·v3 | 952 | ····move-result·v3 |
952 | ····if-eqz·v3,·:cond_5 | 953 | ····if-eqz·v3,·:cond_5 |
954 | ····.line·120 | ||
953 | ····invoke-static·{v0},·Ljava/lang/Character;->isISOControl(I)Z | 955 | ····invoke-static·{v0},·Ljava/lang/Character;->isISOControl(I)Z |
954 | ····move-result·v3 | 956 | ····move-result·v3 |
955 | ····if-nez·v3,·:cond_5 | 957 | ····if-nez·v3,·:cond_5 |
956 | ····const/4·v2,·0x1 | 958 | ····const/4·v2,·0x1 |
Offset 973, 15 lines modified | Offset 975, 15 lines modified | ||
973 | ····invoke-virtual·{p1,·v3},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 975 | ····invoke-virtual·{p1,·v3},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
974 | ····move-result-object·v1 | 976 | ····move-result-object·v1 |
975 | ····goto·:goto_0 | 977 | ····goto·:goto_0 |
976 |
····.line·1 |
978 | ····.line·120 |
977 | ····.end·local·v2····#·"isDefinedNonCtrl":Z | 979 | ····.end·local·v2····#·"isDefinedNonCtrl":Z |
978 | ····:cond_5 | 980 | ····:cond_5 |
979 | ····const/4·v2,·0x0 | 981 | ····const/4·v2,·0x0 |
980 | ····goto·:goto_1 | 982 | ····goto·:goto_1 |
981 | ····.line·124 | 983 | ····.line·124 |
Offset 173, 20 lines modified | Offset 173, 22 lines modified | ||
173 | ····.line·328 | 173 | ····.line·328 |
174 | ····.local·v0,·"currentSettings":Lorg/smc/inputmethod/indic/settings/SettingsValues; | 174 | ····.local·v0,·"currentSettings":Lorg/smc/inputmethod/indic/settings/SettingsValues; |
175 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyCodeDescriptionMapper:Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper; | 175 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyCodeDescriptionMapper:Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper; |
176 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; | 176 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; |
177 | ····.line·329 | ||
177 | ····invoke-virtual·{v5},·Lcom/android/inputmethod/keyboard/KeyboardView;->getContext()Landroid/content/Context; | 178 | ····invoke-virtual·{v5},·Lcom/android/inputmethod/keyboard/KeyboardView;->getContext()Landroid/content/Context; |
178 | ····move-result-object·v5 | 179 | ····move-result-object·v5 |
179 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboard:Lcom/android/inputmethod/keyboard/Keyboard; | 180 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboard:Lcom/android/inputmethod/keyboard/Keyboard; |
181 | ····.line·328 | ||
180 | ····invoke-virtual·{v4,·v5,·v6,·p1,·v3},·Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper;->getDescriptionForKey(Landroid/content/Context;Lcom/android/inputmethod/keyboard/Keyboard;Lcom/android/inputmethod/keyboard/Key;Z)Ljava/lang/String; | 182 | ····invoke-virtual·{v4,·v5,·v6,·p1,·v3},·Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper;->getDescriptionForKey(Landroid/content/Context;Lcom/android/inputmethod/keyboard/Keyboard;Lcom/android/inputmethod/keyboard/Key;Z)Ljava/lang/String; |
181 | ····move-result-object·v2 | 183 | ····move-result-object·v2 |
182 | ····.line·330 | 184 | ····.line·330 |
183 | ····.local·v2,·"keyCodeDescription":Ljava/lang/String; | 185 | ····.local·v2,·"keyCodeDescription":Ljava/lang/String; |
184 | ····invoke-virtual·{p1},·Lcom/android/inputmethod/keyboard/Key;->getCode()I | 186 | ····invoke-virtual·{p1},·Lcom/android/inputmethod/keyboard/Key;->getCode()I |
Offset 432, 14 lines modified | Offset 434, 15 lines modified | ||
432 | ····const/4·v9,·-0x1 | 434 | ····const/4·v9,·-0x1 |
433 | ····if-ne·p1,·v9,·:cond_3 | 435 | ····if-ne·p1,·v9,·:cond_3 |
434 | ····.line·203 | 436 | ····.line·203 |
435 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; | 437 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; |
438 | ····.line·204 | ||
436 | ····invoke-static·{v9},·Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->obtain(Landroid/view/View;)Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat; | 439 | ····invoke-static·{v9},·Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat;->obtain(Landroid/view/View;)Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat; |
437 | ····move-result-object·v6 | 440 | ····move-result-object·v6 |
438 | ····.line·205 | 441 | ····.line·205 |
439 | ····.local·v6,·"rootInfo":Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat; | 442 | ····.local·v6,·"rootInfo":Landroid/support/v4/view/accessibility/AccessibilityNodeInfoCompat; |
440 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; | 443 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; |
Offset 558, 24 lines modified | Offset 561, 26 lines modified | ||
558 | ····invoke-virtual·{v9,·v0},·Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V | 561 | ····invoke-virtual·{v9,·v0},·Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V |
559 | ····.line·233 | 562 | ····.line·233 |
560 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mTempBoundsInScreen:Landroid/graphics/Rect; | 563 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mTempBoundsInScreen:Landroid/graphics/Rect; |
561 | ····iget-object·v10,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mParentLocation:[I | 564 | ····iget-object·v10,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mParentLocation:[I |
565 | ····.line·234 | ||
562 | ····invoke-static·{v10},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I | 566 | ····invoke-static·{v10},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->x([I)I |
563 | ····move-result·v10 | 567 | ····move-result·v10 |
564 | ····iget-object·v11,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mParentLocation:[I | 568 | ····iget-object·v11,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mParentLocation:[I |
565 | ····invoke-static·{v11},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->y([I)I | 569 | ····invoke-static·{v11},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->y([I)I |
566 | ····move-result·v11 | 570 | ····move-result·v11 |
571 | ····.line·233 | ||
567 | ····invoke-virtual·{v9,·v10,·v11},·Landroid/graphics/Rect;->offset(II)V | 572 | ····invoke-virtual·{v9,·v10,·v11},·Landroid/graphics/Rect;->offset(II)V |
568 | ····.line·235 | 573 | ····.line·235 |
569 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mTempBoundsInScreen:Landroid/graphics/Rect; | 574 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/accessibility/KeyboardAccessibilityNodeProvider;->mTempBoundsInScreen:Landroid/graphics/Rect; |
570 | ····.line·238 | 575 | ····.line·238 |
571 | ····.local·v1,·"boundsInScreen":Landroid/graphics/Rect; | 576 | ····.local·v1,·"boundsInScreen":Landroid/graphics/Rect; |
Offset 160, 14 lines modified | Offset 160, 15 lines modified | ||
160 | ····invoke-direct·{v0},·Landroid/graphics/Rect;-><init>()V | 160 | ····invoke-direct·{v0},·Landroid/graphics/Rect;-><init>()V |
161 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/accessibility/MainKeyboardAccessibilityDelegate;->mBoundsToIgnoreHoverEvent:Landroid/graphics/Rect; | 161 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/accessibility/MainKeyboardAccessibilityDelegate;->mBoundsToIgnoreHoverEvent:Landroid/graphics/Rect; |
162 | ····.line·71 | 162 | ····.line·71 |
163 | ····new-instance·v0,·Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer; | 163 | ····new-instance·v0,·Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer; |
164 | ····.line·72 | ||
164 | ····invoke-virtual·{p1},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getContext()Landroid/content/Context; | 165 | ····invoke-virtual·{p1},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getContext()Landroid/content/Context; |
165 | ····move-result-object·v1 | 166 | ····move-result-object·v1 |
166 | ····invoke-direct·{v0,·p0,·v1},·Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer;-><init>(Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer$LongPressTimerCallback;Landroid/content/Context;)V | 167 | ····invoke-direct·{v0,·p0,·v1},·Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer;-><init>(Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer$LongPressTimerCallback;Landroid/content/Context;)V |
167 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/accessibility/MainKeyboardAccessibilityDelegate;->mAccessibilityLongPressTimer:Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer; | 168 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/accessibility/MainKeyboardAccessibilityDelegate;->mAccessibilityLongPressTimer:Lorg/smc/inputmethod/accessibility/AccessibilityLongPressTimer; |
Offset 697, 18 lines modified | Offset 698, 20 lines modified | ||
697 | ····move-result-object·v3 | 698 | ····move-result-object·v3 |
698 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/accessibility/MainKeyboardAccessibilityDelegate;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; | 699 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/accessibility/MainKeyboardAccessibilityDelegate;->mKeyboardView:Lcom/android/inputmethod/keyboard/KeyboardView; |
699 | ····check-cast·v2,·Lcom/android/inputmethod/keyboard/MainKeyboardView; | 700 | ····check-cast·v2,·Lcom/android/inputmethod/keyboard/MainKeyboardView; |
701 | ····.line·298 | ||
700 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getContext()Landroid/content/Context; | 702 | ····invoke-virtual·{v2},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->getContext()Landroid/content/Context; |
701 | ····move-result-object·v2 | 703 | ····move-result-object·v2 |
704 | ····.line·297 | ||
702 | ····invoke-virtual·{v3,·v2,·v8},·Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper;->getDescriptionForCodePoint(Landroid/content/Context;I)Ljava/lang/String; | 705 | ····invoke-virtual·{v3,·v2,·v8},·Lorg/smc/inputmethod/accessibility/KeyCodeDescriptionMapper;->getDescriptionForCodePoint(Landroid/content/Context;I)Ljava/lang/String; |
703 | ····move-result-object·v10 | 706 | ····move-result-object·v10 |
704 | ····.line·299 | 707 | ····.line·299 |
705 | ····.local·v10,·"text":Ljava/lang/String; | 708 | ····.local·v10,·"text":Ljava/lang/String; |
706 | ····if-eqz·v10,·:cond_0 | 709 | ····if-eqz·v10,·:cond_0 |
Offset 53, 14 lines modified | Offset 53, 15 lines modified | ||
53 | ····move-result-object·v0 | 53 | ····move-result-object·v0 |
54 | ····sput-object·v0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->CLASS:Ljava/lang/String; | 54 | ····sput-object·v0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->CLASS:Ljava/lang/String; |
55 | ····.line·43 | 55 | ····.line·43 |
56 | ····const-class·v0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 56 | ····const-class·v0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
57 | ····.line·44 | ||
57 | ····invoke-virtual·{v0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 58 | ····invoke-virtual·{v0},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
58 | ····move-result-object·v0 | 59 | ····move-result-object·v0 |
59 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getPackage()Ljava/lang/Package; | 60 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getPackage()Ljava/lang/Package; |
60 | ····move-result-object·v0 | 61 | ····move-result-object·v0 |
Offset 123, 14 lines modified | Offset 124, 15 lines modified | ||
123 | ····.prologue | 124 | ····.prologue |
124 | ····.line·81 | 125 | ····.line·81 |
125 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->mContext:Landroid/content/Context; | 126 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->mContext:Landroid/content/Context; |
126 | ····.line·82 | 127 | ····.line·82 |
127 | ····const-string·v0,·"accessibility" | 128 | ····const-string·v0,·"accessibility" |
129 | ····.line·83 | ||
128 | ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 130 | ····invoke-virtual·{p1,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
129 | ····move-result-object·v0 | 131 | ····move-result-object·v0 |
130 | ····check-cast·v0,·Landroid/view/accessibility/AccessibilityManager; | 132 | ····check-cast·v0,·Landroid/view/accessibility/AccessibilityManager; |
131 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->mAccessibilityManager:Landroid/view/accessibility/AccessibilityManager; | 133 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->mAccessibilityManager:Landroid/view/accessibility/AccessibilityManager; |
Offset 77, 14 lines modified | Offset 77, 15 lines modified | ||
77 | ····sget-object·v1,·Lorg/smc/inputmethod/compat/ActivityManagerCompatUtils;->sBoolean:Ljava/lang/Boolean; | 77 | ····sget-object·v1,·Lorg/smc/inputmethod/compat/ActivityManagerCompatUtils;->sBoolean:Ljava/lang/Boolean; |
78 | ····if-nez·v1,·:cond_0 | 78 | ····if-nez·v1,·:cond_0 |
79 | ····.line·38 | 79 | ····.line·38 |
80 | ····const-string·v1,·"activity" | 80 | ····const-string·v1,·"activity" |
81 | ····.line·39 | ||
81 | ····invoke-virtual·{p0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 82 | ····invoke-virtual·{p0,·v1},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
82 | ····move-result-object·v0 | 83 | ····move-result-object·v0 |
83 | ····check-cast·v0,·Landroid/app/ActivityManager; | 84 | ····check-cast·v0,·Landroid/app/ActivityManager; |
84 | ····.line·40 | 85 | ····.line·40 |
Offset 121, 46 lines modified | Offset 121, 51 lines modified | ||
121 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/compat/AppWorkaroundsUtils;->mPackageInfo:Landroid/content/pm/PackageInfo; | 121 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/compat/AppWorkaroundsUtils;->mPackageInfo:Landroid/content/pm/PackageInfo; |
122 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 122 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
123 | ····iget-object·v2,·v2,·Landroid/content/pm/ApplicationInfo;->name:Ljava/lang/String; | 123 | ····iget-object·v2,·v2,·Landroid/content/pm/ApplicationInfo;->name:Ljava/lang/String; |
124 | ····.line·53 | ||
124 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 125 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
125 | ····move-result-object·v1 | 126 | ····move-result-object·v1 |
126 | ····const-string·v2,·"\nPackage·:·" | 127 | ····const-string·v2,·"\nPackage·:·" |
128 | ····.line·54 | ||
127 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 129 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
128 | ····move-result-object·v1 | 130 | ····move-result-object·v1 |
129 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/compat/AppWorkaroundsUtils;->mPackageInfo:Landroid/content/pm/PackageInfo; | 131 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/compat/AppWorkaroundsUtils;->mPackageInfo:Landroid/content/pm/PackageInfo; |
130 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 132 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
131 | ····iget-object·v2,·v2,·Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String; | 133 | ····iget-object·v2,·v2,·Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String; |
134 | ····.line·55 | ||
132 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 135 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
133 | ····move-result-object·v1 | 136 | ····move-result-object·v1 |
134 | ····const-string·v2,·"\nTarget·app·sdk·version·:·" | 137 | ····const-string·v2,·"\nTarget·app·sdk·version·:·" |
138 | ····.line·56 | ||
135 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 139 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
136 | ····move-result-object·v1 | 140 | ····move-result-object·v1 |
137 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/compat/AppWorkaroundsUtils;->mPackageInfo:Landroid/content/pm/PackageInfo; | 141 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/compat/AppWorkaroundsUtils;->mPackageInfo:Landroid/content/pm/PackageInfo; |
138 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; | 142 | ····iget-object·v2,·v2,·Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo; |
139 | ····iget·v2,·v2,·Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I | 143 | ····iget·v2,·v2,·Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I |
144 | ····.line·57 | ||
140 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 145 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
141 | ····.line·58 | 146 | ····.line·58 |
142 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 147 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
143 | ····move-result-object·v1 | 148 | ····move-result-object·v1 |
Offset 44, 14 lines modified | Offset 44, 15 lines modified | ||
44 | ····.locals·3 | 44 | ····.locals·3 |
45 | ····.param·p0,·"manager"····#·Landroid/net/ConnectivityManager; | 45 | ····.param·p0,·"manager"····#·Landroid/net/ConnectivityManager; |
46 | ····.prologue | 46 | ····.prologue |
47 | ····const/4·v1,·0x0 | 47 | ····const/4·v1,·0x0 |
48 | ····.line·30 | 48 | ····.line·30 |
49 | ····.line·33 | ||
49 | ····invoke-virtual·{p0},·Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo; | 50 | ····invoke-virtual·{p0},·Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo; |
50 | ····move-result-object·v0 | 51 | ····move-result-object·v0 |
51 | ····invoke-virtual·{v0},·Landroid/net/NetworkInfo;->getType()I | 52 | ····invoke-virtual·{v0},·Landroid/net/NetworkInfo;->getType()I |
52 | ····move-result·v0 | 53 | ····move-result·v0 |
Offset 65, 14 lines modified | Offset 66, 15 lines modified | ||
65 | ····move-result-object·v0 | 66 | ····move-result-object·v0 |
66 | ····sget-object·v2,·Lorg/smc/inputmethod/compat/ConnectivityManagerCompatUtils;->METHOD_isActiveNetworkMetered:Ljava/lang/reflect/Method; | 67 | ····sget-object·v2,·Lorg/smc/inputmethod/compat/ConnectivityManagerCompatUtils;->METHOD_isActiveNetworkMetered:Ljava/lang/reflect/Method; |
67 | ····new-array·v1,·v1,·[Ljava/lang/Object; | 68 | ····new-array·v1,·v1,·[Ljava/lang/Object; |
69 | ····.line·30 | ||
68 | ····invoke-static·{p0,·v0,·v2,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; | 70 | ····invoke-static·{p0,·v0,·v2,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; |
69 | ····move-result-object·v0 | 71 | ····move-result-object·v0 |
70 | ····check-cast·v0,·Ljava/lang/Boolean; | 72 | ····check-cast·v0,·Ljava/lang/Boolean; |
71 | ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z | 73 | ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z |
Offset 80, 9 lines modified | Offset 82, 10 lines modified | ||
80 | ····move-result·v0 | 82 | ····move-result·v0 |
81 | ····return·v0 | 83 | ····return·v0 |
82 | ····:cond_0 | 84 | ····:cond_0 |
83 | ····move·v0,·v1 | 85 | ····move·v0,·v1 |
86 | ····.line·33 | ||
84 | ····goto·:goto_0 | 87 | ····goto·:goto_0 |
85 | .end·method | 88 | .end·method |
Offset 77, 20 lines modified | Offset 77, 22 lines modified | ||
77 | ····const/4·v1,·0x1 | 77 | ····const/4·v1,·0x1 |
78 | ····new-array·v1,·v1,·[Ljava/lang/Object; | 78 | ····new-array·v1,·v1,·[Ljava/lang/Object; |
79 | ····const/4·v2,·0x0 | 79 | ····const/4·v2,·0x0 |
80 | ····.line·32 | ||
80 | ····invoke-static·{p1},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; | 81 | ····invoke-static·{p1},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; |
81 | ····move-result-object·v3 | 82 | ····move-result-object·v3 |
82 | ····aput-object·v3,·v1,·v2 | 83 | ····aput-object·v3,·v1,·v2 |
84 | ····.line·31 | ||
83 | ····invoke-static·{p0,·p0,·v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; | 85 | ····invoke-static·{p0,·p0,·v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; |
84 | ····move-result-object·v0 | 86 | ····move-result-object·v0 |
85 | ····check-cast·v0,·Landroid/app/DownloadManager$Request; | 87 | ····check-cast·v0,·Landroid/app/DownloadManager$Request; |
86 | ····return-object·v0 | 88 | ····return-object·v0 |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"CursorAnchorInfoCompatWrapper.java" | 3 | .source·"CursorAnchorInfoCompatWrapper.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lorg/smc/inputmethod/compat/CursorAnchorInfoCompatWrapper$1;, | ||
8 | ········Lorg/smc/inputmethod/compat/CursorAnchorInfoCompatWrapper$FakeHolder; | 7 | ········Lorg/smc/inputmethod/compat/CursorAnchorInfoCompatWrapper$FakeHolder; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | .annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 10 | .annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
12 | .end·annotation | 11 | .end·annotation |
Offset 52, 20 lines modified | Offset 52, 22 lines modified | ||
52 | ····new-array·v2,·v5,·[Ljava/lang/Class; | 52 | ····new-array·v2,·v5,·[Ljava/lang/Class; |
53 | ····const-class·v3,·Landroid/os/IBinder; | 53 | ····const-class·v3,·Landroid/os/IBinder; |
54 | ····aput-object·v3,·v2,·v4 | 54 | ····aput-object·v3,·v2,·v4 |
55 | ····.line·34 | ||
55 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 56 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
56 | ····move-result-object·v0 | 57 | ····move-result-object·v0 |
57 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/InputMethodManagerCompatWrapper;->METHOD_shouldOfferSwitchingToNextInputMethod:Ljava/lang/reflect/Method; | 58 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/InputMethodManagerCompatWrapper;->METHOD_shouldOfferSwitchingToNextInputMethod:Ljava/lang/reflect/Method; |
59 | ····.line·33 | ||
58 | ····return-void | 60 | ····return-void |
59 | .end·method | 61 | .end·method |
60 | .method·public·constructor·<init>(Landroid/content/Context;)V | 62 | .method·public·constructor·<init>(Landroid/content/Context;)V |
61 | ····.locals·1 | 63 | ····.locals·1 |
62 | ····.param·p1,·"context"····#·Landroid/content/Context; | 64 | ····.param·p1,·"context"····#·Landroid/content/Context; |
Offset 146, 20 lines modified | Offset 148, 22 lines modified | ||
146 | ····new-array·v3,·v3,·[Ljava/lang/Object; | 148 | ····new-array·v3,·v3,·[Ljava/lang/Object; |
147 | ····aput-object·p1,·v3,·v4 | 149 | ····aput-object·p1,·v3,·v4 |
148 | ····const/4·v4,·0x1 | 150 | ····const/4·v4,·0x1 |
151 | ····.line·45 | ||
149 | ····invoke-static·{p2},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; | 152 | ····invoke-static·{p2},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; |
150 | ····move-result-object·v5 | 153 | ····move-result-object·v5 |
151 | ····aput-object·v5,·v3,·v4 | 154 | ····aput-object·v5,·v3,·v4 |
155 | ····.line·44 | ||
152 | ····invoke-static·{v0,·v1,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; | 156 | ····invoke-static·{v0,·v1,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; |
153 | ····move-result-object·v0 | 157 | ····move-result-object·v0 |
154 | ····check-cast·v0,·Ljava/lang/Boolean; | 158 | ····check-cast·v0,·Ljava/lang/Boolean; |
155 | ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z | 159 | ····invoke-virtual·{v0},·Ljava/lang/Boolean;->booleanValue()Z |
Offset 17, 20 lines modified | Offset 17, 22 lines modified | ||
17 | ····const-string·v1,·"enableHardwareAcceleration" | 17 | ····const-string·v1,·"enableHardwareAcceleration" |
18 | ····const/4·v2,·0x0 | 18 | ····const/4·v2,·0x0 |
19 | ····new-array·v2,·v2,·[Ljava/lang/Class; | 19 | ····new-array·v2,·v2,·[Ljava/lang/Class; |
20 | ····.line·27 | ||
20 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 21 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
21 | ····move-result-object·v0 | 22 | ····move-result-object·v0 |
22 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/InputMethodServiceCompatUtils;->METHOD_enableHardwareAcceleration:Ljava/lang/reflect/Method; | 23 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/InputMethodServiceCompatUtils;->METHOD_enableHardwareAcceleration:Ljava/lang/reflect/Method; |
24 | ····.line·26 | ||
23 | ····return-void | 25 | ····return-void |
24 | .end·method | 26 | .end·method |
25 | .method·private·constructor·<init>()V | 27 | .method·private·constructor·<init>()V |
26 | ····.locals·0 | 28 | ····.locals·0 |
27 | ····.prologue | 29 | ····.prologue |
Offset 83, 14 lines modified | Offset 83, 15 lines modified | ||
83 | ····const/4·v2,·0x7 | 83 | ····const/4·v2,·0x7 |
84 | ····sget-object·v3,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; | 84 | ····sget-object·v3,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; |
85 | ····aput-object·v3,·v1,·v2 | 85 | ····aput-object·v3,·v1,·v2 |
86 | ····.line·34 | ||
86 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; | 87 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; |
87 | ····move-result-object·v0 | 88 | ····move-result-object·v0 |
88 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/InputMethodSubtypeCompatUtils;->CONSTRUCTOR_INPUT_METHOD_SUBTYPE:Ljava/lang/reflect/Constructor; | 89 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/InputMethodSubtypeCompatUtils;->CONSTRUCTOR_INPUT_METHOD_SUBTYPE:Ljava/lang/reflect/Constructor; |
89 | ····.line·38 | 90 | ····.line·38 |
Offset 150, 26 lines modified | Offset 151, 29 lines modified | ||
150 | ····move-result·v0 | 151 | ····move-result·v0 |
151 | ····if-nez·v0,·:cond_0 | 152 | ····if-nez·v0,·:cond_0 |
152 | ····const-string·v0,·"AsciiCapable" | 153 | ····const-string·v0,·"AsciiCapable" |
154 | ····.line·69 | ||
153 | ····invoke-virtual·{p0,·v0},·Landroid/view/inputmethod/InputMethodSubtype;->containsExtraValueKey(Ljava/lang/String;)Z | 155 | ····invoke-virtual·{p0,·v0},·Landroid/view/inputmethod/InputMethodSubtype;->containsExtraValueKey(Ljava/lang/String;)Z |
154 | ····move-result·v0 | 156 | ····move-result·v0 |
155 | ····if-eqz·v0,·:cond_1 | 157 | ····if-eqz·v0,·:cond_1 |
156 | ····:cond_0 | 158 | ····:cond_0 |
157 | ····const/4·v0,·0x1 | 159 | ····const/4·v0,·0x1 |
160 | ····.line·68 | ||
158 | ····:goto_0 | 161 | ····:goto_0 |
159 | ····return·v0 | 162 | ····return·v0 |
163 | ····.line·69 | ||
160 | ····:cond_1 | 164 | ····:cond_1 |
161 | ····const/4·v0,·0x0 | 165 | ····const/4·v0,·0x0 |
162 | ····goto·:goto_0 | 166 | ····goto·:goto_0 |
163 | .end·method | 167 | .end·method |
164 | .method·public·static·isAsciiCapableWithAPI(Landroid/view/inputmethod/InputMethodSubtype;)Z | 168 | .method·public·static·isAsciiCapableWithAPI(Landroid/view/inputmethod/InputMethodSubtype;)Z |
Offset 255, 14 lines modified | Offset 259, 15 lines modified | ||
255 | ····const/16·v1,·0x8 | 259 | ····const/16·v1,·0x8 |
256 | ····new-array·v1,·v1,·[Ljava/lang/Object; | 260 | ····new-array·v1,·v1,·[Ljava/lang/Object; |
257 | ····const/4·v2,·0x0 | 261 | ····const/4·v2,·0x0 |
262 | ····.line·63 | ||
258 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 263 | ····invoke-static·{p0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
259 | ····move-result-object·v3 | 264 | ····move-result-object·v3 |
260 | ····aput-object·v3,·v1,·v2 | 265 | ····aput-object·v3,·v1,·v2 |
261 | ····const/4·v2,·0x1 | 266 | ····const/4·v2,·0x1 |
Offset 291, 28 lines modified | Offset 296, 30 lines modified | ||
291 | ····move-result-object·v3 | 296 | ····move-result-object·v3 |
292 | ····aput-object·v3,·v1,·v2 | 297 | ····aput-object·v3,·v1,·v2 |
293 | ····const/4·v2,·0x6 | 298 | ····const/4·v2,·0x6 |
299 | ····.line·64 | ||
294 | ····invoke-static·{p6},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; | 300 | ····invoke-static·{p6},·Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; |
295 | ····move-result-object·v3 | 301 | ····move-result-object·v3 |
296 | ····aput-object·v3,·v1,·v2 | 302 | ····aput-object·v3,·v1,·v2 |
297 | ····const/4·v2,·0x7 | 303 | ····const/4·v2,·0x7 |
298 | ····invoke-static·{p7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 304 | ····invoke-static·{p7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
299 | ····move-result-object·v3 | 305 | ····move-result-object·v3 |
300 | ····aput-object·v3,·v1,·v2 | 306 | ····aput-object·v3,·v1,·v2 |
307 | ····.line·62 | ||
301 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->newInstance(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; | 308 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->newInstance(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; |
302 | ····move-result-object·v0 | 309 | ····move-result-object·v0 |
303 | ····check-cast·v0,·Landroid/view/inputmethod/InputMethodSubtype; | 310 | ····check-cast·v0,·Landroid/view/inputmethod/InputMethodSubtype; |
304 | ····goto·:goto_0 | 311 | ····goto·:goto_0 |
Offset 15, 26 lines modified | Offset 15, 29 lines modified | ||
15 | ····const/4·v2,·0x0 | 15 | ····const/4·v2,·0x0 |
16 | ····.line·24 | 16 | ····.line·24 |
17 | ····const-class·v0,·Landroid/content/Intent; | 17 | ····const-class·v0,·Landroid/content/Intent; |
18 | ····const-string·v1,·"ACTION_USER_INITIALIZE" | 18 | ····const-string·v1,·"ACTION_USER_INITIALIZE" |
19 | ····.line·26 | ||
19 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getField(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; | 20 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getField(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; |
20 | ····move-result-object·v0 | 21 | ····move-result-object·v0 |
22 | ····.line·25 | ||
21 | ····invoke-static·{v2,·v2,·v0},·Lorg/smc/inputmethod/compat/CompatUtils;->getFieldValue(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Field;)Ljava/lang/Object; | 23 | ····invoke-static·{v2,·v2,·v0},·Lorg/smc/inputmethod/compat/CompatUtils;->getFieldValue(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Field;)Ljava/lang/Object; |
22 | ····move-result-object·v0 | 24 | ····move-result-object·v0 |
23 | ····check-cast·v0,·Ljava/lang/String; | 25 | ····check-cast·v0,·Ljava/lang/String; |
24 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/IntentCompatUtils;->ACTION_USER_INITIALIZE:Ljava/lang/String; | 26 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/IntentCompatUtils;->ACTION_USER_INITIALIZE:Ljava/lang/String; |
27 | ····.line·24 | ||
25 | ····return-void | 28 | ····return-void |
26 | .end·method | 29 | .end·method |
27 | .method·private·constructor·<init>()V | 30 | .method·private·constructor·<init>()V |
28 | ····.locals·0 | 31 | ····.locals·0 |
29 | ····.prologue | 32 | ····.prologue |
Offset 168, 20 lines modified | Offset 168, 22 lines modified | ||
168 | ····.param·p1,·"isStartExclusive"····#·Z | 168 | ····.param·p1,·"isStartExclusive"····#·Z |
169 | ····.param·p2,·"isEndExclusive"····#·Z | 169 | ····.param·p2,·"isEndExclusive"····#·Z |
170 | ····.prologue | 170 | ····.prologue |
171 | ····.line·204 | 171 | ····.line·204 |
172 | ····and-int/lit8·v0,·p0,·-0x34 | 172 | ····and-int/lit8·v0,·p0,·-0x34 |
173 | ····.line·205 | ||
173 | ····invoke-static·{p1,·p2},·Lorg/smc/inputmethod/compat/LocaleSpanCompatUtils;->getSpanPointMarkFlag(ZZ)I | 174 | ····invoke-static·{p1,·p2},·Lorg/smc/inputmethod/compat/LocaleSpanCompatUtils;->getSpanPointMarkFlag(ZZ)I |
174 | ····move-result·v1 | 175 | ····move-result·v1 |
175 | ····or-int/2addr·v0,·v1 | 176 | ····or-int/2addr·v0,·v1 |
177 | ····.line·204 | ||
176 | ····return·v0 | 178 | ····return·v0 |
177 | .end·method | 179 | .end·method |
178 | .method·private·static·getSpanPointMarkFlag(ZZ)I | 180 | .method·private·static·getSpanPointMarkFlag(ZZ)I |
179 | ····.locals·1 | 181 | ····.locals·1 |
180 | ····.param·p0,·"isStartExclusive"····#·Z | 182 | ····.param·p0,·"isStartExclusive"····#·Z |
181 | ····.param·p1,·"isEndExclusive"····#·Z | 183 | ····.param·p1,·"isEndExclusive"····#·Z |
Offset 404, 15 lines modified | Offset 406, 15 lines modified | ||
404 | ····:cond_5 | 406 | ····:cond_5 |
405 | ····invoke-interface·{p1,·p0},·Landroid/text/Spannable;->removeSpan(Ljava/lang/Object;)V | 407 | ····invoke-interface·{p1,·p0},·Landroid/text/Spannable;->removeSpan(Ljava/lang/Object;)V |
406 | ····goto·:goto_0 | 408 | ····goto·:goto_0 |
407 | .end·method | 409 | .end·method |
408 | .method·public·static·updateLocaleSpan(Landroid/text/Spannable;IILjava/util/Locale;)V | 410 | .method·public·static·updateLocaleSpan(Landroid/text/Spannable;IILjava/util/Locale;)V |
409 |
····.locals·2 |
411 | ····.locals·25 |
410 | ····.param·p0,·"spannable"····#·Landroid/text/Spannable; | 412 | ····.param·p0,·"spannable"····#·Landroid/text/Spannable; |
411 | ····.param·p1,·"start"····#·I | 413 | ····.param·p1,·"start"····#·I |
412 | ····.param·p2,·"end"····#·I | 414 | ····.param·p2,·"end"····#·I |
413 | ····.param·p3,·"locale"····#·Ljava/util/Locale; | 415 | ····.param·p3,·"locale"····#·Ljava/util/Locale; |
414 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 416 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
415 | ····.end·annotation | 417 | ····.end·annotation |
Offset 421, 416 lines modified | Offset 423, 405 lines modified | ||
421 | ····move/from16·v0,·p2 | 423 | ····move/from16·v0,·p2 |
422 | ····move/from16·v1,·p1 | 424 | ····move/from16·v1,·p1 |
423 | ····if-ge·v0,·v1,·:cond_1 | 425 | ····if-ge·v0,·v1,·:cond_1 |
424 | ····.line·80 | 426 | ····.line·80 |
425 |
····sget-object·v2 |
427 | ····sget-object·v20,·Lorg/smc/inputmethod/compat/LocaleSpanCompatUtils;->TAG:Ljava/lang/String; |
426 |
····new-instance·v2 |
428 | ····new-instance·v21,·Ljava/lang/StringBuilder; |
427 |
····invoke-direct/range·{v2 |
429 | ····invoke-direct/range·{v21·..·v21},·Ljava/lang/StringBuilder;-><init>()V |
428 |
····const-string·v2 |
430 | ····const-string·v22,·"Invalid·range:·start=" |
429 |
····invoke-virtual/range·{v2 |
431 | ····invoke-virtual/range·{v21·..·v22},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
430 |
····move-result-object·v2 |
432 | ····move-result-object·v21 |
431 |
····move-object/from16·v0,·v2 |
433 | ····move-object/from16·v0,·v21 |
432 | ····move/from16·v1,·p1 | 434 | ····move/from16·v1,·p1 |
433 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 435 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
434 |
····move-result-object·v2 |
436 | ····move-result-object·v21 |
435 |
····const-string·v2 |
437 | ····const-string·v22,·"·end=" |
436 |
····invoke-virtual/range·{v2 |
438 | ····invoke-virtual/range·{v21·..·v22},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
437 |
····move-result-object·v2 |
439 | ····move-result-object·v21 |
438 |
····move-object/from16·v0,·v2 |
440 | ····move-object/from16·v0,·v21 |
439 | ····move/from16·v1,·p2 | 441 | ····move/from16·v1,·p2 |
440 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 442 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
441 |
····move-result-object·v2 |
443 | ····move-result-object·v21 |
442 |
····invoke-virtual/range·{v2 |
444 | ····invoke-virtual/range·{v21·..·v21},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
443 |
····move-result-object·v2 |
445 | ····move-result-object·v21 |
444 |
····invoke-static/range·{v2 |
446 | ····invoke-static/range·{v20·..·v21},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
445 | ····.line·158 | 447 | ····.line·158 |
446 | ····:cond_0 | 448 | ····:cond_0 |
447 | ····:goto_0 | 449 | ····:goto_0 |
448 | ····return-void | 450 | ····return-void |
449 | ····.line·83 | 451 | ····.line·83 |
450 | ····:cond_1 | 452 | ····:cond_1 |
451 | ····invoke-static·{},·Lorg/smc/inputmethod/compat/LocaleSpanCompatUtils;->isLocaleSpanAvailable()Z | 453 | ····invoke-static·{},·Lorg/smc/inputmethod/compat/LocaleSpanCompatUtils;->isLocaleSpanAvailable()Z |
452 |
····move-result·v2 |
454 | ····move-result·v20 |
453 |
····if-eqz·v2 |
455 | ····if-eqz·v20,·:cond_0 |
Max diff block lines reached; 13197/16839 bytes (78.37%) of diff not shown. |
Offset 45, 14 lines modified | Offset 45, 15 lines modified | ||
45 | ····new-array·v3,·v6,·[Ljava/lang/Class; | 45 | ····new-array·v3,·v6,·[Ljava/lang/Class; |
46 | ····sget-object·v4,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; | 46 | ····sget-object·v4,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; |
47 | ····aput-object·v4,·v3,·v1 | 47 | ····aput-object·v4,·v3,·v1 |
48 | ····.line·28 | ||
48 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 49 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
49 | ····move-result-object·v0 | 50 | ····move-result-object·v0 |
50 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setColor:Ljava/lang/reflect/Method; | 51 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setColor:Ljava/lang/reflect/Method; |
51 | ····.line·29 | 52 | ····.line·29 |
Offset 62, 14 lines modified | Offset 63, 15 lines modified | ||
62 | ····new-array·v3,·v6,·[Ljava/lang/Class; | 63 | ····new-array·v3,·v6,·[Ljava/lang/Class; |
63 | ····sget-object·v4,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; | 64 | ····sget-object·v4,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; |
64 | ····aput-object·v4,·v3,·v1 | 65 | ····aput-object·v4,·v3,·v1 |
66 | ····.line·30 | ||
65 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 67 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
66 | ····move-result-object·v0 | 68 | ····move-result-object·v0 |
67 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setVisibility:Ljava/lang/reflect/Method; | 69 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setVisibility:Ljava/lang/reflect/Method; |
68 | ····.line·31 | 70 | ····.line·31 |
Offset 79, 14 lines modified | Offset 81, 15 lines modified | ||
79 | ····new-array·v3,·v6,·[Ljava/lang/Class; | 81 | ····new-array·v3,·v6,·[Ljava/lang/Class; |
80 | ····const-class·v4,·Ljava/lang/String; | 82 | ····const-class·v4,·Ljava/lang/String; |
81 | ····aput-object·v4,·v3,·v1 | 83 | ····aput-object·v4,·v3,·v1 |
84 | ····.line·32 | ||
82 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 85 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
83 | ····move-result-object·v0 | 86 | ····move-result-object·v0 |
84 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setCategory:Ljava/lang/reflect/Method; | 87 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setCategory:Ljava/lang/reflect/Method; |
85 | ····.line·33 | 88 | ····.line·33 |
Offset 96, 100 lines modified | Offset 99, 110 lines modified | ||
96 | ····new-array·v3,·v6,·[Ljava/lang/Class; | 99 | ····new-array·v3,·v6,·[Ljava/lang/Class; |
97 | ····sget-object·v4,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; | 100 | ····sget-object·v4,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; |
98 | ····aput-object·v4,·v3,·v1 | 101 | ····aput-object·v4,·v3,·v1 |
102 | ····.line·34 | ||
99 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 103 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
100 | ····move-result-object·v0 | 104 | ····move-result-object·v0 |
101 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setPriority:Ljava/lang/reflect/Method; | 105 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_setPriority:Ljava/lang/reflect/Method; |
102 | ····.line·35 | 106 | ····.line·35 |
103 | ····const-class·v0,·Landroid/app/Notification$Builder; | 107 | ····const-class·v0,·Landroid/app/Notification$Builder; |
104 | ····const-string·v2,·"build" | 108 | ····const-string·v2,·"build" |
105 | ····new-array·v3,·v1,·[Ljava/lang/Class; | 109 | ····new-array·v3,·v1,·[Ljava/lang/Class; |
110 | ····.line·36 | ||
106 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 111 | ····invoke-static·{v0,·v2,·v3},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
107 | ····move-result-object·v0 | 112 | ····move-result-object·v0 |
108 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_build:Ljava/lang/reflect/Method; | 113 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->METHOD_build:Ljava/lang/reflect/Method; |
109 | ····.line·37 | 114 | ····.line·37 |
110 | ····const-class·v0,·Landroid/app/Notification; | 115 | ····const-class·v0,·Landroid/app/Notification; |
111 | ····const-string·v2,·"VISIBILITY_SECRET" | 116 | ····const-string·v2,·"VISIBILITY_SECRET" |
117 | ····.line·38 | ||
112 | ····invoke-static·{v0,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getField(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; | 118 | ····invoke-static·{v0,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getField(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; |
113 | ····move-result-object·v0 | 119 | ····move-result-object·v0 |
114 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->FIELD_VISIBILITY_SECRET:Ljava/lang/reflect/Field; | 120 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->FIELD_VISIBILITY_SECRET:Ljava/lang/reflect/Field; |
115 | ····.line·39 | 121 | ····.line·39 |
116 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->FIELD_VISIBILITY_SECRET:Ljava/lang/reflect/Field; | 122 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->FIELD_VISIBILITY_SECRET:Ljava/lang/reflect/Field; |
117 | ····if-nez·v0,·:cond_0 | 123 | ····if-nez·v0,·:cond_0 |
118 | ····move·v0,·v1 | 124 | ····move·v0,·v1 |
125 | ····.line·40 | ||
119 | ····:goto_0 | 126 | ····:goto_0 |
120 | ····sput·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->VISIBILITY_SECRET:I | 127 | ····sput·v0,·Lorg/smc/inputmethod/compat/NotificationCompatUtils;->VISIBILITY_SECRET:I |
Max diff block lines reached; 2901/6122 bytes (47.39%) of diff not shown. |
Offset 19, 23 lines modified | Offset 19, 25 lines modified | ||
19 | ····const/4·v2,·0x0 | 19 | ····const/4·v2,·0x0 |
20 | ····.line·26 | 20 | ····.line·26 |
21 | ····const-class·v0,·Landroid/view/textservice/SuggestionsInfo; | 21 | ····const-class·v0,·Landroid/view/textservice/SuggestionsInfo; |
22 | ····const-string·v1,·"RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS" | 22 | ····const-string·v1,·"RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS" |
23 | ····.line·27 | ||
23 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getField(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; | 24 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getField(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field; |
24 | ····move-result-object·v0 | 25 | ····move-result-object·v0 |
25 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->FIELD_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/reflect/Field; | 26 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->FIELD_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/reflect/Field; |
26 | ····.line·28 | 27 | ····.line·28 |
27 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->FIELD_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/reflect/Field; | 28 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->FIELD_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/reflect/Field; |
29 | ····.line·29 | ||
28 | ····invoke-static·{v2,·v2,·v0},·Lorg/smc/inputmethod/compat/CompatUtils;->getFieldValue(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Field;)Ljava/lang/Object; | 30 | ····invoke-static·{v2,·v2,·v0},·Lorg/smc/inputmethod/compat/CompatUtils;->getFieldValue(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Field;)Ljava/lang/Object; |
29 | ····move-result-object·v0 | 31 | ····move-result-object·v0 |
30 | ····check-cast·v0,·Ljava/lang/Integer; | 32 | ····check-cast·v0,·Ljava/lang/Integer; |
31 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->OBJ_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/Integer; | 33 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->OBJ_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/Integer; |
Offset 43, 23 lines modified | Offset 45, 26 lines modified | ||
43 | ····.line·31 | 45 | ····.line·31 |
44 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->OBJ_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/Integer; | 46 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->OBJ_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/Integer; |
45 | ····if-eqz·v0,·:cond_0 | 47 | ····if-eqz·v0,·:cond_0 |
46 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->OBJ_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/Integer; | 48 | ····sget-object·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->OBJ_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:Ljava/lang/Integer; |
49 | ····.line·33 | ||
47 | ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I | 50 | ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I |
48 | ····move-result·v0 | 51 | ····move-result·v0 |
49 | ····:goto_0 | 52 | ····:goto_0 |
50 | ····sput·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:I | 53 | ····sput·v0,·Lorg/smc/inputmethod/compat/SuggestionsInfoCompatUtils;->RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS:I |
54 | ····.line·31 | ||
51 | ····return-void | 55 | ····return-void |
56 | ····.line·33 | ||
52 | ····:cond_0 | 57 | ····:cond_0 |
53 | ····const/4·v0,·0x0 | 58 | ····const/4·v0,·0x0 |
54 | ····goto·:goto_0 | 59 | ····goto·:goto_0 |
55 | .end·method | 60 | .end·method |
56 | .method·private·constructor·<init>()V | 61 | .method·private·constructor·<init>()V |
Offset 91, 14 lines modified | Offset 91, 15 lines modified | ||
91 | ····const/4·v2,·0x0 | 91 | ····const/4·v2,·0x0 |
92 | ····new-array·v3,·v7,·[Ljava/lang/String; | 92 | ····new-array·v3,·v7,·[Ljava/lang/String; |
93 | ····sget-object·v1,·Lorg/smc/inputmethod/compat/SuggestionSpanUtils;->OBJ_FLAG_AUTO_CORRECTION:Ljava/lang/Integer; | 93 | ····sget-object·v1,·Lorg/smc/inputmethod/compat/SuggestionSpanUtils;->OBJ_FLAG_AUTO_CORRECTION:Ljava/lang/Integer; |
94 | ····.line·61 | ||
94 | ····invoke-virtual·{v1},·Ljava/lang/Integer;->intValue()I | 95 | ····invoke-virtual·{v1},·Ljava/lang/Integer;->intValue()I |
95 | ····move-result·v4 | 96 | ····move-result·v4 |
96 | ····const-class·v5,·Lorg/smc/inputmethod/indic/SuggestionSpanPickedNotificationReceiver; | 97 | ····const-class·v5,·Lorg/smc/inputmethod/indic/SuggestionSpanPickedNotificationReceiver; |
97 | ····move-object·v1,·p0 | 98 | ····move-object·v1,·p0 |
Offset 136, 14 lines modified | Offset 137, 15 lines modified | ||
136 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/SuggestedWords;->isEmpty()Z | 137 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/SuggestedWords;->isEmpty()Z |
137 | ····move-result·v1 | 138 | ····move-result·v1 |
138 | ····if-nez·v1,·:cond_0 | 139 | ····if-nez·v1,·:cond_0 |
140 | ····.line·71 | ||
139 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/SuggestedWords;->isPrediction()Z | 141 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/SuggestedWords;->isPrediction()Z |
140 | ····move-result·v1 | 142 | ····move-result·v1 |
141 | ····if-nez·v1,·:cond_0 | 143 | ····if-nez·v1,·:cond_0 |
142 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/SuggestedWords;->isPunctuationSuggestions()Z | 144 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/SuggestedWords;->isPunctuationSuggestions()Z |
Offset 188, 14 lines modified | Offset 190, 15 lines modified | ||
188 | ····.line·89 | 190 | ····.line·89 |
189 | ····:cond_2 | 191 | ····:cond_2 |
190 | ····new-instance·v0,·Landroid/text/style/SuggestionSpan; | 192 | ····new-instance·v0,·Landroid/text/style/SuggestionSpan; |
191 | ····const/4·v2,·0x0 | 193 | ····const/4·v2,·0x0 |
194 | ····.line·90 | ||
192 | ····invoke-virtual·{v9},·Ljava/util/ArrayList;->size()I | 195 | ····invoke-virtual·{v9},·Ljava/util/ArrayList;->size()I |
193 | ····move-result·v1 | 196 | ····move-result·v1 |
194 | ····new-array·v1,·v1,·[Ljava/lang/String; | 197 | ····new-array·v1,·v1,·[Ljava/lang/String; |
195 | ····invoke-virtual·{v9,·v1},·Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; | 198 | ····invoke-virtual·{v9,·v1},·Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; |
Offset 31, 14 lines modified | Offset 31, 15 lines modified | ||
31 | ····.line·29 | 31 | ····.line·29 |
32 | ····const-class·v0,·Landroid/view/textservice/TextInfo; | 32 | ····const-class·v0,·Landroid/view/textservice/TextInfo; |
33 | ····const-string·v1,·"getCharSequence" | 33 | ····const-string·v1,·"getCharSequence" |
34 | ····new-array·v2,·v3,·[Ljava/lang/Class; | 34 | ····new-array·v2,·v3,·[Ljava/lang/Class; |
35 | ····.line·30 | ||
35 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 36 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
36 | ····move-result-object·v0 | 37 | ····move-result-object·v0 |
37 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->TEXT_INFO_GET_CHAR_SEQUENCE:Ljava/lang/reflect/Method; | 38 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->TEXT_INFO_GET_CHAR_SEQUENCE:Ljava/lang/reflect/Method; |
38 | ····.line·31 | 39 | ····.line·31 |
Offset 72, 20 lines modified | Offset 73, 22 lines modified | ||
72 | ····const/4·v2,·0x4 | 73 | ····const/4·v2,·0x4 |
73 | ····sget-object·v3,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; | 74 | ····sget-object·v3,·Ljava/lang/Integer;->TYPE:Ljava/lang/Class; |
74 | ····aput-object·v3,·v1,·v2 | 75 | ····aput-object·v3,·v1,·v2 |
76 | ····.line·32 | ||
75 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; | 77 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->getConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor; |
76 | ····move-result-object·v0 | 78 | ····move-result-object·v0 |
77 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->TEXT_INFO_CONSTRUCTOR_FOR_CHAR_SEQUENCE:Ljava/lang/reflect/Constructor; | 79 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->TEXT_INFO_CONSTRUCTOR_FOR_CHAR_SEQUENCE:Ljava/lang/reflect/Constructor; |
80 | ····.line·31 | ||
78 | ····return-void | 81 | ····return-void |
79 | .end·method | 82 | .end·method |
80 | .method·public·constructor·<init>()V | 83 | .method·public·constructor·<init>()V |
81 | ····.locals·0 | 84 | ····.locals·0 |
82 | ····.prologue | 85 | ····.prologue |
Offset 185, 14 lines modified | Offset 188, 15 lines modified | ||
185 | ····const/4·v2,·0x0 | 188 | ····const/4·v2,·0x0 |
186 | ····aput-object·p0,·v1,·v2 | 189 | ····aput-object·p0,·v1,·v2 |
187 | ····const/4·v2,·0x1 | 190 | ····const/4·v2,·0x1 |
191 | ····.line·46 | ||
188 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 192 | ····invoke-static·{p1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
189 | ····move-result-object·v3 | 193 | ····move-result-object·v3 |
190 | ····aput-object·v3,·v1,·v2 | 194 | ····aput-object·v3,·v1,·v2 |
191 | ····const/4·v2,·0x2 | 195 | ····const/4·v2,·0x2 |
Offset 215, 14 lines modified | Offset 219, 15 lines modified | ||
215 | ····invoke-static·{p4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 219 | ····invoke-static·{p4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
216 | ····move-result-object·v3 | 220 | ····move-result-object·v3 |
217 | ····aput-object·v3,·v1,·v2 | 221 | ····aput-object·v3,·v1,·v2 |
222 | ····.line·45 | ||
218 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->newInstance(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; | 223 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/compat/CompatUtils;->newInstance(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; |
219 | ····move-result-object·v0 | 224 | ····move-result-object·v0 |
220 | ····check-cast·v0,·Landroid/view/textservice/TextInfo; | 225 | ····check-cast·v0,·Landroid/view/textservice/TextInfo; |
221 | ····.line·48 | 226 | ····.line·48 |
Offset 41, 20 lines modified | Offset 41, 22 lines modified | ||
41 | ····const/4·v3,·0x3 | 41 | ····const/4·v3,·0x3 |
42 | ····const-class·v4,·Landroid/graphics/drawable/Drawable; | 42 | ····const-class·v4,·Landroid/graphics/drawable/Drawable; |
43 | ····aput-object·v4,·v2,·v3 | 43 | ····aput-object·v4,·v2,·v3 |
44 | ····.line·28 | ||
44 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 45 | ····invoke-static·{v0,·v1,·v2},·Lorg/smc/inputmethod/compat/CompatUtils;->getMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
45 | ····move-result-object·v0 | 46 | ····move-result-object·v0 |
46 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/TextViewCompatUtils;->METHOD_setCompoundDrawablesRelativeWithIntrinsicBounds:Ljava/lang/reflect/Method; | 47 | ····sput-object·v0,·Lorg/smc/inputmethod/compat/TextViewCompatUtils;->METHOD_setCompoundDrawablesRelativeWithIntrinsicBounds:Ljava/lang/reflect/Method; |
48 | ····.line·27 | ||
47 | ····return-void | 49 | ····return-void |
48 | .end·method | 50 | .end·method |
49 | .method·private·constructor·<init>()V | 51 | .method·private·constructor·<init>()V |
50 | ····.locals·0 | 52 | ····.locals·0 |
51 | ····.prologue | 53 | ····.prologue |
Offset 238, 14 lines modified | Offset 238, 15 lines modified | ||
238 | ····invoke-static·{v4,·v5},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | 238 | ····invoke-static·{v4,·v5},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
239 | ····.line·581 | 239 | ····.line·581 |
240 | ····:cond_2 | 240 | ····:cond_2 |
241 | ····const-string·v4,·"url" | 241 | ····const-string·v4,·"url" |
242 | ····.line·582 | ||
242 | ····invoke-virtual·{v3,·v4},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 243 | ····invoke-virtual·{v3,·v4},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
243 | ····move-result-object·v1 | 244 | ····move-result-object·v1 |
244 | ····.line·587 | 245 | ····.line·587 |
245 | ····.local·v1,·"remoteFilename":Ljava/lang/String; | 246 | ····.local·v1,·"remoteFilename":Ljava/lang/String; |
246 | ····invoke-static·{v1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 247 | ····invoke-static·{v1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
Offset 269, 20 lines modified | Offset 270, 22 lines modified | ||
269 | ····aput-object·v7,·v6,·v8 | 270 | ····aput-object·v7,·v6,·v8 |
270 | ····iget-object·v7,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$FinishDeleteAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 271 | ····iget-object·v7,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$FinishDeleteAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
271 | ····iget·v7,·v7,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I | 272 | ····iget·v7,·v7,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I |
273 | ····.line·591 | ||
272 | ····invoke-static·{v7},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 274 | ····invoke-static·{v7},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
273 | ····move-result-object·v7 | 275 | ····move-result-object·v7 |
274 | ····aput-object·v7,·v6,·v9 | 276 | ····aput-object·v7,·v6,·v9 |
277 | ····.line·588 | ||
275 | ····invoke-virtual·{v0,·v4,·v5,·v6},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I | 278 | ····invoke-virtual·{v0,·v4,·v5,·v6},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I |
276 | ····goto/16·:goto_0 | 279 | ····goto/16·:goto_0 |
277 | ····.line·593 | 280 | ····.line·593 |
278 | ····:cond_3 | 281 | ····:cond_3 |
279 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$FinishDeleteAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 282 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$FinishDeleteAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
Offset 298, 20 lines modified | Offset 298, 22 lines modified | ||
298 | ····aput-object·v6,·v5,·v8 | 298 | ····aput-object·v6,·v5,·v8 |
299 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$ForgetAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 299 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$ForgetAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
300 | ····iget·v6,·v6,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I | 300 | ····iget·v6,·v6,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I |
301 | ····.line·488 | ||
301 | ····invoke-static·{v6},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 302 | ····invoke-static·{v6},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
302 | ····move-result-object·v6 | 303 | ····move-result-object·v6 |
303 | ····aput-object·v6,·v5,·v7 | 304 | ····aput-object·v6,·v5,·v7 |
305 | ····.line·485 | ||
304 | ····invoke-virtual·{v0,·v3,·v2,·v4,·v5},·Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I | 306 | ····invoke-virtual·{v0,·v3,·v2,·v4,·v5},·Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I |
305 | ····goto/16·:goto_0 | 307 | ····goto/16·:goto_0 |
306 | ····.line·491 | 308 | ····.line·491 |
307 | ····:cond_4 | 309 | ····:cond_4 |
308 | ····const-string·v3,·"pendingUpdates" | 310 | ····const-string·v3,·"pendingUpdates" |
Offset 326, 17 lines modified | Offset 328, 19 lines modified | ||
326 | ····aput-object·v6,·v5,·v8 | 328 | ····aput-object·v6,·v5,·v8 |
327 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$ForgetAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 329 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$ForgetAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
328 | ····iget·v6,·v6,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I | 330 | ····iget·v6,·v6,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I |
331 | ····.line·494 | ||
329 | ····invoke-static·{v6},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 332 | ····invoke-static·{v6},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
330 | ····move-result-object·v6 | 333 | ····move-result-object·v6 |
331 | ····aput-object·v6,·v5,·v7 | 334 | ····aput-object·v6,·v5,·v7 |
335 | ····.line·491 | ||
332 | ····invoke-virtual·{v0,·v3,·v4,·v5},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I | 336 | ····invoke-virtual·{v0,·v3,·v4,·v5},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I |
333 | ····goto/16·:goto_0 | 337 | ····goto/16·:goto_0 |
334 | .end·method | 338 | .end·method |
Offset 41, 28 lines modified | Offset 41, 30 lines modified | ||
41 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 41 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
42 | ····move-result-object·v0 | 42 | ····move-result-object·v0 |
43 | ····const-class·v1,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$InstallAfterDownloadAction; | 43 | ····const-class·v1,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$InstallAfterDownloadAction; |
44 | ····.line·184 | ||
44 | ····invoke-virtual·{v1},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 45 | ····invoke-virtual·{v1},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
45 | ····move-result-object·v1 | 46 | ····move-result-object·v1 |
46 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 47 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
47 | ····move-result-object·v0 | 48 | ····move-result-object·v0 |
48 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 49 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
49 | ····move-result-object·v0 | 50 | ····move-result-object·v0 |
50 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$InstallAfterDownloadAction;->TAG:Ljava/lang/String; | 51 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$InstallAfterDownloadAction;->TAG:Ljava/lang/String; |
52 | ····.line·183 | ||
51 | ····return-void | 53 | ····return-void |
52 | .end·method | 54 | .end·method |
53 | .method·public·constructor·<init>(Ljava/lang/String;Landroid/content/ContentValues;)V | 55 | .method·public·constructor·<init>(Ljava/lang/String;Landroid/content/ContentValues;)V |
54 | ····.locals·3 | 56 | ····.locals·3 |
55 | ····.param·p1,·"clientId"····#·Ljava/lang/String; | 57 | ····.param·p1,·"clientId"····#·Ljava/lang/String; |
56 | ····.param·p2,·"wordListValues"····#·Landroid/content/ContentValues; | 58 | ····.param·p2,·"wordListValues"····#·Landroid/content/ContentValues; |
Offset 186, 21 lines modified | Offset 186, 15 lines modified | ||
186 | ····iget-object·v4,·v4,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mId:Ljava/lang/String; | 186 | ····iget-object·v4,·v4,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mId:Ljava/lang/String; |
187 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 187 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
188 | ····move-result-object·v3 | 188 | ····move-result-object·v3 |
189 | ····const-string·v4,·"\'·" | 189 | ····const-string·v4,·"\'··for·a·makeavailable·action.·Marking·as·available·anyway." |
190 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
191 | ····move-result-object·v3 | ||
192 | ····const-string·v4,·"·for·a·makeavailable·action.·Marking·as·available·anyway." | ||
193 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 190 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
194 | ····move-result-object·v3 | 191 | ····move-result-object·v3 |
195 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 192 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 41, 28 lines modified | Offset 41, 30 lines modified | ||
41 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 41 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
42 | ····move-result-object·v0 | 42 | ····move-result-object·v0 |
43 | ····const-class·v1,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$MarkPreInstalledAction; | 43 | ····const-class·v1,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$MarkPreInstalledAction; |
44 | ····.line·348 | ||
44 | ····invoke-virtual·{v1},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 45 | ····invoke-virtual·{v1},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
45 | ····move-result-object·v1 | 46 | ····move-result-object·v1 |
46 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 47 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
47 | ····move-result-object·v0 | 48 | ····move-result-object·v0 |
48 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 49 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
49 | ····move-result-object·v0 | 50 | ····move-result-object·v0 |
50 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$MarkPreInstalledAction;->TAG:Ljava/lang/String; | 51 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$MarkPreInstalledAction;->TAG:Ljava/lang/String; |
52 | ····.line·347 | ||
51 | ····return-void | 53 | ····return-void |
52 | .end·method | 54 | .end·method |
53 | .method·public·constructor·<init>(Ljava/lang/String;Lorg/smc/inputmethod/dictionarypack/WordListMetadata;)V | 55 | .method·public·constructor·<init>(Ljava/lang/String;Lorg/smc/inputmethod/dictionarypack/WordListMetadata;)V |
54 | ····.locals·3 | 56 | ····.locals·3 |
55 | ····.param·p1,·"clientId"····#·Ljava/lang/String; | 57 | ····.param·p1,·"clientId"····#·Ljava/lang/String; |
56 | ····.param·p2,·"wordlist"····#·Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 58 | ····.param·p2,·"wordlist"····#·Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
Offset 186, 21 lines modified | Offset 188, 15 lines modified | ||
186 | ····iget-object·v4,·v4,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mId:Ljava/lang/String; | 188 | ····iget-object·v4,·v4,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mId:Ljava/lang/String; |
187 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 189 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
188 | ····move-result-object·v3 | 190 | ····move-result-object·v3 |
189 | ····const-string·v4,·"\'·" | 191 | ····const-string·v4,·"\'··for·a·markpreinstalled·action.·Marking·as·preinstalled·anyway." |
190 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
191 | ····move-result-object·v3 | ||
192 | ····const-string·v4,·"·for·a·markpreinstalled·action.·Marking·as·preinstalled·anyway." | ||
193 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 192 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
194 | ····move-result-object·v3 | 193 | ····move-result-object·v3 |
195 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 194 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 284, 14 lines modified | Offset 284, 15 lines modified | ||
284 | ····move-result-wide·v14 | 284 | ····move-result-wide·v14 |
285 | ····invoke-virtual·{v13,·v14,·v15},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; | 285 | ····invoke-virtual·{v13,·v14,·v15},·Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; |
286 | ····move-result-object·v13 | 286 | ····move-result-object·v13 |
287 | ····.line·138 | ||
287 | ····invoke-static/range·{p1·..·p1},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getVersionName(Landroid/content/Context;)Ljava/lang/String; | 288 | ····invoke-static/range·{p1·..·p1},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getVersionName(Landroid/content/Context;)Ljava/lang/String; |
288 | ····move-result-object·v14 | 289 | ····move-result-object·v14 |
289 | ····invoke-virtual·{v13,·v14},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 290 | ····invoke-virtual·{v13,·v14},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
290 | ····move-result-object·v13 | 291 | ····move-result-object·v13 |
Offset 400, 32 lines modified | Offset 401, 36 lines modified | ||
400 | ····iget-object·v13,·v13,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mDescription:Ljava/lang/String; | 401 | ····iget-object·v13,·v13,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mDescription:Ljava/lang/String; |
401 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setTitle(Ljava/lang/CharSequence;)Landroid/app/DownloadManager$Request; | 402 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setTitle(Ljava/lang/CharSequence;)Landroid/app/DownloadManager$Request; |
402 | ····.line·166 | 403 | ····.line·166 |
403 | ····const·v13,·0x7f070012 | 404 | ····const·v13,·0x7f070012 |
405 | ····.line·167 | ||
404 | ····invoke-virtual·{v9,·v13},·Landroid/content/res/Resources;->getBoolean(I)Z | 406 | ····invoke-virtual·{v9,·v13},·Landroid/content/res/Resources;->getBoolean(I)Z |
405 | ····move-result·v13 | 407 | ····move-result·v13 |
406 | ····if-eqz·v13,·:cond_5 | 408 | ····if-eqz·v13,·:cond_5 |
407 | ····const/4·v13,·0x0 | 409 | ····const/4·v13,·0x0 |
410 | ····.line·166 | ||
408 | ····:goto_4 | 411 | ····:goto_4 |
409 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setNotificationVisibility(I)Landroid/app/DownloadManager$Request; | 412 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setNotificationVisibility(I)Landroid/app/DownloadManager$Request; |
410 | ····.line·169 | 413 | ····.line·169 |
411 | ····const·v13,·0x7f070011 | 414 | ····const·v13,·0x7f070011 |
415 | ····.line·170 | ||
412 | ····invoke-virtual·{v9,·v13},·Landroid/content/res/Resources;->getBoolean(I)Z | 416 | ····invoke-virtual·{v9,·v13},·Landroid/content/res/Resources;->getBoolean(I)Z |
413 | ····move-result·v13 | 417 | ····move-result·v13 |
418 | ····.line·169 | ||
414 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setVisibleInDownloadsUi(Z)Landroid/app/DownloadManager$Request; | 419 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setVisibleInDownloadsUi(Z)Landroid/app/DownloadManager$Request; |
415 | ····.line·172 | 420 | ····.line·172 |
416 | ····move-object/from16·v0,·p0 | 421 | ····move-object/from16·v0,·p0 |
417 | ····iget-object·v13,·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$StartDownloadAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 422 | ····iget-object·v13,·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$StartDownloadAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
Offset 590, 15 lines modified | Offset 595, 15 lines modified | ||
590 | ····:cond_4 | 595 | ····:cond_4 |
591 | ····const/4·v13,·0x2 | 596 | ····const/4·v13,·0x2 |
592 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setAllowedNetworkTypes(I)Landroid/app/DownloadManager$Request; | 597 | ····invoke-virtual·{v8,·v13},·Landroid/app/DownloadManager$Request;->setAllowedNetworkTypes(I)Landroid/app/DownloadManager$Request; |
593 | ····goto/16·:goto_3 | 598 | ····goto/16·:goto_3 |
594 |
····.line·16 |
599 | ····.line·167 |
595 | ····:cond_5 | 600 | ····:cond_5 |
596 | ····const/4·v13,·0x2 | 601 | ····const/4·v13,·0x2 |
597 | ····goto/16·:goto_4 | 602 | ····goto/16·:goto_4 |
598 | ····.line·146 | 603 | ····.line·146 |
599 | ····nop | 604 | ····nop |
Offset 211, 38 lines modified | Offset 211, 41 lines modified | ||
211 | ····aput-object·v4,·v2,·v3 | 211 | ····aput-object·v4,·v2,·v3 |
212 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/DebugLogUtils;->l([Ljava/lang/Object;)V | 212 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/DebugLogUtils;->l([Ljava/lang/Object;)V |
213 | ····.line·413 | 213 | ····.line·413 |
214 | ····const-string·v2,·"pendingid" | 214 | ····const-string·v2,·"pendingid" |
215 | ····.line·414 | ||
215 | ····move-object/from16·v0,·v19 | 216 | ····move-object/from16·v0,·v19 |
216 | ····invoke-virtual·{v0,·v2},·Landroid/content/ContentValues;->getAsInteger(Ljava/lang/String;)Ljava/lang/Integer; | 217 | ····invoke-virtual·{v0,·v2},·Landroid/content/ContentValues;->getAsInteger(Ljava/lang/String;)Ljava/lang/Integer; |
217 | ····move-result-object·v2 | 218 | ····move-result-object·v2 |
218 | ····invoke-virtual·{v2},·Ljava/lang/Integer;->intValue()I | 219 | ····invoke-virtual·{v2},·Ljava/lang/Integer;->intValue()I |
219 | ····move-result·v2 | 220 | ····move-result·v2 |
220 | ····const-string·v3,·"type" | 221 | ····const-string·v3,·"type" |
222 | ····.line·415 | ||
221 | ····move-object/from16·v0,·v19 | 223 | ····move-object/from16·v0,·v19 |
222 | ····invoke-virtual·{v0,·v3},·Landroid/content/ContentValues;->getAsInteger(Ljava/lang/String;)Ljava/lang/Integer; | 224 | ····invoke-virtual·{v0,·v3},·Landroid/content/ContentValues;->getAsInteger(Ljava/lang/String;)Ljava/lang/Integer; |
223 | ····move-result-object·v3 | 225 | ····move-result-object·v3 |
224 | ····invoke-virtual·{v3},·Ljava/lang/Integer;->intValue()I | 226 | ····invoke-virtual·{v3},·Ljava/lang/Integer;->intValue()I |
225 | ····move-result·v3 | 227 | ····move-result·v3 |
226 | ····const-string·v4,·"status" | 228 | ····const-string·v4,·"status" |
229 | ····.line·416 | ||
227 | ····move-object/from16·v0,·v19 | 230 | ····move-object/from16·v0,·v19 |
228 | ····invoke-virtual·{v0,·v4},·Landroid/content/ContentValues;->getAsInteger(Ljava/lang/String;)Ljava/lang/Integer; | 231 | ····invoke-virtual·{v0,·v4},·Landroid/content/ContentValues;->getAsInteger(Ljava/lang/String;)Ljava/lang/Integer; |
229 | ····move-result-object·v4 | 232 | ····move-result-object·v4 |
230 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I | 233 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I |
Offset 265, 14 lines modified | Offset 268, 15 lines modified | ||
265 | ····iget-object·v7,·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$UpdateDataAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 268 | ····iget-object·v7,·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$UpdateDataAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
266 | ····iget-object·v7,·v7,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mDescription:Ljava/lang/String; | 269 | ····iget-object·v7,·v7,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mDescription:Ljava/lang/String; |
267 | ····const-string·v8,·"filename" | 270 | ····const-string·v8,·"filename" |
271 | ····.line·418 | ||
268 | ····move-object/from16·v0,·v19 | 272 | ····move-object/from16·v0,·v19 |
269 | ····invoke-virtual·{v0,·v8},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 273 | ····invoke-virtual·{v0,·v8},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
270 | ····move-result-object·v8 | 274 | ····move-result-object·v8 |
271 | ····move-object/from16·v0,·p0 | 275 | ····move-object/from16·v0,·p0 |
Offset 325, 14 lines modified | Offset 329, 15 lines modified | ||
325 | ····move-object/from16·v0,·v17 | 329 | ····move-object/from16·v0,·v17 |
326 | ····iget·v0,·v0,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mFormatVersion:I | 330 | ····iget·v0,·v0,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mFormatVersion:I |
327 | ····move/from16·v17,·v0 | 331 | ····move/from16·v17,·v0 |
332 | ····.line·413 | ||
328 | ····invoke-static/range·{v2·..·v17},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->makeContentValues(IIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;JII)Landroid/content/ContentValues; | 333 | ····invoke-static/range·{v2·..·v17},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->makeContentValues(IIILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;JII)Landroid/content/ContentValues; |
329 | ····move-result-object·v20 | 334 | ····move-result-object·v20 |
330 | ····.line·422 | 335 | ····.line·422 |
331 | ····.local·v20,·"values":Landroid/content/ContentValues; | 336 | ····.local·v20,·"values":Landroid/content/ContentValues; |
332 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 337 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
Offset 400, 20 lines modified | Offset 405, 22 lines modified | ||
400 | ····move-object/from16·v0,·p0 | 405 | ····move-object/from16·v0,·p0 |
401 | ····iget-object·v6,·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$UpdateDataAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 406 | ····iget-object·v6,·v0,·Lorg/smc/inputmethod/dictionarypack/ActionBatch$UpdateDataAction;->mWordList:Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
402 | ····iget·v6,·v6,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I | 407 | ····iget·v6,·v6,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mVersion:I |
408 | ····.line·427 | ||
403 | ····invoke-static·{v6},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 409 | ····invoke-static·{v6},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
404 | ····move-result-object·v6 | 410 | ····move-result-object·v6 |
405 | ····aput-object·v6,·v4,·v5 | 411 | ····aput-object·v6,·v4,·v5 |
412 | ····.line·424 | ||
406 | ····move-object/from16·v0,·v18 | 413 | ····move-object/from16·v0,·v18 |
407 | ····move-object/from16·v1,·v20 | 414 | ····move-object/from16·v1,·v20 |
408 | ····invoke-virtual·{v0,·v2,·v1,·v3,·v4},·Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I | 415 | ····invoke-virtual·{v0,·v2,·v1,·v3,·v4},·Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I |
409 | ····goto/16·:goto_0 | 416 | ····goto/16·:goto_0 |
Offset 71, 21 lines modified | Offset 71, 20 lines modified | ||
71 | .method·public·append(Lorg/smc/inputmethod/dictionarypack/ActionBatch;)V | 71 | .method·public·append(Lorg/smc/inputmethod/dictionarypack/ActionBatch;)V |
72 | ····.locals·3 | 72 | ····.locals·3 |
73 | ····.param·p1,·"that"····#·Lorg/smc/inputmethod/dictionarypack/ActionBatch; | 73 | ····.param·p1,·"that"····#·Lorg/smc/inputmethod/dictionarypack/ActionBatch; |
74 | ····.prologue | 74 | ····.prologue |
75 | ····.line·614 | 75 | ····.line·614 |
76 |
····iget-object·v |
76 | ····iget-object·v1,·p1,·Lorg/smc/inputmethod/dictionarypack/ActionBatch;->mActions:Ljava/util/Queue; |
77 |
····invoke-interface·{v |
77 | ····invoke-interface·{v1},·Ljava/util/Queue;->iterator()Ljava/util/Iterator; |
78 | ····move-result-object·v1 | 78 | ····move-result-object·v1 |
79 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
80 | ····:goto_0 | 79 | ····:goto_0 |
81 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 80 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
82 | ····move-result·v2 | 81 | ····move-result·v2 |
83 | ····if-eqz·v2,·:cond_0 | 82 | ····if-eqz·v2,·:cond_0 |
Offset 21, 14 lines modified | Offset 21, 15 lines modified | ||
21 | .field·final·synthetic·val$newStatus:I | 21 | .field·final·synthetic·val$newStatus:I |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher;ILandroid/view/View;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher;ILandroid/view/View;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·131 | 27 | ····.line·131 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher$1;->this$0:Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher$1;->this$0:Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher; |
28 | ····iput·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher$1;->val$newStatus:I | 29 | ····iput·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher$1;->val$newStatus:I |
Offset 147, 15 lines modified | Offset 147, 15 lines modified | ||
147 | ····.line·130 | 147 | ····.line·130 |
148 | ····const-string·v5,·"bytes_so_far" | 148 | ····const-string·v5,·"bytes_so_far" |
149 | ····invoke-interface·{v2,·v5},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I | 149 | ····invoke-interface·{v2,·v5},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I |
150 | ····move-result·v1 | 150 | ····move-result·v1 |
151 |
····.line·13 |
151 | ····.line·133 |
152 | ····.local·v1,·"columnBytesDownloadedSoFar":I | 152 | ····.local·v1,·"columnBytesDownloadedSoFar":I |
153 | ····invoke-interface·{v2,·v1},·Landroid/database/Cursor;->getInt(I)I | 153 | ····invoke-interface·{v2,·v1},·Landroid/database/Cursor;->getInt(I)I |
154 | ····move-result·v0 | 154 | ····move-result·v0 |
155 | ····.line·134 | 155 | ····.line·134 |
156 | ····.local·v0,·"bytesDownloadedSoFar":I | 156 | ····.local·v0,·"bytesDownloadedSoFar":I |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Landroid/widget/ProgressBar; | 2 | .super·Landroid/widget/ProgressBar; |
3 | .source·"DictionaryDownloadProgressBar.java" | 3 | .source·"DictionaryDownloadProgressBar.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar$1;, | ||
8 | ········Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar$UpdaterThread; | 7 | ········Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar$UpdaterThread; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | #·static·fields | 10 | #·static·fields |
12 | .field·private·static·final·NOT_A_DOWNLOADMANAGER_PENDING_ID:I | 11 | .field·private·static·final·NOT_A_DOWNLOADMANAGER_PENDING_ID:I |
Offset 98, 15 lines modified | Offset 97, 15 lines modified | ||
98 | ····.prologue | 97 | ····.prologue |
99 | ····.line·55 | 98 | ····.line·55 |
100 | ····invoke-static·{p0,·p1},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->getDb(Landroid/content/Context;Ljava/lang/String;)Landroid/database/sqlite/SQLiteDatabase; | 99 | ····invoke-static·{p0,·p1},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->getDb(Landroid/content/Context;Ljava/lang/String;)Landroid/database/sqlite/SQLiteDatabase; |
101 | ····move-result-object·v0 | 100 | ····move-result-object·v0 |
102 |
····.line·5 |
101 | ····.line·57 |
103 | ····.local·v0,·"db":Landroid/database/sqlite/SQLiteDatabase; | 102 | ····.local·v0,·"db":Landroid/database/sqlite/SQLiteDatabase; |
104 | ····invoke-static·{v0,·p2},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->getContentValuesOfLatestAvailableWordlistById(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;)Landroid/content/ContentValues; | 103 | ····invoke-static·{v0,·p2},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->getContentValuesOfLatestAvailableWordlistById(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;)Landroid/content/ContentValues; |
105 | ····move-result-object·v1 | 104 | ····move-result-object·v1 |
106 | ····.line·58 | 105 | ····.line·58 |
107 | ····.local·v1,·"wordlistValues":Landroid/content/ContentValues; | 106 | ····.local·v1,·"wordlistValues":Landroid/content/ContentValues; |
Offset 179, 15 lines modified | Offset 178, 15 lines modified | ||
179 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->getVisibility()I | 178 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->getVisibility()I |
180 | ····move-result·v2 | 179 | ····move-result·v2 |
181 | ····if-nez·v2,·:cond_2 | 180 | ····if-nez·v2,·:cond_2 |
182 |
····.line·7 |
181 | ····.line·77 |
183 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->getContext()Landroid/content/Context; | 182 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->getContext()Landroid/content/Context; |
184 | ····move-result-object·v2 | 183 | ····move-result-object·v2 |
185 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->mClientId:Ljava/lang/String; | 184 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->mClientId:Ljava/lang/String; |
186 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->mWordlistId:Ljava/lang/String; | 185 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->mWordlistId:Ljava/lang/String; |
Offset 209, 14 lines modified | Offset 208, 15 lines modified | ||
209 | ····return-void | 208 | ····return-void |
210 | ····.line·84 | 209 | ····.line·84 |
211 | ····.restart·local·v0····#·"downloadManagerPendingId":I | 210 | ····.restart·local·v0····#·"downloadManagerPendingId":I |
212 | ····:cond_1 | 211 | ····:cond_1 |
213 | ····new-instance·v1,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar$UpdaterThread; | 212 | ····new-instance·v1,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar$UpdaterThread; |
213 | ····.line·85 | ||
214 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->getContext()Landroid/content/Context; | 214 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->getContext()Landroid/content/Context; |
215 | ····move-result-object·v2 | 215 | ····move-result-object·v2 |
216 | ····invoke-direct·{v1,·p0,·v2,·v0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar$UpdaterThread;-><init>(Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;Landroid/content/Context;I)V | 216 | ····invoke-direct·{v1,·p0,·v2,·v0},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar$UpdaterThread;-><init>(Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;Landroid/content/Context;I)V |
217 | ····.line·86 | 217 | ····.line·86 |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"DictionaryListInterfaceState.java" | 3 | .source·"DictionaryListInterfaceState.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState$1;, | ||
8 | ········Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState$State; | 7 | ········Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState$State; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | #·instance·fields | 10 | #·instance·fields |
12 | .field·private·mViewCache:Ljava/util/ArrayList; | 11 | .field·private·mViewCache:Ljava/util/ArrayList; |
Offset 79, 92 lines modified | Offset 78, 90 lines modified | ||
79 | .end·method | 78 | .end·method |
80 | .method·public·closeAll()V | 79 | .method·public·closeAll()V |
81 | ····.locals·3 | 80 | ····.locals·3 |
82 | ····.prologue | 81 | ····.prologue |
83 | ····.line·65 | 82 | ····.line·65 |
84 |
····iget-object·v |
83 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState;->mWordlistToState:Ljava/util/HashMap; |
85 |
····invoke-virtual·{v |
84 | ····invoke-virtual·{v1},·Ljava/util/HashMap;->values()Ljava/util/Collection; |
86 |
····move-result-object·v |
85 | ····move-result-object·v1 |
87 |
····invoke-interface·{v |
86 | ····invoke-interface·{v1},·Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
88 |
····move-result-object·v |
87 | ····move-result-object·v1 |
89 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
90 | ····:goto_0 | 88 | ····:goto_0 |
91 |
····invoke-interface·{v |
89 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
92 | ····move-result·v2 | 90 | ····move-result·v2 |
93 | ····if-eqz·v2,·:cond_0 | 91 | ····if-eqz·v2,·:cond_0 |
94 |
····invoke-interface·{v |
92 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
95 |
····move-result-object·v |
93 | ····move-result-object·v0 |
96 |
····check-cast·v |
94 | ····check-cast·v0,·Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState$State; |
97 | ····.line·66 | 95 | ····.line·66 |
98 |
····.local·v |
96 | ····.local·v0,·"state":Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState$State; |
99 | ····const/4·v2,·0x0 | 97 | ····const/4·v2,·0x0 |
100 |
····iput-boolean·v2,·v |
98 | ····iput-boolean·v2,·v0,·Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState$State;->mOpen:Z |
101 | ····goto·:goto_0 | 99 | ····goto·:goto_0 |
102 | ····.line·68 | 100 | ····.line·68 |
103 |
····.end·local·v |
101 | ····.end·local·v0····#·"state":Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState$State; |
104 | ····:cond_0 | 102 | ····:cond_0 |
105 | ····return-void | 103 | ····return-void |
106 | .end·method | 104 | .end·method |
107 | .method·public·findFirstOrphanedView()Landroid/view/View; | 105 | .method·public·findFirstOrphanedView()Landroid/view/View; |
108 | ····.locals·3 | 106 | ····.locals·3 |
109 | ····.prologue | 107 | ····.prologue |
110 | ····.line·71 | 108 | ····.line·71 |
111 |
····iget-object·v |
109 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryListInterfaceState;->mViewCache:Ljava/util/ArrayList; |
112 |
····invoke-virtual·{v |
110 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
113 |
····move-result-object·v |
111 | ····move-result-object·v1 |
114 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
115 | ····:cond_0 | 112 | ····:cond_0 |
116 |
····invoke-interface·{v |
113 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
117 | ····move-result·v2 | 114 | ····move-result·v2 |
118 | ····if-eqz·v2,·:cond_1 | 115 | ····if-eqz·v2,·:cond_1 |
119 |
····invoke-interface·{v |
116 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
120 |
····move-result-object·v |
117 | ····move-result-object·v0 |
121 |
····check-cast·v |
118 | ····check-cast·v0,·Landroid/view/View; |
122 | ····.line·72 | 119 | ····.line·72 |
123 |
····.local·v |
120 | ····.local·v0,·"v":Landroid/view/View; |
124 |
····invoke-virtual·{v |
121 | ····invoke-virtual·{v0},·Landroid/view/View;->getParent()Landroid/view/ViewParent; |
125 | ····move-result-object·v2 | 122 | ····move-result-object·v2 |
126 | ····if-nez·v2,·:cond_0 | 123 | ····if-nez·v2,·:cond_0 |
127 | ····.line·74 | 124 | ····.line·74 |
128 |
····.end·local·v |
125 | ····.end·local·v0····#·"v":Landroid/view/View; |
129 | ····:goto_0 | 126 | ····:goto_0 |
130 |
····return-object·v |
127 | ····return-object·v0 |
Max diff block lines reached; 192/4378 bytes (4.39%) of diff not shown. |
Offset 69, 14 lines modified | Offset 69, 15 lines modified | ||
69 | ····move-result-object·v0 | 69 | ····move-result-object·v0 |
70 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->TAG:Ljava/lang/String; | 70 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->TAG:Ljava/lang/String; |
71 | ····.line·52 | 71 | ····.line·52 |
72 | ····const-string·v0,·"content://com.android.inputmethod.dictionarypack.aosp" | 72 | ····const-string·v0,·"content://com.android.inputmethod.dictionarypack.aosp" |
73 | ····.line·53 | ||
73 | ····invoke-static·{v0},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; | 74 | ····invoke-static·{v0},·Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri; |
74 | ····move-result-object·v0 | 75 | ····move-result-object·v0 |
75 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->CONTENT_URI:Landroid/net/Uri; | 76 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->CONTENT_URI:Landroid/net/Uri; |
76 | ····.line·66 | 77 | ····.line·66 |
Offset 166, 15 lines modified | Offset 167, 14 lines modified | ||
166 | .method·public·constructor·<init>()V | 167 | .method·public·constructor·<init>()V |
167 | ····.locals·0 | 168 | ····.locals·0 |
168 | ····.prologue | 169 | ····.prologue |
169 | ····.line·48 | 170 | ····.line·48 |
170 | ····invoke-direct·{p0},·Landroid/content/ContentProvider;-><init>()V | 171 | ····invoke-direct·{p0},·Landroid/content/ContentProvider;-><init>()V |
171 | ····.line·109 | ||
172 | ····return-void | 172 | ····return-void |
173 | .end·method | 173 | .end·method |
174 | .method·private·deleteDataFile(Landroid/net/Uri;)I | 174 | .method·private·deleteDataFile(Landroid/net/Uri;)I |
175 | ····.locals·12 | 175 | ····.locals·12 |
176 | ····.param·p1,·"uri"····#·Landroid/net/Uri; | 176 | ····.param·p1,·"uri"····#·Landroid/net/Uri; |
Offset 281, 14 lines modified | Offset 281, 15 lines modified | ||
281 | ····invoke-static·{v10,·v0,·v7,·v5},·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->markAsBroken(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V | 281 | ····invoke-static·{v10,·v0,·v7,·v5},·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->markAsBroken(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V |
282 | ····.line·475 | 282 | ····.line·475 |
283 | ····:cond_3 | 283 | ····:cond_3 |
284 | ····const-string·v10,·"filename" | 284 | ····const-string·v10,·"filename" |
285 | ····.line·476 | ||
285 | ····invoke-virtual·{v6,·v10},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; | 286 | ····invoke-virtual·{v6,·v10},·Landroid/content/ContentValues;->getAsString(Ljava/lang/String;)Ljava/lang/String; |
286 | ····move-result-object·v2 | 287 | ····move-result-object·v2 |
287 | ····.line·477 | 288 | ····.line·477 |
288 | ····.local·v2,·"localFilename":Ljava/lang/String; | 289 | ····.local·v2,·"localFilename":Ljava/lang/String; |
289 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->getContext()Landroid/content/Context; | 290 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->getContext()Landroid/content/Context; |
Offset 427, 15 lines modified | Offset 428, 15 lines modified | ||
427 | ····.prologue | 428 | ····.prologue |
428 | ····.line·352 | 429 | ····.line·352 |
429 | ····invoke-virtual/range·{p0·..·p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->getContext()Landroid/content/Context; | 430 | ····invoke-virtual/range·{p0·..·p0},·Lorg/smc/inputmethod/dictionarypack/DictionaryProvider;->getContext()Landroid/content/Context; |
430 | ····move-result-object·v3 | 431 | ····move-result-object·v3 |
431 |
····.line·35 |
432 | ····.line·354 |
432 | ····.local·v3,·"context":Landroid/content/Context; | 433 | ····.local·v3,·"context":Landroid/content/Context; |
433 | ····move-object/from16·v0,·p1 | 434 | ····move-object/from16·v0,·p1 |
434 | ····invoke-static·{v3,·v0},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->queryInstalledOrDeletingOrAvailableDictionaryMetadata(Landroid/content/Context;Ljava/lang/String;)Landroid/database/Cursor; | 435 | ····invoke-static·{v3,·v0},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->queryInstalledOrDeletingOrAvailableDictionaryMetadata(Landroid/content/Context;Ljava/lang/String;)Landroid/database/Cursor; |
435 | ····move-result-object·v12 | 436 | ····move-result-object·v12 |
Offset 444, 15 lines modified | Offset 445, 15 lines modified | ||
444 | ····if-nez·v12,·:cond_0 | 445 | ····if-nez·v12,·:cond_0 |
445 | ····.line·357 | 446 | ····.line·357 |
446 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 447 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
447 | ····move-result-object·v21 | 448 | ····move-result-object·v21 |
448 |
····.line·4 |
449 | ····.line·428 |
449 | ····:goto_0 | 450 | ····:goto_0 |
450 | ····return-object·v21 | 451 | ····return-object·v21 |
451 | ····.line·360 | 452 | ····.line·360 |
452 | ····:cond_0 | 453 | ····:cond_0 |
453 | ····:try_start_0 | 454 | ····:try_start_0 |
454 | ····new-instance·v5,·Ljava/util/HashMap; | 455 | ····new-instance·v5,·Ljava/util/HashMap; |
Offset 479, 24 lines modified | Offset 480, 26 lines modified | ||
479 | ····move-result·v9 | 480 | ····move-result·v9 |
480 | ····.line·363 | 481 | ····.line·363 |
481 | ····.local·v9,·"localeIndex":I | 482 | ····.local·v9,·"localeIndex":I |
482 | ····const-string·v21,·"filename" | 483 | ····const-string·v21,·"filename" |
484 | ····.line·364 | ||
483 | ····move-object/from16·v0,·v21 | 485 | ····move-object/from16·v0,·v21 |
484 | ····invoke-interface·{v12,·v0},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I | 486 | ····invoke-interface·{v12,·v0},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I |
485 | ····move-result·v8 | 487 | ····move-result·v8 |
486 | ····.line·365 | 488 | ····.line·365 |
487 | ····.local·v8,·"localFileNameIndex":I | 489 | ····.local·v8,·"localFileNameIndex":I |
488 | ····const-string·v21,·"rawChecksum" | 490 | ····const-string·v21,·"rawChecksum" |
491 | ····.line·366 | ||
Max diff block lines reached; 4019/6805 bytes (59.06%) of diff not shown. |
Offset 26, 14 lines modified | Offset 26, 15 lines modified | ||
26 | .field·final·synthetic·val$startId:I | 26 | .field·final·synthetic·val$startId:I |
27 | #·direct·methods | 27 | #·direct·methods |
28 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionaryService;Lorg/smc/inputmethod/dictionarypack/DictionaryService;Landroid/content/Intent;I)V | 28 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionaryService;Lorg/smc/inputmethod/dictionarypack/DictionaryService;Landroid/content/Intent;I)V |
29 | ····.locals·0 | 29 | ····.locals·0 |
30 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/DictionaryService; | ||
30 | ····.prologue | 31 | ····.prologue |
31 | ····.line·157 | 32 | ····.line·157 |
32 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryService$1;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionaryService; | 33 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryService$1;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionaryService; |
33 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryService$1;->val$self:Lorg/smc/inputmethod/dictionarypack/DictionaryService; | 34 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionaryService$1;->val$self:Lorg/smc/inputmethod/dictionarypack/DictionaryService; |
Offset 293, 28 lines modified | Offset 293, 31 lines modified | ||
293 | ····.prologue | 293 | ····.prologue |
294 | ····const/4·v5,·0x1 | 294 | ····const/4·v5,·0x1 |
295 | ····.line·238 | 295 | ····.line·238 |
296 | ····const·v1,·0x7f0c0522 | 296 | ····const·v1,·0x7f0c0522 |
297 | ····.line·239 | ||
297 | ····invoke-virtual·{p0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; | 298 | ····invoke-virtual·{p0,·v1},·Landroid/content/Context;->getString(I)Ljava/lang/String; |
298 | ····move-result-object·v1 | 299 | ····move-result-object·v1 |
299 | ····new-array·v2,·v5,·[Ljava/lang/Object; | 300 | ····new-array·v2,·v5,·[Ljava/lang/Object; |
300 | ····const/4·v3,·0x0 | 301 | ····const/4·v3,·0x0 |
302 | ····.line·240 | ||
301 | ····invoke-virtual·{p1},·Ljava/util/Locale;->getDisplayName()Ljava/lang/String; | 303 | ····invoke-virtual·{p1},·Ljava/util/Locale;->getDisplayName()Ljava/lang/String; |
302 | ····move-result-object·v4 | 304 | ····move-result-object·v4 |
303 | ····aput-object·v4,·v2,·v3 | 305 | ····aput-object·v4,·v2,·v3 |
306 | ····.line·238 | ||
304 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 307 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
305 | ····move-result-object·v0 | 308 | ····move-result-object·v0 |
306 | ····.line·241 | 309 | ····.line·241 |
307 | ····.local·v0,·"toastText":Ljava/lang/String; | 310 | ····.local·v0,·"toastText":Ljava/lang/String; |
308 | ····invoke-static·{p0,·v0,·v5},·Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; | 311 | ····invoke-static·{p0,·v0,·v5},·Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; |
Offset 433, 18 lines modified | Offset 436, 20 lines modified | ||
433 | ····move-result·v1 | 436 | ····move-result·v1 |
434 | ····if-eqz·v1,·:cond_0 | 437 | ····if-eqz·v1,·:cond_0 |
435 | ····.line·149 | 438 | ····.line·149 |
436 | ····const-string·v1,·"locale" | 439 | ····const-string·v1,·"locale" |
440 | ····.line·150 | ||
437 | ····invoke-virtual·{p1,·v1},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; | 441 | ····invoke-virtual·{p1,·v1},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; |
438 | ····move-result-object·v1 | 442 | ····move-result-object·v1 |
443 | ····.line·149 | ||
439 | ····invoke-static·{v1},·Lorg/smc/inputmethod/dictionarypack/LocaleUtils;->constructLocaleFromString(Ljava/lang/String;)Ljava/util/Locale; | 444 | ····invoke-static·{v1},·Lorg/smc/inputmethod/dictionarypack/LocaleUtils;->constructLocaleFromString(Ljava/lang/String;)Ljava/util/Locale; |
440 | ····move-result-object·v1 | 445 | ····move-result-object·v1 |
441 | ····invoke-static·{p0,·v1},·Lorg/smc/inputmethod/dictionarypack/DictionaryService;->showStartDownloadingToast(Landroid/content/Context;Ljava/util/Locale;)V | 446 | ····invoke-static·{p0,·v1},·Lorg/smc/inputmethod/dictionarypack/DictionaryService;->showStartDownloadingToast(Landroid/content/Context;Ljava/util/Locale;)V |
442 | ····:try_end_0 | 447 | ····:try_end_0 |
443 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 448 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Ljava/lang/String;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Ljava/lang/String;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | ||
22 | ····.param·p2,·"x0"····#·Ljava/lang/String; | 23 | ····.param·p2,·"x0"····#·Ljava/lang/String; |
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·158 | 25 | ····.line·158 |
25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$2;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 26 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$2;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
26 | ····invoke-direct·{p0,·p2},·Ljava/lang/Thread;-><init>(Ljava/lang/String;)V | 27 | ····invoke-direct·{p0,·p2},·Ljava/lang/Thread;-><init>(Ljava/lang/String;)V |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·73 | 24 | ····.line·73 |
24 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$1;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$1;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
25 | ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·173 | 27 | ····.line·173 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$3;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$3;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$prefScreen:Landroid/preference/PreferenceGroup; | 24 | .field·final·synthetic·val$prefScreen:Landroid/preference/PreferenceGroup; |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Landroid/preference/PreferenceGroup;Ljava/util/Collection;)V | 26 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Landroid/preference/PreferenceGroup;Ljava/util/Collection;)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·225 | 30 | ····.line·225 |
30 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 31 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
31 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->val$prefScreen:Landroid/preference/PreferenceGroup; | 32 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->val$prefScreen:Landroid/preference/PreferenceGroup; |
Offset 41, 74 lines modified | Offset 42, 73 lines modified | ||
41 | ····return-void | 42 | ····return-void |
42 | .end·method | 43 | .end·method |
43 | #·virtual·methods | 44 | #·virtual·methods |
44 | .method·public·run()V | 45 | .method·public·run()V |
45 |
····.locals· |
46 | ····.locals·5 |
46 | ····.prologue | 47 | ····.prologue |
47 | ····.line·230 | 48 | ····.line·230 |
48 |
····iget-object·v |
49 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
49 | ····#·invokes:·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->refreshNetworkState()V | 50 | ····#·invokes:·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->refreshNetworkState()V |
50 |
····invoke-static·{v |
51 | ····invoke-static·{v3},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->access$000(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;)V |
51 | ····.line·232 | 52 | ····.line·232 |
52 |
····iget-object·v |
53 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
53 |
····iget-object·v |
54 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->val$prefScreen:Landroid/preference/PreferenceGroup; |
54 | ····#·invokes:·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->removeAnyDictSettings(Landroid/preference/PreferenceGroup;)V | 55 | ····#·invokes:·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->removeAnyDictSettings(Landroid/preference/PreferenceGroup;)V |
55 |
····invoke-static·{v |
56 | ····invoke-static·{v3,·v4},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->access$200(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Landroid/preference/PreferenceGroup;)V |
56 | ····.line·233 | 57 | ····.line·233 |
57 | ····const/4·v0,·0x0 | 58 | ····const/4·v0,·0x0 |
58 | ····.line·234 | 59 | ····.line·234 |
59 | ····.local·v0,·"i":I | 60 | ····.local·v0,·"i":I |
60 |
····iget-object·v |
61 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->val$prefList:Ljava/util/Collection; |
61 |
····invoke-interface·{v |
62 | ····invoke-interface·{v3},·Ljava/util/Collection;->iterator()Ljava/util/Iterator; |
62 |
····move-result-object·v |
63 | ····move-result-object·v3 |
63 | ····.local·v2,·"i$":Ljava/util/Iterator; | ||
64 | ····:goto_0 | 64 | ····:goto_0 |
65 |
····invoke-interface·{v |
65 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
66 | ····move-result·v4 | 66 | ····move-result·v4 |
67 | ····if-eqz·v4,·:cond_0 | 67 | ····if-eqz·v4,·:cond_0 |
68 |
····invoke-interface·{v |
68 | ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
69 |
····move-result-object·v |
69 | ····move-result-object·v2 |
70 |
····check-cast·v |
70 | ····check-cast·v2,·Landroid/preference/Preference; |
71 | ····.line·235 | 71 | ····.line·235 |
72 |
····.local·v |
72 | ····.local·v2,·"preference":Landroid/preference/Preference; |
73 | ····add-int/lit8·v1,·v0,·0x1 | 73 | ····add-int/lit8·v1,·v0,·0x1 |
74 | ····.end·local·v0····#·"i":I | 74 | ····.end·local·v0····#·"i":I |
75 | ····.local·v1,·"i":I | 75 | ····.local·v1,·"i":I |
76 |
····invoke-virtual·{v |
76 | ····invoke-virtual·{v2,·v0},·Landroid/preference/Preference;->setOrder(I)V |
77 | ····.line·236 | 77 | ····.line·236 |
78 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->val$prefScreen:Landroid/preference/PreferenceGroup; | 78 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$4;->val$prefScreen:Landroid/preference/PreferenceGroup; |
79 |
····invoke-virtual·{v4,·v |
79 | ····invoke-virtual·{v4,·v2},·Landroid/preference/PreferenceGroup;->addPreference(Landroid/preference/Preference;)Z |
80 | ····move·v0,·v1 | 80 | ····move·v0,·v1 |
81 | ····.line·237 | 81 | ····.line·237 |
82 | ····.end·local·v1····#·"i":I | 82 | ····.end·local·v1····#·"i":I |
83 | ····.restart·local·v0····#·"i":I | 83 | ····.restart·local·v0····#·"i":I |
84 | ····goto·:goto_0 | 84 | ····goto·:goto_0 |
85 | ····.line·238 | 85 | ····.line·238 |
86 |
····.end·local·v |
86 | ····.end·local·v2····#·"preference":Landroid/preference/Preference; |
87 | ····:cond_0 | 87 | ····:cond_0 |
88 | ····return-void | 88 | ····return-void |
89 | .end·method | 89 | .end·method |
Offset 19, 14 lines modified | Offset 19, 15 lines modified | ||
19 | .field·final·synthetic·val$activity:Landroid/app/Activity; | 19 | .field·final·synthetic·val$activity:Landroid/app/Activity; |
20 | #·direct·methods | 20 | #·direct·methods |
21 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Ljava/lang/String;Landroid/app/Activity;)V | 21 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Ljava/lang/String;Landroid/app/Activity;)V |
22 | ····.locals·0 | 22 | ····.locals·0 |
23 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | ||
23 | ····.param·p2,·"x0"····#·Ljava/lang/String; | 24 | ····.param·p2,·"x0"····#·Ljava/lang/String; |
24 | ····.prologue | 25 | ····.prologue |
25 | ····.line·371 | 26 | ····.line·371 |
26 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$5;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$5;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
27 | ····iput-object·p3,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$5;->val$activity:Landroid/app/Activity; | 28 | ····iput-object·p3,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$5;->val$activity:Landroid/app/Activity; |
Offset 234, 44 lines modified | Offset 234, 49 lines modified | ||
234 | ····invoke-virtual·{v2,·v5},·Landroid/net/Uri$Builder;->scheme(Ljava/lang/String;)Landroid/net/Uri$Builder; | 234 | ····invoke-virtual·{v2,·v5},·Landroid/net/Uri$Builder;->scheme(Ljava/lang/String;)Landroid/net/Uri$Builder; |
235 | ····move-result-object·v2 | 235 | ····move-result-object·v2 |
236 | ····const·v5,·0x7f0c0008 | 236 | ····const·v5,·0x7f0c0008 |
237 | ····.line·272 | ||
237 | ····move-object/from16·v0,·p0 | 238 | ····move-object/from16·v0,·p0 |
238 | ····invoke-virtual·{v0,·v5},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getString(I)Ljava/lang/String; | 239 | ····invoke-virtual·{v0,·v5},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getString(I)Ljava/lang/String; |
239 | ····move-result-object·v5 | 240 | ····move-result-object·v5 |
240 | ····invoke-virtual·{v2,·v5},·Landroid/net/Uri$Builder;->authority(Ljava/lang/String;)Landroid/net/Uri$Builder; | 241 | ····invoke-virtual·{v2,·v5},·Landroid/net/Uri$Builder;->authority(Ljava/lang/String;)Landroid/net/Uri$Builder; |
241 | ····move-result-object·v2 | 242 | ····move-result-object·v2 |
243 | ····.line·273 | ||
242 | ····move-object/from16·v0,·p1 | 244 | ····move-object/from16·v0,·p1 |
243 | ····invoke-virtual·{v2,·v0},·Landroid/net/Uri$Builder;->appendPath(Ljava/lang/String;)Landroid/net/Uri$Builder; | 245 | ····invoke-virtual·{v2,·v0},·Landroid/net/Uri$Builder;->appendPath(Ljava/lang/String;)Landroid/net/Uri$Builder; |
244 | ····move-result-object·v2 | 246 | ····move-result-object·v2 |
245 | ····const-string·v5,·"list" | 247 | ····const-string·v5,·"list" |
248 | ····.line·274 | ||
246 | ····invoke-virtual·{v2,·v5},·Landroid/net/Uri$Builder;->appendPath(Ljava/lang/String;)Landroid/net/Uri$Builder; | 249 | ····invoke-virtual·{v2,·v5},·Landroid/net/Uri$Builder;->appendPath(Ljava/lang/String;)Landroid/net/Uri$Builder; |
247 | ····move-result-object·v2 | 250 | ····move-result-object·v2 |
248 | ····const-string·v5,·"protocol" | 251 | ····const-string·v5,·"protocol" |
249 | ····const-string·v6,·"2" | 252 | ····const-string·v6,·"2" |
253 | ····.line·276 | ||
250 | ····invoke-virtual·{v2,·v5,·v6},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; | 254 | ····invoke-virtual·{v2,·v5,·v6},·Landroid/net/Uri$Builder;->appendQueryParameter(Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; |
251 | ····move-result-object·v2 | 255 | ····move-result-object·v2 |
256 | ····.line·277 | ||
252 | ····invoke-virtual·{v2},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri; | 257 | ····invoke-virtual·{v2},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri; |
253 | ····move-result-object·v3 | 258 | ····move-result-object·v3 |
254 | ····.line·278 | 259 | ····.line·278 |
255 | ····.local·v3,·"contentUri":Landroid/net/Uri; | 260 | ····.local·v3,·"contentUri":Landroid/net/Uri; |
256 | ····invoke-virtual/range·{p0·..·p0},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getActivity()Landroid/app/Activity; | 261 | ····invoke-virtual/range·{p0·..·p0},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getActivity()Landroid/app/Activity; |
Offset 304, 20 lines modified | Offset 309, 20 lines modified | ||
304 | ····move-result-object·v2 | 309 | ····move-result-object·v2 |
305 | ····move-object/from16·v0,·v27 | 310 | ····move-object/from16·v0,·v27 |
306 | ····invoke-virtual·{v0,·v2},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 311 | ····invoke-virtual·{v0,·v2},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
307 |
····.line·34 |
312 | ····.line·345 |
308 | ····.end·local·v27····#·"result":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Landroid/preference/Preference;>;" | 313 | ····.end·local·v27····#·"result":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Landroid/preference/Preference;>;" |
309 | ····:goto_1 | 314 | ····:goto_1 |
310 | ····return-object·v27 | 315 | ····return-object·v27 |
311 |
····.line·2 |
316 | ····.line·280 |
312 | ····.end·local·v15····#·"cursor":Landroid/database/Cursor; | 317 | ····.end·local·v15····#·"cursor":Landroid/database/Cursor; |
313 | ····:cond_0 | 318 | ····:cond_0 |
314 | ····invoke-virtual·{v14},·Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver; | 319 | ····invoke-virtual·{v14},·Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver; |
315 | ····move-result-object·v2 | 320 | ····move-result-object·v2 |
316 | ····const/4·v4,·0x0 | 321 | ····const/4·v4,·0x0 |
Offset 412, 14 lines modified | Offset 417, 15 lines modified | ||
412 | ····move-result·v21 | 417 | ····move-result·v21 |
413 | ····.line·298 | 418 | ····.line·298 |
414 | ····.local·v21,·"localeIndex":I | 419 | ····.local·v21,·"localeIndex":I |
415 | ····const-string·v2,·"description" | 420 | ····const-string·v2,·"description" |
421 | ····.line·299 | ||
416 | ····invoke-interface·{v15,·v2},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I | 422 | ····invoke-interface·{v15,·v2},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I |
417 | ····move-result·v16 | 423 | ····move-result·v16 |
418 | ····.line·300 | 424 | ····.line·300 |
419 | ····.local·v16,·"descriptionIndex":I | 425 | ····.local·v16,·"descriptionIndex":I |
420 | ····const-string·v2,·"status" | 426 | ····const-string·v2,·"status" |
Offset 479, 25 lines modified | Offset 485, 25 lines modified | ||
479 | ····.local·v11,·"description":Ljava/lang/String; | 485 | ····.local·v11,·"description":Ljava/lang/String; |
480 | ····move/from16·v0,·v28 | 486 | ····move/from16·v0,·v28 |
481 | ····invoke-interface·{v15,·v0},·Landroid/database/Cursor;->getInt(I)I | 487 | ····invoke-interface·{v15,·v0},·Landroid/database/Cursor;->getInt(I)I |
482 | ····move-result·v12 | 488 | ····move-result·v12 |
483 |
····.line·3 |
489 | ····.line·310 |
484 | ····.local·v12,·"status":I | 490 | ····.local·v12,·"status":I |
485 | ····move-object/from16·v0,·v29 | 491 | ····move-object/from16·v0,·v29 |
486 | ····move-object/from16·v1,·v22 | 492 | ····move-object/from16·v1,·v22 |
Max diff block lines reached; 5526/8310 bytes (66.50%) of diff not shown. |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$preferenceView:Landroid/view/View; | 22 | .field·final·synthetic·val$preferenceView:Landroid/view/View; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Landroid/view/View;)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;Landroid/view/View;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·403 | 28 | ····.line·403 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
29 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->val$preferenceView:Landroid/view/View; | 30 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->val$preferenceView:Landroid/view/View; |
Offset 69, 37 lines modified | Offset 70, 41 lines modified | ||
69 | ····#·getter·for:·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->mLoadingView:Landroid/view/View; | 70 | ····#·getter·for:·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->mLoadingView:Landroid/view/View; |
70 | ····invoke-static·{v0},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->access$400(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;)Landroid/view/View; | 71 | ····invoke-static·{v0},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->access$400(Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;)Landroid/view/View; |
71 | ····move-result-object·v0 | 72 | ····move-result-object·v0 |
72 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 73 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
74 | ····.line·409 | ||
73 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getActivity()Landroid/app/Activity; | 75 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getActivity()Landroid/app/Activity; |
74 | ····move-result-object·v1 | 76 | ····move-result-object·v1 |
75 | ····const·v2,·0x10a0001 | 77 | ····const·v2,·0x10a0001 |
78 | ····.line·408 | ||
76 | ····invoke-static·{v1,·v2},·Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation; | 79 | ····invoke-static·{v1,·v2},·Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation; |
77 | ····move-result-object·v1 | 80 | ····move-result-object·v1 |
78 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V | 81 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V |
79 | ····.line·410 | 82 | ····.line·410 |
80 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->val$preferenceView:Landroid/view/View; | 83 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->val$preferenceView:Landroid/view/View; |
81 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; | 84 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment$6;->this$0:Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment; |
85 | ····.line·411 | ||
82 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getActivity()Landroid/app/Activity; | 86 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/dictionarypack/DictionarySettingsFragment;->getActivity()Landroid/app/Activity; |
83 | ····move-result-object·v1 | 87 | ····move-result-object·v1 |
84 | ····const/high16·v2,·0x10a0000 | 88 | ····const/high16·v2,·0x10a0000 |
89 | ····.line·410 | ||
85 | ····invoke-static·{v1,·v2},·Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation; | 90 | ····invoke-static·{v1,·v2},·Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation; |
86 | ····move-result-object·v1 | 91 | ····move-result-object·v1 |
87 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V | 92 | ····invoke-virtual·{v0,·v1},·Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V |
88 | ····.line·415 | 93 | ····.line·415 |
Offset 305, 14 lines modified | Offset 305, 15 lines modified | ||
305 | ····const-string·v1,·"pendingUpdates" | 305 | ····const-string·v1,·"pendingUpdates" |
306 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 306 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
307 | ····move-result-object·v1 | 307 | ····move-result-object·v1 |
308 | ····.line·173 | ||
308 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 309 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
309 | ····move-result·v0 | 310 | ····move-result·v0 |
310 | ····if-eqz·v0,·:cond_0 | 311 | ····if-eqz·v0,·:cond_0 |
311 | ····const-string·v0,·"" | 312 | ····const-string·v0,·"" |
Offset 326, 26 lines modified | Offset 327, 27 lines modified | ||
326 | ····move-result-object·v0 | 327 | ····move-result-object·v0 |
327 | ····const/4·v1,·0x0 | 328 | ····const/4·v1,·0x0 |
328 | ····const/16·v2,·0x9 | 329 | ····const/16·v2,·0x9 |
330 | ····.line·172 | ||
329 | ····invoke-direct·{p0,·p1,·v0,·v1,·v2},·Landroid/database/sqlite/SQLiteOpenHelper;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;I)V | 331 | ····invoke-direct·{p0,·p1,·v0,·v1,·v2},·Landroid/database/sqlite/SQLiteOpenHelper;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/database/sqlite/SQLiteDatabase$CursorFactory;I)V |
330 | ····.line·175 | 332 | ····.line·175 |
331 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->mContext:Landroid/content/Context; | 333 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->mContext:Landroid/content/Context; |
332 | ····.line·176 | 334 | ····.line·176 |
333 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->mClientId:Ljava/lang/String; | 335 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->mClientId:Ljava/lang/String; |
334 | ····.line·177 | 336 | ····.line·177 |
335 | ····return-void | 337 | ····return-void |
336 |
····.line·17 |
338 | ····.line·173 |
337 | ····:cond_0 | 339 | ····:cond_0 |
338 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 340 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
339 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 341 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
340 | ····const-string·v2,·"." | 342 | ····const-string·v2,·"." |
Offset 828, 28 lines modified | Offset 830, 30 lines modified | ||
828 | ····const-string·v1,·"pendingid·=·?·AND·status·=·?" | 830 | ····const-string·v1,·"pendingid·=·?·AND·status·=·?" |
829 | ····new-array·v2,·v5,·[Ljava/lang/String; | 831 | ····new-array·v2,·v5,·[Ljava/lang/String; |
830 | ····const/4·v3,·0x0 | 832 | ····const/4·v3,·0x0 |
833 | ····.line·986 | ||
831 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->toString(J)Ljava/lang/String; | 834 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->toString(J)Ljava/lang/String; |
832 | ····move-result-object·v4 | 835 | ····move-result-object·v4 |
833 | ····aput-object·v4,·v2,·v3 | 836 | ····aput-object·v4,·v2,·v3 |
834 | ····const/4·v3,·0x1 | 837 | ····const/4·v3,·0x1 |
835 | ····invoke-static·{v5},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 838 | ····invoke-static·{v5},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
836 | ····move-result-object·v4 | 839 | ····move-result-object·v4 |
837 | ····aput-object·v4,·v2,·v3 | 840 | ····aput-object·v4,·v2,·v3 |
841 | ····.line·985 | ||
838 | ····invoke-virtual·{p0,·v0,·v1,·v2},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I | 842 | ····invoke-virtual·{p0,·v0,·v1,·v2},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I |
839 | ····.line·987 | 843 | ····.line·987 |
840 | ····return-void | 844 | ····return-void |
841 | .end·method | 845 | .end·method |
842 | .method·public·static·deleteEntry(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;I)V | 846 | .method·public·static·deleteEntry(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;I)V |
Offset 870, 20 lines modified | Offset 874, 22 lines modified | ||
870 | ····const/4·v3,·0x0 | 874 | ····const/4·v3,·0x0 |
871 | ····aput-object·p1,·v2,·v3 | 875 | ····aput-object·p1,·v2,·v3 |
872 | ····const/4·v3,·0x1 | 876 | ····const/4·v3,·0x1 |
877 | ····.line·1001 | ||
873 | ····invoke-static·{p2},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 878 | ····invoke-static·{p2},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
874 | ····move-result-object·v4 | 879 | ····move-result-object·v4 |
875 | ····aput-object·v4,·v2,·v3 | 880 | ····aput-object·v4,·v2,·v3 |
881 | ····.line·1000 | ||
876 | ····invoke-virtual·{p0,·v0,·v1,·v2},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I | 882 | ····invoke-virtual·{p0,·v0,·v1,·v2},·Landroid/database/sqlite/SQLiteDatabase;->delete(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I |
877 | ····.line·1002 | 883 | ····.line·1002 |
878 | ····return-void | 884 | ····return-void |
879 | .end·method | 885 | .end·method |
880 | .method·public·static·getContentValuesByPendingId(Landroid/database/sqlite/SQLiteDatabase;J)Landroid/content/ContentValues; | 886 | .method·public·static·getContentValuesByPendingId(Landroid/database/sqlite/SQLiteDatabase;J)Landroid/content/ContentValues; |
Offset 903, 39 lines modified | Offset 909, 40 lines modified | ||
Max diff block lines reached; 13003/15571 bytes (83.51%) of diff not shown. |
Offset 79, 61 lines modified | Offset 79, 60 lines modified | ||
79 | ····.local·v1,·"bestWordList":Lorg/smc/inputmethod/dictionarypack/WordListMetadata; | 79 | ····.local·v1,·"bestWordList":Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
80 | ····const/high16·v0,·-0x80000000 | 80 | ····const/high16·v0,·-0x80000000 |
81 | ····.line·134 | 81 | ····.line·134 |
82 | ····.local·v0,·"bestFormatVersion":I | 82 | ····.local·v0,·"bestFormatVersion":I |
83 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 83 | ····invoke-interface·{p0},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
84 |
····move-result-object·v |
84 | ····move-result-object·v3 |
85 | ····.local·v2,·"i$":Ljava/util/Iterator; | ||
86 | ····:cond_0 | 85 | ····:cond_0 |
87 | ····:goto_0 | 86 | ····:goto_0 |
88 |
····invoke-interface·{v |
87 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
89 | ····move-result·v4 | 88 | ····move-result·v4 |
90 | ····if-eqz·v4,·:cond_1 | 89 | ····if-eqz·v4,·:cond_1 |
91 |
····invoke-interface·{v |
90 | ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
92 |
····move-result-object·v |
91 | ····move-result-object·v2 |
93 |
····check-cast·v |
92 | ····check-cast·v2,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
94 | ····.line·135 | 93 | ····.line·135 |
95 |
····.local·v |
94 | ····.local·v2,·"wordList":Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
96 |
····iget-object·v4,·v |
95 | ····iget-object·v4,·v2,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mId:Ljava/lang/String; |
97 | ····invoke-virtual·{p1,·v4},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 96 | ····invoke-virtual·{p1,·v4},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
98 | ····move-result·v4 | 97 | ····move-result·v4 |
99 | ····if-eqz·v4,·:cond_0 | 98 | ····if-eqz·v4,·:cond_0 |
100 |
····iget·v4,·v |
99 | ····iget·v4,·v2,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mFormatVersion:I |
101 | ····const/4·v5,·0x2 | 100 | ····const/4·v5,·0x2 |
102 | ····if-gt·v4,·v5,·:cond_0 | 101 | ····if-gt·v4,·v5,·:cond_0 |
103 |
····iget·v4,·v |
102 | ····iget·v4,·v2,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mFormatVersion:I |
104 | ····if-le·v4,·v0,·:cond_0 | 103 | ····if-le·v4,·v0,·:cond_0 |
105 | ····.line·138 | 104 | ····.line·138 |
106 |
····move-object·v1,·v |
105 | ····move-object·v1,·v2 |
107 | ····.line·139 | 106 | ····.line·139 |
108 |
····iget·v0,·v |
107 | ····iget·v0,·v2,·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;->mFormatVersion:I |
109 | ····goto·:goto_0 | 108 | ····goto·:goto_0 |
110 | ····.line·143 | 109 | ····.line·143 |
111 |
····.end·local·v |
110 | ····.end·local·v2····#·"wordList":Lorg/smc/inputmethod/dictionarypack/WordListMetadata; |
112 | ····:cond_1 | 111 | ····:cond_1 |
113 | ····return-object·v1 | 112 | ····return-object·v1 |
114 | .end·method | 113 | .end·method |
115 | .method·public·static·getCurrentMetadata(Landroid/content/Context;Ljava/lang/String;)Ljava/util/List; | 114 | .method·public·static·getCurrentMetadata(Landroid/content/Context;Ljava/lang/String;)Ljava/util/List; |
116 | ····.locals·2 | 115 | ····.locals·2 |
117 | ····.param·p0,·"context"····#·Landroid/content/Context; | 116 | ····.param·p0,·"context"····#·Landroid/content/Context; |
Offset 168, 14 lines modified | Offset 167, 15 lines modified | ||
168 | ····.line·98 | 167 | ····.line·98 |
169 | ····if-eqz·v0,·:cond_0 | 168 | ····if-eqz·v0,·:cond_0 |
170 | ····.line·99 | 169 | ····.line·99 |
171 | ····invoke-interface·{v0},·Landroid/database/Cursor;->close()V | 170 | ····invoke-interface·{v0},·Landroid/database/Cursor;->close()V |
171 | ····.line·96 | ||
172 | ····:cond_0 | 172 | ····:cond_0 |
173 | ····return-object·v1 | 173 | ····return-object·v1 |
174 | ····.line·98 | 174 | ····.line·98 |
175 | ····:catchall_0 | 175 | ····:catchall_0 |
176 | ····move-exception·v1 | 176 | ····move-exception·v1 |
Offset 238, 14 lines modified | Offset 238, 15 lines modified | ||
238 | ····move-result·v28 | 238 | ····move-result·v28 |
239 | ····.line·50 | 239 | ····.line·50 |
240 | ····.local·v28,·"typeColumn":I | 240 | ····.local·v28,·"typeColumn":I |
241 | ····const-string·v2,·"description" | 241 | ····const-string·v2,·"description" |
242 | ····.line·51 | ||
242 | ····move-object/from16·v0,·p0 | 243 | ····move-object/from16·v0,·p0 |
243 | ····invoke-interface·{v0,·v2},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I | 244 | ····invoke-interface·{v0,·v2},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I |
244 | ····move-result·v20 | 245 | ····move-result·v20 |
245 | ····.line·52 | 246 | ····.line·52 |
Offset 278, 14 lines modified | Offset 279, 15 lines modified | ||
278 | ····move-result·v21 | 279 | ····move-result·v21 |
279 | ····.line·55 | 280 | ····.line·55 |
280 | ····.local·v21,·"fileSizeIndex":I | 281 | ····.local·v21,·"fileSizeIndex":I |
Max diff block lines reached; 3752/7032 bytes (53.36%) of diff not shown. |
Offset 188, 14 lines modified | Offset 188, 15 lines modified | ||
188 | ····move-result·v2 | 188 | ····move-result·v2 |
189 | ····if-nez·v2,·:cond_2 | 189 | ····if-nez·v2,·:cond_2 |
190 | ····const-string·v2,·"locale" | 190 | ····const-string·v2,·"locale" |
191 | ····.line·65 | ||
191 | ····move-object/from16·v0,·v18 | 192 | ····move-object/from16·v0,·v18 |
192 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 193 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
193 | ····move-result-object·v2 | 194 | ····move-result-object·v2 |
194 | ····check-cast·v2,·Ljava/lang/CharSequence; | 195 | ····check-cast·v2,·Ljava/lang/CharSequence; |
Offset 204, 14 lines modified | Offset 205, 15 lines modified | ||
204 | ····move-result·v2 | 205 | ····move-result·v2 |
205 | ····if-nez·v2,·:cond_2 | 206 | ····if-nez·v2,·:cond_2 |
206 | ····const-string·v2,·"description" | 207 | ····const-string·v2,·"description" |
208 | ····.line·66 | ||
207 | ····move-object/from16·v0,·v18 | 209 | ····move-object/from16·v0,·v18 |
208 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 210 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
209 | ····move-result-object·v2 | 211 | ····move-result-object·v2 |
210 | ····check-cast·v2,·Ljava/lang/CharSequence; | 212 | ····check-cast·v2,·Ljava/lang/CharSequence; |
Offset 220, 14 lines modified | Offset 222, 15 lines modified | ||
220 | ····move-result·v2 | 222 | ····move-result·v2 |
221 | ····if-nez·v2,·:cond_2 | 223 | ····if-nez·v2,·:cond_2 |
222 | ····const-string·v2,·"update" | 224 | ····const-string·v2,·"update" |
225 | ····.line·67 | ||
223 | ····move-object/from16·v0,·v18 | 226 | ····move-object/from16·v0,·v18 |
224 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 227 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
225 | ····move-result-object·v2 | 228 | ····move-result-object·v2 |
226 | ····check-cast·v2,·Ljava/lang/CharSequence; | 229 | ····check-cast·v2,·Ljava/lang/CharSequence; |
Offset 236, 14 lines modified | Offset 239, 15 lines modified | ||
236 | ····move-result·v2 | 239 | ····move-result·v2 |
237 | ····if-nez·v2,·:cond_2 | 240 | ····if-nez·v2,·:cond_2 |
238 | ····const-string·v2,·"filesize" | 241 | ····const-string·v2,·"filesize" |
242 | ····.line·68 | ||
239 | ····move-object/from16·v0,·v18 | 243 | ····move-object/from16·v0,·v18 |
240 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 244 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
241 | ····move-result-object·v2 | 245 | ····move-result-object·v2 |
242 | ····check-cast·v2,·Ljava/lang/CharSequence; | 246 | ····check-cast·v2,·Ljava/lang/CharSequence; |
Offset 252, 14 lines modified | Offset 256, 15 lines modified | ||
252 | ····move-result·v2 | 256 | ····move-result·v2 |
253 | ····if-nez·v2,·:cond_2 | 257 | ····if-nez·v2,·:cond_2 |
254 | ····const-string·v2,·"checksum" | 258 | ····const-string·v2,·"checksum" |
259 | ····.line·69 | ||
255 | ····move-object/from16·v0,·v18 | 260 | ····move-object/from16·v0,·v18 |
256 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 261 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
257 | ····move-result-object·v2 | 262 | ····move-result-object·v2 |
258 | ····check-cast·v2,·Ljava/lang/CharSequence; | 263 | ····check-cast·v2,·Ljava/lang/CharSequence; |
Offset 268, 14 lines modified | Offset 273, 15 lines modified | ||
268 | ····move-result·v2 | 273 | ····move-result·v2 |
269 | ····if-nez·v2,·:cond_2 | 274 | ····if-nez·v2,·:cond_2 |
270 | ····const-string·v2,·"url" | 275 | ····const-string·v2,·"url" |
276 | ····.line·70 | ||
271 | ····move-object/from16·v0,·v18 | 277 | ····move-object/from16·v0,·v18 |
272 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 278 | ····invoke-virtual·{v0,·v2},·Ljava/util/TreeMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
273 | ····move-result-object·v2 | 279 | ····move-result-object·v2 |
274 | ····check-cast·v2,·Ljava/lang/CharSequence; | 280 | ····check-cast·v2,·Ljava/lang/CharSequence; |
Offset 284, 14 lines modified | Offset 290, 15 lines modified | ||
284 | ····move-result·v2 | 290 | ····move-result·v2 |
Max diff block lines reached; 3956/5964 bytes (66.33%) of diff not shown. |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"PrivateLog.java" | 3 | .source·"PrivateLog.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lorg/smc/inputmethod/dictionarypack/PrivateLog$1;, | ||
8 | ········Lorg/smc/inputmethod/dictionarypack/PrivateLog$DebugHelper; | 7 | ········Lorg/smc/inputmethod/dictionarypack/PrivateLog$DebugHelper; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | #·static·fields | 10 | #·static·fields |
12 | .field·private·static·final·COLUMN_DATE:Ljava/lang/String;·=·"date" | 11 | .field·private·static·final·COLUMN_DATE:Ljava/lang/String;·=·"date" |
Offset 96, 31 lines modified | Offset 96, 32 lines modified | ||
96 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->sSharedIdProtector:Ljava/lang/Object; | 96 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->sSharedIdProtector:Ljava/lang/Object; |
97 | ····.line·111 | 97 | ····.line·111 |
98 | ····new-instance·v0,·Ljava/util/LinkedList; | 98 | ····new-instance·v0,·Ljava/util/LinkedList; |
99 | ····invoke-direct·{v0},·Ljava/util/LinkedList;-><init>()V | 99 | ····invoke-direct·{v0},·Ljava/util/LinkedList;-><init>()V |
100 | ····.line·112 | ||
100 | ····invoke-static·{v0},·Ljava/util/Collections;->synchronizedList(Ljava/util/List;)Ljava/util/List; | 101 | ····invoke-static·{v0},·Ljava/util/Collections;->synchronizedList(Ljava/util/List;)Ljava/util/List; |
101 | ····move-result-object·v0 | 102 | ····move-result-object·v0 |
102 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->sUpdateEventListeners:Ljava/util/List; | 103 | ····sput-object·v0,·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->sUpdateEventListeners:Ljava/util/List; |
104 | ····.line·111 | ||
103 | ····return-void | 105 | ····return-void |
104 | .end·method | 106 | .end·method |
105 | .method·public·constructor·<init>()V | 107 | .method·public·constructor·<init>()V |
106 | ····.locals·0 | 108 | ····.locals·0 |
107 | ····.prologue | 109 | ····.prologue |
108 | ····.line·68 | 110 | ····.line·68 |
109 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 111 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
110 | ····.line·102 | ||
111 | ····return-void | 112 | ····return-void |
112 | .end·method | 113 | .end·method |
113 | .method·public·static·cancelUpdate(Landroid/content/Context;Ljava/lang/String;)V | 114 | .method·public·static·cancelUpdate(Landroid/content/Context;Ljava/lang/String;)V |
114 | ····.locals·2 | 115 | ····.locals·2 |
115 | ····.param·p0,·"context"····#·Landroid/content/Context; | 116 | ····.param·p0,·"context"····#·Landroid/content/Context; |
116 | ····.param·p1,·"clientId"····#·Ljava/lang/String; | 117 | ····.param·p1,·"clientId"····#·Ljava/lang/String; |
Offset 153, 102 lines modified | Offset 154, 100 lines modified | ||
153 | ····.prologue | 154 | ····.prologue |
154 | ····const-wide/16·v6,·-0x1 | 155 | ····const-wide/16·v6,·-0x1 |
155 | ····const/4·v8,·0x0 | 156 | ····const/4·v8,·0x0 |
156 | ····.line·280 | 157 | ····.line·280 |
157 |
····sget-object·v |
158 | ····sget-object·v4,·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->sSharedIdProtector:Ljava/lang/Object; |
158 |
····monitor-enter·v |
159 | ····monitor-enter·v4 |
159 |
····.line·28 |
160 | ····.line·282 |
160 | ····:try_start_0 | 161 | ····:try_start_0 |
161 | ····invoke-static·{p0,·p1},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->getMetadataDownloadIdForURI(Landroid/content/Context;Ljava/lang/String;)J | 162 | ····invoke-static·{p0,·p1},·Lorg/smc/inputmethod/dictionarypack/MetadataDbHelper;->getMetadataDownloadIdForURI(Landroid/content/Context;Ljava/lang/String;)J |
162 | ····move-result-wide·v2 | 163 | ····move-result-wide·v2 |
163 | ····.line·283 | 164 | ····.line·283 |
164 | ····.local·v2,·"metadataDownloadId":J | 165 | ····.local·v2,·"metadataDownloadId":J |
165 |
····cmp-long·v |
166 | ····cmp-long·v1,·v6,·v2 |
166 |
····if-nez·v |
167 | ····if-nez·v1,·:cond_1 |
167 |
····monitor-exit·v |
168 | ····monitor-exit·v4 |
168 | ····.line·292 | 169 | ····.line·292 |
169 | ····:cond_0 | 170 | ····:cond_0 |
170 | ····return-void | 171 | ····return-void |
171 | ····.line·284 | 172 | ····.line·284 |
172 | ····:cond_1 | 173 | ····:cond_1 |
173 |
····const/4·v |
174 | ····const/4·v1,·0x1 |
174 |
····new-array·v |
175 | ····new-array·v1,·v1,·[J |
175 |
····const/4·v |
176 | ····const/4·v5,·0x0 |
176 |
····aput-wide·v2,·v |
177 | ····aput-wide·v2,·v1,·v5 |
177 |
····invoke-virtual·{p2,·v |
178 | ····invoke-virtual·{p2,·v1},·Lorg/smc/inputmethod/dictionarypack/DownloadManagerWrapper;->remove([J)V |
178 | ····.line·285 | 179 | ····.line·285 |
179 | ····const-wide/16·v6,·-0x1 | 180 | ····const-wide/16·v6,·-0x1 |
180 | ····invoke-static·{p0,·p1,·v6,·v7},·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->writeMetadataDownloadId(Landroid/content/Context;Ljava/lang/String;J)V | 181 | ····invoke-static·{p0,·p1,·v6,·v7},·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->writeMetadataDownloadId(Landroid/content/Context;Ljava/lang/String;J)V |
181 | ····.line·286 | 182 | ····.line·286 |
182 |
····monitor-exit·v |
183 | ····monitor-exit·v4 |
183 | ····:try_end_0 | 184 | ····:try_end_0 |
184 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 185 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
185 | ····.line·289 | 186 | ····.line·289 |
186 |
····sget-object·v |
187 | ····sget-object·v1,·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->sUpdateEventListeners:Ljava/util/List; |
187 |
····invoke-static·{v |
188 | ····invoke-static·{v1},·Lorg/smc/inputmethod/dictionarypack/UpdateHandler;->linkedCopyOfList(Ljava/util/List;)Ljava/util/List; |
188 |
····move-result-object·v |
189 | ····move-result-object·v1 |
189 |
····invoke-interface·{v |
190 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
190 |
····move-result-object·v |
191 | ····move-result-object·v1 |
191 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
192 | ····:goto_0 | 192 | ····:goto_0 |
193 |
····invoke-interface·{v |
193 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
Max diff block lines reached; 69539/73073 bytes (95.16%) of diff not shown. |
Offset 275, 28 lines modified | Offset 275, 30 lines modified | ||
275 | ····move-result-wide·v6 | 275 | ····move-result-wide·v6 |
276 | ····invoke-virtual/range·{v18·..·v18},·Ljava/lang/Long;->longValue()J | 276 | ····invoke-virtual/range·{v18·..·v18},·Ljava/lang/Long;->longValue()J |
277 | ····move-result-wide·v8 | 277 | ····move-result-wide·v8 |
278 | ····.line·106 | ||
278 | ····invoke-virtual/range·{v23·..·v23},·Ljava/lang/Integer;->intValue()I | 279 | ····invoke-virtual/range·{v23·..·v23},·Ljava/lang/Integer;->intValue()I |
279 | ····move-result·v14 | 280 | ····move-result·v14 |
280 | ····invoke-virtual/range·{v20·..·v20},·Ljava/lang/Integer;->intValue()I | 281 | ····invoke-virtual/range·{v20·..·v20},·Ljava/lang/Integer;->intValue()I |
281 | ····move-result·v15 | 282 | ····move-result·v15 |
282 | ····invoke-virtual/range·{v19·..·v19},·Ljava/lang/Integer;->intValue()I | 283 | ····invoke-virtual/range·{v19·..·v19},·Ljava/lang/Integer;->intValue()I |
283 | ····move-result·v16 | 284 | ····move-result·v16 |
284 | ····invoke-direct/range·{v2·..·v17},·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;-><init>(Ljava/lang/String;ILjava/lang/String;JJLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;)V | 285 | ····invoke-direct/range·{v2·..·v17},·Lorg/smc/inputmethod/dictionarypack/WordListMetadata;-><init>(Ljava/lang/String;ILjava/lang/String;JJLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;)V |
286 | ····.line·105 | ||
285 | ····return-object·v2 | 287 | ····return-object·v2 |
286 | .end·method | 288 | .end·method |
287 | #·virtual·methods | 289 | #·virtual·methods |
288 | .method·public·toString()Ljava/lang/String; | 290 | .method·public·toString()Ljava/lang/String; |
289 | ····.locals·4 | 291 | ····.locals·4 |
Offset 104, 15 lines modified | Offset 104, 15 lines modified | ||
104 | ····.line·263 | 104 | ····.line·263 |
105 | ····if-eqz·v6,·:cond_2 | 105 | ····if-eqz·v6,·:cond_2 |
106 | ····.line·266 | 106 | ····.line·266 |
107 | ····const/4·v2,·-0x1 | 107 | ····const/4·v2,·-0x1 |
108 |
····.line·27 |
108 | ····.line·274 |
109 | ····.local·v2,·"indexToOpen":I | 109 | ····.local·v2,·"indexToOpen":I |
110 | ····:goto_0 | 110 | ····:goto_0 |
111 | ····invoke-virtual·{v4},·Landroid/widget/ListView;->getLastVisiblePosition()I | 111 | ····invoke-virtual·{v4},·Landroid/widget/ListView;->getLastVisiblePosition()I |
112 | ····move-result·v7 | 112 | ····move-result·v7 |
113 | ····invoke-virtual·{v4},·Landroid/widget/ListView;->getFirstVisiblePosition()I | 113 | ····invoke-virtual·{v4},·Landroid/widget/ListView;->getFirstVisiblePosition()I |
Offset 132, 14 lines modified | Offset 132, 15 lines modified | ||
132 | ····.line·277 | 132 | ····.line·277 |
133 | ····invoke-virtual·{v4,·v1},·Landroid/widget/ListView;->getChildAt(I)Landroid/view/View; | 133 | ····invoke-virtual·{v4,·v1},·Landroid/widget/ListView;->getChildAt(I)Landroid/view/View; |
134 | ····move-result-object·v7 | 134 | ····move-result-object·v7 |
135 | ····const·v8,·0x7f10005f | 135 | ····const·v8,·0x7f10005f |
136 | ····.line·278 | ||
136 | ····invoke-virtual·{v7,·v8},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 137 | ····invoke-virtual·{v7,·v8},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
137 | ····move-result-object·v0 | 138 | ····move-result-object·v0 |
138 | ····check-cast·v0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher; | 139 | ····check-cast·v0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher; |
139 | ····.line·279 | 140 | ····.line·279 |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Landroid/preference/Preference; | 2 | .super·Landroid/preference/Preference; |
3 | .source·"WordListPreference.java" | 3 | .source·"WordListPreference.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lorg/smc/inputmethod/dictionarypack/WordListPreference$1;, | ||
8 | ········Lorg/smc/inputmethod/dictionarypack/WordListPreference$OnActionButtonClick;, | 7 | ········Lorg/smc/inputmethod/dictionarypack/WordListPreference$OnActionButtonClick;, |
9 | ········Lorg/smc/inputmethod/dictionarypack/WordListPreference$OnWordListPreferenceClick; | 8 | ········Lorg/smc/inputmethod/dictionarypack/WordListPreference$OnWordListPreferenceClick; |
10 | ····} | 9 | ····} |
11 | .end·annotation | 10 | .end·annotation |
12 | #·static·fields | 11 | #·static·fields |
Offset 789, 14 lines modified | Offset 788, 15 lines modified | ||
789 | ····const/4·v8,·0x0 | 788 | ····const/4·v8,·0x0 |
790 | ····invoke-virtual·{v5,·v8},·Landroid/view/ViewGroup;->setLayoutTransition(Landroid/animation/LayoutTransition;)V | 789 | ····invoke-virtual·{v5,·v8},·Landroid/view/ViewGroup;->setLayoutTransition(Landroid/animation/LayoutTransition;)V |
791 | ····.line·218 | 790 | ····.line·218 |
792 | ····const·v5,·0x7f10005e | 791 | ····const·v5,·0x7f10005e |
792 | ····.line·219 | ||
793 | ····invoke-virtual·{p1,·v5},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 793 | ····invoke-virtual·{p1,·v5},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
794 | ····move-result-object·v2 | 794 | ····move-result-object·v2 |
795 | ····check-cast·v2,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar; | 795 | ····check-cast·v2,·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar; |
796 | ····.line·220 | 796 | ····.line·220 |
Offset 857, 14 lines modified | Offset 857, 15 lines modified | ||
857 | ····:cond_0 | 857 | ····:cond_0 |
858 | ····invoke-virtual·{v2,·v7},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->setVisibility(I)V | 858 | ····invoke-virtual·{v2,·v7},·Lorg/smc/inputmethod/dictionarypack/DictionaryDownloadProgressBar;->setVisibility(I)V |
859 | ····.line·228 | 859 | ····.line·228 |
860 | ····const·v5,·0x7f10005f | 860 | ····const·v5,·0x7f10005f |
861 | ····.line·229 | ||
861 | ····invoke-virtual·{p1,·v5},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 862 | ····invoke-virtual·{p1,·v5},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
862 | ····move-result-object·v0 | 863 | ····move-result-object·v0 |
863 | ····check-cast·v0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher; | 864 | ····check-cast·v0,·Lorg/smc/inputmethod/dictionarypack/ButtonSwitcher; |
864 | ····.line·232 | 865 | ····.line·232 |
Offset 60, 271 lines modified | Offset 60, 264 lines modified | ||
60 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 60 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
61 | ····.line·52 | 61 | ····.line·52 |
62 | ····return-void | 62 | ····return-void |
63 | .end·method | 63 | .end·method |
64 | .method·public·varargs·constructor·<init>(Ljava/lang/String;[Lorg/smc/inputmethod/event/Combiner;)V | 64 | .method·public·varargs·constructor·<init>(Ljava/lang/String;[Lorg/smc/inputmethod/event/Combiner;)V |
65 |
····.locals· |
65 | ····.locals·4 |
66 | ····.param·p1,·"initialText"····#·Ljava/lang/String; | 66 | ····.param·p1,·"initialText"····#·Ljava/lang/String; |
67 | ····.param·p2,·"combinerList"····#·[Lorg/smc/inputmethod/event/Combiner; | 67 | ····.param·p2,·"combinerList"····#·[Lorg/smc/inputmethod/event/Combiner; |
68 | ····.prologue | 68 | ····.prologue |
69 | ····.line·66 | 69 | ····.line·66 |
70 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 70 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
71 | ····.line·67 | 71 | ····.line·67 |
72 |
····new-instance·v |
72 | ····new-instance·v1,·Ljava/util/ArrayList; |
73 |
····invoke-direct·{v |
73 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
74 |
····iput-object·v |
74 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/event/CombinerChain;->mCombiners:Ljava/util/ArrayList; |
75 | ····.line·69 | 75 | ····.line·69 |
76 |
····iget-object·v |
76 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/event/CombinerChain;->mCombiners:Ljava/util/ArrayList; |
77 |
····new-instance·v |
77 | ····new-instance·v2,·Lorg/smc/inputmethod/event/DeadKeyCombiner; |
78 |
····invoke-direct·{v |
78 | ····invoke-direct·{v2},·Lorg/smc/inputmethod/event/DeadKeyCombiner;-><init>()V |
79 |
····invoke-virtual·{v |
79 | ····invoke-virtual·{v1,·v2},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
80 | ····.line·70 | 80 | ····.line·70 |
81 |
···· |
81 | ····array-length·v2,·p2 |
82 |
···· |
82 | ····const/4·v1,·0x0 |
83 | ····array-length·v3,·v0 | ||
84 | ····.local·v3,·"len$":I | ||
85 | ····const/4·v2,·0x0 | ||
86 | ····.local·v2,·"i$":I | ||
87 | ····:goto_0 | 83 | ····:goto_0 |
88 |
····if-ge·v |
84 | ····if-ge·v1,·v2,·:cond_0 |
89 |
····aget-object·v |
85 | ····aget-object·v0,·p2,·v1 |
90 | ····.line·71 | 86 | ····.line·71 |
91 |
····.local·v |
87 | ····.local·v0,·"combiner":Lorg/smc/inputmethod/event/Combiner; |
92 |
····iget-object·v |
88 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/event/CombinerChain;->mCombiners:Ljava/util/ArrayList; |
93 |
····invoke-virtual·{v |
89 | ····invoke-virtual·{v3,·v0},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
94 | ····.line·70 | 90 | ····.line·70 |
95 |
····add-int/lit8·v |
91 | ····add-int/lit8·v1,·v1,·0x1 |
96 | ····goto·:goto_0 | 92 | ····goto·:goto_0 |
97 | ····.line·73 | 93 | ····.line·73 |
98 |
····.end·local·v |
94 | ····.end·local·v0····#·"combiner":Lorg/smc/inputmethod/event/Combiner; |
99 | ····:cond_0 | 95 | ····:cond_0 |
100 |
····new-instance·v |
96 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
101 |
····invoke-direct·{v |
97 | ····invoke-direct·{v1,·p1},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V |
102 |
····iput-object·v |
98 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/event/CombinerChain;->mCombinedText:Ljava/lang/StringBuilder; |
103 | ····.line·74 | 99 | ····.line·74 |
104 |
····new-instance·v |
100 | ····new-instance·v1,·Landroid/text/SpannableStringBuilder; |
105 |
····invoke-direct·{v |
101 | ····invoke-direct·{v1},·Landroid/text/SpannableStringBuilder;-><init>()V |
106 |
····iput-object·v |
102 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/event/CombinerChain;->mStateFeedback:Landroid/text/SpannableStringBuilder; |
107 | ····.line·75 | 103 | ····.line·75 |
108 | ····return-void | 104 | ····return-void |
109 | .end·method | 105 | .end·method |
110 | .method·public·static·createCombiners(Ljava/lang/String;)[Lorg/smc/inputmethod/event/Combiner; | 106 | .method·public·static·createCombiners(Ljava/lang/String;)[Lorg/smc/inputmethod/event/Combiner; |
111 |
····.locals·1 |
107 | ····.locals·10 |
112 | ····.param·p0,·"spec"····#·Ljava/lang/String; | 108 | ····.param·p0,·"spec"····#·Ljava/lang/String; |
113 | ····.prologue | 109 | ····.prologue |
110 | ····const/4·v7,·0x0 | ||
114 | ····.line·154 | 111 | ····.line·154 |
115 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 112 | ····invoke-static·{p0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
116 |
····move-result·v |
113 | ····move-result·v8 |
117 |
····if-eqz·v |
114 | ····if-eqz·v8,·:cond_1 |
118 | ····.line·155 | 115 | ····.line·155 |
119 |
····c |
116 | ····new-array·v3,·v7,·[Lorg/smc/inputmethod/event/Combiner; |
120 | ····new-array·v4,·v10,·[Lorg/smc/inputmethod/event/Combiner; | ||
121 | ····.line·176 | 117 | ····.line·176 |
122 | ····:cond_0 | 118 | ····:cond_0 |
123 |
····return-object·v |
119 | ····return-object·v3 |
Max diff block lines reached; 12573/17058 bytes (73.71%) of diff not shown. |
Offset 113, 14 lines modified | Offset 113, 15 lines modified | ||
113 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/event/DeadKeyCombiner;->mDeadSequence:Ljava/lang/StringBuilder; | 113 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/event/DeadKeyCombiner;->mDeadSequence:Ljava/lang/StringBuilder; |
114 | ····invoke-virtual·{v3,·v6},·Ljava/lang/StringBuilder;->setLength(I)V | 114 | ····invoke-virtual·{v3,·v6},·Ljava/lang/StringBuilder;->setLength(I)V |
115 | ····.line·54 | 115 | ····.line·54 |
116 | ····iget·v3,·p2,·Lorg/smc/inputmethod/event/Event;->mCodePoint:I | 116 | ····iget·v3,·p2,·Lorg/smc/inputmethod/event/Event;->mCodePoint:I |
117 | ····.line·55 | ||
117 | ····invoke-static·{v0,·v3},·Landroid/view/KeyCharacterMap;->getDeadChar(II)I | 118 | ····invoke-static·{v0,·v3},·Landroid/view/KeyCharacterMap;->getDeadChar(II)I |
118 | ····move-result·v1 | 119 | ····move-result·v1 |
119 | ····.line·56 | 120 | ····.line·56 |
120 | ····.local·v1,·"resultingCodePoint":I | 121 | ····.local·v1,·"resultingCodePoint":I |
121 | ····if-nez·v1,·:cond_3 | 122 | ····if-nez·v1,·:cond_3 |
Offset 126, 64 lines modified | Offset 126, 64 lines modified | ||
126 | ····.restart·local·v0····#·"combinedText":Ljava/lang/CharSequence; | 126 | ····.restart·local·v0····#·"combinedText":Ljava/lang/CharSequence; |
127 | ····goto·:goto_0 | 127 | ····goto·:goto_0 |
128 | ····.line·129 | 128 | ····.line·129 |
129 | ····:cond_2 | 129 | ····:cond_2 |
130 | ····const/4·v1,·0x0 | 130 | ····const/4·v1,·0x0 |
131 | ····.line·130 | ||
131 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/event/Event;->createSoftwareTextEvent(Ljava/lang/CharSequence;I)Lorg/smc/inputmethod/event/Event; | 132 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/event/Event;->createSoftwareTextEvent(Ljava/lang/CharSequence;I)Lorg/smc/inputmethod/event/Event; |
132 | ····move-result-object·v1 | 133 | ····move-result-object·v1 |
133 | ····goto·:goto_1 | 134 | ····goto·:goto_1 |
134 | .end·method | 135 | .end·method |
135 | .method·private·getCharSequence()Ljava/lang/CharSequence; | 136 | .method·private·getCharSequence()Ljava/lang/CharSequence; |
136 | ····.locals·4 | 137 | ····.locals·4 |
137 | ····.prologue | 138 | ····.prologue |
138 | ····.line·105 | 139 | ····.line·105 |
139 |
····new-instance·v |
140 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
140 |
····invoke-direct·{v |
141 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
141 | ····.line·106 | 142 | ····.line·106 |
142 |
····.local·v |
143 | ····.local·v1,·"s":Ljava/lang/StringBuilder; |
143 |
····iget-object·v |
144 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/event/MyanmarReordering;->mCurrentEvents:Ljava/util/ArrayList; |
144 |
····invoke-virtual·{v |
145 | ····invoke-virtual·{v2},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
145 |
····move-result-object·v |
146 | ····move-result-object·v2 |
146 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
147 | ····:goto_0 | 147 | ····:goto_0 |
148 |
····invoke-interface·{v |
148 | ····invoke-interface·{v2},·Ljava/util/Iterator;->hasNext()Z |
149 | ····move-result·v3 | 149 | ····move-result·v3 |
150 | ····if-eqz·v3,·:cond_0 | 150 | ····if-eqz·v3,·:cond_0 |
151 |
····invoke-interface·{v |
151 | ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
152 | ····move-result-object·v0 | 152 | ····move-result-object·v0 |
153 | ····check-cast·v0,·Lorg/smc/inputmethod/event/Event; | 153 | ····check-cast·v0,·Lorg/smc/inputmethod/event/Event; |
154 | ····.line·107 | 154 | ····.line·107 |
155 | ····.local·v0,·"e":Lorg/smc/inputmethod/event/Event; | 155 | ····.local·v0,·"e":Lorg/smc/inputmethod/event/Event; |
156 | ····iget·v3,·v0,·Lorg/smc/inputmethod/event/Event;->mCodePoint:I | 156 | ····iget·v3,·v0,·Lorg/smc/inputmethod/event/Event;->mCodePoint:I |
157 |
····invoke-virtual·{v |
157 | ····invoke-virtual·{v1,·v3},·Ljava/lang/StringBuilder;->appendCodePoint(I)Ljava/lang/StringBuilder; |
158 | ····goto·:goto_0 | 158 | ····goto·:goto_0 |
159 | ····.line·109 | 159 | ····.line·109 |
160 | ····.end·local·v0····#·"e":Lorg/smc/inputmethod/event/Event; | 160 | ····.end·local·v0····#·"e":Lorg/smc/inputmethod/event/Event; |
161 | ····:cond_0 | 161 | ····:cond_0 |
162 |
····return-object·v |
162 | ····return-object·v1 |
163 | .end·method | 163 | .end·method |
164 | .method·private·getLastEvent()Lorg/smc/inputmethod/event/Event; | 164 | .method·private·getLastEvent()Lorg/smc/inputmethod/event/Event; |
165 | ····.locals·3 | 165 | ····.locals·3 |
166 | ····.prologue | 166 | ····.prologue |
167 | ····.line·97 | 167 | ····.line·97 |
Offset 471, 14 lines modified | Offset 471, 15 lines modified | ||
471 | ····if-lt·v1,·v7,·:cond_4 | 471 | ····if-lt·v1,·v7,·:cond_4 |
472 | ····iget-object·v7,·p0,·Lorg/smc/inputmethod/event/MyanmarReordering;->mCurrentEvents:Ljava/util/ArrayList; | 472 | ····iget-object·v7,·p0,·Lorg/smc/inputmethod/event/MyanmarReordering;->mCurrentEvents:Ljava/util/ArrayList; |
473 | ····add-int/lit8·v8,·v1,·-0x2 | 473 | ····add-int/lit8·v8,·v1,·-0x2 |
474 | ····.line·161 | ||
474 | ····invoke-virtual·{v7,·v8},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 475 | ····invoke-virtual·{v7,·v8},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
475 | ····move-result-object·v7 | 476 | ····move-result-object·v7 |
476 | ····check-cast·v7,·Lorg/smc/inputmethod/event/Event; | 477 | ····check-cast·v7,·Lorg/smc/inputmethod/event/Event; |
477 | ····iget·v7,·v7,·Lorg/smc/inputmethod/event/Event;->mCodePoint:I | 478 | ····iget·v7,·v7,·Lorg/smc/inputmethod/event/Event;->mCodePoint:I |
Offset 31, 14 lines modified | Offset 31, 15 lines modified | ||
31 | ····const/4·v3,·0x0 | 31 | ····const/4·v3,·0x0 |
32 | ····new-instance·v4,·Ljava/lang/StringBuilder; | 32 | ····new-instance·v4,·Ljava/lang/StringBuilder; |
33 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V | 33 | ····invoke-direct·{v4},·Ljava/lang/StringBuilder;-><init>()V |
34 | ····.line·29 | ||
34 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/BackupAgent;->getPackageName()Ljava/lang/String; | 35 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/BackupAgent;->getPackageName()Ljava/lang/String; |
35 | ····move-result-object·v5 | 36 | ····move-result-object·v5 |
36 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 37 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
37 | ····move-result-object·v4 | 38 | ····move-result-object·v4 |
Offset 53, 12 lines modified | Offset 54, 13 lines modified | ||
53 | ····move-result-object·v4 | 54 | ····move-result-object·v4 |
54 | ····aput-object·v4,·v2,·v3 | 55 | ····aput-object·v4,·v2,·v3 |
55 | ····invoke-direct·{v1,·p0,·v2},·Landroid/app/backup/SharedPreferencesBackupHelper;-><init>(Landroid/content/Context;[Ljava/lang/String;)V | 56 | ····invoke-direct·{v1,·p0,·v2},·Landroid/app/backup/SharedPreferencesBackupHelper;-><init>(Landroid/content/Context;[Ljava/lang/String;)V |
57 | ····.line·28 | ||
56 | ····invoke-virtual·{p0,·v0,·v1},·Lorg/smc/inputmethod/indic/BackupAgent;->addHelper(Ljava/lang/String;Landroid/app/backup/BackupHelper;)V | 58 | ····invoke-virtual·{p0,·v0,·v1},·Lorg/smc/inputmethod/indic/BackupAgent;->addHelper(Ljava/lang/String;Landroid/app/backup/BackupHelper;)V |
57 | ····.line·30 | 59 | ····.line·30 |
58 | ····return-void | 60 | ····return-void |
59 | .end·method | 61 | .end·method |
Offset 185, 15 lines modified | Offset 185, 15 lines modified | ||
185 | ····invoke-static·{v0,·v1,·v2,·v3},·Lorg/smc/inputmethod/indic/BinaryDictionaryFileDumper;->getContentUriBuilderForType(Ljava/lang/String;Landroid/content/ContentProviderClient;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; | 185 | ····invoke-static·{v0,·v1,·v2,·v3},·Lorg/smc/inputmethod/indic/BinaryDictionaryFileDumper;->getContentUriBuilderForType(Ljava/lang/String;Landroid/content/ContentProviderClient;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri$Builder; |
186 | ····:try_end_0 | 186 | ····:try_end_0 |
187 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 | 187 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 |
188 | ····move-result-object·v31 | 188 | ····move-result-object·v31 |
189 |
····.line·24 |
189 | ····.line·244 |
190 | ····.local·v31,·"wordListUriBuilder":Landroid/net/Uri$Builder; | 190 | ····.local·v31,·"wordListUriBuilder":Landroid/net/Uri$Builder; |
191 | ····move-object/from16·v0,·p0 | 191 | ····move-object/from16·v0,·p0 |
192 | ····move-object/from16·v1,·p1 | 192 | ····move-object/from16·v1,·p1 |
193 | ····move-object/from16·v2,·p4 | 193 | ····move-object/from16·v2,·p4 |
Offset 572, 15 lines modified | Offset 572, 15 lines modified | ||
572 | ····invoke-static/range·{v16·..·v16},·Lorg/smc/inputmethod/indic/BinaryDictionaryFileDumper;->closeCloseableAndReportAnyException(Ljava/io/Closeable;)V | 572 | ····invoke-static/range·{v16·..·v16},·Lorg/smc/inputmethod/indic/BinaryDictionaryFileDumper;->closeCloseableAndReportAnyException(Ljava/io/Closeable;)V |
573 | ····.line·253 | 573 | ····.line·253 |
574 | ····add-int/lit8·v24,·v24,·0x1 | 574 | ····add-int/lit8·v24,·v24,·0x1 |
575 | ····goto/16·:goto_0 | 575 | ····goto/16·:goto_0 |
576 |
····.line·27 |
576 | ····.line·278 |
577 | ····.end·local·v20····#·"e":Ljava/lang/Exception; | 577 | ····.end·local·v20····#·"e":Ljava/lang/Exception; |
578 | ····.end·local·v26····#·"outputFile":Ljava/io/File; | 578 | ····.end·local·v26····#·"outputFile":Ljava/io/File; |
579 | ····.restart·local·v25····#·"originalSourceStream":Ljava/io/InputStream; | 579 | ····.restart·local·v25····#·"originalSourceStream":Ljava/io/InputStream; |
580 | ····.restart·local·v27····#·"outputFile":Ljava/io/File; | 580 | ····.restart·local·v27····#·"outputFile":Ljava/io/File; |
581 | ····:pswitch_0 | 581 | ····:pswitch_0 |
582 | ····:try_start_8 | 582 | ····:try_start_8 |
583 | ····invoke-static/range·{v25·..·v25},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getUncompressedStream(Ljava/io/InputStream;)Ljava/io/InputStream; | 583 | ····invoke-static/range·{v25·..·v25},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getUncompressedStream(Ljava/io/InputStream;)Ljava/io/InputStream; |
Offset 610, 15 lines modified | Offset 610, 15 lines modified | ||
610 | ····invoke-static/range·{v19·..·v19},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getUncompressedStream(Ljava/io/InputStream;)Ljava/io/InputStream; | 610 | ····invoke-static/range·{v19·..·v19},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getUncompressedStream(Ljava/io/InputStream;)Ljava/io/InputStream; |
611 | ····move-result-object·v23 | 611 | ····move-result-object·v23 |
612 | ····.line·285 | 612 | ····.line·285 |
613 | ····goto/16·:goto_2 | 613 | ····goto/16·:goto_2 |
614 |
····.line·28 |
614 | ····.line·288 |
615 | ····:pswitch_2 | 615 | ····:pswitch_2 |
616 | ····invoke-static/range·{v25·..·v25},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getUncompressedStream(Ljava/io/InputStream;)Ljava/io/InputStream; | 616 | ····invoke-static/range·{v25·..·v25},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getUncompressedStream(Ljava/io/InputStream;)Ljava/io/InputStream; |
617 | ····move-result-object·v29 | 617 | ····move-result-object·v29 |
618 | ····.line·289 | 618 | ····.line·289 |
619 | ····invoke-static/range·{v29·..·v29},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getDecryptedStream(Ljava/io/InputStream;)Ljava/io/InputStream; | 619 | ····invoke-static/range·{v29·..·v29},·Lcom/android/inputmethod/latin/utils/FileTransforms;->getDecryptedStream(Ljava/io/InputStream;)Ljava/io/InputStream; |
Offset 969, 120 lines modified | Offset 969, 118 lines modified | ||
969 | ····.param·p2,·"hasDefaultWordList"····#·Z | 969 | ····.param·p2,·"hasDefaultWordList"····#·Z |
970 | ····.prologue | 970 | ····.prologue |
971 | ····.line·408 | 971 | ····.line·408 |
972 | ····:try_start_0 | 972 | ····:try_start_0 |
973 | ····invoke-virtual·{p1},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; | 973 | ····invoke-virtual·{p1},·Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; |
974 |
····move-result-object·v |
974 | ····move-result-object·v4 |
975 |
····const-string·v |
975 | ····const-string·v5,·"" |
976 |
|
976 | ····.line·409 |
977 | ····invoke-static·{v5},·Lorg/smc/inputmethod/indic/BinaryDictionaryFileDumper;->getProviderUriBuilder(Ljava/lang/String;)Landroid/net/Uri$Builder; | ||
977 |
····move-result-object·v |
978 | ····move-result-object·v5 |
978 |
····invoke-virtual·{v |
979 | ····invoke-virtual·{v5},·Landroid/net/Uri$Builder;->build()Landroid/net/Uri; |
979 |
····move-result-object·v |
980 | ····move-result-object·v5 |
980 |
····invoke-virtual·{v |
981 | ····invoke-virtual·{v4,·v5},·Landroid/content/ContentResolver;->acquireContentProviderClient(Landroid/net/Uri;)Landroid/content/ContentProviderClient; |
981 | ····:try_end_0 | 982 | ····:try_end_0 |
982 | ····.catch·Ljava/lang/SecurityException;·{:try_start_0·..·:try_end_0}·:catch_0 | 983 | ····.catch·Ljava/lang/SecurityException;·{:try_start_0·..·:try_end_0}·:catch_0 |
983 |
····move-result-object·v |
984 | ····move-result-object·v3 |
984 | ····.line·414 | 985 | ····.line·414 |
985 |
····.local·v |
986 | ····.local·v3,·"providerClient":Landroid/content/ContentProviderClient; |
986 |
····if-nez·v |
987 | ····if-nez·v3,·:cond_0 |
987 | ····.line·415 | 988 | ····.line·415 |
988 |
····sget-object·v |
989 | ····sget-object·v4,·Lorg/smc/inputmethod/indic/BinaryDictionaryFileDumper;->TAG:Ljava/lang/String; |
989 |
····const-string·v |
990 | ····const-string·v5,·"Can\'t·establish·communication·with·the·dictionary·provider" |
990 |
····invoke-static·{v |
991 | ····invoke-static·{v4,·v5},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
991 | ····.line·427 | 992 | ····.line·427 |
992 |
····.end·local·v |
993 | ····.end·local·v3····#·"providerClient":Landroid/content/ContentProviderClient; |
993 | ····:goto_0 | 994 | ····:goto_0 |
994 | ····return-void | 995 | ····return-void |
995 | ····.line·410 | 996 | ····.line·410 |
996 | ····:catch_0 | 997 | ····:catch_0 |
997 | ····move-exception·v0 | 998 | ····move-exception·v0 |
998 | ····.line·411 | 999 | ····.line·411 |
999 | ····.local·v0,·"e":Ljava/lang/SecurityException; | 1000 | ····.local·v0,·"e":Ljava/lang/SecurityException; |
1000 |
····sget-object·v |
1001 | ····sget-object·v4,·Lorg/smc/inputmethod/indic/BinaryDictionaryFileDumper;->TAG:Ljava/lang/String; |
1001 |
····const-string·v |
1002 | ····const-string·v5,·"No·permission·to·communicate·with·the·dictionary·provider" |
Max diff block lines reached; 10947/15750 bytes (69.50%) of diff not shown. |
Offset 28, 26 lines modified | Offset 28, 28 lines modified | ||
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
29 | ····.line·112 | 29 | ····.line·112 |
30 | ····if-nez·p1,·:cond_0 | 30 | ····if-nez·p1,·:cond_0 |
31 | ····const/4·v0,·0x0 | 31 | ····const/4·v0,·0x0 |
32 | ····.line·113 | ||
32 | ····:goto_0 | 33 | ····:goto_0 |
33 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/indic/BinaryDictionaryGetter$DictPackSettings;->mDictPreferences:Landroid/content/SharedPreferences; | 34 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/indic/BinaryDictionaryGetter$DictPackSettings;->mDictPreferences:Landroid/content/SharedPreferences; |
34 | ····.line·115 | 35 | ····.line·115 |
35 | ····return-void | 36 | ····return-void |
36 | ····.line·112 | 37 | ····.line·112 |
37 | ····:cond_0 | 38 | ····:cond_0 |
38 | ····const-string·v0,·"LatinImeDictPrefs" | 39 | ····const-string·v0,·"LatinImeDictPrefs" |
39 | ····const/4·v1,·0x4 | 40 | ····const/4·v1,·0x4 |
41 | ····.line·113 | ||
40 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences; | 42 | ····invoke-virtual·{p1,·v0,·v1},·Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences; |
41 | ····move-result-object·v0 | 43 | ····move-result-object·v0 |
42 | ····goto·:goto_0 | 44 | ····goto·:goto_0 |
43 | .end·method | 45 | .end·method |
Offset 62, 282 lines modified | Offset 62, 245 lines modified | ||
62 | ····.line·66 | 62 | ····.line·66 |
63 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 63 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
64 | ····return-void | 64 | ····return-void |
65 | .end·method | 65 | .end·method |
66 | .method·public·static·getCachedWordLists(Ljava/lang/String;Landroid/content/Context;)[Ljava/io/File; | 66 | .method·public·static·getCachedWordLists(Ljava/lang/String;Landroid/content/Context;)[Ljava/io/File; |
67 |
····.locals· |
67 | ····.locals·19 |
68 | ····.param·p0,·"locale"····#·Ljava/lang/String; | 68 | ····.param·p0,·"locale"····#·Ljava/lang/String; |
69 | ····.param·p1,·"context"····#·Landroid/content/Context; | 69 | ····.param·p1,·"context"····#·Landroid/content/Context; |
70 | ····.prologue | 70 | ····.prologue |
71 | ····.line·161 | 71 | ····.line·161 |
72 | ····invoke-static/range·{p1·..·p1},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getCachedDirectoryList(Landroid/content/Context;)[Ljava/io/File; | 72 | ····invoke-static/range·{p1·..·p1},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getCachedDirectoryList(Landroid/content/Context;)[Ljava/io/File; |
73 |
····move-result-object·v |
73 | ····move-result-object·v6 |
74 | ····.line·162 | 74 | ····.line·162 |
75 |
····.local·v |
75 | ····.local·v6,·"directoryList":[Ljava/io/File; |
76 |
····if-nez·v |
76 | ····if-nez·v6,·:cond_1 |
77 |
····sget-object·v1 |
77 | ····sget-object·v11,·Lorg/smc/inputmethod/indic/BinaryDictionaryGetter;->EMPTY_FILE_ARRAY:[Ljava/io/File; |
78 | ····.line·189 | 78 | ····.line·189 |
79 | ····:cond_0 | 79 | ····:cond_0 |
80 | ····:goto_0 | 80 | ····:goto_0 |
81 |
····return-object·v1 |
81 | ····return-object·v11 |
82 | ····.line·163 | 82 | ····.line·163 |
83 | ····:cond_1 | 83 | ····:cond_1 |
84 |
····new-instance·v |
84 | ····new-instance·v1,·Ljava/util/HashMap; |
85 |
····invoke-direct·{v |
85 | ····invoke-direct·{v1},·Ljava/util/HashMap;-><init>()V |
86 | ····.line·164 | 86 | ····.line·164 |
87 |
····.local·v |
87 | ····.local·v1,·"cacheFiles":Ljava/util/HashMap;,·"Ljava/util/HashMap<Ljava/lang/String;Lorg/smc/inputmethod/indic/BinaryDictionaryGetter$FileAndMatchLevel;>;" |
88 |
···· |
88 | ····array-length·v0,·v6 |
89 | ····.local·v3,·"arr$":[Ljava/io/File; | ||
90 | ····array-length·v0,·v3 | ||
91 | ····move/from16·v16,·v0 | 89 | ····move/from16·v16,·v0 |
92 |
···· |
90 | ····const/4·v14,·0x0 |
93 | ····const/4·v12,·0x0 | ||
94 |
···· |
91 | ····move·v15,·v14 |
95 | ····move·v13,·v12 | ||
96 | ····.end·local·v3····#·"arr$":[Ljava/io/File; | ||
97 | ····.end·local·v12····#·"i$":I | ||
98 | ····.end·local·v16····#·"len$":I | ||
99 | ····.local·v13,·"i$":I | ||
100 | ····:goto_1 | 92 | ····:goto_1 |
101 | ····move/from16·v0,·v16 | 93 | ····move/from16·v0,·v16 |
102 |
····if-ge·v1 |
94 | ····if-ge·v15,·v0,·:cond_6 |
103 |
····aget-object·v |
95 | ····aget-object·v5,·v6,·v15 |
104 | ····.line·165 | 96 | ····.line·165 |
105 |
····.local·v |
97 | ····.local·v5,·"directory":Ljava/io/File; |
106 |
····invoke-virtual·{v |
98 | ····invoke-virtual·{v5},·Ljava/io/File;->isDirectory()Z |
107 |
····move-result·v |
99 | ····move-result·v14 |
108 |
····if-nez·v |
100 | ····if-nez·v14,·:cond_3 |
109 | ····.line·164 | 101 | ····.line·164 |
110 | ····.end·local·v13····#·"i$":I | ||
111 | ····:cond_2 | 102 | ····:cond_2 |
112 |
····add-int/lit8·v1 |
103 | ····add-int/lit8·v14,·v15,·0x1 |
113 |
|
104 | ····move·v15,·v14 |
114 | ····move·v13,·v12 | ||
115 | ····.end·local·v12····#·"i$":I | ||
116 | ····.restart·local·v13····#·"i$":I | ||
117 | ····goto·:goto_1 | 105 | ····goto·:goto_1 |
118 |
····.line·16 |
106 | ····.line·167 |
119 | ····:cond_3 | 107 | ····:cond_3 |
120 |
····invoke-virtual·{v |
108 | ····invoke-virtual·{v5},·Ljava/io/File;->getName()Ljava/lang/String; |
121 |
····move-result-object·v |
109 | ····move-result-object·v14 |
122 |
····invoke-static |
110 | ····invoke-static·{v14},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getWordListIdFromFileName(Ljava/lang/String;)Ljava/lang/String; |
123 |
····move-result-object·v |
111 | ····move-result-object·v4 |
124 | ····.line·168 | 112 | ····.line·168 |
125 |
····.local·v |
113 | ····.local·v4,·"dirLocale":Ljava/lang/String; |
126 | ····move-object/from16·v0,·p0 | 114 | ····move-object/from16·v0,·p0 |
127 |
····invoke-static·{v |
115 | ····invoke-static·{v4,·v0},·Lcom/android/inputmethod/latin/utils/LocaleUtils;->getMatchLevel(Ljava/lang/String;Ljava/lang/String;)I |
128 |
····move-result·v1 |
116 | ····move-result·v10 |
129 | ····.line·169 | 117 | ····.line·169 |
Max diff block lines reached; 27356/31521 bytes (86.79%) of diff not shown. |
Offset 409, 94 lines modified | Offset 409, 89 lines modified | ||
409 | ········0x9·->·:sswitch_e | 409 | ········0x9·->·:sswitch_e |
410 | ········0xa·->·:sswitch_f | 410 | ········0xa·->·:sswitch_f |
411 | ········0x20·->·:sswitch_10 | 411 | ········0x20·->·:sswitch_10 |
412 | ····.end·sparse-switch | 412 | ····.end·sparse-switch |
413 | .end·method | 413 | .end·method |
414 | .method·public·static·printableCodes([I)Ljava/lang/String; | 414 | .method·public·static·printableCodes([I)Ljava/lang/String; |
415 |
····.locals· |
415 | ····.locals·6 |
416 | ····.param·p0,·"codes"····#·[I | 416 | ····.param·p0,·"codes"····#·[I |
417 | ····.prologue | 417 | ····.prologue |
418 | ····.line·285 | 418 | ····.line·285 |
419 |
····new-instance·v |
419 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
420 |
····invoke-direct·{v |
420 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V |
421 | ····.line·286 | 421 | ····.line·286 |
422 |
····.local·v |
422 | ····.local·v2,·"sb":Ljava/lang/StringBuilder; |
423 | ····const/4·v0,·0x0 | 423 | ····const/4·v0,·0x0 |
424 | ····.line·287 | 424 | ····.line·287 |
425 | ····.local·v0,·"addDelimiter":Z | 425 | ····.local·v0,·"addDelimiter":Z |
426 |
···· |
426 | ····array-length·v4,·p0 |
427 | ····.local·v1,·"arr$":[I | ||
428 | ····array-length·v4,·v1 | ||
429 | ····.local·v4,·"len$":I | ||
430 | ····const/4·v3,·0x0 | 427 | ····const/4·v3,·0x0 |
431 | ····.local·v3,·"i$":I | ||
432 | ····:goto_0 | 428 | ····:goto_0 |
433 | ····if-ge·v3,·v4,·:cond_0 | 429 | ····if-ge·v3,·v4,·:cond_0 |
434 |
····aget·v |
430 | ····aget·v1,·p0,·v3 |
435 | ····.line·288 | 431 | ····.line·288 |
436 |
····.local·v |
432 | ····.local·v1,·"code":I |
437 |
····const/4·v |
433 | ····const/4·v5,·-0x1 |
438 |
····if-ne·v |
434 | ····if-ne·v1,·v5,·:cond_1 |
439 | ····.line·293 | 435 | ····.line·293 |
440 |
····.end·local·v |
436 | ····.end·local·v1····#·"code":I |
441 | ····:cond_0 | 437 | ····:cond_0 |
442 |
····new-instance·v |
438 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
443 |
····invoke-direct·{v |
439 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
444 |
····const-string·v |
440 | ····const-string·v4,·"[" |
445 |
····invoke-virtual·{v |
441 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
446 |
····move-result-object·v |
442 | ····move-result-object·v3 |
447 |
····invoke-virtual·{v |
443 | ····invoke-virtual·{v3,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; |
448 |
····move-result-object·v |
444 | ····move-result-object·v3 |
449 |
····const-string·v |
445 | ····const-string·v4,·"]" |
450 |
····invoke-virtual·{v |
446 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
451 |
····move-result-object·v |
447 | ····move-result-object·v3 |
452 |
····invoke-virtual·{v |
448 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
453 |
····move-result-object·v |
449 | ····move-result-object·v3 |
454 |
····return-object·v |
450 | ····return-object·v3 |
455 | ····.line·289 | 451 | ····.line·289 |
456 |
····.restart·local·v |
452 | ····.restart·local·v1····#·"code":I |
457 | ····:cond_1 | 453 | ····:cond_1 |
458 | ····if-eqz·v0,·:cond_2 | 454 | ····if-eqz·v0,·:cond_2 |
459 |
····const-string·v |
455 | ····const-string·v5,·",·" |
460 |
····invoke-virtual·{v |
456 | ····invoke-virtual·{v2,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
461 | ····.line·290 | 457 | ····.line·290 |
462 | ····:cond_2 | 458 | ····:cond_2 |
463 |
····invoke-static·{v |
459 | ····invoke-static·{v1},·Lorg/smc/inputmethod/indic/Constants;->printableCode(I)Ljava/lang/String; |
464 |
····move-result-object·v |
460 | ····move-result-object·v5 |
465 |
····invoke-virtual·{v |
461 | ····invoke-virtual·{v2,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
466 | ····.line·291 | 462 | ····.line·291 |
467 | ····const/4·v0,·0x1 | 463 | ····const/4·v0,·0x1 |
468 | ····.line·287 | 464 | ····.line·287 |
469 | ····add-int/lit8·v3,·v3,·0x1 | 465 | ····add-int/lit8·v3,·v3,·0x1 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$1:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1; | 21 | .field·final·synthetic·this$1:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$1"····#·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·103 | 27 | ····.line·103 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1$1;->this$1:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1$1;->this$1:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ContactsBinaryDictionary;Landroid/os/Handler;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ContactsBinaryDictionary;Landroid/os/Handler;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary; | ||
22 | ····.param·p2,·"x0"····#·Landroid/os/Handler; | 23 | ····.param·p2,·"x0"····#·Landroid/os/Handler; |
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·100 | 25 | ····.line·100 |
25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1;->this$0:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary; | 26 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary$1;->this$0:Lorg/smc/inputmethod/indic/ContactsBinaryDictionary; |
26 | ····invoke-direct·{p0,·p2},·Landroid/database/ContentObserver;-><init>(Landroid/os/Handler;)V | 27 | ····invoke-direct·{p0,·p2},·Landroid/database/ContentObserver;-><init>(Landroid/os/Handler;)V |
Offset 514, 14 lines modified | Offset 514, 15 lines modified | ||
514 | ····if-eq·v0,·v2,·:cond_1 | 514 | ····if-eq·v0,·v2,·:cond_1 |
515 | ····const/16·v2,·0x27 | 515 | ····const/16·v2,·0x27 |
516 | ····if-eq·v0,·v2,·:cond_1 | 516 | ····if-eq·v0,·v2,·:cond_1 |
517 | ····.line·268 | ||
517 | ····invoke-static·{v0},·Ljava/lang/Character;->isLetter(I)Z | 518 | ····invoke-static·{v0},·Ljava/lang/Character;->isLetter(I)Z |
518 | ····move-result·v2 | 519 | ····move-result·v2 |
519 | ····if-nez·v2,·:cond_1 | 520 | ····if-nez·v2,·:cond_1 |
520 | ····.line·272 | 521 | ····.line·272 |
Offset 684, 16 lines modified | Offset 685, 18 lines modified | ||
684 | ····if-eq·v0,·v1,·:cond_5 | 685 | ····if-eq·v0,·v1,·:cond_5 |
685 | ····.line·314 | 686 | ····.line·314 |
686 | ····invoke-interface·{v7},·Landroid/database/Cursor;->close()V | 687 | ····invoke-interface·{v7},·Landroid/database/Cursor;->close()V |
687 | ····move·v0,·v13 | 688 | ····move·v0,·v13 |
689 | ····.line·311 | ||
688 | ····goto·:goto_0 | 690 | ····goto·:goto_0 |
691 | ····.line·314 | ||
689 | ····:cond_5 | 692 | ····:cond_5 |
690 | ····invoke-interface·{v7},·Landroid/database/Cursor;->close()V | 693 | ····invoke-interface·{v7},·Landroid/database/Cursor;->close()V |
691 | ····move·v0,·v12 | 694 | ····move·v0,·v12 |
692 | ····.line·320 | 695 | ····.line·320 |
693 | ····goto·:goto_0 | 696 | ····goto·:goto_0 |
Offset 735, 14 lines modified | Offset 738, 15 lines modified | ||
735 | ····.prologue | 738 | ····.prologue |
736 | ····const/4·v4,·0x0 | 739 | ····const/4·v4,·0x0 |
737 | ····.line·133 | 740 | ····.line·133 |
738 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary;->mContext:Landroid/content/Context; | 741 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ContactsBinaryDictionary;->mContext:Landroid/content/Context; |
742 | ····.line·134 | ||
739 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/personalization/AccountUtils;->getDeviceAccountsEmailAddresses(Landroid/content/Context;)Ljava/util/List; | 743 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/personalization/AccountUtils;->getDeviceAccountsEmailAddresses(Landroid/content/Context;)Ljava/util/List; |
740 | ····move-result-object·v8 | 744 | ····move-result-object·v8 |
741 | ····.line·135 | 745 | ····.line·135 |
742 | ····.local·v8,·"accountVocabulary":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" | 746 | ····.local·v8,·"accountVocabulary":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/String;>;" |
743 | ····if-eqz·v8,·:cond_0 | 747 | ····if-eqz·v8,·:cond_0 |
Offset 759, 15 lines modified | Offset 763, 14 lines modified | ||
759 | ····.line·138 | 763 | ····.line·138 |
760 | ····:cond_1 | 764 | ····:cond_1 |
761 | ····invoke-interface·{v8},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 765 | ····invoke-interface·{v8},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
762 | ····move-result-object·v9 | 766 | ····move-result-object·v9 |
763 | ····.local·v9,·"i$":Ljava/util/Iterator; | ||
764 | ····:goto_0 | 767 | ····:goto_0 |
765 | ····invoke-interface·{v9},·Ljava/util/Iterator;->hasNext()Z | 768 | ····invoke-interface·{v9},·Ljava/util/Iterator;->hasNext()Z |
766 | ····move-result·v0 | 769 | ····move-result·v0 |
767 | ····if-eqz·v0,·:cond_0 | 770 | ····if-eqz·v0,·:cond_0 |
Offset 28, 32 lines modified | Offset 28, 34 lines modified | ||
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·35 | 29 | ····.line·35 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line·36 | 31 | ····.line·36 |
32 | ····if-eqz·p1,·:cond_0 | 32 | ····if-eqz·p1,·:cond_0 |
33 | ····.line·37 | ||
33 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; | 34 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; |
34 | ····move-result-object·v0 | 35 | ····move-result-object·v0 |
36 | ····.line·36 | ||
35 | ····:goto_0 | 37 | ····:goto_0 |
36 | ····invoke-direct·{p0,·v0,·p4,·p5},·Lorg/smc/inputmethod/indic/DicTraverseSession;->createNativeDicTraverseSession(Ljava/lang/String;J)J | 38 | ····invoke-direct·{p0,·v0,·p4,·p5},·Lorg/smc/inputmethod/indic/DicTraverseSession;->createNativeDicTraverseSession(Ljava/lang/String;J)J |
37 | ····move-result-wide·v0 | 39 | ····move-result-wide·v0 |
38 | ····iput-wide·v0,·p0,·Lorg/smc/inputmethod/indic/DicTraverseSession;->mNativeDicTraverseSession:J | 40 | ····iput-wide·v0,·p0,·Lorg/smc/inputmethod/indic/DicTraverseSession;->mNativeDicTraverseSession:J |
39 | ····.line·38 | 41 | ····.line·38 |
40 | ····invoke-virtual·{p0,·p2,·p3},·Lorg/smc/inputmethod/indic/DicTraverseSession;->initSession(J)V | 42 | ····invoke-virtual·{p0,·p2,·p3},·Lorg/smc/inputmethod/indic/DicTraverseSession;->initSession(J)V |
41 | ····.line·39 | 43 | ····.line·39 |
42 | ····return-void | 44 | ····return-void |
43 |
····.line·3 |
45 | ····.line·37 |
44 | ····:cond_0 | 46 | ····:cond_0 |
45 | ····const-string·v0,·"" | 47 | ····const-string·v0,·"" |
46 | ····goto·:goto_0 | 48 | ····goto·:goto_0 |
47 | .end·method | 49 | .end·method |
48 | .method·private·closeInternal()V | 50 | .method·private·closeInternal()V |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"Dictionary.java" | 3 | .source·"Dictionary.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lorg/smc/inputmethod/indic/Dictionary$1;, | ||
8 | ········Lorg/smc/inputmethod/indic/Dictionary$PhonyDictionary; | 7 | ········Lorg/smc/inputmethod/indic/Dictionary$PhonyDictionary; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | #·static·fields | 10 | #·static·fields |
12 | .field·public·static·final·DICTIONARY_APPLICATION_DEFINED:Lorg/smc/inputmethod/indic/Dictionary; | 11 | .field·public·static·final·DICTIONARY_APPLICATION_DEFINED:Lorg/smc/inputmethod/indic/Dictionary; |
Offset 208, 21 lines modified | Offset 208, 20 lines modified | ||
208 | .end·method | 208 | .end·method |
209 | .method·public·close()V | 209 | .method·public·close()V |
210 | ····.locals·3 | 210 | ····.locals·3 |
211 | ····.prologue | 211 | ····.prologue |
212 | ····.line·117 | 212 | ····.line·117 |
213 |
····iget-object·v |
213 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/DictionaryCollection;->mDictionaries:Ljava/util/concurrent/CopyOnWriteArrayList; |
214 |
····invoke-virtual·{v |
214 | ····invoke-virtual·{v1},·Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator; |
215 | ····move-result-object·v1 | 215 | ····move-result-object·v1 |
216 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
217 | ····:goto_0 | 216 | ····:goto_0 |
218 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 217 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
219 | ····move-result·v2 | 218 | ····move-result·v2 |
220 | ····if-eqz·v2,·:cond_0 | 219 | ····if-eqz·v2,·:cond_0 |
Offset 28, 14 lines modified | Offset 28, 15 lines modified | ||
28 | .field·final·synthetic·val$locale:Ljava/util/Locale; | 28 | .field·final·synthetic·val$locale:Ljava/util/Locale; |
29 | #·direct·methods | 29 | #·direct·methods |
30 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/DictionaryFacilitator;Landroid/content/Context;Ljava/util/Locale;Lorg/smc/inputmethod/indic/DictionaryFacilitator$DictionaryInitializationListener;Ljava/util/concurrent/CountDownLatch;)V | 30 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/DictionaryFacilitator;Landroid/content/Context;Ljava/util/Locale;Lorg/smc/inputmethod/indic/DictionaryFacilitator$DictionaryInitializationListener;Ljava/util/concurrent/CountDownLatch;)V |
31 | ····.locals·0 | 31 | ····.locals·0 |
32 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/DictionaryFacilitator; | ||
32 | ····.prologue | 33 | ····.prologue |
33 | ····.line·300 | 34 | ····.line·300 |
34 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->this$0:Lorg/smc/inputmethod/indic/DictionaryFacilitator; | 35 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->this$0:Lorg/smc/inputmethod/indic/DictionaryFacilitator; |
35 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->val$context:Landroid/content/Context; | 36 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->val$context:Landroid/content/Context; |
Offset 57, 14 lines modified | Offset 58, 15 lines modified | ||
57 | ····.prologue | 58 | ····.prologue |
58 | ····.line·303 | 59 | ····.line·303 |
59 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->val$context:Landroid/content/Context; | 60 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->val$context:Landroid/content/Context; |
60 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->val$locale:Ljava/util/Locale; | 61 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->val$locale:Ljava/util/Locale; |
62 | ····.line·304 | ||
61 | ····invoke-static·{v1,·v2},·Lorg/smc/inputmethod/indic/DictionaryFactory;->createMainDictionaryFromManager(Landroid/content/Context;Ljava/util/Locale;)Lorg/smc/inputmethod/indic/DictionaryCollection; | 63 | ····invoke-static·{v1,·v2},·Lorg/smc/inputmethod/indic/DictionaryFactory;->createMainDictionaryFromManager(Landroid/content/Context;Ljava/util/Locale;)Lorg/smc/inputmethod/indic/DictionaryCollection; |
62 | ····move-result-object·v0 | 64 | ····move-result-object·v0 |
63 | ····.line·305 | 65 | ····.line·305 |
64 | ····.local·v0,·"mainDict":Lorg/smc/inputmethod/indic/Dictionary; | 66 | ····.local·v0,·"mainDict":Lorg/smc/inputmethod/indic/Dictionary; |
65 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->this$0:Lorg/smc/inputmethod/indic/DictionaryFacilitator; | 67 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$1;->this$0:Lorg/smc/inputmethod/indic/DictionaryFacilitator; |
Offset 75, 64 lines modified | Offset 75, 63 lines modified | ||
75 | ····.prologue | 75 | ····.prologue |
76 | ····.line·118 | 76 | ····.line·118 |
77 | ····.local·p3,·"subDicts":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;>;" | 77 | ····.local·p3,·"subDicts":Ljava/util/Map;,·"Ljava/util/Map<Ljava/lang/String;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;>;" |
78 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 78 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
79 | ····.line·110 | 79 | ····.line·110 |
80 |
····new-instance·v |
80 | ····new-instance·v1,·Ljava/util/concurrent/ConcurrentHashMap; |
81 |
····invoke-direct·{v |
81 | ····invoke-direct·{v1},·Ljava/util/concurrent/ConcurrentHashMap;-><init>()V |
82 |
····iput-object·v |
82 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->mSubDictMap:Ljava/util/concurrent/ConcurrentHashMap; |
83 | ····.line·119 | 83 | ····.line·119 |
84 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->mLocale:Ljava/util/Locale; | 84 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->mLocale:Ljava/util/Locale; |
85 | ····.line·121 | 85 | ····.line·121 |
86 | ····invoke-virtual·{p0,·p2},·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->setMainDict(Lorg/smc/inputmethod/indic/Dictionary;)V | 86 | ····invoke-virtual·{p0,·p2},·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->setMainDict(Lorg/smc/inputmethod/indic/Dictionary;)V |
87 | ····.line·122 | 87 | ····.line·122 |
88 | ····invoke-interface·{p3},·Ljava/util/Map;->entrySet()Ljava/util/Set; | 88 | ····invoke-interface·{p3},·Ljava/util/Map;->entrySet()Ljava/util/Set; |
89 |
····move-result-object·v |
89 | ····move-result-object·v1 |
90 |
····invoke-interface·{v |
90 | ····invoke-interface·{v1},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
91 |
····move-result-object·v |
91 | ····move-result-object·v3 |
92 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
93 | ····:goto_0 | 92 | ····:goto_0 |
94 |
····invoke-interface·{v |
93 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
95 |
····move-result·v |
94 | ····move-result·v1 |
96 |
····if-eqz·v |
95 | ····if-eqz·v1,·:cond_0 |
97 |
····invoke-interface·{v |
96 | ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
98 | ····move-result-object·v0 | 97 | ····move-result-object·v0 |
99 | ····check-cast·v0,·Ljava/util/Map$Entry; | 98 | ····check-cast·v0,·Ljava/util/Map$Entry; |
100 | ····.line·123 | 99 | ····.line·123 |
101 | ····.local·v0,·"entry":Ljava/util/Map$Entry;,·"Ljava/util/Map$Entry<Ljava/lang/String;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;>;" | 100 | ····.local·v0,·"entry":Ljava/util/Map$Entry;,·"Ljava/util/Map$Entry<Ljava/lang/String;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;>;" |
102 | ····invoke-interface·{v0},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; | 101 | ····invoke-interface·{v0},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; |
103 |
····move-result-object·v |
102 | ····move-result-object·v1 |
104 |
····check-cast·v |
103 | ····check-cast·v1,·Ljava/lang/String; |
105 | ····invoke-interface·{v0},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; | 104 | ····invoke-interface·{v0},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; |
106 |
····move-result-object·v |
105 | ····move-result-object·v2 |
107 |
····check-cast·v |
106 | ····check-cast·v2,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
108 |
····invoke-direct·{p0,·v |
107 | ····invoke-direct·{p0,·v1,·v2},·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->setSubDict(Ljava/lang/String;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V |
109 | ····goto·:goto_0 | 108 | ····goto·:goto_0 |
110 | ····.line·125 | 109 | ····.line·125 |
111 | ····.end·local·v0····#·"entry":Ljava/util/Map$Entry;,·"Ljava/util/Map$Entry<Ljava/lang/String;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;>;" | 110 | ····.end·local·v0····#·"entry":Ljava/util/Map$Entry;,·"Ljava/util/Map$Entry<Ljava/lang/String;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;>;" |
112 | ····:cond_0 | 111 | ····:cond_0 |
113 | ····return-void | 112 | ····return-void |
Offset 193, 22 lines modified | Offset 193, 24 lines modified | ||
193 | ····.line·100 | 193 | ····.line·100 |
194 | ····sget-object·v0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->DICT_TYPES_ORDERED_TO_GET_SUGGESTIONS:[Ljava/lang/String; | 194 | ····sget-object·v0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->DICT_TYPES_ORDERED_TO_GET_SUGGESTIONS:[Ljava/lang/String; |
195 | ····sget-object·v1,·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->DICT_TYPES_ORDERED_TO_GET_SUGGESTIONS:[Ljava/lang/String; | 195 | ····sget-object·v1,·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->DICT_TYPES_ORDERED_TO_GET_SUGGESTIONS:[Ljava/lang/String; |
196 | ····array-length·v1,·v1 | 196 | ····array-length·v1,·v1 |
197 | ····.line·101 | ||
197 | ····invoke-static·{v0,·v3,·v1},·Ljava/util/Arrays;->copyOfRange([Ljava/lang/Object;II)[Ljava/lang/Object; | 198 | ····invoke-static·{v0,·v3,·v1},·Ljava/util/Arrays;->copyOfRange([Ljava/lang/Object;II)[Ljava/lang/Object; |
198 | ····move-result-object·v0 | 199 | ····move-result-object·v0 |
199 | ····check-cast·v0,·[Ljava/lang/String; | 200 | ····check-cast·v0,·[Ljava/lang/String; |
200 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->SUB_DICT_TYPES:[Ljava/lang/String; | 201 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->SUB_DICT_TYPES:[Ljava/lang/String; |
202 | ····.line·100 | ||
201 | ····return-void | 203 | ····return-void |
202 | .end·method | 204 | .end·method |
203 | .method·public·constructor·<init>()V | 205 | .method·public·constructor·<init>()V |
204 | ····.locals·2 | 206 | ····.locals·2 |
205 | ····.prologue | 207 | ····.prologue |
Offset 324, 14 lines modified | Offset 326, 15 lines modified | ||
324 | ····.prologue | 326 | ····.prologue |
325 | ····const/4·v3,·0x0 | 327 | ····const/4·v3,·0x0 |
326 | ····.line·432 | 328 | ····.line·432 |
327 | ····const-string·v1,·"history" | 329 | ····const-string·v1,·"history" |
330 | ····.line·433 | ||
328 | ····invoke-virtual·{p1,·v1},·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->getSubDict(Ljava/lang/String;)Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 331 | ····invoke-virtual·{p1,·v1},·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->getSubDict(Ljava/lang/String;)Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
329 | ····move-result-object·v0 | 332 | ····move-result-object·v0 |
330 | ····.line·434 | 333 | ····.line·434 |
331 | ····.local·v0,·"userHistoryDictionary":Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 334 | ····.local·v0,·"userHistoryDictionary":Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
332 | ····if-nez·v0,·:cond_1 | 335 | ····if-nez·v0,·:cond_1 |
Offset 368, 14 lines modified | Offset 371, 15 lines modified | ||
368 | ····.line·444 | 371 | ····.line·444 |
369 | ····invoke-virtual·{p0,·p3,·v3},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->isValidWord(Ljava/lang/String;Z)Z | 372 | ····invoke-virtual·{p0,·p3,·v3},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->isValidWord(Ljava/lang/String;Z)Z |
370 | ····move-result·v1 | 373 | ····move-result·v1 |
371 | ····if-eqz·v1,·:cond_4 | 374 | ····if-eqz·v1,·:cond_4 |
375 | ····.line·445 | ||
372 | ····invoke-virtual·{p0,·v7,·v3},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->isValidWord(Ljava/lang/String;Z)Z | 376 | ····invoke-virtual·{p0,·v7,·v3},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->isValidWord(Ljava/lang/String;Z)Z |
373 | ····move-result·v1 | 377 | ····move-result·v1 |
374 | ····if-nez·v1,·:cond_4 | 378 | ····if-nez·v1,·:cond_4 |
375 | ····.line·451 | 379 | ····.line·451 |
Offset 423, 14 lines modified | Offset 427, 15 lines modified | ||
423 | ····move-result·v1 | 427 | ····move-result·v1 |
424 | ····if-eqz·v1,·:cond_6 | 428 | ····if-eqz·v1,·:cond_6 |
425 | ····const-string·v1,·"main" | 429 | ····const-string·v1,·"main" |
430 | ····.line·463 | ||
426 | ····invoke-virtual·{p1,·v1},·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->getDict(Ljava/lang/String;)Lorg/smc/inputmethod/indic/Dictionary; | 431 | ····invoke-virtual·{p1,·v1},·Lorg/smc/inputmethod/indic/DictionaryFacilitator$Dictionaries;->getDict(Ljava/lang/String;)Lorg/smc/inputmethod/indic/Dictionary; |
427 | ····move-result-object·v1 | 432 | ····move-result-object·v1 |
428 | ····invoke-virtual·{v1,·v7},·Lorg/smc/inputmethod/indic/Dictionary;->getFrequency(Ljava/lang/String;)I | 433 | ····invoke-virtual·{v1,·v7},·Lorg/smc/inputmethod/indic/Dictionary;->getFrequency(Ljava/lang/String;)I |
429 | ····move-result·v6 | 434 | ····move-result·v6 |
Offset 446, 15 lines modified | Offset 451, 15 lines modified | ||
446 | ····.line·468 | 451 | ····.line·468 |
447 | ····move-object·v2,·v7 | 452 | ····move-object·v2,·v7 |
448 | ····.restart·local·v2····#·"secondWord":Ljava/lang/String; | 453 | ····.restart·local·v2····#·"secondWord":Ljava/lang/String; |
449 | ····goto·:goto_1 | 454 | ····goto·:goto_1 |
450 |
····.line·46 |
455 | ····.line·463 |
451 | ····.end·local·v2····#·"secondWord":Ljava/lang/String; | 456 | ····.end·local·v2····#·"secondWord":Ljava/lang/String; |
452 | ····.end·local·v6····#·"lowerCaseFreqInMainDict":I | 457 | ····.end·local·v6····#·"lowerCaseFreqInMainDict":I |
453 | ····:cond_6 | 458 | ····:cond_6 |
454 | ····const/4·v6,·-0x1 | 459 | ····const/4·v6,·-0x1 |
455 | ····goto·:goto_2 | 460 | ····goto·:goto_2 |
Offset 531, 101 lines modified | Offset 536, 98 lines modified | ||
531 | ····.line·578 | 536 | ····.line·578 |
532 | ····:cond_0 | 537 | ····:cond_0 |
533 | ····return-void | 538 | ····return-void |
534 | .end·method | 539 | .end·method |
535 | .method·private·getFrequencyInternal(Ljava/lang/String;Z)I | 540 | .method·private·getFrequencyInternal(Ljava/lang/String;Z)I |
536 |
····.locals· |
541 | ····.locals·8 |
537 | ····.param·p1,·"word"····#·Ljava/lang/String; | 542 | ····.param·p1,·"word"····#·Ljava/lang/String; |
538 | ····.param·p2,·"isGettingMaxFrequencyOfExactMatches"····#·Z | 543 | ····.param·p2,·"isGettingMaxFrequencyOfExactMatches"····#·Z |
Max diff block lines reached; 53852/56536 bytes (95.25%) of diff not shown. |
Offset 31, 44 lines modified | Offset 31, 41 lines modified | ||
31 | ····.line·38 | 31 | ····.line·38 |
32 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 32 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
33 | ····return-void | 33 | ····return-void |
34 | .end·method | 34 | .end·method |
35 | .method·public·static·createDictionaryForTest([Lorg/smc/inputmethod/indic/AssetFileAddress;ZLjava/util/Locale;)Lorg/smc/inputmethod/indic/Dictionary; | 35 | .method·public·static·createDictionaryForTest([Lorg/smc/inputmethod/indic/AssetFileAddress;ZLjava/util/Locale;)Lorg/smc/inputmethod/indic/Dictionary; |
36 |
····.locals·1 |
36 | ····.locals·13 |
37 | ····.param·p0,·"dictionaryList"····#·[Lorg/smc/inputmethod/indic/AssetFileAddress; | 37 | ····.param·p0,·"dictionaryList"····#·[Lorg/smc/inputmethod/indic/AssetFileAddress; |
38 | ····.param·p1,·"useFullEditDistance"····#·Z | 38 | ····.param·p1,·"useFullEditDistance"····#·Z |
39 | ····.param·p2,·"locale"····#·Ljava/util/Locale; | 39 | ····.param·p2,·"locale"····#·Ljava/util/Locale; |
40 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; | 40 | ····.annotation·build·Lorg/smc/inputmethod/annotations/UsedForTesting; |
41 | ····.end·annotation | 41 | ····.end·annotation |
42 | ····.prologue | 42 | ····.prologue |
43 | ····.line·192 | 43 | ····.line·192 |
44 |
····new-instance·v1 |
44 | ····new-instance·v10,·Lorg/smc/inputmethod/indic/DictionaryCollection; |
45 | ····const-string·v1,·"main" | 45 | ····const-string·v1,·"main" |
46 |
····invoke-direct·{v1 |
46 | ····invoke-direct·{v10,·v1},·Lorg/smc/inputmethod/indic/DictionaryCollection;-><init>(Ljava/lang/String;)V |
47 | ····.line·194 | 47 | ····.line·194 |
48 |
····.local·v1 |
48 | ····.local·v10,·"dictionaryCollection":Lorg/smc/inputmethod/indic/DictionaryCollection; |
49 |
···· |
49 | ····array-length·v12,·p0 |
50 |
|
50 | ····const/4·v1,·0x0 |
51 | ····array-length·v13,·v10 | ||
52 |
···· |
51 | ····move·v11,·v1 |
53 | ····const/4·v12,·0x0 | ||
54 | ····.local·v12,·"i$":I | ||
55 | ····:goto_0 | 52 | ····:goto_0 |
56 |
····if-ge·v1 |
53 | ····if-ge·v11,·v12,·:cond_0 |
57 |
····aget-object·v9,· |
54 | ····aget-object·v9,·p0,·v11 |
58 | ····.line·195 | 55 | ····.line·195 |
59 | ····.local·v9,·"address":Lorg/smc/inputmethod/indic/AssetFileAddress; | 56 | ····.local·v9,·"address":Lorg/smc/inputmethod/indic/AssetFileAddress; |
60 | ····new-instance·v0,·Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; | 57 | ····new-instance·v0,·Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; |
61 | ····iget-object·v1,·v9,·Lorg/smc/inputmethod/indic/AssetFileAddress;->mFilename:Ljava/lang/String; | 58 | ····iget-object·v1,·v9,·Lorg/smc/inputmethod/indic/AssetFileAddress;->mFilename:Ljava/lang/String; |
Offset 76, 32 lines modified | Offset 73, 34 lines modified | ||
76 | ····iget-wide·v4,·v9,·Lorg/smc/inputmethod/indic/AssetFileAddress;->mLength:J | 73 | ····iget-wide·v4,·v9,·Lorg/smc/inputmethod/indic/AssetFileAddress;->mLength:J |
77 | ····const-string·v8,·"main" | 74 | ····const-string·v8,·"main" |
78 | ····move·v6,·p1 | 75 | ····move·v6,·p1 |
79 |
····move-object |
76 | ····move-object·v7,·p2 |
80 | ····invoke-direct/range·{v0·..·v8},·Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary;-><init>(Ljava/lang/String;JJZLjava/util/Locale;Ljava/lang/String;)V | 77 | ····invoke-direct/range·{v0·..·v8},·Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary;-><init>(Ljava/lang/String;JJZLjava/util/Locale;Ljava/lang/String;)V |
81 | ····.line·198 | 78 | ····.line·198 |
82 | ····.local·v0,·"readOnlyBinaryDictionary":Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; | 79 | ····.local·v0,·"readOnlyBinaryDictionary":Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; |
83 |
····invoke-virtual·{v1 |
80 | ····invoke-virtual·{v10,·v0},·Lorg/smc/inputmethod/indic/DictionaryCollection;->addDictionary(Lorg/smc/inputmethod/indic/Dictionary;)V |
84 | ····.line·194 | 81 | ····.line·194 |
85 |
····add-int/lit8·v1 |
82 | ····add-int/lit8·v1,·v11,·0x1 |
83 | ····move·v11,·v1 | ||
86 | ····goto·:goto_0 | 84 | ····goto·:goto_0 |
87 | ····.line·200 | 85 | ····.line·200 |
88 | ····.end·local·v0····#·"readOnlyBinaryDictionary":Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; | 86 | ····.end·local·v0····#·"readOnlyBinaryDictionary":Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; |
89 | ····.end·local·v9····#·"address":Lorg/smc/inputmethod/indic/AssetFileAddress; | 87 | ····.end·local·v9····#·"address":Lorg/smc/inputmethod/indic/AssetFileAddress; |
90 | ····:cond_0 | 88 | ····:cond_0 |
91 |
····return-object·v1 |
89 | ····return-object·v10 |
92 | .end·method | 90 | .end·method |
93 | .method·public·static·createMainDictionaryFromManager(Landroid/content/Context;Ljava/util/Locale;)Lorg/smc/inputmethod/indic/DictionaryCollection; | 91 | .method·public·static·createMainDictionaryFromManager(Landroid/content/Context;Ljava/util/Locale;)Lorg/smc/inputmethod/indic/DictionaryCollection; |
94 | ····.locals·1 | 92 | ····.locals·1 |
95 | ····.param·p0,·"context"····#·Landroid/content/Context; | 93 | ····.param·p0,·"context"····#·Landroid/content/Context; |
96 | ····.param·p1,·"locale"····#·Ljava/util/Locale; | 94 | ····.param·p1,·"locale"····#·Ljava/util/Locale; |
Offset 140, 14 lines modified | Offset 139, 15 lines modified | ||
140 | ····const/4·v3,·0x1 | 139 | ····const/4·v3,·0x1 |
141 | ····new-array·v3,·v3,·[Lorg/smc/inputmethod/indic/Dictionary; | 140 | ····new-array·v3,·v3,·[Lorg/smc/inputmethod/indic/Dictionary; |
142 | ····const/4·v4,·0x0 | 141 | ····const/4·v4,·0x0 |
142 | ····.line·56 | ||
143 | ····invoke-static·{p0,·p1},·Lorg/smc/inputmethod/indic/DictionaryFactory;->createReadOnlyBinaryDictionary(Landroid/content/Context;Ljava/util/Locale;)Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; | 143 | ····invoke-static·{p0,·p1},·Lorg/smc/inputmethod/indic/DictionaryFactory;->createReadOnlyBinaryDictionary(Landroid/content/Context;Ljava/util/Locale;)Lcom/android/inputmethod/latin/ReadOnlyBinaryDictionary; |
144 | ····move-result-object·v5 | 144 | ····move-result-object·v5 |
145 | ····aput-object·v5,·v3,·v4 | 145 | ····aput-object·v5,·v3,·v4 |
146 | ····invoke-direct·{v1,·v2,·v3},·Lorg/smc/inputmethod/indic/DictionaryCollection;-><init>(Ljava/lang/String;[Lorg/smc/inputmethod/indic/Dictionary;)V | 146 | ····invoke-direct·{v1,·v2,·v3},·Lorg/smc/inputmethod/indic/DictionaryCollection;-><init>(Ljava/lang/String;[Lorg/smc/inputmethod/indic/Dictionary;)V |
Offset 158, 30 lines modified | Offset 158, 29 lines modified | ||
158 | ····.line·59 | 158 | ····.line·59 |
159 | ····:cond_0 | 159 | ····:cond_0 |
Max diff block lines reached; 5618/9578 bytes (58.66%) of diff not shown. |
Offset 65, 420 lines modified | Offset 65, 370 lines modified | ||
65 | ····.line·61 | 65 | ····.line·61 |
66 | ····return-void | 66 | ····return-void |
67 | .end·method | 67 | .end·method |
68 | #·virtual·methods | 68 | #·virtual·methods |
69 | .method·public·onReceive(Landroid/content/Context;Landroid/content/Intent;)V | 69 | .method·public·onReceive(Landroid/content/Context;Landroid/content/Intent;)V |
70 |
····.locals·1 |
70 | ····.locals·15 |
71 | ····.param·p1,·"context"····#·Landroid/content/Context; | 71 | ····.param·p1,·"context"····#·Landroid/content/Context; |
72 | ····.param·p2,·"intent"····#·Landroid/content/Intent; | 72 | ····.param·p2,·"intent"····#·Landroid/content/Intent; |
73 | ····.prologue | 73 | ····.prologue |
74 | ····.line·65 | 74 | ····.line·65 |
75 | ····invoke-virtual/range·{p2·..·p2},·Landroid/content/Intent;->getAction()Ljava/lang/String; | 75 | ····invoke-virtual/range·{p2·..·p2},·Landroid/content/Intent;->getAction()Ljava/lang/String; |
76 | ····move-result-object·v1 | 76 | ····move-result-object·v1 |
77 | ····.line·66 | 77 | ····.line·66 |
78 | ····.local·v1,·"action":Ljava/lang/String; | 78 | ····.local·v1,·"action":Ljava/lang/String; |
79 | ····invoke-virtual/range·{p1·..·p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 79 | ····invoke-virtual/range·{p1·..·p1},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
80 |
····move-result-object·v |
80 | ····move-result-object·v4 |
81 | ····.line·69 | 81 | ····.line·69 |
82 |
····.local·v |
82 | ····.local·v4,·"manager":Landroid/content/pm/PackageManager; |
83 |
····const-string·v1 |
83 | ····const-string·v11,·"android.intent.action.PACKAGE_ADDED" |
84 |
····invoke-virtual·{v1,·v1 |
84 | ····invoke-virtual·{v1,·v11},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
85 |
····move-result·v1 |
85 | ····move-result·v11 |
86 |
····if-eqz·v1 |
86 | ····if-eqz·v11,·:cond_3 |
87 | ····.line·70 | 87 | ····.line·70 |
88 |
···· |
88 | ····iget-object·v11,·p0,·Lorg/smc/inputmethod/indic/DictionaryPackInstallBroadcastReceiver;->mService:Lorg/smc/inputmethod/indic/LatinIME; |
89 | ····iget-object·v14,·v0,·Lorg/smc/inputmethod/indic/DictionaryPackInstallBroadcastReceiver;->mService:Lorg/smc/inputmethod/indic/LatinIME; | ||
90 |
····if-nez·v1 |
89 | ····if-nez·v11,·:cond_1 |
91 | ····.line·71 | 90 | ····.line·71 |
92 |
····sget-object·v1 |
91 | ····sget-object·v11,·Lorg/smc/inputmethod/indic/DictionaryPackInstallBroadcastReceiver;->TAG:Ljava/lang/String; |
93 | ····new-instance·v15,·Ljava/lang/StringBuilder; | ||
94 | ····invoke-direct·{v15},·Ljava/lang/StringBuilder;-><init>()V | ||
95 |
···· |
92 | ····new-instance·v12,·Ljava/lang/StringBuilder; |
96 |
····invoke- |
93 | ····invoke-direct·{v12},·Ljava/lang/StringBuilder;-><init>()V |
97 |
···· |
94 | ····const-string·v13,·"Called·with·intent·" |
98 |
····invoke-virtual·{v1 |
95 | ····invoke-virtual·{v12,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
99 |
····move-result-object·v1 |
96 | ····move-result-object·v12 |
100 |
···· |
97 | ····invoke-virtual·{v12,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
101 |
···· |
98 | ····move-result-object·v12 |
102 |
···· |
99 | ····const-string·v13,·"·but·we·don\'t·know·the·service:·this·should·never·happen" |
103 |
···· |
100 | ····invoke-virtual·{v12,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
104 |
···· |
101 | ····move-result-object·v12 |
105 |
···· |
102 | ····invoke-virtual·{v12},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
106 |
···· |
103 | ····move-result-object·v12 |
107 |
···· |
104 | ····invoke-static·{v11,·v12},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
108 | ····invoke-static·{v14,·v15},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | ||
109 | ····.line·141 | 105 | ····.line·141 |
110 | ····:cond_0 | 106 | ····:cond_0 |
111 | ····:goto_0 | 107 | ····:goto_0 |
112 | ····return-void | 108 | ····return-void |
113 | ····.line·75 | 109 | ····.line·75 |
114 | ····:cond_1 | 110 | ····:cond_1 |
115 | ····invoke-virtual/range·{p2·..·p2},·Landroid/content/Intent;->getData()Landroid/net/Uri; | 111 | ····invoke-virtual/range·{p2·..·p2},·Landroid/content/Intent;->getData()Landroid/net/Uri; |
116 |
····move-result-object·v |
112 | ····move-result-object·v8 |
117 | ····.line·76 | 113 | ····.line·76 |
118 |
····.local·v |
114 | ····.local·v8,·"packageUri":Landroid/net/Uri; |
119 |
····if-eqz·v |
115 | ····if-eqz·v8,·:cond_0 |
120 | ····.line·77 | 116 | ····.line·77 |
121 |
····invoke-virtual·{v |
117 | ····invoke-virtual·{v8},·Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String; |
122 |
····move-result-object·v |
118 | ····move-result-object·v7 |
123 | ····.line·78 | 119 | ····.line·78 |
124 |
····.local·v |
120 | ····.local·v7,·"packageName":Ljava/lang/String; |
125 |
····if-eqz·v |
121 | ····if-eqz·v7,·:cond_0 |
Max diff block lines reached; 17735/22341 bytes (79.38%) of diff not shown. |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$word:Ljava/lang/String; | 24 | .field·final·synthetic·val$word:Ljava/lang/String; |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;)V | 26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·392 | 30 | ····.line·392 |
30 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$10;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 31 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$10;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
31 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$10;->val$prevWordsInfo:Lcom/android/inputmethod/latin/PrevWordsInfo; | 32 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$10;->val$prevWordsInfo:Lcom/android/inputmethod/latin/PrevWordsInfo; |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$languageModelParams:Ljava/util/ArrayList; | 24 | .field·final·synthetic·val$languageModelParams:Ljava/util/ArrayList; |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/util/ArrayList;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$AddMultipleDictionaryEntriesCallback;)V | 26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/util/ArrayList;Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$AddMultipleDictionaryEntriesCallback;)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·420 | 30 | ····.line·420 |
30 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 31 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
31 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$languageModelParams:Ljava/util/ArrayList; | 32 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$languageModelParams:Ljava/util/ArrayList; |
Offset 86, 26 lines modified | Offset 87, 29 lines modified | ||
86 | ····move-result-object·v1 | 87 | ····move-result-object·v1 |
87 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$languageModelParams:Ljava/util/ArrayList; | 88 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$languageModelParams:Ljava/util/ArrayList; |
88 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$languageModelParams:Ljava/util/ArrayList; | 89 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$languageModelParams:Ljava/util/ArrayList; |
90 | ····.line·429 | ||
89 | ····invoke-virtual·{v2},·Ljava/util/ArrayList;->size()I | 91 | ····invoke-virtual·{v2},·Ljava/util/ArrayList;->size()I |
90 | ····move-result·v2 | 92 | ····move-result·v2 |
91 | ····new-array·v2,·v2,·[Lcom/android/inputmethod/latin/utils/LanguageModelParam; | 93 | ····new-array·v2,·v2,·[Lcom/android/inputmethod/latin/utils/LanguageModelParam; |
94 | ····.line·428 | ||
92 | ····invoke-virtual·{v0,·v2},·Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; | 95 | ····invoke-virtual·{v0,·v2},·Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object; |
93 | ····move-result-object·v0 | 96 | ····move-result-object·v0 |
94 | ····check-cast·v0,·[Lcom/android/inputmethod/latin/utils/LanguageModelParam; | 97 | ····check-cast·v0,·[Lcom/android/inputmethod/latin/utils/LanguageModelParam; |
98 | ····.line·427 | ||
95 | ····invoke-virtual·{v1,·v0},·Lcom/android/inputmethod/latin/BinaryDictionary;->addMultipleDictionaryEntries([Lcom/android/inputmethod/latin/utils/LanguageModelParam;)V | 99 | ····invoke-virtual·{v1,·v0},·Lcom/android/inputmethod/latin/BinaryDictionary;->addMultipleDictionaryEntries([Lcom/android/inputmethod/latin/utils/LanguageModelParam;)V |
96 | ····:try_end_1 | 100 | ····:try_end_1 |
97 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 101 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
98 | ····.line·431 | 102 | ····.line·431 |
99 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$callback:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$AddMultipleDictionaryEntriesCallback; | 103 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$11;->val$callback:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$AddMultipleDictionaryEntriesCallback; |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·601 | 27 | ····.line·601 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$12;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$12;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 134, 23 lines modified | Offset 135, 25 lines modified | ||
134 | ····if-eqz·v0,·:cond_3 | 135 | ····if-eqz·v0,·:cond_3 |
135 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$12;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 136 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$12;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
136 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$12;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 137 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$12;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
138 | ····.line·615 | ||
137 | ····#·getter·for:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; | 139 | ····#·getter·for:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; |
138 | ····invoke-static·{v1},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$100(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)Lcom/android/inputmethod/latin/BinaryDictionary; | 140 | ····invoke-static·{v1},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$100(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)Lcom/android/inputmethod/latin/BinaryDictionary; |
139 | ····move-result-object·v1 | 141 | ····move-result-object·v1 |
140 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/latin/BinaryDictionary;->getFormatVersion()I | 142 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/latin/BinaryDictionary;->getFormatVersion()I |
141 | ····move-result·v1 | 143 | ····move-result·v1 |
144 | ····.line·614 | ||
142 | ····#·invokes:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->matchesExpectedBinaryDictFormatVersionForThisType(I)Z | 145 | ····#·invokes:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->matchesExpectedBinaryDictFormatVersionForThisType(I)Z |
143 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$900(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;I)Z | 146 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$900(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;I)Z |
144 | ····move-result·v0 | 147 | ····move-result·v0 |
145 | ····if-nez·v0,·:cond_1 | 148 | ····if-nez·v0,·:cond_1 |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$countDownLatch:Ljava/util/concurrent/CountDownLatch; | 22 | .field·final·synthetic·val$countDownLatch:Ljava/util/concurrent/CountDownLatch; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/util/concurrent/CountDownLatch;)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/util/concurrent/CountDownLatch;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·653 | 28 | ····.line·653 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$14;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$14;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
29 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$14;->val$countDownLatch:Ljava/util/concurrent/CountDownLatch; | 30 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$14;->val$countDownLatch:Ljava/util/concurrent/CountDownLatch; |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·675 | 27 | ····.line·675 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$15;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$15;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 148, 14 lines modified | Offset 149, 15 lines modified | ||
148 | ····const/4·v3,·0x0 | 149 | ····const/4·v3,·0x0 |
149 | ····.line·689 | 150 | ····.line·689 |
150 | ····.local·v3,·"token":I | 151 | ····.local·v3,·"token":I |
151 | ····:cond_0 | 152 | ····:cond_0 |
152 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$15;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 153 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$15;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
154 | ····.line·690 | ||
153 | ····#·getter·for:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; | 155 | ····#·getter·for:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; |
154 | ····invoke-static·{v5},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$100(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)Lcom/android/inputmethod/latin/BinaryDictionary; | 156 | ····invoke-static·{v5},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$100(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)Lcom/android/inputmethod/latin/BinaryDictionary; |
155 | ····move-result-object·v5 | 157 | ····move-result-object·v5 |
156 | ····invoke-virtual·{v5,·v3},·Lcom/android/inputmethod/latin/BinaryDictionary;->getNextWordProperty(I)Lcom/android/inputmethod/latin/BinaryDictionary$GetNextWordPropertyResult; | 158 | ····invoke-virtual·{v5,·v3},·Lcom/android/inputmethod/latin/BinaryDictionary;->getNextWordProperty(I)Lcom/android/inputmethod/latin/BinaryDictionary$GetNextWordPropertyResult; |
Offset 26, 14 lines modified | Offset 26, 15 lines modified | ||
26 | .field·final·synthetic·val$task:Ljava/lang/Runnable; | 26 | .field·final·synthetic·val$task:Ljava/lang/Runnable; |
27 | #·direct·methods | 27 | #·direct·methods |
28 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/util/concurrent/Callable;Ljava/util/concurrent/locks/Lock;Ljava/lang/Runnable;)V | 28 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/util/concurrent/Callable;Ljava/util/concurrent/locks/Lock;Ljava/lang/Runnable;)V |
29 | ····.locals·0 | 29 | ····.locals·0 |
30 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
30 | ····.prologue | 31 | ····.prologue |
31 | ····.line·182 | 32 | ····.line·182 |
32 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$1;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 33 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$1;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
33 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$1;->val$preCheckTask:Ljava/util/concurrent/Callable; | 34 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$1;->val$preCheckTask:Ljava/util/concurrent/Callable; |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·210 | 27 | ····.line·210 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$2;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$2;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
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:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·269 | 27 | ····.line·269 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$4;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$4;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
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:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·238 | 27 | ····.line·238 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$3;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$3;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 34, 14 lines modified | Offset 34, 15 lines modified | ||
34 | .field·final·synthetic·val$word:Ljava/lang/String; | 34 | .field·final·synthetic·val$word:Ljava/lang/String; |
35 | #·direct·methods | 35 | #·direct·methods |
36 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Lcom/android/inputmethod/latin/utils/DistracterFilter;Ljava/lang/String;)V | 36 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Lcom/android/inputmethod/latin/utils/DistracterFilter;Ljava/lang/String;)V |
37 | ····.locals·0 | 37 | ····.locals·0 |
38 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
38 | ····.prologue | 39 | ····.prologue |
39 | ····.line·308 | 40 | ····.line·308 |
40 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 41 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
41 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->val$distracterFilter:Lcom/android/inputmethod/latin/utils/DistracterFilter; | 42 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->val$distracterFilter:Lcom/android/inputmethod/latin/utils/DistracterFilter; |
Offset 68, 19 lines modified | Offset 69, 21 lines modified | ||
68 | ····sget-object·v1,·Lcom/android/inputmethod/latin/PrevWordsInfo;->EMPTY_PREV_WORDS_INFO:Lcom/android/inputmethod/latin/PrevWordsInfo; | 69 | ····sget-object·v1,·Lcom/android/inputmethod/latin/PrevWordsInfo;->EMPTY_PREV_WORDS_INFO:Lcom/android/inputmethod/latin/PrevWordsInfo; |
69 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->val$word:Ljava/lang/String; | 70 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->val$word:Ljava/lang/String; |
70 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 71 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$6;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
72 | ····.line·312 | ||
71 | ····#·getter·for:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mLocale:Ljava/util/Locale; | 73 | ····#·getter·for:·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mLocale:Ljava/util/Locale; |
72 | ····invoke-static·{v3},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$400(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)Ljava/util/Locale; | 74 | ····invoke-static·{v3},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->access$400(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)Ljava/util/Locale; |
73 | ····move-result-object·v3 | 75 | ····move-result-object·v3 |
76 | ····.line·311 | ||
74 | ····invoke-interface·{v0,·v1,·v2,·v3},·Lcom/android/inputmethod/latin/utils/DistracterFilter;->isDistracterToWordsInDictionaries(Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;Ljava/util/Locale;)Z | 77 | ····invoke-interface·{v0,·v1,·v2,·v3},·Lcom/android/inputmethod/latin/utils/DistracterFilter;->isDistracterToWordsInDictionaries(Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;Ljava/util/Locale;)Z |
75 | ····move-result·v0 | 78 | ····move-result·v0 |
76 | ····if-nez·v0,·:cond_0 | 79 | ····if-nez·v0,·:cond_0 |
77 | ····const/4·v0,·0x1 | 80 | ····const/4·v0,·0x1 |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$mindsBlockByGC:Z | 22 | .field·final·synthetic·val$mindsBlockByGC:Z |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Z)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Z)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·282 | 28 | ····.line·282 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$5;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$5;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
29 | ····iput-boolean·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$5;->val$mindsBlockByGC:Z | 30 | ····iput-boolean·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$5;->val$mindsBlockByGC:Z |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·635 | 27 | ····.line·635 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$13;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$13;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 34, 14 lines modified | Offset 34, 15 lines modified | ||
34 | .field·final·synthetic·val$word:Ljava/lang/String; | 34 | .field·final·synthetic·val$word:Ljava/lang/String; |
35 | #·direct·methods | 35 | #·direct·methods |
36 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/lang/String;ILjava/lang/String;IZZI)V | 36 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/lang/String;ILjava/lang/String;IZZI)V |
37 | ····.locals·0 | 37 | ····.locals·0 |
38 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
38 | ····.prologue | 39 | ····.prologue |
39 | ····.line·315 | 40 | ····.line·315 |
40 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$7;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 41 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$7;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
41 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$7;->val$word:Ljava/lang/String; | 42 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$7;->val$word:Ljava/lang/String; |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$word:Ljava/lang/String; | 22 | .field·final·synthetic·val$word:Ljava/lang/String; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/lang/String;)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Ljava/lang/String;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·342 | 28 | ····.line·342 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$8;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$8;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
29 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$8;->val$word:Ljava/lang/String; | 30 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$8;->val$word:Ljava/lang/String; |
Offset 28, 14 lines modified | Offset 28, 15 lines modified | ||
28 | .field·final·synthetic·val$word:Ljava/lang/String; | 28 | .field·final·synthetic·val$word:Ljava/lang/String; |
29 | #·direct·methods | 29 | #·direct·methods |
30 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;II)V | 30 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;Lcom/android/inputmethod/latin/PrevWordsInfo;Ljava/lang/String;II)V |
31 | ····.locals·0 | 31 | ····.locals·0 |
32 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | ||
32 | ····.prologue | 33 | ····.prologue |
33 | ····.line·364 | 34 | ····.line·364 |
34 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$9;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; | 35 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$9;->this$0:Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary; |
35 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$9;->val$prevWordsInfo:Lcom/android/inputmethod/latin/PrevWordsInfo; | 36 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary$9;->val$prevWordsInfo:Lcom/android/inputmethod/latin/PrevWordsInfo; |
Offset 450, 26 lines modified | Offset 450, 28 lines modified | ||
450 | ····.prologue | 450 | ····.prologue |
451 | ····.line·263 | 451 | ····.line·263 |
452 | ····new-instance·v1,·Lcom/android/inputmethod/latin/BinaryDictionary; | 452 | ····new-instance·v1,·Lcom/android/inputmethod/latin/BinaryDictionary; |
453 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictFile:Ljava/io/File; | 453 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictFile:Ljava/io/File; |
454 | ····.line·264 | ||
454 | ····invoke-virtual·{v0},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; | 455 | ····invoke-virtual·{v0},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
455 | ····move-result-object·v2 | 456 | ····move-result-object·v2 |
456 | ····const/4·v3,·0x1 | 457 | ····const/4·v3,·0x1 |
457 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mLocale:Ljava/util/Locale; | 458 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mLocale:Ljava/util/Locale; |
458 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictType:Ljava/lang/String; | 459 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictType:Ljava/lang/String; |
459 | ····const-wide/16·v6,·0x192 | 460 | ····const-wide/16·v6,·0x192 |
461 | ····.line·265 | ||
460 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->getHeaderAttributeMap()Ljava/util/Map; | 462 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->getHeaderAttributeMap()Ljava/util/Map; |
461 | ····move-result-object·v8 | 463 | ····move-result-object·v8 |
462 | ····invoke-direct/range·{v1·..·v8},·Lcom/android/inputmethod/latin/BinaryDictionary;-><init>(Ljava/lang/String;ZLjava/util/Locale;Ljava/lang/String;JLjava/util/Map;)V | 464 | ····invoke-direct/range·{v1·..·v8},·Lcom/android/inputmethod/latin/BinaryDictionary;-><init>(Ljava/lang/String;ZLjava/util/Locale;Ljava/lang/String;JLjava/util/Map;)V |
463 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; | 465 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; |
Offset 492, 14 lines modified | Offset 494, 15 lines modified | ||
492 | ····:goto_0 | 494 | ····:goto_0 |
493 | ····return-object·p2 | 495 | ····return-object·p2 |
494 | ····.restart·local·p2····#·"dictFile":Ljava/io/File; | 496 | ····.restart·local·p2····#·"dictFile":Ljava/io/File; |
495 | ····:cond_0 | 497 | ····:cond_0 |
496 | ····new-instance·p2,·Ljava/io/File; | 498 | ····new-instance·p2,·Ljava/io/File; |
499 | ····.line·157 | ||
497 | ····.end·local·p2····#·"dictFile":Ljava/io/File; | 500 | ····.end·local·p2····#·"dictFile":Ljava/io/File; |
498 | ····invoke-virtual·{p0},·Landroid/content/Context;->getFilesDir()Ljava/io/File; | 501 | ····invoke-virtual·{p0},·Landroid/content/Context;->getFilesDir()Ljava/io/File; |
499 | ····move-result-object·v0 | 502 | ····move-result-object·v0 |
500 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 503 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
Offset 621, 14 lines modified | Offset 624, 15 lines modified | ||
621 | ····move-result·v1 | 624 | ····move-result·v1 |
622 | ····if-eqz·v1,·:cond_1 | 625 | ····if-eqz·v1,·:cond_1 |
623 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; | 626 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mBinaryDictionary:Lcom/android/inputmethod/latin/BinaryDictionary; |
627 | ····.line·551 | ||
624 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/latin/BinaryDictionary;->getFormatVersion()I | 628 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/latin/BinaryDictionary;->getFormatVersion()I |
625 | ····move-result·v1 | 629 | ····move-result·v1 |
626 | ····invoke-direct·{p0,·v1},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->needsToMigrateDictionary(I)Z | 630 | ····invoke-direct·{p0,·v1},·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->needsToMigrateDictionary(I)Z |
627 | ····move-result·v1 | 631 | ····move-result·v1 |
Offset 728, 14 lines modified | Offset 732, 15 lines modified | ||
728 | ····const/4·v6,·0x1 | 732 | ····const/4·v6,·0x1 |
729 | ····.line·257 | 733 | ····.line·257 |
730 | ····new-instance·v0,·Lcom/android/inputmethod/latin/BinaryDictionary; | 734 | ····new-instance·v0,·Lcom/android/inputmethod/latin/BinaryDictionary; |
731 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictFile:Ljava/io/File; | 735 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictFile:Ljava/io/File; |
736 | ····.line·258 | ||
732 | ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; | 737 | ····invoke-virtual·{v1},·Ljava/io/File;->getAbsolutePath()Ljava/lang/String; |
733 | ····move-result-object·v1 | 738 | ····move-result-object·v1 |
734 | ····const-wide/16·v2,·0x0 | 739 | ····const-wide/16·v2,·0x0 |
735 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictFile:Ljava/io/File; | 740 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/ExpandableBinaryDictionary;->mDictFile:Ljava/io/File; |
Offset 1192, 44 lines modified | Offset 1197, 50 lines modified | ||
1192 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 1197 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
1193 | ····.line·228 | 1198 | ····.line·228 |
1194 | ····const-string·v1,·"version" | 1199 | ····const-string·v1,·"version" |
1195 | ····sget-object·v2,·Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit; | 1200 | ····sget-object·v2,·Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit; |
1201 | ····.line·229 | ||
1196 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J | 1202 | ····invoke-static·{},·Ljava/lang/System;->currentTimeMillis()J |
1197 | ····move-result-wide·v4 | 1203 | ····move-result-wide·v4 |
1198 | ····invoke-virtual·{v2,·v4,·v5},·Ljava/util/concurrent/TimeUnit;->toSeconds(J)J | 1204 | ····invoke-virtual·{v2,·v4,·v5},·Ljava/util/concurrent/TimeUnit;->toSeconds(J)J |
1199 | ····move-result-wide·v2 | 1205 | ····move-result-wide·v2 |
1200 | ····invoke-static·{v2,·v3},·Ljava/lang/String;->valueOf(J)Ljava/lang/String; | 1206 | ····invoke-static·{v2,·v3},·Ljava/lang/String;->valueOf(J)Ljava/lang/String; |
1201 | ····move-result-object·v2 | 1207 | ····move-result-object·v2 |
1208 | ····.line·228 | ||
1202 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 1209 | ····invoke-virtual·{v0,·v1,·v2},·Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
Max diff block lines reached; 2321/5576 bytes (41.62%) of diff not shown. |
Offset 88, 14 lines modified | Offset 88, 15 lines modified | ||
88 | ····.line·58 | 88 | ····.line·58 |
89 | ····invoke-static·{v6},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isPasswordInputType(I)Z | 89 | ····invoke-static·{v6},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isPasswordInputType(I)Z |
90 | ····move-result·v10 | 90 | ····move-result·v10 |
91 | ····if-nez·v10,·:cond_0 | 91 | ····if-nez·v10,·:cond_0 |
92 | ····.line·59 | ||
92 | ····invoke-static·{v6},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isVisiblePasswordInputType(I)Z | 93 | ····invoke-static·{v6},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isVisiblePasswordInputType(I)Z |
93 | ····move-result·v10 | 94 | ····move-result·v10 |
94 | ····if-eqz·v10,·:cond_4 | 95 | ····if-eqz·v10,·:cond_4 |
95 | ····:cond_0 | 96 | ····:cond_0 |
Offset 165, 15 lines modified | Offset 166, 15 lines modified | ||
165 | ····.line·55 | 166 | ····.line·55 |
166 | ····:cond_3 | 167 | ····:cond_3 |
167 | ····const/4·v6,·0x0 | 168 | ····const/4·v6,·0x0 |
168 | ····goto·:goto_1 | 169 | ····goto·:goto_1 |
169 |
····.line·5 |
170 | ····.line·59 |
170 | ····.restart·local·v5····#·"inputClass":I | 171 | ····.restart·local·v5····#·"inputClass":I |
171 | ····.restart·local·v6····#·"inputType":I | 172 | ····.restart·local·v6····#·"inputType":I |
172 | ····:cond_4 | 173 | ····:cond_4 |
173 | ····const/4·v10,·0x0 | 174 | ····const/4·v10,·0x0 |
174 | ····goto·:goto_2 | 175 | ····goto·:goto_2 |
Offset 201, 14 lines modified | Offset 202, 15 lines modified | ||
201 | ····const/4·v12,·0x2 | 202 | ····const/4·v12,·0x2 |
202 | ····new-array·v12,·v12,·[Ljava/lang/Object; | 203 | ····new-array·v12,·v12,·[Ljava/lang/Object; |
203 | ····const/4·v13,·0x0 | 204 | ····const/4·v13,·0x0 |
205 | ····.line·73 | ||
204 | ····invoke-static·{v6},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 206 | ····invoke-static·{v6},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
205 | ····move-result-object·v14 | 207 | ····move-result-object·v14 |
206 | ····aput-object·v14,·v12,·v13 | 208 | ····aput-object·v14,·v12,·v13 |
207 | ····const/4·v13,·0x1 | 209 | ····const/4·v13,·0x1 |
Offset 219, 14 lines modified | Offset 221, 15 lines modified | ||
219 | ····invoke-static·{v14},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 221 | ····invoke-static·{v14},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
220 | ····move-result-object·v14 | 222 | ····move-result-object·v14 |
221 | ····aput-object·v14,·v12,·v13 | 223 | ····aput-object·v14,·v12,·v13 |
224 | ····.line·72 | ||
222 | ····invoke-static·{v11,·v12},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 225 | ····invoke-static·{v11,·v12},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
223 | ····move-result-object·v11 | 226 | ····move-result-object·v11 |
224 | ····invoke-static·{v10,·v11},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 227 | ····invoke-static·{v10,·v11},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
225 | ····goto·:goto_3 | 228 | ····goto·:goto_3 |
Offset 281, 14 lines modified | Offset 284, 15 lines modified | ||
281 | ····.line·96 | 284 | ····.line·96 |
282 | ····.local·v1,·"flagAutoComplete":Z | 285 | ····.local·v1,·"flagAutoComplete":Z |
283 | ····:goto_8 | 286 | ····:goto_8 |
284 | ····iget-boolean·v10,·p0,·Lorg/smc/inputmethod/indic/InputAttributes;->mIsPasswordField:Z | 287 | ····iget-boolean·v10,·p0,·Lorg/smc/inputmethod/indic/InputAttributes;->mIsPasswordField:Z |
285 | ····if-nez·v10,·:cond_8 | 288 | ····if-nez·v10,·:cond_8 |
289 | ····.line·97 | ||
286 | ····invoke-static·{v9},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isEmailVariation(I)Z | 290 | ····invoke-static·{v9},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isEmailVariation(I)Z |
287 | ····move-result·v10 | 291 | ····move-result·v10 |
288 | ····if-nez·v10,·:cond_8 | 292 | ····if-nez·v10,·:cond_8 |
289 | ····const/16·v10,·0x10 | 293 | ····const/16·v10,·0x10 |
Offset 324, 24 lines modified | Offset 328, 26 lines modified | ||
324 | ····iput-boolean·v10,·p0,·Lorg/smc/inputmethod/indic/InputAttributes;->mShouldInsertSpacesAutomatically:Z | 328 | ····iput-boolean·v10,·p0,·Lorg/smc/inputmethod/indic/InputAttributes;->mShouldInsertSpacesAutomatically:Z |
325 | ····.line·106 | 329 | ····.line·106 |
326 | ····iget-boolean·v10,·p0,·Lorg/smc/inputmethod/indic/InputAttributes;->mIsPasswordField:Z | 330 | ····iget-boolean·v10,·p0,·Lorg/smc/inputmethod/indic/InputAttributes;->mIsPasswordField:Z |
327 | ····if-nez·v10,·:cond_9 | 331 | ····if-nez·v10,·:cond_9 |
332 | ····.line·107 | ||
328 | ····invoke-static·{v9},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isEmailVariation(I)Z | 333 | ····invoke-static·{v9},·Lcom/android/inputmethod/latin/utils/InputTypeUtils;->isEmailVariation(I)Z |
329 | ····move-result·v10 | 334 | ····move-result·v10 |
330 | ····if-nez·v10,·:cond_9 | 335 | ····if-nez·v10,·:cond_9 |
331 | ····const/16·v10,·0x10 | 336 | ····const/16·v10,·0x10 |
332 | ····if-eq·v10,·v9,·:cond_9 | 337 | ····if-eq·v10,·v9,·:cond_9 |
338 | ····.line·109 | ||
Max diff block lines reached; 1766/4141 bytes (42.65%) of diff not shown. |
Offset 119, 14 lines modified | Offset 119, 15 lines modified | ||
119 | ····move-result·v1 | 119 | ····move-result·v1 |
120 | ····if-nez·v1,·:cond_0 | 120 | ····if-nez·v1,·:cond_0 |
121 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/InputView$MotionEventForwarder;->mReceiverView:Landroid/view/View; | 121 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/InputView$MotionEventForwarder;->mReceiverView:Landroid/view/View; |
122 | ····.line·152 | ||
122 | ····invoke-virtual·{v1},·Landroid/view/View;->getVisibility()I | 123 | ····invoke-virtual·{v1},·Landroid/view/View;->getVisibility()I |
123 | ····move-result·v1 | 124 | ····move-result·v1 |
124 | ····if-eqz·v1,·:cond_1 | 125 | ····if-eqz·v1,·:cond_1 |
125 | ····.line·168 | 126 | ····.line·168 |
Offset 71, 14 lines modified | Offset 71, 15 lines modified | ||
71 | ····move-result·v0 | 71 | ····move-result·v0 |
72 | ····if-eqz·v0,·:cond_0 | 72 | ····if-eqz·v0,·:cond_0 |
73 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/InputView;->mMainKeyboardView:Lcom/android/inputmethod/keyboard/MainKeyboardView; | 73 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/InputView;->mMainKeyboardView:Lcom/android/inputmethod/keyboard/MainKeyboardView; |
74 | ····.line·61 | ||
74 | ····invoke-virtual·{v0},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->isShowingMoreKeysPanel()Z | 75 | ····invoke-virtual·{v0},·Lcom/android/inputmethod/keyboard/MainKeyboardView;->isShowingMoreKeysPanel()Z |
75 | ····move-result·v0 | 76 | ····move-result·v0 |
76 | ····if-eqz·v0,·:cond_0 | 77 | ····if-eqz·v0,·:cond_0 |
77 | ····.line·64 | 78 | ····.line·64 |
Offset 99, 14 lines modified | Offset 100, 15 lines modified | ||
99 | .method·protected·onFinishInflate()V | 100 | .method·protected·onFinishInflate()V |
100 | ····.locals·3 | 101 | ····.locals·3 |
101 | ····.prologue | 102 | ····.prologue |
102 | ····.line·45 | 103 | ····.line·45 |
103 | ····const·v1,·0x7f100076 | 104 | ····const·v1,·0x7f100076 |
105 | ····.line·46 | ||
104 | ····invoke-virtual·{p0,·v1},·Lorg/smc/inputmethod/indic/InputView;->findViewById(I)Landroid/view/View; | 106 | ····invoke-virtual·{p0,·v1},·Lorg/smc/inputmethod/indic/InputView;->findViewById(I)Landroid/view/View; |
105 | ····move-result-object·v0 | 107 | ····move-result-object·v0 |
106 | ····check-cast·v0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | 108 | ····check-cast·v0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; |
107 | ····.line·47 | 109 | ····.line·47 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/LatinIME; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/LatinIME; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/LatinIME; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·144 | 27 | ····.line·144 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$1;->this$0:Lorg/smc/inputmethod/indic/LatinIME; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$1;->this$0:Lorg/smc/inputmethod/indic/LatinIME; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/LatinIME; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/LatinIME; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/LatinIME; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·1752 | 24 | ····.line·1752 |
24 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$3;->this$0:Lorg/smc/inputmethod/indic/LatinIME; | 25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$3;->this$0:Lorg/smc/inputmethod/indic/LatinIME; |
25 | ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/LatinIME; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/LatinIME; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/LatinIME; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·797 | 27 | ····.line·797 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$2;->this$0:Lorg/smc/inputmethod/indic/LatinIME; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$2;->this$0:Lorg/smc/inputmethod/indic/LatinIME; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$languageSelectionTitle:Ljava/lang/CharSequence; | 22 | .field·final·synthetic·val$languageSelectionTitle:Ljava/lang/CharSequence; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;Ljava/lang/CharSequence;)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/LatinIME;Ljava/lang/CharSequence;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/LatinIME; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·1789 | 28 | ····.line·1789 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$4;->this$0:Lorg/smc/inputmethod/indic/LatinIME; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$4;->this$0:Lorg/smc/inputmethod/indic/LatinIME; |
29 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/LatinIME$4;->val$languageSelectionTitle:Ljava/lang/CharSequence; | 30 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/LatinIME$4;->val$languageSelectionTitle:Ljava/lang/CharSequence; |
Offset 56, 25 lines modified | Offset 57, 27 lines modified | ||
56 | ····:goto_0 | 57 | ····:goto_0 |
57 | ····return-void | 58 | ····return-void |
58 | ····.line·1795 | 59 | ····.line·1795 |
59 | ····:pswitch_0 | 60 | ····:pswitch_0 |
60 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$4;->this$0:Lorg/smc/inputmethod/indic/LatinIME; | 61 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/LatinIME$4;->this$0:Lorg/smc/inputmethod/indic/LatinIME; |
62 | ····.line·1796 | ||
61 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mRichImm:Lorg/smc/inputmethod/indic/RichInputMethodManager; | 63 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mRichImm:Lorg/smc/inputmethod/indic/RichInputMethodManager; |
62 | ····invoke-static·{v1},·Lorg/smc/inputmethod/indic/LatinIME;->access$1200(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/RichInputMethodManager; | 64 | ····invoke-static·{v1},·Lorg/smc/inputmethod/indic/LatinIME;->access$1200(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/RichInputMethodManager; |
63 | ····move-result-object·v1 | 65 | ····move-result-object·v1 |
64 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodIdOfThisIme()Ljava/lang/String; | 66 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodIdOfThisIme()Ljava/lang/String; |
65 | ····move-result-object·v1 | 67 | ····move-result-object·v1 |
66 | ····const/high16·v2,·0x14200000 | 68 | ····const/high16·v2,·0x14200000 |
69 | ····.line·1795 | ||
67 | ····invoke-static·{v1,·v2},·Lcom/android/inputmethod/latin/utils/IntentUtils;->getInputLanguageSelectionIntent(Ljava/lang/String;I)Landroid/content/Intent; | 70 | ····invoke-static·{v1,·v2},·Lcom/android/inputmethod/latin/utils/IntentUtils;->getInputLanguageSelectionIntent(Ljava/lang/String;I)Landroid/content/Intent; |
68 | ····move-result-object·v0 | 71 | ····move-result-object·v0 |
69 | ····.line·1800 | 72 | ····.line·1800 |
70 | ····.local·v0,·"intent":Landroid/content/Intent; | 73 | ····.local·v0,·"intent":Landroid/content/Intent; |
71 | ····const-string·v1,·"android.intent.extra.TITLE" | 74 | ····const-string·v1,·"android.intent.extra.TITLE" |
Offset 53, 14 lines modified | Offset 53, 15 lines modified | ||
53 | ····.prologue | 53 | ····.prologue |
54 | ····.line·495 | 54 | ····.line·495 |
55 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodManager()Landroid/view/inputmethod/InputMethodManager; | 55 | ····invoke-virtual·{p2},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodManager()Landroid/view/inputmethod/InputMethodManager; |
56 | ····move-result-object·v3 | 56 | ····move-result-object·v3 |
57 | ····.line·496 | ||
57 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodManager;->getCurrentInputMethodSubtype()Landroid/view/inputmethod/InputMethodSubtype; | 58 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodManager;->getCurrentInputMethodSubtype()Landroid/view/inputmethod/InputMethodSubtype; |
58 | ····move-result-object·v0 | 59 | ····move-result-object·v0 |
59 | ····.line·497 | 60 | ····.line·497 |
60 | ····.local·v0,·"currentSubtype":Landroid/view/inputmethod/InputMethodSubtype; | 61 | ····.local·v0,·"currentSubtype":Landroid/view/inputmethod/InputMethodSubtype; |
61 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/LatinIME$SubtypeState;->mLastActiveSubtype:Landroid/view/inputmethod/InputMethodSubtype; | 62 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/LatinIME$SubtypeState;->mLastActiveSubtype:Landroid/view/inputmethod/InputMethodSubtype; |
Offset 81, 20 lines modified | Offset 82, 22 lines modified | ||
81 | ····iput-boolean·v3,·p0,·Lorg/smc/inputmethod/indic/LatinIME$SubtypeState;->mCurrentSubtypeHasBeenUsed:Z | 82 | ····iput-boolean·v3,·p0,·Lorg/smc/inputmethod/indic/LatinIME$SubtypeState;->mCurrentSubtypeHasBeenUsed:Z |
82 | ····.line·503 | 83 | ····.line·503 |
83 | ····:cond_0 | 84 | ····:cond_0 |
84 | ····if-eqz·v1,·:cond_1 | 85 | ····if-eqz·v1,·:cond_1 |
86 | ····.line·504 | ||
85 | ····invoke-virtual·{p2,·v2},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->checkIfSubtypeBelongsToThisImeAndEnabled(Landroid/view/inputmethod/InputMethodSubtype;)Z | 87 | ····invoke-virtual·{p2,·v2},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->checkIfSubtypeBelongsToThisImeAndEnabled(Landroid/view/inputmethod/InputMethodSubtype;)Z |
86 | ····move-result·v3 | 88 | ····move-result·v3 |
87 | ····if-eqz·v3,·:cond_1 | 89 | ····if-eqz·v3,·:cond_1 |
90 | ····.line·505 | ||
88 | ····invoke-virtual·{v0,·v2},·Landroid/view/inputmethod/InputMethodSubtype;->equals(Ljava/lang/Object;)Z | 91 | ····invoke-virtual·{v0,·v2},·Landroid/view/inputmethod/InputMethodSubtype;->equals(Ljava/lang/Object;)Z |
89 | ····move-result·v3 | 92 | ····move-result·v3 |
90 | ····if-nez·v3,·:cond_1 | 93 | ····if-nez·v3,·:cond_1 |
91 | ····.line·506 | 94 | ····.line·506 |
Offset 222, 44 lines modified | Offset 222, 48 lines modified | ||
222 | ····.line·237 | 222 | ····.line·237 |
223 | ····:pswitch_1 | 223 | ····:pswitch_1 |
224 | ····#·invokes:·Lorg/smc/inputmethod/indic/LatinIME;->getCurrentAutoCapsState()I | 224 | ····#·invokes:·Lorg/smc/inputmethod/indic/LatinIME;->getCurrentAutoCapsState()I |
225 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$200(Lorg/smc/inputmethod/indic/LatinIME;)I | 225 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$200(Lorg/smc/inputmethod/indic/LatinIME;)I |
226 | ····move-result·v4 | 226 | ····move-result·v4 |
227 | ····.line·238 | ||
227 | ····#·invokes:·Lorg/smc/inputmethod/indic/LatinIME;->getCurrentRecapitalizeState()I | 228 | ····#·invokes:·Lorg/smc/inputmethod/indic/LatinIME;->getCurrentRecapitalizeState()I |
228 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$300(Lorg/smc/inputmethod/indic/LatinIME;)I | 229 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$300(Lorg/smc/inputmethod/indic/LatinIME;)I |
229 | ····move-result·v5 | 230 | ····move-result·v5 |
231 | ····.line·237 | ||
230 | ····invoke-virtual·{v3,·v4,·v5},·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->requestUpdatingShiftState(II)V | 232 | ····invoke-virtual·{v3,·v4,·v5},·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->requestUpdatingShiftState(II)V |
231 | ····goto·:goto_0 | 233 | ····goto·:goto_0 |
232 | ····.line·232 | 234 | ····.line·232 |
233 | ····:pswitch_2 | 235 | ····:pswitch_2 |
234 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/LatinIME$UIHandler;->cancelUpdateSuggestionStrip()V | 236 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/LatinIME$UIHandler;->cancelUpdateSuggestionStrip()V |
235 | ····.line·233 | 237 | ····.line·233 |
236 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mInputLogic:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 238 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mInputLogic:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
237 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$100(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 239 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$100(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
238 | ····move-result-object·v4 | 240 | ····move-result-object·v4 |
241 | ····.line·234 | ||
239 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mSettings:Lorg/smc/inputmethod/indic/settings/Settings; | 242 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mSettings:Lorg/smc/inputmethod/indic/settings/Settings; |
240 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$000(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/settings/Settings; | 243 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$000(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/settings/Settings; |
241 | ····move-result-object·v5 | 244 | ····move-result-object·v5 |
242 | ····invoke-virtual·{v5},·Lorg/smc/inputmethod/indic/settings/Settings;->getCurrent()Lorg/smc/inputmethod/indic/settings/SettingsValues; | 245 | ····invoke-virtual·{v5},·Lorg/smc/inputmethod/indic/settings/Settings;->getCurrent()Lorg/smc/inputmethod/indic/settings/SettingsValues; |
243 | ····move-result-object·v5 | 246 | ····move-result-object·v5 |
244 | ····iget·v6,·p1,·Landroid/os/Message;->arg1:I | 247 | ····iget·v6,·p1,·Landroid/os/Message;->arg1:I |
248 | ····.line·233 | ||
245 | ····invoke-virtual·{v4,·v5,·v6},·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->performUpdateSuggestionStripSync(Lorg/smc/inputmethod/indic/settings/SettingsValues;I)V | 249 | ····invoke-virtual·{v4,·v5,·v6},·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->performUpdateSuggestionStripSync(Lorg/smc/inputmethod/indic/settings/SettingsValues;I)V |
246 | ····goto·:goto_0 | 250 | ····goto·:goto_0 |
247 | ····.line·241 | 251 | ····.line·241 |
248 | ····:pswitch_3 | 252 | ····:pswitch_3 |
249 | ····iget·v4,·p1,·Landroid/os/Message;->arg1:I | 253 | ····iget·v4,·p1,·Landroid/os/Message;->arg1:I |
Offset 302, 14 lines modified | Offset 306, 15 lines modified | ||
302 | ····.line·250 | 306 | ····.line·250 |
303 | ····:pswitch_4 | 307 | ····:pswitch_4 |
304 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mInputLogic:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 308 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mInputLogic:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
305 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$100(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 309 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$100(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
306 | ····move-result-object·v4 | 310 | ····move-result-object·v4 |
311 | ····.line·251 | ||
307 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mSettings:Lorg/smc/inputmethod/indic/settings/Settings; | 312 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mSettings:Lorg/smc/inputmethod/indic/settings/Settings; |
308 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$000(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/settings/Settings; | 313 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$000(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/settings/Settings; |
309 | ····move-result-object·v7 | 314 | ····move-result-object·v7 |
310 | ····invoke-virtual·{v7},·Lorg/smc/inputmethod/indic/settings/Settings;->getCurrent()Lorg/smc/inputmethod/indic/settings/SettingsValues; | 315 | ····invoke-virtual·{v7},·Lorg/smc/inputmethod/indic/settings/Settings;->getCurrent()Lorg/smc/inputmethod/indic/settings/SettingsValues; |
Offset 318, 25 lines modified | Offset 323, 28 lines modified | ||
318 | ····iget·v8,·p1,·Landroid/os/Message;->arg1:I | 323 | ····iget·v8,·p1,·Landroid/os/Message;->arg1:I |
319 | ····if-ne·v8,·v5,·:cond_4 | 324 | ····if-ne·v8,·v5,·:cond_4 |
320 | ····:goto_2 | 325 | ····:goto_2 |
321 | ····iget-object·v6,·v0,·Lorg/smc/inputmethod/indic/LatinIME;->mKeyboardSwitcher:Lcom/android/inputmethod/keyboard/KeyboardSwitcher; | 326 | ····iget-object·v6,·v0,·Lorg/smc/inputmethod/indic/LatinIME;->mKeyboardSwitcher:Lcom/android/inputmethod/keyboard/KeyboardSwitcher; |
327 | ····.line·253 | ||
322 | ····invoke-virtual·{v6},·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->getCurrentKeyboardScriptId()I | 328 | ····invoke-virtual·{v6},·Lcom/android/inputmethod/keyboard/KeyboardSwitcher;->getCurrentKeyboardScriptId()I |
323 | ····move-result·v6 | 329 | ····move-result·v6 |
330 | ····.line·250 | ||
324 | ····invoke-virtual·{v4,·v7,·v5,·v6},·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->restartSuggestionsOnWordTouchedByCursor(Lorg/smc/inputmethod/indic/settings/SettingsValues;ZI)V | 331 | ····invoke-virtual·{v4,·v7,·v5,·v6},·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->restartSuggestionsOnWordTouchedByCursor(Lorg/smc/inputmethod/indic/settings/SettingsValues;ZI)V |
325 | ····goto·:goto_0 | 332 | ····goto·:goto_0 |
326 | ····:cond_4 | 333 | ····:cond_4 |
327 | ····move·v5,·v6 | 334 | ····move·v5,·v6 |
335 | ····.line·251 | ||
328 | ····goto·:goto_2 | 336 | ····goto·:goto_2 |
329 | ····.line·258 | 337 | ····.line·258 |
330 | ····:pswitch_5 | 338 | ····:pswitch_5 |
331 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/LatinIME$UIHandler;->postWaitForDictionaryLoad()V | 339 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/LatinIME$UIHandler;->postWaitForDictionaryLoad()V |
332 | ····.line·259 | 340 | ····.line·259 |
Offset 348, 14 lines modified | Offset 356, 15 lines modified | ||
348 | ····.line·262 | 356 | ····.line·262 |
349 | ····:pswitch_6 | 357 | ····:pswitch_6 |
350 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mInputLogic:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 358 | ····#·getter·for:·Lorg/smc/inputmethod/indic/LatinIME;->mInputLogic:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
351 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$100(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 359 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/LatinIME;->access$100(Lorg/smc/inputmethod/indic/LatinIME;)Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
Max diff block lines reached; 3677/7642 bytes (48.12%) of diff not shown. |
Offset 245, 15 lines modified | Offset 245, 15 lines modified | ||
245 | ····.line·524 | 245 | ····.line·524 |
246 | ····new-instance·v0,·Lorg/smc/inputmethod/indic/SpecialKeyDetector; | 246 | ····new-instance·v0,·Lorg/smc/inputmethod/indic/SpecialKeyDetector; |
247 | ····invoke-direct·{v0,·p0},·Lorg/smc/inputmethod/indic/SpecialKeyDetector;-><init>(Landroid/content/Context;)V | 247 | ····invoke-direct·{v0,·p0},·Lorg/smc/inputmethod/indic/SpecialKeyDetector;-><init>(Landroid/content/Context;)V |
248 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/indic/LatinIME;->mSpecialKeyDetector:Lorg/smc/inputmethod/indic/SpecialKeyDetector; | 248 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/indic/LatinIME;->mSpecialKeyDetector:Lorg/smc/inputmethod/indic/SpecialKeyDetector; |
249 |
····.line·52 |
249 | ····.line·526 |
250 | ····invoke-static·{p0},·Lorg/smc/inputmethod/compat/InputMethodServiceCompatUtils;->enableHardwareAcceleration(Landroid/inputmethodservice/InputMethodService;)Z | 250 | ····invoke-static·{p0},·Lorg/smc/inputmethod/compat/InputMethodServiceCompatUtils;->enableHardwareAcceleration(Landroid/inputmethodservice/InputMethodService;)Z |
251 | ····move-result·v0 | 251 | ····move-result·v0 |
252 | ····iput-boolean·v0,·p0,·Lorg/smc/inputmethod/indic/LatinIME;->mIsHardwareAcceleratedDrawingEnabled:Z | 252 | ····iput-boolean·v0,·p0,·Lorg/smc/inputmethod/indic/LatinIME;->mIsHardwareAcceleratedDrawingEnabled:Z |
253 | ····.line·527 | 253 | ····.line·527 |
Offset 753, 15 lines modified | Offset 753, 15 lines modified | ||
753 | ····.line·1670 | 753 | ····.line·1670 |
754 | ····:cond_2 | 754 | ····:cond_2 |
755 | ····rem-int/lit8·v2,·p2,·0x2 | 755 | ····rem-int/lit8·v2,·p2,·0x2 |
756 | ····if-eqz·v2,·:cond_0 | 756 | ····if-eqz·v2,·:cond_0 |
757 |
····.line·167 |
757 | ····.line·1675 |
758 | ····:cond_3 | 758 | ····:cond_3 |
759 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/AudioAndHapticFeedbackManager;->getInstance()Lorg/smc/inputmethod/indic/AudioAndHapticFeedbackManager; | 759 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/AudioAndHapticFeedbackManager;->getInstance()Lorg/smc/inputmethod/indic/AudioAndHapticFeedbackManager; |
760 | ····move-result-object·v0 | 760 | ····move-result-object·v0 |
761 | ····.line·1676 | 761 | ····.line·1676 |
762 | ····.local·v0,·"feedbackManager":Lorg/smc/inputmethod/indic/AudioAndHapticFeedbackManager; | 762 | ····.local·v0,·"feedbackManager":Lorg/smc/inputmethod/indic/AudioAndHapticFeedbackManager; |
Offset 1057, 14 lines modified | Offset 1057, 15 lines modified | ||
1057 | ····move-object/from16·v0,·p1 | 1057 | ····move-object/from16·v0,·p1 |
1058 | ····iget·v0,·v0,·Landroid/view/inputmethod/EditorInfo;->inputType:I | 1058 | ····iget·v0,·v0,·Landroid/view/inputmethod/EditorInfo;->inputType:I |
1059 | ····move/from16·v16,·v0 | 1059 | ····move/from16·v16,·v0 |
1060 | ····.line·878 | ||
1060 | ····invoke-static/range·{v16·..·v16},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1061 | ····invoke-static/range·{v16·..·v16},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
1061 | ····move-result-object·v16 | 1062 | ····move-result-object·v16 |
1062 | ····aput-object·v16,·v14,·v15 | 1063 | ····aput-object·v16,·v14,·v15 |
1063 | ····const/4·v15,·0x1 | 1064 | ····const/4·v15,·0x1 |
Offset 1077, 26 lines modified | Offset 1078, 28 lines modified | ||
1077 | ····invoke-static/range·{v16·..·v16},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1078 | ····invoke-static/range·{v16·..·v16},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
1078 | ····move-result-object·v16 | 1079 | ····move-result-object·v16 |
1079 | ····aput-object·v16,·v14,·v15 | 1080 | ····aput-object·v16,·v14,·v15 |
1081 | ····.line·877 | ||
1080 | ····invoke-static·{v13,·v14},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1082 | ····invoke-static·{v13,·v14},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
1081 | ····move-result-object·v13 | 1083 | ····move-result-object·v13 |
1082 | ····invoke-virtual·{v12,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1084 | ····invoke-virtual·{v12,·v13},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
1083 | ····move-result-object·v12 | 1085 | ····move-result-object·v12 |
1084 | ····invoke-virtual·{v12},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1086 | ····invoke-virtual·{v12},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
1085 | ····move-result-object·v12 | 1087 | ····move-result-object·v12 |
1088 | ····.line·876 | ||
1086 | ····invoke-static·{v11,·v12},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I | 1089 | ····invoke-static·{v11,·v12},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
1087 | ····.line·879 | 1090 | ····.line·879 |
1088 | ····sget-object·v12,·Lorg/smc/inputmethod/indic/LatinIME;->TAG:Ljava/lang/String; | 1091 | ····sget-object·v12,·Lorg/smc/inputmethod/indic/LatinIME;->TAG:Ljava/lang/String; |
1089 | ····new-instance·v11,·Ljava/lang/StringBuilder; | 1092 | ····new-instance·v11,·Ljava/lang/StringBuilder; |
Offset 1502, 14 lines modified | Offset 1505, 15 lines modified | ||
1502 | ····.line·967 | 1505 | ····.line·967 |
1503 | ····.end·local·v3····#·"currentLocale":Ljava/util/Locale; | 1506 | ····.end·local·v3····#·"currentLocale":Ljava/util/Locale; |
1504 | ····.local·v8,·"needToCallLoadKeyboardLater":Z | 1507 | ····.local·v8,·"needToCallLoadKeyboardLater":Z |
1505 | ····:goto_6 | 1508 | ····:goto_6 |
1506 | ····if-nez·v6,·:cond_9 | 1509 | ····if-nez·v6,·:cond_9 |
1510 | ····.line·968 | ||
1507 | ····invoke-virtual/range·{p0·..·p0},·Lorg/smc/inputmethod/indic/LatinIME;->getResources()Landroid/content/res/Resources; | 1511 | ····invoke-virtual/range·{p0·..·p0},·Lorg/smc/inputmethod/indic/LatinIME;->getResources()Landroid/content/res/Resources; |
1508 | ····move-result-object·v11 | 1512 | ····move-result-object·v11 |
1509 | ····invoke-virtual·{v11},·Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration; | 1513 | ····invoke-virtual·{v11},·Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration; |
1510 | ····move-result-object·v11 | 1514 | ····move-result-object·v11 |
Offset 1552, 18 lines modified | Offset 1556, 20 lines modified | ||
1552 | ····.line·980 | 1556 | ····.line·980 |
1553 | ····:cond_b | 1557 | ····:cond_b |
1554 | ····invoke-direct/range·{p0·..·p0},·Lorg/smc/inputmethod/indic/LatinIME;->getCurrentAutoCapsState()I | 1558 | ····invoke-direct/range·{p0·..·p0},·Lorg/smc/inputmethod/indic/LatinIME;->getCurrentAutoCapsState()I |
1555 | ····move-result·v11 | 1559 | ····move-result·v11 |
Max diff block lines reached; 26849/29878 bytes (89.86%) of diff not shown. |
Offset 61, 60 lines modified | Offset 61, 55 lines modified | ||
61 | ····invoke-direct/range·{v0·..·v6},·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;-><init>(Ljava/lang/String;IILorg/smc/inputmethod/indic/Dictionary;II)V | 61 | ····invoke-direct/range·{v0·..·v6},·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;-><init>(Ljava/lang/String;IILorg/smc/inputmethod/indic/Dictionary;II)V |
62 | ····return-object·v0 | 62 | ····return-object·v0 |
63 | .end·method | 63 | .end·method |
64 | .method·public·static·newPunctuationSuggestions([Ljava/lang/String;)Lorg/smc/inputmethod/indic/PunctuationSuggestions; | 64 | .method·public·static·newPunctuationSuggestions([Ljava/lang/String;)Lorg/smc/inputmethod/indic/PunctuationSuggestions; |
65 |
····.locals· |
65 | ····.locals·5 |
66 | ····.param·p0,·"punctuationSpecs"····#·[Ljava/lang/String; | 66 | ····.param·p0,·"punctuationSpecs"····#·[Ljava/lang/String; |
67 | ····.prologue | 67 | ····.prologue |
68 | ····.line·52 | 68 | ····.line·52 |
69 |
····new-instance·v |
69 | ····new-instance·v1,·Ljava/util/ArrayList; |
70 |
····invoke-direct·{v |
70 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
71 | ····.line·53 | 71 | ····.line·53 |
72 |
····.local·v |
72 | ····.local·v1,·"puncuationsList":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" |
73 |
···· |
73 | ····array-length·v3,·p0 |
74 |
···· |
74 | ····const/4·v2,·0x0 |
75 | ····array-length·v2,·v0 | ||
76 | ····.local·v2,·"len$":I | ||
77 | ····const/4·v1,·0x0 | ||
78 | ····.local·v1,·"i$":I | ||
79 | ····:goto_0 | 75 | ····:goto_0 |
80 |
····if-ge·v |
76 | ····if-ge·v2,·v3,·:cond_0 |
81 |
····aget-object·v |
77 | ····aget-object·v0,·p0,·v2 |
82 | ····.line·54 | 78 | ····.line·54 |
83 |
····.local·v |
79 | ····.local·v0,·"puncSpec":Ljava/lang/String; |
84 |
····invoke-static·{v |
80 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/PunctuationSuggestions;->newHardCodedWordInfo(Ljava/lang/String;)Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; |
85 |
····move-result-object·v |
81 | ····move-result-object·v4 |
86 |
····invoke-virtual·{v |
82 | ····invoke-virtual·{v1,·v4},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
87 | ····.line·53 | 83 | ····.line·53 |
88 |
····add-int/lit8·v |
84 | ····add-int/lit8·v2,·v2,·0x1 |
89 | ····goto·:goto_0 | 85 | ····goto·:goto_0 |
90 | ····.line·56 | 86 | ····.line·56 |
91 |
····.end·local·v |
87 | ····.end·local·v0····#·"puncSpec":Ljava/lang/String; |
92 | ····:cond_0 | 88 | ····:cond_0 |
93 |
····new-instance·v |
89 | ····new-instance·v2,·Lorg/smc/inputmethod/indic/PunctuationSuggestions; |
94 |
····invoke-direct·{v |
90 | ····invoke-direct·{v2,·v1},·Lorg/smc/inputmethod/indic/PunctuationSuggestions;-><init>(Ljava/util/ArrayList;)V |
95 |
····return-object·v |
91 | ····return-object·v2 |
96 | .end·method | 92 | .end·method |
97 | #·virtual·methods | 93 | #·virtual·methods |
98 | .method·public·getInfo(I)Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; | 94 | .method·public·getInfo(I)Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; |
99 | ····.locals·1 | 95 | ····.locals·1 |
100 | ····.param·p1,·"index"····#·I | 96 | ····.param·p1,·"index"····#·I |
Offset 169, 21 lines modified | Offset 164, 24 lines modified | ||
169 | ····.line·68 | 164 | ····.line·68 |
170 | ····.local·v0,·"code":I | 165 | ····.local·v0,·"code":I |
171 | ····const/4·v2,·-0x4 | 166 | ····const/4·v2,·-0x4 |
172 | ····if-ne·v0,·v2,·:cond_0 | 167 | ····if-ne·v0,·v2,·:cond_0 |
168 | ····.line·69 | ||
173 | ····invoke-static·{v1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getOutputText(Ljava/lang/String;)Ljava/lang/String; | 169 | ····invoke-static·{v1},·Lcom/android/inputmethod/keyboard/internal/KeySpecParser;->getOutputText(Ljava/lang/String;)Ljava/lang/String; |
174 | ····move-result-object·v2 | 170 | ····move-result-object·v2 |
171 | ····.line·68 | ||
175 | ····:goto_0 | 172 | ····:goto_0 |
176 | ····return-object·v2 | 173 | ····return-object·v2 |
174 | ····.line·70 | ||
177 | ····:cond_0 | 175 | ····:cond_0 |
178 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/StringUtils;->newSingleCodePointString(I)Ljava/lang/String; | 176 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/StringUtils;->newSingleCodePointString(I)Ljava/lang/String; |
179 | ····move-result-object·v2 | 177 | ····move-result-object·v2 |
180 | ····goto·:goto_0 | 178 | ····goto·:goto_0 |
181 | .end·method | 179 | .end·method |
Offset 211, 14 lines modified | Offset 209, 15 lines modified | ||
211 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 209 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
212 | ····move-result-object·v0 | 210 | ····move-result-object·v0 |
213 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/PunctuationSuggestions;->mSuggestedWordInfoList:Ljava/util/ArrayList; | 211 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/PunctuationSuggestions;->mSuggestedWordInfoList:Ljava/util/ArrayList; |
212 | ····.line·106 | ||
214 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->toArray()[Ljava/lang/Object; | 213 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->toArray()[Ljava/lang/Object; |
215 | ····move-result-object·v1 | 214 | ····move-result-object·v1 |
216 | ····invoke-static·{v1},·Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String; | 215 | ····invoke-static·{v1},·Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String; |
Max diff block lines reached; 242/4123 bytes (5.87%) of diff not shown. |
Offset 31, 10 lines modified | Offset 31, 9 lines modified | ||
31 | .method·public·constructor·<init>()V | 31 | .method·public·constructor·<init>()V |
32 | ····.locals·0 | 32 | ····.locals·0 |
33 | ····.prologue | 33 | ····.prologue |
34 | ····.line·10 | 34 | ····.line·10 |
35 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 35 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
36 | ····.line·4369 | ||
37 | ····return-void | 36 | ····return-void |
38 | .end·method | 37 | .end·method |
Offset 224, 14 lines modified | Offset 224, 15 lines modified | ||
224 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/RichInputConnection;->mCommittedTextBeforeComposingText:Ljava/lang/StringBuilder; | 224 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/RichInputConnection;->mCommittedTextBeforeComposingText:Ljava/lang/StringBuilder; |
225 | ····invoke-direct·{v7,·v8},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/CharSequence;)V | 225 | ····invoke-direct·{v7,·v8},·Ljava/lang/StringBuilder;-><init>(Ljava/lang/CharSequence;)V |
226 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/RichInputConnection;->mComposingText:Ljava/lang/StringBuilder; | 226 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/RichInputConnection;->mComposingText:Ljava/lang/StringBuilder; |
227 | ····.line·127 | ||
227 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; | 228 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder; |
228 | ····move-result-object·v4 | 229 | ····move-result-object·v4 |
229 | ····.line·128 | 230 | ····.line·128 |
230 | ····.local·v4,·"internal":Ljava/lang/StringBuilder; | 231 | ····.local·v4,·"internal":Ljava/lang/StringBuilder; |
231 | ····if-eqz·v3,·:cond_0 | 232 | ····if-eqz·v3,·:cond_0 |
Offset 291, 14 lines modified | Offset 292, 15 lines modified | ||
291 | ····:goto_1 | 292 | ····:goto_1 |
292 | ····iget·v7,·v3,·Landroid/view/inputmethod/ExtractedText;->selectionStart:I | 293 | ····iget·v7,·v3,·Landroid/view/inputmethod/ExtractedText;->selectionStart:I |
293 | ····iget·v8,·p0,·Lorg/smc/inputmethod/indic/RichInputConnection;->mExpectedSelStart:I | 294 | ····iget·v8,·p0,·Lorg/smc/inputmethod/indic/RichInputConnection;->mExpectedSelStart:I |
294 | ····if-ne·v7,·v8,·:cond_3 | 295 | ····if-ne·v7,·v8,·:cond_3 |
296 | ····.line·137 | ||
295 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 297 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
296 | ····move-result-object·v7 | 298 | ····move-result-object·v7 |
297 | ····invoke-virtual·{v6,·v7},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 299 | ····invoke-virtual·{v6,·v7},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
298 | ····move-result·v7 | 300 | ····move-result·v7 |
Offset 337, 14 lines modified | Offset 339, 15 lines modified | ||
337 | ····const-string·v8,·"\nExpected·text·=·" | 339 | ····const-string·v8,·"\nExpected·text·=·" |
338 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 340 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
339 | ····move-result-object·v7 | 341 | ····move-result-object·v7 |
342 | ····.line·140 | ||
340 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->length()I | 343 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->length()I |
341 | ····move-result·v8 | 344 | ····move-result·v8 |
342 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 345 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
343 | ····move-result-object·v7 | 346 | ····move-result-object·v7 |
Offset 361, 14 lines modified | Offset 364, 15 lines modified | ||
361 | ····const-string·v8,·"\nActual·text·=·" | 364 | ····const-string·v8,·"\nActual·text·=·" |
362 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 365 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
363 | ····move-result-object·v7 | 366 | ····move-result-object·v7 |
367 | ····.line·141 | ||
364 | ····invoke-virtual·{v6},·Ljava/lang/String;->length()I | 368 | ····invoke-virtual·{v6},·Ljava/lang/String;->length()I |
365 | ····move-result·v8 | 369 | ····move-result·v8 |
366 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 370 | ····invoke-virtual·{v7,·v8},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
367 | ····move-result-object·v7 | 371 | ····move-result-object·v7 |
Offset 393, 32 lines modified | Offset 397, 35 lines modified | ||
393 | ····check-cast·v7,·Lorg/smc/inputmethod/indic/LatinIME; | 397 | ····check-cast·v7,·Lorg/smc/inputmethod/indic/LatinIME; |
394 | ····invoke-virtual·{v7,·v2},·Lorg/smc/inputmethod/indic/LatinIME;->debugDumpStateAndCrashWithException(Ljava/lang/String;)V | 398 | ····invoke-virtual·{v7,·v2},·Lorg/smc/inputmethod/indic/LatinIME;->debugDumpStateAndCrashWithException(Ljava/lang/String;)V |
395 | ····goto/16·:goto_0 | 399 | ····goto/16·:goto_0 |
396 |
····.line·13 |
400 | ····.line·134 |
397 | ····.end·local·v2····#·"context":Ljava/lang/String; | 401 | ····.end·local·v2····#·"context":Ljava/lang/String; |
398 | ····.end·local·v6····#·"reference":Ljava/lang/String; | 402 | ····.end·local·v6····#·"reference":Ljava/lang/String; |
399 | ····:cond_4 | 403 | ····:cond_4 |
400 | ····invoke-interface·{v1},·Ljava/lang/CharSequence;->length()I | 404 | ····invoke-interface·{v1},·Ljava/lang/CharSequence;->length()I |
401 | ····move-result·v7 | 405 | ····move-result·v7 |
402 | ····sub-int/2addr·v7,·v0 | 406 | ····sub-int/2addr·v7,·v0 |
407 | ····.line·135 | ||
403 | ····invoke-interface·{v1},·Ljava/lang/CharSequence;->length()I | 408 | ····invoke-interface·{v1},·Ljava/lang/CharSequence;->length()I |
404 | ····move-result·v8 | 409 | ····move-result·v8 |
410 | ····.line·134 | ||
405 | ····invoke-interface·{v1,·v7,·v8},·Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence; | 411 | ····invoke-interface·{v1,·v7,·v8},·Ljava/lang/CharSequence;->subSequence(II)Ljava/lang/CharSequence; |
406 | ····move-result-object·v7 | 412 | ····move-result-object·v7 |
413 | ····.line·135 | ||
407 | ····invoke-interface·{v7},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 414 | ····invoke-interface·{v7},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
408 | ····move-result-object·v6 | 415 | ····move-result-object·v6 |
409 | ····goto·:goto_1 | 416 | ····goto·:goto_1 |
410 | ····.line·144 | 417 | ····.line·144 |
Max diff block lines reached; 8314/11188 bytes (74.31%) of diff not shown. |
Offset 69, 125 lines modified | Offset 69, 122 lines modified | ||
69 | ····monitor-exit·p0 | 69 | ····monitor-exit·p0 |
70 | ····throw·v0 | 70 | ····throw·v0 |
71 | .end·method | 71 | .end·method |
72 | .method·public·declared-synchronized·get()Landroid/view/inputmethod/InputMethodInfo; | 72 | .method·public·declared-synchronized·get()Landroid/view/inputmethod/InputMethodInfo; |
73 |
····.locals· |
73 | ····.locals·4 |
74 | ····.prologue | 74 | ····.prologue |
75 | ····.line·223 | 75 | ····.line·223 |
76 | ····monitor-enter·p0 | 76 | ····monitor-enter·p0 |
77 | ····:try_start_0 | 77 | ····:try_start_0 |
78 |
····iget-object·v |
78 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/RichInputMethodManager$InputMethodInfoCache;->mCachedValue:Landroid/view/inputmethod/InputMethodInfo; |
79 |
····if-eqz·v |
79 | ····if-eqz·v1,·:cond_0 |
80 | ····.line·224 | 80 | ····.line·224 |
81 |
····iget-object·v |
81 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/RichInputMethodManager$InputMethodInfoCache;->mCachedValue:Landroid/view/inputmethod/InputMethodInfo; |
82 | ····:try_end_0 | 82 | ····:try_end_0 |
83 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 83 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
84 | ····.line·229 | 84 | ····.line·229 |
85 | ····:goto_0 | 85 | ····:goto_0 |
86 | ····monitor-exit·p0 | 86 | ····monitor-exit·p0 |
87 |
····return-object·v |
87 | ····return-object·v0 |
88 | ····.line·226 | 88 | ····.line·226 |
89 | ····:cond_0 | 89 | ····:cond_0 |
90 | ····:try_start_1 | 90 | ····:try_start_1 |
91 |
····iget-object·v |
91 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/RichInputMethodManager$InputMethodInfoCache;->mImm:Landroid/view/inputmethod/InputMethodManager; |
92 |
····invoke-virtual·{v |
92 | ····invoke-virtual·{v1},·Landroid/view/inputmethod/InputMethodManager;->getInputMethodList()Ljava/util/List; |
93 |
····move-result-object·v |
93 | ····move-result-object·v1 |
94 |
····invoke-interface·{v |
94 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
95 |
····move-result-object·v |
95 | ····move-result-object·v1 |
96 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
97 | ····:cond_1 | 96 | ····:cond_1 |
98 |
····invoke-interface·{v |
97 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
99 | ····move-result·v2 | 98 | ····move-result·v2 |
100 | ····if-eqz·v2,·:cond_2 | 99 | ····if-eqz·v2,·:cond_2 |
101 |
····invoke-interface·{v |
100 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
102 |
····move-result-object·v |
101 | ····move-result-object·v0 |
103 |
····check-cast·v |
102 | ····check-cast·v0,·Landroid/view/inputmethod/InputMethodInfo; |
104 | ····.line·227 | 103 | ····.line·227 |
105 |
····.local·v |
104 | ····.local·v0,·"imi":Landroid/view/inputmethod/InputMethodInfo; |
106 |
····invoke-virtual·{v |
105 | ····invoke-virtual·{v0},·Landroid/view/inputmethod/InputMethodInfo;->getPackageName()Ljava/lang/String; |
107 | ····move-result-object·v2 | 106 | ····move-result-object·v2 |
108 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/RichInputMethodManager$InputMethodInfoCache;->mImePackageName:Ljava/lang/String; | 107 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/RichInputMethodManager$InputMethodInfoCache;->mImePackageName:Ljava/lang/String; |
109 | ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 108 | ····invoke-virtual·{v2,·v3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
110 | ····move-result·v2 | 109 | ····move-result·v2 |
111 | ····if-eqz·v2,·:cond_1 | 110 | ····if-eqz·v2,·:cond_1 |
112 | ····.line·228 | 111 | ····.line·228 |
113 |
····iput-object·v |
112 | ····iput-object·v0,·p0,·Lorg/smc/inputmethod/indic/RichInputMethodManager$InputMethodInfoCache;->mCachedValue:Landroid/view/inputmethod/InputMethodInfo; |
114 | ····:try_end_1 | 113 | ····:try_end_1 |
115 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 114 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
116 | ····goto·:goto_0 | 115 | ····goto·:goto_0 |
117 | ····.line·223 | 116 | ····.line·223 |
118 |
····.end·local·v0····#·"i |
117 | ····.end·local·v0····#·"imi":Landroid/view/inputmethod/InputMethodInfo; |
119 | ····.end·local·v1····#·"imi":Landroid/view/inputmethod/InputMethodInfo; | ||
120 | ····:catchall_0 | 118 | ····:catchall_0 |
121 |
····move-exception·v |
119 | ····move-exception·v1 |
122 | ····monitor-exit·p0 | 120 | ····monitor-exit·p0 |
123 |
····throw·v |
121 | ····throw·v1 |
124 | ····.line·232 | 122 | ····.line·232 |
125 | ····.restart·local·v0····#·"i$":Ljava/util/Iterator; | ||
126 | ····:cond_2 | 123 | ····:cond_2 |
127 | ····:try_start_2 | 124 | ····:try_start_2 |
128 |
····new-instance·v |
125 | ····new-instance·v1,·Ljava/lang/RuntimeException; |
129 |
····new-instance·v |
126 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
130 |
····invoke-direct·{v |
127 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V |
131 |
····const-string·v |
128 | ····const-string·v3,·"Input·method·id·for·" |
Max diff block lines reached; 1461/6115 bytes (23.89%) of diff not shown. |
Offset 527, 210 lines modified | Offset 527, 207 lines modified | ||
527 | ····:cond_1 | 527 | ····:cond_1 |
528 | ····const/4·v2,·-0x1 | 528 | ····const/4·v2,·-0x1 |
529 | ····goto·:goto_1 | 529 | ····goto·:goto_1 |
530 | .end·method | 530 | .end·method |
531 | .method·private·hasMultipleEnabledSubtypes(ZLjava/util/List;)Z | 531 | .method·private·hasMultipleEnabledSubtypes(ZLjava/util/List;)Z |
532 |
····.locals·1 |
532 | ····.locals·11 |
533 | ····.param·p1,·"shouldIncludeAuxiliarySubtypes"····#·Z | 533 | ····.param·p1,·"shouldIncludeAuxiliarySubtypes"····#·Z |
534 | ····.annotation·system·Ldalvik/annotation/Signature; | 534 | ····.annotation·system·Ldalvik/annotation/Signature; |
535 | ········value·=·{ | 535 | ········value·=·{ |
536 | ············"(Z", | 536 | ············"(Z", |
537 | ············"Ljava/util/List", | 537 | ············"Ljava/util/List", |
538 | ············"<", | 538 | ············"<", |
539 | ············"Landroid/view/inputmethod/InputMethodInfo;", | 539 | ············"Landroid/view/inputmethod/InputMethodInfo;", |
540 | ············">;)Z" | 540 | ············">;)Z" |
541 | ········} | 541 | ········} |
542 | ····.end·annotation | 542 | ····.end·annotation |
543 | ····.prologue | 543 | ····.prologue |
544 | ····.local·p2,·"imiList":Ljava/util/List;,·"Ljava/util/List<Landroid/view/inputmethod/InputMethodInfo;>;" | 544 | ····.local·p2,·"imiList":Ljava/util/List;,·"Ljava/util/List<Landroid/view/inputmethod/InputMethodInfo;>;" |
545 |
····const/4·v |
545 | ····const/4·v7,·0x1 |
546 | ····.line·321 | 546 | ····.line·321 |
547 | ····const/4·v1,·0x0 | 547 | ····const/4·v1,·0x0 |
548 | ····.line·323 | 548 | ····.line·323 |
549 | ····.local·v1,·"filteredImisCount":I | 549 | ····.local·v1,·"filteredImisCount":I |
550 | ····invoke-interface·{p2},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 550 | ····invoke-interface·{p2},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
551 |
····move-result-object·v |
551 | ····move-result-object·v8 |
552 | ····:cond_0 | 552 | ····:cond_0 |
553 | ····:goto_0 | 553 | ····:goto_0 |
554 |
····invoke-interface·{v |
554 | ····invoke-interface·{v8},·Ljava/util/Iterator;->hasNext()Z |
555 |
····move-result·v |
555 | ····move-result·v9 |
556 |
····if-eqz·v |
556 | ····if-eqz·v9,·:cond_7 |
557 |
····invoke-interface·{v |
557 | ····invoke-interface·{v8},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
558 |
····move-result-object·v |
558 | ····move-result-object·v2 |
559 |
····check-cast·v |
559 | ····check-cast·v2,·Landroid/view/inputmethod/InputMethodInfo; |
560 | ····.line·325 | 560 | ····.line·325 |
561 |
····.local·v |
561 | ····.local·v2,·"imi":Landroid/view/inputmethod/InputMethodInfo; |
562 |
····if-le·v1,·v |
562 | ····if-le·v1,·v7,·:cond_2 |
563 | ····.line·363 | 563 | ····.line·363 |
564 |
····.end·local·v |
564 | ····.end·local·v2····#·"imi":Landroid/view/inputmethod/InputMethodInfo; |
565 | ····:cond_1 | 565 | ····:cond_1 |
566 | ····:goto_1 | 566 | ····:goto_1 |
567 |
····return·v |
567 | ····return·v7 |
568 | ····.line·326 | 568 | ····.line·326 |
569 |
····.restart·local·v |
569 | ····.restart·local·v2····#·"imi":Landroid/view/inputmethod/InputMethodInfo; |
570 | ····:cond_2 | 570 | ····:cond_2 |
571 |
····invoke-direct·{p0,·v |
571 | ····invoke-direct·{p0,·v2,·v7},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getEnabledInputMethodSubtypeList(Landroid/view/inputmethod/InputMethodInfo;Z)Ljava/util/List; |
572 |
····move-result-object·v |
572 | ····move-result-object·v6 |
573 | ····.line·328 | 573 | ····.line·328 |
574 |
····.local·v |
574 | ····.local·v6,·"subtypes":Ljava/util/List;,·"Ljava/util/List<Landroid/view/inputmethod/InputMethodSubtype;>;" |
575 |
····invoke-interface·{v |
575 | ····invoke-interface·{v6},·Ljava/util/List;->isEmpty()Z |
576 |
····move-result·v |
576 | ····move-result·v9 |
577 |
····if-eqz·v |
577 | ····if-eqz·v9,·:cond_3 |
578 | ····.line·329 | 578 | ····.line·329 |
579 | ····add-int/lit8·v1,·v1,·0x1 | 579 | ····add-int/lit8·v1,·v1,·0x1 |
580 | ····.line·330 | 580 | ····.line·330 |
581 | ····goto·:goto_0 | 581 | ····goto·:goto_0 |
582 | ····.line·333 | 582 | ····.line·333 |
583 | ····:cond_3 | 583 | ····:cond_3 |
584 | ····const/4·v0,·0x0 | 584 | ····const/4·v0,·0x0 |
585 | ····.line·334 | 585 | ····.line·334 |
586 | ····.local·v0,·"auxCount":I | 586 | ····.local·v0,·"auxCount":I |
587 |
····invoke-interface·{v |
587 | ····invoke-interface·{v6},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
588 |
····move-result-object·v |
588 | ····move-result-object·v9 |
589 | ····.local·v3,·"i$":Ljava/util/Iterator; | ||
590 | ····:cond_4 | 589 | ····:cond_4 |
591 | ····:goto_2 | 590 | ····:goto_2 |
592 |
····invoke-interface·{v |
591 | ····invoke-interface·{v9},·Ljava/util/Iterator;->hasNext()Z |
593 | ····move-result·v10 | 592 | ····move-result·v10 |
594 | ····if-eqz·v10,·:cond_5 | 593 | ····if-eqz·v10,·:cond_5 |
595 |
····invoke-interface·{v |
594 | ····invoke-interface·{v9},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
596 |
····move-result-object·v |
595 | ····move-result-object·v5 |
Max diff block lines reached; 12788/16565 bytes (77.20%) of diff not shown. |
Offset 36, 14 lines modified | Offset 36, 15 lines modified | ||
36 | .field·final·synthetic·val$token:Landroid/os/IBinder; | 36 | .field·final·synthetic·val$token:Landroid/os/IBinder; |
37 | #·direct·methods | 37 | #·direct·methods |
38 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/SubtypeSwitcher;Landroid/view/inputmethod/InputMethodManager;Landroid/os/IBinder;Ljava/lang/String;Landroid/view/inputmethod/InputMethodSubtype;)V | 38 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/SubtypeSwitcher;Landroid/view/inputmethod/InputMethodManager;Landroid/os/IBinder;Ljava/lang/String;Landroid/view/inputmethod/InputMethodSubtype;)V |
39 | ····.locals·0 | 39 | ····.locals·0 |
40 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/SubtypeSwitcher; | ||
40 | ····.prologue | 41 | ····.prologue |
41 | ····.line·206 | 42 | ····.line·206 |
42 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher$1;->this$0:Lorg/smc/inputmethod/indic/SubtypeSwitcher; | 43 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher$1;->this$0:Lorg/smc/inputmethod/indic/SubtypeSwitcher; |
43 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher$1;->val$imm:Landroid/view/inputmethod/InputMethodManager; | 44 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher$1;->val$imm:Landroid/view/inputmethod/InputMethodManager; |
Offset 82, 14 lines modified | Offset 82, 15 lines modified | ||
82 | ····const-string·v4,·"KeyboardLayoutSet=qwerty,AsciiCapable,EnabledWhenDefaultIsNotAsciiCapable,EmojiCapable" | 82 | ····const-string·v4,·"KeyboardLayoutSet=qwerty,AsciiCapable,EnabledWhenDefaultIsNotAsciiCapable,EmojiCapable" |
83 | ····const·v7,·-0x221f402d | 83 | ····const·v7,·-0x221f402d |
84 | ····move·v6,·v5 | 84 | ····move·v6,·v5 |
85 | ····.line·74 | ||
85 | ····invoke-static/range·{v0·..·v7},·Lorg/smc/inputmethod/compat/InputMethodSubtypeCompatUtils;->newInputMethodSubtype(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZI)Landroid/view/inputmethod/InputMethodSubtype; | 86 | ····invoke-static/range·{v0·..·v7},·Lorg/smc/inputmethod/compat/InputMethodSubtypeCompatUtils;->newInputMethodSubtype(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZI)Landroid/view/inputmethod/InputMethodSubtype; |
86 | ····move-result-object·v0 | 87 | ····move-result-object·v0 |
87 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->DUMMY_NO_LANGUAGE_SUBTYPE:Landroid/view/inputmethod/InputMethodSubtype; | 88 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->DUMMY_NO_LANGUAGE_SUBTYPE:Landroid/view/inputmethod/InputMethodSubtype; |
88 | ····.line·86 | 89 | ····.line·86 |
Offset 101, 14 lines modified | Offset 102, 15 lines modified | ||
101 | ····const-string·v4,·"KeyboardLayoutSet=emoji,EmojiCapable" | 102 | ····const-string·v4,·"KeyboardLayoutSet=emoji,EmojiCapable" |
102 | ····const·v7,·-0x2874d130 | 103 | ····const·v7,·-0x2874d130 |
103 | ····move·v6,·v5 | 104 | ····move·v6,·v5 |
105 | ····.line·87 | ||
104 | ····invoke-static/range·{v0·..·v7},·Lorg/smc/inputmethod/compat/InputMethodSubtypeCompatUtils;->newInputMethodSubtype(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZI)Landroid/view/inputmethod/InputMethodSubtype; | 106 | ····invoke-static/range·{v0·..·v7},·Lorg/smc/inputmethod/compat/InputMethodSubtypeCompatUtils;->newInputMethodSubtype(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZI)Landroid/view/inputmethod/InputMethodSubtype; |
105 | ····move-result-object·v0 | 107 | ····move-result-object·v0 |
106 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->DUMMY_EMOJI_SUBTYPE:Landroid/view/inputmethod/InputMethodSubtype; | 108 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->DUMMY_EMOJI_SUBTYPE:Landroid/view/inputmethod/InputMethodSubtype; |
107 | ····.line·282 | 109 | ····.line·282 |
Offset 261, 312 lines modified | Offset 263, 321 lines modified | ||
261 | ····sget-object·v1,·Landroid/os/AsyncTask;->THREAD_POOL_EXECUTOR:Ljava/util/concurrent/Executor; | 263 | ····sget-object·v1,·Landroid/os/AsyncTask;->THREAD_POOL_EXECUTOR:Ljava/util/concurrent/Executor; |
262 | ····const/4·v4,·0x0 | 264 | ····const/4·v4,·0x0 |
263 | ····new-array·v4,·v4,·[Ljava/lang/Void; | 265 | ····new-array·v4,·v4,·[Ljava/lang/Void; |
266 | ····.line·212 | ||
264 | ····invoke-virtual·{v0,·v1,·v4},·Lorg/smc/inputmethod/indic/SubtypeSwitcher$1;->executeOnExecutor(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Landroid/os/AsyncTask; | 267 | ····invoke-virtual·{v0,·v1,·v4},·Lorg/smc/inputmethod/indic/SubtypeSwitcher$1;->executeOnExecutor(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Landroid/os/AsyncTask; |
265 | ····goto·:goto_0 | 268 | ····goto·:goto_0 |
266 | .end·method | 269 | .end·method |
267 | .method·private·updateShortcutIME()V | 270 | .method·private·updateShortcutIME()V |
268 |
····.locals· |
271 | ····.locals·8 |
269 | ····.prologue | 272 | ····.prologue |
270 |
····const/4·v |
273 | ····const/4·v4,·0x0 |
271 | ····.line·136 | 274 | ····.line·136 |
272 |
····sget-boolean·v |
275 | ····sget-boolean·v3,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->DBG:Z |
273 |
····if-eqz·v |
276 | ····if-eqz·v3,·:cond_0 |
274 | ····.line·137 | 277 | ····.line·137 |
275 |
····sget-object·v |
278 | ····sget-object·v5,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->TAG:Ljava/lang/String; |
276 |
····new-instance·v |
279 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
277 |
····invoke-direct·{v |
280 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
278 |
····const-string·v |
281 | ····const-string·v6,·"Update·shortcut·IME·from·:·" |
279 |
····invoke-virtual·{v |
282 | ····invoke-virtual·{v3,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
280 |
····move-result-object·v |
283 | ····move-result-object·v6 |
281 |
····iget-object·v |
284 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->mShortcutInputMethodInfo:Landroid/view/inputmethod/InputMethodInfo; |
282 |
····if-nez·v |
285 | ····if-nez·v3,·:cond_3 |
283 |
····const-string·v |
286 | ····const-string·v3,·"<null>" |
287 | ····.line·139 | ||
284 | ····:goto_0 | 288 | ····:goto_0 |
285 |
····invoke-virtual·{v |
289 | ····invoke-virtual·{v6,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
286 |
····move-result-object·v |
290 | ····move-result-object·v3 |
287 |
····const-string·v |
291 | ····const-string·v6,·",·" |
288 |
····invoke-virtual·{v |
292 | ····invoke-virtual·{v3,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
289 |
····move-result-object·v |
293 | ····move-result-object·v6 |
290 |
····iget-object·v |
294 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->mShortcutSubtype:Landroid/view/inputmethod/InputMethodSubtype; |
291 |
····if-nez·v |
295 | ····if-nez·v3,·:cond_4 |
292 |
····const-string·v |
296 | ····const-string·v3,·"<null>" |
297 | ····.line·141 | ||
293 | ····:goto_1 | 298 | ····:goto_1 |
294 |
····invoke-virtual·{v |
299 | ····invoke-virtual·{v6,·v3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
295 |
····move-result-object·v |
300 | ····move-result-object·v3 |
Max diff block lines reached; 26273/30872 bytes (85.10%) of diff not shown. |
Offset 176, 18 lines modified | Offset 176, 20 lines modified | ||
176 | ····move-result-object·v1 | 176 | ····move-result-object·v1 |
177 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; | 177 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; |
178 | ····iget-object·v1,·v1,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;->mWord:Ljava/lang/String; | 178 | ····iget-object·v1,·v1,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;->mWord:Ljava/lang/String; |
179 | ····.line·236 | ||
179 | ····invoke-virtual/range·{p1·..·p1},·Lorg/smc/inputmethod/indic/WordComposer;->getRejectedBatchModeSuggestion()Ljava/lang/String; | 180 | ····invoke-virtual/range·{p1·..·p1},·Lorg/smc/inputmethod/indic/WordComposer;->getRejectedBatchModeSuggestion()Ljava/lang/String; |
180 | ····move-result-object·v3 | 181 | ····move-result-object·v3 |
182 | ····.line·235 | ||
181 | ····invoke-static·{v1,·v3},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z | 183 | ····invoke-static·{v1,·v3},·Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z |
182 | ····move-result·v1 | 184 | ····move-result·v1 |
183 | ····if-eqz·v1,·:cond_2 | 185 | ····if-eqz·v1,·:cond_2 |
184 | ····.line·237 | 186 | ····.line·237 |
Offset 296, 14 lines modified | Offset 298, 15 lines modified | ||
296 | ····.line·131 | 298 | ····.line·131 |
297 | ····.local·v17,·"trailingSingleQuotesCount":I | 299 | ····.local·v17,·"trailingSingleQuotesCount":I |
298 | ····if-lez·v17,·:cond_3 | 300 | ····if-lez·v17,·:cond_3 |
299 | ····const/4·v2,·0x0 | 301 | ····const/4·v2,·0x0 |
302 | ····.line·132 | ||
300 | ····invoke-virtual/range·{v18·..·v18},·Ljava/lang/String;->length()I | 303 | ····invoke-virtual/range·{v18·..·v18},·Ljava/lang/String;->length()I |
301 | ····move-result·v4 | 304 | ····move-result·v4 |
302 | ····sub-int·v4,·v4,·v17 | 305 | ····sub-int·v4,·v4,·v17 |
303 | ····move-object/from16·v0,·v18 | 306 | ····move-object/from16·v0,·v18 |
Offset 329, 25 lines modified | Offset 332, 25 lines modified | ||
329 | ····move-object/from16·v6,·p4 | 332 | ····move-object/from16·v6,·p4 |
330 | ····invoke-virtual/range·{v2·..·v7},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->getSuggestionResults(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/PrevWordsInfo;Lcom/android/inputmethod/keyboard/ProximityInfo;Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion;I)Lcom/android/inputmethod/latin/utils/SuggestionResults; | 333 | ····invoke-virtual/range·{v2·..·v7},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->getSuggestionResults(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/PrevWordsInfo;Lcom/android/inputmethod/keyboard/ProximityInfo;Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion;I)Lcom/android/inputmethod/latin/utils/SuggestionResults; |
331 | ····move-result-object·v15 | 334 | ····move-result-object·v15 |
332 |
····.line·13 |
335 | ····.line·139 |
333 | ····.local·v15,·"suggestionResults":Lcom/android/inputmethod/latin/utils/SuggestionResults; | 336 | ····.local·v15,·"suggestionResults":Lcom/android/inputmethod/latin/utils/SuggestionResults; |
334 | ····move-object/from16·v0,·p1 | 337 | ····move-object/from16·v0,·p1 |
335 | ····move/from16·v1,·v17 | 338 | ····move/from16·v1,·v17 |
336 | ····invoke-static·{v0,·v15,·v1},·Lorg/smc/inputmethod/indic/Suggest;->getTransformedSuggestedWordInfoList(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/utils/SuggestionResults;I)Ljava/util/ArrayList; | 339 | ····invoke-static·{v0,·v15,·v1},·Lorg/smc/inputmethod/indic/Suggest;->getTransformedSuggestedWordInfoList(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/utils/SuggestionResults;I)Ljava/util/ArrayList; |
337 | ····move-result-object·v16 | 340 | ····move-result-object·v16 |
338 |
····.line·14 |
341 | ····.line·142 |
339 | ····.local·v16,·"suggestionsContainer":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" | 342 | ····.local·v16,·"suggestionsContainer":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" |
340 | ····invoke-virtual/range·{p1·..·p1},·Lorg/smc/inputmethod/indic/WordComposer;->getTypedWord()Ljava/lang/String; | 343 | ····invoke-virtual/range·{p1·..·p1},·Lorg/smc/inputmethod/indic/WordComposer;->getTypedWord()Ljava/lang/String; |
341 | ····move-result-object·v2 | 344 | ····move-result-object·v2 |
342 | ····move-object/from16·v0,·v16 | 345 | ····move-object/from16·v0,·v16 |
Offset 372, 14 lines modified | Offset 375, 15 lines modified | ||
372 | ····const/4·v14,·0x1 | 375 | ····const/4·v14,·0x1 |
373 | ····.line·149 | 376 | ····.line·149 |
374 | ····.local·v14,·"resultsArePredictions":Z | 377 | ····.local·v14,·"resultsArePredictions":Z |
375 | ····:goto_1 | 378 | ····:goto_1 |
376 | ····if-nez·v19,·:cond_0 | 379 | ····if-nez·v19,·:cond_0 |
380 | ····.line·150 | ||
377 | ····invoke-virtual·{v11},·Ljava/lang/String;->length()I | 381 | ····invoke-virtual·{v11},·Ljava/lang/String;->length()I |
378 | ····move-result·v2 | 382 | ····move-result·v2 |
379 | ····const/4·v4,·0x1 | 383 | ····const/4·v4,·0x1 |
380 | ····if-le·v2,·v4,·:cond_5 | 384 | ····if-le·v2,·v4,·:cond_5 |
Offset 394, 26 lines modified | Offset 398, 28 lines modified | ||
394 | ····:goto_2 | 398 | ····:goto_2 |
395 | ····if-eqz·p6,·:cond_1 | 399 | ····if-eqz·p6,·:cond_1 |
396 | ····if-eqz·v10,·:cond_1 | 400 | ····if-eqz·v10,·:cond_1 |
397 | ····if-nez·v14,·:cond_1 | 401 | ····if-nez·v14,·:cond_1 |
402 | ····.line·159 | ||
398 | ····invoke-virtual·{v15},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->isEmpty()Z | 403 | ····invoke-virtual·{v15},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->isEmpty()Z |
399 | ····move-result·v2 | 404 | ····move-result·v2 |
400 | ····if-nez·v2,·:cond_1 | 405 | ····if-nez·v2,·:cond_1 |
401 | ····invoke-virtual/range·{p1·..·p1},·Lorg/smc/inputmethod/indic/WordComposer;->hasDigits()Z | 406 | ····invoke-virtual/range·{p1·..·p1},·Lorg/smc/inputmethod/indic/WordComposer;->hasDigits()Z |
402 | ····move-result·v2 | 407 | ····move-result·v2 |
403 | ····if-nez·v2,·:cond_1 | 408 | ····if-nez·v2,·:cond_1 |
Max diff block lines reached; 6582/9577 bytes (68.73%) of diff not shown. |
Offset 265, 14 lines modified | Offset 265, 15 lines modified | ||
265 | ············"Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;", | 265 | ············"Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;", |
266 | ············">;ZZZII)V" | 266 | ············">;ZZZII)V" |
267 | ········} | 267 | ········} |
268 | ····.end·annotation | 268 | ····.end·annotation |
269 | ····.prologue | 269 | ····.prologue |
270 | ····.line·83 | 270 | ····.line·83 |
271 | ····.line·84 | ||
271 | ····.local·p1,·"suggestedWordInfoList":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" | 272 | ····.local·p1,·"suggestedWordInfoList":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" |
272 | ····.local·p2,·"rawSuggestions":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" | 273 | ····.local·p2,·"rawSuggestions":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" |
273 | ····invoke-virtual·{p1},·Ljava/util/ArrayList;->isEmpty()Z | 274 | ····invoke-virtual·{p1},·Ljava/util/ArrayList;->isEmpty()Z |
274 | ····move-result·v0 | 275 | ····move-result·v0 |
275 | ····if-nez·v0,·:cond_0 | 276 | ····if-nez·v0,·:cond_0 |
Offset 299, 36 lines modified | Offset 300, 38 lines modified | ||
299 | ····move·v6,·p5 | 300 | ····move·v6,·p5 |
300 | ····move·v7,·p6 | 301 | ····move·v7,·p6 |
301 | ····move/from16·v8,·p7 | 302 | ····move/from16·v8,·p7 |
303 | ····.line·83 | ||
302 | ····invoke-direct/range·{v0·..·v8},·Lorg/smc/inputmethod/indic/SuggestedWords;-><init>(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;ZZZII)V | 304 | ····invoke-direct/range·{v0·..·v8},·Lorg/smc/inputmethod/indic/SuggestedWords;-><init>(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;ZZZII)V |
303 | ····.line·87 | 305 | ····.line·87 |
304 | ····return-void | 306 | ····return-void |
305 |
····.line·8 |
307 | ····.line·84 |
306 | ····:cond_1 | 308 | ····:cond_1 |
307 | ····const/4·v0,·0x0 | 309 | ····const/4·v0,·0x0 |
310 | ····.line·85 | ||
308 | ····invoke-virtual·{p1,·v0},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; | 311 | ····invoke-virtual·{p1,·v0},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object; |
309 | ····move-result-object·v0 | 312 | ····move-result-object·v0 |
310 | ····check-cast·v0,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; | 313 | ····check-cast·v0,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; |
311 | ····iget-object·v3,·v0,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;->mWord:Ljava/lang/String; | 314 | ····iget-object·v3,·v0,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;->mWord:Ljava/lang/String; |
312 | ····goto·:goto_0 | 315 | ····goto·:goto_0 |
313 | .end·method | 316 | .end·method |
314 | .method·public·static·getFromApplicationSpecifiedCompletions([Landroid/view/inputmethod/CompletionInfo;)Ljava/util/ArrayList; | 317 | .method·public·static·getFromApplicationSpecifiedCompletions([Landroid/view/inputmethod/CompletionInfo;)Ljava/util/ArrayList; |
315 |
····.locals· |
318 | ····.locals·5 |
316 | ····.param·p0,·"infos"····#·[Landroid/view/inputmethod/CompletionInfo; | 319 | ····.param·p0,·"infos"····#·[Landroid/view/inputmethod/CompletionInfo; |
317 | ····.annotation·system·Ldalvik/annotation/Signature; | 320 | ····.annotation·system·Ldalvik/annotation/Signature; |
318 | ········value·=·{ | 321 | ········value·=·{ |
319 | ············"([", | 322 | ············"([", |
320 | ············"Landroid/view/inputmethod/CompletionInfo;", | 323 | ············"Landroid/view/inputmethod/CompletionInfo;", |
321 | ············")", | 324 | ············")", |
322 | ············"Ljava/util/ArrayList", | 325 | ············"Ljava/util/ArrayList", |
Offset 336, 65 lines modified | Offset 339, 60 lines modified | ||
336 | ············"Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;", | 339 | ············"Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;", |
337 | ············">;" | 340 | ············">;" |
338 | ········} | 341 | ········} |
339 | ····.end·annotation | 342 | ····.end·annotation |
340 | ····.prologue | 343 | ····.prologue |
341 | ····.line·180 | 344 | ····.line·180 |
342 |
····new-instance·v |
345 | ····new-instance·v1,·Ljava/util/ArrayList; |
343 |
····invoke-direct·{v |
346 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
344 | ····.line·181 | 347 | ····.line·181 |
345 |
····.local·v |
348 | ····.local·v1,·"result":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;>;" |
346 |
···· |
349 | ····array-length·v3,·p0 |
347 |
···· |
350 | ····const/4·v2,·0x0 |
348 | ····array-length·v3,·v0 | ||
349 | ····.local·v3,·"len$":I | ||
350 | ····const/4·v1,·0x0 | ||
351 | ····.local·v1,·"i$":I | ||
352 | ····:goto_0 | 351 | ····:goto_0 |
353 |
····if-ge·v |
352 | ····if-ge·v2,·v3,·:cond_2 |
354 |
····aget-object·v |
353 | ····aget-object·v0,·p0,·v2 |
355 | ····.line·182 | 354 | ····.line·182 |
356 |
····.local·v |
355 | ····.local·v0,·"info":Landroid/view/inputmethod/CompletionInfo; |
357 |
····if-eqz·v |
356 | ····if-eqz·v0,·:cond_0 |
358 |
····invoke-virtual·{v |
357 | ····invoke-virtual·{v0},·Landroid/view/inputmethod/CompletionInfo;->getText()Ljava/lang/CharSequence; |
359 |
····move-result-object·v |
358 | ····move-result-object·v4 |
360 |
····if-nez·v |
359 | ····if-nez·v4,·:cond_1 |
361 | ····.line·181 | 360 | ····.line·181 |
362 | ····:cond_0 | 361 | ····:cond_0 |
363 | ····:goto_1 | 362 | ····:goto_1 |
364 |
····add-int/lit8·v |
363 | ····add-int/lit8·v2,·v2,·0x1 |
365 | ····goto·:goto_0 | 364 | ····goto·:goto_0 |
Max diff block lines reached; 1970/5396 bytes (36.51%) of diff not shown. |
Offset 13, 20 lines modified | Offset 13, 22 lines modified | ||
13 | .method·static·constructor·<clinit>()V | 13 | .method·static·constructor·<clinit>()V |
14 | ····.locals·1 | 14 | ····.locals·1 |
15 | ····.prologue | 15 | ····.prologue |
16 | ····.line·29 | 16 | ····.line·29 |
17 | ····const-class·v0,·Lorg/smc/inputmethod/indic/SuggestionSpanPickedNotificationReceiver; | 17 | ····const-class·v0,·Lorg/smc/inputmethod/indic/SuggestionSpanPickedNotificationReceiver; |
18 | ····.line·30 | ||
18 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 19 | ····invoke-virtual·{v0},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
19 | ····move-result-object·v0 | 20 | ····move-result-object·v0 |
20 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/SuggestionSpanPickedNotificationReceiver;->TAG:Ljava/lang/String; | 21 | ····sput-object·v0,·Lorg/smc/inputmethod/indic/SuggestionSpanPickedNotificationReceiver;->TAG:Ljava/lang/String; |
22 | ····.line·29 | ||
21 | ····return-void | 23 | ····return-void |
22 | .end·method | 24 | .end·method |
23 | .method·public·constructor·<init>()V | 25 | .method·public·constructor·<init>()V |
24 | ····.locals·0 | 26 | ····.locals·0 |
25 | ····.prologue | 27 | ····.prologue |
Offset 112, 21 lines modified | Offset 112, 22 lines modified | ||
112 | ····.line·91 | 112 | ····.line·91 |
113 | ····.end·local·v0····#·"additionalSubtypes":[Landroid/view/inputmethod/InputMethodSubtype; | 113 | ····.end·local·v0····#·"additionalSubtypes":[Landroid/view/inputmethod/InputMethodSubtype; |
114 | ····.end·local·v6····#·"richImm":Lorg/smc/inputmethod/indic/RichInputMethodManager; | 114 | ····.end·local·v6····#·"richImm":Lorg/smc/inputmethod/indic/RichInputMethodManager; |
115 | ····:cond_0 | 115 | ····:cond_0 |
116 | ····:goto_0 | 116 | ····:goto_0 |
117 | ····const-string·v8,·"input_method" | 117 | ····const-string·v8,·"input_method" |
118 | ····.line·92 | ||
118 | ····invoke-virtual·{p1,·v8},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 119 | ····invoke-virtual·{p1,·v8},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
119 | ····move-result-object·v1 | 120 | ····move-result-object·v1 |
120 | ····check-cast·v1,·Landroid/view/inputmethod/InputMethodManager; | 121 | ····check-cast·v1,·Landroid/view/inputmethod/InputMethodManager; |
121 |
····.line·9 |
122 | ····.line·95 |
122 | ····.local·v1,·"imm":Landroid/view/inputmethod/InputMethodManager; | 123 | ····.local·v1,·"imm":Landroid/view/inputmethod/InputMethodManager; |
123 | ····invoke-virtual·{v1},·Landroid/view/inputmethod/InputMethodManager;->getInputMethodList()Ljava/util/List; | 124 | ····invoke-virtual·{v1},·Landroid/view/inputmethod/InputMethodManager;->getInputMethodList()Ljava/util/List; |
124 | ····move-result-object·v8 | 125 | ····move-result-object·v8 |
125 | ····invoke-interface·{v8},·Ljava/util/List;->isEmpty()Z | 126 | ····invoke-interface·{v8},·Ljava/util/List;->isEmpty()Z |
Offset 137, 14 lines modified | Offset 138, 15 lines modified | ||
137 | ····move·v4,·v3 | 138 | ····move·v4,·v3 |
138 | ····.line·96 | 139 | ····.line·96 |
139 | ····.local·v4,·"isInputMethodManagerValidForUserOfThisProcess":Z | 140 | ····.local·v4,·"isInputMethodManagerValidForUserOfThisProcess":Z |
140 | ····:goto_1 | 141 | ····:goto_1 |
141 | ····if-eqz·v4,·:cond_6 | 142 | ····if-eqz·v4,·:cond_6 |
143 | ····.line·97 | ||
142 | ····invoke-static·{p1,·v1},·Lcom/android/inputmethod/latin/utils/UncachedInputMethodManagerUtils;->isThisImeCurrent(Landroid/content/Context;Landroid/view/inputmethod/InputMethodManager;)Z | 144 | ····invoke-static·{p1,·v1},·Lcom/android/inputmethod/latin/utils/UncachedInputMethodManagerUtils;->isThisImeCurrent(Landroid/content/Context;Landroid/view/inputmethod/InputMethodManager;)Z |
143 | ····move-result·v8 | 145 | ····move-result·v8 |
144 | ····if-eqz·v8,·:cond_6 | 146 | ····if-eqz·v8,·:cond_6 |
145 | ····.line·98 | 147 | ····.line·98 |
Offset 256, 17 lines modified | Offset 258, 17 lines modified | ||
256 | ····goto·:goto_0 | 258 | ····goto·:goto_0 |
257 | ····.restart·local·v1····#·"imm":Landroid/view/inputmethod/InputMethodManager; | 259 | ····.restart·local·v1····#·"imm":Landroid/view/inputmethod/InputMethodManager; |
258 | ····:cond_5 | 260 | ····:cond_5 |
259 | ····move·v4,·v7 | 261 | ····move·v4,·v7 |
260 |
····.line·9 |
262 | ····.line·95 |
261 | ····goto·:goto_1 | 263 | ····goto·:goto_1 |
262 | ····.restart·local·v4····#·"isInputMethodManagerValidForUserOfThisProcess":Z | 264 | ····.restart·local·v4····#·"isInputMethodManagerValidForUserOfThisProcess":Z |
263 | ····:cond_6 | 265 | ····:cond_6 |
264 | ····move·v3,·v7 | 266 | ····move·v3,·v7 |
265 |
····.line·9 |
267 | ····.line·97 |
266 | ····goto·:goto_2 | 268 | ····goto·:goto_2 |
267 | .end·method | 269 | .end·method |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/UserBinaryDictionary; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/UserBinaryDictionary; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/UserBinaryDictionary;Landroid/os/Handler;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/UserBinaryDictionary;Landroid/os/Handler;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/UserBinaryDictionary; | ||
22 | ····.param·p2,·"x0"····#·Landroid/os/Handler; | 23 | ····.param·p2,·"x0"····#·Landroid/os/Handler; |
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·88 | 25 | ····.line·88 |
25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/UserBinaryDictionary$1;->this$0:Lorg/smc/inputmethod/indic/UserBinaryDictionary; | 26 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/UserBinaryDictionary$1;->this$0:Lorg/smc/inputmethod/indic/UserBinaryDictionary; |
26 | ····invoke-direct·{p0,·p2},·Landroid/database/ContentObserver;-><init>(Landroid/os/Handler;)V | 27 | ····invoke-direct·{p0,·p2},·Landroid/database/ContentObserver;-><init>(Landroid/os/Handler;)V |
Offset 722, 14 lines modified | Offset 722, 15 lines modified | ||
722 | ····.prologue | 722 | ····.prologue |
723 | ····const/4·v11,·0x3 | 723 | ····const/4·v11,·0x3 |
724 | ····.line·130 | 724 | ····.line·130 |
725 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/indic/UserBinaryDictionary;->mLocale:Ljava/lang/String; | 725 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/indic/UserBinaryDictionary;->mLocale:Ljava/lang/String; |
726 | ····.line·131 | ||
726 | ····invoke-static·{v9},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 727 | ····invoke-static·{v9},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
727 | ····move-result·v9 | 728 | ····move-result·v9 |
728 | ····if-eqz·v9,·:cond_0 | 729 | ····if-eqz·v9,·:cond_0 |
729 | ····const/4·v9,·0x0 | 730 | ····const/4·v9,·0x0 |
Offset 809, 15 lines modified | Offset 810, 15 lines modified | ||
809 | ····invoke-virtual·{v6,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 810 | ····invoke-virtual·{v6,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
810 | ····.line·138 | 811 | ····.line·138 |
811 | ····add-int/lit8·v1,·v1,·0x1 | 812 | ····add-int/lit8·v1,·v1,·0x1 |
812 | ····goto·:goto_1 | 813 | ····goto·:goto_1 |
813 |
····.line·13 |
814 | ····.line·131 |
814 | ····.end·local·v1····#·"i":I | 815 | ····.end·local·v1····#·"i":I |
815 | ····.end·local·v2····#·"length":I | 816 | ····.end·local·v2····#·"length":I |
816 | ····.end·local·v3····#·"localeElements":[Ljava/lang/String; | 817 | ····.end·local·v3····#·"localeElements":[Ljava/lang/String; |
817 | ····.end·local·v5····#·"localeSoFar":Ljava/lang/String; | 818 | ····.end·local·v5····#·"localeSoFar":Ljava/lang/String; |
818 | ····.end·local·v6····#·"request":Ljava/lang/StringBuilder; | 819 | ····.end·local·v6····#·"request":Ljava/lang/StringBuilder; |
819 | ····:cond_0 | 820 | ····:cond_0 |
820 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/indic/UserBinaryDictionary;->mLocale:Ljava/lang/String; | 821 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/indic/UserBinaryDictionary;->mLocale:Ljava/lang/String; |
Offset 847, 14 lines modified | Offset 848, 15 lines modified | ||
847 | ····const-string·v9,·"·or·(locale·like·?)" | 848 | ····const-string·v9,·"·or·(locale·like·?)" |
848 | ····invoke-virtual·{v6,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 849 | ····invoke-virtual·{v6,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
849 | ····.line·160 | 850 | ····.line·160 |
850 | ····add-int/lit8·v9,·v2,·0x1 | 851 | ····add-int/lit8·v9,·v2,·0x1 |
852 | ····.line·161 | ||
851 | ····invoke-static·{v3,·v9},·Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; | 853 | ····invoke-static·{v3,·v9},·Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; |
852 | ····move-result-object·v4 | 854 | ····move-result-object·v4 |
853 | ····check-cast·v4,·[Ljava/lang/String; | 855 | ····check-cast·v4,·[Ljava/lang/String; |
854 | ····.line·162 | 856 | ····.line·162 |
Offset 380, 14 lines modified | Offset 380, 15 lines modified | ||
380 | ····.line·276 | 380 | ····.line·276 |
381 | ····:cond_4 | 381 | ····:cond_4 |
382 | ····iget-boolean·v0,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mIsOnlyFirstCharCapitalized:Z | 382 | ····iget-boolean·v0,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mIsOnlyFirstCharCapitalized:Z |
383 | ····if-eqz·v0,·:cond_5 | 383 | ····if-eqz·v0,·:cond_5 |
384 | ····.line·277 | ||
384 | ····invoke-static·{v6},·Ljava/lang/Character;->isUpperCase(I)Z | 385 | ····invoke-static·{v6},·Ljava/lang/Character;->isUpperCase(I)Z |
385 | ····move-result·v0 | 386 | ····move-result·v0 |
386 | ····if-nez·v0,·:cond_5 | 387 | ····if-nez·v0,·:cond_5 |
387 | ····const/4·v4,·0x1 | 388 | ····const/4·v4,·0x1 |
Offset 615, 14 lines modified | Offset 616, 15 lines modified | ||
615 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mEvents:Ljava/util/ArrayList; | 616 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mEvents:Ljava/util/ArrayList; |
616 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mInputPointers:Lorg/smc/inputmethod/indic/InputPointers; | 617 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mInputPointers:Lorg/smc/inputmethod/indic/InputPointers; |
617 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mTypedWordCache:Ljava/lang/CharSequence; | 618 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mTypedWordCache:Ljava/lang/CharSequence; |
619 | ····.line·496 | ||
618 | ····invoke-interface·{v3},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 620 | ····invoke-interface·{v3},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
619 | ····move-result-object·v3 | 621 | ····move-result-object·v3 |
620 | ····iget·v7,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mCapitalizedMode:I | 622 | ····iget·v7,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mCapitalizedMode:I |
621 | ····move-object·v4,·p2 | 623 | ····move-object·v4,·p2 |
Offset 715, 14 lines modified | Offset 717, 15 lines modified | ||
715 | ····.line·160 | 717 | ····.line·160 |
716 | ····.local·v2,·"typedWord":Ljava/lang/String; | 718 | ····.local·v2,·"typedWord":Ljava/lang/String; |
717 | ····invoke-virtual·{v2},·Ljava/lang/String;->length()I | 719 | ····invoke-virtual·{v2},·Ljava/lang/String;->length()I |
718 | ····move-result·v4 | 720 | ····move-result·v4 |
721 | ····.line·161 | ||
719 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->getTrailingSingleQuotesCount(Ljava/lang/CharSequence;)I | 722 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->getTrailingSingleQuotesCount(Ljava/lang/CharSequence;)I |
720 | ····move-result·v5 | 723 | ····move-result·v5 |
721 | ····sub-int·v1,·v4,·v5 | 724 | ····sub-int·v1,·v4,·v5 |
722 | ····.line·162 | 725 | ····.line·162 |
Offset 1210, 22 lines modified | Offset 1213, 24 lines modified | ||
1210 | ····if-nez·v1,·:cond_0 | 1213 | ····if-nez·v1,·:cond_0 |
1211 | ····.line·103 | 1214 | ····.line·103 |
1212 | ····new-instance·v1,·Lorg/smc/inputmethod/event/CombinerChain; | 1215 | ····new-instance·v1,·Lorg/smc/inputmethod/event/CombinerChain; |
1213 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mCombinerChain:Lorg/smc/inputmethod/event/CombinerChain; | 1216 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mCombinerChain:Lorg/smc/inputmethod/event/CombinerChain; |
1217 | ····.line·104 | ||
1214 | ····invoke-virtual·{v2},·Lorg/smc/inputmethod/event/CombinerChain;->getComposingWordWithCombiningFeedback()Ljava/lang/CharSequence; | 1218 | ····invoke-virtual·{v2},·Lorg/smc/inputmethod/event/CombinerChain;->getComposingWordWithCombiningFeedback()Ljava/lang/CharSequence; |
1215 | ····move-result-object·v2 | 1219 | ····move-result-object·v2 |
1216 | ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 1220 | ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
1217 | ····move-result-object·v2 | 1221 | ····move-result-object·v2 |
1222 | ····.line·105 | ||
1218 | ····invoke-static·{v0},·Lorg/smc/inputmethod/event/CombinerChain;->createCombiners(Ljava/lang/String;)[Lorg/smc/inputmethod/event/Combiner; | 1223 | ····invoke-static·{v0},·Lorg/smc/inputmethod/event/CombinerChain;->createCombiners(Ljava/lang/String;)[Lorg/smc/inputmethod/event/Combiner; |
1219 | ····move-result-object·v3 | 1224 | ····move-result-object·v3 |
1220 | ····invoke-direct·{v1,·v2,·v3},·Lorg/smc/inputmethod/event/CombinerChain;-><init>(Ljava/lang/String;[Lorg/smc/inputmethod/event/Combiner;)V | 1225 | ····invoke-direct·{v1,·v2,·v3},·Lorg/smc/inputmethod/event/CombinerChain;-><init>(Ljava/lang/String;[Lorg/smc/inputmethod/event/Combiner;)V |
1221 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mCombinerChain:Lorg/smc/inputmethod/event/CombinerChain; | 1226 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/indic/WordComposer;->mCombinerChain:Lorg/smc/inputmethod/event/CombinerChain; |
Offset 1362, 15 lines modified | Offset 1367, 15 lines modified | ||
1362 | ····if-ge·v1,·v2,·:cond_0 | 1367 | ····if-ge·v1,·v2,·:cond_0 |
1363 | ····.line·346 | 1368 | ····.line·346 |
1364 | ····invoke-static·{p1,·v1},·Ljava/lang/Character;->codePointAt(Ljava/lang/CharSequence;I)I | 1369 | ····invoke-static·{p1,·v1},·Ljava/lang/Character;->codePointAt(Ljava/lang/CharSequence;I)I |
1365 | ····move-result·v0 | 1370 | ····move-result·v0 |
1366 |
····.line·3 |
1371 | ····.line·350 |
1367 | ····.local·v0,·"codePoint":I | 1372 | ····.local·v0,·"codePoint":I |
1368 | ····invoke-static·{v0},·Lorg/smc/inputmethod/event/Event;->createEventForCodePointFromUnknownSource(I)Lorg/smc/inputmethod/event/Event; | 1373 | ····invoke-static·{v0},·Lorg/smc/inputmethod/event/Event;->createEventForCodePointFromUnknownSource(I)Lorg/smc/inputmethod/event/Event; |
1369 | ····move-result-object·v4 | 1374 | ····move-result-object·v4 |
1370 | ····invoke-virtual·{p0,·v4},·Lorg/smc/inputmethod/indic/WordComposer;->processEvent(Lorg/smc/inputmethod/event/Event;)Lorg/smc/inputmethod/event/Event; | 1375 | ····invoke-virtual·{p0,·v4},·Lorg/smc/inputmethod/indic/WordComposer;->processEvent(Lorg/smc/inputmethod/event/Event;)Lorg/smc/inputmethod/event/Event; |
Offset 1425, 22 lines modified | Offset 1430, 25 lines modified | ||
1425 | ····.local·v0,·"i":I | 1430 | ····.local·v0,·"i":I |
1426 | ····:goto_0 | 1431 | ····:goto_0 |
1427 | ····if-ge·v0,·v1,·:cond_0 | 1432 | ····if-ge·v0,·v1,·:cond_0 |
1428 | ····.line·365 | 1433 | ····.line·365 |
1429 | ····aget·v3,·p1,·v0 | 1434 | ····aget·v3,·p1,·v0 |
1435 | ····.line·367 | ||
1430 | ····invoke-static·{p2,·v0},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->xFromArray([II)I | 1436 | ····invoke-static·{p2,·v0},·Lcom/android/inputmethod/latin/utils/CoordinateUtils;->xFromArray([II)I |
Max diff block lines reached; 520/3654 bytes (14.23%) of diff not shown. |
Offset 74, 205 lines modified | Offset 74, 213 lines modified | ||
74 | ····.line·47 | 74 | ····.line·47 |
75 | ····invoke-static·{p0,·p1,·p2},·Lorg/smc/inputmethod/indic/debug/ExternalDictionaryGetterForDebug;->installFile(Landroid/content/Context;Ljava/io/File;Lcom/android/inputmethod/latin/makedict/DictionaryHeader;)V | 75 | ····invoke-static·{p0,·p1,·p2},·Lorg/smc/inputmethod/indic/debug/ExternalDictionaryGetterForDebug;->installFile(Landroid/content/Context;Ljava/io/File;Lcom/android/inputmethod/latin/makedict/DictionaryHeader;)V |
76 | ····return-void | 76 | ····return-void |
77 | .end·method | 77 | .end·method |
78 | .method·public·static·askInstallFile(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Runnable;)V | 78 | .method·public·static·askInstallFile(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Runnable;)V |
79 |
····.locals·1 |
79 | ····.locals·10 |
80 | ····.param·p0,·"context"····#·Landroid/content/Context; | 80 | ····.param·p0,·"context"····#·Landroid/content/Context; |
81 | ····.param·p1,·"dirPath"····#·Ljava/lang/String; | 81 | ····.param·p1,·"dirPath"····#·Ljava/lang/String; |
82 | ····.param·p2,·"fileName"····#·Ljava/lang/String; | 82 | ····.param·p2,·"fileName"····#·Ljava/lang/String; |
83 | ····.param·p3,·"completeRunnable"····#·Ljava/lang/Runnable; | 83 | ····.param·p3,·"completeRunnable"····#·Ljava/lang/Runnable; |
84 | ····.prologue | 84 | ····.prologue |
85 | ····.line·102 | 85 | ····.line·102 |
86 | ····new-instance·v0,·Ljava/io/File; | 86 | ····new-instance·v0,·Ljava/io/File; |
87 | ····invoke-virtual·{p2},·Ljava/lang/String;->toString()Ljava/lang/String; | 87 | ····invoke-virtual·{p2},·Ljava/lang/String;->toString()Ljava/lang/String; |
88 |
····move-result-object·v |
88 | ····move-result-object·v7 |
89 |
····invoke-direct·{v0,·p1,·v |
89 | ····invoke-direct·{v0,·p1,·v7},·Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V |
90 | ····.line·103 | 90 | ····.line·103 |
91 | ····.local·v0,·"file":Ljava/io/File; | 91 | ····.local·v0,·"file":Ljava/io/File; |
92 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getDictionaryFileHeaderOrNull(Ljava/io/File;)Lcom/android/inputmethod/latin/makedict/DictionaryHeader; | 92 | ····invoke-static·{v0},·Lcom/android/inputmethod/latin/utils/DictionaryInfoUtils;->getDictionaryFileHeaderOrNull(Ljava/io/File;)Lcom/android/inputmethod/latin/makedict/DictionaryHeader; |
93 | ····move-result-object·v1 | 93 | ····move-result-object·v1 |
94 | ····.line·104 | 94 | ····.line·104 |
95 | ····.local·v1,·"header":Lcom/android/inputmethod/latin/makedict/DictionaryHeader; | 95 | ····.local·v1,·"header":Lcom/android/inputmethod/latin/makedict/DictionaryHeader; |
96 |
····new-instance·v |
96 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
97 |
····invoke-direct·{v |
97 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V |
98 | ····.line·105 | 98 | ····.line·105 |
99 |
····.local·v |
99 | ····.local·v5,·"message":Ljava/lang/StringBuilder; |
100 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/latin/makedict/DictionaryHeader;->getLocaleString()Ljava/lang/String; | 100 | ····invoke-virtual·{v1},·Lcom/android/inputmethod/latin/makedict/DictionaryHeader;->getLocaleString()Ljava/lang/String; |
101 |
····move-result-object·v |
101 | ····move-result-object·v4 |
102 | ····.line·106 | 102 | ····.line·106 |
103 |
····.local·v |
103 | ····.local·v4,·"locale":Ljava/lang/String; |
104 |
····iget-object·v |
104 | ····iget-object·v7,·v1,·Lcom/android/inputmethod/latin/makedict/DictionaryHeader;->mDictionaryOptions:Lcom/android/inputmethod/latin/makedict/FormatSpec$DictionaryOptions; |
105 |
····iget-object·v |
105 | ····iget-object·v7,·v7,·Lcom/android/inputmethod/latin/makedict/FormatSpec$DictionaryOptions;->mAttributes:Ljava/util/HashMap; |
106 |
····invoke-virtual·{v |
106 | ····invoke-virtual·{v7},·Ljava/util/HashMap;->keySet()Ljava/util/Set; |
107 |
····move-result-object·v |
107 | ····move-result-object·v7 |
108 |
····invoke-interface·{v |
108 | ····invoke-interface·{v7},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
109 |
····move-result-object·v |
109 | ····move-result-object·v8 |
110 | ····.local·v2,·"i$":Ljava/util/Iterator; | ||
111 | ····:goto_0 | 110 | ····:goto_0 |
112 |
····invoke-interface·{v |
111 | ····invoke-interface·{v8},·Ljava/util/Iterator;->hasNext()Z |
113 |
····move-result·v |
112 | ····move-result·v7 |
114 |
····if-eqz·v |
113 | ····if-eqz·v7,·:cond_0 |
115 |
····invoke-interface·{v |
114 | ····invoke-interface·{v8},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
116 |
····move-result-object·v |
115 | ····move-result-object·v2 |
117 |
····check-cast·v |
116 | ····check-cast·v2,·Ljava/lang/String; |
118 | ····.line·107 | 117 | ····.line·107 |
119 |
····.local·v |
118 | ····.local·v2,·"key":Ljava/lang/String; |
120 |
····new-instance·v |
119 | ····new-instance·v7,·Ljava/lang/StringBuilder; |
121 |
····invoke-direct·{v |
120 | ····invoke-direct·{v7},·Ljava/lang/StringBuilder;-><init>()V |
122 |
····invoke-virtual·{v |
121 | ····invoke-virtual·{v7,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
123 |
····move-result-object·v |
122 | ····move-result-object·v7 |
124 | ····const-string·v9,·"·=·" | 123 | ····const-string·v9,·"·=·" |
125 |
····invoke-virtual·{v |
124 | ····invoke-virtual·{v7,·v9},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
126 | ····move-result-object·v9 | 125 | ····move-result-object·v9 |
127 |
····iget-object·v |
126 | ····iget-object·v7,·v1,·Lcom/android/inputmethod/latin/makedict/DictionaryHeader;->mDictionaryOptions:Lcom/android/inputmethod/latin/makedict/FormatSpec$DictionaryOptions; |
128 |
····iget-object·v |
127 | ····iget-object·v7,·v7,·Lcom/android/inputmethod/latin/makedict/FormatSpec$DictionaryOptions;->mAttributes:Ljava/util/HashMap; |
129 |
····invoke-virtual·{v |
128 | ····invoke-virtual·{v7,·v2},·Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
130 |
····move-result-object·v |
129 | ····move-result-object·v7 |
131 |
····check-cast·v |
130 | ····check-cast·v7,·Ljava/lang/String; |
132 |
····invoke-virtual·{v9,·v |
131 | ····invoke-virtual·{v9,·v7},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
133 |
····move-result-object·v |
132 | ····move-result-object·v7 |
Max diff block lines reached; 14869/20737 bytes (71.70%) of diff not shown. |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogic;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogic;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·95 | 27 | ····.line·95 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$1;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$1;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$holder:Lcom/android/inputmethod/latin/utils/AsyncResultHolder; | 22 | .field·final·synthetic·val$holder:Lcom/android/inputmethod/latin/utils/AsyncResultHolder; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogic;Lcom/android/inputmethod/latin/utils/AsyncResultHolder;)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogic;Lcom/android/inputmethod/latin/utils/AsyncResultHolder;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·1380 | 28 | ····.line·1380 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$2;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$2;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
29 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$2;->val$holder:Lcom/android/inputmethod/latin/utils/AsyncResultHolder; | 30 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$2;->val$holder:Lcom/android/inputmethod/latin/utils/AsyncResultHolder; |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$shouldIncludeResumedWordInSuggestions:Z | 22 | .field·final·synthetic·val$shouldIncludeResumedWordInSuggestions:Z |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogic;Z)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogic;Z)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·1506 | 28 | ····.line·1506 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$3;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$3;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogic; |
29 | ····iput-boolean·p2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$3;->val$shouldIncludeResumedWordInSuggestions:Z | 30 | ····iput-boolean·p2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$3;->val$shouldIncludeResumedWordInSuggestions:Z |
Offset 54, 15 lines modified | Offset 55, 15 lines modified | ||
54 | ····if-le·v1,·v2,·:cond_0 | 55 | ····if-le·v1,·v2,·:cond_0 |
55 | ····iget-boolean·v1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$3;->val$shouldIncludeResumedWordInSuggestions:Z | 56 | ····iget-boolean·v1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic$3;->val$shouldIncludeResumedWordInSuggestions:Z |
56 | ····if-nez·v1,·:cond_0 | 57 | ····if-nez·v1,·:cond_0 |
57 |
····.line·151 |
58 | ····.line·1518 |
58 | ····invoke-virtual·{p1},·Lorg/smc/inputmethod/indic/SuggestedWords;->getSuggestedWordsExcludingTypedWordForRecorrection()Lorg/smc/inputmethod/indic/SuggestedWords; | 59 | ····invoke-virtual·{p1},·Lorg/smc/inputmethod/indic/SuggestedWords;->getSuggestedWordsExcludingTypedWordForRecorrection()Lorg/smc/inputmethod/indic/SuggestedWords; |
59 | ····move-result-object·v0 | 60 | ····move-result-object·v0 |
60 | ····.line·1526 | 61 | ····.line·1526 |
61 | ····.local·v0,·"suggestedWords":Lorg/smc/inputmethod/indic/SuggestedWords; | 62 | ····.local·v0,·"suggestedWords":Lorg/smc/inputmethod/indic/SuggestedWords; |
62 | ····:goto_0 | 63 | ····:goto_0 |
Offset 249, 28 lines modified | Offset 249, 31 lines modified | ||
249 | ····if-eq·p0,·v0,·:cond_0 | 249 | ····if-eq·p0,·v0,·:cond_0 |
250 | ····const/16·v0,·0x25 | 250 | ····const/16·v0,·0x25 |
251 | ····if-eq·p0,·v0,·:cond_0 | 251 | ····if-eq·p0,·v0,·:cond_0 |
252 | ····.line·1304 | ||
252 | ····invoke-static·{p0},·Ljava/lang/Character;->getType(I)I | 253 | ····invoke-static·{p0},·Ljava/lang/Character;->getType(I)I |
253 | ····move-result·v0 | 254 | ····move-result·v0 |
254 | ····const/16·v1,·0x1c | 255 | ····const/16·v1,·0x1c |
255 | ····if-ne·v0,·v1,·:cond_1 | 256 | ····if-ne·v0,·v1,·:cond_1 |
256 | ····:cond_0 | 257 | ····:cond_0 |
257 | ····const/4·v0,·0x1 | 258 | ····const/4·v0,·0x1 |
259 | ····.line·1295 | ||
258 | ····:goto_0 | 260 | ····:goto_0 |
259 | ····return·v0 | 261 | ····return·v0 |
262 | ····.line·1304 | ||
260 | ····:cond_1 | 263 | ····:cond_1 |
261 | ····const/4·v0,·0x0 | 264 | ····const/4·v0,·0x0 |
262 | ····goto·:goto_0 | 265 | ····goto·:goto_0 |
263 | .end·method | 266 | .end·method |
264 | .method·private·commitChosenWord(Lorg/smc/inputmethod/indic/settings/SettingsValues;Ljava/lang/String;ILjava/lang/String;)V | 267 | .method·private·commitChosenWord(Lorg/smc/inputmethod/indic/settings/SettingsValues;Ljava/lang/String;ILjava/lang/String;)V |
Offset 286, 34 lines modified | Offset 289, 37 lines modified | ||
286 | ····.line·2098 | 289 | ····.line·2098 |
287 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mSuggestedWords:Lorg/smc/inputmethod/indic/SuggestedWords; | 290 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mSuggestedWords:Lorg/smc/inputmethod/indic/SuggestedWords; |
288 | ····.line·2099 | 291 | ····.line·2099 |
289 | ····.local·v2,·"suggestedWords":Lorg/smc/inputmethod/indic/SuggestedWords; | 292 | ····.local·v2,·"suggestedWords":Lorg/smc/inputmethod/indic/SuggestedWords; |
290 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mLatinIME:Lorg/smc/inputmethod/indic/LatinIME; | 293 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mLatinIME:Lorg/smc/inputmethod/indic/LatinIME; |
294 | ····.line·2100 | ||
291 | ····invoke-static·{v3,·p2,·v2},·Lorg/smc/inputmethod/compat/SuggestionSpanUtils;->getTextWithSuggestionSpan(Landroid/content/Context;Ljava/lang/String;Lorg/smc/inputmethod/indic/SuggestedWords;)Ljava/lang/CharSequence; | 295 | ····invoke-static·{v3,·p2,·v2},·Lorg/smc/inputmethod/compat/SuggestionSpanUtils;->getTextWithSuggestionSpan(Landroid/content/Context;Ljava/lang/String;Lorg/smc/inputmethod/indic/SuggestedWords;)Ljava/lang/CharSequence; |
292 | ····move-result-object·v0 | 296 | ····move-result-object·v0 |
293 | ····.line·2105 | 297 | ····.line·2105 |
294 | ····.local·v0,·"chosenWordWithSuggestions":Ljava/lang/CharSequence; | 298 | ····.local·v0,·"chosenWordWithSuggestions":Ljava/lang/CharSequence; |
295 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mConnection:Lorg/smc/inputmethod/indic/RichInputConnection; | 299 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mConnection:Lorg/smc/inputmethod/indic/RichInputConnection; |
296 | ····iget-object·v6,·p1,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mSpacingAndPunctuations:Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations; | 300 | ····iget-object·v6,·p1,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mSpacingAndPunctuations:Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations; |
297 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mWordComposer:Lorg/smc/inputmethod/indic/WordComposer; | 301 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mWordComposer:Lorg/smc/inputmethod/indic/WordComposer; |
302 | ····.line·2106 | ||
298 | ····invoke-virtual·{v3},·Lorg/smc/inputmethod/indic/WordComposer;->isComposingWord()Z | 303 | ····invoke-virtual·{v3},·Lorg/smc/inputmethod/indic/WordComposer;->isComposingWord()Z |
299 | ····move-result·v3 | 304 | ····move-result·v3 |
300 | ····if-eqz·v3,·:cond_0 | 305 | ····if-eqz·v3,·:cond_0 |
301 | ····const/4·v3,·0x2 | 306 | ····const/4·v3,·0x2 |
307 | ····.line·2105 | ||
302 | ····:goto_0 | 308 | ····:goto_0 |
303 | ····invoke-virtual·{v5,·v6,·v3},·Lorg/smc/inputmethod/indic/RichInputConnection;->getPrevWordsInfoFromNthPreviousWord(Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;I)Lcom/android/inputmethod/latin/PrevWordsInfo; | 309 | ····invoke-virtual·{v5,·v6,·v3},·Lorg/smc/inputmethod/indic/RichInputConnection;->getPrevWordsInfoFromNthPreviousWord(Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;I)Lcom/android/inputmethod/latin/PrevWordsInfo; |
304 | ····move-result-object·v1 | 310 | ····move-result-object·v1 |
305 | ····.line·2107 | 311 | ····.line·2107 |
306 | ····.local·v1,·"prevWordsInfo":Lcom/android/inputmethod/latin/PrevWordsInfo; | 312 | ····.local·v1,·"prevWordsInfo":Lcom/android/inputmethod/latin/PrevWordsInfo; |
Offset 336, 15 lines modified | Offset 342, 15 lines modified | ||
336 | ····.line·2116 | 342 | ····.line·2116 |
337 | ····return-void | 343 | ····return-void |
338 | ····.end·local·v1····#·"prevWordsInfo":Lcom/android/inputmethod/latin/PrevWordsInfo; | 344 | ····.end·local·v1····#·"prevWordsInfo":Lcom/android/inputmethod/latin/PrevWordsInfo; |
339 | ····:cond_0 | 345 | ····:cond_0 |
340 | ····move·v3,·v4 | 346 | ····move·v3,·v4 |
341 |
····.line·210 |
347 | ····.line·2106 |
342 | ····goto·:goto_0 | 348 | ····goto·:goto_0 |
343 | .end·method | 349 | .end·method |
344 | .method·private·commitCurrentAutoCorrection(Lorg/smc/inputmethod/indic/settings/SettingsValues;Ljava/lang/String;Lorg/smc/inputmethod/indic/LatinIME$UIHandler;)V | 350 | .method·private·commitCurrentAutoCorrection(Lorg/smc/inputmethod/indic/settings/SettingsValues;Ljava/lang/String;Lorg/smc/inputmethod/indic/LatinIME$UIHandler;)V |
345 | ····.locals·7 | 351 | ····.locals·7 |
346 | ····.param·p1,·"settingsValues"····#·Lorg/smc/inputmethod/indic/settings/SettingsValues; | 352 | ····.param·p1,·"settingsValues"····#·Lorg/smc/inputmethod/indic/settings/SettingsValues; |
347 | ····.param·p2,·"separator"····#·Ljava/lang/String; | 353 | ····.param·p2,·"separator"····#·Ljava/lang/String; |
Offset 433, 26 lines modified | Offset 439, 28 lines modified | ||
433 | ····.line·2081 | 439 | ····.line·2081 |
434 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mConnection:Lorg/smc/inputmethod/indic/RichInputConnection; | 440 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mConnection:Lorg/smc/inputmethod/indic/RichInputConnection; |
435 | ····new-instance·v4,·Landroid/view/inputmethod/CorrectionInfo; | 441 | ····new-instance·v4,·Landroid/view/inputmethod/CorrectionInfo; |
436 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mConnection:Lorg/smc/inputmethod/indic/RichInputConnection; | 442 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogic;->mConnection:Lorg/smc/inputmethod/indic/RichInputConnection; |
443 | ····.line·2082 | ||
437 | ····invoke-virtual·{v5},·Lorg/smc/inputmethod/indic/RichInputConnection;->getExpectedSelectionEnd()I | 444 | ····invoke-virtual·{v5},·Lorg/smc/inputmethod/indic/RichInputConnection;->getExpectedSelectionEnd()I |
438 | ····move-result·v5 | 445 | ····move-result·v5 |
439 | ····invoke-virtual·{v0},·Ljava/lang/String;->length()I | 446 | ····invoke-virtual·{v0},·Ljava/lang/String;->length()I |
Max diff block lines reached; 89515/92943 bytes (96.31%) of diff not shown. |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$isTailBatchInput:Z | 22 | .field·final·synthetic·val$isTailBatchInput:Z |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler;Z)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler;Z)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·138 | 28 | ····.line·138 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler$2;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler$2;->this$0:Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler; |
29 | ····iput-boolean·p2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler$2;->val$isTailBatchInput:Z | 30 | ····iput-boolean·p2,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler$2;->val$isTailBatchInput:Z |
Offset 85, 14 lines modified | Offset 85, 15 lines modified | ||
85 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler;->mLock:Ljava/lang/Object; | 85 | ····iput-object·v1,·p0,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler;->mLock:Ljava/lang/Object; |
86 | ····.line·71 | 86 | ····.line·71 |
87 | ····new-instance·v0,·Landroid/os/HandlerThread; | 87 | ····new-instance·v0,·Landroid/os/HandlerThread; |
88 | ····const-class·v1,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler; | 88 | ····const-class·v1,·Lorg/smc/inputmethod/indic/inputlogic/InputLogicHandler; |
89 | ····.line·72 | ||
89 | ····invoke-virtual·{v1},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; | 90 | ····invoke-virtual·{v1},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String; |
90 | ····move-result-object·v1 | 91 | ····move-result-object·v1 |
91 | ····invoke-direct·{v0,·v1},·Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V | 92 | ····invoke-direct·{v0,·v1},·Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V |
92 | ····.line·73 | 93 | ····.line·73 |
Offset 240, 14 lines modified | Offset 241, 15 lines modified | ||
240 | ····const/4·v1,·0x1 | 241 | ····const/4·v1,·0x1 |
241 | ····invoke-virtual·{v0,·v1,·p1,·p2,·p3},·Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message; | 242 | ····invoke-virtual·{v0,·v1,·p1,·p2,·p3},·Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message; |
242 | ····move-result-object·v0 | 243 | ····move-result-object·v0 |
244 | ····.line·211 | ||
243 | ····invoke-virtual·{v0},·Landroid/os/Message;->sendToTarget()V | 245 | ····invoke-virtual·{v0},·Landroid/os/Message;->sendToTarget()V |
244 | ····.line·212 | 246 | ····.line·212 |
245 | ····return-void | 247 | ····return-void |
246 | .end·method | 248 | .end·method |
247 | .method·public·handleMessage(Landroid/os/Message;)Z | 249 | .method·public·handleMessage(Landroid/os/Message;)Z |
Offset 44, 82 lines modified | Offset 44, 79 lines modified | ||
44 | ············"<", | 44 | ············"<", |
45 | ············"Ljava/lang/String;", | 45 | ············"Ljava/lang/String;", |
46 | ············">;" | 46 | ············">;" |
47 | ········} | 47 | ········} |
48 | ····.end·annotation | 48 | ····.end·annotation |
49 | ····.prologue | 49 | ····.prologue |
50 | ····const/4·v4,·0x0 | ||
50 | ····.line·38 | 51 | ····.line·38 |
51 |
····new-instance·v |
52 | ····new-instance·v2,·Ljava/util/ArrayList; |
52 |
····invoke-direct·{v |
53 | ····invoke-direct·{v2},·Ljava/util/ArrayList;-><init>()V |
53 | ····.line·39 | 54 | ····.line·39 |
54 |
····.local·v |
55 | ····.local·v2,·"retval":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" |
55 | ····invoke-static·{p0},·Lorg/smc/inputmethod/indic/personalization/AccountUtils;->getAccounts(Landroid/content/Context;)[Landroid/accounts/Account; | 56 | ····invoke-static·{p0},·Lorg/smc/inputmethod/indic/personalization/AccountUtils;->getAccounts(Landroid/content/Context;)[Landroid/accounts/Account; |
56 |
····move-result-object·v |
57 | ····move-result-object·v5 |
57 |
|
58 | ····array-length·v6,·v5 |
58 | ····array-length·v3,·v1 | ||
59 |
···· |
59 | ····move·v3,·v4 |
60 | ····const/4·v2,·0x0 | ||
61 | ····.local·v2,·"i$":I | ||
62 | ····:goto_0 | 60 | ····:goto_0 |
63 |
····if-ge·v |
61 | ····if-ge·v3,·v6,·:cond_1 |
64 |
····aget-object·v0,·v |
62 | ····aget-object·v0,·v5,·v3 |
65 | ····.line·40 | 63 | ····.line·40 |
66 | ····.local·v0,·"account":Landroid/accounts/Account; | 64 | ····.local·v0,·"account":Landroid/accounts/Account; |
67 |
····iget-object·v |
65 | ····iget-object·v1,·v0,·Landroid/accounts/Account;->name:Ljava/lang/String; |
68 | ····.line·41 | 66 | ····.line·41 |
69 |
····.local·v |
67 | ····.local·v1,·"name":Ljava/lang/String; |
70 |
····sget-object·v |
68 | ····sget-object·v7,·Landroid/util/Patterns;->EMAIL_ADDRESS:Ljava/util/regex/Pattern; |
71 |
····invoke-virtual·{v |
69 | ····invoke-virtual·{v7,·v1},·Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; |
72 |
····move-result-object·v |
70 | ····move-result-object·v7 |
73 |
····invoke-virtual·{v |
71 | ····invoke-virtual·{v7},·Ljava/util/regex/Matcher;->matches()Z |
74 |
····move-result·v |
72 | ····move-result·v7 |
75 |
····if-eqz·v |
73 | ····if-eqz·v7,·:cond_0 |
76 | ····.line·42 | 74 | ····.line·42 |
77 |
····invoke-virtual·{v |
75 | ····invoke-virtual·{v2,·v1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
78 | ····.line·43 | 76 | ····.line·43 |
79 |
····const-string·v |
77 | ····const-string·v7,·"@" |
80 | ····invoke-virtual·{v4,·v6},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; | ||
81 |
···· |
78 | ····invoke-virtual·{v1,·v7},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; |
82 |
···· |
79 | ····move-result-object·v7 |
83 |
····aget-object·v |
80 | ····aget-object·v7,·v7,·v4 |
84 |
····invoke-virtual·{v |
81 | ····invoke-virtual·{v2,·v7},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
85 | ····.line·39 | 82 | ····.line·39 |
86 | ····:cond_0 | 83 | ····:cond_0 |
87 |
····add-int/lit8·v |
84 | ····add-int/lit8·v3,·v3,·0x1 |
88 | ····goto·:goto_0 | 85 | ····goto·:goto_0 |
89 | ····.line·46 | 86 | ····.line·46 |
90 | ····.end·local·v0····#·"account":Landroid/accounts/Account; | 87 | ····.end·local·v0····#·"account":Landroid/accounts/Account; |
91 |
····.end·local·v |
88 | ····.end·local·v1····#·"name":Ljava/lang/String; |
92 | ····:cond_1 | 89 | ····:cond_1 |
93 |
····return-object·v |
90 | ····return-object·v2 |
94 | .end·method | 91 | .end·method |
95 | .method·public·static·getDeviceAccountsWithDomain(Landroid/content/Context;Ljava/lang/String;)Ljava/util/List; | 92 | .method·public·static·getDeviceAccountsWithDomain(Landroid/content/Context;Ljava/lang/String;)Ljava/util/List; |
96 | ····.locals·8 | 93 | ····.locals·8 |
97 | ····.param·p0,·"context"····#·Landroid/content/Context; | 94 | ····.param·p0,·"context"····#·Landroid/content/Context; |
98 | ····.param·p1,·"domain"····#·Ljava/lang/String; | 95 | ····.param·p1,·"domain"····#·Ljava/lang/String; |
99 | ····.annotation·system·Ldalvik/annotation/Signature; | 96 | ····.annotation·system·Ldalvik/annotation/Signature; |
Offset 133, 87 lines modified | Offset 130, 84 lines modified | ||
133 | ············"Ljava/lang/String;", | 130 | ············"Ljava/lang/String;", |
134 | ············">;" | 131 | ············">;" |
135 | ········} | 132 | ········} |
136 | ····.end·annotation | 133 | ····.end·annotation |
137 | ····.prologue | 134 | ····.prologue |
138 | ····.line·57 | 135 | ····.line·57 |
139 |
····new-instance·v |
136 | ····new-instance·v2,·Ljava/util/ArrayList; |
140 |
····invoke-direct·{v |
137 | ····invoke-direct·{v2},·Ljava/util/ArrayList;-><init>()V |
141 | ····.line·58 | 138 | ····.line·58 |
142 |
····.local·v |
139 | ····.local·v2,·"retval":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" |
143 |
····new-instance·v |
140 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
Max diff block lines reached; 2987/7114 bytes (41.99%) of diff not shown. |
Offset 86, 15 lines modified | Offset 86, 14 lines modified | ||
86 | .method·public·constructor·<init>()V | 86 | .method·public·constructor·<init>()V |
87 | ····.locals·0 | 87 | ····.locals·0 |
88 | ····.prologue | 88 | ····.prologue |
89 | ····.line·31 | 89 | ····.line·31 |
90 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 90 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
91 | ····.line·150 | ||
92 | ····return-void | 91 | ····return-void |
93 | .end·method | 92 | .end·method |
94 | .method·public·static·currentTimeChangedForTesting(I)V | 93 | .method·public·static·currentTimeChangedForTesting(I)V |
95 | ····.locals·4 | 94 | ····.locals·4 |
96 | ····.param·p0,·"currentTimestamp"····#·I | 95 | ····.param·p0,·"currentTimestamp"····#·I |
Offset 155, 14 lines modified | Offset 154, 15 lines modified | ||
155 | ····move-result·v3 | 154 | ····move-result·v3 |
156 | ····if-eqz·v3,·:cond_1 | 155 | ····if-eqz·v3,·:cond_1 |
157 | ····.line·98 | 156 | ····.line·98 |
158 | ····sget-object·v3,·Lorg/smc/inputmethod/indic/personalization/PersonalizationHelper;->sLangPersonalizationDictCache:Ljava/util/concurrent/ConcurrentHashMap; | 157 | ····sget-object·v3,·Lorg/smc/inputmethod/indic/personalization/PersonalizationHelper;->sLangPersonalizationDictCache:Ljava/util/concurrent/ConcurrentHashMap; |
158 | ····.line·99 | ||
159 | ····invoke-virtual·{v3,·v1},·Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 159 | ····invoke-virtual·{v3,·v1},·Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
160 | ····move-result-object·v2 | 160 | ····move-result-object·v2 |
161 | ····check-cast·v2,·Ljava/lang/ref/SoftReference; | 161 | ····check-cast·v2,·Ljava/lang/ref/SoftReference; |
162 | ····.line·100 | 162 | ····.line·100 |
Offset 258, 14 lines modified | Offset 258, 15 lines modified | ||
258 | ····move-result·v3 | 258 | ····move-result·v3 |
259 | ····if-eqz·v3,·:cond_1 | 259 | ····if-eqz·v3,·:cond_1 |
260 | ····.line·44 | 260 | ····.line·44 |
261 | ····sget-object·v3,·Lorg/smc/inputmethod/indic/personalization/PersonalizationHelper;->sLangUserHistoryDictCache:Ljava/util/concurrent/ConcurrentHashMap; | 261 | ····sget-object·v3,·Lorg/smc/inputmethod/indic/personalization/PersonalizationHelper;->sLangUserHistoryDictCache:Ljava/util/concurrent/ConcurrentHashMap; |
262 | ····.line·45 | ||
262 | ····invoke-virtual·{v3,·v1},·Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 263 | ····invoke-virtual·{v3,·v1},·Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
263 | ····move-result-object·v2 | 264 | ····move-result-object·v2 |
264 | ····check-cast·v2,·Ljava/lang/ref/SoftReference; | 265 | ····check-cast·v2,·Ljava/lang/ref/SoftReference; |
265 | ····.line·46 | 266 | ····.line·46 |
Offset 335, 15 lines modified | Offset 336, 15 lines modified | ||
335 | ····:try_end_0 | 336 | ····:try_end_0 |
336 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 337 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
337 | ····throw·v3 | 338 | ····throw·v3 |
338 | .end·method | 339 | .end·method |
339 | .method·private·static·removeAllDictionaries(Landroid/content/Context;Ljava/util/concurrent/ConcurrentHashMap;Ljava/lang/String;)V | 340 | .method·private·static·removeAllDictionaries(Landroid/content/Context;Ljava/util/concurrent/ConcurrentHashMap;Ljava/lang/String;)V |
340 |
····.locals· |
341 | ····.locals·6 |
341 | ····.param·p0,·"context"····#·Landroid/content/Context; | 342 | ····.param·p0,·"context"····#·Landroid/content/Context; |
342 | ····.param·p2,·"dictNamePrefix"····#·Ljava/lang/String; | 343 | ····.param·p2,·"dictNamePrefix"····#·Ljava/lang/String; |
343 | ····.annotation·system·Ldalvik/annotation/Signature; | 344 | ····.annotation·system·Ldalvik/annotation/Signature; |
344 | ········value·=·{ | 345 | ········value·=·{ |
345 | ············"<T:", | 346 | ············"<T:", |
346 | ············"Lorg/smc/inputmethod/indic/personalization/DecayingExpandableBinaryDictionaryBase;", | 347 | ············"Lorg/smc/inputmethod/indic/personalization/DecayingExpandableBinaryDictionaryBase;", |
347 | ············">(", | 348 | ············">(", |
Offset 363, 51 lines modified | Offset 364, 50 lines modified | ||
363 | ····.local·p1,·"dictionaryMap":Ljava/util/concurrent/ConcurrentHashMap;,·"Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Ljava/lang/ref/SoftReference<TT;>;>;" | 364 | ····.local·p1,·"dictionaryMap":Ljava/util/concurrent/ConcurrentHashMap;,·"Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Ljava/lang/ref/SoftReference<TT;>;>;" |
364 | ····monitor-enter·p1 | 365 | ····monitor-enter·p1 |
365 | ····.line·129 | 366 | ····.line·129 |
366 | ····:try_start_0 | 367 | ····:try_start_0 |
367 | ····invoke-virtual·{p1},·Ljava/util/concurrent/ConcurrentHashMap;->entrySet()Ljava/util/Set; | 368 | ····invoke-virtual·{p1},·Ljava/util/concurrent/ConcurrentHashMap;->entrySet()Ljava/util/Set; |
368 |
····move-result-object·v |
369 | ····move-result-object·v3 |
369 |
····invoke-interface·{v |
370 | ····invoke-interface·{v3},·Ljava/util/Set;->iterator()Ljava/util/Iterator; |
370 |
····move-result-object·v |
371 | ····move-result-object·v4 |
371 | ····.local·v3,·"i$":Ljava/util/Iterator; | ||
372 | ····:cond_0 | 372 | ····:cond_0 |
373 | ····:goto_0 | 373 | ····:goto_0 |
374 |
····invoke-interface·{v |
374 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z |
375 |
····move-result·v |
375 | ····move-result·v3 |
376 |
····if-eqz·v |
376 | ····if-eqz·v3,·:cond_1 |
377 |
····invoke-interface·{v |
377 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
378 | ····move-result-object·v1 | 378 | ····move-result-object·v1 |
379 | ····check-cast·v1,·Ljava/util/Map$Entry; | 379 | ····check-cast·v1,·Ljava/util/Map$Entry; |
380 | ····.line·130 | 380 | ····.line·130 |
381 | ····.local·v1,·"entry":Ljava/util/Map$Entry;,·"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/ref/SoftReference<TT;>;>;" | 381 | ····.local·v1,·"entry":Ljava/util/Map$Entry;,·"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/ref/SoftReference<TT;>;>;" |
382 | ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; | 382 | ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; |
383 |
····move-result-object·v |
383 | ····move-result-object·v3 |
384 |
····if-eqz·v |
384 | ····if-eqz·v3,·:cond_0 |
Max diff block lines reached; 8379/11700 bytes (71.62%) of diff not shown. |
Offset 80, 14 lines modified | Offset 80, 15 lines modified | ||
80 | ····const/16·v1,·0x30 | 80 | ····const/16·v1,·0x30 |
81 | ····if-gt·v0,·v1,·:cond_0 | 81 | ····if-gt·v0,·v1,·:cond_0 |
82 | ····if-eqz·v9,·:cond_1 | 82 | ····if-eqz·v9,·:cond_1 |
83 | ····.line·67 | ||
83 | ····invoke-interface·{v9},·Ljava/lang/CharSequence;->length()I | 84 | ····invoke-interface·{v9},·Ljava/lang/CharSequence;->length()I |
84 | ····move-result·v0 | 85 | ····move-result·v0 |
85 | ····const/16·v1,·0x30 | 86 | ····const/16·v1,·0x30 |
86 | ····if-le·v0,·v1,·:cond_1 | 87 | ····if-le·v0,·v1,·:cond_1 |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$res:Landroid/content/res/Resources; | 24 | .field·final·synthetic·val$res:Landroid/content/res/Resources; |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;Landroid/content/SharedPreferences;Landroid/content/res/Resources;)V | 26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;Landroid/content/SharedPreferences;Landroid/content/res/Resources;)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·158 | 30 | ····.line·158 |
30 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment; | 31 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment; |
31 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$1;->val$prefs:Landroid/content/SharedPreferences; | 32 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$1;->val$prefs:Landroid/content/SharedPreferences; |
Offset 30, 14 lines modified | Offset 30, 15 lines modified | ||
30 | .field·final·synthetic·val$res:Landroid/content/res/Resources; | 30 | .field·final·synthetic·val$res:Landroid/content/res/Resources; |
31 | #·direct·methods | 31 | #·direct·methods |
32 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;Landroid/content/SharedPreferences;Landroid/content/res/Resources;Landroid/media/AudioManager;)V | 32 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;Landroid/content/SharedPreferences;Landroid/content/res/Resources;Landroid/media/AudioManager;)V |
33 | ····.locals·0 | 33 | ····.locals·0 |
34 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment; | ||
34 | ····.prologue | 35 | ····.prologue |
35 | ····.line·203 | 36 | ····.line·203 |
36 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment; | 37 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment; |
37 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->val$prefs:Landroid/content/SharedPreferences; | 38 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->val$prefs:Landroid/content/SharedPreferences; |
Offset 88, 18 lines modified | Offset 89, 20 lines modified | ||
88 | ····.prologue | 89 | ····.prologue |
89 | ····.line·244 | 90 | ····.line·244 |
90 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->val$am:Landroid/media/AudioManager; | 91 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->val$am:Landroid/media/AudioManager; |
91 | ····const/4·v1,·0x5 | 92 | ····const/4·v1,·0x5 |
93 | ····.line·245 | ||
92 | ····invoke-direct·{p0,·p1},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->getValueFromPercentage(I)F | 94 | ····invoke-direct·{p0,·p1},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment$2;->getValueFromPercentage(I)F |
93 | ····move-result·v2 | 95 | ····move-result·v2 |
96 | ····.line·244 | ||
94 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/media/AudioManager;->playSoundEffect(IF)V | 97 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/media/AudioManager;->playSoundEffect(IF)V |
95 | ····.line·246 | 98 | ····.line·246 |
96 | ····return-void | 99 | ····return-void |
97 | .end·method | 100 | .end·method |
98 | .method·public·getValueText(I)Ljava/lang/String; | 101 | .method·public·getValueText(I)Ljava/lang/String; |
Offset 29, 27 lines modified | Offset 29, 31 lines modified | ||
29 | ····move-result-object·v1 | 29 | ····move-result-object·v1 |
30 | ····.line·144 | 30 | ····.line·144 |
31 | ····.local·v1,·"res":Landroid/content/res/Resources; | 31 | ····.local·v1,·"res":Landroid/content/res/Resources; |
32 | ····const-string·v2,·"pref_vibration_duration_settings" | 32 | ····const-string·v2,·"pref_vibration_duration_settings" |
33 | ····.line·145 | ||
33 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readVibrationEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z | 34 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readVibrationEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z |
34 | ····move-result·v3 | 35 | ····move-result·v3 |
36 | ····.line·144 | ||
35 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V | 37 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V |
36 | ····.line·146 | 38 | ····.line·146 |
37 | ····const-string·v2,·"pref_keypress_sound_volume" | 39 | ····const-string·v2,·"pref_keypress_sound_volume" |
40 | ····.line·147 | ||
38 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeypressSoundEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z | 41 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeypressSoundEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z |
39 | ····move-result·v3 | 42 | ····move-result·v3 |
43 | ····.line·146 | ||
40 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V | 44 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V |
41 | ····.line·148 | 45 | ····.line·148 |
42 | ····return-void | 46 | ····return-void |
43 | .end·method | 47 | .end·method |
44 | .method·private·setupKeypressSoundVolumeSettings()V | 48 | .method·private·setupKeypressSoundVolumeSettings()V |
Offset 285, 14 lines modified | Offset 289, 15 lines modified | ||
285 | ····.line·114 | 289 | ····.line·114 |
286 | ····return-void | 290 | ····return-void |
287 | ····.line·74 | 291 | ····.line·74 |
288 | ····:cond_3 | 292 | ····:cond_3 |
289 | ····const-string·v5,·"pref_key_preview_popup_dismiss_delay" | 293 | ····const-string·v5,·"pref_key_preview_popup_dismiss_delay" |
294 | ····.line·75 | ||
290 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; | 295 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/AdvancedSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; |
291 | ····move-result-object·v1 | 296 | ····move-result-object·v1 |
292 | ····check-cast·v1,·Landroid/preference/ListPreference; | 297 | ····check-cast·v1,·Landroid/preference/ListPreference; |
293 | ····.line·76 | 298 | ····.line·76 |
Offset 309, 28 lines modified | Offset 314, 31 lines modified | ||
309 | ····.line·78 | 314 | ····.line·78 |
310 | ····.local·v2,·"popupDismissDelayDefaultValue":Ljava/lang/String; | 315 | ····.local·v2,·"popupDismissDelayDefaultValue":Ljava/lang/String; |
311 | ····new-array·v5,·v9,·[Ljava/lang/String; | 316 | ····new-array·v5,·v9,·[Ljava/lang/String; |
312 | ····const·v6,·0x7f0c004e | 317 | ····const·v6,·0x7f0c004e |
318 | ····.line·79 | ||
313 | ····invoke-virtual·{v4,·v6},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 319 | ····invoke-virtual·{v4,·v6},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
314 | ····move-result-object·v6 | 320 | ····move-result-object·v6 |
315 | ····aput-object·v6,·v5,·v7 | 321 | ····aput-object·v6,·v5,·v7 |
316 | ····const·v6,·0x7f0c004c | 322 | ····const·v6,·0x7f0c004c |
323 | ····.line·80 | ||
317 | ····invoke-virtual·{v4,·v6},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 324 | ····invoke-virtual·{v4,·v6},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
318 | ····move-result-object·v6 | 325 | ····move-result-object·v6 |
319 | ····aput-object·v6,·v5,·v8 | 326 | ····aput-object·v6,·v5,·v8 |
327 | ····.line·78 | ||
320 | ····invoke-virtual·{v1,·v5},·Landroid/preference/ListPreference;->setEntries([Ljava/lang/CharSequence;)V | 328 | ····invoke-virtual·{v1,·v5},·Landroid/preference/ListPreference;->setEntries([Ljava/lang/CharSequence;)V |
321 | ····.line·82 | 329 | ····.line·82 |
322 | ····new-array·v5,·v9,·[Ljava/lang/String; | 330 | ····new-array·v5,·v9,·[Ljava/lang/String; |
323 | ····const-string·v6,·"0" | 331 | ····const-string·v6,·"0" |
Offset 346, 20 lines modified | Offset 354, 21 lines modified | ||
346 | ····move-result-object·v5 | 354 | ····move-result-object·v5 |
347 | ····if-nez·v5,·:cond_4 | 355 | ····if-nez·v5,·:cond_4 |
348 | ····.line·87 | 356 | ····.line·87 |
349 | ····invoke-virtual·{v1,·v2},·Landroid/preference/ListPreference;->setValue(Ljava/lang/String;)V | 357 | ····invoke-virtual·{v1,·v2},·Landroid/preference/ListPreference;->setValue(Ljava/lang/String;)V |
350 |
····.line· |
358 | ····.line·90 |
351 | ····:cond_4 | 359 | ····:cond_4 |
352 | ····invoke-static·{v3,·v4},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeyPreviewPopupEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z | 360 | ····invoke-static·{v3,·v4},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeyPreviewPopupEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z |
353 | ····move-result·v5 | 361 | ····move-result·v5 |
362 | ····.line·89 | ||
354 | ····invoke-virtual·{v1,·v5},·Landroid/preference/ListPreference;->setEnabled(Z)V | 363 | ····invoke-virtual·{v1,·v5},·Landroid/preference/ListPreference;->setEnabled(Z)V |
355 | ····goto·:goto_0 | 364 | ····goto·:goto_0 |
356 | .end·method | 365 | .end·method |
Max diff block lines reached; 1105/3965 bytes (27.87%) of diff not shown. |
Offset 59, 18 lines modified | Offset 59, 20 lines modified | ||
59 | ····.prologue | 59 | ····.prologue |
60 | ····.line·36 | 60 | ····.line·36 |
61 | ····invoke-super·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->onResume()V | 61 | ····invoke-super·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->onResume()V |
62 | ····.line·37 | 62 | ····.line·37 |
63 | ····const-string·v0,·"custom_input_styles" | 63 | ····const-string·v0,·"custom_input_styles" |
64 | ····.line·38 | ||
64 | ····invoke-virtual·{p0,·v0},·Lorg/smc/inputmethod/indic/settings/AppearanceSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; | 65 | ····invoke-virtual·{p0,·v0},·Lorg/smc/inputmethod/indic/settings/AppearanceSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; |
65 | ····move-result-object·v0 | 66 | ····move-result-object·v0 |
67 | ····.line·37 | ||
66 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->updateCustomInputStylesSummary(Landroid/preference/Preference;)V | 68 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->updateCustomInputStylesSummary(Landroid/preference/Preference;)V |
67 | ····.line·39 | 69 | ····.line·39 |
68 | ····const-string·v0,·"screen_theme" | 70 | ····const-string·v0,·"screen_theme" |
69 | ····invoke-virtual·{p0,·v0},·Lorg/smc/inputmethod/indic/settings/AppearanceSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; | 71 | ····invoke-virtual·{p0,·v0},·Lorg/smc/inputmethod/indic/settings/AppearanceSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; |
Offset 71, 29 lines modified | Offset 71, 31 lines modified | ||
71 | ····move-result-object·v2 | 71 | ····move-result-object·v2 |
72 | ····.line·101 | 72 | ····.line·101 |
73 | ····.local·v2,·"currentSetting":Ljava/lang/String; | 73 | ····.local·v2,·"currentSetting":Ljava/lang/String; |
74 | ····const-string·v4,·"next_word_prediction" | 74 | ····const-string·v4,·"next_word_prediction" |
75 | ····.line·102 | ||
75 | ····invoke-virtual·{v2,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 76 | ····invoke-virtual·{v2,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
76 | ····move-result·v3 | 77 | ····move-result·v3 |
77 | ····if-nez·v3,·:cond_0 | 78 | ····if-nez·v3,·:cond_0 |
78 | ····const/4·v3,·0x1 | 79 | ····const/4·v3,·0x1 |
80 | ····.line·101 | ||
79 | ····:goto_0 | 81 | ····:goto_0 |
80 | ····invoke-virtual·{p0,·v4,·v3},·Lorg/smc/inputmethod/indic/settings/CorrectionSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V | 82 | ····invoke-virtual·{p0,·v4,·v3},·Lorg/smc/inputmethod/indic/settings/CorrectionSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V |
81 | ····.line·103 | 83 | ····.line·103 |
82 | ····return-void | 84 | ····return-void |
83 |
····.line·10 |
85 | ····.line·102 |
84 | ····:cond_0 | 86 | ····:cond_0 |
85 | ····const/4·v3,·0x0 | 87 | ····const/4·v3,·0x0 |
86 | ····goto·:goto_0 | 88 | ····goto·:goto_0 |
87 | .end·method | 89 | .end·method |
88 | .method·private·overwriteUserDictionaryPreference(Landroid/preference/Preference;)V | 90 | .method·private·overwriteUserDictionaryPreference(Landroid/preference/Preference;)V |
Offset 235, 14 lines modified | Offset 237, 15 lines modified | ||
235 | ····const-string·v5,·"configure_dictionaries_key" | 237 | ····const-string·v5,·"configure_dictionaries_key" |
236 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/CorrectionSettingsFragment;->removePreference(Ljava/lang/String;)V | 238 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/CorrectionSettingsFragment;->removePreference(Ljava/lang/String;)V |
237 | ····.line·79 | 239 | ····.line·79 |
238 | ····const-string·v5,·"edit_personal_dictionary" | 240 | ····const-string·v5,·"edit_personal_dictionary" |
241 | ····.line·80 | ||
239 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/CorrectionSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; | 242 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/CorrectionSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; |
240 | ····move-result-object·v1 | 243 | ····move-result-object·v1 |
241 | ····.line·81 | 244 | ····.line·81 |
242 | ····.local·v1,·"editPersonalDictionary":Landroid/preference/Preference; | 245 | ····.local·v1,·"editPersonalDictionary":Landroid/preference/Preference; |
243 | ····invoke-virtual·{v1},·Landroid/preference/Preference;->getIntent()Landroid/content/Intent; | 246 | ····invoke-virtual·{v1},·Landroid/preference/Preference;->getIntent()Landroid/content/Intent; |
Offset 270, 14 lines modified | Offset 273, 15 lines modified | ||
270 | ····return-void | 273 | ····return-void |
271 | ····.line·82 | 274 | ····.line·82 |
272 | ····.end·local·v4····#·"ri":Landroid/content/pm/ResolveInfo; | 275 | ····.end·local·v4····#·"ri":Landroid/content/pm/ResolveInfo; |
273 | ····:cond_1 | 276 | ····:cond_1 |
274 | ····const/high16·v5,·0x10000 | 277 | ····const/high16·v5,·0x10000 |
278 | ····.line·83 | ||
275 | ····invoke-virtual·{v3,·v2,·v5},·Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo; | 279 | ····invoke-virtual·{v3,·v2,·v5},·Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo; |
276 | ····move-result-object·v4 | 280 | ····move-result-object·v4 |
277 | ····goto·:goto_0 | 281 | ····goto·:goto_0 |
278 | .end·method | 282 | .end·method |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·484 | 27 | ····.line·484 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; |
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:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·562 | 27 | ····.line·562 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 41, 25 lines modified | Offset 42, 27 lines modified | ||
41 | ····.param·p1,·"dialog"····#·Landroid/content/DialogInterface; | 42 | ····.param·p1,·"dialog"····#·Landroid/content/DialogInterface; |
42 | ····.param·p2,·"which"····#·I | 43 | ····.param·p2,·"which"····#·I |
43 | ····.prologue | 44 | ····.prologue |
44 | ····.line·565 | 45 | ····.line·565 |
45 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | 46 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; |
47 | ····.line·566 | ||
46 | ····#·getter·for:·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->mRichImm:Lorg/smc/inputmethod/indic/RichInputMethodManager; | 48 | ····#·getter·for:·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->mRichImm:Lorg/smc/inputmethod/indic/RichInputMethodManager; |
47 | ····invoke-static·{v1},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->access$200(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)Lorg/smc/inputmethod/indic/RichInputMethodManager; | 49 | ····invoke-static·{v1},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->access$200(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)Lorg/smc/inputmethod/indic/RichInputMethodManager; |
48 | ····move-result-object·v1 | 50 | ····move-result-object·v1 |
49 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodIdOfThisIme()Ljava/lang/String; | 51 | ····invoke-virtual·{v1},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodIdOfThisIme()Ljava/lang/String; |
50 | ····move-result-object·v1 | 52 | ····move-result-object·v1 |
51 | ····const/high16·v2,·0x14200000 | 53 | ····const/high16·v2,·0x14200000 |
54 | ····.line·565 | ||
52 | ····invoke-static·{v1,·v2},·Lcom/android/inputmethod/latin/utils/IntentUtils;->getInputLanguageSelectionIntent(Ljava/lang/String;I)Landroid/content/Intent; | 55 | ····invoke-static·{v1,·v2},·Lcom/android/inputmethod/latin/utils/IntentUtils;->getInputLanguageSelectionIntent(Ljava/lang/String;I)Landroid/content/Intent; |
53 | ····move-result-object·v0 | 56 | ····move-result-object·v0 |
54 | ····.line·573 | 57 | ····.line·573 |
55 | ····.local·v0,·"intent":Landroid/content/Intent; | 58 | ····.local·v0,·"intent":Landroid/content/Intent; |
56 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; | 59 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment; |
Offset 26, 60 lines modified | Offset 26, 58 lines modified | ||
26 | #·direct·methods | 26 | #·direct·methods |
27 | .method·public·constructor·<init>(Landroid/content/Context;)V | 27 | .method·public·constructor·<init>(Landroid/content/Context;)V |
28 | ····.locals·6 | 28 | ····.locals·6 |
29 | ····.param·p1,·"context"····#·Landroid/content/Context; | 29 | ····.param·p1,·"context"····#·Landroid/content/Context; |
30 | ····.prologue | 30 | ····.prologue |
31 | ····.line·149 | 31 | ····.line·149 |
32 |
····const·v |
32 | ····const·v2,·0x1090008 |
33 |
····invoke-direct·{p0,·p1,·v |
33 | ····invoke-direct·{p0,·p1,·v2},·Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;I)V |
34 | ····.line·150 | 34 | ····.line·150 |
35 |
····const·v |
35 | ····const·v2,·0x1090009 |
36 |
····invoke-virtual·{p0,·v |
36 | ····invoke-virtual·{p0,·v2},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetAdapter;->setDropDownViewResource(I)V |
37 | ····.line·153 | 37 | ····.line·153 |
38 | ····invoke-static·{},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getPredefinedKeyboardLayoutSet()[Ljava/lang/String; | 38 | ····invoke-static·{},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getPredefinedKeyboardLayoutSet()[Ljava/lang/String; |
39 |
····move-result-object·v |
39 | ····move-result-object·v3 |
40 |
|
40 | ····array-length·v4,·v3 |
41 | ····array-length·v3,·v0 | ||
42 |
···· |
41 | ····const/4·v2,·0x0 |
43 | ····const/4·v1,·0x0 | ||
44 | ····.local·v1,·"i$":I | ||
45 | ····:goto_0 | 42 | ····:goto_0 |
46 |
····if-ge·v |
43 | ····if-ge·v2,·v4,·:cond_0 |
47 |
····aget-object·v |
44 | ····aget-object·v0,·v3,·v2 |
48 | ····.line·155 | 45 | ····.line·155 |
49 |
····.local·v |
46 | ····.local·v0,·"layout":Ljava/lang/String; |
50 | ····const-string·v5,·"en_US" | 47 | ····const-string·v5,·"en_US" |
51 |
|
48 | ····.line·156 |
49 | ····invoke-static·{v5,·v0},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->createDummyAdditionalSubtype(Ljava/lang/String;Ljava/lang/String;)Landroid/view/inputmethod/InputMethodSubtype; | ||
52 |
····move-result-object·v |
50 | ····move-result-object·v1 |
53 | ····.line·158 | 51 | ····.line·158 |
54 |
····.local·v |
52 | ····.local·v1,·"subtype":Landroid/view/inputmethod/InputMethodSubtype; |
55 | ····new-instance·v5,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem; | 53 | ····new-instance·v5,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem; |
56 |
····invoke-direct·{v5,·v |
54 | ····invoke-direct·{v5,·v1},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem;-><init>(Landroid/view/inputmethod/InputMethodSubtype;)V |
57 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetAdapter;->add(Ljava/lang/Object;)V | 55 | ····invoke-virtual·{p0,·v5},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetAdapter;->add(Ljava/lang/Object;)V |
58 | ····.line·153 | 56 | ····.line·153 |
59 |
····add-int/lit8·v |
57 | ····add-int/lit8·v2,·v2,·0x1 |
60 | ····goto·:goto_0 | 58 | ····goto·:goto_0 |
61 | ····.line·160 | 59 | ····.line·160 |
62 |
····.end·local·v |
60 | ····.end·local·v0····#·"layout":Ljava/lang/String; |
63 |
····.end·local·v |
61 | ····.end·local·v1····#·"subtype":Landroid/view/inputmethod/InputMethodSubtype; |
64 | ····:cond_0 | 62 | ····:cond_0 |
65 | ····return-void | 63 | ····return-void |
66 | .end·method | 64 | .end·method |
Offset 31, 18 lines modified | Offset 31, 20 lines modified | ||
31 | ····.prologue | 31 | ····.prologue |
32 | ····.line·137 | 32 | ····.line·137 |
33 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; | 33 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; |
34 | ····move-result-object·v0 | 34 | ····move-result-object·v0 |
35 | ····.line·138 | ||
35 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetDisplayName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; | 36 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getKeyboardLayoutSetDisplayName(Landroid/view/inputmethod/InputMethodSubtype;)Ljava/lang/String; |
36 | ····move-result-object·v1 | 37 | ····move-result-object·v1 |
38 | ····.line·137 | ||
37 | ····invoke-direct·{p0,·v0,·v1},·Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V | 39 | ····invoke-direct·{p0,·v0,·v1},·Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V |
38 | ····.line·139 | 40 | ····.line·139 |
39 | ····return-void | 41 | ····return-void |
40 | .end·method | 42 | .end·method |
Offset 68, 14 lines modified | Offset 68, 15 lines modified | ||
68 | ····.line·107 | 68 | ····.line·107 |
69 | ····.local·v3,·"items":Ljava/util/TreeSet;,·"Ljava/util/TreeSet<Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem;>;" | 69 | ····.local·v3,·"items":Ljava/util/TreeSet;,·"Ljava/util/TreeSet<Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem;>;" |
70 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInstance()Lorg/smc/inputmethod/indic/RichInputMethodManager; | 70 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInstance()Lorg/smc/inputmethod/indic/RichInputMethodManager; |
71 | ····move-result-object·v5 | 71 | ····move-result-object·v5 |
72 | ····.line·108 | ||
72 | ····invoke-virtual·{v5},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodInfoOfThisIme()Landroid/view/inputmethod/InputMethodInfo; | 73 | ····invoke-virtual·{v5},·Lorg/smc/inputmethod/indic/RichInputMethodManager;->getInputMethodInfoOfThisIme()Landroid/view/inputmethod/InputMethodInfo; |
73 | ····move-result-object·v2 | 74 | ····move-result-object·v2 |
74 | ····.line·109 | 75 | ····.line·109 |
75 | ····.local·v2,·"imi":Landroid/view/inputmethod/InputMethodInfo; | 76 | ····.local·v2,·"imi":Landroid/view/inputmethod/InputMethodInfo; |
76 | ····invoke-virtual·{v2},·Landroid/view/inputmethod/InputMethodInfo;->getSubtypeCount()I | 77 | ····invoke-virtual·{v2},·Landroid/view/inputmethod/InputMethodInfo;->getSubtypeCount()I |
Offset 34, 18 lines modified | Offset 34, 20 lines modified | ||
34 | #·direct·methods | 34 | #·direct·methods |
35 | .method·public·constructor·<init>(Ljava/lang/String;)V | 35 | .method·public·constructor·<init>(Ljava/lang/String;)V |
36 | ····.locals·1 | 36 | ····.locals·1 |
37 | ····.param·p1,·"localeString"····#·Ljava/lang/String; | 37 | ····.param·p1,·"localeString"····#·Ljava/lang/String; |
38 | ····.prologue | 38 | ····.prologue |
39 | ····.line·83 | 39 | ····.line·83 |
40 | ····.line·84 | ||
40 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getSubtypeLocaleDisplayNameInSystemLocale(Ljava/lang/String;)Ljava/lang/String; | 41 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/SubtypeLocaleUtils;->getSubtypeLocaleDisplayNameInSystemLocale(Ljava/lang/String;)Ljava/lang/String; |
41 | ····move-result-object·v0 | 42 | ····move-result-object·v0 |
43 | ····.line·83 | ||
42 | ····invoke-direct·{p0,·p1,·v0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem;-><init>(Ljava/lang/String;Ljava/lang/String;)V | 44 | ····invoke-direct·{p0,·p1,·v0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem;-><init>(Ljava/lang/String;Ljava/lang/String;)V |
43 | ····.line·85 | 45 | ····.line·85 |
44 | ····return-void | 46 | ····return-void |
45 | .end·method | 47 | .end·method |
46 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V | 48 | .method·public·constructor·<init>(Ljava/lang/String;Ljava/lang/String;)V |
Offset 301, 24 lines modified | Offset 301, 26 lines modified | ||
301 | ····const/4·v0,·0x1 | 301 | ····const/4·v0,·0x1 |
302 | ····.line·294 | 302 | ····.line·294 |
303 | ····.local·v0,·"isEditing":Z | 303 | ····.local·v0,·"isEditing":Z |
304 | ····:goto_1 | 304 | ····:goto_1 |
305 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->mSubtypeLocaleSpinner:Landroid/widget/Spinner; | 305 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->mSubtypeLocaleSpinner:Landroid/widget/Spinner; |
306 | ····.line·295 | ||
306 | ····invoke-virtual·{v4},·Landroid/widget/Spinner;->getSelectedItem()Ljava/lang/Object; | 307 | ····invoke-virtual·{v4},·Landroid/widget/Spinner;->getSelectedItem()Ljava/lang/Object; |
307 | ····move-result-object·v2 | 308 | ····move-result-object·v2 |
308 | ····check-cast·v2,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; | 309 | ····check-cast·v2,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; |
309 | ····.line·296 | 310 | ····.line·296 |
310 | ····.local·v2,·"locale":Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; | 311 | ····.local·v2,·"locale":Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; |
311 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->mKeyboardLayoutSetSpinner:Landroid/widget/Spinner; | 312 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->mKeyboardLayoutSetSpinner:Landroid/widget/Spinner; |
313 | ····.line·297 | ||
312 | ····invoke-virtual·{v4},·Landroid/widget/Spinner;->getSelectedItem()Ljava/lang/Object; | 314 | ····invoke-virtual·{v4},·Landroid/widget/Spinner;->getSelectedItem()Ljava/lang/Object; |
313 | ····move-result-object·v1 | 315 | ····move-result-object·v1 |
314 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem; | 316 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem; |
315 | ····.line·298 | 317 | ····.line·298 |
Offset 327, 14 lines modified | Offset 329, 15 lines modified | ||
327 | ····check-cast·v4,·Ljava/lang/String; | 329 | ····check-cast·v4,·Ljava/lang/String; |
328 | ····iget-object·v5,·v1,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem;->first:Ljava/lang/Object; | 330 | ····iget-object·v5,·v1,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem;->first:Ljava/lang/Object; |
329 | ····check-cast·v5,·Ljava/lang/String; | 331 | ····check-cast·v5,·Ljava/lang/String; |
332 | ····.line·299 | ||
330 | ····invoke-static·{v4,·v5},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->createAsciiEmojiCapableAdditionalSubtype(Ljava/lang/String;Ljava/lang/String;)Landroid/view/inputmethod/InputMethodSubtype; | 333 | ····invoke-static·{v4,·v5},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->createAsciiEmojiCapableAdditionalSubtype(Ljava/lang/String;Ljava/lang/String;)Landroid/view/inputmethod/InputMethodSubtype; |
331 | ····move-result-object·v3 | 334 | ····move-result-object·v3 |
332 | ····.line·301 | 335 | ····.line·301 |
333 | ····.local·v3,·"subtype":Landroid/view/inputmethod/InputMethodSubtype; | 336 | ····.local·v3,·"subtype":Landroid/view/inputmethod/InputMethodSubtype; |
334 | ····invoke-virtual·{p0,·v3},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->setSubtype(Landroid/view/inputmethod/InputMethodSubtype;)V | 337 | ····invoke-virtual·{p0,·v3},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->setSubtype(Landroid/view/inputmethod/InputMethodSubtype;)V |
Offset 492, 43 lines modified | Offset 495, 48 lines modified | ||
492 | ····.line·255 | 495 | ····.line·255 |
493 | ····const·v3,·0x7f0c0002 | 496 | ····const·v3,·0x7f0c0002 |
494 | ····invoke-virtual·{p1,·v3,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 497 | ····invoke-virtual·{p1,·v3,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
495 | ····move-result-object·v3 | 498 | ····move-result-object·v3 |
499 | ····.line·256 | ||
496 | ····invoke-virtual·{v3,·v4,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 500 | ····invoke-virtual·{v3,·v4,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
497 | ····.line·267 | 501 | ····.line·267 |
498 | ····:goto_0 | 502 | ····:goto_0 |
499 | ····return-void | 503 | ····return-void |
500 | ····.line·258 | 504 | ····.line·258 |
501 | ····:cond_0 | 505 | ····:cond_0 |
502 | ····const·v3,·0x7f0c00c1 | 506 | ····const·v3,·0x7f0c00c1 |
503 | ····invoke-virtual·{p1,·v3,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 507 | ····invoke-virtual·{p1,·v3,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
504 | ····move-result-object·v3 | 508 | ····move-result-object·v3 |
509 | ····.line·259 | ||
505 | ····invoke-virtual·{v3,·v4,·p0},·Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 510 | ····invoke-virtual·{v3,·v4,·p0},·Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
506 | ····move-result-object·v3 | 511 | ····move-result-object·v3 |
507 | ····const·v4,·0x7f0c00c0 | 512 | ····const·v4,·0x7f0c00c0 |
513 | ····.line·260 | ||
508 | ····invoke-virtual·{v3,·v4,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 514 | ····invoke-virtual·{v3,·v4,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
509 | ····.line·261 | 515 | ····.line·261 |
510 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->mSubtype:Landroid/view/inputmethod/InputMethodSubtype; | 516 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->mSubtype:Landroid/view/inputmethod/InputMethodSubtype; |
517 | ····.line·262 | ||
511 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getLocale()Ljava/lang/String; | 518 | ····invoke-virtual·{v3},·Landroid/view/inputmethod/InputMethodSubtype;->getLocale()Ljava/lang/String; |
512 | ····move-result-object·v3 | 519 | ····move-result-object·v3 |
520 | ····.line·261 | ||
513 | ····invoke-static·{v0,·v3},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleAdapter;->createItem(Landroid/content/Context;Ljava/lang/String;)Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; | 521 | ····invoke-static·{v0,·v3},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleAdapter;->createItem(Landroid/content/Context;Ljava/lang/String;)Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; |
514 | ····move-result-object·v2 | 522 | ····move-result-object·v2 |
515 | ····.line·263 | 523 | ····.line·263 |
516 | ····.local·v2,·"localeItem":Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; | 524 | ····.local·v2,·"localeItem":Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeLocaleItem; |
517 | ····new-instance·v1,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem; | 525 | ····new-instance·v1,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$KeyboardLayoutSetItem; |
Offset 717, 15 lines modified | Offset 725, 15 lines modified | ||
717 | ····invoke-virtual·{p0,·v1},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->setKey(Ljava/lang/String;)V | 725 | ····invoke-virtual·{p0,·v1},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference;->setKey(Ljava/lang/String;)V |
718 | ····.line·224 | 726 | ····.line·224 |
719 | ····:goto_0 | 727 | ····:goto_0 |
720 | ····return-void | 728 | ····return-void |
Max diff block lines reached; 1179/5375 bytes (21.93%) of diff not shown. |
Offset 196, 14 lines modified | Offset 196, 15 lines modified | ||
196 | .method·private·createDialog()Landroid/app/AlertDialog; | 196 | .method·private·createDialog()Landroid/app/AlertDialog; |
197 | ····.locals·4 | 197 | ····.locals·4 |
198 | ····.prologue | 198 | ····.prologue |
199 | ····.line·557 | 199 | ····.line·557 |
200 | ····new-instance·v0,·Landroid/app/AlertDialog$Builder; | 200 | ····new-instance·v0,·Landroid/app/AlertDialog$Builder; |
201 | ····.line·558 | ||
201 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->getActivity()Landroid/app/Activity; | 202 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->getActivity()Landroid/app/Activity; |
202 | ····move-result-object·v1 | 203 | ····move-result-object·v1 |
203 | ····invoke-static·{v1},·Lcom/android/inputmethod/latin/utils/DialogUtils;->getPlatformDialogThemeContext(Landroid/content/Context;)Landroid/content/Context; | 204 | ····invoke-static·{v1},·Lcom/android/inputmethod/latin/utils/DialogUtils;->getPlatformDialogThemeContext(Landroid/content/Context;)Landroid/content/Context; |
204 | ····move-result-object·v1 | 205 | ····move-result-object·v1 |
Offset 216, 32 lines modified | Offset 217, 35 lines modified | ||
216 | ····invoke-virtual·{v0,·v1},·Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder; | 217 | ····invoke-virtual·{v0,·v1},·Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder; |
217 | ····move-result-object·v1 | 218 | ····move-result-object·v1 |
218 | ····const·v2,·0x7f0c001f | 219 | ····const·v2,·0x7f0c001f |
220 | ····.line·560 | ||
219 | ····invoke-virtual·{v1,·v2},·Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder; | 221 | ····invoke-virtual·{v1,·v2},·Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder; |
220 | ····move-result-object·v1 | 222 | ····move-result-object·v1 |
221 | ····const·v2,·0x7f0c00a6 | 223 | ····const·v2,·0x7f0c00a6 |
222 | ····const/4·v3,·0x0 | 224 | ····const/4·v3,·0x0 |
225 | ····.line·561 | ||
223 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 226 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
224 | ····move-result-object·v1 | 227 | ····move-result-object·v1 |
225 | ····const·v2,·0x7f0c0036 | 228 | ····const·v2,·0x7f0c0036 |
226 | ····new-instance·v3,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2; | 229 | ····new-instance·v3,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2; |
227 | ····invoke-direct·{v3,·p0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;-><init>(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)V | 230 | ····invoke-direct·{v3,·p0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$2;-><init>(Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;)V |
231 | ····.line·562 | ||
228 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 232 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
229 | ····.line·577 | 233 | ····.line·577 |
230 | ····invoke-virtual·{v0},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; | 234 | ····invoke-virtual·{v0},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; |
231 | ····move-result-object·v1 | 235 | ····move-result-object·v1 |
Offset 363, 69 lines modified | Offset 367, 64 lines modified | ||
363 | ····check-cast·v6,·[Landroid/view/inputmethod/InputMethodSubtype; | 367 | ····check-cast·v6,·[Landroid/view/inputmethod/InputMethodSubtype; |
364 | ····return-object·v6 | 368 | ····return-object·v6 |
365 | .end·method | 369 | .end·method |
366 | .method·private·setPrefSubtypes(Ljava/lang/String;Landroid/content/Context;)V | 370 | .method·private·setPrefSubtypes(Ljava/lang/String;Landroid/content/Context;)V |
367 |
····.locals· |
371 | ····.locals·7 |
368 | ····.param·p1,·"prefSubtypes"····#·Ljava/lang/String; | 372 | ····.param·p1,·"prefSubtypes"····#·Ljava/lang/String; |
369 | ····.param·p2,·"context"····#·Landroid/content/Context; | 373 | ····.param·p2,·"context"····#·Landroid/content/Context; |
370 | ····.prologue | 374 | ····.prologue |
371 | ····.line·581 | 375 | ····.line·581 |
372 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; | 376 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; |
373 |
····move-result-object·v |
377 | ····move-result-object·v0 |
374 | ····.line·582 | 378 | ····.line·582 |
375 |
····.local·v |
379 | ····.local·v0,·"group":Landroid/preference/PreferenceGroup; |
376 |
····invoke-virtual·{v |
380 | ····invoke-virtual·{v0},·Landroid/preference/PreferenceGroup;->removeAll()V |
377 |
····.line·58 |
381 | ····.line·584 |
378 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->createAdditionalSubtypesArray(Ljava/lang/String;)[Landroid/view/inputmethod/InputMethodSubtype; | 382 | ····invoke-static·{p1},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->createAdditionalSubtypesArray(Ljava/lang/String;)[Landroid/view/inputmethod/InputMethodSubtype; |
379 |
····move-result-object·v |
383 | ····move-result-object·v3 |
380 | ····.line·585 | 384 | ····.line·585 |
381 |
····.local·v |
385 | ····.local·v3,·"subtypesArray":[Landroid/view/inputmethod/InputMethodSubtype; |
382 |
···· |
386 | ····array-length·v5,·v3 |
383 | ····.local·v0,·"arr$":[Landroid/view/inputmethod/InputMethodSubtype; | ||
384 | ····array-length·v3,·v0 | ||
385 |
···· |
387 | ····const/4·v4,·0x0 |
386 | ····const/4·v2,·0x0 | ||
387 | ····.local·v2,·"i$":I | ||
388 | ····:goto_0 | 388 | ····:goto_0 |
389 |
····if-ge·v |
389 | ····if-ge·v4,·v5,·:cond_0 |
390 |
····aget-object·v |
390 | ····aget-object·v2,·v3,·v4 |
391 | ····.line·586 | 391 | ····.line·586 |
392 |
····.local·v |
392 | ····.local·v2,·"subtype":Landroid/view/inputmethod/InputMethodSubtype; |
393 |
····new-instance·v |
393 | ····new-instance·v1,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypePreference; |
394 |
····iget-object·v |
394 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment;->mSubtypeProxy:Lorg/smc/inputmethod/indic/settings/CustomInputStyleSettingsFragment$SubtypeDialogProxy; |
Max diff block lines reached; 12099/16388 bytes (73.83%) of diff not shown. |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$res:Landroid/content/res/Resources; | 24 | .field·final·synthetic·val$res:Landroid/content/res/Resources; |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;Landroid/content/SharedPreferences;Landroid/content/res/Resources;)V | 26 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;Landroid/content/SharedPreferences;Landroid/content/res/Resources;)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·175 | 30 | ····.line·175 |
30 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; | 31 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; |
31 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$1;->val$prefs:Landroid/content/SharedPreferences; | 32 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$1;->val$prefs:Landroid/content/SharedPreferences; |
Offset 30, 14 lines modified | Offset 30, 15 lines modified | ||
30 | .field·final·synthetic·val$res:Landroid/content/res/Resources; | 30 | .field·final·synthetic·val$res:Landroid/content/res/Resources; |
31 | #·direct·methods | 31 | #·direct·methods |
32 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;Landroid/content/SharedPreferences;FLandroid/content/res/Resources;)V | 32 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;Landroid/content/SharedPreferences;FLandroid/content/res/Resources;)V |
33 | ····.locals·0 | 33 | ····.locals·0 |
34 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; | ||
34 | ····.prologue | 35 | ····.prologue |
35 | ····.line·213 | 36 | ····.line·213 |
36 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; | 37 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->this$0:Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; |
37 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->val$prefs:Landroid/content/SharedPreferences; | 38 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->val$prefs:Landroid/content/SharedPreferences; |
Offset 157, 18 lines modified | Offset 158, 20 lines modified | ||
157 | ····.prologue | 158 | ····.prologue |
158 | ····.line·236 | 159 | ····.line·236 |
159 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->val$prefs:Landroid/content/SharedPreferences; | 160 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->val$prefs:Landroid/content/SharedPreferences; |
160 | ····iget·v1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->val$defaultValue:F | 161 | ····iget·v1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->val$defaultValue:F |
162 | ····.line·237 | ||
161 | ····invoke-static·{v0,·p1,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeyPreviewAnimationScale(Landroid/content/SharedPreferences;Ljava/lang/String;F)F | 163 | ····invoke-static·{v0,·p1,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeyPreviewAnimationScale(Landroid/content/SharedPreferences;Ljava/lang/String;F)F |
162 | ····move-result·v0 | 164 | ····move-result·v0 |
165 | ····.line·236 | ||
163 | ····invoke-direct·{p0,·v0},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->getPercentageFromValue(F)I | 166 | ····invoke-direct·{p0,·v0},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$2;->getPercentageFromValue(F)I |
164 | ····move-result·v0 | 167 | ····move-result·v0 |
165 | ····return·v0 | 168 | ····return·v0 |
166 | .end·method | 169 | .end·method |
Offset 26, 14 lines modified | Offset 26, 15 lines modified | ||
26 | .field·final·synthetic·val$res:Landroid/content/res/Resources; | 26 | .field·final·synthetic·val$res:Landroid/content/res/Resources; |
27 | #·direct·methods | 27 | #·direct·methods |
28 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;Landroid/content/SharedPreferences;ILandroid/content/res/Resources;)V | 28 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;Landroid/content/SharedPreferences;ILandroid/content/res/Resources;)V |
29 | ····.locals·0 | 29 | ····.locals·0 |
30 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; | ||
30 | ····.prologue | 31 | ····.prologue |
31 | ····.line·265 | 32 | ····.line·265 |
32 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$3;->this$0:Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; | 33 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$3;->this$0:Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment; |
33 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$3;->val$prefs:Landroid/content/SharedPreferences; | 34 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment$3;->val$prefs:Landroid/content/SharedPreferences; |
Offset 39, 15 lines modified | Offset 39, 14 lines modified | ||
39 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;-><init>()V | 39 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;-><init>()V |
40 | ····.line·51 | 40 | ····.line·51 |
41 | ····const/4·v0,·0x0 | 41 | ····const/4·v0,·0x0 |
42 | ····iput-boolean·v0,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->mServiceNeedsRestart:Z | 42 | ····iput-boolean·v0,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->mServiceNeedsRestart:Z |
43 | ····.line·100 | ||
44 | ····return-void | 43 | ····return-void |
45 | .end·method | 44 | .end·method |
46 | .method·private·setupKeyLongpressTimeoutSettings()V | 45 | .method·private·setupKeyLongpressTimeoutSettings()V |
47 | ····.locals·4 | 46 | ····.locals·4 |
48 | ····.prologue | 47 | ····.prologue |
Offset 196, 24 lines modified | Offset 195, 26 lines modified | ||
196 | ····const/4·v3,·0x1 | 195 | ····const/4·v3,·0x1 |
197 | ····new-array·v3,·v3,·[Ljava/lang/Object; | 196 | ····new-array·v3,·v3,·[Ljava/lang/Object; |
198 | ····const/4·v4,·0x0 | 197 | ····const/4·v4,·0x0 |
198 | ····.line·157 | ||
199 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->getActivity()Landroid/app/Activity; | 199 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->getActivity()Landroid/app/Activity; |
200 | ····move-result-object·v5 | 200 | ····move-result-object·v5 |
201 | ····invoke-static·{v5},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getVersionName(Landroid/content/Context;)Ljava/lang/String; | 201 | ····invoke-static·{v5},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getVersionName(Landroid/content/Context;)Ljava/lang/String; |
202 | ····move-result-object·v5 | 202 | ····move-result-object·v5 |
203 | ····aput-object·v5,·v3,·v4 | 203 | ····aput-object·v5,·v3,·v4 |
204 | ····.line·156 | ||
204 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String; | 205 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String; |
205 | ····move-result-object·v1 | 206 | ····move-result-object·v1 |
206 | ····.line·158 | 207 | ····.line·158 |
207 | ····.local·v1,·"version":Ljava/lang/String; | 208 | ····.local·v1,·"version":Ljava/lang/String; |
208 | ····if-nez·v0,·:cond_0 | 209 | ····if-nez·v0,·:cond_0 |
Offset 263, 196 lines modified | Offset 264, 200 lines modified | ||
263 | ····.line·45 | 264 | ····.line·45 |
264 | ····invoke-super·{p0,·p1},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->addPreferencesFromResource(I)V | 265 | ····invoke-super·{p0,·p1},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->addPreferencesFromResource(I)V |
265 | ····return-void | 266 | ····return-void |
266 | .end·method | 267 | .end·method |
267 | .method·public·onCreate(Landroid/os/Bundle;)V | 268 | .method·public·onCreate(Landroid/os/Bundle;)V |
268 |
····.locals· |
269 | ····.locals·8 |
269 | ····.param·p1,·"icicle"····#·Landroid/os/Bundle; | 270 | ····.param·p1,·"icicle"····#·Landroid/os/Bundle; |
270 | ····.prologue | 271 | ····.prologue |
271 | ····.line·57 | 272 | ····.line·57 |
272 | ····invoke-super·{p0,·p1},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->onCreate(Landroid/os/Bundle;)V | 273 | ····invoke-super·{p0,·p1},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->onCreate(Landroid/os/Bundle;)V |
273 | ····.line·58 | 274 | ····.line·58 |
274 |
····const·v |
275 | ····const·v6,·0x7f050095 |
275 |
····invoke-virtual·{p0,·v |
276 | ····invoke-virtual·{p0,·v6},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->addPreferencesFromResource(I)V |
276 | ····.line·60 | 277 | ····.line·60 |
277 |
····sget-boolean·v |
278 | ····sget-boolean·v6,·Lorg/smc/inputmethod/indic/settings/Settings;->HAS_UI_TO_ACCEPT_TYPED_WORD:Z |
278 |
····if-nez·v |
279 | ····if-nez·v6,·:cond_0 |
279 | ····.line·61 | 280 | ····.line·61 |
280 |
····const-string·v |
281 | ····const-string·v6,·"pref_show_ui_to_accept_typed_word" |
281 |
····invoke-virtual·{p0,·v |
282 | ····invoke-virtual·{p0,·v6},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->removePreference(Ljava/lang/String;)V |
282 | ····.line·64 | 283 | ····.line·64 |
283 | ····:cond_0 | 284 | ····:cond_0 |
284 |
····const-string·v |
285 | ····const-string·v6,·"read_external_dictionary" |
285 |
····invoke-virtual·{p0,·v |
286 | ····invoke-virtual·{p0,·v6},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; |
286 |
····move-result-object·v |
287 | ····move-result-object·v6 |
287 |
····iput-object·v |
288 | ····iput-object·v6,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->mReadExternalDictionaryPref:Landroid/preference/Preference; |
288 | ····.line·65 | 289 | ····.line·65 |
289 |
····iget-object·v |
290 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->mReadExternalDictionaryPref:Landroid/preference/Preference; |
290 |
····if-eqz·v |
291 | ····if-eqz·v6,·:cond_1 |
291 | ····.line·66 | 292 | ····.line·66 |
292 |
····iget-object·v |
293 | ····iget-object·v6,·p0,·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->mReadExternalDictionaryPref:Landroid/preference/Preference; |
293 |
····invoke-virtual·{v |
294 | ····invoke-virtual·{v6,·p0},·Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V |
294 | ····.line·69 | 295 | ····.line·69 |
295 | ····:cond_1 | 296 | ····:cond_1 |
296 |
····const-string·v |
297 | ····const-string·v6,·"pref_key_dump_dictionaries" |
297 |
|
298 | ····.line·70 |
299 | ····invoke-virtual·{p0,·v6},·Lorg/smc/inputmethod/indic/settings/DebugSettingsFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference; | ||
Max diff block lines reached; 8905/13752 bytes (64.75%) of diff not shown. |
Offset 29, 27 lines modified | Offset 29, 31 lines modified | ||
29 | ····move-result-object·v1 | 29 | ····move-result-object·v1 |
30 | ····.line·95 | 30 | ····.line·95 |
31 | ····.local·v1,·"res":Landroid/content/res/Resources; | 31 | ····.local·v1,·"res":Landroid/content/res/Resources; |
32 | ····const-string·v2,·"pref_vibration_duration_settings" | 32 | ····const-string·v2,·"pref_vibration_duration_settings" |
33 | ····.line·96 | ||
33 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readVibrationEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z | 34 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readVibrationEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z |
34 | ····move-result·v3 | 35 | ····move-result·v3 |
36 | ····.line·95 | ||
35 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V | 37 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V |
36 | ····.line·97 | 38 | ····.line·97 |
37 | ····const-string·v2,·"pref_keypress_sound_volume" | 39 | ····const-string·v2,·"pref_keypress_sound_volume" |
40 | ····.line·98 | ||
38 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeypressSoundEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z | 41 | ····invoke-static·{v0,·v1},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeypressSoundEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z |
39 | ····move-result·v3 | 42 | ····move-result·v3 |
43 | ····.line·97 | ||
40 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V | 44 | ····invoke-virtual·{p0,·v2,·v3},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V |
41 | ····.line·99 | 45 | ····.line·99 |
42 | ····return-void | 46 | ····return-void |
43 | .end·method | 47 | .end·method |
Offset 175, 14 lines modified | Offset 179, 15 lines modified | ||
175 | ····if-eqz·v1,·:cond_0 | 179 | ····if-eqz·v1,·:cond_0 |
176 | ····.line·74 | 180 | ····.line·74 |
177 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getInstance()Lorg/smc/inputmethod/indic/SubtypeSwitcher; | 181 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getInstance()Lorg/smc/inputmethod/indic/SubtypeSwitcher; |
178 | ····move-result-object·v2 | 182 | ····move-result-object·v2 |
183 | ····.line·75 | ||
179 | ····invoke-virtual·{v2},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->isShortcutImeEnabled()Z | 184 | ····invoke-virtual·{v2},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->isShortcutImeEnabled()Z |
180 | ····move-result·v0 | 185 | ····move-result·v0 |
181 | ····.line·76 | 186 | ····.line·76 |
182 | ····.local·v0,·"isShortcutImeEnabled":Z | 187 | ····.local·v0,·"isShortcutImeEnabled":Z |
183 | ····invoke-virtual·{v1,·v0},·Landroid/preference/Preference;->setEnabled(Z)V | 188 | ····invoke-virtual·{v1,·v0},·Landroid/preference/Preference;->setEnabled(Z)V |
Offset 201, 14 lines modified | Offset 206, 15 lines modified | ||
201 | ····return-void | 206 | ····return-void |
202 | ····.line·77 | 207 | ····.line·77 |
203 | ····.restart·local·v0····#·"isShortcutImeEnabled":Z | 208 | ····.restart·local·v0····#·"isShortcutImeEnabled":Z |
204 | ····:cond_1 | 209 | ····:cond_1 |
205 | ····const·v2,·0x7f0c0543 | 210 | ····const·v2,·0x7f0c0543 |
211 | ····.line·78 | ||
206 | ····invoke-virtual·{p0,·v2},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->getText(I)Ljava/lang/CharSequence; | 212 | ····invoke-virtual·{p0,·v2},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->getText(I)Ljava/lang/CharSequence; |
207 | ····move-result-object·v2 | 213 | ····move-result-object·v2 |
208 | ····goto·:goto_0 | 214 | ····goto·:goto_0 |
209 | .end·method | 215 | .end·method |
Offset 232, 18 lines modified | Offset 238, 20 lines modified | ||
232 | ····move-result·v1 | 238 | ····move-result·v1 |
233 | ····if-eqz·v1,·:cond_0 | 239 | ····if-eqz·v1,·:cond_0 |
234 | ····.line·86 | 240 | ····.line·86 |
235 | ····const-string·v1,·"pref_key_preview_popup_dismiss_delay" | 241 | ····const-string·v1,·"pref_key_preview_popup_dismiss_delay" |
242 | ····.line·87 | ||
236 | ····invoke-static·{p1,·v0},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeyPreviewPopupEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z | 243 | ····invoke-static·{p1,·v0},·Lorg/smc/inputmethod/indic/settings/Settings;->readKeyPreviewPopupEnabled(Landroid/content/SharedPreferences;Landroid/content/res/Resources;)Z |
237 | ····move-result·v2 | 244 | ····move-result·v2 |
245 | ····.line·86 | ||
238 | ····invoke-virtual·{p0,·v1,·v2},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V | 246 | ····invoke-virtual·{p0,·v1,·v2},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->setPreferenceEnabled(Ljava/lang/String;Z)V |
239 | ····.line·89 | 247 | ····.line·89 |
240 | ····:cond_0 | 248 | ····:cond_0 |
241 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->refreshEnablingsOfKeypressSoundAndVibrationSettings()V | 249 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/settings/PreferencesSettingsFragment;->refreshEnablingsOfKeypressSoundAndVibrationSettings()V |
242 | ····.line·90 | 250 | ····.line·90 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/settings/RadioButtonPreference; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/settings/RadioButtonPreference; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/RadioButtonPreference;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/RadioButtonPreference;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/RadioButtonPreference; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·43 | 27 | ····.line·43 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/RadioButtonPreference$1;->this$0:Lorg/smc/inputmethod/indic/settings/RadioButtonPreference; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/RadioButtonPreference$1;->this$0:Lorg/smc/inputmethod/indic/settings/RadioButtonPreference; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 362, 20 lines modified | Offset 362, 22 lines modified | ||
362 | ····invoke-virtual·{p1,·v0,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 362 | ····invoke-virtual·{p1,·v0,·p0},·Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
363 | ····move-result-object·v0 | 363 | ····move-result-object·v0 |
364 | ····const/high16·v1,·0x1040000 | 364 | ····const/high16·v1,·0x1040000 |
365 | ····.line·108 | ||
365 | ····invoke-virtual·{v0,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 366 | ····invoke-virtual·{v0,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
366 | ····move-result-object·v0 | 367 | ····move-result-object·v0 |
367 | ····const·v1,·0x7f0c0017 | 368 | ····const·v1,·0x7f0c0017 |
369 | ····.line·109 | ||
368 | ····invoke-virtual·{v0,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 370 | ····invoke-virtual·{v0,·v1,·p0},·Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
369 | ····.line·110 | 371 | ····.line·110 |
370 | ····return-void | 372 | ····return-void |
371 | .end·method | 373 | .end·method |
372 | .method·public·onProgressChanged(Landroid/widget/SeekBar;IZ)V | 374 | .method·public·onProgressChanged(Landroid/widget/SeekBar;IZ)V |
Offset 32, 14 lines modified | Offset 32, 15 lines modified | ||
32 | .field·final·synthetic·val$prefs:Landroid/content/SharedPreferences; | 32 | .field·final·synthetic·val$prefs:Landroid/content/SharedPreferences; |
33 | #·direct·methods | 33 | #·direct·methods |
34 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/Settings;Landroid/content/Context;Landroid/content/SharedPreferences;Lorg/smc/inputmethod/indic/InputAttributes;)V | 34 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/Settings;Landroid/content/Context;Landroid/content/SharedPreferences;Lorg/smc/inputmethod/indic/InputAttributes;)V |
35 | ····.locals·0 | 35 | ····.locals·0 |
36 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/Settings; | ||
36 | ····.prologue | 37 | ····.prologue |
37 | ····.line·180 | 38 | ····.line·180 |
38 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/Settings$1;->this$0:Lorg/smc/inputmethod/indic/settings/Settings; | 39 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/Settings$1;->this$0:Lorg/smc/inputmethod/indic/settings/Settings; |
39 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/Settings$1;->val$context:Landroid/content/Context; | 40 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/settings/Settings$1;->val$context:Landroid/content/Context; |
Offset 357, 18 lines modified | Offset 357, 20 lines modified | ||
357 | ····.prologue | 357 | ····.prologue |
358 | ····.line·232 | 358 | ····.line·232 |
359 | ····const-string·v0,·"pref_key_block_potentially_offensive" | 359 | ····const-string·v0,·"pref_key_block_potentially_offensive" |
360 | ····const·v1,·0x7f07000a | 360 | ····const·v1,·0x7f07000a |
361 | ····.line·233 | ||
361 | ····invoke-virtual·{p1,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 362 | ····invoke-virtual·{p1,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
362 | ····move-result·v1 | 363 | ····move-result·v1 |
364 | ····.line·232 | ||
363 | ····invoke-interface·{p0,·v0,·v1},·Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z | 365 | ····invoke-interface·{p0,·v0,·v1},·Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z |
364 | ····move-result·v0 | 366 | ····move-result·v0 |
365 | ····return·v0 | 367 | ····return·v0 |
366 | .end·method | 368 | .end·method |
Offset 489, 23 lines modified | Offset 491, 26 lines modified | ||
489 | ····move-result·v1 | 491 | ····move-result·v1 |
490 | ····if-eqz·v1,·:cond_0 | 492 | ····if-eqz·v1,·:cond_0 |
491 | ····const-string·v1,·"gesture_input" | 493 | ····const-string·v1,·"gesture_input" |
494 | ····.line·243 | ||
492 | ····invoke-interface·{p0,·v1,·v0},·Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z | 495 | ····invoke-interface·{p0,·v1,·v0},·Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z |
493 | ····move-result·v1 | 496 | ····move-result·v1 |
494 | ····if-eqz·v1,·:cond_0 | 497 | ····if-eqz·v1,·:cond_0 |
498 | ····.line·242 | ||
495 | ····:goto_0 | 499 | ····:goto_0 |
496 | ····return·v0 | 500 | ····return·v0 |
501 | ····.line·243 | ||
497 | ····:cond_0 | 502 | ····:cond_0 |
498 | ····const/4·v0,·0x0 | 503 | ····const/4·v0,·0x0 |
499 | ····goto·:goto_0 | 504 | ····goto·:goto_0 |
500 | .end·method | 505 | .end·method |
501 | .method·public·static·readHasHardwareKeyboard(Landroid/content/res/Configuration;)Z | 506 | .method·public·static·readHasHardwareKeyboard(Landroid/content/res/Configuration;)Z |
Offset 554, 14 lines modified | Offset 559, 15 lines modified | ||
554 | ····.local·v0,·"milliseconds":I | 559 | ····.local·v0,·"milliseconds":I |
555 | ····if-eq·v0,·v2,·:cond_0 | 560 | ····if-eq·v0,·v2,·:cond_0 |
556 | ····.end·local·v0····#·"milliseconds":I | 561 | ····.end·local·v0····#·"milliseconds":I |
557 | ····:goto_0 | 562 | ····:goto_0 |
558 | ····return·v0 | 563 | ····return·v0 |
564 | ····.line·319 | ||
559 | ····.restart·local·v0····#·"milliseconds":I | 565 | ····.restart·local·v0····#·"milliseconds":I |
560 | ····:cond_0 | 566 | ····:cond_0 |
561 | ····invoke-static·{p1},·Lorg/smc/inputmethod/indic/settings/Settings;->readDefaultKeyLongpressTimeout(Landroid/content/res/Resources;)I | 567 | ····invoke-static·{p1},·Lorg/smc/inputmethod/indic/settings/Settings;->readDefaultKeyLongpressTimeout(Landroid/content/res/Resources;)I |
562 | ····move-result·v0 | 568 | ····move-result·v0 |
563 | ····goto·:goto_0 | 569 | ····goto·:goto_0 |
Offset 634, 22 lines modified | Offset 640, 24 lines modified | ||
634 | ····.prologue | 640 | ····.prologue |
635 | ····.line·268 | 641 | ····.line·268 |
636 | ····const-string·v0,·"pref_key_preview_popup_dismiss_delay" | 642 | ····const-string·v0,·"pref_key_preview_popup_dismiss_delay" |
637 | ····const·v1,·0x7f09001e | 643 | ····const·v1,·0x7f09001e |
644 | ····.line·269 | ||
638 | ····invoke-virtual·{p1,·v1},·Landroid/content/res/Resources;->getInteger(I)I | 645 | ····invoke-virtual·{p1,·v1},·Landroid/content/res/Resources;->getInteger(I)I |
639 | ····move-result·v1 | 646 | ····move-result·v1 |
640 | ····invoke-static·{v1},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 647 | ····invoke-static·{v1},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
641 | ····move-result-object·v1 | 648 | ····move-result-object·v1 |
649 | ····.line·268 | ||
642 | ····invoke-interface·{p0,·v0,·v1},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 650 | ····invoke-interface·{p0,·v0,·v1},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
643 | ····move-result-object·v0 | 651 | ····move-result-object·v0 |
644 | ····invoke-static·{v0},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I | 652 | ····invoke-static·{v0},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I |
645 | ····move-result·v0 | 653 | ····move-result·v0 |
Offset 701, 18 lines modified | Offset 709, 20 lines modified | ||
701 | ····.prologue | 709 | ····.prologue |
702 | ····.line·212 | 710 | ····.line·212 |
703 | ····const-string·v0,·"sound_on" | 711 | ····const-string·v0,·"sound_on" |
704 | ····const·v1,·0x7f070003 | 712 | ····const·v1,·0x7f070003 |
713 | ····.line·213 | ||
705 | ····invoke-virtual·{p1,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z | 714 | ····invoke-virtual·{p1,·v1},·Landroid/content/res/Resources;->getBoolean(I)Z |
Max diff block lines reached; 2494/4719 bytes (52.85%) of diff not shown. |
Offset 53, 26 lines modified | Offset 53, 27 lines modified | ||
53 | ····invoke-virtual·{p0,·v2},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->addPreferencesFromResource(I)V | 53 | ····invoke-virtual·{p0,·v2},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->addPreferencesFromResource(I)V |
54 | ····.line·50 | 54 | ····.line·50 |
55 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; | 55 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; |
56 | ····move-result-object·v1 | 56 | ····move-result-object·v1 |
57 |
····.line·5 |
57 | ····.line·52 |
58 | ····.local·v1,·"preferenceScreen":Landroid/preference/PreferenceScreen; | 58 | ····.local·v1,·"preferenceScreen":Landroid/preference/PreferenceScreen; |
59 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->getActivity()Landroid/app/Activity; | 59 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->getActivity()Landroid/app/Activity; |
60 | ····move-result-object·v2 | 60 | ····move-result-object·v2 |
61 | ····const-class·v3,·Lorg/smc/inputmethod/indic/settings/SettingsActivity; | 61 | ····const-class·v3,·Lorg/smc/inputmethod/indic/settings/SettingsActivity; |
62 | ····invoke-static·{v2,·v3},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getActivityTitleResId(Landroid/content/Context;Ljava/lang/Class;)I | 62 | ····invoke-static·{v2,·v3},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getActivityTitleResId(Landroid/content/Context;Ljava/lang/Class;)I |
63 | ····move-result·v2 | 63 | ····move-result·v2 |
64 | ····.line·51 | ||
64 | ····invoke-virtual·{v1,·v2},·Landroid/preference/PreferenceScreen;->setTitle(I)V | 65 | ····invoke-virtual·{v1,·v2},·Landroid/preference/PreferenceScreen;->setTitle(I)V |
65 | ····.line·53 | 66 | ····.line·53 |
66 | ····sget-boolean·v2,·Lorg/smc/inputmethod/indic/settings/Settings;->SHOW_MULTILINGUAL_SETTINGS:Z | 67 | ····sget-boolean·v2,·Lorg/smc/inputmethod/indic/settings/Settings;->SHOW_MULTILINGUAL_SETTINGS:Z |
67 | ····if-nez·v2,·:cond_0 | 68 | ····if-nez·v2,·:cond_0 |
Offset 143, 24 lines modified | Offset 144, 25 lines modified | ||
143 | ····const/4·v4,·0x1 | 144 | ····const/4·v4,·0x1 |
144 | ····.line·73 | 145 | ····.line·73 |
145 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->getActivity()Landroid/app/Activity; | 146 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SettingsFragment;->getActivity()Landroid/app/Activity; |
146 | ····move-result-object·v1 | 147 | ····move-result-object·v1 |
147 |
····.line·7 |
148 | ····.line·75 |
148 | ····.local·v1,·"activity":Landroid/app/Activity; | 149 | ····.local·v1,·"activity":Landroid/app/Activity; |
149 | ····invoke-virtual·{v1},·Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver; | 150 | ····invoke-virtual·{v1},·Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver; |
150 | ····move-result-object·v5 | 151 | ····move-result-object·v5 |
151 | ····const-string·v6,·"user_setup_complete" | 152 | ····const-string·v6,·"user_setup_complete" |
152 | ····const/4·v7,·0x0 | 153 | ····const/4·v7,·0x0 |
154 | ····.line·74 | ||
153 | ····invoke-static·{v5,·v6,·v7},·Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I | 155 | ····invoke-static·{v5,·v6,·v7},·Landroid/provider/Settings$Secure;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I |
154 | ····move-result·v3 | 156 | ····move-result·v3 |
155 | ····.line·78 | 157 | ····.line·78 |
156 | ····.local·v3,·"setupStatus":I | 158 | ····.local·v3,·"setupStatus":I |
157 | ····if-nez·v3,·:cond_0 | 159 | ····if-nez·v3,·:cond_0 |
Offset 161, 14 lines modified | Offset 161, 15 lines modified | ||
161 | ····iget-object·v4,·v4,·Landroid/content/res/Configuration;->locale:Ljava/util/Locale; | 161 | ····iget-object·v4,·v4,·Landroid/content/res/Configuration;->locale:Ljava/util/Locale; |
162 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mLocale:Ljava/util/Locale; | 162 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mLocale:Ljava/util/Locale; |
163 | ····.line·116 | 163 | ····.line·116 |
164 | ····const·v4,·0x7f090009 | 164 | ····const·v4,·0x7f090009 |
165 | ····.line·117 | ||
165 | ····invoke-virtual·{p3,·v4},·Landroid/content/res/Resources;->getInteger(I)I | 166 | ····invoke-virtual·{p3,·v4},·Landroid/content/res/Resources;->getInteger(I)I |
166 | ····move-result·v4 | 167 | ····move-result·v4 |
167 | ····iput·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mDelayInMillisecondsToUpdateOldSuggestions:I | 168 | ····iput·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mDelayInMillisecondsToUpdateOldSuggestions:I |
168 | ····.line·118 | 169 | ····.line·118 |
Offset 182, 14 lines modified | Offset 183, 15 lines modified | ||
182 | ····if-nez·p4,·:cond_0 | 183 | ····if-nez·p4,·:cond_0 |
183 | ····.line·122 | 184 | ····.line·122 |
184 | ····new-instance·v4,·Lorg/smc/inputmethod/indic/InputAttributes; | 185 | ····new-instance·v4,·Lorg/smc/inputmethod/indic/InputAttributes; |
185 | ····const/4·v7,·0x0 | 186 | ····const/4·v7,·0x0 |
187 | ····.line·123 | ||
186 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageName()Ljava/lang/String; | 188 | ····invoke-virtual·{p1},·Landroid/content/Context;->getPackageName()Ljava/lang/String; |
187 | ····move-result-object·v8 | 189 | ····move-result-object·v8 |
188 | ····invoke-direct·{v4,·v7,·v6,·v8},·Lorg/smc/inputmethod/indic/InputAttributes;-><init>(Landroid/view/inputmethod/EditorInfo;ZLjava/lang/String;)V | 190 | ····invoke-direct·{v4,·v7,·v6,·v8},·Lorg/smc/inputmethod/indic/InputAttributes;-><init>(Landroid/view/inputmethod/EditorInfo;ZLjava/lang/String;)V |
189 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mInputAttributes:Lorg/smc/inputmethod/indic/InputAttributes; | 191 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mInputAttributes:Lorg/smc/inputmethod/indic/InputAttributes; |
Offset 243, 14 lines modified | Offset 245, 15 lines modified | ||
243 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mInputAttributes:Lorg/smc/inputmethod/indic/InputAttributes; | 245 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mInputAttributes:Lorg/smc/inputmethod/indic/InputAttributes; |
244 | ····iget-boolean·v4,·v4,·Lorg/smc/inputmethod/indic/InputAttributes;->mShouldShowVoiceInputKey:Z | 246 | ····iget-boolean·v4,·v4,·Lorg/smc/inputmethod/indic/InputAttributes;->mShouldShowVoiceInputKey:Z |
245 | ····if-eqz·v4,·:cond_1 | 247 | ····if-eqz·v4,·:cond_1 |
248 | ····.line·137 | ||
246 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getInstance()Lorg/smc/inputmethod/indic/SubtypeSwitcher; | 249 | ····invoke-static·{},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->getInstance()Lorg/smc/inputmethod/indic/SubtypeSwitcher; |
247 | ····move-result-object·v4 | 250 | ····move-result-object·v4 |
248 | ····invoke-virtual·{v4},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->isShortcutImeEnabled()Z | 251 | ····invoke-virtual·{v4},·Lorg/smc/inputmethod/indic/SubtypeSwitcher;->isShortcutImeEnabled()Z |
249 | ····move-result·v4 | 252 | ····move-result·v4 |
Offset 263, 42 lines modified | Offset 266, 46 lines modified | ||
263 | ····iput-boolean·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mShowsVoiceInputKey:Z | 266 | ····iput-boolean·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mShowsVoiceInputKey:Z |
264 | ····.line·138 | 267 | ····.line·138 |
265 | ····const-string·v4,·"auto_correction_threshold" | 268 | ····const-string·v4,·"auto_correction_threshold" |
266 | ····const·v7,·0x7f0c000f | 269 | ····const·v7,·0x7f0c000f |
270 | ····.line·140 | ||
267 | ····invoke-virtual·{p3,·v7},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 271 | ····invoke-virtual·{p3,·v7},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
268 | ····move-result-object·v7 | 272 | ····move-result-object·v7 |
273 | ····.line·138 | ||
269 | ····invoke-interface·{p2,·v4,·v7},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 274 | ····invoke-interface·{p2,·v4,·v7},·Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
270 | ····move-result-object·v0 | 275 | ····move-result-object·v0 |
271 | ····.line·141 | 276 | ····.line·141 |
272 | ····.local·v0,·"autoCorrectionThresholdRawValue":Ljava/lang/String; | 277 | ····.local·v0,·"autoCorrectionThresholdRawValue":Ljava/lang/String; |
273 | ····sget-boolean·v4,·Lorg/smc/inputmethod/indic/settings/Settings;->ENABLE_SHOW_LANGUAGE_SWITCH_KEY_SETTINGS:Z | 278 | ····sget-boolean·v4,·Lorg/smc/inputmethod/indic/settings/Settings;->ENABLE_SHOW_LANGUAGE_SWITCH_KEY_SETTINGS:Z |
274 | ····if-eqz·v4,·:cond_2 | 279 | ····if-eqz·v4,·:cond_2 |
275 | ····const-string·v4,·"pref_include_other_imes_in_language_switch_list" | 280 | ····const-string·v4,·"pref_include_other_imes_in_language_switch_list" |
281 | ····.line·142 | ||
276 | ····invoke-interface·{p2,·v4,·v6},·Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z | 282 | ····invoke-interface·{p2,·v4,·v6},·Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z |
277 | ····move-result·v4 | 283 | ····move-result·v4 |
278 | ····:goto_2 | 284 | ····:goto_2 |
279 | ····iput-boolean·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mIncludesOtherImesInLanguageSwitchList:Z | 285 | ····iput-boolean·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mIncludesOtherImesInLanguageSwitchList:Z |
280 | ····.line·144 | 286 | ····.line·144 |
281 | ····sget-boolean·v4,·Lorg/smc/inputmethod/indic/settings/Settings;->ENABLE_SHOW_LANGUAGE_SWITCH_KEY_SETTINGS:Z | 287 | ····sget-boolean·v4,·Lorg/smc/inputmethod/indic/settings/Settings;->ENABLE_SHOW_LANGUAGE_SWITCH_KEY_SETTINGS:Z |
282 | ····if-eqz·v4,·:cond_3 | 288 | ····if-eqz·v4,·:cond_3 |
289 | ····.line·145 | ||
283 | ····invoke-static·{p2},·Lorg/smc/inputmethod/indic/settings/Settings;->readShowsLanguageSwitchKey(Landroid/content/SharedPreferences;)Z | 290 | ····invoke-static·{p2},·Lorg/smc/inputmethod/indic/settings/Settings;->readShowsLanguageSwitchKey(Landroid/content/SharedPreferences;)Z |
284 | ····move-result·v4 | 291 | ····move-result·v4 |
285 | ····:goto_3 | 292 | ····:goto_3 |
286 | ····iput-boolean·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mShowsLanguageSwitchKey:Z | 293 | ····iput-boolean·v4,·p0,·Lorg/smc/inputmethod/indic/settings/SettingsValues;->mShowsLanguageSwitchKey:Z |
Offset 393, 14 lines modified | Offset 400, 15 lines modified | ||
393 | ····.line·156 | 400 | ····.line·156 |
394 | ····sget-boolean·v4,·Lorg/smc/inputmethod/indic/settings/Settings;->HAS_UI_TO_ACCEPT_TYPED_WORD:Z | 401 | ····sget-boolean·v4,·Lorg/smc/inputmethod/indic/settings/Settings;->HAS_UI_TO_ACCEPT_TYPED_WORD:Z |
395 | ····if-eqz·v4,·:cond_5 | 402 | ····if-eqz·v4,·:cond_5 |
Max diff block lines reached; 8399/11805 bytes (71.15%) of diff not shown. |
Offset 39, 70 lines modified | Offset 39, 80 lines modified | ||
39 | ····.line·45 | 39 | ····.line·45 |
40 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 40 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
41 | ····.line·47 | 41 | ····.line·47 |
42 | ····const·v2,·0x7f0c051f | 42 | ····const·v2,·0x7f0c051f |
43 | ····.line·48 | ||
43 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 44 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
44 | ····move-result-object·v2 | 45 | ····move-result-object·v2 |
46 | ····.line·47 | ||
45 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I | 47 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I |
46 | ····move-result-object·v2 | 48 | ····move-result-object·v2 |
47 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedSymbolsPrecededBySpace:[I | 49 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedSymbolsPrecededBySpace:[I |
48 | ····.line·50 | 50 | ····.line·50 |
49 | ····const·v2,·0x7f0c051e | 51 | ····const·v2,·0x7f0c051e |
52 | ····.line·51 | ||
50 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 53 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
51 | ····move-result-object·v2 | 54 | ····move-result-object·v2 |
55 | ····.line·50 | ||
52 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I | 56 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I |
53 | ····move-result-object·v2 | 57 | ····move-result-object·v2 |
54 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedSymbolsFollowedBySpace:[I | 58 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedSymbolsFollowedBySpace:[I |
55 | ····.line·52 | 59 | ····.line·52 |
56 | ····const·v2,·0x7f0c051d | 60 | ····const·v2,·0x7f0c051d |
61 | ····.line·53 | ||
57 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 62 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
58 | ····move-result-object·v2 | 63 | ····move-result-object·v2 |
64 | ····.line·52 | ||
59 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I | 65 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I |
60 | ····move-result-object·v2 | 66 | ····move-result-object·v2 |
61 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedSymbolsClusteringTogether:[I | 67 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedSymbolsClusteringTogether:[I |
62 | ····.line·55 | 68 | ····.line·55 |
63 | ····const·v2,·0x7f0c0520 | 69 | ····const·v2,·0x7f0c0520 |
70 | ····.line·56 | ||
64 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 71 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
65 | ····move-result-object·v2 | 72 | ····move-result-object·v2 |
73 | ····.line·55 | ||
66 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I | 74 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I |
67 | ····move-result-object·v2 | 75 | ····move-result-object·v2 |
68 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedWordConnectors:[I | 76 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedWordConnectors:[I |
69 | ····.line·57 | 77 | ····.line·57 |
70 | ····const·v2,·0x7f0c0521 | 78 | ····const·v2,·0x7f0c0521 |
79 | ····.line·58 | ||
71 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 80 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
72 | ····move-result-object·v2 | 81 | ····move-result-object·v2 |
82 | ····.line·57 | ||
73 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I | 83 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/StringUtils;->toSortedCodePointArray(Ljava/lang/String;)[I |
74 | ····move-result-object·v2 | 84 | ····move-result-object·v2 |
75 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedWordSeparators:[I | 85 | ····iput-object·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mSortedWordSeparators:[I |
76 | ····.line·59 | 86 | ····.line·59 |
Offset 183, 18 lines modified | Offset 193, 20 lines modified | ||
183 | ····move-result·v2 | 193 | ····move-result·v2 |
184 | ····iput-boolean·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mUsesGermanRules:Z | 194 | ····iput-boolean·v2,·p0,·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->mUsesGermanRules:Z |
185 | ····.line·68 | 195 | ····.line·68 |
186 | ····const/high16·v2,·0x7f0c0000 | 196 | ····const/high16·v2,·0x7f0c0000 |
197 | ····.line·69 | ||
187 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 198 | ····invoke-virtual·{p1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
188 | ····move-result-object·v2 | 199 | ····move-result-object·v2 |
200 | ····.line·68 | ||
189 | ····invoke-static·{v2},·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->splitKeySpecs(Ljava/lang/String;)[Ljava/lang/String; | 201 | ····invoke-static·{v2},·Lcom/android/inputmethod/keyboard/internal/MoreKeySpec;->splitKeySpecs(Ljava/lang/String;)[Ljava/lang/String; |
190 | ····move-result-object·v1 | 202 | ····move-result-object·v1 |
191 | ····.line·70 | 203 | ····.line·70 |
Max diff block lines reached; 174/3197 bytes (5.44%) of diff not shown. |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/settings/SubScreenFragment; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/settings/SubScreenFragment; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/SubScreenFragment;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/settings/SubScreenFragment;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/settings/SubScreenFragment; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·92 | 27 | ····.line·92 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/SubScreenFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/SubScreenFragment; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/settings/SubScreenFragment$1;->this$0:Lorg/smc/inputmethod/indic/settings/SubScreenFragment; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 128, 19 lines modified | Offset 128, 20 lines modified | ||
128 | ····.locals·1 | 128 | ····.locals·1 |
129 | ····.param·p1,·"preferencesResId"····#·I | 129 | ····.param·p1,·"preferencesResId"····#·I |
130 | ····.prologue | 130 | ····.prologue |
131 | ····.line·84 | 131 | ····.line·84 |
132 | ····invoke-super·{p0,·p1},·Landroid/preference/PreferenceFragment;->addPreferencesFromResource(I)V | 132 | ····invoke-super·{p0,·p1},·Landroid/preference/PreferenceFragment;->addPreferencesFromResource(I)V |
133 |
····.line·8 |
133 | ····.line·86 |
134 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; | 134 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; |
135 | ····move-result-object·v0 | 135 | ····move-result-object·v0 |
136 | ····.line·85 | ||
136 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/settings/TwoStatePreferenceHelper;->replaceCheckBoxPreferencesBySwitchPreferences(Landroid/preference/PreferenceGroup;)V | 137 | ····invoke-static·{v0},·Lorg/smc/inputmethod/indic/settings/TwoStatePreferenceHelper;->replaceCheckBoxPreferencesBySwitchPreferences(Landroid/preference/PreferenceGroup;)V |
137 | ····.line·87 | 138 | ····.line·87 |
138 | ····return-void | 139 | ····return-void |
139 | .end·method | 140 | .end·method |
140 | .method·final·getSharedPreferences()Landroid/content/SharedPreferences; | 141 | .method·final·getSharedPreferences()Landroid/content/SharedPreferences; |
Offset 22, 15 lines modified | Offset 22, 14 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·34 | 25 | ····.line·34 |
26 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;-><init>()V | 26 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/settings/SubScreenFragment;-><init>()V |
27 | ····.line·38 | ||
28 | ····return-void | 27 | ····return-void |
29 | .end·method | 28 | .end·method |
30 | .method·static·updateKeyboardThemeSummary(Landroid/preference/Preference;)V | 29 | .method·static·updateKeyboardThemeSummary(Landroid/preference/Preference;)V |
31 | ····.locals·8 | 30 | ····.locals·8 |
32 | ····.param·p0,·"pref"····#·Landroid/preference/Preference; | 31 | ····.param·p0,·"pref"····#·Landroid/preference/Preference; |
Offset 243, 14 lines modified | Offset 242, 15 lines modified | ||
243 | ····array-length·v8,·v3 | 242 | ····array-length·v8,·v3 |
244 | ····if-ge·v0,·v8,·:cond_0 | 243 | ····if-ge·v0,·v8,·:cond_0 |
245 | ····.line·72 | 244 | ····.line·72 |
246 | ····new-instance·v4,·Lorg/smc/inputmethod/indic/settings/ThemeSettingsFragment$KeyboardThemePreference; | 245 | ····new-instance·v4,·Lorg/smc/inputmethod/indic/settings/ThemeSettingsFragment$KeyboardThemePreference; |
246 | ····.line·73 | ||
247 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/ThemeSettingsFragment;->getActivity()Landroid/app/Activity; | 247 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/settings/ThemeSettingsFragment;->getActivity()Landroid/app/Activity; |
248 | ····move-result-object·v8 | 248 | ····move-result-object·v8 |
249 | ····aget-object·v9,·v3,·v0 | 249 | ····aget-object·v9,·v3,·v0 |
250 | ····aget-object·v10,·v2,·v0 | 250 | ····aget-object·v10,·v2,·v0 |
Offset 56, 66 lines modified | Offset 56, 63 lines modified | ||
56 | ····:cond_0 | 56 | ····:cond_0 |
57 | ····return-void | 57 | ····return-void |
58 | .end·method | 58 | .end·method |
59 | #·virtual·methods | 59 | #·virtual·methods |
60 | .method·protected·drawableStateChanged()V | 60 | .method·protected·drawableStateChanged()V |
61 |
····.locals· |
61 | ····.locals·6 |
62 | ····.prologue | 62 | ····.prologue |
63 | ····const/4·v2,·0x0 | ||
63 | ····.line·58 | 64 | ····.line·58 |
64 | ····invoke-super·{p0},·Landroid/widget/TextView;->drawableStateChanged()V | 65 | ····invoke-super·{p0},·Landroid/widget/TextView;->drawableStateChanged()V |
65 | ····.line·59 | 66 | ····.line·59 |
66 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/setup/SetupStartIndicatorView$LabelView;->getDrawableState()[I | 67 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/setup/SetupStartIndicatorView$LabelView;->getDrawableState()[I |
67 |
····move-result-object·v |
68 | ····move-result-object·v3 |
68 |
···· |
69 | ····array-length·v4,·v3 |
69 | ····array-length·v2,·v0 | ||
70 |
···· |
70 | ····move·v1,·v2 |
71 | ····const/4·v1,·0x0 | ||
72 | ····.local·v1,·"i$":I | ||
73 | ····:goto_0 | 71 | ····:goto_0 |
74 |
····if-ge·v1,·v |
72 | ····if-ge·v1,·v4,·:cond_1 |
75 |
····aget·v |
73 | ····aget·v0,·v3,·v1 |
76 | ····.line·60 | 74 | ····.line·60 |
77 |
····.local·v |
75 | ····.local·v0,·"state":I |
78 |
····const·v |
76 | ····const·v5,·0x10100a7 |
79 |
····if-ne·v |
77 | ····if-ne·v0,·v5,·:cond_0 |
80 | ····.line·61 | 78 | ····.line·61 |
81 |
····const/4·v |
79 | ····const/4·v1,·0x1 |
82 |
····invoke-direct·{p0,·v |
80 | ····invoke-direct·{p0,·v1},·Lorg/smc/inputmethod/indic/setup/SetupStartIndicatorView$LabelView;->updateIndicatorView(Z)V |
83 | ····.line·66 | 81 | ····.line·66 |
84 |
····.end·local·v |
82 | ····.end·local·v0····#·"state":I |
85 | ····:goto_1 | 83 | ····:goto_1 |
86 | ····return-void | 84 | ····return-void |
87 | ····.line·59 | 85 | ····.line·59 |
88 |
····.restart·local·v |
86 | ····.restart·local·v0····#·"state":I |
89 | ····:cond_0 | 87 | ····:cond_0 |
90 | ····add-int/lit8·v1,·v1,·0x1 | 88 | ····add-int/lit8·v1,·v1,·0x1 |
91 | ····goto·:goto_0 | 89 | ····goto·:goto_0 |
92 | ····.line·65 | 90 | ····.line·65 |
93 |
····.end·local·v |
91 | ····.end·local·v0····#·"state":I |
94 | ····:cond_1 | 92 | ····:cond_1 |
95 |
····const/ |
93 | ····invoke-direct·{p0,·v2},·Lorg/smc/inputmethod/indic/setup/SetupStartIndicatorView$LabelView;->updateIndicatorView(Z)V |
96 | ····invoke-direct·{p0,·v4},·Lorg/smc/inputmethod/indic/setup/SetupStartIndicatorView$LabelView;->updateIndicatorView(Z)V | ||
97 | ····goto·:goto_1 | 94 | ····goto·:goto_1 |
98 | .end·method | 95 | .end·method |
99 | .method·public·setIndicatorView(Landroid/view/View;)V | 96 | .method·public·setIndicatorView(Landroid/view/View;)V |
100 | ····.locals·0 | 97 | ····.locals·0 |
101 | ····.param·p1,·"indicatorView"····#·Landroid/view/View; | 98 | ····.param·p1,·"indicatorView"····#·Landroid/view/View; |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$handler:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SettingsPoolingHandler; | 22 | .field·final·synthetic·val$handler:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SettingsPoolingHandler; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SettingsPoolingHandler;)V | 24 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SettingsPoolingHandler;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·146 | 28 | ····.line·146 |
28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$1;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | 29 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$1;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; |
29 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$1;->val$handler:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SettingsPoolingHandler; | 30 | ····iput-object·p2,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$1;->val$handler:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SettingsPoolingHandler; |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·173 | 27 | ····.line·173 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$3;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$3;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; |
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:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·160 | 27 | ····.line·160 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$2;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$2;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; |
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:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·186 | 27 | ····.line·186 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$4;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$4;->this$0:Lorg/smc/inputmethod/indic/setup/SetupWizardActivity; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 115, 22 lines modified | Offset 115, 24 lines modified | ||
115 | ····invoke-virtual·{v3,·v4},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 115 | ····invoke-virtual·{v3,·v4},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
116 | ····.line·409 | 116 | ····.line·409 |
117 | ····if-nez·p6,·:cond_0 | 117 | ····if-nez·p6,·:cond_0 |
118 | ····const/4·v4,·0x0 | 118 | ····const/4·v4,·0x0 |
119 | ····.line·410 | ||
119 | ····:goto_0 | 120 | ····:goto_0 |
120 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mInstruction:Ljava/lang/String; | 121 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mInstruction:Ljava/lang/String; |
121 | ····.line·411 | 122 | ····.line·411 |
122 | ····if-nez·p7,·:cond_1 | 123 | ····if-nez·p7,·:cond_1 |
123 | ····const/4·v4,·0x0 | 124 | ····const/4·v4,·0x0 |
125 | ····.line·412 | ||
124 | ····:goto_1 | 126 | ····:goto_1 |
125 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mFinishedInstruction:Ljava/lang/String; | 127 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mFinishedInstruction:Ljava/lang/String; |
126 | ····.line·414 | 128 | ····.line·414 |
127 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mStepView:Landroid/view/View; | 129 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mStepView:Landroid/view/View; |
128 | ····const·v5,·0x7f100081 | 130 | ····const·v5,·0x7f100081 |
Offset 185, 14 lines modified | Offset 187, 15 lines modified | ||
185 | ····new-array·v4,·v4,·[Ljava/lang/Object; | 187 | ····new-array·v4,·v4,·[Ljava/lang/Object; |
186 | ····const/4·v5,·0x0 | 188 | ····const/4·v5,·0x0 |
187 | ····aput-object·p2,·v4,·v5 | 189 | ····aput-object·p2,·v4,·v5 |
190 | ····.line·410 | ||
188 | ····invoke-virtual·{v2,·p6,·v4},·Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String; | 191 | ····invoke-virtual·{v2,·p6,·v4},·Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String; |
189 | ····move-result-object·v4 | 192 | ····move-result-object·v4 |
190 | ····goto·:goto_0 | 193 | ····goto·:goto_0 |
191 | ····.line·411 | 194 | ····.line·411 |
Offset 201, 38 lines modified | Offset 204, 41 lines modified | ||
201 | ····new-array·v4,·v4,·[Ljava/lang/Object; | 204 | ····new-array·v4,·v4,·[Ljava/lang/Object; |
202 | ····const/4·v5,·0x0 | 205 | ····const/4·v5,·0x0 |
203 | ····aput-object·p2,·v4,·v5 | 206 | ····aput-object·p2,·v4,·v5 |
207 | ····.line·412 | ||
204 | ····move/from16·v0,·p7 | 208 | ····move/from16·v0,·p7 |
205 | ····invoke-virtual·{v2,·v0,·v4},·Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String; | 209 | ····invoke-virtual·{v2,·v0,·v4},·Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String; |
206 | ····move-result-object·v4 | 210 | ····move-result-object·v4 |
207 | ····goto·:goto_1 | 211 | ····goto·:goto_1 |
208 | ····.line·420 | 212 | ····.line·420 |
209 | ····:cond_2 | 213 | ····:cond_2 |
210 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mActionLabel:Landroid/widget/TextView; | 214 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mActionLabel:Landroid/widget/TextView; |
215 | ····.line·421 | ||
211 | ····move/from16·v0,·p8 | 216 | ····move/from16·v0,·p8 |
212 | ····invoke-virtual·{v2,·v0},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; | 217 | ····invoke-virtual·{v2,·v0},·Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable; |
213 | ····move-result-object·v5 | 218 | ····move-result-object·v5 |
214 | ····const/4·v6,·0x0 | 219 | ····const/4·v6,·0x0 |
215 | ····const/4·v7,·0x0 | 220 | ····const/4·v7,·0x0 |
216 | ····const/4·v8,·0x0 | 221 | ····const/4·v8,·0x0 |
222 | ····.line·420 | ||
217 | ····invoke-static·{v4,·v5,·v6,·v7,·v8},·Lorg/smc/inputmethod/compat/TextViewCompatUtils;->setCompoundDrawablesRelativeWithIntrinsicBounds(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V | 223 | ····invoke-static·{v4,·v5,·v6,·v7,·v8},·Lorg/smc/inputmethod/compat/TextViewCompatUtils;->setCompoundDrawablesRelativeWithIntrinsicBounds(Landroid/widget/TextView;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V |
218 | ····goto·:goto_2 | 224 | ····goto·:goto_2 |
219 | .end·method | 225 | .end·method |
220 | #·virtual·methods | 226 | #·virtual·methods |
Offset 65, 69 lines modified | Offset 65, 68 lines modified | ||
65 | ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z | 65 | ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
66 | ····.line·458 | 66 | ····.line·458 |
67 | ····return-void | 67 | ····return-void |
68 | .end·method | 68 | .end·method |
69 | .method·public·enableStep(IZ)V | 69 | .method·public·enableStep(IZ)V |
70 |
····.locals· |
70 | ····.locals·4 |
71 | ····.param·p1,·"enableStepNo"····#·I | 71 | ····.param·p1,·"enableStepNo"····#·I |
72 | ····.param·p2,·"isStepActionAlreadyDone"····#·Z | 72 | ····.param·p2,·"isStepActionAlreadyDone"····#·Z |
73 | ····.prologue | 73 | ····.prologue |
74 | ····.line·461 | 74 | ····.line·461 |
75 |
····iget-object·v |
75 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStepGroup;->mGroup:Ljava/util/ArrayList; |
76 |
····invoke-virtual·{v |
76 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
77 |
····move-result-object·v |
77 | ····move-result-object·v2 |
78 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
79 | ····:goto_0 | 78 | ····:goto_0 |
80 |
····invoke-interface·{v |
79 | ····invoke-interface·{v2},·Ljava/util/Iterator;->hasNext()Z |
81 |
····move-result·v |
80 | ····move-result·v1 |
82 |
····if-eqz·v |
81 | ····if-eqz·v1,·:cond_1 |
83 |
····invoke-interface·{v |
82 | ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
84 |
····move-result-object·v |
83 | ····move-result-object·v0 |
85 |
····check-cast·v |
84 | ····check-cast·v0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; |
86 | ····.line·462 | 85 | ····.line·462 |
87 |
····.local·v |
86 | ····.local·v0,·"step":Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; |
88 |
····iget·v |
87 | ····iget·v1,·v0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->mStepNo:I |
89 |
····if-ne·v |
88 | ····if-ne·v1,·p1,·:cond_0 |
90 |
····const/4·v |
89 | ····const/4·v1,·0x1 |
91 | ····:goto_1 | 90 | ····:goto_1 |
92 |
····invoke-virtual·{v |
91 | ····invoke-virtual·{v0,·v1,·p2},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep;->setEnabled(ZZ)V |
93 | ····goto·:goto_0 | 92 | ····goto·:goto_0 |
94 | ····:cond_0 | 93 | ····:cond_0 |
95 |
····const/4·v |
94 | ····const/4·v1,·0x0 |
96 | ····goto·:goto_1 | 95 | ····goto·:goto_1 |
97 | ····.line·464 | 96 | ····.line·464 |
98 |
····.end·local·v |
97 | ····.end·local·v0····#·"step":Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; |
99 | ····:cond_1 | 98 | ····:cond_1 |
100 |
····iget-object·v |
99 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStepGroup;->mIndicatorView:Lorg/smc/inputmethod/indic/setup/SetupStepIndicatorView; |
101 |
····add-int/lit8·v |
100 | ····add-int/lit8·v2,·p1,·-0x1 |
102 |
····iget-object·v |
101 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStepGroup;->mGroup:Ljava/util/ArrayList; |
103 |
····invoke-virtual·{v |
102 | ····invoke-virtual·{v3},·Ljava/util/ArrayList;->size()I |
104 |
····move-result·v |
103 | ····move-result·v3 |
105 |
····invoke-virtual·{v |
104 | ····invoke-virtual·{v1,·v2,·v3},·Lorg/smc/inputmethod/indic/setup/SetupStepIndicatorView;->setIndicatorPosition(II)V |
106 | ····.line·465 | 105 | ····.line·465 |
107 | ····return-void | 106 | ····return-void |
108 | .end·method | 107 | .end·method |
Offset 82, 15 lines modified | Offset 82, 14 lines modified | ||
82 | .method·public·constructor·<init>()V | 82 | .method·public·constructor·<init>()V |
83 | ····.locals·0 | 83 | ····.locals·0 |
84 | ····.prologue | 84 | ····.prologue |
85 | ····.line·40 | 85 | ····.line·40 |
86 | ····invoke-direct·{p0},·Landroid/app/Activity;-><init>()V | 86 | ····invoke-direct·{p0},·Landroid/app/Activity;-><init>()V |
87 | ····.line·448 | ||
88 | ····return-void | 87 | ····return-void |
89 | .end·method | 88 | .end·method |
90 | .method·private·determineSetupStepNumber()I | 89 | .method·private·determineSetupStepNumber()I |
91 | ····.locals·1 | 90 | ····.locals·1 |
92 | ····.prologue | 91 | ····.prologue |
Offset 439, 14 lines modified | Offset 438, 15 lines modified | ||
439 | .method·invokeSubtypeEnablerOfThisIme()V | 438 | .method·invokeSubtypeEnablerOfThisIme()V |
440 | ····.locals·5 | 439 | ····.locals·5 |
441 | ····.prologue | 440 | ····.prologue |
442 | ····const/4·v4,·0x1 | 441 | ····const/4·v4,·0x1 |
443 | ····.line·264 | 442 | ····.line·264 |
443 | ····.line·265 | ||
444 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->getPackageName()Ljava/lang/String; | 444 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->getPackageName()Ljava/lang/String; |
445 | ····move-result-object·v2 | 445 | ····move-result-object·v2 |
446 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->mImm:Landroid/view/inputmethod/InputMethodManager; | 446 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->mImm:Landroid/view/inputmethod/InputMethodManager; |
447 | ····invoke-static·{v2,·v3},·Lcom/android/inputmethod/latin/utils/UncachedInputMethodManagerUtils;->getInputMethodInfoOf(Ljava/lang/String;Landroid/view/inputmethod/InputMethodManager;)Landroid/view/inputmethod/InputMethodInfo; | 447 | ····invoke-static·{v2,·v3},·Lcom/android/inputmethod/latin/utils/UncachedInputMethodManagerUtils;->getInputMethodInfoOf(Ljava/lang/String;Landroid/view/inputmethod/InputMethodManager;)Landroid/view/inputmethod/InputMethodInfo; |
Offset 791, 14 lines modified | Offset 791, 15 lines modified | ||
791 | ····move-object/from16·v0,·v19 | 791 | ····move-object/from16·v0,·v19 |
792 | ····invoke-virtual·{v0,·v3},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 792 | ····invoke-virtual·{v0,·v3},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
793 | ····.line·134 | 793 | ····.line·134 |
794 | ····const·v3,·0x7f100087 | 794 | ····const·v3,·0x7f100087 |
795 | ····.line·135 | ||
795 | ····move-object/from16·v0,·p0 | 796 | ····move-object/from16·v0,·p0 |
796 | ····invoke-virtual·{v0,·v3},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; | 797 | ····invoke-virtual·{v0,·v3},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; |
797 | ····move-result-object·v18 | 798 | ····move-result-object·v18 |
798 | ····check-cast·v18,·Lorg/smc/inputmethod/indic/setup/SetupStepIndicatorView; | 799 | ····check-cast·v18,·Lorg/smc/inputmethod/indic/setup/SetupStepIndicatorView; |
Offset 846, 14 lines modified | Offset 847, 15 lines modified | ||
846 | ····move-object/from16·v0,·p0 | 847 | ····move-object/from16·v0,·p0 |
847 | ····iget-object·v5,·v0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->mStep1Bullet:Landroid/widget/TextView; | 848 | ····iget-object·v5,·v0,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->mStep1Bullet:Landroid/widget/TextView; |
848 | ····const·v8,·0x7f100089 | 849 | ····const·v8,·0x7f100089 |
850 | ····.line·141 | ||
849 | ····move-object/from16·v0,·p0 | 851 | ····move-object/from16·v0,·p0 |
850 | ····invoke-virtual·{v0,·v8},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; | 852 | ····invoke-virtual·{v0,·v8},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; |
851 | ····move-result-object·v6 | 853 | ····move-result-object·v6 |
852 | ····const·v7,·0x7f0c00d2 | 854 | ····const·v7,·0x7f0c00d2 |
Offset 898, 14 lines modified | Offset 900, 15 lines modified | ||
898 | ····.line·155 | 900 | ····.line·155 |
899 | ····new-instance·v5,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; | 901 | ····new-instance·v5,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; |
900 | ····const/4·v6,·0x2 | 902 | ····const/4·v6,·0x2 |
901 | ····const·v3,·0x7f100084 | 903 | ····const·v3,·0x7f100084 |
904 | ····.line·156 | ||
902 | ····move-object/from16·v0,·p0 | 905 | ····move-object/from16·v0,·p0 |
903 | ····invoke-virtual·{v0,·v3},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; | 906 | ····invoke-virtual·{v0,·v3},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; |
904 | ····move-result-object·v8 | 907 | ····move-result-object·v8 |
905 | ····check-cast·v8,·Landroid/widget/TextView; | 908 | ····check-cast·v8,·Landroid/widget/TextView; |
Offset 952, 14 lines modified | Offset 955, 15 lines modified | ||
952 | ····.line·168 | 955 | ····.line·168 |
953 | ····new-instance·v6,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; | 956 | ····new-instance·v6,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; |
954 | ····const/4·v7,·0x3 | 957 | ····const/4·v7,·0x3 |
955 | ····const·v3,·0x7f100085 | 958 | ····const·v3,·0x7f100085 |
959 | ····.line·169 | ||
956 | ····move-object/from16·v0,·p0 | 960 | ····move-object/from16·v0,·p0 |
957 | ····invoke-virtual·{v0,·v3},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; | 961 | ····invoke-virtual·{v0,·v3},·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity;->findViewById(I)Landroid/view/View; |
958 | ····move-result-object·v9 | 962 | ····move-result-object·v9 |
959 | ····check-cast·v9,·Landroid/widget/TextView; | 963 | ····check-cast·v9,·Landroid/widget/TextView; |
Offset 1006, 14 lines modified | Offset 1010, 15 lines modified | ||
1006 | ····.line·181 | 1010 | ····.line·181 |
1007 | ····new-instance·v7,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; | 1011 | ····new-instance·v7,·Lorg/smc/inputmethod/indic/setup/SetupWizardActivity$SetupStep; |
Max diff block lines reached; 277/3115 bytes (8.89%) of diff not shown. |
Offset 139, 26 lines modified | Offset 139, 21 lines modified | ||
139 | ····move-result-object·v2 | 139 | ····move-result-object·v2 |
140 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 140 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
141 | ····move-result-object·v1 | 141 | ····move-result-object·v1 |
142 | ····const-string·v2,·"·has·been·evicted·due·to·cache·size·limit." | 142 | ····const-string·v2,·"·has·been·evicted·due·to·cache·size·limit.·size:·" |
143 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
144 | ····move-result-object·v1 | ||
145 | ····const-string·v2,·"·size:·" | ||
146 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 143 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
147 | ····move-result-object·v1 | 144 | ····move-result-object·v1 |
145 | ····.line·100 | ||
148 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService$DictionaryFacilitatorLruCache;->size()I | 146 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService$DictionaryFacilitatorLruCache;->size()I |
149 | ····move-result·v2 | 147 | ····move-result·v2 |
150 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 148 | ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
151 | ····move-result-object·v1 | 149 | ····move-result-object·v1 |
Offset 177, 13 lines modified | Offset 172, 14 lines modified | ||
177 | ····move-result-object·v1 | 172 | ····move-result-object·v1 |
178 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 173 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
179 | ····move-result-object·v1 | 174 | ····move-result-object·v1 |
175 | ····.line·98 | ||
180 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 176 | ····invoke-static·{v0,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
181 | ····.line·103 | 177 | ····.line·103 |
182 | ····:cond_1 | 178 | ····:cond_1 |
183 | ····return-void | 179 | ····return-void |
184 | .end·method | 180 | .end·method |
Offset 241, 20 lines modified | Offset 241, 21 lines modified | ||
241 | ····.line·307 | 241 | ····.line·307 |
242 | ····.local·v2,·"script":I | 242 | ····.local·v2,·"script":I |
243 | ····invoke-static·{v2},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->getKeyboardLayoutNameForScript(I)Ljava/lang/String; | 243 | ····invoke-static·{v2},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->getKeyboardLayoutNameForScript(I)Ljava/lang/String; |
244 | ····move-result-object·v0 | 244 | ····move-result-object·v0 |
245 |
····.line·30 |
245 | ····.line·309 |
246 | ····.local·v0,·"keyboardLayoutName":Ljava/lang/String; | 246 | ····.local·v0,·"keyboardLayoutName":Ljava/lang/String; |
247 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; | 247 | ····invoke-virtual·{p1},·Ljava/util/Locale;->toString()Ljava/lang/String; |
248 | ····move-result-object·v4 | 248 | ····move-result-object·v4 |
249 | ····.line·308 | ||
249 | ····invoke-static·{v4,·v0},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->createDummyAdditionalSubtype(Ljava/lang/String;Ljava/lang/String;)Landroid/view/inputmethod/InputMethodSubtype; | 250 | ····invoke-static·{v4,·v0},·Lcom/android/inputmethod/latin/utils/AdditionalSubtypeUtils;->createDummyAdditionalSubtype(Ljava/lang/String;Ljava/lang/String;)Landroid/view/inputmethod/InputMethodSubtype; |
250 | ····move-result-object·v3 | 251 | ····move-result-object·v3 |
251 | ····.line·310 | 252 | ····.line·310 |
252 | ····.local·v3,·"subtype":Landroid/view/inputmethod/InputMethodSubtype; | 253 | ····.local·v3,·"subtype":Landroid/view/inputmethod/InputMethodSubtype; |
253 | ····invoke-direct·{p0,·v3},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->createKeyboardSetForSpellChecker(Landroid/view/inputmethod/InputMethodSubtype;)Lcom/android/inputmethod/keyboard/KeyboardLayoutSet; | 254 | ····invoke-direct·{p0,·v3},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->createKeyboardSetForSpellChecker(Landroid/view/inputmethod/InputMethodSubtype;)Lcom/android/inputmethod/keyboard/KeyboardLayoutSet; |
Offset 322, 14 lines modified | Offset 323, 15 lines modified | ||
322 | ····.locals·2 | 323 | ····.locals·2 |
323 | ····.param·p1,·"locale"····#·Ljava/util/Locale; | 324 | ····.param·p1,·"locale"····#·Ljava/util/Locale; |
324 | ····.prologue | 325 | ····.prologue |
325 | ····.line·245 | 326 | ····.line·245 |
326 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mDictionaryFacilitatorCache:Landroid/util/LruCache; | 327 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mDictionaryFacilitatorCache:Landroid/util/LruCache; |
328 | ····.line·246 | ||
327 | ····invoke-virtual·{v1,·p1},·Landroid/util/LruCache;->get(Ljava/lang/Object;)Ljava/lang/Object; | 329 | ····invoke-virtual·{v1,·p1},·Landroid/util/LruCache;->get(Ljava/lang/Object;)Ljava/lang/Object; |
328 | ····move-result-object·v0 | 330 | ····move-result-object·v0 |
329 | ····check-cast·v0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator; | 331 | ····check-cast·v0,·Lorg/smc/inputmethod/indic/DictionaryFacilitator; |
330 | ····.line·247 | 332 | ····.line·247 |
Offset 646, 33 lines modified | Offset 648, 35 lines modified | ||
646 | ····move-object·v0,·v2 | 648 | ····move-object·v0,·v2 |
647 | ····check-cast·v0,·Ljava/lang/Integer; | 649 | ····check-cast·v0,·Ljava/lang/Integer; |
648 | ····move-object·v7,·v0 | 650 | ····move-object·v7,·v0 |
649 |
····.line·22 |
651 | ····.line·222 |
650 | ····invoke-direct·{p0,·p1},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->getDictionaryFacilitatorForLocaleLocked(Ljava/util/Locale;)Lorg/smc/inputmethod/indic/DictionaryFacilitator; | 652 | ····invoke-direct·{p0,·p1},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->getDictionaryFacilitatorForLocaleLocked(Ljava/util/Locale;)Lorg/smc/inputmethod/indic/DictionaryFacilitator; |
651 | ····move-result-object·v1 | 653 | ····move-result-object·v1 |
652 | ····.line·223 | 654 | ····.line·223 |
653 | ····.local·v1,·"dictionaryFacilitatorForLocale":Lorg/smc/inputmethod/indic/DictionaryFacilitator; | 655 | ····.local·v1,·"dictionaryFacilitatorForLocale":Lorg/smc/inputmethod/indic/DictionaryFacilitator; |
654 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mSettingsValuesForSuggestion:Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion; | 656 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mSettingsValuesForSuggestion:Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion; |
657 | ····.line·224 | ||
655 | ····invoke-virtual·{v7},·Ljava/lang/Integer;->intValue()I | 658 | ····invoke-virtual·{v7},·Ljava/lang/Integer;->intValue()I |
656 | ····move-result·v6 | 659 | ····move-result·v6 |
657 | ····move-object·v2,·p2 | 660 | ····move-object·v2,·p2 |
658 | ····move-object·v3,·p3 | 661 | ····move-object·v3,·p3 |
659 | ····move-object·v4,·p4 | 662 | ····move-object·v4,·p4 |
663 | ····.line·223 | ||
660 | ····invoke-virtual/range·{v1·..·v6},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->getSuggestionResults(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/PrevWordsInfo;Lcom/android/inputmethod/keyboard/ProximityInfo;Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion;I)Lcom/android/inputmethod/latin/utils/SuggestionResults; | 664 | ····invoke-virtual/range·{v1·..·v6},·Lorg/smc/inputmethod/indic/DictionaryFacilitator;->getSuggestionResults(Lorg/smc/inputmethod/indic/WordComposer;Lcom/android/inputmethod/latin/PrevWordsInfo;Lcom/android/inputmethod/keyboard/ProximityInfo;Lorg/smc/inputmethod/indic/settings/SettingsValuesForSuggestion;I)Lcom/android/inputmethod/latin/utils/SuggestionResults; |
661 | ····:try_end_0 | 665 | ····:try_end_0 |
662 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 666 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
663 | ····move-result-object·v2 | 667 | ····move-result-object·v2 |
664 | ····.line·226 | 668 | ····.line·226 |
Offset 685, 14 lines modified | Offset 689, 15 lines modified | ||
685 | ····.line·229 | 689 | ····.line·229 |
686 | ····:cond_0 | 690 | ····:cond_0 |
687 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mSemaphore:Ljava/util/concurrent/Semaphore; | 691 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mSemaphore:Ljava/util/concurrent/Semaphore; |
688 | ····invoke-virtual·{v3},·Ljava/util/concurrent/Semaphore;->release()V | 692 | ····invoke-virtual·{v3},·Ljava/util/concurrent/Semaphore;->release()V |
693 | ····.line·223 | ||
689 | ····return-object·v2 | 694 | ····return-object·v2 |
690 | ····.line·226 | 695 | ····.line·226 |
691 | ····.end·local·v1····#·"dictionaryFacilitatorForLocale":Lorg/smc/inputmethod/indic/DictionaryFacilitator; | 696 | ····.end·local·v1····#·"dictionaryFacilitatorForLocale":Lorg/smc/inputmethod/indic/DictionaryFacilitator; |
692 | ····:catchall_0 | 697 | ····:catchall_0 |
693 | ····move-exception·v2 | 698 | ····move-exception·v2 |
Offset 718, 15 lines modified | Offset 723, 15 lines modified | ||
718 | ····.prologue | 723 | ····.prologue |
719 | ····.line·234 | 724 | ····.line·234 |
720 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mSemaphore:Ljava/util/concurrent/Semaphore; | 725 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerService;->mSemaphore:Ljava/util/concurrent/Semaphore; |
721 | ····invoke-virtual·{v1},·Ljava/util/concurrent/Semaphore;->acquireUninterruptibly()V | 726 | ····invoke-virtual·{v1},·Ljava/util/concurrent/Semaphore;->acquireUninterruptibly()V |
722 |
····.line·23 |
727 | ····.line·237 |
723 | ····:try_start_0 | 728 | ····:try_start_0 |
Max diff block lines reached; 8947/12797 bytes (69.91%) of diff not shown. |
Offset 644, 14 lines modified | Offset 644, 15 lines modified | ||
644 | ····.local·v0,·"i":I | 644 | ····.local·v0,·"i":I |
645 | ····:goto_1 | 645 | ····:goto_1 |
646 | ····if-ge·v0,·v1,·:cond_1 | 646 | ····if-ge·v0,·v1,·:cond_1 |
647 | ····.line·177 | 647 | ····.line·177 |
648 | ····aget-object·v10,·p1,·v0 | 648 | ····aget-object·v10,·p1,·v0 |
649 | ····.line·178 | ||
649 | ····invoke-virtual·{v7,·v10},·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter;->getSplitWords(Landroid/view/textservice/TextInfo;)Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams; | 650 | ····invoke-virtual·{v7,·v10},·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter;->getSplitWords(Landroid/view/textservice/TextInfo;)Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams; |
650 | ····move-result-object·v9 | 651 | ····move-result-object·v9 |
651 | ····.line·179 | 652 | ····.line·179 |
652 | ····.local·v9,·"textInfoParams":Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams; | 653 | ····.local·v9,·"textInfoParams":Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams; |
653 | ····iget-object·v5,·v9,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;->mItems:Ljava/util/ArrayList; | 654 | ····iget-object·v5,·v9,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;->mItems:Ljava/util/ArrayList; |
Offset 690, 18 lines modified | Offset 691, 20 lines modified | ||
690 | ····goto·:goto_2 | 691 | ····goto·:goto_2 |
691 | ····.line·186 | 692 | ····.line·186 |
692 | ····:cond_5 | 693 | ····:cond_5 |
693 | ····const/4·v10,·0x1 | 694 | ····const/4·v10,·0x1 |
695 | ····.line·187 | ||
694 | ····invoke-virtual·{p0,·v8,·p2,·v10},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerSession;->onGetSuggestionsMultiple([Landroid/view/textservice/TextInfo;IZ)[Landroid/view/textservice/SuggestionsInfo; | 696 | ····invoke-virtual·{p0,·v8,·p2,·v10},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerSession;->onGetSuggestionsMultiple([Landroid/view/textservice/TextInfo;IZ)[Landroid/view/textservice/SuggestionsInfo; |
695 | ····move-result-object·v10 | 697 | ····move-result-object·v10 |
698 | ····.line·186 | ||
696 | ····invoke-static·{v9,·v10},·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter;->reconstructSuggestions(Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;[Landroid/view/textservice/SuggestionsInfo;)Landroid/view/textservice/SentenceSuggestionsInfo; | 699 | ····invoke-static·{v9,·v10},·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter;->reconstructSuggestions(Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;[Landroid/view/textservice/SuggestionsInfo;)Landroid/view/textservice/SentenceSuggestionsInfo; |
697 | ····move-result-object·v10 | 700 | ····move-result-object·v10 |
698 | ····aput-object·v10,·v6,·v0 | 701 | ····aput-object·v10,·v6,·v0 |
699 | ····.line·176 | 702 | ····.line·176 |
Offset 748, 14 lines modified | Offset 751, 15 lines modified | ||
748 | ····if-ge·v0,·v3,·:cond_0 | 751 | ····if-ge·v0,·v3,·:cond_0 |
749 | ····.line·132 | 752 | ····.line·132 |
750 | ····aget-object·v3,·p1,·v0 | 753 | ····aget-object·v3,·p1,·v0 |
751 | ····aget-object·v4,·v1,·v0 | 754 | ····aget-object·v4,·v1,·v0 |
755 | ····.line·133 | ||
752 | ····invoke-direct·{p0,·v3,·v4},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerSession;->fixWronglyInvalidatedWordWithSingleQuote(Landroid/view/textservice/TextInfo;Landroid/view/textservice/SentenceSuggestionsInfo;)Landroid/view/textservice/SentenceSuggestionsInfo; | 756 | ····invoke-direct·{p0,·v3,·v4},·Lorg/smc/inputmethod/indic/spellcheck/AndroidSpellCheckerSession;->fixWronglyInvalidatedWordWithSingleQuote(Landroid/view/textservice/TextInfo;Landroid/view/textservice/SentenceSuggestionsInfo;)Landroid/view/textservice/SentenceSuggestionsInfo; |
753 | ····move-result-object·v2 | 757 | ····move-result-object·v2 |
754 | ····.line·134 | 758 | ····.line·134 |
755 | ····.local·v2,·"tempSsi":Landroid/view/textservice/SentenceSuggestionsInfo; | 759 | ····.local·v2,·"tempSsi":Landroid/view/textservice/SentenceSuggestionsInfo; |
756 | ····if-eqz·v2,·:cond_2 | 760 | ····if-eqz·v2,·:cond_2 |
Offset 805, 15 lines modified | Offset 809, 15 lines modified | ||
805 | ····if-lez·v0,·:cond_1 | 809 | ····if-lez·v0,·:cond_1 |
806 | ····.line·203 | 810 | ····.line·203 |
807 | ····add-int/lit8·v10,·v0,·-0x1 | 811 | ····add-int/lit8·v10,·v0,·-0x1 |
808 | ····aget-object·v4,·p1,·v10 | 812 | ····aget-object·v4,·p1,·v10 |
809 |
····.line·20 |
813 | ····.line·205 |
810 | ····.local·v4,·"prevTextInfo":Landroid/view/textservice/TextInfo; | 814 | ····.local·v4,·"prevTextInfo":Landroid/view/textservice/TextInfo; |
811 | ····invoke-static·{v4},·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->getCharSequenceOrString(Landroid/view/textservice/TextInfo;)Ljava/lang/CharSequence; | 815 | ····invoke-static·{v4},·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->getCharSequenceOrString(Landroid/view/textservice/TextInfo;)Ljava/lang/CharSequence; |
812 | ····move-result-object·v6 | 816 | ····move-result-object·v6 |
813 | ····.line·208 | 817 | ····.line·208 |
814 | ····.local·v6,·"prevWordCandidate":Ljava/lang/CharSequence; | 818 | ····.local·v6,·"prevWordCandidate":Ljava/lang/CharSequence; |
Offset 891, 16 lines modified | Offset 895, 18 lines modified | ||
891 | ····goto·:goto_1 | 895 | ····goto·:goto_1 |
892 | ····.line·220 | 896 | ····.line·220 |
893 | ····.end·local·v5····#·"prevWord":Ljava/lang/CharSequence; | 897 | ····.end·local·v5····#·"prevWord":Ljava/lang/CharSequence; |
894 | ····:cond_2 | 898 | ····:cond_2 |
895 | ····invoke-static·{v2,·v3},·Landroid/os/Binder;->restoreCallingIdentity(J)V | 899 | ····invoke-static·{v2,·v3},·Landroid/os/Binder;->restoreCallingIdentity(J)V |
900 | ····.line·218 | ||
896 | ····return-object·v8 | 901 | ····return-object·v8 |
902 | ····.line·220 | ||
897 | ····.end·local·v0····#·"i":I | 903 | ····.end·local·v0····#·"i":I |
898 | ····.end·local·v1····#·"length":I | 904 | ····.end·local·v1····#·"length":I |
899 | ····.end·local·v8····#·"retval":[Landroid/view/textservice/SuggestionsInfo; | 905 | ····.end·local·v8····#·"retval":[Landroid/view/textservice/SuggestionsInfo; |
900 | ····:catchall_0 | 906 | ····:catchall_0 |
901 | ····move-exception·v10 | 907 | ····move-exception·v10 |
902 | ····invoke-static·{v2,·v3},·Landroid/os/Binder;->restoreCallingIdentity(J)V | 908 | ····invoke-static·{v2,·v3},·Landroid/os/Binder;->restoreCallingIdentity(J)V |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession;Landroid/os/Handler;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession;Landroid/os/Handler;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession; | ||
22 | ····.param·p2,·"x0"····#·Landroid/os/Handler; | 23 | ····.param·p2,·"x0"····#·Landroid/os/Handler; |
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·109 | 25 | ····.line·109 |
25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$1;->this$0:Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession; | 26 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$1;->this$0:Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession; |
26 | ····invoke-direct·{p0,·p2},·Landroid/database/ContentObserver;-><init>(Landroid/os/Handler;)V | 27 | ····invoke-direct·{p0,·p2},·Landroid/database/ContentObserver;-><init>(Landroid/os/Handler;)V |
Offset 165, 19 lines modified | Offset 165, 21 lines modified | ||
165 | ····:goto_0 | 165 | ····:goto_0 |
166 | ····return-void | 166 | ····return-void |
167 | ····.line·96 | 167 | ····.line·96 |
168 | ····:cond_1 | 168 | ····:cond_1 |
169 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsCache;->mUnigramSuggestionsInfoCache:Landroid/util/LruCache; | 169 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsCache;->mUnigramSuggestionsInfoCache:Landroid/util/LruCache; |
170 | ····.line·97 | ||
170 | ····invoke-static·{p1,·p2},·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsCache;->generateKey(Ljava/lang/String;Lcom/android/inputmethod/latin/PrevWordsInfo;)Ljava/lang/String; | 171 | ····invoke-static·{p1,·p2},·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsCache;->generateKey(Ljava/lang/String;Lcom/android/inputmethod/latin/PrevWordsInfo;)Ljava/lang/String; |
171 | ····move-result-object·v1 | 172 | ····move-result-object·v1 |
172 | ····new-instance·v2,·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsParams; | 173 | ····new-instance·v2,·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsParams; |
173 | ····invoke-direct·{v2,·p3,·p4},·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsParams;-><init>([Ljava/lang/String;I)V | 174 | ····invoke-direct·{v2,·p3,·p4},·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$SuggestionsParams;-><init>([Ljava/lang/String;I)V |
175 | ····.line·96 | ||
174 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/LruCache;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | 176 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/util/LruCache;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; |
175 | ····goto·:goto_0 | 177 | ····goto·:goto_0 |
176 | .end·method | 178 | .end·method |
Offset 248, 199 lines modified | Offset 248, 199 lines modified | ||
248 | ····move·v5,·v6 | 248 | ····move·v5,·v6 |
249 | ····goto·:goto_0 | 249 | ····goto·:goto_0 |
250 | .end·method | 250 | .end·method |
251 | .method·private·static·getResult(ILjava/util/Locale;IFLjava/lang/String;Lcom/android/inputmethod/latin/utils/SuggestionResults;)Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$Result; | 251 | .method·private·static·getResult(ILjava/util/Locale;IFLjava/lang/String;Lcom/android/inputmethod/latin/utils/SuggestionResults;)Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$Result; |
252 |
····.locals·1 |
252 | ····.locals·11 |
253 | ····.param·p0,·"capitalizeType"····#·I | 253 | ····.param·p0,·"capitalizeType"····#·I |
254 | ····.param·p1,·"locale"····#·Ljava/util/Locale; | 254 | ····.param·p1,·"locale"····#·Ljava/util/Locale; |
255 | ····.param·p2,·"suggestionsLimit"····#·I | 255 | ····.param·p2,·"suggestionsLimit"····#·I |
256 | ····.param·p3,·"recommendedThreshold"····#·F | 256 | ····.param·p3,·"recommendedThreshold"····#·F |
257 | ····.param·p4,·"originalText"····#·Ljava/lang/String; | 257 | ····.param·p4,·"originalText"····#·Ljava/lang/String; |
258 | ····.param·p5,·"suggestionResults"····#·Lcom/android/inputmethod/latin/utils/SuggestionResults; | 258 | ····.param·p5,·"suggestionResults"····#·Lcom/android/inputmethod/latin/utils/SuggestionResults; |
259 | ····.prologue | 259 | ····.prologue |
260 | ····.line·340 | 260 | ····.line·340 |
261 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->isEmpty()Z | 261 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->isEmpty()Z |
262 |
····move-result·v |
262 | ····move-result·v8 |
263 |
····if-nez·v |
263 | ····if-nez·v8,·:cond_0 |
264 | ····if-gtz·p2,·:cond_1 | 264 | ····if-gtz·p2,·:cond_1 |
265 | ····.line·341 | 265 | ····.line·341 |
266 | ····:cond_0 | 266 | ····:cond_0 |
267 |
····new-instance·v |
267 | ····new-instance·v8,·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$Result; |
268 |
····const/4·v |
268 | ····const/4·v9,·0x0 |
269 |
····const/4·v1 |
269 | ····const/4·v10,·0x0 |
270 |
····invoke-direct·{v |
270 | ····invoke-direct·{v8,·v9,·v10},·Lorg/smc/inputmethod/indic/spellcheck/AndroidWordLevelSpellCheckerSession$Result;-><init>([Ljava/lang/String;Z)V |
271 | ····.line·380 | 271 | ····.line·380 |
272 | ····:goto_0 | 272 | ····:goto_0 |
273 |
····return-object·v |
273 | ····return-object·v8 |
274 | ····.line·349 | 274 | ····.line·349 |
275 | ····:cond_1 | 275 | ····:cond_1 |
276 |
····new-instance·v |
276 | ····new-instance·v7,·Ljava/util/ArrayList; |
277 |
····invoke-direct·{v |
277 | ····invoke-direct·{v7},·Ljava/util/ArrayList;-><init>()V |
278 | ····.line·350 | 278 | ····.line·350 |
279 |
····.local·v |
279 | ····.local·v7,·"suggestions":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" |
280 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->iterator()Ljava/util/Iterator; | 280 | ····invoke-virtual/range·{p5·..·p5},·Lcom/android/inputmethod/latin/utils/SuggestionResults;->iterator()Ljava/util/Iterator; |
281 |
····move-result-object·v |
281 | ····move-result-object·v8 |
282 | ····.local·v5,·"i$":Ljava/util/Iterator; | ||
283 | ····:goto_1 | 282 | ····:goto_1 |
284 |
····invoke-interface·{v |
283 | ····invoke-interface·{v8},·Ljava/util/Iterator;->hasNext()Z |
285 |
····move-result·v |
284 | ····move-result·v9 |
286 |
····if-eqz·v |
285 | ····if-eqz·v9,·:cond_4 |
287 |
····invoke-interface·{v |
286 | ····invoke-interface·{v8},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
288 |
····move-result-object·v |
287 | ····move-result-object·v5 |
289 |
····check-cast·v |
288 | ····check-cast·v5,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; |
290 | ····.line·352 | 289 | ····.line·352 |
291 |
····.local·v |
290 | ····.local·v5,·"suggestedWordInfo":Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo; |
292 |
····const/4·v |
291 | ····const/4·v9,·0x2 |
293 |
····if-ne·v |
292 | ····if-ne·v9,·p0,·:cond_2 |
294 | ····.line·353 | 293 | ····.line·353 |
295 |
····iget-object·v |
294 | ····iget-object·v9,·v5,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;->mWord:Ljava/lang/String; |
296 |
····invoke-virtual·{v |
295 | ····invoke-virtual·{v9,·p1},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; |
297 |
····move-result-object·v |
296 | ····move-result-object·v6 |
298 | ····.line·360 | 297 | ····.line·360 |
299 |
····.local·v |
298 | ····.local·v6,·"suggestion":Ljava/lang/String; |
300 | ····:goto_2 | 299 | ····:goto_2 |
301 |
····invoke-virtual·{v |
300 | ····invoke-virtual·{v7,·v6},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
302 | ····goto·:goto_1 | 301 | ····goto·:goto_1 |
303 | ····.line·354 | 302 | ····.line·354 |
304 |
····.end·local·v |
303 | ····.end·local·v6····#·"suggestion":Ljava/lang/String; |
305 | ····:cond_2 | 304 | ····:cond_2 |
306 |
····const/4·v |
305 | ····const/4·v9,·0x1 |
307 |
····if-ne·v |
306 | ····if-ne·v9,·p0,·:cond_3 |
308 | ····.line·355 | 307 | ····.line·355 |
309 |
····iget-object·v |
308 | ····iget-object·v9,·v5,·Lorg/smc/inputmethod/indic/SuggestedWords$SuggestedWordInfo;->mWord:Ljava/lang/String; |
310 |
····invoke-static·{v |
309 | ····invoke-static·{v9,·p1},·Lcom/android/inputmethod/latin/utils/StringUtils;->capitalizeFirstCodePoint(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String; |
311 |
····move-result-object·v |
310 | ····move-result-object·v6 |
Max diff block lines reached; 29509/34513 bytes (85.50%) of diff not shown. |
Offset 26, 14 lines modified | Offset 26, 15 lines modified | ||
26 | #·instance·fields | 26 | #·instance·fields |
27 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; | 27 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; |
28 | #·direct·methods | 28 | #·direct·methods |
29 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator;)V | 29 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator;)V |
30 | ····.locals·0 | 30 | ····.locals·0 |
31 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; | ||
31 | ····.prologue | 32 | ····.prologue |
32 | ····.line·80 | 33 | ····.line·80 |
33 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator$1;->this$0:Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; | 34 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator$1;->this$0:Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; |
34 | ····invoke-direct·{p0},·Lcom/android/inputmethod/latin/utils/RunInLocale;-><init>()V | 35 | ····invoke-direct·{p0},·Lcom/android/inputmethod/latin/utils/RunInLocale;-><init>()V |
Offset 162, 31 lines modified | Offset 162, 33 lines modified | ||
162 | ····move-result·v3 | 162 | ····move-result·v3 |
163 | ····if-eqz·v3,·:cond_2 | 163 | ····if-eqz·v3,·:cond_2 |
164 | ····.line·97 | 164 | ····.line·97 |
165 | ····if-ne·v5,·v0,·:cond_0 | 165 | ····if-ne·v5,·v0,·:cond_0 |
166 |
····.line·9 |
166 | ····.line·99 |
167 | ····invoke-static·{v5},·Ljava/lang/Character;->charCount(I)I | 167 | ····invoke-static·{v5},·Ljava/lang/Character;->charCount(I)I |
168 | ····move-result·v3 | 168 | ····move-result·v3 |
169 | ····add-int·v1,·p2,·v3 | 169 | ····add-int·v1,·p2,·v3 |
170 | ····.line·100 | 170 | ····.line·100 |
171 | ····.local·v1,·"indexOfNextCodePoint":I | 171 | ····.local·v1,·"indexOfNextCodePoint":I |
172 | ····if-ge·v1,·v2,·:cond_2 | 172 | ····if-ge·v1,·v2,·:cond_2 |
173 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator;->mSpacingAndPunctuations:Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations; | 173 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator;->mSpacingAndPunctuations:Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations; |
174 | ····.line·102 | ||
174 | ····invoke-static·{p1,·v1},·Ljava/lang/Character;->codePointAt(Ljava/lang/CharSequence;I)I | 175 | ····invoke-static·{p1,·v1},·Ljava/lang/Character;->codePointAt(Ljava/lang/CharSequence;I)I |
175 | ····move-result·v4 | 176 | ····move-result·v4 |
177 | ····.line·101 | ||
176 | ····invoke-virtual·{v3,·v4},·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->isWordSeparator(I)Z | 178 | ····invoke-virtual·{v3,·v4},·Lorg/smc/inputmethod/indic/settings/SpacingAndPunctuations;->isWordSeparator(I)Z |
177 | ····move-result·v3 | 179 | ····move-result·v3 |
178 | ····if-eqz·v3,·:cond_2 | 180 | ····if-eqz·v3,·:cond_2 |
179 | ····.line·111 | 181 | ····.line·111 |
Offset 102, 14 lines modified | Offset 102, 15 lines modified | ||
102 | ····move-result·v6 | 102 | ····move-result·v6 |
103 | ····.line·171 | 103 | ····.line·171 |
104 | ····.local·v6,·"originalCookie":I | 104 | ····.local·v6,·"originalCookie":I |
105 | ····iget-object·v11,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;->mOriginalTextInfo:Landroid/view/textservice/TextInfo; | 105 | ····iget-object·v11,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;->mOriginalTextInfo:Landroid/view/textservice/TextInfo; |
106 | ····.line·172 | ||
106 | ····invoke-virtual·{v11},·Landroid/view/textservice/TextInfo;->getSequence()I | 107 | ····invoke-virtual·{v11},·Landroid/view/textservice/TextInfo;->getSequence()I |
107 | ····move-result·v7 | 108 | ····move-result·v7 |
108 | ····.line·174 | 109 | ····.line·174 |
109 | ····.local·v7,·"originalSequence":I | 110 | ····.local·v7,·"originalSequence":I |
110 | ····iget·v8,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;->mSize:I | 111 | ····iget·v8,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceTextInfoParams;->mSize:I |
Offset 241, 15 lines modified | Offset 242, 15 lines modified | ||
241 | ····.prologue | 242 | ····.prologue |
242 | ····const/4·v13,·-0x1 | 243 | ····const/4·v13,·-0x1 |
243 | ····.line·137 | 244 | ····.line·137 |
244 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter;->mWordIterator:Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; | 245 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter;->mWordIterator:Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; |
245 |
····.line·13 |
246 | ····.line·139 |
246 | ····.local·v8,·"wordIterator":Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; | 247 | ····.local·v8,·"wordIterator":Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$WordIterator; |
247 | ····invoke-static·{p1},·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->getCharSequenceOrString(Landroid/view/textservice/TextInfo;)Ljava/lang/CharSequence; | 248 | ····invoke-static·{p1},·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->getCharSequenceOrString(Landroid/view/textservice/TextInfo;)Ljava/lang/CharSequence; |
248 | ····move-result-object·v2 | 249 | ····move-result-object·v2 |
249 | ····.line·140 | 250 | ····.line·140 |
250 | ····.local·v2,·"originalText":Ljava/lang/CharSequence; | 251 | ····.local·v2,·"originalText":Ljava/lang/CharSequence; |
Offset 308, 22 lines modified | Offset 309, 24 lines modified | ||
308 | ····move-result-object·v4 | 309 | ····move-result-object·v4 |
309 | ····.line·149 | 310 | ····.line·149 |
310 | ····.local·v4,·"subSequence":Ljava/lang/CharSequence; | 311 | ····.local·v4,·"subSequence":Ljava/lang/CharSequence; |
311 | ····const/4·v10,·0x0 | 312 | ····const/4·v10,·0x0 |
313 | ····.line·150 | ||
312 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->length()I | 314 | ····invoke-interface·{v4},·Ljava/lang/CharSequence;->length()I |
313 | ····move-result·v11 | 315 | ····move-result·v11 |
314 | ····invoke-virtual·{v4},·Ljava/lang/Object;->hashCode()I | 316 | ····invoke-virtual·{v4},·Ljava/lang/Object;->hashCode()I |
315 | ····move-result·v12 | 317 | ····move-result·v12 |
318 | ····.line·149 | ||
316 | ····invoke-static·{v4,·v10,·v11,·v0,·v12},·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->newInstance(Ljava/lang/CharSequence;IIII)Landroid/view/textservice/TextInfo; | 319 | ····invoke-static·{v4,·v10,·v11,·v0,·v12},·Lorg/smc/inputmethod/compat/TextInfoCompatUtils;->newInstance(Ljava/lang/CharSequence;IIII)Landroid/view/textservice/TextInfo; |
317 | ····move-result-object·v5 | 320 | ····move-result-object·v5 |
318 | ····.line·151 | 321 | ····.line·151 |
319 | ····.local·v5,·"ti":Landroid/view/textservice/TextInfo; | 322 | ····.local·v5,·"ti":Landroid/view/textservice/TextInfo; |
320 | ····new-instance·v10,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceWordItem; | 323 | ····new-instance·v10,·Lorg/smc/inputmethod/indic/spellcheck/SentenceLevelAdapter$SentenceWordItem; |
Offset 30, 22 lines modified | Offset 30, 23 lines modified | ||
30 | ····invoke-virtual·{p0,·v1},·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsFragment;->addPreferencesFromResource(I)V | 30 | ····invoke-virtual·{p0,·v1},·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsFragment;->addPreferencesFromResource(I)V |
31 | ····.line·35 | 31 | ····.line·35 |
32 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; | 32 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsFragment;->getPreferenceScreen()Landroid/preference/PreferenceScreen; |
33 | ····move-result-object·v0 | 33 | ····move-result-object·v0 |
34 |
····.line·3 |
34 | ····.line·37 |
35 | ····.local·v0,·"preferenceScreen":Landroid/preference/PreferenceScreen; | 35 | ····.local·v0,·"preferenceScreen":Landroid/preference/PreferenceScreen; |
36 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsFragment;->getActivity()Landroid/app/Activity; | 36 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsFragment;->getActivity()Landroid/app/Activity; |
37 | ····move-result-object·v1 | 37 | ····move-result-object·v1 |
38 | ····const-class·v2,·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsActivity; | 38 | ····const-class·v2,·Lorg/smc/inputmethod/indic/spellcheck/SpellCheckerSettingsActivity; |
39 | ····.line·36 | ||
39 | ····invoke-static·{v1,·v2},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getActivityTitleResId(Landroid/content/Context;Ljava/lang/Class;)I | 40 | ····invoke-static·{v1,·v2},·Lcom/android/inputmethod/latin/utils/ApplicationUtils;->getActivityTitleResId(Landroid/content/Context;Ljava/lang/Class;)I |
40 | ····move-result·v1 | 41 | ····move-result·v1 |
41 | ····invoke-virtual·{v0,·v1},·Landroid/preference/PreferenceScreen;->setTitle(I)V | 42 | ····invoke-virtual·{v0,·v1},·Landroid/preference/PreferenceScreen;->setTitle(I)V |
42 | ····.line·38 | 43 | ····.line·38 |
Offset 286, 14 lines modified | Offset 286, 15 lines modified | ||
286 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam; | 286 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam; |
287 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$Builder;->mPaneView:Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView; | 287 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$Builder;->mPaneView:Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView; |
288 | ····const/4·v3,·0x0 | 288 | ····const/4·v3,·0x0 |
289 | ····.line·199 | ||
289 | ····invoke-virtual·{v2,·v3},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView;->newLabelPaint(Lcom/android/inputmethod/keyboard/Key;)Landroid/graphics/Paint; | 290 | ····invoke-virtual·{v2,·v3},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView;->newLabelPaint(Lcom/android/inputmethod/keyboard/Key;)Landroid/graphics/Paint; |
290 | ····move-result-object·v7 | 291 | ····move-result-object·v7 |
291 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$Builder;->mResources:Landroid/content/res/Resources; | 292 | ····iget-object·v8,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$Builder;->mResources:Landroid/content/res/Resources; |
292 | ····move-object·v2,·p1 | 293 | ····move-object·v2,·p1 |
Offset 302, 14 lines modified | Offset 303, 15 lines modified | ||
302 | ····move·v4,·p3 | 303 | ····move·v4,·p3 |
303 | ····move·v5,·p4 | 304 | ····move·v5,·p4 |
304 | ····move/from16·v6,·p5 | 305 | ····move/from16·v6,·p5 |
306 | ····.line·198 | ||
305 | ····invoke-virtual/range·{v1·..·v8},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->layout(Lorg/smc/inputmethod/indic/SuggestedWords;IIIILandroid/graphics/Paint;Landroid/content/res/Resources;)I | 307 | ····invoke-virtual/range·{v1·..·v8},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->layout(Lorg/smc/inputmethod/indic/SuggestedWords;IIIILandroid/graphics/Paint;Landroid/content/res/Resources;)I |
306 | ····move-result·v9 | 308 | ····move-result·v9 |
307 | ····.line·200 | 309 | ····.line·200 |
308 | ····.local·v9,·"count":I | 310 | ····.local·v9,·"count":I |
309 | ····iput·p2,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$Builder;->mFromIndex:I | 311 | ····iput·p2,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$Builder;->mFromIndex:I |
Offset 32, 14 lines modified | Offset 32, 15 lines modified | ||
32 | ····const/4·v5,·-0x4 | 32 | ····const/4·v5,·-0x4 |
33 | ····const/4·v8,·0x0 | 33 | ····const/4·v8,·0x0 |
34 | ····const/4·v9,·0x1 | 34 | ····const/4·v9,·0x1 |
35 | ····.line·245 | ||
35 | ····move-object/from16·v0,·p4 | 36 | ····move-object/from16·v0,·p4 |
36 | ····move/from16·v1,·p3 | 37 | ····move/from16·v1,·p3 |
37 | ····invoke-virtual·{v0,·v1},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->getX(I)I | 38 | ····invoke-virtual·{v0,·v1},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->getX(I)I |
38 | ····move-result·v10 | 39 | ····move-result·v10 |
Offset 76, 14 lines modified | Offset 77, 15 lines modified | ||
76 | ····move-object/from16·v3,·p1 | 77 | ····move-object/from16·v3,·p1 |
77 | ····move-object/from16·v6,·p1 | 78 | ····move-object/from16·v6,·p1 |
78 | ····move-object/from16·v7,·p2 | 79 | ····move-object/from16·v7,·p2 |
80 | ····.line·243 | ||
79 | ····invoke-direct/range·{v2·..·v15},·Lcom/android/inputmethod/keyboard/Key;-><init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;IIIIIIII)V | 81 | ····invoke-direct/range·{v2·..·v15},·Lcom/android/inputmethod/keyboard/Key;-><init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;IIIIIIII)V |
80 | ····.line·247 | 82 | ····.line·247 |
81 | ····move/from16·v0,·p3 | 83 | ····move/from16·v0,·p3 |
82 | ····move-object/from16·v1,·p0 | 84 | ····move-object/from16·v1,·p0 |
Offset 137, 14 lines modified | Offset 137, 15 lines modified | ||
137 | ····const-string·v5,·"Expected·key·is·MoreSuggestionKey,·but·found·" | 137 | ····const-string·v5,·"Expected·key·is·MoreSuggestionKey,·but·found·" |
138 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 138 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
139 | ····move-result-object·v4 | 139 | ····move-result-object·v4 |
140 | ····.line·88 | ||
140 | ····invoke-virtual·{p1},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 141 | ····invoke-virtual·{p1},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
141 | ····move-result-object·v5 | 142 | ····move-result-object·v5 |
142 | ····invoke-virtual·{v5},·Ljava/lang/Class;->getName()Ljava/lang/String; | 143 | ····invoke-virtual·{v5},·Ljava/lang/Class;->getName()Ljava/lang/String; |
143 | ····move-result-object·v5 | 144 | ····move-result-object·v5 |
Offset 153, 14 lines modified | Offset 154, 15 lines modified | ||
153 | ····move-result-object·v4 | 154 | ····move-result-object·v4 |
154 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 155 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
155 | ····move-result-object·v4 | 156 | ····move-result-object·v4 |
157 | ····.line·87 | ||
156 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | 158 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
157 | ····.line·109 | 159 | ····.line·109 |
158 | ····.end·local·p1····#·"key":Lcom/android/inputmethod/keyboard/Key; | 160 | ····.end·local·p1····#·"key":Lcom/android/inputmethod/keyboard/Key; |
159 | ····:goto_0 | 161 | ····:goto_0 |
160 | ····return-void | 162 | ····return-void |
Offset 186, 14 lines modified | Offset 188, 15 lines modified | ||
186 | ····const-string·v5,·"Expected·keyboard·is·MoreSuggestions,·but·found·" | 188 | ····const-string·v5,·"Expected·keyboard·is·MoreSuggestions,·but·found·" |
187 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 189 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
188 | ····move-result-object·v4 | 190 | ····move-result-object·v4 |
191 | ····.line·94 | ||
189 | ····invoke-virtual·{v1},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 192 | ····invoke-virtual·{v1},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
190 | ····move-result-object·v5 | 193 | ····move-result-object·v5 |
191 | ····invoke-virtual·{v5},·Ljava/lang/Class;->getName()Ljava/lang/String; | 194 | ····invoke-virtual·{v5},·Ljava/lang/Class;->getName()Ljava/lang/String; |
192 | ····move-result-object·v5 | 195 | ····move-result-object·v5 |
Offset 202, 14 lines modified | Offset 205, 15 lines modified | ||
202 | ····move-result-object·v4 | 205 | ····move-result-object·v4 |
203 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 206 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
204 | ····move-result-object·v4 | 207 | ····move-result-object·v4 |
208 | ····.line·93 | ||
205 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | 209 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
206 | ····goto·:goto_0 | 210 | ····goto·:goto_0 |
207 | ····.line·97 | 211 | ····.line·97 |
208 | ····:cond_1 | 212 | ····:cond_1 |
209 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions; | 213 | ····check-cast·v1,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions; |
Offset 279, 14 lines modified | Offset 283, 15 lines modified | ||
279 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 283 | ····invoke-virtual·{v4,·v5},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
280 | ····move-result-object·v4 | 284 | ····move-result-object·v4 |
281 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView;->mListener:Lcom/android/inputmethod/keyboard/KeyboardActionListener; | 285 | ····iget-object·v5,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView;->mListener:Lcom/android/inputmethod/keyboard/KeyboardActionListener; |
286 | ····.line·105 | ||
282 | ····invoke-virtual·{v5},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 287 | ····invoke-virtual·{v5},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
283 | ····move-result-object·v5 | 288 | ····move-result-object·v5 |
284 | ····invoke-virtual·{v5},·Ljava/lang/Class;->getName()Ljava/lang/String; | 289 | ····invoke-virtual·{v5},·Ljava/lang/Class;->getName()Ljava/lang/String; |
285 | ····move-result-object·v5 | 290 | ····move-result-object·v5 |
Offset 295, 14 lines modified | Offset 300, 15 lines modified | ||
295 | ····move-result-object·v4 | 300 | ····move-result-object·v4 |
296 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 301 | ····invoke-virtual·{v4},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
297 | ····move-result-object·v4 | 302 | ····move-result-object·v4 |
303 | ····.line·104 | ||
298 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I | 304 | ····invoke-static·{v3,·v4},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I |
299 | ····goto·:goto_0 | 305 | ····goto·:goto_0 |
300 | ····.line·108 | 306 | ····.line·108 |
301 | ····:cond_4 | 307 | ····:cond_4 |
302 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView;->mListener:Lcom/android/inputmethod/keyboard/KeyboardActionListener; | 308 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView;->mListener:Lcom/android/inputmethod/keyboard/KeyboardActionListener; |
Offset 354, 20 lines modified | Offset 354, 22 lines modified | ||
354 | ····.line·150 | 354 | ····.line·150 |
355 | ····invoke-virtual·{v0},·Landroid/content/res/TypedArray;->recycle()V | 355 | ····invoke-virtual·{v0},·Landroid/content/res/TypedArray;->recycle()V |
356 | ····.line·152 | 356 | ····.line·152 |
357 | ····const·v4,·0x7f080027 | 357 | ····const·v4,·0x7f080027 |
358 | ····.line·153 | ||
358 | ····invoke-virtual·{v2,·v4},·Landroid/content/res/Resources;->getDimension(I)F | 359 | ····invoke-virtual·{v2,·v4},·Landroid/content/res/Resources;->getDimension(I)F |
359 | ····move-result·v4 | 360 | ····move-result·v4 |
360 | ····iget·v5,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripLayoutHelper;->mColorAutoCorrect:I | 361 | ····iget·v5,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripLayoutHelper;->mColorAutoCorrect:I |
362 | ····.line·152 | ||
361 | ····invoke-static·{v2,·v4,·v5},·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripLayoutHelper;->getMoreSuggestionsHint(Landroid/content/res/Resources;FI)Landroid/graphics/drawable/Drawable; | 363 | ····invoke-static·{v2,·v4,·v5},·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripLayoutHelper;->getMoreSuggestionsHint(Landroid/content/res/Resources;FI)Landroid/graphics/drawable/Drawable; |
362 | ····move-result-object·v4 | 364 | ····move-result-object·v4 |
363 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripLayoutHelper;->mMoreSuggestionsHint:Landroid/graphics/drawable/Drawable; | 365 | ····iput-object·v4,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripLayoutHelper;->mMoreSuggestionsHint:Landroid/graphics/drawable/Drawable; |
364 | ····.line·155 | 366 | ····.line·155 |
Offset 411, 15 lines modified | Offset 413, 15 lines modified | ||
411 | ····.param·p0,·"stripView"····#·Landroid/view/ViewGroup; | 413 | ····.param·p0,·"stripView"····#·Landroid/view/ViewGroup; |
412 | ····.param·p1,·"dividerView"····#·Landroid/view/View; | 414 | ····.param·p1,·"dividerView"····#·Landroid/view/View; |
413 | ····.prologue | 415 | ····.prologue |
414 | ····.line·347 | 416 | ····.line·347 |
415 | ····invoke-virtual·{p0,·p1},·Landroid/view/ViewGroup;->addView(Landroid/view/View;)V | 417 | ····invoke-virtual·{p0,·p1},·Landroid/view/ViewGroup;->addView(Landroid/view/View;)V |
416 |
····.line·34 |
418 | ····.line·349 |
417 | ····invoke-virtual·{p1},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; | 419 | ····invoke-virtual·{p1},·Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams; |
418 | ····move-result-object·v0 | 420 | ····move-result-object·v0 |
419 | ····check-cast·v0,·Landroid/widget/LinearLayout$LayoutParams; | 421 | ····check-cast·v0,·Landroid/widget/LinearLayout$LayoutParams; |
420 | ····.line·350 | 422 | ····.line·350 |
Offset 1434, 18 lines modified | Offset 1436, 20 lines modified | ||
1434 | ····move-result·v3 | 1436 | ····move-result·v3 |
1435 | ····.line·471 | 1437 | ····.line·471 |
1436 | ····.local·v3,·"y":I | 1438 | ····.local·v3,·"y":I |
1437 | ····sub-int·v4,·p3,·v2 | 1439 | ····sub-int·v4,·p3,·v2 |
1440 | ····.line·472 | ||
1438 | ····invoke-virtual·{v1},·Landroid/widget/TextView;->getMeasuredHeight()I | 1441 | ····invoke-virtual·{v1},·Landroid/widget/TextView;->getMeasuredHeight()I |
1439 | ····move-result·v5 | 1442 | ····move-result·v5 |
1443 | ····.line·471 | ||
1440 | ····invoke-static·{v1,·v4,·v3,·v2,·v5},·Lcom/android/inputmethod/latin/utils/ViewLayoutUtils;->placeViewAt(Landroid/view/View;IIII)V | 1444 | ····invoke-static·{v1,·v4,·v3,·v2,·v5},·Lcom/android/inputmethod/latin/utils/ViewLayoutUtils;->placeViewAt(Landroid/view/View;IIII)V |
1441 | ····goto·:goto_0 | 1445 | ····goto·:goto_0 |
1442 | .end·method | 1446 | .end·method |
1443 | .method·private·layoutPunctuationsAndReturnStartIndexOfMoreSuggestions(Lorg/smc/inputmethod/indic/PunctuationSuggestions;Landroid/view/ViewGroup;)I | 1447 | .method·private·layoutPunctuationsAndReturnStartIndexOfMoreSuggestions(Lorg/smc/inputmethod/indic/PunctuationSuggestions;Landroid/view/ViewGroup;)I |
1444 | ····.locals·8 | 1448 | ····.locals·8 |
Offset 1664, 27 lines modified | Offset 1668, 29 lines modified | ||
1664 | ····.line·454 | 1668 | ····.line·454 |
1665 | ····invoke-static·{v2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1669 | ····invoke-static·{v2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
1666 | ····move-result·v4 | 1670 | ····move-result·v4 |
1667 | ····if-eqz·v4,·:cond_0 | 1671 | ····if-eqz·v4,·:cond_0 |
1672 | ····.line·455 | ||
1668 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; | 1673 | ····invoke-static·{},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->getInstance()Lorg/smc/inputmethod/accessibility/AccessibilityUtils; |
1669 | ····move-result-object·v4 | 1674 | ····move-result-object·v4 |
1670 | ····invoke-virtual·{v4},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z | 1675 | ····invoke-virtual·{v4},·Lorg/smc/inputmethod/accessibility/AccessibilityUtils;->isTouchExplorationEnabled()Z |
1671 | ····move-result·v4 | 1676 | ····move-result·v4 |
1672 | ····if-eqz·v4,·:cond_3 | 1677 | ····if-eqz·v4,·:cond_3 |
1673 | ····:cond_0 | 1678 | ····:cond_0 |
1674 | ····const/4·v4,·0x1 | 1679 | ····const/4·v4,·0x1 |
1680 | ····.line·454 | ||
1675 | ····:goto_2 | 1681 | ····:goto_2 |
1676 | ····invoke-virtual·{v3,·v4},·Landroid/widget/TextView;->setEnabled(Z)V | 1682 | ····invoke-virtual·{v3,·v4},·Landroid/widget/TextView;->setEnabled(Z)V |
1677 | ····.line·456 | 1683 | ····.line·456 |
1678 | ····return-object·v3 | 1684 | ····return-object·v3 |
1679 | ····.line·441 | 1685 | ····.line·441 |
Offset 1699, 15 lines modified | Offset 1705, 15 lines modified | ||
1699 | ····:cond_2 | 1705 | ····:cond_2 |
1700 | ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; | 1706 | ····invoke-interface·{v2},·Ljava/lang/CharSequence;->toString()Ljava/lang/String; |
1701 | ····move-result-object·v4 | 1707 | ····move-result-object·v4 |
1702 | ····goto·:goto_1 | 1708 | ····goto·:goto_1 |
1703 |
····.line·45 |
1709 | ····.line·455 |
1704 | ····.restart·local·v0····#·"scaleX":F | 1710 | ····.restart·local·v0····#·"scaleX":F |
Max diff block lines reached; 2368/5253 bytes (45.08%) of diff not shown. |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·289 | 24 | ····.line·289 |
24 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView$1;->this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | 25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView$1;->this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; |
25 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView$MoreSuggestionsListener;-><init>()V | 26 | ····invoke-direct·{p0},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView$MoreSuggestionsListener;-><init>()V |
Offset 502, 14 lines modified | Offset 502, 15 lines modified | ||
502 | ····.local·v1,·"columnWidth":I | 502 | ····.local·v1,·"columnWidth":I |
503 | ····const/4·v9,·0x3 | 503 | ····const/4·v9,·0x3 |
504 | ····if-gt·v3,·v9,·:cond_0 | 504 | ····if-gt·v3,·v9,·:cond_0 |
505 | ····add-int/lit8·v9,·v2,·0x1 | 505 | ····add-int/lit8·v9,·v2,·0x1 |
506 | ····.line·84 | ||
506 | ····invoke-direct·{p0,·v6,·v9,·v1},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->fitInWidth(III)Z | 507 | ····invoke-direct·{p0,·v6,·v9,·v1},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->fitInWidth(III)Z |
507 | ····move-result·v9 | 508 | ····move-result·v9 |
508 | ····if-nez·v9,·:cond_4 | 509 | ····if-nez·v9,·:cond_4 |
509 | ····.line·85 | 510 | ····.line·85 |
Offset 532, 19 lines modified | Offset 533, 20 lines modified | ||
532 | ····aput·v10,·v9,·v5 | 533 | ····aput·v10,·v9,·v5 |
533 | ····.line·97 | 534 | ····.line·97 |
534 | ····add-int/lit8·v9,·v5,·0x1 | 535 | ····add-int/lit8·v9,·v5,·0x1 |
535 | ····iput·v9,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->mNumRows:I | 536 | ····iput·v9,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->mNumRows:I |
536 |
····.line·9 |
537 | ····.line·99 |
537 | ····invoke-direct·{p0,·p2,·v2},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->calcurateMaxRowWidth(II)I | 538 | ····invoke-direct·{p0,·p2,·v2},·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->calcurateMaxRowWidth(II)I |
538 | ····move-result·v9 | 539 | ····move-result·v9 |
540 | ····.line·98 | ||
539 | ····invoke-static·{p4,·v9},·Ljava/lang/Math;->max(II)I | 541 | ····invoke-static·{p4,·v9},·Ljava/lang/Math;->max(II)I |
540 | ····move-result·v9 | 542 | ····move-result·v9 |
541 | ····iput·v9,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->mOccupiedWidth:I | 543 | ····iput·v9,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->mOccupiedWidth:I |
542 | ····iput·v9,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->mBaseWidth:I | 544 | ····iput·v9,·p0,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestions$MoreSuggestionsParam;->mBaseWidth:I |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·303 | 27 | ····.line·303 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView$2;->this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView$2;->this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | 18 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;)V | 20 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·384 | 24 | ····.line·384 |
24 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView$3;->this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; | 25 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView$3;->this$0:Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView; |
25 | ····invoke-direct·{p0},·Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V |
Offset 430, 14 lines modified | Offset 430, 15 lines modified | ||
430 | ····.line·180 | 430 | ····.line·180 |
431 | ····move-object/from16·v0,·p0 | 431 | ····move-object/from16·v0,·p0 |
432 | ····iget-object·v3,·v0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->mMoreSuggestionsContainer:Landroid/view/View; | 432 | ····iget-object·v3,·v0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->mMoreSuggestionsContainer:Landroid/view/View; |
433 | ····const·v4,·0x7f100079 | 433 | ····const·v4,·0x7f100079 |
434 | ····.line·181 | ||
434 | ····invoke-virtual·{v3,·v4},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 435 | ····invoke-virtual·{v3,·v4},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
435 | ····move-result-object·v3 | 436 | ····move-result-object·v3 |
436 | ····check-cast·v3,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView; | 437 | ····check-cast·v3,·Lorg/smc/inputmethod/indic/suggestions/MoreSuggestionsView; |
437 | ····move-object/from16·v0,·p0 | 438 | ····move-object/from16·v0,·p0 |
Offset 541, 52 lines modified | Offset 542, 51 lines modified | ||
541 | .end·method | 542 | .end·method |
542 | .method·private·removeAllDebugInfoViews()V | 543 | .method·private·removeAllDebugInfoViews()V |
543 | ····.locals·4 | 544 | ····.locals·4 |
544 | ····.prologue | 545 | ····.prologue |
545 | ····.line·281 | 546 | ····.line·281 |
546 |
····iget-object·v |
547 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->mDebugInfoViews:Ljava/util/ArrayList; |
547 |
····invoke-virtual·{v |
548 | ····invoke-virtual·{v2},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
548 |
····move-result-object·v |
549 | ····move-result-object·v2 |
549 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
550 | ····:cond_0 | 550 | ····:cond_0 |
551 | ····:goto_0 | 551 | ····:goto_0 |
552 |
····invoke-interface·{v |
552 | ····invoke-interface·{v2},·Ljava/util/Iterator;->hasNext()Z |
553 | ····move-result·v3 | 553 | ····move-result·v3 |
554 | ····if-eqz·v3,·:cond_1 | 554 | ····if-eqz·v3,·:cond_1 |
555 |
····invoke-interface·{v |
555 | ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
556 | ····move-result-object·v0 | 556 | ····move-result-object·v0 |
557 | ····check-cast·v0,·Landroid/view/View; | 557 | ····check-cast·v0,·Landroid/view/View; |
558 | ····.line·282 | 558 | ····.line·282 |
559 | ····.local·v0,·"debugInfoView":Landroid/view/View; | 559 | ····.local·v0,·"debugInfoView":Landroid/view/View; |
560 | ····invoke-virtual·{v0},·Landroid/view/View;->getParent()Landroid/view/ViewParent; | 560 | ····invoke-virtual·{v0},·Landroid/view/View;->getParent()Landroid/view/ViewParent; |
561 |
····move-result-object·v |
561 | ····move-result-object·v1 |
562 | ····.line·283 | 562 | ····.line·283 |
563 |
····.local·v |
563 | ····.local·v1,·"parent":Landroid/view/ViewParent; |
564 |
····instance-of·v3,·v |
564 | ····instance-of·v3,·v1,·Landroid/view/ViewGroup; |
565 | ····if-eqz·v3,·:cond_0 | 565 | ····if-eqz·v3,·:cond_0 |
566 | ····.line·284 | 566 | ····.line·284 |
567 |
····check-cast·v |
567 | ····check-cast·v1,·Landroid/view/ViewGroup; |
568 |
····.end·local·v |
568 | ····.end·local·v1····#·"parent":Landroid/view/ViewParent; |
569 |
····invoke-virtual·{v |
569 | ····invoke-virtual·{v1,·v0},·Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V |
570 | ····goto·:goto_0 | 570 | ····goto·:goto_0 |
571 | ····.line·287 | 571 | ····.line·287 |
572 | ····.end·local·v0····#·"debugInfoView":Landroid/view/View; | 572 | ····.end·local·v0····#·"debugInfoView":Landroid/view/View; |
573 | ····:cond_1 | 573 | ····:cond_1 |
574 | ····return-void | 574 | ····return-void |
Offset 723, 19 lines modified | Offset 723, 20 lines modified | ||
723 | ····:cond_1 | 723 | ····:cond_1 |
724 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->getWidth()I | 724 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->getWidth()I |
725 | ····move-result·v2 | 725 | ····move-result·v2 |
726 | ····if-lez·v2,·:cond_0 | 726 | ····if-lez·v2,·:cond_0 |
727 |
····.line·25 |
727 | ····.line·259 |
728 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->getContext()Landroid/content/Context; | 728 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->getContext()Landroid/content/Context; |
729 | ····move-result-object·v2 | 729 | ····move-result-object·v2 |
730 | ····.line·258 | ||
730 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/ImportantNoticeUtils;->getNextImportantNoticeTitle(Landroid/content/Context;)Ljava/lang/String; | 731 | ····invoke-static·{v2},·Lcom/android/inputmethod/latin/utils/ImportantNoticeUtils;->getNextImportantNoticeTitle(Landroid/content/Context;)Ljava/lang/String; |
731 | ····move-result-object·v0 | 732 | ····move-result-object·v0 |
732 | ····.line·260 | 733 | ····.line·260 |
733 | ····.local·v0,·"importantNoticeTitle":Ljava/lang/String; | 734 | ····.local·v0,·"importantNoticeTitle":Ljava/lang/String; |
734 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 735 | ····invoke-static·{v0},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
Offset 1003, 15 lines modified | Offset 1004, 15 lines modified | ||
1003 | ····sub-int/2addr·v6,·v3 | 1004 | ····sub-int/2addr·v6,·v3 |
1004 | ····iget·v7,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->mMoreSuggestionsModalTolerance:I | 1005 | ····iget·v7,·p0,·Lorg/smc/inputmethod/indic/suggestions/SuggestionStripView;->mMoreSuggestionsModalTolerance:I |
1005 | ····if-lt·v6,·v7,·:cond_3 | 1006 | ····if-lt·v6,·v7,·:cond_3 |
1006 |
····.line·41 |
1007 | ····.line·413 |
1007 | ····:cond_2 | 1008 | ····:cond_2 |
Max diff block lines reached; 1017/4657 bytes (21.84%) of diff not shown. |
Offset 384, 14 lines modified | Offset 384, 15 lines modified | ||
384 | ····if-nez·v6,·:cond_2 | 384 | ····if-nez·v6,·:cond_2 |
385 | ····.line·214 | 385 | ····.line·214 |
386 | ····if-eqz·v6,·:cond_0 | 386 | ····if-eqz·v6,·:cond_0 |
387 | ····invoke-interface·{v6},·Landroid/database/Cursor;->close()V | 387 | ····invoke-interface·{v6},·Landroid/database/Cursor;->close()V |
388 | ····.line·212 | ||
388 | ····:cond_0 | 389 | ····:cond_0 |
389 | ····:goto_1 | 390 | ····:goto_1 |
390 | ····return·v8 | 391 | ····return·v8 |
391 | ····.line·206 | 392 | ····.line·206 |
392 | ····.end·local·v6····#·"cursor":Landroid/database/Cursor; | 393 | ····.end·local·v6····#·"cursor":Landroid/database/Cursor; |
393 | ····:cond_1 | 394 | ····:cond_1 |
Offset 440, 20 lines modified | Offset 441, 20 lines modified | ||
440 | ····if-eqz·v6,·:cond_3 | 441 | ····if-eqz·v6,·:cond_3 |
441 | ····invoke-interface·{v6},·Landroid/database/Cursor;->close()V | 442 | ····invoke-interface·{v6},·Landroid/database/Cursor;->close()V |
442 | ····:cond_3 | 443 | ····:cond_3 |
443 | ····move·v8,·v0 | 444 | ····move·v8,·v0 |
445 | ····.line·212 | ||
444 | ····goto·:goto_1 | 446 | ····goto·:goto_1 |
445 | ····:cond_4 | 447 | ····:cond_4 |
446 | ····move·v0,·v8 | 448 | ····move·v0,·v8 |
447 | ····.line·212 | ||
448 | ····goto·:goto_2 | 449 | ····goto·:goto_2 |
449 | ····.line·214 | 450 | ····.line·214 |
450 | ····:catchall_0 | 451 | ····:catchall_0 |
451 | ····move-exception·v0 | 452 | ····move-exception·v0 |
452 | ····if-eqz·v6,·:cond_5 | 453 | ····if-eqz·v6,·:cond_5 |
Offset 637, 32 lines modified | Offset 638, 35 lines modified | ||
637 | ····move-result-object·v5 | 638 | ····move-result-object·v5 |
638 | ····const/16·v6,·0xfa | 639 | ····const/16·v6,·0xfa |
639 | ····iget-object·v7,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->mLocale:Ljava/lang/String; | 640 | ····iget-object·v7,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->mLocale:Ljava/lang/String; |
641 | ····.line·186 | ||
640 | ····invoke-static·{v7},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 642 | ····invoke-static·{v7},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
641 | ····move-result·v7 | 643 | ····move-result·v7 |
642 | ····if-eqz·v7,·:cond_8 | 644 | ····if-eqz·v7,·:cond_8 |
645 | ····.line·185 | ||
643 | ····:goto_2 | 646 | ····:goto_2 |
644 | ····invoke-static·{p1,·v5,·v6,·v0,·v4},·Lorg/smc/inputmethod/compat/UserDictionaryCompatUtils;->addWord(Landroid/content/Context;Ljava/lang/String;ILjava/lang/String;Ljava/util/Locale;)V | 647 | ····invoke-static·{p1,·v5,·v6,·v0,·v4},·Lorg/smc/inputmethod/compat/UserDictionaryCompatUtils;->addWord(Landroid/content/Context;Ljava/lang/String;ILjava/lang/String;Ljava/util/Locale;)V |
645 | ····.line·189 | 648 | ····.line·189 |
646 | ····const/4·v4,·0x0 | 649 | ····const/4·v4,·0x0 |
647 | ····goto·:goto_1 | 650 | ····goto·:goto_1 |
648 |
····.line·18 |
651 | ····.line·186 |
649 | ····:cond_8 | 652 | ····:cond_8 |
650 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->mLocale:Ljava/lang/String; | 653 | ····iget-object·v4,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->mLocale:Ljava/lang/String; |
654 | ····.line·187 | ||
651 | ····invoke-static·{v4},·Lcom/android/inputmethod/latin/utils/LocaleUtils;->constructLocaleFromString(Ljava/lang/String;)Ljava/util/Locale; | 655 | ····invoke-static·{v4},·Lcom/android/inputmethod/latin/utils/LocaleUtils;->constructLocaleFromString(Ljava/lang/String;)Ljava/util/Locale; |
652 | ····move-result-object·v4 | 656 | ····move-result-object·v4 |
653 | ····goto·:goto_2 | 657 | ····goto·:goto_2 |
654 | .end·method | 658 | .end·method |
Offset 710, 15 lines modified | Offset 714, 15 lines modified | ||
710 | ····.line·281 | 714 | ····.line·281 |
711 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->mLocale:Ljava/lang/String; | 715 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->mLocale:Ljava/lang/String; |
712 | ····return-object·v0 | 716 | ····return-object·v0 |
713 | .end·method | 717 | .end·method |
714 | .method·public·getLocalesList(Landroid/app/Activity;)Ljava/util/ArrayList; | 718 | .method·public·getLocalesList(Landroid/app/Activity;)Ljava/util/ArrayList; |
715 |
····.locals· |
719 | ····.locals·6 |
716 | ····.param·p1,·"activity"····#·Landroid/app/Activity; | 720 | ····.param·p1,·"activity"····#·Landroid/app/Activity; |
717 | ····.annotation·system·Ldalvik/annotation/Signature; | 721 | ····.annotation·system·Ldalvik/annotation/Signature; |
718 | ········value·=·{ | 722 | ········value·=·{ |
719 | ············"(", | 723 | ············"(", |
720 | ············"Landroid/app/Activity;", | 724 | ············"Landroid/app/Activity;", |
721 | ············")", | 725 | ············")", |
722 | ············"Ljava/util/ArrayList", | 726 | ············"Ljava/util/ArrayList", |
Offset 728, 119 lines modified | Offset 732, 118 lines modified | ||
728 | ········} | 732 | ········} |
729 | ····.end·annotation | 733 | ····.end·annotation |
730 | ····.prologue | 734 | ····.prologue |
731 | ····.line·254 | 735 | ····.line·254 |
732 | ····invoke-static·{p1},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryList;->getUserDictionaryLocalesSet(Landroid/app/Activity;)Ljava/util/TreeSet; | 736 | ····invoke-static·{p1},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryList;->getUserDictionaryLocalesSet(Landroid/app/Activity;)Ljava/util/TreeSet; |
733 |
····move-result-object·v |
737 | ····move-result-object·v1 |
Max diff block lines reached; 7051/9571 bytes (73.67%) of diff not shown. |
Offset 54, 24 lines modified | Offset 54, 26 lines modified | ||
54 | ····.line·135 | 54 | ····.line·135 |
55 | ····.local·v2,·"localesList":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents$LocaleRenderer;>;" | 55 | ····.local·v2,·"localesList":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents$LocaleRenderer;>;" |
56 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->mRootView:Landroid/view/View; | 56 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->mRootView:Landroid/view/View; |
57 | ····const·v4,·0x7f1000a3 | 57 | ····const·v4,·0x7f1000a3 |
58 | ····.line·136 | ||
58 | ····invoke-virtual·{v3,·v4},·Landroid/view/View;->findViewById(I)Landroid/view/View; | 59 | ····invoke-virtual·{v3,·v4},·Landroid/view/View;->findViewById(I)Landroid/view/View; |
59 | ····move-result-object·v1 | 60 | ····move-result-object·v1 |
60 | ····check-cast·v1,·Landroid/widget/Spinner; | 61 | ····check-cast·v1,·Landroid/widget/Spinner; |
61 | ····.line·137 | 62 | ····.line·137 |
62 | ····.local·v1,·"localeSpinner":Landroid/widget/Spinner; | 63 | ····.local·v1,·"localeSpinner":Landroid/widget/Spinner; |
63 | ····new-instance·v0,·Landroid/widget/ArrayAdapter; | 64 | ····new-instance·v0,·Landroid/widget/ArrayAdapter; |
65 | ····.line·138 | ||
64 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->getActivity()Landroid/app/Activity; | 66 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->getActivity()Landroid/app/Activity; |
65 | ····move-result-object·v3 | 67 | ····move-result-object·v3 |
66 | ····const·v4,·0x1090008 | 68 | ····const·v4,·0x1090008 |
67 | ····invoke-direct·{v0,·v3,·v4,·v2},·Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;ILjava/util/List;)V | 69 | ····invoke-direct·{v0,·v3,·v4,·v2},·Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;ILjava/util/List;)V |
Offset 144, 14 lines modified | Offset 146, 15 lines modified | ||
144 | ····invoke-interface·{p1,·v4,·v2,·v4,·v3},·Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem; | 146 | ····invoke-interface·{p1,·v4,·v2,·v4,·v3},·Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem; |
145 | ····move-result-object·v2 | 147 | ····move-result-object·v2 |
146 | ····const·v3,·0x7f020088 | 148 | ····const·v3,·0x7f020088 |
149 | ····.line·94 | ||
147 | ····invoke-interface·{v2,·v3},·Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem; | 150 | ····invoke-interface·{v2,·v3},·Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem; |
148 | ····move-result-object·v0 | 151 | ····move-result-object·v0 |
149 | ····.line·95 | 152 | ····.line·95 |
150 | ····.local·v0,·"actionItemAdd":Landroid/view/MenuItem; | 153 | ····.local·v0,·"actionItemAdd":Landroid/view/MenuItem; |
151 | ····invoke-interface·{v0,·v5},·Landroid/view/MenuItem;->setShowAsAction(I)V | 154 | ····invoke-interface·{v0,·v5},·Landroid/view/MenuItem;->setShowAsAction(I)V |
Offset 163, 14 lines modified | Offset 166, 15 lines modified | ||
163 | ····invoke-interface·{p1,·v4,·v2,·v4,·v3},·Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem; | 166 | ····invoke-interface·{p1,·v4,·v2,·v4,·v3},·Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem; |
164 | ····move-result-object·v2 | 167 | ····move-result-object·v2 |
165 | ····const·v3,·0x108003c | 168 | ····const·v3,·0x108003c |
169 | ····.line·98 | ||
166 | ····invoke-interface·{v2,·v3},·Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem; | 170 | ····invoke-interface·{v2,·v3},·Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem; |
167 | ····move-result-object·v1 | 171 | ····move-result-object·v1 |
168 | ····.line·99 | 172 | ····.line·99 |
169 | ····.local·v1,·"actionItemDelete":Landroid/view/MenuItem; | 173 | ····.local·v1,·"actionItemDelete":Landroid/view/MenuItem; |
170 | ····invoke-interface·{v1,·v5},·Landroid/view/MenuItem;->setShowAsAction(I)V | 174 | ····invoke-interface·{v1,·v5},·Landroid/view/MenuItem;->setShowAsAction(I)V |
Offset 226, 24 lines modified | Offset 230, 26 lines modified | ||
226 | ····move-result-object·v0 | 230 | ····move-result-object·v0 |
227 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getActionBar()Landroid/app/ActionBar; | 231 | ····invoke-virtual·{v0},·Landroid/app/Activity;->getActionBar()Landroid/app/ActionBar; |
228 | ····move-result-object·v0 | 232 | ····move-result-object·v0 |
233 | ····.line·87 | ||
229 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->getActivity()Landroid/app/Activity; | 234 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->getActivity()Landroid/app/Activity; |
230 | ····move-result-object·v1 | 235 | ····move-result-object·v1 |
231 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->mContents:Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents; | 236 | ····iget-object·v2,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordFragment;->mContents:Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents; |
232 | ····invoke-virtual·{v2},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->getCurrentUserDictionaryLocale()Ljava/lang/String; | 237 | ····invoke-virtual·{v2},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionaryAddWordContents;->getCurrentUserDictionaryLocale()Ljava/lang/String; |
233 | ····move-result-object·v2 | 238 | ····move-result-object·v2 |
239 | ····.line·86 | ||
234 | ····invoke-static·{v1,·v2},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettingsUtils;->getLocaleDisplayName(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; | 240 | ····invoke-static·{v1,·v2},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettingsUtils;->getLocaleDisplayName(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; |
235 | ····move-result-object·v1 | 241 | ····move-result-object·v1 |
236 | ····invoke-virtual·{v0,·v1},·Landroid/app/ActionBar;->setSubtitle(Ljava/lang/CharSequence;)V | 242 | ····invoke-virtual·{v0,·v1},·Landroid/app/ActionBar;->setSubtitle(Ljava/lang/CharSequence;)V |
237 | ····.line·88 | 243 | ····.line·88 |
Offset 15, 15 lines modified | Offset 15, 15 lines modified | ||
15 | ····.line·44 | 15 | ····.line·44 |
16 | ····invoke-direct·{p0},·Landroid/preference/PreferenceFragment;-><init>()V | 16 | ····invoke-direct·{p0},·Landroid/preference/PreferenceFragment;-><init>()V |
17 | ····return-void | 17 | ····return-void |
18 | .end·method | 18 | .end·method |
19 | .method·public·static·getUserDictionaryLocalesSet(Landroid/app/Activity;)Ljava/util/TreeSet; | 19 | .method·public·static·getUserDictionaryLocalesSet(Landroid/app/Activity;)Ljava/util/TreeSet; |
20 |
····.locals·1 |
20 | ····.locals·15 |
21 | ····.param·p0,·"activity"····#·Landroid/app/Activity; | 21 | ····.param·p0,·"activity"····#·Landroid/app/Activity; |
22 | ····.annotation·system·Ldalvik/annotation/Signature; | 22 | ····.annotation·system·Ldalvik/annotation/Signature; |
23 | ········value·=·{ | 23 | ········value·=·{ |
24 | ············"(", | 24 | ············"(", |
25 | ············"Landroid/app/Activity;", | 25 | ············"Landroid/app/Activity;", |
26 | ············")", | 26 | ············")", |
27 | ············"Ljava/util/TreeSet", | 27 | ············"Ljava/util/TreeSet", |
Offset 31, 342 lines modified | Offset 31, 339 lines modified | ||
31 | ············"Ljava/lang/String;", | 31 | ············"Ljava/lang/String;", |
32 | ············">;" | 32 | ············">;" |
33 | ········} | 33 | ········} |
34 | ····.end·annotation | 34 | ····.end·annotation |
35 | ····.prologue | 35 | ····.prologue |
36 | ····.line·56 | 36 | ····.line·56 |
37 |
····invoke-virtual |
37 | ····invoke-virtual·{p0},·Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver; |
38 |
····move-result-object·v |
38 | ····move-result-object·v0 |
39 |
····sget-object·v |
39 | ····sget-object·v1,·Landroid/provider/UserDictionary$Words;->CONTENT_URI:Landroid/net/Uri; |
40 |
····const/4·v |
40 | ····const/4·v2,·0x1 |
41 |
····new-array·v |
41 | ····new-array·v2,·v2,·[Ljava/lang/String; |
42 |
····const/4·v |
42 | ····const/4·v3,·0x0 |
43 | ····const-string·v4,·"locale" | ||
43 |
···· |
44 | ····aput-object·v4,·v2,·v3 |
44 |
···· |
45 | ····const/4·v3,·0x0 |
45 | ····const/4·v4,·0x0 | 46 | ····const/4·v4,·0x0 |
46 | ····const/4·v5,·0x0 | 47 | ····const/4·v5,·0x0 |
47 |
····const/ |
48 | ····invoke-virtual/range·{v0·..·v5},·Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor; |
48 |
···· |
49 | ····move-result-object·v7 |
49 | ····move-result-object·v8 | ||
50 | ····.line·59 | 50 | ····.line·59 |
51 |
····.local·v |
51 | ····.local·v7,·"cursor":Landroid/database/Cursor; |
52 |
····new-instance·v1 |
52 | ····new-instance·v12,·Ljava/util/TreeSet; |
53 |
····invoke-direct·{v1 |
53 | ····invoke-direct·{v12},·Ljava/util/TreeSet;-><init>()V |
54 | ····.line·60 | 54 | ····.line·60 |
55 |
····.local·v1 |
55 | ····.local·v12,·"localeSet":Ljava/util/TreeSet;,·"Ljava/util/TreeSet<Ljava/lang/String;>;" |
56 |
····if-nez·v |
56 | ····if-nez·v7,·:cond_1 |
57 | ····.line·62 | 57 | ····.line·62 |
58 |
····const/4·v1 |
58 | ····const/4·v12,·0x0 |
59 | ····.line·104 | 59 | ····.line·104 |
60 |
····.end·local·v1 |
60 | ····.end·local·v12····#·"localeSet":Ljava/util/TreeSet;,·"Ljava/util/TreeSet<Ljava/lang/String;>;" |
61 | ····:cond_0 | 61 | ····:cond_0 |
62 | ····:goto_0 | 62 | ····:goto_0 |
63 |
····return-object·v1 |
63 | ····return-object·v12 |
64 | ····.line·65 | 64 | ····.line·65 |
65 |
····.restart·local·v1 |
65 | ····.restart·local·v12····#·"localeSet":Ljava/util/TreeSet;,·"Ljava/util/TreeSet<Ljava/lang/String;>;" |
66 | ····:cond_1 | 66 | ····:cond_1 |
67 | ····:try_start_0 | 67 | ····:try_start_0 |
68 |
····invoke-interface·{v |
68 | ····invoke-interface·{v7},·Landroid/database/Cursor;->moveToFirst()Z |
69 |
····move-result·v |
69 | ····move-result·v0 |
70 |
····if-eqz·v |
70 | ····if-eqz·v0,·:cond_3 |
71 | ····.line·66 | 71 | ····.line·66 |
72 |
····const-string·v |
72 | ····const-string·v0,·"locale" |
73 |
····invoke-interface·{v |
73 | ····invoke-interface·{v7,·v0},·Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I |
74 |
····move-result·v |
74 | ····move-result·v6 |
75 | ····.line·68 | 75 | ····.line·68 |
76 |
····.local·v |
76 | ····.local·v6,·"columnIndex":I |
77 | ····:cond_2 | 77 | ····:cond_2 |
78 |
····invoke-interface·{v |
78 | ····invoke-interface·{v7,·v6},·Landroid/database/Cursor;->getString(I)Ljava/lang/String; |
79 |
····move-result-object·v1 |
79 | ····move-result-object·v11 |
80 | ····.line·69 | 80 | ····.line·69 |
81 |
····.local·v1 |
81 | ····.local·v11,·"locale":Ljava/lang/String; |
82 |
····if-eqz·v1 |
82 | ····if-eqz·v11,·:cond_7 |
83 |
····.end·local·v1 |
83 | ····.end·local·v11····#·"locale":Ljava/lang/String; |
Max diff block lines reached; 13330/17604 bytes (75.72%) of diff not shown. |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter; | 21 | .field·final·synthetic·this$0:Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter;)V | 23 | .method·constructor·<init>(Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·289 | 27 | ····.line·289 |
27 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter$1;->this$0:Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter; | 28 | ····iput-object·p1,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter$1;->this$0:Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings$MyAdapter; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 215, 15 lines modified | Offset 215, 14 lines modified | ||
215 | .method·public·constructor·<init>()V | 215 | .method·public·constructor·<init>()V |
216 | ····.locals·0 | 216 | ····.locals·0 |
217 | ····.prologue | 217 | ····.prologue |
218 | ····.line·49 | 218 | ····.line·49 |
219 | ····invoke-direct·{p0},·Landroid/app/ListFragment;-><init>()V | 219 | ····invoke-direct·{p0},·Landroid/app/ListFragment;-><init>()V |
220 | ····.line·285 | ||
221 | ····return-void | 220 | ····return-void |
222 | .end·method | 221 | .end·method |
223 | .method·private·createAdapter()Landroid/widget/ListAdapter; | 222 | .method·private·createAdapter()Landroid/widget/ListAdapter; |
224 | ····.locals·7 | 223 | ····.locals·7 |
225 | ····.prologue | 224 | ····.prologue |
Offset 446, 18 lines modified | Offset 445, 20 lines modified | ||
446 | ····.line·265 | 445 | ····.line·265 |
447 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; | 446 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; |
448 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; | 447 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; |
449 | ····const-string·v2,·"shortcut" | 448 | ····const-string·v2,·"shortcut" |
449 | ····.line·266 | ||
450 | ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I | 450 | ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I |
451 | ····move-result·v1 | 451 | ····move-result·v1 |
452 | ····.line·265 | ||
452 | ····invoke-interface·{v0,·v1},·Landroid/database/Cursor;->getString(I)Ljava/lang/String; | 453 | ····invoke-interface·{v0,·v1},·Landroid/database/Cursor;->getString(I)Ljava/lang/String; |
453 | ····move-result-object·v0 | 454 | ····move-result-object·v0 |
454 | ····goto·:goto_0 | 455 | ····goto·:goto_0 |
455 | .end·method | 456 | .end·method |
Offset 496, 18 lines modified | Offset 497, 20 lines modified | ||
496 | ····.line·254 | 497 | ····.line·254 |
497 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; | 498 | ····iget-object·v0,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; |
498 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; | 499 | ····iget-object·v1,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mCursor:Landroid/database/Cursor; |
499 | ····const-string·v2,·"word" | 500 | ····const-string·v2,·"word" |
501 | ····.line·255 | ||
500 | ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I | 502 | ····invoke-interface·{v1,·v2},·Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I |
501 | ····move-result·v1 | 503 | ····move-result·v1 |
504 | ····.line·254 | ||
502 | ····invoke-interface·{v0,·v1},·Landroid/database/Cursor;->getString(I)Ljava/lang/String; | 505 | ····invoke-interface·{v0,·v1},·Landroid/database/Cursor;->getString(I)Ljava/lang/String; |
503 | ····move-result-object·v0 | 506 | ····move-result-object·v0 |
504 | ····goto·:goto_0 | 507 | ····goto·:goto_0 |
505 | .end·method | 508 | .end·method |
Offset 550, 15 lines modified | Offset 553, 15 lines modified | ||
550 | ····.line·241 | 553 | ····.line·241 |
551 | ····const-string·v1,·"locale" | 554 | ····const-string·v1,·"locale" |
552 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mLocale:Ljava/lang/String; | 555 | ····iget-object·v3,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mLocale:Ljava/lang/String; |
553 | ····invoke-virtual·{v2,·v1,·v3},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V | 556 | ····invoke-virtual·{v2,·v1,·v3},·Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V |
554 |
····.line·24 |
557 | ····.line·243 |
555 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->getActivity()Landroid/app/Activity; | 558 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->getActivity()Landroid/app/Activity; |
556 | ····move-result-object·v0 | 559 | ····move-result-object·v0 |
557 | ····check-cast·v0,·Landroid/preference/PreferenceActivity; | 560 | ····check-cast·v0,·Landroid/preference/PreferenceActivity; |
558 | ····.line·244 | 561 | ····.line·244 |
Offset 694, 24 lines modified | Offset 697, 26 lines modified | ||
694 | ····move-result-object·v7 | 697 | ····move-result-object·v7 |
695 | ····invoke-virtual·{v7},·Landroid/app/Activity;->getActionBar()Landroid/app/ActionBar; | 698 | ····invoke-virtual·{v7},·Landroid/app/Activity;->getActionBar()Landroid/app/ActionBar; |
696 | ····move-result-object·v7 | 699 | ····move-result-object·v7 |
700 | ····.line·160 | ||
697 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->getActivity()Landroid/app/Activity; | 701 | ····invoke-virtual·{p0},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->getActivity()Landroid/app/Activity; |
698 | ····move-result-object·v8 | 702 | ····move-result-object·v8 |
699 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mLocale:Ljava/lang/String; | 703 | ····iget-object·v9,·p0,·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettings;->mLocale:Ljava/lang/String; |
700 | ····invoke-static·{v8,·v9},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettingsUtils;->getLocaleDisplayName(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; | 704 | ····invoke-static·{v8,·v9},·Lorg/smc/inputmethod/indic/userdictionary/UserDictionarySettingsUtils;->getLocaleDisplayName(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; |
701 | ····move-result-object·v8 | 705 | ····move-result-object·v8 |
706 | ····.line·159 | ||
702 | ····invoke-virtual·{v7,·v8},·Landroid/app/ActionBar;->setSubtitle(Ljava/lang/CharSequence;)V | 707 | ····invoke-virtual·{v7,·v8},·Landroid/app/ActionBar;->setSubtitle(Ljava/lang/CharSequence;)V |
703 | ····.line·161 | 708 | ····.line·161 |
704 | ····return-void | 709 | ····return-void |
705 | ····.line·126 | 710 | ····.line·126 |
Max diff block lines reached; 1351/4398 bytes (30.72%) of diff not shown. |