Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 |
Zip·file·size:·270 |
1 | Zip·file·size:·2701248·bytes,·number·of·entries:·592 |
2 | -rw----·····2.0·fat····59311·bl·defN·08-Jan-01·00:00·META-INF/MANIFEST.MF | 2 | -rw----·····2.0·fat····59311·bl·defN·08-Jan-01·00:00·META-INF/MANIFEST.MF |
3 | -rw----·····2.0·fat····59432·bl·defN·08-Jan-01·00:00·META-INF/83E306ED.SF | 3 | -rw----·····2.0·fat····59432·bl·defN·08-Jan-01·00:00·META-INF/83E306ED.SF |
4 | -rw----·····2.0·fat·····1326·bl·defN·08-Jan-01·00:00·META-INF/83E306ED.RSA | 4 | -rw----·····2.0·fat·····1326·bl·defN·08-Jan-01·00:00·META-INF/83E306ED.RSA |
5 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/buildserverid | 5 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/buildserverid |
6 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/fdroidserverid | 6 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/fdroidserverid |
7 | -rw----·····2.0·fat·····7596·bX·defN·08-Jan-01·00:00·AndroidManifest.xml | 7 | -rw----·····2.0·fat·····7596·bX·defN·08-Jan-01·00:00·AndroidManifest.xml |
8 | -rw----·····2.0·fat····80652·bl·defN·08-Jan-01·00:00·assets/fontawesome-webfont.ttf | 8 | -rw----·····2.0·fat····80652·bl·defN·08-Jan-01·00:00·assets/fontawesome-webfont.ttf |
Offset 586, 9 lines modified | Offset 586, 9 lines modified | ||
586 | -rw----·····2.0·fat·····3652·bl·defN·08-Jan-01·00:00·res/xml/preferences.xml | 586 | -rw----·····2.0·fat·····3652·bl·defN·08-Jan-01·00:00·res/xml/preferences.xml |
587 | -rw----·····2.0·fat······596·bl·defN·08-Jan-01·00:00·res/xml/widget_checkmark_info.xml | 587 | -rw----·····2.0·fat······596·bl·defN·08-Jan-01·00:00·res/xml/widget_checkmark_info.xml |
588 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_frequency_info.xml | 588 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_frequency_info.xml |
589 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_history_info.xml | 589 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_history_info.xml |
590 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_score_info.xml | 590 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_score_info.xml |
591 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_streak_info.xml | 591 | -rw----·····2.0·fat······688·bl·defN·08-Jan-01·00:00·res/xml/widget_streak_info.xml |
592 | -rw----·····1.0·fat···540736·b-·stor·08-Jan-01·00:00·resources.arsc | 592 | -rw----·····1.0·fat···540736·b-·stor·08-Jan-01·00:00·resources.arsc |
593 |
-rw----·····2.0·fat··3396 |
593 | -rw----·····2.0·fat··3396540·bl·defN·08-Jan-01·00:00·classes.dex |
594 |
592·files,·4859 |
594 | 592·files,·4859159·bytes·uncompressed,·2597258·bytes·compressed:··46.6% |
Offset 26, 10 lines modified | Offset 26, 9 lines modified | ||
26 | .method·public·constructor·<init>()V | 26 | .method·public·constructor·<init>()V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·9 | 29 | ····.line·9 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line·1152 | ||
32 | ····return-void | 31 | ····return-void |
33 | .end·method | 32 | .end·method |
Offset 26, 10 lines modified | Offset 26, 9 lines modified | ||
26 | .method·public·constructor·<init>()V | 26 | .method·public·constructor·<init>()V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·9 | 29 | ····.line·9 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line·1057 | ||
32 | ····return-void | 31 | ····return-void |
33 | .end·method | 32 | .end·method |
Offset 96, 17 lines modified | Offset 96, 17 lines modified | ||
96 | ····invoke-virtual·{v1,·p0,·v3},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; | 96 | ····invoke-virtual·{v1,·p0,·v3},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; |
97 | ····move-result-object·v1 | 97 | ····move-result-object·v1 |
98 | ····check-cast·v1,·Landroid/os/IBinder; | 98 | ····check-cast·v1,·Landroid/os/IBinder; |
99 | ····:try_end_1 | 99 | ····:try_end_1 |
100 |
····.catch·Ljava/lang/reflect/InvocationTargetException;·{:try_start_1·..·:try_end_1}·:catch_ |
100 | ····.catch·Ljava/lang/reflect/InvocationTargetException;·{:try_start_1·..·:try_end_1}·:catch_3 |
101 |
····.catch·Ljava/lang/IllegalAccessException;·{:try_start_1·..·:try_end_1}·:catch_ |
101 | ····.catch·Ljava/lang/IllegalAccessException;·{:try_start_1·..·:try_end_1}·:catch_1 |
102 |
····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_1·..·:try_end_1}·:catch_ |
102 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_1·..·:try_end_1}·:catch_2 |
103 | ····.line·58 | 103 | ····.line·58 |
104 | ····:goto_1 | 104 | ····:goto_1 |
105 | ····return-object·v1 | 105 | ····return-object·v1 |
106 | ····.line·43 | 106 | ····.line·43 |
107 | ····:catch_0 | 107 | ····:catch_0 |
Offset 233, 17 lines modified | Offset 233, 17 lines modified | ||
233 | ····const/4·v3,·0x1 | 233 | ····const/4·v3,·0x1 |
234 | ····aput-object·p2,·v2,·v3 | 234 | ····aput-object·p2,·v2,·v3 |
235 | ····invoke-virtual·{v1,·p0,·v2},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; | 235 | ····invoke-virtual·{v1,·p0,·v2},·Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; |
236 | ····:try_end_1 | 236 | ····:try_end_1 |
237 |
····.catch·Ljava/lang/reflect/InvocationTargetException;·{:try_start_1·..·:try_end_1}·:catch_ |
237 | ····.catch·Ljava/lang/reflect/InvocationTargetException;·{:try_start_1·..·:try_end_1}·:catch_3 |
238 |
····.catch·Ljava/lang/IllegalAccessException;·{:try_start_1·..·:try_end_1}·:catch_ |
238 | ····.catch·Ljava/lang/IllegalAccessException;·{:try_start_1·..·:try_end_1}·:catch_1 |
239 |
····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_1·..·:try_end_1}·:catch_ |
239 | ····.catch·Ljava/lang/IllegalArgumentException;·{:try_start_1·..·:try_end_1}·:catch_2 |
240 | ····.line·82 | 240 | ····.line·82 |
241 | ····:cond_1 | 241 | ····:cond_1 |
242 | ····:goto_1 | 242 | ····:goto_1 |
243 | ····return-void | 243 | ····return-void |
244 | ····.line·67 | 244 | ····.line·67 |
Offset 47, 16 lines modified | Offset 47, 16 lines modified | ||
47 | ····invoke-virtual·{v1,·v2,·v3},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 47 | ····invoke-virtual·{v1,·v2,·v3},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
48 | ····move-result-object·v2 | 48 | ····move-result-object·v2 |
49 | ····sput-object·v2,·Landroid/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21$Stub;->sAsInterfaceMethod:Ljava/lang/reflect/Method; | 49 | ····sput-object·v2,·Landroid/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21$Stub;->sAsInterfaceMethod:Ljava/lang/reflect/Method; |
50 | ····:try_end_0 | 50 | ····:try_end_0 |
51 |
····.catch·Ljava/lang/ClassNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_ |
51 | ····.catch·Ljava/lang/ClassNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
52 |
····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_0·..·:try_end_0}·:catch_ |
52 | ····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_0·..·:try_end_0}·:catch_1 |
53 | ····.line·100 | 53 | ····.line·100 |
54 | ····:goto_0 | 54 | ····:goto_0 |
55 | ····return-void | 55 | ····return-void |
56 | ····.line·97 | 56 | ····.line·97 |
57 | ····:catch_0 | 57 | ····:catch_0 |
Offset 128, 16 lines modified | Offset 128, 16 lines modified | ||
128 | ····invoke-virtual·{v2,·v3,·v4},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; | 128 | ····invoke-virtual·{v2,·v3,·v4},·Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; |
129 | ····move-result-object·v3 | 129 | ····move-result-object·v3 |
130 | ····iput-object·v3,·p0,·Landroid/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21;->mOnLoadChildrenMethod:Ljava/lang/reflect/Method; | 130 | ····iput-object·v3,·p0,·Landroid/support/v4/media/IMediaBrowserServiceCallbacksAdapterApi21;->mOnLoadChildrenMethod:Ljava/lang/reflect/Method; |
131 | ····:try_end_0 | 131 | ····:try_end_0 |
132 |
····.catch·Ljava/lang/ClassNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_ |
132 | ····.catch·Ljava/lang/ClassNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
133 |
····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_0·..·:try_end_0}·:catch_ |
133 | ····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_0·..·:try_end_0}·:catch_1 |
134 | ····.line·53 | 134 | ····.line·53 |
135 | ····.end·local·v1····#·"parceledListSliceClass":Ljava/lang/Class; | 135 | ····.end·local·v1····#·"parceledListSliceClass":Ljava/lang/Class; |
136 | ····.end·local·v2····#·"theClass":Ljava/lang/Class; | 136 | ····.end·local·v2····#·"theClass":Ljava/lang/Class; |
137 | ····:goto_0 | 137 | ····:goto_0 |
138 | ····return-void | 138 | ····return-void |
Offset 34, 16 lines modified | Offset 34, 16 lines modified | ||
34 | ····invoke-virtual·{v1,·v2},·Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; | 34 | ····invoke-virtual·{v1,·v2},·Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; |
35 | ····move-result-object·v2 | 35 | ····move-result-object·v2 |
36 | ····sput-object·v2,·Landroid/support/v4/media/ParceledListSliceAdapterApi21;->sConstructor:Ljava/lang/reflect/Constructor; | 36 | ····sput-object·v2,·Landroid/support/v4/media/ParceledListSliceAdapterApi21;->sConstructor:Ljava/lang/reflect/Constructor; |
37 | ····:try_end_0 | 37 | ····:try_end_0 |
38 |
····.catch·Ljava/lang/ClassNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_ |
38 | ····.catch·Ljava/lang/ClassNotFoundException;·{:try_start_0·..·:try_end_0}·:catch_0 |
39 |
····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_0·..·:try_end_0}·:catch_ |
39 | ····.catch·Ljava/lang/NoSuchMethodException;·{:try_start_0·..·:try_end_0}·:catch_1 |
40 | ····.line·37 | 40 | ····.line·37 |
41 | ····:goto_0 | 41 | ····:goto_0 |
42 | ····return-void | 42 | ····return-void |
43 | ····.line·34 | 43 | ····.line·34 |
44 | ····:catch_0 | 44 | ····:catch_0 |
Offset 26, 10 lines modified | Offset 26, 9 lines modified | ||
26 | .method·public·constructor·<init>()V | 26 | .method·public·constructor·<init>()V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·9 | 29 | ····.line·9 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line·953 | ||
32 | ····return-void | 31 | ····return-void |
33 | .end·method | 32 | .end·method |
Offset 26, 10 lines modified | Offset 26, 9 lines modified | ||
26 | .method·public·constructor·<init>()V | 26 | .method·public·constructor·<init>()V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·9 | 29 | ····.line·9 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line·1035 | ||
32 | ····return-void | 31 | ····return-void |
33 | .end·method | 32 | .end·method |
Offset 18, 10 lines modified | Offset 18, 9 lines modified | ||
18 | .method·public·constructor·<init>()V | 18 | .method·public·constructor·<init>()V |
19 | ····.locals·0 | 19 | ····.locals·0 |
20 | ····.prologue | 20 | ····.prologue |
21 | ····.line·9 | 21 | ····.line·9 |
22 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 22 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
23 | ····.line·24 | ||
24 | ····return-void | 23 | ····return-void |
25 | .end·method | 24 | .end·method |
Offset 185, 15 lines modified | Offset 185, 15 lines modified | ||
185 | ····move-result-object·v1 | 185 | ····move-result-object·v1 |
186 | ····instance-of·v1,·v1,·Lcom/android/colorpicker/ColorPickerSwatch$OnColorSelectedListener; | 186 | ····instance-of·v1,·v1,·Lcom/android/colorpicker/ColorPickerSwatch$OnColorSelectedListener; |
187 | ····if-eqz·v1,·:cond_1 | 187 | ····if-eqz·v1,·:cond_1 |
188 |
····.line·13 |
188 | ····.line·133 |
189 | ····invoke-virtual·{p0},·Lcom/android/colorpicker/ColorPickerDialog;->getTargetFragment()Landroid/support/v4/app/Fragment; | 189 | ····invoke-virtual·{p0},·Lcom/android/colorpicker/ColorPickerDialog;->getTargetFragment()Landroid/support/v4/app/Fragment; |
190 | ····move-result-object·v0 | 190 | ····move-result-object·v0 |
191 | ····check-cast·v0,·Lcom/android/colorpicker/ColorPickerSwatch$OnColorSelectedListener; | 191 | ····check-cast·v0,·Lcom/android/colorpicker/ColorPickerSwatch$OnColorSelectedListener; |
192 | ····.line·134 | 192 | ····.line·134 |
Offset 386, 22 lines modified | Offset 386, 25 lines modified | ||
386 | ····:cond_0 | 386 | ····:cond_0 |
387 | ····new-instance·v2,·Landroid/support/v7/app/AlertDialog$Builder; | 387 | ····new-instance·v2,·Landroid/support/v7/app/AlertDialog$Builder; |
388 | ····invoke-direct·{v2,·v0},·Landroid/support/v7/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V | 388 | ····invoke-direct·{v2,·v0},·Landroid/support/v7/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V |
389 | ····iget·v3,·p0,·Lcom/android/colorpicker/ColorPickerDialog;->mTitleResId:I | 389 | ····iget·v3,·p0,·Lcom/android/colorpicker/ColorPickerDialog;->mTitleResId:I |
390 | ····.line·118 | ||
390 | ····invoke-virtual·{v2,·v3},·Landroid/support/v7/app/AlertDialog$Builder;->setTitle(I)Landroid/support/v7/app/AlertDialog$Builder; | 391 | ····invoke-virtual·{v2,·v3},·Landroid/support/v7/app/AlertDialog$Builder;->setTitle(I)Landroid/support/v7/app/AlertDialog$Builder; |
391 | ····move-result-object·v2 | 392 | ····move-result-object·v2 |
393 | ····.line·119 | ||
392 | ····invoke-virtual·{v2,·v1},·Landroid/support/v7/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/support/v7/app/AlertDialog$Builder; | 394 | ····invoke-virtual·{v2,·v1},·Landroid/support/v7/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/support/v7/app/AlertDialog$Builder; |
393 | ····move-result-object·v2 | 395 | ····move-result-object·v2 |
396 | ····.line·120 | ||
394 | ····invoke-virtual·{v2},·Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; | 397 | ····invoke-virtual·{v2},·Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; |
395 | ····move-result-object·v2 | 398 | ····move-result-object·v2 |
396 | ····iput-object·v2,·p0,·Lcom/android/colorpicker/ColorPickerDialog;->mAlertDialog:Landroid/support/v7/app/AlertDialog; | 399 | ····iput-object·v2,·p0,·Lcom/android/colorpicker/ColorPickerDialog;->mAlertDialog:Landroid/support/v7/app/AlertDialog; |
397 | ····.line·122 | 400 | ····.line·122 |
Offset 292, 14 lines modified | Offset 292, 16 lines modified | ||
292 | #·virtual·methods | 292 | #·virtual·methods |
293 | .method·public·drawPalette([II)V | 293 | .method·public·drawPalette([II)V |
294 | ····.locals·11 | 294 | ····.locals·11 |
295 | ····.param·p1,·"colors"····#·[I | 295 | ····.param·p1,·"colors"····#·[I |
296 | ····.param·p2,·"selectedColor"····#·I | 296 | ····.param·p2,·"selectedColor"····#·I |
297 | ····.prologue | 297 | ····.prologue |
298 | ····const/4·v8,·0x0 | ||
298 | ····.line·87 | 299 | ····.line·87 |
299 | ····if-nez·p1,·:cond_1 | 300 | ····if-nez·p1,·:cond_1 |
300 | ····.line·123 | 301 | ····.line·123 |
301 | ····:cond_0 | 302 | ····:cond_0 |
302 | ····:goto_0 | 303 | ····:goto_0 |
303 | ····return-void | 304 | ····return-void |
Offset 319, 116 lines modified | Offset 321, 113 lines modified | ||
319 | ····.local·v3,·"rowElements":I | 321 | ····.local·v3,·"rowElements":I |
320 | ····const/4·v1,·0x0 | 322 | ····const/4·v1,·0x0 |
321 | ····.line·97 | 323 | ····.line·97 |
322 | ····.local·v1,·"rowNumber":I | 324 | ····.local·v1,·"rowNumber":I |
323 | ····invoke-direct·{p0},·Lcom/android/colorpicker/ColorPickerPalette;->createTableRow()Landroid/widget/TableRow; | 325 | ····invoke-direct·{p0},·Lcom/android/colorpicker/ColorPickerPalette;->createTableRow()Landroid/widget/TableRow; |
324 |
····move-result-object·v |
326 | ····move-result-object·v7 |
325 | ····.line·98 | 327 | ····.line·98 |
326 |
····.local·v |
328 | ····.local·v7,·"row":Landroid/widget/TableRow; |
327 |
···· |
329 | ····array-length·v10,·p1 |
328 |
···· |
330 | ····move·v9,·v8 |
329 | ····array-length·v9,·v6 | ||
330 | ····.local·v9,·"len$":I | ||
331 | ····const/4·v8,·0x0 | ||
332 | ····.local·v8,·"i$":I | ||
333 | ····:goto_1 | 331 | ····:goto_1 |
334 |
····if-ge·v |
332 | ····if-ge·v9,·v10,·:cond_4 |
335 |
····aget·v |
333 | ····aget·v6,·p1,·v9 |
336 | ····.line·99 | 334 | ····.line·99 |
337 |
····.local·v |
335 | ····.local·v6,·"color":I |
338 | ····add-int/lit8·v2,·v2,·0x1 | 336 | ····add-int/lit8·v2,·v2,·0x1 |
339 | ····.line·101 | 337 | ····.line·101 |
340 |
····invoke-direct·{p0,·v |
338 | ····invoke-direct·{p0,·v6,·p2},·Lcom/android/colorpicker/ColorPickerPalette;->createColorSwatch(II)Lcom/android/colorpicker/ColorPickerSwatch; |
341 | ····move-result-object·v5 | 339 | ····move-result-object·v5 |
342 | ····.line·102 | 340 | ····.line·102 |
343 | ····.local·v5,·"colorSwatch":Landroid/view/View; | 341 | ····.local·v5,·"colorSwatch":Landroid/view/View; |
344 |
····if-ne·v |
342 | ····if-ne·v6,·p2,·:cond_3 |
345 | ····const/4·v4,·0x1 | 343 | ····const/4·v4,·0x1 |
346 | ····:goto_2 | 344 | ····:goto_2 |
347 | ····move-object·v0,·p0 | 345 | ····move-object·v0,·p0 |
348 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/colorpicker/ColorPickerPalette;->setSwatchDescription(IIIZLandroid/view/View;)V | 346 | ····invoke-direct/range·{v0·..·v5},·Lcom/android/colorpicker/ColorPickerPalette;->setSwatchDescription(IIIZLandroid/view/View;)V |
349 | ····.line·104 | 347 | ····.line·104 |
350 |
····invoke-static·{v |
348 | ····invoke-static·{v7,·v5,·v1},·Lcom/android/colorpicker/ColorPickerPalette;->addSwatchToRow(Landroid/widget/TableRow;Landroid/view/View;I)V |
351 | ····.line·106 | 349 | ····.line·106 |
352 | ····add-int/lit8·v3,·v3,·0x1 | 350 | ····add-int/lit8·v3,·v3,·0x1 |
353 | ····.line·107 | 351 | ····.line·107 |
354 | ····iget·v0,·p0,·Lcom/android/colorpicker/ColorPickerPalette;->mNumColumns:I | 352 | ····iget·v0,·p0,·Lcom/android/colorpicker/ColorPickerPalette;->mNumColumns:I |
355 | ····if-ne·v3,·v0,·:cond_2 | 353 | ····if-ne·v3,·v0,·:cond_2 |
356 | ····.line·108 | 354 | ····.line·108 |
357 |
····invoke-virtual·{p0,·v |
355 | ····invoke-virtual·{p0,·v7},·Lcom/android/colorpicker/ColorPickerPalette;->addView(Landroid/view/View;)V |
358 | ····.line·109 | 356 | ····.line·109 |
359 | ····invoke-direct·{p0},·Lcom/android/colorpicker/ColorPickerPalette;->createTableRow()Landroid/widget/TableRow; | 357 | ····invoke-direct·{p0},·Lcom/android/colorpicker/ColorPickerPalette;->createTableRow()Landroid/widget/TableRow; |
360 |
····move-result-object·v |
358 | ····move-result-object·v7 |
361 | ····.line·110 | 359 | ····.line·110 |
362 | ····const/4·v3,·0x0 | 360 | ····const/4·v3,·0x0 |
363 | ····.line·111 | 361 | ····.line·111 |
364 | ····add-int/lit8·v1,·v1,·0x1 | 362 | ····add-int/lit8·v1,·v1,·0x1 |
365 | ····.line·98 | 363 | ····.line·98 |
366 | ····:cond_2 | 364 | ····:cond_2 |
367 |
····add-int/lit8·v |
365 | ····add-int/lit8·v0,·v9,·0x1 |
366 | ····move·v9,·v0 | ||
368 | ····goto·:goto_1 | 367 | ····goto·:goto_1 |
369 | ····.line·102 | ||
370 | ····:cond_3 | 368 | ····:cond_3 |
371 |
···· |
369 | ····move·v4,·v8 |
Max diff block lines reached; 1249/4214 bytes (29.64%) of diff not shown. |
Offset 148, 14 lines modified | Offset 148, 15 lines modified | ||
148 | ····.line·63 | 148 | ····.line·63 |
149 | ····const/4·v1,·0x1 | 149 | ····const/4·v1,·0x1 |
150 | ····new-array·v0,·v1,·[Landroid/graphics/drawable/Drawable; | 150 | ····new-array·v0,·v1,·[Landroid/graphics/drawable/Drawable; |
151 | ····const/4·v1,·0x0 | 151 | ····const/4·v1,·0x0 |
152 | ····.line·64 | ||
152 | ····invoke-virtual·{p0},·Lcom/android/colorpicker/ColorPickerSwatch;->getContext()Landroid/content/Context; | 153 | ····invoke-virtual·{p0},·Lcom/android/colorpicker/ColorPickerSwatch;->getContext()Landroid/content/Context; |
153 | ····move-result-object·v2 | 154 | ····move-result-object·v2 |
154 | ····invoke-virtual·{v2},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 155 | ····invoke-virtual·{v2},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
155 | ····move-result-object·v2 | 156 | ····move-result-object·v2 |
Offset 70, 86 lines modified | Offset 70, 81 lines modified | ||
70 | ····.line·70 | 70 | ····.line·70 |
71 | ····const/4·v0,·0x1 | 71 | ····const/4·v0,·0x1 |
72 | ····return·v0 | 72 | ····return·v0 |
73 | .end·method | 73 | .end·method |
74 | .method·protected·onStateChange([I)Z | 74 | .method·protected·onStateChange([I)Z |
75 |
····.locals· |
75 | ····.locals·5 |
76 | ····.param·p1,·"states"····#·[I | 76 | ····.param·p1,·"states"····#·[I |
77 | ····.prologue | 77 | ····.prologue |
78 | ····.line·41 | 78 | ····.line·41 |
79 |
····const/4·v |
79 | ····const/4·v0,·0x0 |
80 | ····.line·42 | 80 | ····.line·42 |
81 |
····.local·v |
81 | ····.local·v0,·"pressedOrFocused":Z |
82 |
···· |
82 | ····array-length·v3,·p1 |
83 |
···· |
83 | ····const/4·v2,·0x0 |
84 | ····array-length·v2,·v0 | ||
85 | ····.local·v2,·"len$":I | ||
86 | ····const/4·v1,·0x0 | ||
87 | ····.local·v1,·"i$":I | ||
88 | ····:goto_0 | 84 | ····:goto_0 |
89 |
····if-ge·v |
85 | ····if-ge·v2,·v3,·:cond_1 |
90 |
····aget·v |
86 | ····aget·v1,·p1,·v2 |
91 | ····.line·43 | 87 | ····.line·43 |
92 |
····.local·v |
88 | ····.local·v1,·"state":I |
93 |
····const·v |
89 | ····const·v4,·0x10100a7 |
94 |
····if-eq·v |
90 | ····if-eq·v1,·v4,·:cond_0 |
95 |
····const·v |
91 | ····const·v4,·0x101009c |
96 |
····if-ne·v |
92 | ····if-ne·v1,·v4,·:cond_2 |
97 | ····.line·44 | 93 | ····.line·44 |
98 | ····:cond_0 | 94 | ····:cond_0 |
99 |
····const/4·v |
95 | ····const/4·v0,·0x1 |
100 | ····.line·49 | 96 | ····.line·49 |
101 |
····.end·local·v |
97 | ····.end·local·v1····#·"state":I |
102 | ····:cond_1 | 98 | ····:cond_1 |
103 |
····if-eqz·v |
99 | ····if-eqz·v0,·:cond_3 |
104 | ····.line·50 | 100 | ····.line·50 |
105 |
····iget·v |
101 | ····iget·v2,·p0,·Lcom/android/colorpicker/ColorStateDrawable;->mColor:I |
106 |
····invoke-static·{v |
102 | ····invoke-static·{v2},·Lcom/android/colorpicker/ColorStateDrawable;->getPressedColor(I)I |
107 |
····move-result·v |
103 | ····move-result·v2 |
108 |
····sget-object·v |
104 | ····sget-object·v3,·Landroid/graphics/PorterDuff$Mode;->SRC_ATOP:Landroid/graphics/PorterDuff$Mode; |
109 |
····invoke-super·{p0,·v |
105 | ····invoke-super·{p0,·v2,·v3},·Landroid/graphics/drawable/LayerDrawable;->setColorFilter(ILandroid/graphics/PorterDuff$Mode;)V |
110 | ····.line·55 | 106 | ····.line·55 |
111 | ····:goto_1 | 107 | ····:goto_1 |
112 | ····invoke-super·{p0,·p1},·Landroid/graphics/drawable/LayerDrawable;->onStateChange([I)Z | 108 | ····invoke-super·{p0,·p1},·Landroid/graphics/drawable/LayerDrawable;->onStateChange([I)Z |
113 |
····move-result·v |
109 | ····move-result·v2 |
114 |
····return·v |
110 | ····return·v2 |
115 | ····.line·42 | 111 | ····.line·42 |
116 |
····.restart·local·v |
112 | ····.restart·local·v1····#·"state":I |
117 | ····:cond_2 | 113 | ····:cond_2 |
118 |
····add-int/lit8·v |
114 | ····add-int/lit8·v2,·v2,·0x1 |
119 | ····goto·:goto_0 | 115 | ····goto·:goto_0 |
120 | ····.line·52 | 116 | ····.line·52 |
121 |
····.end·local·v |
117 | ····.end·local·v1····#·"state":I |
122 | ····:cond_3 | 118 | ····:cond_3 |
123 |
····iget·v |
119 | ····iget·v2,·p0,·Lcom/android/colorpicker/ColorStateDrawable;->mColor:I |
124 |
····sget-object·v |
120 | ····sget-object·v3,·Landroid/graphics/PorterDuff$Mode;->SRC_ATOP:Landroid/graphics/PorterDuff$Mode; |
125 |
····invoke-super·{p0,·v |
121 | ····invoke-super·{p0,·v2,·v3},·Landroid/graphics/drawable/LayerDrawable;->setColorFilter(ILandroid/graphics/PorterDuff$Mode;)V |
126 | ····goto·:goto_1 | 122 | ····goto·:goto_1 |
127 | .end·method | 123 | .end·method |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/HapticFeedbackController; | 18 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/HapticFeedbackController; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lcom/android/datetimepicker/HapticFeedbackController;Landroid/os/Handler;)V | 20 | .method·constructor·<init>(Lcom/android/datetimepicker/HapticFeedbackController;Landroid/os/Handler;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/HapticFeedbackController; | ||
22 | ····.param·p2,·"x0"····#·Landroid/os/Handler; | 23 | ····.param·p2,·"x0"····#·Landroid/os/Handler; |
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·32 | 25 | ····.line·32 |
25 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/HapticFeedbackController$1;->this$0:Lcom/android/datetimepicker/HapticFeedbackController; | 26 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/HapticFeedbackController$1;->this$0:Lcom/android/datetimepicker/HapticFeedbackController; |
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 200, 14 lines modified | Offset 200, 15 lines modified | ||
200 | ····.local·v6,·"scaleY":Landroid/animation/PropertyValuesHolder; | 200 | ····.local·v6,·"scaleY":Landroid/animation/PropertyValuesHolder; |
201 | ····new-array·v7,·v11,·[Landroid/animation/PropertyValuesHolder; | 201 | ····new-array·v7,·v11,·[Landroid/animation/PropertyValuesHolder; |
202 | ····aput-object·v5,·v7,·v9 | 202 | ····aput-object·v5,·v7,·v9 |
203 | ····aput-object·v6,·v7,·v10 | 203 | ····aput-object·v6,·v7,·v10 |
204 | ····.line·135 | ||
204 | ····invoke-static·{p0,·v7},·Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator; | 205 | ····invoke-static·{p0,·v7},·Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator; |
205 | ····move-result-object·v4 | 206 | ····move-result-object·v4 |
206 | ····.line·136 | 207 | ····.line·136 |
207 | ····.local·v4,·"pulseAnimator":Landroid/animation/ObjectAnimator; | 208 | ····.local·v4,·"pulseAnimator":Landroid/animation/ObjectAnimator; |
208 | ····const-wide/16·v8,·0x220 | 209 | ····const-wide/16·v8,·0x220 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/date/DatePickerDialog; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/date/DatePickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/date/DatePickerDialog;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/date/DatePickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/date/DatePickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·248 | 27 | ····.line·248 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$1;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$1;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 77, 14 lines modified | Offset 78, 15 lines modified | ||
77 | ····invoke-virtual·{v2,·v3},·Ljava/util/Calendar;->get(I)I | 78 | ····invoke-virtual·{v2,·v3},·Ljava/util/Calendar;->get(I)I |
78 | ····move-result·v2 | 79 | ····move-result·v2 |
79 | ····iget-object·v3,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$1;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; | 80 | ····iget-object·v3,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$1;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; |
81 | ····.line·256 | ||
80 | ····#·getter·for:·Lcom/android/datetimepicker/date/DatePickerDialog;->mCalendar:Ljava/util/Calendar; | 82 | ····#·getter·for:·Lcom/android/datetimepicker/date/DatePickerDialog;->mCalendar:Ljava/util/Calendar; |
81 | ····invoke-static·{v3},·Lcom/android/datetimepicker/date/DatePickerDialog;->access$100(Lcom/android/datetimepicker/date/DatePickerDialog;)Ljava/util/Calendar; | 83 | ····invoke-static·{v3},·Lcom/android/datetimepicker/date/DatePickerDialog;->access$100(Lcom/android/datetimepicker/date/DatePickerDialog;)Ljava/util/Calendar; |
82 | ····move-result-object·v3 | 84 | ····move-result-object·v3 |
83 | ····const/4·v4,·0x2 | 85 | ····const/4·v4,·0x2 |
Offset 101, 14 lines modified | Offset 103, 15 lines modified | ||
101 | ····const/4·v5,·0x5 | 103 | ····const/4·v5,·0x5 |
102 | ····invoke-virtual·{v4,·v5},·Ljava/util/Calendar;->get(I)I | 104 | ····invoke-virtual·{v4,·v5},·Ljava/util/Calendar;->get(I)I |
103 | ····move-result·v4 | 105 | ····move-result·v4 |
106 | ····.line·255 | ||
104 | ····invoke-interface·{v0,·v1,·v2,·v3,·v4},·Lcom/android/datetimepicker/date/DatePickerDialog$OnDateSetListener;->onDateSet(Lcom/android/datetimepicker/date/DatePickerDialog;III)V | 107 | ····invoke-interface·{v0,·v1,·v2,·v3,·v4},·Lcom/android/datetimepicker/date/DatePickerDialog$OnDateSetListener;->onDateSet(Lcom/android/datetimepicker/date/DatePickerDialog;III)V |
105 | ····.line·258 | 108 | ····.line·258 |
106 | ····:cond_0 | 109 | ····:cond_0 |
107 | ····iget-object·v0,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$1;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; | 110 | ····iget-object·v0,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$1;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; |
108 | ····invoke-virtual·{v0},·Lcom/android/datetimepicker/date/DatePickerDialog;->dismiss()V | 111 | ····invoke-virtual·{v0},·Lcom/android/datetimepicker/date/DatePickerDialog;->dismiss()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/date/DatePickerDialog; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/date/DatePickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/date/DatePickerDialog;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/date/DatePickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/date/DatePickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·264 | 27 | ····.line·264 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$2;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog$2;->this$0:Lcom/android/datetimepicker/date/DatePickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 545, 56 lines modified | Offset 545, 64 lines modified | ||
545 | ····.line·353 | 545 | ····.line·353 |
546 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mDayOfWeekView:Landroid/widget/TextView; | 546 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mDayOfWeekView:Landroid/widget/TextView; |
547 | ····iget-object·v6,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mCalendar:Ljava/util/Calendar; | 547 | ····iget-object·v6,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mCalendar:Ljava/util/Calendar; |
548 | ····const/4·v7,·0x7 | 548 | ····const/4·v7,·0x7 |
549 | ····.line·354 | ||
549 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 550 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
550 | ····move-result-object·v8 | 551 | ····move-result-object·v8 |
552 | ····.line·353 | ||
551 | ····invoke-virtual·{v6,·v7,·v9,·v8},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; | 553 | ····invoke-virtual·{v6,·v7,·v9,·v8},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; |
552 | ····move-result-object·v6 | 554 | ····move-result-object·v6 |
555 | ····.line·354 | ||
553 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 556 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
554 | ····move-result-object·v7 | 557 | ····move-result-object·v7 |
555 | ····invoke-virtual·{v6,·v7},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; | 558 | ····invoke-virtual·{v6,·v7},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; |
556 | ····move-result-object·v6 | 559 | ····move-result-object·v6 |
560 | ····.line·353 | ||
557 | ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 561 | ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
558 | ····.line·357 | 562 | ····.line·357 |
559 | ····:cond_0 | 563 | ····:cond_0 |
560 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mSelectedMonthTextView:Landroid/widget/TextView; | 564 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mSelectedMonthTextView:Landroid/widget/TextView; |
561 | ····iget-object·v6,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mCalendar:Ljava/util/Calendar; | 565 | ····iget-object·v6,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mCalendar:Ljava/util/Calendar; |
562 | ····const/4·v7,·0x1 | 566 | ····const/4·v7,·0x1 |
567 | ····.line·358 | ||
563 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 568 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
564 | ····move-result-object·v8 | 569 | ····move-result-object·v8 |
570 | ····.line·357 | ||
565 | ····invoke-virtual·{v6,·v9,·v7,·v8},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; | 571 | ····invoke-virtual·{v6,·v9,·v7,·v8},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; |
566 | ····move-result-object·v6 | 572 | ····move-result-object·v6 |
573 | ····.line·358 | ||
567 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 574 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
568 | ····move-result-object·v7 | 575 | ····move-result-object·v7 |
569 | ····invoke-virtual·{v6,·v7},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; | 576 | ····invoke-virtual·{v6,·v7},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; |
570 | ····move-result-object·v6 | 577 | ····move-result-object·v6 |
578 | ····.line·357 | ||
571 | ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 579 | ····invoke-virtual·{v5,·v6},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
572 | ····.line·359 | 580 | ····.line·359 |
573 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mSelectedDayTextView:Landroid/widget/TextView; | 581 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/DatePickerDialog;->mSelectedDayTextView:Landroid/widget/TextView; |
574 | ····sget-object·v6,·Lcom/android/datetimepicker/date/DatePickerDialog;->DAY_FORMAT:Ljava/text/SimpleDateFormat; | 582 | ····sget-object·v6,·Lcom/android/datetimepicker/date/DatePickerDialog;->DAY_FORMAT:Ljava/text/SimpleDateFormat; |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$position:I | 22 | .field·final·synthetic·val$position:I |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/android/datetimepicker/date/DayPickerView;I)V | 24 | .method·constructor·<init>(Lcom/android/datetimepicker/date/DayPickerView;I)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/date/DayPickerView; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·239 | 28 | ····.line·239 |
28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DayPickerView$1;->this$0:Lcom/android/datetimepicker/date/DayPickerView; | 29 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DayPickerView$1;->this$0:Lcom/android/datetimepicker/date/DayPickerView; |
29 | ····iput·p2,·p0,·Lcom/android/datetimepicker/date/DayPickerView$1;->val$position:I | 30 | ····iput·p2,·p0,·Lcom/android/datetimepicker/date/DayPickerView$1;->val$position:I |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/date/DayPickerView; | 22 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/date/DayPickerView; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·protected·constructor·<init>(Lcom/android/datetimepicker/date/DayPickerView;)V | 24 | .method·protected·constructor·<init>(Lcom/android/datetimepicker/date/DayPickerView;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/date/DayPickerView; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·285 | 28 | ····.line·285 |
28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DayPickerView$ScrollStateRunnable;->this$0:Lcom/android/datetimepicker/date/DayPickerView; | 29 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/DayPickerView$ScrollStateRunnable;->this$0:Lcom/android/datetimepicker/date/DayPickerView; |
29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 169, 18 lines modified | Offset 169, 20 lines modified | ||
169 | ····invoke-virtual·{v1,·v2,·v3,·p1},·Ljava/util/Calendar;->set(III)V | 169 | ····invoke-virtual·{v1,·v2,·v3,·p1},·Ljava/util/Calendar;->set(III)V |
170 | ····.line·672 | 170 | ····.line·672 |
171 | ····const-string·v1,·"dd·MMMM·yyyy" | 171 | ····const-string·v1,·"dd·MMMM·yyyy" |
172 | ····iget-object·v2,·p0,·Lcom/android/datetimepicker/date/MonthView$MonthViewTouchHelper;->mTempCalendar:Ljava/util/Calendar; | 172 | ····iget-object·v2,·p0,·Lcom/android/datetimepicker/date/MonthView$MonthViewTouchHelper;->mTempCalendar:Ljava/util/Calendar; |
173 | ····.line·673 | ||
173 | ····invoke-virtual·{v2},·Ljava/util/Calendar;->getTimeInMillis()J | 174 | ····invoke-virtual·{v2},·Ljava/util/Calendar;->getTimeInMillis()J |
174 | ····move-result-wide·v2 | 175 | ····move-result-wide·v2 |
176 | ····.line·672 | ||
175 | ····invoke-static·{v1,·v2,·v3},·Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;J)Ljava/lang/CharSequence; | 177 | ····invoke-static·{v1,·v2,·v3},·Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;J)Ljava/lang/CharSequence; |
176 | ····move-result-object·v0 | 178 | ····move-result-object·v0 |
177 | ····.line·675 | 179 | ····.line·675 |
178 | ····.local·v0,·"date":Ljava/lang/CharSequence; | 180 | ····.local·v0,·"date":Ljava/lang/CharSequence; |
179 | ····iget-object·v1,·p0,·Lcom/android/datetimepicker/date/MonthView$MonthViewTouchHelper;->this$0:Lcom/android/datetimepicker/date/MonthView; | 181 | ····iget-object·v1,·p0,·Lcom/android/datetimepicker/date/MonthView$MonthViewTouchHelper;->this$0:Lcom/android/datetimepicker/date/MonthView; |
Offset 366, 14 lines modified | Offset 366, 15 lines modified | ||
366 | ····move-result·v1 | 366 | ····move-result·v1 |
367 | ····sput·v1,·Lcom/android/datetimepicker/date/MonthView;->MONTH_HEADER_SIZE:I | 367 | ····sput·v1,·Lcom/android/datetimepicker/date/MonthView;->MONTH_HEADER_SIZE:I |
368 | ····.line·209 | 368 | ····.line·209 |
369 | ····const·v1,·0x7f09005c | 369 | ····const·v1,·0x7f09005c |
370 | ····.line·210 | ||
370 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I | 371 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getDimensionPixelSize(I)I |
371 | ····move-result·v1 | 372 | ····move-result·v1 |
372 | ····sput·v1,·Lcom/android/datetimepicker/date/MonthView;->DAY_SELECTED_CIRCLE_SIZE:I | 373 | ····sput·v1,·Lcom/android/datetimepicker/date/MonthView;->DAY_SELECTED_CIRCLE_SIZE:I |
373 | ····.line·212 | 374 | ····.line·212 |
Offset 557, 36 lines modified | Offset 558, 40 lines modified | ||
557 | ····invoke-virtual·{v5,·v9,·v0},·Ljava/util/Calendar;->set(II)V | 558 | ····invoke-virtual·{v5,·v9,·v0},·Ljava/util/Calendar;->set(II)V |
558 | ····.line·431 | 559 | ····.line·431 |
559 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/MonthView;->mDayLabelCalendar:Ljava/util/Calendar; | 560 | ····iget-object·v5,·p0,·Lcom/android/datetimepicker/date/MonthView;->mDayLabelCalendar:Ljava/util/Calendar; |
560 | ····const/4·v6,·0x1 | 561 | ····const/4·v6,·0x1 |
562 | ····.line·432 | ||
561 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 563 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
562 | ····move-result-object·v7 | 564 | ····move-result-object·v7 |
565 | ····.line·431 | ||
563 | ····invoke-virtual·{v5,·v9,·v6,·v7},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; | 566 | ····invoke-virtual·{v5,·v9,·v6,·v7},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; |
564 | ····move-result-object·v5 | 567 | ····move-result-object·v5 |
568 | ····.line·432 | ||
565 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 569 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
566 | ····move-result-object·v6 | 570 | ····move-result-object·v6 |
567 | ····invoke-virtual·{v5,·v6},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; | 571 | ····invoke-virtual·{v5,·v6},·Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; |
568 | ····move-result-object·v5 | 572 | ····move-result-object·v5 |
569 | ····int-to-float·v6,·v3 | 573 | ····int-to-float·v6,·v3 |
570 | ····int-to-float·v7,·v4 | 574 | ····int-to-float·v7,·v4 |
571 | ····iget-object·v8,·p0,·Lcom/android/datetimepicker/date/MonthView;->mMonthDayLabelPaint:Landroid/graphics/Paint; | 575 | ····iget-object·v8,·p0,·Lcom/android/datetimepicker/date/MonthView;->mMonthDayLabelPaint:Landroid/graphics/Paint; |
576 | ····.line·431 | ||
572 | ····invoke-virtual·{p1,·v5,·v6,·v7,·v8},·Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V | 577 | ····invoke-virtual·{p1,·v5,·v6,·v7,·v8},·Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V |
573 | ····.line·427 | 578 | ····.line·427 |
574 | ····add-int/lit8·v2,·v2,·0x1 | 579 | ····add-int/lit8·v2,·v2,·0x1 |
575 | ····goto·:goto_0 | 580 | ····goto·:goto_0 |
Offset 703, 28 lines modified | Offset 708, 32 lines modified | ||
703 | ····.local·v2,·"millis":J | 708 | ····.local·v2,·"millis":J |
704 | ····invoke-virtual·{p0},·Lcom/android/datetimepicker/date/MonthView;->getContext()Landroid/content/Context; | 709 | ····invoke-virtual·{p0},·Lcom/android/datetimepicker/date/MonthView;->getContext()Landroid/content/Context; |
705 | ····move-result-object·v0 | 710 | ····move-result-object·v0 |
706 | ····iget-object·v1,·p0,·Lcom/android/datetimepicker/date/MonthView;->mFormatter:Ljava/util/Formatter; | 711 | ····iget-object·v1,·p0,·Lcom/android/datetimepicker/date/MonthView;->mFormatter:Ljava/util/Formatter; |
712 | ····.line·414 | ||
707 | ····invoke-static·{},·Landroid/text/format/Time;->getCurrentTimezone()Ljava/lang/String; | 713 | ····invoke-static·{},·Landroid/text/format/Time;->getCurrentTimezone()Ljava/lang/String; |
708 | ····move-result-object·v7 | 714 | ····move-result-object·v7 |
709 | ····move-wide·v4,·v2 | 715 | ····move-wide·v4,·v2 |
716 | ····.line·413 | ||
710 | ····invoke-static/range·{v0·..·v7},·Landroid/text/format/DateUtils;->formatDateRange(Landroid/content/Context;Ljava/util/Formatter;JJILjava/lang/String;)Ljava/util/Formatter; | 717 | ····invoke-static/range·{v0·..·v7},·Landroid/text/format/DateUtils;->formatDateRange(Landroid/content/Context;Ljava/util/Formatter;JJILjava/lang/String;)Ljava/util/Formatter; |
711 | ····move-result-object·v0 | 718 | ····move-result-object·v0 |
719 | ····.line·414 | ||
712 | ····invoke-virtual·{v0},·Ljava/util/Formatter;->toString()Ljava/lang/String; | 720 | ····invoke-virtual·{v0},·Ljava/util/Formatter;->toString()Ljava/lang/String; |
713 | ····move-result-object·v0 | 721 | ····move-result-object·v0 |
722 | ····.line·413 | ||
714 | ····return-object·v0 | 723 | ····return-object·v0 |
715 | .end·method | 724 | .end·method |
716 | .method·private·onDayClick(I)V | 725 | .method·private·onDayClick(I)V |
717 | ····.locals·4 | 726 | ····.locals·4 |
718 | ····.param·p1,·"day"····#·I | 727 | ····.param·p1,·"day"····#·I |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$position:I | 24 | .field·final·synthetic·val$position:I |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lcom/android/datetimepicker/date/YearPickerView;II)V | 26 | .method·constructor·<init>(Lcom/android/datetimepicker/date/YearPickerView;II)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/date/YearPickerView; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·130 | 30 | ····.line·130 |
30 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/YearPickerView$1;->this$0:Lcom/android/datetimepicker/date/YearPickerView; | 31 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/date/YearPickerView$1;->this$0:Lcom/android/datetimepicker/date/YearPickerView; |
31 | ····iput·p2,·p0,·Lcom/android/datetimepicker/date/YearPickerView$1;->val$position:I | 32 | ····iput·p2,·p0,·Lcom/android/datetimepicker/date/YearPickerView$1;->val$position:I |
Offset 62, 14 lines modified | Offset 62, 15 lines modified | ||
62 | ····.locals·4 | 62 | ····.locals·4 |
63 | ····.param·p1,·"position"····#·I | 63 | ····.param·p1,·"position"····#·I |
64 | ····.param·p2,·"convertView"····#·Landroid/view/View; | 64 | ····.param·p2,·"convertView"····#·Landroid/view/View; |
65 | ····.param·p3,·"parent"····#·Landroid/view/ViewGroup; | 65 | ····.param·p3,·"parent"····#·Landroid/view/ViewGroup; |
66 | ····.prologue | 66 | ····.prologue |
67 | ····.line·112 | 67 | ····.line·112 |
68 | ····.line·113 | ||
68 | ····invoke-super·{p0,·p1,·p2,·p3},·Landroid/widget/ArrayAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View; | 69 | ····invoke-super·{p0,·p1,·p2,·p3},·Landroid/widget/ArrayAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View; |
69 | ····move-result-object·v1 | 70 | ····move-result-object·v1 |
70 | ····check-cast·v1,·Lcom/android/datetimepicker/date/TextViewWithCircularIndicator; | 71 | ····check-cast·v1,·Lcom/android/datetimepicker/date/TextViewWithCircularIndicator; |
71 | ····.line·114 | 72 | ····.line·114 |
Offset 132, 14 lines modified | Offset 132, 15 lines modified | ||
132 | ····int-to-float·v5,·v2 | 132 | ····int-to-float·v5,·v2 |
133 | ····add-float/2addr·v4,·v5 | 133 | ····add-float/2addr·v4,·v5 |
134 | ····float-to-double·v4,·v4 | 134 | ····float-to-double·v4,·v4 |
135 | ····.line·136 | ||
135 | ····invoke-static·{v4,·v5},·Ljava/lang/Math;->sqrt(D)D | 136 | ····invoke-static·{v4,·v5},·Ljava/lang/Math;->sqrt(D)D |
136 | ····move-result-wide·v4 | 137 | ····move-result-wide·v4 |
137 | ····double-to-int·v0,·v4 | 138 | ····double-to-int·v0,·v4 |
138 | ····.line·137 | 139 | ····.line·137 |
Offset 171, 14 lines modified | Offset 172, 15 lines modified | ||
171 | ····int-to-float·v5,·v2 | 172 | ····int-to-float·v5,·v2 |
172 | ····add-float/2addr·v4,·v5 | 173 | ····add-float/2addr·v4,·v5 |
173 | ····float-to-double·v4,·v4 | 174 | ····float-to-double·v4,·v4 |
175 | ····.line·142 | ||
174 | ····invoke-static·{v4,·v5},·Ljava/lang/Math;->sqrt(D)D | 176 | ····invoke-static·{v4,·v5},·Ljava/lang/Math;->sqrt(D)D |
175 | ····move-result-wide·v4 | 177 | ····move-result-wide·v4 |
176 | ····double-to-int·v1,·v4 | 178 | ····double-to-int·v1,·v4 |
177 | ····.line·143 | 179 | ····.line·143 |
Offset 288, 27 lines modified | Offset 290, 29 lines modified | ||
288 | ····sget-object·v5,·Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align; | 290 | ····sget-object·v5,·Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align; |
289 | ····invoke-virtual·{v4,·v5},·Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V | 291 | ····invoke-virtual·{v4,·v5},·Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V |
290 | ····.line·88 | 292 | ····.line·88 |
291 | ····const·v4,·0x7f0700a8 | 293 | ····const·v4,·0x7f0700a8 |
294 | ····.line·89 | ||
292 | ····invoke-virtual·{v1,·v4},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 295 | ····invoke-virtual·{v1,·v4},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
293 | ····move-result-object·v4 | 296 | ····move-result-object·v4 |
294 | ····invoke-static·{v4},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 297 | ····invoke-static·{v4},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
295 | ····move-result·v4 | 298 | ····move-result·v4 |
296 | ····iput·v4,·p0,·Lcom/android/datetimepicker/time/AmPmCirclesView;->mCircleRadiusMultiplier:F | 299 | ····iput·v4,·p0,·Lcom/android/datetimepicker/time/AmPmCirclesView;->mCircleRadiusMultiplier:F |
297 | ····.line·90 | 300 | ····.line·90 |
298 | ····const·v4,·0x7f0700a3 | 301 | ····const·v4,·0x7f0700a3 |
302 | ····.line·91 | ||
299 | ····invoke-virtual·{v1,·v4},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 303 | ····invoke-virtual·{v1,·v4},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
300 | ····move-result-object·v4 | 304 | ····move-result-object·v4 |
301 | ····invoke-static·{v4},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 305 | ····invoke-static·{v4},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
302 | ····move-result·v4 | 306 | ····move-result·v4 |
Offset 391, 15 lines modified | Offset 395, 15 lines modified | ||
391 | ····.local·v3,·"layoutXCenter":I | 395 | ····.local·v3,·"layoutXCenter":I |
392 | ····invoke-virtual·{p0},·Lcom/android/datetimepicker/time/AmPmCirclesView;->getHeight()I | 396 | ····invoke-virtual·{p0},·Lcom/android/datetimepicker/time/AmPmCirclesView;->getHeight()I |
393 | ····move-result·v10 | 397 | ····move-result·v10 |
394 | ····div-int/lit8·v4,·v10,·0x2 | 398 | ····div-int/lit8·v4,·v10,·0x2 |
395 |
····.line·16 |
399 | ····.line·162 |
396 | ····.local·v4,·"layoutYCenter":I | 400 | ····.local·v4,·"layoutYCenter":I |
397 | ····invoke-static·{v3,·v4},·Ljava/lang/Math;->min(II)I | 401 | ····invoke-static·{v3,·v4},·Ljava/lang/Math;->min(II)I |
398 | ····move-result·v10 | 402 | ····move-result·v10 |
399 | ····int-to-float·v10,·v10 | 403 | ····int-to-float·v10,·v10 |
Offset 123, 18 lines modified | Offset 123, 20 lines modified | ||
123 | ····.line·66 | 123 | ····.line·66 |
124 | ····if-eqz·p2,·:cond_1 | 124 | ····if-eqz·p2,·:cond_1 |
125 | ····.line·67 | 125 | ····.line·67 |
126 | ····const·v1,·0x7f0700a9 | 126 | ····const·v1,·0x7f0700a9 |
127 | ····.line·68 | ||
127 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 128 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
128 | ····move-result-object·v1 | 129 | ····move-result-object·v1 |
130 | ····.line·67 | ||
129 | ····invoke-static·{v1},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 131 | ····invoke-static·{v1},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
130 | ····move-result·v1 | 132 | ····move-result·v1 |
131 | ····iput·v1,·p0,·Lcom/android/datetimepicker/time/CircleView;->mCircleRadiusMultiplier:F | 133 | ····iput·v1,·p0,·Lcom/android/datetimepicker/time/CircleView;->mCircleRadiusMultiplier:F |
132 | ····.line·76 | 134 | ····.line·76 |
Offset 145, 27 lines modified | Offset 147, 30 lines modified | ||
145 | ····goto·:goto_0 | 147 | ····goto·:goto_0 |
146 | ····.line·70 | 148 | ····.line·70 |
147 | ····:cond_1 | 149 | ····:cond_1 |
148 | ····const·v1,·0x7f0700a8 | 150 | ····const·v1,·0x7f0700a8 |
151 | ····.line·71 | ||
149 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 152 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
150 | ····move-result-object·v1 | 153 | ····move-result-object·v1 |
154 | ····.line·70 | ||
151 | ····invoke-static·{v1},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 155 | ····invoke-static·{v1},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
152 | ····move-result·v1 | 156 | ····move-result·v1 |
153 | ····iput·v1,·p0,·Lcom/android/datetimepicker/time/CircleView;->mCircleRadiusMultiplier:F | 157 | ····iput·v1,·p0,·Lcom/android/datetimepicker/time/CircleView;->mCircleRadiusMultiplier:F |
154 | ····.line·72 | 158 | ····.line·72 |
155 | ····const·v1,·0x7f0700a3 | 159 | ····const·v1,·0x7f0700a3 |
160 | ····.line·73 | ||
156 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 161 | ····invoke-virtual·{v0,·v1},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
157 | ····move-result-object·v1 | 162 | ····move-result-object·v1 |
158 | ····invoke-static·{v1},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 163 | ····invoke-static·{v1},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
159 | ····move-result·v1 | 164 | ····move-result·v1 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/RadialPickerLayout; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/RadialPickerLayout; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/RadialPickerLayout;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/RadialPickerLayout;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/time/RadialPickerLayout; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·595 | 27 | ····.line·595 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/RadialPickerLayout$1;->this$0:Lcom/android/datetimepicker/time/RadialPickerLayout; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/RadialPickerLayout$1;->this$0:Lcom/android/datetimepicker/time/RadialPickerLayout; |
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$isInnerCircle:[Ljava/lang/Boolean; | 22 | .field·final·synthetic·val$isInnerCircle:[Ljava/lang/Boolean; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/android/datetimepicker/time/RadialPickerLayout;[Ljava/lang/Boolean;)V | 24 | .method·constructor·<init>(Lcom/android/datetimepicker/time/RadialPickerLayout;[Ljava/lang/Boolean;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/time/RadialPickerLayout; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·612 | 28 | ····.line·612 |
28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/RadialPickerLayout$2;->this$0:Lcom/android/datetimepicker/time/RadialPickerLayout; | 29 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/RadialPickerLayout$2;->this$0:Lcom/android/datetimepicker/time/RadialPickerLayout; |
29 | ····iput-object·p2,·p0,·Lcom/android/datetimepicker/time/RadialPickerLayout$2;->val$isInnerCircle:[Ljava/lang/Boolean; | 30 | ····iput-object·p2,·p0,·Lcom/android/datetimepicker/time/RadialPickerLayout$2;->val$isInnerCircle:[Ljava/lang/Boolean; |
Offset 1366, 14 lines modified | Offset 1366, 15 lines modified | ||
1366 | ····new-array·v5,·v5,·[Ljava/lang/Object; | 1366 | ····new-array·v5,·v5,·[Ljava/lang/Object; |
1367 | ····const/4·v6,·0x0 | 1367 | ····const/4·v6,·0x0 |
1368 | ····aget·v7,·v19,·v20 | 1368 | ····aget·v7,·v19,·v20 |
1369 | ····.line·199 | ||
1369 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1370 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
1370 | ····move-result-object·v7 | 1371 | ····move-result-object·v7 |
1371 | ····aput-object·v7,·v5,·v6 | 1372 | ····aput-object·v7,·v5,·v6 |
1372 | ····invoke-static·{v2,·v5},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1373 | ····invoke-static·{v2,·v5},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
Offset 1452, 15 lines modified | Offset 1453, 15 lines modified | ||
1452 | ····.line·185 | 1453 | ····.line·185 |
1453 | ····:cond_3 | 1454 | ····:cond_3 |
1454 | ····const/4·v2,·0x1 | 1455 | ····const/4·v2,·0x1 |
1455 | ····goto/16·:goto_2 | 1456 | ····goto/16·:goto_2 |
1456 |
····.line·19 |
1457 | ····.line·199 |
1457 | ····.restart·local·v3····#·"res":Landroid/content/res/Resources; | 1458 | ····.restart·local·v3····#·"res":Landroid/content/res/Resources; |
1458 | ····.restart·local·v4····#·"hoursTexts":[Ljava/lang/String; | 1459 | ····.restart·local·v4····#·"hoursTexts":[Ljava/lang/String; |
1459 | ····.restart·local·v18····#·"hours":[I | 1460 | ····.restart·local·v18····#·"hours":[I |
1460 | ····.restart·local·v19····#·"hours_24":[I | 1461 | ····.restart·local·v19····#·"hours_24":[I |
1461 | ····.restart·local·v20····#·"i":I | 1462 | ····.restart·local·v20····#·"i":I |
1462 | ····.restart·local·v21····#·"innerHoursTexts":[Ljava/lang/String; | 1463 | ····.restart·local·v21····#·"innerHoursTexts":[Ljava/lang/String; |
1463 | ····.restart·local·v22····#·"minutes":[I | 1464 | ····.restart·local·v22····#·"minutes":[I |
Offset 1571, 26 lines modified | Offset 1572, 28 lines modified | ||
1571 | ····move-object/from16·v0,·p0 | 1572 | ····move-object/from16·v0,·p0 |
1572 | ····iget-boolean·v7,·v0,·Lcom/android/datetimepicker/time/RadialPickerLayout;->mHideAmPm:Z | 1573 | ····iget-boolean·v7,·v0,·Lcom/android/datetimepicker/time/RadialPickerLayout;->mHideAmPm:Z |
1573 | ····const/4·v9,·0x1 | 1574 | ····const/4·v9,·0x1 |
1575 | ····.line·214 | ||
1574 | ····move-object/from16·v0,·p0 | 1576 | ····move-object/from16·v0,·p0 |
1575 | ····move/from16·v1,·p3 | 1577 | ····move/from16·v1,·p3 |
1576 | ····invoke-direct·{v0,·v1},·Lcom/android/datetimepicker/time/RadialPickerLayout;->isHourInnerCircle(I)Z | 1578 | ····invoke-direct·{v0,·v1},·Lcom/android/datetimepicker/time/RadialPickerLayout;->isHourInnerCircle(I)Z |
1577 | ····move-result·v11 | 1579 | ····move-result·v11 |
1578 | ····move-object/from16·v6,·p1 | 1580 | ····move-object/from16·v6,·p1 |
1579 | ····move/from16·v8,·p5 | 1581 | ····move/from16·v8,·p5 |
1582 | ····.line·213 | ||
1580 | ····invoke-virtual/range·{v5·..·v11},·Lcom/android/datetimepicker/time/RadialSelectorView;->initialize(Landroid/content/Context;ZZZIZ)V | 1583 | ····invoke-virtual/range·{v5·..·v11},·Lcom/android/datetimepicker/time/RadialSelectorView;->initialize(Landroid/content/Context;ZZZIZ)V |
1581 | ····.line·215 | 1584 | ····.line·215 |
1582 | ····mul-int/lit8·v16,·p4,·0x6 | 1585 | ····mul-int/lit8·v16,·p4,·0x6 |
1583 | ····.line·216 | 1586 | ····.line·216 |
1584 | ····.local·v16,·"minuteDegrees":I | 1587 | ····.local·v16,·"minuteDegrees":I |
Offset 1740, 18 lines modified | Offset 1743, 20 lines modified | ||
1740 | ····.line·155 | 1743 | ····.line·155 |
1741 | ····.local·v3,·"minDimension":I | 1744 | ····.local·v3,·"minDimension":I |
1742 | ····invoke-static·{v3,·v4},·Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I | 1745 | ····invoke-static·{v3,·v4},·Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I |
1743 | ····move-result·v5 | 1746 | ····move-result·v5 |
1747 | ····.line·156 | ||
1744 | ····invoke-static·{v3,·v0},·Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I | 1748 | ····invoke-static·{v3,·v0},·Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I |
1745 | ····move-result·v6 | 1749 | ····move-result·v6 |
1750 | ····.line·155 | ||
1746 | ····invoke-super·{p0,·v5,·v6},·Landroid/widget/FrameLayout;->onMeasure(II)V | 1751 | ····invoke-super·{p0,·v5,·v6},·Landroid/widget/FrameLayout;->onMeasure(II)V |
1747 | ····.line·157 | 1752 | ····.line·157 |
1748 | ····return-void | 1753 | ····return-void |
1749 | .end·method | 1754 | .end·method |
1750 | .method·public·onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z | 1755 | .method·public·onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Landroid/view/View; | 2 | .super·Landroid/view/View; |
3 | .source·"RadialSelectorView.java" | 3 | .source·"RadialSelectorView.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lcom/android/datetimepicker/time/RadialSelectorView$1;, | ||
8 | ········Lcom/android/datetimepicker/time/RadialSelectorView$InvalidateUpdateListener; | 7 | ········Lcom/android/datetimepicker/time/RadialSelectorView$InvalidateUpdateListener; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | #·static·fields | 10 | #·static·fields |
12 | .field·private·static·final·FULL_ALPHA:I·=·0xff | 11 | .field·private·static·final·FULL_ALPHA:I·=·0xff |
Offset 852, 14 lines modified | Offset 851, 15 lines modified | ||
852 | ····invoke-static·{p0,·v8},·Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator; | 851 | ····invoke-static·{p0,·v8},·Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator; |
853 | ····move-result-object·v8 | 852 | ····move-result-object·v8 |
854 | ····int-to-long·v10,·v1 | 853 | ····int-to-long·v10,·v1 |
854 | ····.line·346 | ||
855 | ····invoke-virtual·{v8,·v10,·v11},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; | 855 | ····invoke-virtual·{v8,·v10,·v11},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; |
856 | ····move-result-object·v0 | 856 | ····move-result-object·v0 |
857 | ····.line·347 | 857 | ····.line·347 |
858 | ····.local·v0,·"disappearAnimator":Landroid/animation/ObjectAnimator; | 858 | ····.local·v0,·"disappearAnimator":Landroid/animation/ObjectAnimator; |
859 | ····iget-object·v8,·p0,·Lcom/android/datetimepicker/time/RadialSelectorView;->mInvalidateUpdateListener:Lcom/android/datetimepicker/time/RadialSelectorView$InvalidateUpdateListener; | 859 | ····iget-object·v8,·p0,·Lcom/android/datetimepicker/time/RadialSelectorView;->mInvalidateUpdateListener:Lcom/android/datetimepicker/time/RadialSelectorView$InvalidateUpdateListener; |
Offset 1127, 14 lines modified | Offset 1127, 15 lines modified | ||
1127 | ····move-result-object·v18 | 1127 | ····move-result-object·v18 |
1128 | ····int-to-long·v0,·v15 | 1128 | ····int-to-long·v0,·v15 |
1129 | ····move-wide/from16·v20,·v0 | 1129 | ····move-wide/from16·v20,·v0 |
1130 | ····.line·385 | ||
1130 | ····move-object/from16·v0,·v18 | 1131 | ····move-object/from16·v0,·v18 |
1131 | ····move-wide/from16·v1,·v20 | 1132 | ····move-wide/from16·v1,·v20 |
1132 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; | 1133 | ····invoke-virtual·{v0,·v1,·v2},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; |
1133 | ····move-result-object·v14 | 1134 | ····move-result-object·v14 |
Offset 1231, 18 lines modified | Offset 1232, 20 lines modified | ||
1231 | ····.line·111 | 1232 | ····.line·111 |
1232 | ····if-eqz·p2,·:cond_2 | 1233 | ····if-eqz·p2,·:cond_2 |
1233 | ····.line·112 | 1234 | ····.line·112 |
1234 | ····const·v2,·0x7f0700a9 | 1235 | ····const·v2,·0x7f0700a9 |
1236 | ····.line·113 | ||
1235 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 1237 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
1236 | ····move-result-object·v2 | 1238 | ····move-result-object·v2 |
1239 | ····.line·112 | ||
1237 | ····invoke-static·{v2},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 1240 | ····invoke-static·{v2},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
1238 | ····move-result·v2 | 1241 | ····move-result·v2 |
1239 | ····iput·v2,·p0,·Lcom/android/datetimepicker/time/RadialSelectorView;->mCircleRadiusMultiplier:F | 1242 | ····iput·v2,·p0,·Lcom/android/datetimepicker/time/RadialSelectorView;->mCircleRadiusMultiplier:F |
1240 | ····.line·122 | 1243 | ····.line·122 |
Offset 1251, 41 lines modified | Offset 1254, 44 lines modified | ||
1251 | ····.line·123 | 1254 | ····.line·123 |
1252 | ····if-eqz·p3,·:cond_3 | 1255 | ····if-eqz·p3,·:cond_3 |
1253 | ····.line·124 | 1256 | ····.line·124 |
1254 | ····const·v2,·0x7f0700c7 | 1257 | ····const·v2,·0x7f0700c7 |
1258 | ····.line·125 | ||
1255 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 1259 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
1256 | ····move-result-object·v2 | 1260 | ····move-result-object·v2 |
1257 | ····invoke-static·{v2},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 1261 | ····invoke-static·{v2},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
1258 | ····move-result·v2 | 1262 | ····move-result·v2 |
1259 | ····iput·v2,·p0,·Lcom/android/datetimepicker/time/RadialSelectorView;->mInnerNumbersRadiusMultiplier:F | 1263 | ····iput·v2,·p0,·Lcom/android/datetimepicker/time/RadialSelectorView;->mInnerNumbersRadiusMultiplier:F |
1260 | ····.line·126 | 1264 | ····.line·126 |
1261 | ····const·v2,·0x7f0700c9 | 1265 | ····const·v2,·0x7f0700c9 |
1266 | ····.line·127 | ||
1262 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 1267 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
1263 | ····move-result-object·v2 | 1268 | ····move-result-object·v2 |
1264 | ····invoke-static·{v2},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 1269 | ····invoke-static·{v2},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
1265 | ····move-result·v2 | 1270 | ····move-result·v2 |
Max diff block lines reached; 1374/4158 bytes (33.04%) of diff not shown. |
Offset 2, 15 lines modified | Offset 2, 14 lines modified | ||
2 | .super·Landroid/view/View; | 2 | .super·Landroid/view/View; |
3 | .source·"RadialTextsView.java" | 3 | .source·"RadialTextsView.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lcom/android/datetimepicker/time/RadialTextsView$1;, | ||
8 | ········Lcom/android/datetimepicker/time/RadialTextsView$InvalidateUpdateListener; | 7 | ········Lcom/android/datetimepicker/time/RadialTextsView$InvalidateUpdateListener; |
9 | ····} | 8 | ····} |
10 | .end·annotation | 9 | .end·annotation |
11 | #·static·fields | 10 | #·static·fields |
12 | .field·private·static·final·TAG:Ljava/lang/String;·=·"RadialTextsView" | 11 | .field·private·static·final·TAG:Ljava/lang/String;·=·"RadialTextsView" |
Offset 598, 14 lines modified | Offset 597, 15 lines modified | ||
598 | ····move-result-object·v17 | 597 | ····move-result-object·v17 |
599 | ····int-to-long·v0,·v4 | 598 | ····int-to-long·v0,·v4 |
600 | ····move-wide/from16·v18,·v0 | 599 | ····move-wide/from16·v18,·v0 |
600 | ····.line·306 | ||
601 | ····invoke-virtual/range·{v17·..·v19},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; | 601 | ····invoke-virtual/range·{v17·..·v19},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; |
602 | ····move-result-object·v17 | 602 | ····move-result-object·v17 |
603 | ····move-object/from16·v0,·v17 | 603 | ····move-object/from16·v0,·v17 |
604 | ····move-object/from16·v1,·p0 | 604 | ····move-object/from16·v1,·p0 |
Offset 837, 14 lines modified | Offset 837, 15 lines modified | ||
837 | ····move-result-object·v17 | 837 | ····move-result-object·v17 |
838 | ····int-to-long·v0,·v14 | 838 | ····int-to-long·v0,·v14 |
839 | ····move-wide/from16·v18,·v0 | 839 | ····move-wide/from16·v18,·v0 |
840 | ····.line·331 | ||
840 | ····invoke-virtual/range·{v17·..·v19},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; | 841 | ····invoke-virtual/range·{v17·..·v19},·Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator; |
841 | ····move-result-object·v17 | 842 | ····move-result-object·v17 |
842 | ····move-object/from16·v0,·v17 | 843 | ····move-object/from16·v0,·v17 |
843 | ····move-object/from16·v1,·p0 | 844 | ····move-object/from16·v1,·p0 |
Offset 1068, 18 lines modified | Offset 1069, 20 lines modified | ||
1068 | ····.line·105 | 1069 | ····.line·105 |
1069 | ····if-eqz·p4,·:cond_3 | 1070 | ····if-eqz·p4,·:cond_3 |
1070 | ····.line·106 | 1071 | ····.line·106 |
1071 | ····const·v3,·0x7f0700a9 | 1072 | ····const·v3,·0x7f0700a9 |
1073 | ····.line·107 | ||
1072 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 1074 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
1073 | ····move-result-object·v3 | 1075 | ····move-result-object·v3 |
1076 | ····.line·106 | ||
1074 | ····invoke-static·{v3},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 1077 | ····invoke-static·{v3},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
1075 | ····move-result·v3 | 1078 | ····move-result·v3 |
1076 | ····iput·v3,·p0,·Lcom/android/datetimepicker/time/RadialTextsView;->mCircleRadiusMultiplier:F | 1079 | ····iput·v3,·p0,·Lcom/android/datetimepicker/time/RadialTextsView;->mCircleRadiusMultiplier:F |
1077 | ····.line·116 | 1080 | ····.line·116 |
Offset 1097, 57 lines modified | Offset 1100, 65 lines modified | ||
1097 | ····iget-boolean·v3,·p0,·Lcom/android/datetimepicker/time/RadialTextsView;->mHasInnerCircle:Z | 1100 | ····iget-boolean·v3,·p0,·Lcom/android/datetimepicker/time/RadialTextsView;->mHasInnerCircle:Z |
1098 | ····if-eqz·v3,·:cond_4 | 1101 | ····if-eqz·v3,·:cond_4 |
1099 | ····.line·119 | 1102 | ····.line·119 |
1100 | ····const·v3,·0x7f0700c9 | 1103 | ····const·v3,·0x7f0700c9 |
1104 | ····.line·120 | ||
1101 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 1105 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
1102 | ····move-result-object·v3 | 1106 | ····move-result-object·v3 |
1107 | ····.line·119 | ||
1103 | ····invoke-static·{v3},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 1108 | ····invoke-static·{v3},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
1104 | ····move-result·v3 | 1109 | ····move-result·v3 |
1105 | ····iput·v3,·p0,·Lcom/android/datetimepicker/time/RadialTextsView;->mNumbersRadiusMultiplier:F | 1110 | ····iput·v3,·p0,·Lcom/android/datetimepicker/time/RadialTextsView;->mNumbersRadiusMultiplier:F |
1106 | ····.line·121 | 1111 | ····.line·121 |
1107 | ····const·v3,·0x7f0700d6 | 1112 | ····const·v3,·0x7f0700d6 |
1113 | ····.line·122 | ||
1108 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 1114 | ····invoke-virtual·{p1,·v3},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
1109 | ····move-result-object·v3 | 1115 | ····move-result-object·v3 |
1116 | ····.line·121 | ||
1110 | ····invoke-static·{v3},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F | 1117 | ····invoke-static·{v3},·Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F |
Max diff block lines reached; 2512/4956 bytes (50.69%) 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/datetimepicker/time/TimePickerDialog; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/time/TimePickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·241 | 27 | ····.line·241 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$1;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$1;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/time/TimePickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·248 | 27 | ····.line·248 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$2;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$2;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/time/TimePickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·257 | 27 | ····.line·257 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$3;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$3;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 92, 14 lines modified | Offset 93, 15 lines modified | ||
92 | ····#·getter·for:·Lcom/android/datetimepicker/time/TimePickerDialog;->mTimePicker:Lcom/android/datetimepicker/time/RadialPickerLayout; | 93 | ····#·getter·for:·Lcom/android/datetimepicker/time/TimePickerDialog;->mTimePicker:Lcom/android/datetimepicker/time/RadialPickerLayout; |
93 | ····invoke-static·{v1},·Lcom/android/datetimepicker/time/TimePickerDialog;->access$600(Lcom/android/datetimepicker/time/TimePickerDialog;)Lcom/android/datetimepicker/time/RadialPickerLayout; | 94 | ····invoke-static·{v1},·Lcom/android/datetimepicker/time/TimePickerDialog;->access$600(Lcom/android/datetimepicker/time/TimePickerDialog;)Lcom/android/datetimepicker/time/RadialPickerLayout; |
94 | ····move-result-object·v1 | 95 | ····move-result-object·v1 |
95 | ····iget-object·v2,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$3;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 96 | ····iget-object·v2,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$3;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
97 | ····.line·267 | ||
96 | ····#·getter·for:·Lcom/android/datetimepicker/time/TimePickerDialog;->mTimePicker:Lcom/android/datetimepicker/time/RadialPickerLayout; | 98 | ····#·getter·for:·Lcom/android/datetimepicker/time/TimePickerDialog;->mTimePicker:Lcom/android/datetimepicker/time/RadialPickerLayout; |
97 | ····invoke-static·{v2},·Lcom/android/datetimepicker/time/TimePickerDialog;->access$600(Lcom/android/datetimepicker/time/TimePickerDialog;)Lcom/android/datetimepicker/time/RadialPickerLayout; | 99 | ····invoke-static·{v2},·Lcom/android/datetimepicker/time/TimePickerDialog;->access$600(Lcom/android/datetimepicker/time/TimePickerDialog;)Lcom/android/datetimepicker/time/RadialPickerLayout; |
98 | ····move-result-object·v2 | 100 | ····move-result-object·v2 |
99 | ····invoke-virtual·{v2},·Lcom/android/datetimepicker/time/RadialPickerLayout;->getHours()I | 101 | ····invoke-virtual·{v2},·Lcom/android/datetimepicker/time/RadialPickerLayout;->getHours()I |
Offset 112, 14 lines modified | Offset 114, 15 lines modified | ||
112 | ····move-result-object·v3 | 114 | ····move-result-object·v3 |
113 | ····invoke-virtual·{v3},·Lcom/android/datetimepicker/time/RadialPickerLayout;->getMinutes()I | 115 | ····invoke-virtual·{v3},·Lcom/android/datetimepicker/time/RadialPickerLayout;->getMinutes()I |
114 | ····move-result·v3 | 116 | ····move-result·v3 |
117 | ····.line·266 | ||
115 | ····invoke-interface·{v0,·v1,·v2,·v3},·Lcom/android/datetimepicker/time/TimePickerDialog$OnTimeSetListener;->onTimeSet(Lcom/android/datetimepicker/time/RadialPickerLayout;II)V | 118 | ····invoke-interface·{v0,·v1,·v2,·v3},·Lcom/android/datetimepicker/time/TimePickerDialog$OnTimeSetListener;->onTimeSet(Lcom/android/datetimepicker/time/RadialPickerLayout;II)V |
116 | ····.line·269 | 119 | ····.line·269 |
117 | ····:cond_0 | 120 | ····:cond_0 |
118 | ····iget-object·v0,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$3;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 121 | ····iget-object·v0,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$3;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
119 | ····invoke-virtual·{v0},·Lcom/android/datetimepicker/time/TimePickerDialog;->dismiss()V | 122 | ····invoke-virtual·{v0},·Lcom/android/datetimepicker/time/TimePickerDialog;->dismiss()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/time/TimePickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·276 | 27 | ····.line·276 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$4;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$4;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 21 | .field·final·synthetic·this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V | 23 | .method·constructor·<init>(Lcom/android/datetimepicker/time/TimePickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/android/datetimepicker/time/TimePickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·301 | 27 | ····.line·301 |
27 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$5;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; | 28 | ····iput-object·p1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$5;->this$0:Lcom/android/datetimepicker/time/TimePickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 73, 44 lines modified | Offset 73, 43 lines modified | ||
73 | .end·method | 73 | .end·method |
74 | .method·public·canReach(I)Lcom/android/datetimepicker/time/TimePickerDialog$Node; | 74 | .method·public·canReach(I)Lcom/android/datetimepicker/time/TimePickerDialog$Node; |
75 | ····.locals·4 | 75 | ····.locals·4 |
76 | ····.param·p1,·"key"····#·I | 76 | ····.param·p1,·"key"····#·I |
77 | ····.prologue | 77 | ····.prologue |
78 |
····const/4·v |
78 | ····const/4·v1,·0x0 |
79 | ····.line·985 | 79 | ····.line·985 |
80 |
····iget-object·v |
80 | ····iget-object·v2,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$Node;->mChildren:Ljava/util/ArrayList; |
81 |
····if-nez·v |
81 | ····if-nez·v2,·:cond_0 |
82 |
····move-object·v0,·v |
82 | ····move-object·v0,·v1 |
83 | ····.line·993 | 83 | ····.line·993 |
84 | ····:goto_0 | 84 | ····:goto_0 |
85 | ····return-object·v0 | 85 | ····return-object·v0 |
86 | ····.line·988 | 86 | ····.line·988 |
87 | ····:cond_0 | 87 | ····:cond_0 |
88 |
····iget-object·v |
88 | ····iget-object·v2,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog$Node;->mChildren:Ljava/util/ArrayList; |
89 |
····invoke-virtual·{v |
89 | ····invoke-virtual·{v2},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
90 |
····move-result-object·v |
90 | ····move-result-object·v2 |
91 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
92 | ····:cond_1 | 91 | ····:cond_1 |
93 |
····invoke-interface·{v |
92 | ····invoke-interface·{v2},·Ljava/util/Iterator;->hasNext()Z |
94 | ····move-result·v3 | 93 | ····move-result·v3 |
95 | ····if-eqz·v3,·:cond_2 | 94 | ····if-eqz·v3,·:cond_2 |
96 |
····invoke-interface·{v |
95 | ····invoke-interface·{v2},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
97 | ····move-result-object·v0 | 96 | ····move-result-object·v0 |
98 | ····check-cast·v0,·Lcom/android/datetimepicker/time/TimePickerDialog$Node; | 97 | ····check-cast·v0,·Lcom/android/datetimepicker/time/TimePickerDialog$Node; |
99 | ····.line·989 | 98 | ····.line·989 |
100 | ····.local·v0,·"child":Lcom/android/datetimepicker/time/TimePickerDialog$Node; | 99 | ····.local·v0,·"child":Lcom/android/datetimepicker/time/TimePickerDialog$Node; |
Offset 120, 15 lines modified | Offset 119, 15 lines modified | ||
120 | ····if-eqz·v3,·:cond_1 | 119 | ····if-eqz·v3,·:cond_1 |
121 | ····goto·:goto_0 | 120 | ····goto·:goto_0 |
122 | ····.end·local·v0····#·"child":Lcom/android/datetimepicker/time/TimePickerDialog$Node; | 121 | ····.end·local·v0····#·"child":Lcom/android/datetimepicker/time/TimePickerDialog$Node; |
123 | ····:cond_2 | 122 | ····:cond_2 |
124 |
····move-object·v0,·v |
123 | ····move-object·v0,·v1 |
125 | ····.line·993 | 124 | ····.line·993 |
126 | ····goto·:goto_0 | 125 | ····goto·:goto_0 |
127 | .end·method | 126 | .end·method |
128 | .method·public·containsKey(I)Z | 127 | .method·public·containsKey(I)Z |
129 | ····.locals·2 | 128 | ····.locals·2 |
Offset 283, 14 lines modified | Offset 283, 15 lines modified | ||
283 | ····if-eq·v3,·v4,·:cond_1 | 283 | ····if-eq·v3,·v4,·:cond_1 |
284 | ····:cond_0 | 284 | ····:cond_0 |
285 | ····iget-boolean·v3,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog;->mIs24HourMode:Z | 285 | ····iget-boolean·v3,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog;->mIs24HourMode:Z |
286 | ····if-nez·v3,·:cond_2 | 286 | ····if-nez·v3,·:cond_2 |
287 | ····.line·596 | ||
287 | ····invoke-direct·{p0},·Lcom/android/datetimepicker/time/TimePickerDialog;->isTypedTimeFullyLegal()Z | 288 | ····invoke-direct·{p0},·Lcom/android/datetimepicker/time/TimePickerDialog;->isTypedTimeFullyLegal()Z |
288 | ····move-result·v3 | 289 | ····move-result·v3 |
289 | ····if-eqz·v3,·:cond_2 | 290 | ····if-eqz·v3,·:cond_2 |
290 | ····.line·617 | 291 | ····.line·617 |
Offset 2248, 14 lines modified | Offset 2249, 15 lines modified | ||
2248 | ····move-result·v3 | 2249 | ····move-result·v3 |
2249 | ····if-nez·v3,·:cond_2 | 2250 | ····if-nez·v3,·:cond_2 |
2250 | ····iget-object·v3,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog;->mTypedTimes:Ljava/util/ArrayList; | 2251 | ····iget-object·v3,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog;->mTypedTimes:Ljava/util/ArrayList; |
2252 | ····.line·648 | ||
2251 | ····invoke-direct·{p0,·v1},·Lcom/android/datetimepicker/time/TimePickerDialog;->getAmOrPmKeyCode(I)I | 2253 | ····invoke-direct·{p0,·v1},·Lcom/android/datetimepicker/time/TimePickerDialog;->getAmOrPmKeyCode(I)I |
2252 | ····move-result·v4 | 2254 | ····move-result·v4 |
2253 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 2255 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
2254 | ····move-result-object·v4 | 2256 | ····move-result-object·v4 |
Offset 2268, 69 lines modified | Offset 2270, 69 lines modified | ||
2268 | ····:cond_2 | 2270 | ····:cond_2 |
2269 | ····move·v2,·v1 | 2271 | ····move·v2,·v1 |
2270 | ····:cond_3 | 2272 | ····:cond_3 |
2271 | ····move·v1,·v2 | 2273 | ····move·v1,·v2 |
2274 | ····.line·647 | ||
2272 | ····goto·:goto_0 | 2275 | ····goto·:goto_0 |
2273 | .end·method | 2276 | .end·method |
2274 | .method·private·isTypedTimeLegalSoFar()Z | 2277 | .method·private·isTypedTimeLegalSoFar()Z |
2275 | ····.locals·4 | 2278 | ····.locals·4 |
2276 | ····.prologue | 2279 | ····.prologue |
2277 | ····.line·625 | 2280 | ····.line·625 |
2278 |
····iget-object·v |
2281 | ····iget-object·v1,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog;->mLegalTimesTree:Lcom/android/datetimepicker/time/TimePickerDialog$Node; |
2279 | ····.line·626 | 2282 | ····.line·626 |
2280 |
····.local·v |
2283 | ····.local·v1,·"node":Lcom/android/datetimepicker/time/TimePickerDialog$Node; |
2281 |
····iget-object·v |
2284 | ····iget-object·v2,·p0,·Lcom/android/datetimepicker/time/TimePickerDialog;->mTypedTimes:Ljava/util/ArrayList; |
2282 |
····invoke-virtual·{v |
2285 | ····invoke-virtual·{v2},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
2283 |
····move-result-object·v |
2286 | ····move-result-object·v3 |
2284 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
2285 | ····:cond_0 | 2287 | ····:cond_0 |
2286 |
····invoke-interface·{v |
2288 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
2287 |
····move-result·v |
2289 | ····move-result·v2 |
2288 |
····if-eqz·v |
2290 | ····if-eqz·v2,·:cond_1 |
2289 |
····invoke-interface·{v |
2291 | ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
2290 |
····move-result-object·v |
2292 | ····move-result-object·v2 |
2291 |
····check-cast·v |
2293 | ····check-cast·v2,·Ljava/lang/Integer; |
2292 |
····invoke-virtual·{v |
2294 | ····invoke-virtual·{v2},·Ljava/lang/Integer;->intValue()I |
2293 |
····move-result·v |
2295 | ····move-result·v0 |
2294 | ····.line·627 | 2296 | ····.line·627 |
2295 |
····.local·v |
2297 | ····.local·v0,·"keyCode":I |
2296 |
····invoke-virtual·{v |
2298 | ····invoke-virtual·{v1,·v0},·Lcom/android/datetimepicker/time/TimePickerDialog$Node;->canReach(I)Lcom/android/datetimepicker/time/TimePickerDialog$Node; |
2297 |
····move-result-object·v |
2299 | ····move-result-object·v1 |
2298 | ····.line·628 | 2300 | ····.line·628 |
2299 |
····if-nez·v |
2301 | ····if-nez·v1,·:cond_0 |
2300 | ····.line·629 | 2302 | ····.line·629 |
2301 |
····const/4·v |
2303 | ····const/4·v2,·0x0 |
2302 | ····.line·632 | 2304 | ····.line·632 |
2303 |
····.end·local·v |
2305 | ····.end·local·v0····#·"keyCode":I |
2304 | ····:goto_0 | 2306 | ····:goto_0 |
2305 |
····return·v |
2307 | ····return·v2 |
2306 | ····:cond_1 | 2308 | ····:cond_1 |
2307 |
····const/4·v |
2309 | ····const/4·v2,·0x1 |
2308 | ····goto·:goto_0 | 2310 | ····goto·:goto_0 |
2309 | .end·method | 2311 | .end·method |
Max diff block lines reached; 4326/7933 bytes (54.53%) of diff not shown. |
Offset 26, 10 lines modified | Offset 26, 9 lines modified | ||
26 | .method·public·constructor·<init>()V | 26 | .method·public·constructor·<init>()V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·9 | 29 | ····.line·9 |
30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 30 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
31 | ····.line·966 | ||
32 | ····return-void | 31 | ····return-void |
33 | .end·method | 32 | .end·method |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lcom/mobeta/android/dslv/DragSortController; | 18 | .field·final·synthetic·this$0:Lcom/mobeta/android/dslv/DragSortController; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lcom/mobeta/android/dslv/DragSortController;)V | 20 | .method·constructor·<init>(Lcom/mobeta/android/dslv/DragSortController;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lcom/mobeta/android/dslv/DragSortController; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·451 | 24 | ····.line·451 |
24 | ····iput-object·p1,·p0,·Lcom/mobeta/android/dslv/DragSortController$1;->this$0:Lcom/mobeta/android/dslv/DragSortController; | 25 | ····iput-object·p1,·p0,·Lcom/mobeta/android/dslv/DragSortController$1;->this$0:Lcom/mobeta/android/dslv/DragSortController; |
25 | ····invoke-direct·{p0},·Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V |
Offset 1322, 28 lines modified | Offset 1322, 30 lines modified | ||
1322 | ····iget-object·v10,·p0,·Lcom/mobeta/android/dslv/DragSortController;->mTempLoc:[I | 1322 | ····iget-object·v10,·p0,·Lcom/mobeta/android/dslv/DragSortController;->mTempLoc:[I |
1323 | ····const/4·v11,·0x0 | 1323 | ····const/4·v11,·0x0 |
1324 | ····aget·v10,·v10,·v11 | 1324 | ····aget·v10,·v10,·v11 |
1325 | ····.line·349 | ||
1325 | ····invoke-virtual·{v1},·Landroid/view/View;->getWidth()I | 1326 | ····invoke-virtual·{v1},·Landroid/view/View;->getWidth()I |
1326 | ····move-result·v11 | 1327 | ····move-result·v11 |
1327 | ····add-int/2addr·v10,·v11 | 1328 | ····add-int/2addr·v10,·v11 |
1328 | ····if-ge·v5,·v10,·:cond_1 | 1329 | ····if-ge·v5,·v10,·:cond_1 |
1329 | ····iget-object·v10,·p0,·Lcom/mobeta/android/dslv/DragSortController;->mTempLoc:[I | 1330 | ····iget-object·v10,·p0,·Lcom/mobeta/android/dslv/DragSortController;->mTempLoc:[I |
1330 | ····const/4·v11,·0x1 | 1331 | ····const/4·v11,·0x1 |
1331 | ····aget·v10,·v10,·v11 | 1332 | ····aget·v10,·v10,·v11 |
1333 | ····.line·350 | ||
1332 | ····invoke-virtual·{v1},·Landroid/view/View;->getHeight()I | 1334 | ····invoke-virtual·{v1},·Landroid/view/View;->getHeight()I |
1333 | ····move-result·v11 | 1335 | ····move-result·v11 |
1334 | ····add-int/2addr·v10,·v11 | 1336 | ····add-int/2addr·v10,·v11 |
1335 | ····if-ge·v6,·v10,·:cond_1 | 1337 | ····if-ge·v6,·v10,·:cond_1 |
Offset 108, 106 lines modified | Offset 108, 105 lines modified | ||
108 | ····iput-object·v0,·p0,·Lcom/mobeta/android/dslv/DragSortCursorAdapter;->mRemovedCursorPositions:Ljava/util/List; | 108 | ····iput-object·v0,·p0,·Lcom/mobeta/android/dslv/DragSortCursorAdapter;->mRemovedCursorPositions:Ljava/util/List; |
109 | ····.line·49 | 109 | ····.line·49 |
110 | ····return-void | 110 | ····return-void |
111 | .end·method | 111 | .end·method |
112 | .method·private·cleanMapping()V | 112 | .method·private·cleanMapping()V |
113 |
····.locals· |
113 | ····.locals·6 |
114 | ····.prologue | 114 | ····.prologue |
115 | ····.line·165 | 115 | ····.line·165 |
116 |
····new-instance·v |
116 | ····new-instance·v3,·Ljava/util/ArrayList; |
117 |
····invoke-direct·{v |
117 | ····invoke-direct·{v3},·Ljava/util/ArrayList;-><init>()V |
118 | ····.line·167 | 118 | ····.line·167 |
119 |
····.local·v |
119 | ····.local·v3,·"toRemove":Ljava/util/List;,·"Ljava/util/List<Ljava/lang/Integer;>;" |
120 |
····iget-object·v |
120 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortCursorAdapter;->mListMapping:Landroid/util/SparseIntArray; |
121 |
····invoke-virtual·{v |
121 | ····invoke-virtual·{v4},·Landroid/util/SparseIntArray;->size()I |
122 |
····move-result·v |
122 | ····move-result·v2 |
123 | ····.line·168 | 123 | ····.line·168 |
124 |
····.local·v |
124 | ····.local·v2,·"size":I |
125 | ····const/4·v0,·0x0 | 125 | ····const/4·v0,·0x0 |
126 | ····.local·v0,·"i":I | 126 | ····.local·v0,·"i":I |
127 | ····:goto_0 | 127 | ····:goto_0 |
128 |
····if-ge·v0,·v |
128 | ····if-ge·v0,·v2,·:cond_1 |
129 | ····.line·169 | 129 | ····.line·169 |
130 |
····iget-object·v |
130 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortCursorAdapter;->mListMapping:Landroid/util/SparseIntArray; |
131 |
····invoke-virtual·{v |
131 | ····invoke-virtual·{v4,·v0},·Landroid/util/SparseIntArray;->keyAt(I)I |
132 |
····move-result·v |
132 | ····move-result·v4 |
133 |
····iget-object·v |
133 | ····iget-object·v5,·p0,·Lcom/mobeta/android/dslv/DragSortCursorAdapter;->mListMapping:Landroid/util/SparseIntArray; |
134 |
····invoke-virtual·{v |
134 | ····invoke-virtual·{v5,·v0},·Landroid/util/SparseIntArray;->valueAt(I)I |
135 |
····move-result·v |
135 | ····move-result·v5 |
136 |
····if-ne·v |
136 | ····if-ne·v4,·v5,·:cond_0 |
137 | ····.line·170 | 137 | ····.line·170 |
138 |
····iget-object·v |
138 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortCursorAdapter;->mListMapping:Landroid/util/SparseIntArray; |
139 |
····invoke-virtual·{v |
139 | ····invoke-virtual·{v4,·v0},·Landroid/util/SparseIntArray;->keyAt(I)I |
140 |
····move-result·v |
140 | ····move-result·v4 |
141 |
····invoke-static·{v |
141 | ····invoke-static·{v4},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
142 |
····move-result-object·v |
142 | ····move-result-object·v4 |
143 |
····invoke-interface·{v |
143 | ····invoke-interface·{v3,·v4},·Ljava/util/List;->add(Ljava/lang/Object;)Z |
144 | ····.line·168 | 144 | ····.line·168 |
145 | ····:cond_0 | 145 | ····:cond_0 |
146 | ····add-int/lit8·v0,·v0,·0x1 | 146 | ····add-int/lit8·v0,·v0,·0x1 |
147 | ····goto·:goto_0 | 147 | ····goto·:goto_0 |
148 | ····.line·174 | 148 | ····.line·174 |
149 | ····:cond_1 | 149 | ····:cond_1 |
150 |
····invoke-interface·{v |
150 | ····invoke-interface·{v3},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
151 |
····move-result-object·v |
151 | ····move-result-object·v5 |
152 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
153 | ····:goto_1 | 152 | ····:goto_1 |
154 |
····invoke-interface·{v |
153 | ····invoke-interface·{v5},·Ljava/util/Iterator;->hasNext()Z |
155 |
····move-result·v |
154 | ····move-result·v4 |
156 |
····if-eqz·v |
155 | ····if-eqz·v4,·:cond_2 |
157 |
····invoke-interface·{v |
156 | ····invoke-interface·{v5},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
158 |
····move-result-object·v |
157 | ····move-result-object·v4 |
159 |
····check-cast·v |
158 | ····check-cast·v4,·Ljava/lang/Integer; |
160 |
····invoke-virtual·{v |
159 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I |
161 |
····move-result·v |
160 | ····move-result·v1 |
162 | ····.line·175 | 161 | ····.line·175 |
163 |
····.local·v |
162 | ····.local·v1,·"position":I |
164 |
····iget-object·v |
163 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortCursorAdapter;->mListMapping:Landroid/util/SparseIntArray; |
165 |
····invoke-virtual·{v |
164 | ····invoke-virtual·{v4,·v1},·Landroid/util/SparseIntArray;->delete(I)V |
166 | ····goto·:goto_1 | 165 | ····goto·:goto_1 |
167 | ····.line·177 | 166 | ····.line·177 |
168 |
····.end·local·v |
167 | ····.end·local·v1····#·"position":I |
Max diff block lines reached; 83/4685 bytes (1.77%) of diff not shown. |
Offset 101, 22 lines modified | Offset 101, 24 lines modified | ||
101 | ····invoke-virtual·{v0},·Landroid/view/View;->getMeasuredHeight()I | 101 | ····invoke-virtual·{v0},·Landroid/view/View;->getMeasuredHeight()I |
102 | ····move-result·v2 | 102 | ····move-result·v2 |
103 | ····sub-int/2addr·v1,·v2 | 103 | ····sub-int/2addr·v1,·v2 |
104 | ····.line·59 | ||
104 | ····invoke-virtual·{p0},·Lcom/mobeta/android/dslv/DragSortItemView;->getMeasuredWidth()I | 105 | ····invoke-virtual·{p0},·Lcom/mobeta/android/dslv/DragSortItemView;->getMeasuredWidth()I |
105 | ····move-result·v2 | 106 | ····move-result·v2 |
106 | ····invoke-virtual·{p0},·Lcom/mobeta/android/dslv/DragSortItemView;->getMeasuredHeight()I | 107 | ····invoke-virtual·{p0},·Lcom/mobeta/android/dslv/DragSortItemView;->getMeasuredHeight()I |
107 | ····move-result·v3 | 108 | ····move-result·v3 |
109 | ····.line·58 | ||
108 | ····invoke-virtual·{v0,·v4,·v1,·v2,·v3},·Landroid/view/View;->layout(IIII)V | 110 | ····invoke-virtual·{v0,·v4,·v1,·v2,·v3},·Landroid/view/View;->layout(IIII)V |
109 | ····goto·:goto_0 | 111 | ····goto·:goto_0 |
110 | .end·method | 112 | .end·method |
111 | .method·protected·onMeasure(II)V | 113 | .method·protected·onMeasure(II)V |
112 | ····.locals·7 | 114 | ····.locals·7 |
Offset 164, 19 lines modified | Offset 166, 20 lines modified | ||
164 | ····:cond_0 | 166 | ····:cond_0 |
165 | ····invoke-virtual·{v0},·Landroid/view/View;->isLayoutRequested()Z | 167 | ····invoke-virtual·{v0},·Landroid/view/View;->isLayoutRequested()Z |
166 | ····move-result·v5 | 168 | ····move-result·v5 |
167 | ····if-eqz·v5,·:cond_1 | 169 | ····if-eqz·v5,·:cond_1 |
168 |
····.line·7 |
170 | ····.line·79 |
169 | ····invoke-static·{v6,·v6},·Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I | 171 | ····invoke-static·{v6,·v6},·Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I |
170 | ····move-result·v5 | 172 | ····move-result·v5 |
173 | ····.line·78 | ||
171 | ····invoke-virtual·{p0,·v0,·p1,·v5},·Lcom/mobeta/android/dslv/DragSortItemView;->measureChild(Landroid/view/View;II)V | 174 | ····invoke-virtual·{p0,·v0,·p1,·v5},·Lcom/mobeta/android/dslv/DragSortItemView;->measureChild(Landroid/view/View;II)V |
172 | ····.line·82 | 175 | ····.line·82 |
173 | ····:cond_1 | 176 | ····:cond_1 |
174 | ····if-nez·v2,·:cond_2 | 177 | ····if-nez·v2,·:cond_2 |
175 | ····.line·83 | 178 | ····.line·83 |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/mobeta/android/dslv/DragSortListView; | 21 | .field·final·synthetic·this$0:Lcom/mobeta/android/dslv/DragSortListView; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/mobeta/android/dslv/DragSortListView;)V | 23 | .method·constructor·<init>(Lcom/mobeta/android/dslv/DragSortListView;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/mobeta/android/dslv/DragSortListView; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·272 | 27 | ····.line·272 |
27 | ····iput-object·p1,·p0,·Lcom/mobeta/android/dslv/DragSortListView$1;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 28 | ····iput-object·p1,·p0,·Lcom/mobeta/android/dslv/DragSortListView$1;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
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:Lcom/mobeta/android/dslv/DragSortListView; | 18 | .field·final·synthetic·this$0:Lcom/mobeta/android/dslv/DragSortListView; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lcom/mobeta/android/dslv/DragSortListView;)V | 20 | .method·constructor·<init>(Lcom/mobeta/android/dslv/DragSortListView;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lcom/mobeta/android/dslv/DragSortListView; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·554 | 24 | ····.line·554 |
24 | ····iput-object·p1,·p0,·Lcom/mobeta/android/dslv/DragSortListView$2;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 25 | ····iput-object·p1,·p0,·Lcom/mobeta/android/dslv/DragSortListView$2;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
25 | ····invoke-direct·{p0},·Landroid/database/DataSetObserver;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/database/DataSetObserver;-><init>()V |
Offset 327, 27 lines modified | Offset 327, 29 lines modified | ||
327 | ····sub-float/2addr·v14,·v15 | 327 | ····sub-float/2addr·v14,·v15 |
328 | ····move-object/from16·v0,·p0 | 328 | ····move-object/from16·v0,·p0 |
329 | ····iget-object·v15,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 329 | ····iget-object·v15,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
330 | ····.line·2819 | ||
330 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mDragUpScrollHeight:F | 331 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mDragUpScrollHeight:F |
331 | ····invoke-static·{v15},·Lcom/mobeta/android/dslv/DragSortListView;->access$2200(Lcom/mobeta/android/dslv/DragSortListView;)F | 332 | ····invoke-static·{v15},·Lcom/mobeta/android/dslv/DragSortListView;->access$2200(Lcom/mobeta/android/dslv/DragSortListView;)F |
332 | ····move-result·v15 | 333 | ····move-result·v15 |
333 | ····div-float/2addr·v14,·v15 | 334 | ····div-float/2addr·v14,·v15 |
334 | ····move-object/from16·v0,·p0 | 335 | ····move-object/from16·v0,·p0 |
335 | ····iget-wide·v0,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->mPrevTime:J | 336 | ····iget-wide·v0,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->mPrevTime:J |
336 | ····move-wide/from16·v16,·v0 | 337 | ····move-wide/from16·v16,·v0 |
338 | ····.line·2818 | ||
337 | ····move-wide/from16·v0,·v16 | 339 | ····move-wide/from16·v0,·v16 |
338 | ····invoke-interface·{v13,·v14,·v0,·v1},·Lcom/mobeta/android/dslv/DragSortListView$DragScrollProfile;->getSpeed(FJ)F | 340 | ····invoke-interface·{v13,·v14,·v0,·v1},·Lcom/mobeta/android/dslv/DragSortListView$DragScrollProfile;->getSpeed(FJ)F |
339 | ····move-result·v13 | 341 | ····move-result·v13 |
340 | ····move-object/from16·v0,·p0 | 342 | ····move-object/from16·v0,·p0 |
Offset 609, 27 lines modified | Offset 611, 29 lines modified | ||
609 | ····sub-float/2addr·v14,·v15 | 611 | ····sub-float/2addr·v14,·v15 |
610 | ····move-object/from16·v0,·p0 | 612 | ····move-object/from16·v0,·p0 |
611 | ····iget-object·v15,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 613 | ····iget-object·v15,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
614 | ····.line·2832 | ||
612 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mDragDownScrollHeight:F | 615 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mDragDownScrollHeight:F |
613 | ····invoke-static·{v15},·Lcom/mobeta/android/dslv/DragSortListView;->access$2500(Lcom/mobeta/android/dslv/DragSortListView;)F | 616 | ····invoke-static·{v15},·Lcom/mobeta/android/dslv/DragSortListView;->access$2500(Lcom/mobeta/android/dslv/DragSortListView;)F |
614 | ····move-result·v15 | 617 | ····move-result·v15 |
615 | ····div-float/2addr·v14,·v15 | 618 | ····div-float/2addr·v14,·v15 |
616 | ····move-object/from16·v0,·p0 | 619 | ····move-object/from16·v0,·p0 |
617 | ····iget-wide·v0,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->mPrevTime:J | 620 | ····iget-wide·v0,·v0,·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->mPrevTime:J |
618 | ····move-wide/from16·v16,·v0 | 621 | ····move-wide/from16·v16,·v0 |
622 | ····.line·2831 | ||
619 | ····move-wide/from16·v0,·v16 | 623 | ····move-wide/from16·v0,·v16 |
620 | ····invoke-interface·{v13,·v14,·v0,·v1},·Lcom/mobeta/android/dslv/DragSortListView$DragScrollProfile;->getSpeed(FJ)F | 624 | ····invoke-interface·{v13,·v14,·v0,·v1},·Lcom/mobeta/android/dslv/DragSortListView$DragScrollProfile;->getSpeed(FJ)F |
621 | ····move-result·v13 | 625 | ····move-result·v13 |
622 | ····neg-float·v13,·v13 | 626 | ····neg-float·v13,·v13 |
Offset 331, 14 lines modified | Offset 331, 15 lines modified | ||
331 | ····move-result-object·v3 | 331 | ····move-result-object·v3 |
332 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 332 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
333 | ····iget-object·v5,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 333 | ····iget-object·v5,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
334 | ····.line·2938 | ||
334 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mFirstExpPos:I | 335 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mFirstExpPos:I |
335 | ····invoke-static·{v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$1300(Lcom/mobeta/android/dslv/DragSortListView;)I | 336 | ····invoke-static·{v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$1300(Lcom/mobeta/android/dslv/DragSortListView;)I |
336 | ····move-result·v5 | 337 | ····move-result·v5 |
337 | ····#·invokes:·Lcom/mobeta/android/dslv/DragSortListView;->getItemHeight(I)I | 338 | ····#·invokes:·Lcom/mobeta/android/dslv/DragSortListView;->getItemHeight(I)I |
338 | ····invoke-static·{v4,·v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$2800(Lcom/mobeta/android/dslv/DragSortListView;I)I | 339 | ····invoke-static·{v4,·v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$2800(Lcom/mobeta/android/dslv/DragSortListView;I)I |
Offset 363, 14 lines modified | Offset 364, 15 lines modified | ||
363 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 364 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
364 | ····move-result-object·v3 | 365 | ····move-result-object·v3 |
365 | ····const-string·v4,·"</FirstExpBlankHeight>\n" | 366 | ····const-string·v4,·"</FirstExpBlankHeight>\n" |
367 | ····.line·2939 | ||
366 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 368 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
367 | ····.line·2940 | 369 | ····.line·2940 |
368 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->mBuilder:Ljava/lang/StringBuilder; | 370 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->mBuilder:Ljava/lang/StringBuilder; |
369 | ····const-string·v4,·"····<SecondExpPos>" | 371 | ····const-string·v4,·"····<SecondExpPos>" |
Offset 402, 14 lines modified | Offset 404, 15 lines modified | ||
402 | ····move-result-object·v3 | 404 | ····move-result-object·v3 |
403 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 405 | ····iget-object·v4,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
404 | ····iget-object·v5,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 406 | ····iget-object·v5,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
407 | ····.line·2942 | ||
405 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mSecondExpPos:I | 408 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mSecondExpPos:I |
406 | ····invoke-static·{v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$1400(Lcom/mobeta/android/dslv/DragSortListView;)I | 409 | ····invoke-static·{v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$1400(Lcom/mobeta/android/dslv/DragSortListView;)I |
407 | ····move-result·v5 | 410 | ····move-result·v5 |
408 | ····#·invokes:·Lcom/mobeta/android/dslv/DragSortListView;->getItemHeight(I)I | 411 | ····#·invokes:·Lcom/mobeta/android/dslv/DragSortListView;->getItemHeight(I)I |
409 | ····invoke-static·{v4,·v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$2800(Lcom/mobeta/android/dslv/DragSortListView;I)I | 412 | ····invoke-static·{v4,·v5},·Lcom/mobeta/android/dslv/DragSortListView;->access$2800(Lcom/mobeta/android/dslv/DragSortListView;I)I |
Offset 434, 14 lines modified | Offset 437, 15 lines modified | ||
434 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 437 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
435 | ····move-result-object·v3 | 438 | ····move-result-object·v3 |
436 | ····const-string·v4,·"</SecondExpBlankHeight>\n" | 439 | ····const-string·v4,·"</SecondExpBlankHeight>\n" |
440 | ····.line·2943 | ||
437 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 441 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
438 | ····.line·2944 | 442 | ····.line·2944 |
439 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->mBuilder:Ljava/lang/StringBuilder; | 443 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->mBuilder:Ljava/lang/StringBuilder; |
440 | ····const-string·v4,·"····<SrcPos>" | 444 | ····const-string·v4,·"····<SrcPos>" |
Offset 490, 14 lines modified | Offset 494, 15 lines modified | ||
490 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; | 494 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
491 | ····move-result-object·v3 | 495 | ····move-result-object·v3 |
492 | ····const-string·v4,·"</SrcHeight>\n" | 496 | ····const-string·v4,·"</SrcHeight>\n" |
497 | ····.line·2946 | ||
493 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 498 | ····invoke-virtual·{v3,·v4},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
494 | ····.line·2947 | 499 | ····.line·2947 |
495 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->mBuilder:Ljava/lang/StringBuilder; | 500 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView$DragSortTracker;->mBuilder:Ljava/lang/StringBuilder; |
496 | ····const-string·v4,·"····<ViewHeight>" | 501 | ····const-string·v4,·"····<ViewHeight>" |
Offset 373, 35 lines modified | Offset 373, 44 lines modified | ||
373 | ····iget-object·v9,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 373 | ····iget-object·v9,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
374 | ····iget-object·v8,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | 374 | ····iget-object·v8,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->this$0:Lcom/mobeta/android/dslv/DragSortListView; |
375 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F | 375 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F |
376 | ····invoke-static·{v8},·Lcom/mobeta/android/dslv/DragSortListView;->access$1600(Lcom/mobeta/android/dslv/DragSortListView;)F | 376 | ····invoke-static·{v8},·Lcom/mobeta/android/dslv/DragSortListView;->access$1600(Lcom/mobeta/android/dslv/DragSortListView;)F |
377 | ····move-result·v10 | ||
378 | ····iget-object·v8,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->this$0:Lcom/mobeta/android/dslv/DragSortListView; | ||
379 | ····#·getter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F | ||
380 | ····invoke-static·{v8},·Lcom/mobeta/android/dslv/DragSortListView;->access$1600(Lcom/mobeta/android/dslv/DragSortListView;)F | ||
377 | ····move-result·v8 | 381 | ····move-result·v8 |
378 |
····const/4·v1 |
382 | ····const/4·v11,·0x0 |
379 |
····cmpl-float·v8,·v8,·v1 |
383 | ····cmpl-float·v8,·v8,·v11 |
380 | ····if-lez·v8,·:cond_2 | 384 | ····if-lez·v8,·:cond_2 |
381 | ····const/4·v8,·0x1 | 385 | ····const/4·v8,·0x1 |
382 | ····:goto_1 | 386 | ····:goto_1 |
383 | ····int-to-float·v8,·v8 | 387 | ····int-to-float·v8,·v8 |
384 | ····mul-float/2addr·v8,·v1 | 388 | ····mul-float/2addr·v8,·v1 |
385 |
····int-to-float·v1 |
389 | ····int-to-float·v11,·v7 |
390 | ····mul-float/2addr·v8,·v11 | ||
386 |
···· |
391 | ····add-float/2addr·v8,·v10 |
387 |
····# |
392 | ····#·setter·for:·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F |
388 |
····invoke-static·{v9,·v8},·Lcom/mobeta/android/dslv/DragSortListView;->access$16 |
393 | ····invoke-static·{v9,·v8},·Lcom/mobeta/android/dslv/DragSortListView;->access$1602(Lcom/mobeta/android/dslv/DragSortListView;F)F |
389 | ····.line·1336 | 394 | ····.line·1336 |
390 | ····iget·v8,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->mFloatLocX:F | 395 | ····iget·v8,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->mFloatLocX:F |
391 | ····add-float/2addr·v8,·v2 | 396 | ····add-float/2addr·v8,·v2 |
392 | ····iput·v8,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->mFloatLocX:F | 397 | ····iput·v8,·p0,·Lcom/mobeta/android/dslv/DragSortListView$RemoveAnimator;->mFloatLocX:F |
Offset 524, 24 lines modified | Offset 524, 26 lines modified | ||
524 | ····const/high16·v13,·0x3f800000····#·1.0f | 524 | ····const/high16·v13,·0x3f800000····#·1.0f |
525 | ····sget·v14,·Lcom/mobeta/android/dslv/R$styleable;->DragSortListView_slide_shuffle_speed:I | 525 | ····sget·v14,·Lcom/mobeta/android/dslv/R$styleable;->DragSortListView_slide_shuffle_speed:I |
526 | ····const/high16·v15,·0x3f400000····#·0.75f | 526 | ····const/high16·v15,·0x3f400000····#·0.75f |
527 | ····.line·471 | ||
527 | ····invoke-virtual·{v11,·v14,·v15},·Landroid/content/res/TypedArray;->getFloat(IF)F | 528 | ····invoke-virtual·{v11,·v14,·v15},·Landroid/content/res/TypedArray;->getFloat(IF)F |
528 | ····move-result·v14 | 529 | ····move-result·v14 |
529 | ····sub-float/2addr·v13,·v14 | 530 | ····sub-float/2addr·v13,·v14 |
530 | ····invoke-static·{v12,·v13},·Ljava/lang/Math;->min(FF)F | 531 | ····invoke-static·{v12,·v13},·Ljava/lang/Math;->min(FF)F |
531 | ····move-result·v12 | 532 | ····move-result·v12 |
533 | ····.line·470 | ||
532 | ····invoke-static·{v5,·v12},·Ljava/lang/Math;->max(FF)F | 534 | ····invoke-static·{v5,·v12},·Ljava/lang/Math;->max(FF)F |
533 | ····move-result·v5 | 535 | ····move-result·v5 |
534 | ····move-object/from16·v0,·p0 | 536 | ····move-object/from16·v0,·p0 |
535 | ····iput·v5,·v0,·Lcom/mobeta/android/dslv/DragSortListView;->mSlideRegionFrac:F | 537 | ····iput·v5,·v0,·Lcom/mobeta/android/dslv/DragSortListView;->mSlideRegionFrac:F |
Offset 987, 30 lines modified | Offset 989, 14 lines modified | ||
987 | ····.prologue | 989 | ····.prologue |
988 | ····.line·61 | 990 | ····.line·61 |
989 | ····iput·p1,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F | 991 | ····iput·p1,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F |
990 | ····return·p1 | 992 | ····return·p1 |
991 | .end·method | 993 | .end·method |
992 | .method·static·synthetic·access$1616(Lcom/mobeta/android/dslv/DragSortListView;F)F | ||
993 | ····.locals·1 | ||
994 | ····.param·p0,·"x0"····#·Lcom/mobeta/android/dslv/DragSortListView; | ||
995 | ····.param·p1,·"x1"····#·F | ||
996 | ····.prologue | ||
997 | ····.line·61 | ||
998 | ····iget·v0,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F | ||
999 | ····add-float/2addr·v0,·p1 | ||
1000 | ····iput·v0,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mRemoveVelocityX:F | ||
1001 | ····return·v0 | ||
1002 | .end·method | ||
1003 | .method·static·synthetic·access$1700(Lcom/mobeta/android/dslv/DragSortListView;)V | 994 | .method·static·synthetic·access$1700(Lcom/mobeta/android/dslv/DragSortListView;)V |
1004 | ····.locals·0 | 995 | ····.locals·0 |
1005 | ····.param·p0,·"x0"····#·Lcom/mobeta/android/dslv/DragSortListView; | 996 | ····.param·p0,·"x0"····#·Lcom/mobeta/android/dslv/DragSortListView; |
1006 | ····.prologue | 997 | ····.prologue |
1007 | ····.line·61 | 998 | ····.line·61 |
1008 | ····invoke-direct·{p0},·Lcom/mobeta/android/dslv/DragSortListView;->destroyFloatView()V | 999 | ····invoke-direct·{p0},·Lcom/mobeta/android/dslv/DragSortListView;->destroyFloatView()V |
Offset 2195, 14 lines modified | Offset 2181, 15 lines modified | ||
2195 | ····iget·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mDownScrollStartY:I | 2181 | ····iget·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mDownScrollStartY:I |
2196 | ····if-gt·v2,·v3,·:cond_1 | 2182 | ····if-gt·v2,·v3,·:cond_1 |
2197 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mDragScroller:Lcom/mobeta/android/dslv/DragSortListView$DragScroller; | 2183 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mDragScroller:Lcom/mobeta/android/dslv/DragSortListView$DragScroller; |
2184 | ····.line·1793 | ||
2198 | ····invoke-virtual·{v3},·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->isScrolling()Z | 2185 | ····invoke-virtual·{v3},·Lcom/mobeta/android/dslv/DragSortListView$DragScroller;->isScrolling()Z |
2199 | ····move-result·v3 | 2186 | ····move-result·v3 |
2200 | ····if-eqz·v3,·:cond_1 | 2187 | ····if-eqz·v3,·:cond_1 |
2201 | ····.line·1797 | 2188 | ····.line·1797 |
Offset 2511, 21 lines modified | Offset 2498, 22 lines modified | ||
2511 | ····.line·753 | 2498 | ····.line·753 |
2512 | ····.local·v3,·"dividerHeight":I | 2499 | ····.local·v3,·"dividerHeight":I |
2513 | ····if-eqz·v2,·:cond_0 | 2500 | ····if-eqz·v2,·:cond_0 |
2514 | ····if-eqz·v3,·:cond_0 | 2501 | ····if-eqz·v3,·:cond_0 |
2515 |
····.line·75 |
2502 | ····.line·755 |
2516 | ····invoke-virtual·{p0},·Lcom/mobeta/android/dslv/DragSortListView;->getFirstVisiblePosition()I | 2503 | ····invoke-virtual·{p0},·Lcom/mobeta/android/dslv/DragSortListView;->getFirstVisiblePosition()I |
2517 | ····move-result·v8 | 2504 | ····move-result·v8 |
2518 | ····sub-int·v8,·p1,·v8 | 2505 | ····sub-int·v8,·p1,·v8 |
2506 | ····.line·754 | ||
2519 | ····invoke-virtual·{p0,·v8},·Lcom/mobeta/android/dslv/DragSortListView;->getChildAt(I)Landroid/view/View; | 2507 | ····invoke-virtual·{p0,·v8},·Lcom/mobeta/android/dslv/DragSortListView;->getChildAt(I)Landroid/view/View; |
2520 | ····move-result-object·v4 | 2508 | ····move-result-object·v4 |
2521 | ····check-cast·v4,·Landroid/view/ViewGroup; | 2509 | ····check-cast·v4,·Landroid/view/ViewGroup; |
2522 | ····.line·756 | 2510 | ····.line·756 |
Offset 3386, 22 lines modified | Offset 3374, 24 lines modified | ||
3386 | ····:cond_0 | 3374 | ····:cond_0 |
3387 | ····iget·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mWidthMeasureSpec:I | 3375 | ····iget·v3,·p0,·Lcom/mobeta/android/dslv/DragSortListView;->mWidthMeasureSpec:I |
Max diff block lines reached; 577/3243 bytes (17.79%) of diff not shown. |
Offset 17, 10 lines modified | Offset 17, 9 lines modified | ||
17 | .method·public·constructor·<init>()V | 17 | .method·public·constructor·<init>()V |
18 | ····.locals·0 | 18 | ····.locals·0 |
19 | ····.prologue | 19 | ····.prologue |
20 | ····.line·9 | 20 | ····.line·9 |
21 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 21 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
22 | ····.line·37 | ||
23 | ····return-void | 22 | ····return-void |
24 | .end·method | 23 | .end·method |
Offset 289, 21 lines modified | Offset 289, 15 lines modified | ||
289 | ····move-result-object·v10 | 289 | ····move-result-object·v10 |
290 | ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 290 | ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
291 | ····move-result-object·v9 | 291 | ····move-result-object·v9 |
292 | ····const-string·v10,·"·is·not·a·" | 292 | ····const-string·v10,·"·is·not·a··view·that·can·be·bounds·by·this·SimpleCursorAdapter" |
293 | ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | ||
294 | ····move-result-object·v9 | ||
295 | ····const-string·v10,·"·view·that·can·be·bounds·by·this·SimpleCursorAdapter" | ||
296 | ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 293 | ····invoke-virtual·{v9,·v10},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
297 | ····move-result-object·v9 | 294 | ····move-result-object·v9 |
298 | ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 295 | ····invoke-virtual·{v9},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
Offset 55, 20 lines modified | Offset 55, 22 lines modified | ||
55 | ····move-result·v2 | 55 | ····move-result·v2 |
56 | ····add-int/2addr·v2,·p1 | 56 | ····add-int/2addr·v2,·p1 |
57 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/SimpleFloatViewManager;->mListView:Landroid/widget/ListView; | 57 | ····iget-object·v3,·p0,·Lcom/mobeta/android/dslv/SimpleFloatViewManager;->mListView:Landroid/widget/ListView; |
58 | ····.line·42 | ||
58 | ····invoke-virtual·{v3},·Landroid/widget/ListView;->getFirstVisiblePosition()I | 59 | ····invoke-virtual·{v3},·Landroid/widget/ListView;->getFirstVisiblePosition()I |
59 | ····move-result·v3 | 60 | ····move-result·v3 |
60 | ····sub-int/2addr·v2,·v3 | 61 | ····sub-int/2addr·v2,·v3 |
62 | ····.line·41 | ||
61 | ····invoke-virtual·{v1,·v2},·Landroid/widget/ListView;->getChildAt(I)Landroid/view/View; | 63 | ····invoke-virtual·{v1,·v2},·Landroid/widget/ListView;->getChildAt(I)Landroid/view/View; |
62 | ····move-result-object·v0 | 64 | ····move-result-object·v0 |
63 | ····.line·44 | 65 | ····.line·44 |
64 | ····.local·v0,·"v":Landroid/view/View; | 66 | ····.local·v0,·"v":Landroid/view/View; |
65 | ····if-nez·v0,·:cond_0 | 67 | ····if-nez·v0,·:cond_0 |
Offset 17, 10 lines modified | Offset 17, 9 lines modified | ||
17 | .method·public·constructor·<init>()V | 17 | .method·public·constructor·<init>()V |
18 | ····.locals·0 | 18 | ····.locals·0 |
19 | ····.prologue | 19 | ····.prologue |
20 | ····.line·9 | 20 | ····.line·9 |
21 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 21 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
22 | ····.line·21 | ||
23 | ····return-void | 22 | ····return-void |
24 | .end·method | 23 | .end·method |
Offset 32, 14 lines modified | Offset 32, 15 lines modified | ||
32 | .field·final·synthetic·val$refreshKey:Ljava/lang/Long; | 32 | .field·final·synthetic·val$refreshKey:Ljava/lang/Long; |
33 | #·direct·methods | 33 | #·direct·methods |
34 | .method·constructor·<init>(Lorg/isoron/uhabits/BaseActivity;Lorg/isoron/uhabits/commands/Command;Ljava/lang/Long;)V | 34 | .method·constructor·<init>(Lorg/isoron/uhabits/BaseActivity;Lorg/isoron/uhabits/commands/Command;Ljava/lang/Long;)V |
35 | ····.locals·0 | 35 | ····.locals·0 |
36 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/BaseActivity; | ||
36 | ····.prologue | 37 | ····.prologue |
37 | ····.line·110 | 38 | ····.line·110 |
38 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/BaseActivity$1;->this$0:Lorg/isoron/uhabits/BaseActivity; | 39 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/BaseActivity$1;->this$0:Lorg/isoron/uhabits/BaseActivity; |
39 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/BaseActivity$1;->val$command:Lorg/isoron/uhabits/commands/Command; | 40 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/BaseActivity$1;->val$command:Lorg/isoron/uhabits/commands/Command; |
Offset 108, 14 lines modified | Offset 108, 15 lines modified | ||
108 | ····invoke-direct·{v0,·p0,·p1,·p3},·Lorg/isoron/uhabits/BaseActivity$1;-><init>(Lorg/isoron/uhabits/BaseActivity;Lorg/isoron/uhabits/commands/Command;Ljava/lang/Long;)V | 108 | ····invoke-direct·{v0,·p0,·p1,·p3},·Lorg/isoron/uhabits/BaseActivity$1;-><init>(Lorg/isoron/uhabits/BaseActivity;Lorg/isoron/uhabits/commands/Command;Ljava/lang/Long;)V |
109 | ····const/4·v1,·0x0 | 109 | ····const/4·v1,·0x0 |
110 | ····new-array·v1,·v1,·[Ljava/lang/Void; | 110 | ····new-array·v1,·v1,·[Ljava/lang/Void; |
111 | ····.line·124 | ||
111 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/BaseActivity$1;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; | 112 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/BaseActivity$1;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
112 | ····.line·127 | 113 | ····.line·127 |
113 | ····invoke-virtual·{p1},·Lorg/isoron/uhabits/commands/Command;->getExecuteStringId()Ljava/lang/Integer; | 114 | ····invoke-virtual·{p1},·Lorg/isoron/uhabits/commands/Command;->getExecuteStringId()Ljava/lang/Integer; |
114 | ····move-result-object·v0 | 115 | ····move-result-object·v0 |
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>(Lorg/isoron/uhabits/HabitBroadcastReceiver;Landroid/content/Context;)V | 24 | .method·constructor·<init>(Lorg/isoron/uhabits/HabitBroadcastReceiver;Landroid/content/Context;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/HabitBroadcastReceiver; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·85 | 28 | ····.line·85 |
28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$1;->this$0:Lorg/isoron/uhabits/HabitBroadcastReceiver; | 29 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$1;->this$0:Lorg/isoron/uhabits/HabitBroadcastReceiver; |
29 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$1;->val$context:Landroid/content/Context; | 30 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$1;->val$context:Landroid/content/Context; |
Offset 31, 14 lines modified | Offset 31, 15 lines modified | ||
31 | .field·final·synthetic·val$timestamp:Ljava/lang/Long; | 31 | .field·final·synthetic·val$timestamp:Ljava/lang/Long; |
32 | #·direct·methods | 32 | #·direct·methods |
33 | .method·constructor·<init>(Lorg/isoron/uhabits/HabitBroadcastReceiver;Lorg/isoron/uhabits/models/Habit;Landroid/content/Intent;Landroid/content/Context;Landroid/net/Uri;Ljava/lang/Long;Ljava/lang/Long;)V | 33 | .method·constructor·<init>(Lorg/isoron/uhabits/HabitBroadcastReceiver;Lorg/isoron/uhabits/models/Habit;Landroid/content/Intent;Landroid/content/Context;Landroid/net/Uri;Ljava/lang/Long;Ljava/lang/Long;)V |
34 | ····.locals·0 | 34 | ····.locals·0 |
35 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/HabitBroadcastReceiver; | ||
35 | ····.prologue | 36 | ····.prologue |
36 | ····.line·156 | 37 | ····.line·156 |
37 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->this$0:Lorg/isoron/uhabits/HabitBroadcastReceiver; | 38 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->this$0:Lorg/isoron/uhabits/HabitBroadcastReceiver; |
38 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$habit:Lorg/isoron/uhabits/models/Habit; | 39 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$habit:Lorg/isoron/uhabits/models/Habit; |
Offset 147, 14 lines modified | Offset 148, 15 lines modified | ||
147 | ····.line·174 | 148 | ····.line·174 |
148 | ····iget-object·v10,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; | 149 | ····iget-object·v10,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; |
149 | ····const/4·v11,·0x0 | 150 | ····const/4·v11,·0x0 |
150 | ····const/high16·v12,·0x8000000 | 151 | ····const/high16·v12,·0x8000000 |
152 | ····.line·175 | ||
151 | ····invoke-static·{v10,·v11,·v1,·v12},·Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; | 153 | ····invoke-static·{v10,·v11,·v1,·v12},·Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent; |
152 | ····move-result-object·v2 | 154 | ····move-result-object·v2 |
153 | ····.line·178 | 155 | ····.line·178 |
154 | ····.local·v2,·"contentPendingIntent":Landroid/app/PendingIntent; | 156 | ····.local·v2,·"contentPendingIntent":Landroid/app/PendingIntent; |
155 | ····iget-object·v10,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; | 157 | ····iget-object·v10,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; |
Offset 199, 118 lines modified | Offset 201, 134 lines modified | ||
199 | ····.local·v7,·"ringtoneUri":Landroid/net/Uri; | 201 | ····.local·v7,·"ringtoneUri":Landroid/net/Uri; |
200 | ····new-instance·v10,·Landroid/support/v4/app/NotificationCompat$WearableExtender; | 202 | ····new-instance·v10,·Landroid/support/v4/app/NotificationCompat$WearableExtender; |
201 | ····invoke-direct·{v10},·Landroid/support/v4/app/NotificationCompat$WearableExtender;-><init>()V | 203 | ····invoke-direct·{v10},·Landroid/support/v4/app/NotificationCompat$WearableExtender;-><init>()V |
202 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; | 204 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; |
205 | ····.line·187 | ||
203 | ····invoke-virtual·{v11},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; | 206 | ····invoke-virtual·{v11},·Landroid/content/Context;->getResources()Landroid/content/res/Resources; |
204 | ····move-result-object·v11 | 207 | ····move-result-object·v11 |
205 | ····const·v12,·0x7f020079 | 208 | ····const·v12,·0x7f020079 |
206 | ····invoke-static·{v11,·v12},·Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap; | 209 | ····invoke-static·{v11,·v12},·Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap; |
207 | ····move-result-object·v11 | 210 | ····move-result-object·v11 |
211 | ····.line·186 | ||
208 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$WearableExtender;->setBackground(Landroid/graphics/Bitmap;)Landroid/support/v4/app/NotificationCompat$WearableExtender; | 212 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$WearableExtender;->setBackground(Landroid/graphics/Bitmap;)Landroid/support/v4/app/NotificationCompat$WearableExtender; |
209 | ····move-result-object·v9 | 213 | ····move-result-object·v9 |
210 | ····.line·190 | 214 | ····.line·190 |
211 | ····.local·v9,·"wearableExtender":Landroid/support/v4/app/NotificationCompat$WearableExtender; | 215 | ····.local·v9,·"wearableExtender":Landroid/support/v4/app/NotificationCompat$WearableExtender; |
212 | ····new-instance·v10,·Landroid/support/v4/app/NotificationCompat$Builder; | 216 | ····new-instance·v10,·Landroid/support/v4/app/NotificationCompat$Builder; |
213 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; | 217 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$context:Landroid/content/Context; |
214 | ····invoke-direct·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;-><init>(Landroid/content/Context;)V | 218 | ····invoke-direct·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;-><init>(Landroid/content/Context;)V |
215 | ····const·v11,·0x7f02006a | 219 | ····const·v11,·0x7f02006a |
220 | ····.line·192 | ||
216 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;->setSmallIcon(I)Landroid/support/v4/app/NotificationCompat$Builder; | 221 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;->setSmallIcon(I)Landroid/support/v4/app/NotificationCompat$Builder; |
217 | ····move-result-object·v10 | 222 | ····move-result-object·v10 |
218 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$habit:Lorg/isoron/uhabits/models/Habit; | 223 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$habit:Lorg/isoron/uhabits/models/Habit; |
219 | ····iget-object·v11,·v11,·Lorg/isoron/uhabits/models/Habit;->name:Ljava/lang/String; | 224 | ····iget-object·v11,·v11,·Lorg/isoron/uhabits/models/Habit;->name:Ljava/lang/String; |
225 | ····.line·193 | ||
220 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; | 226 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; |
221 | ····move-result-object·v10 | 227 | ····move-result-object·v10 |
222 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$habit:Lorg/isoron/uhabits/models/Habit; | 228 | ····iget-object·v11,·p0,·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->val$habit:Lorg/isoron/uhabits/models/Habit; |
223 | ····iget-object·v11,·v11,·Lorg/isoron/uhabits/models/Habit;->description:Ljava/lang/String; | 229 | ····iget-object·v11,·v11,·Lorg/isoron/uhabits/models/Habit;->description:Ljava/lang/String; |
230 | ····.line·194 | ||
224 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; | 231 | ····invoke-virtual·{v10,·v11},·Landroid/support/v4/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/support/v4/app/NotificationCompat$Builder; |
225 | ····move-result-object·v10 | 232 | ····move-result-object·v10 |
233 | ····.line·195 | ||
226 | ····invoke-virtual·{v10,·v2},·Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; | 234 | ····invoke-virtual·{v10,·v2},·Landroid/support/v4/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; |
227 | ····move-result-object·v10 | 235 | ····move-result-object·v10 |
236 | ····.line·196 | ||
228 | ····invoke-virtual·{v10,·v3},·Landroid/support/v4/app/NotificationCompat$Builder;->setDeleteIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; | 237 | ····invoke-virtual·{v10,·v3},·Landroid/support/v4/app/NotificationCompat$Builder;->setDeleteIntent(Landroid/app/PendingIntent;)Landroid/support/v4/app/NotificationCompat$Builder; |
229 | ····move-result-object·v10 | 238 | ····move-result-object·v10 |
230 | ····const·v11,·0x7f02005c | 239 | ····const·v11,·0x7f02005c |
Max diff block lines reached; 2936/7176 bytes (40.91%) of diff not shown. |
Offset 447, 145 lines modified | Offset 447, 144 lines modified | ||
447 | ····move-result-object·v2 | 447 | ····move-result-object·v2 |
448 | ····goto/16·:goto_0 | 448 | ····goto/16·:goto_0 |
449 | .end·method | 449 | .end·method |
450 | .method·public·static·getLogcat()Ljava/lang/String; | 450 | .method·public·static·getLogcat()Ljava/lang/String; |
451 |
····.locals·1 |
451 | ····.locals·11 |
452 | ····.annotation·system·Ldalvik/annotation/Throws; | 452 | ····.annotation·system·Ldalvik/annotation/Throws; |
453 | ········value·=·{ | 453 | ········value·=·{ |
454 | ············Ljava/io/IOException; | 454 | ············Ljava/io/IOException; |
455 | ········} | 455 | ········} |
456 | ····.end·annotation | 456 | ····.end·annotation |
457 | ····.prologue | 457 | ····.prologue |
458 | ····.line·91 | 458 | ····.line·91 |
459 |
····const/16·v |
459 | ····const/16·v7,·0xfa |
460 | ····.line·92 | 460 | ····.line·92 |
461 |
····.local·v |
461 | ····.local·v7,·"maxNLines":I |
462 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 462 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
463 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 463 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
464 | ····.line·94 | 464 | ····.line·94 |
465 | ····.local·v1,·"builder":Ljava/lang/StringBuilder; | 465 | ····.local·v1,·"builder":Ljava/lang/StringBuilder; |
466 |
····const/4·v |
466 | ····const/4·v9,·0x2 |
467 |
····new-array·v2,·v |
467 | ····new-array·v2,·v9,·[Ljava/lang/String; |
468 |
····const/4·v |
468 | ····const/4·v9,·0x0 |
469 |
····const-string·v1 |
469 | ····const-string·v10,·"logcat" |
470 |
····aput-object·v1 |
470 | ····aput-object·v10,·v2,·v9 |
471 |
····const/4·v |
471 | ····const/4·v9,·0x1 |
472 |
····const-string·v1 |
472 | ····const-string·v10,·"-d" |
473 |
····aput-object·v1 |
473 | ····aput-object·v10,·v2,·v9 |
474 | ····.line·95 | 474 | ····.line·95 |
475 | ····.local·v2,·"command":[Ljava/lang/String; | 475 | ····.local·v2,·"command":[Ljava/lang/String; |
476 | ····invoke-static·{},·Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime; | 476 | ····invoke-static·{},·Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime; |
477 |
····move-result-object·v |
477 | ····move-result-object·v9 |
478 |
····invoke-virtual·{v |
478 | ····invoke-virtual·{v9,·v2},·Ljava/lang/Runtime;->exec([Ljava/lang/String;)Ljava/lang/Process; |
479 |
····move-result-object·v |
479 | ····move-result-object·v8 |
480 | ····.line·97 | 480 | ····.line·97 |
481 |
····.local·v |
481 | ····.local·v8,·"process":Ljava/lang/Process; |
482 |
····new-instance·v |
482 | ····new-instance·v3,·Ljava/io/InputStreamReader; |
483 |
····invoke-virtual·{v |
483 | ····invoke-virtual·{v8},·Ljava/lang/Process;->getInputStream()Ljava/io/InputStream; |
484 |
····move-result-object·v |
484 | ····move-result-object·v9 |
485 |
····invoke-direct·{v |
485 | ····invoke-direct·{v3,·v9},·Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V |
486 | ····.line·98 | 486 | ····.line·98 |
487 |
····.local·v |
487 | ····.local·v3,·"in":Ljava/io/InputStreamReader; |
488 | ····new-instance·v0,·Ljava/io/BufferedReader; | 488 | ····new-instance·v0,·Ljava/io/BufferedReader; |
489 |
····invoke-direct·{v0,·v |
489 | ····invoke-direct·{v0,·v3},·Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V |
490 | ····.line·100 | 490 | ····.line·100 |
491 | ····.local·v0,·"bufferedReader":Ljava/io/BufferedReader; | 491 | ····.local·v0,·"bufferedReader":Ljava/io/BufferedReader; |
492 |
····new-instance·v |
492 | ····new-instance·v6,·Ljava/util/LinkedList; |
493 |
····invoke-direct·{v |
493 | ····invoke-direct·{v6},·Ljava/util/LinkedList;-><init>()V |
494 | ····.line·103 | 494 | ····.line·103 |
495 |
····.local·v |
495 | ····.local·v6,·"log":Ljava/util/LinkedList;,·"Ljava/util/LinkedList<Ljava/lang/String;>;" |
496 | ····:cond_0 | 496 | ····:cond_0 |
497 | ····:goto_0 | 497 | ····:goto_0 |
498 | ····invoke-virtual·{v0},·Ljava/io/BufferedReader;->readLine()Ljava/lang/String; | 498 | ····invoke-virtual·{v0},·Ljava/io/BufferedReader;->readLine()Ljava/lang/String; |
499 |
····move-result-object·v |
499 | ····move-result-object·v5 |
500 |
····.local·v |
500 | ····.local·v5,·"line":Ljava/lang/String; |
501 |
····if-eqz·v |
501 | ····if-eqz·v5,·:cond_1 |
502 | ····.line·105 | 502 | ····.line·105 |
503 |
····invoke-virtual·{v |
503 | ····invoke-virtual·{v6,·v5},·Ljava/util/LinkedList;->addLast(Ljava/lang/Object;)V |
504 | ····.line·106 | 504 | ····.line·106 |
505 |
····invoke-virtual·{v |
505 | ····invoke-virtual·{v6},·Ljava/util/LinkedList;->size()I |
506 |
····move-result·v |
506 | ····move-result·v9 |
507 |
····if-le·v |
507 | ····if-le·v9,·v7,·:cond_0 |
508 |
····invoke-virtual·{v |
508 | ····invoke-virtual·{v6},·Ljava/util/LinkedList;->removeFirst()Ljava/lang/Object; |
509 | ····goto·:goto_0 | 509 | ····goto·:goto_0 |
Max diff block lines reached; 1624/5527 bytes (29.38%) of diff not shown. |
Offset 31, 26 lines modified | Offset 31, 29 lines modified | ||
31 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; | 31 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; |
32 | ····move-result-object·v0 | 32 | ····move-result-object·v0 |
33 | ····const·v1,·0x7f070053 | 33 | ····const·v1,·0x7f070053 |
34 | ····.line·36 | ||
34 | ····invoke-virtual·{p0,·v1},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; | 35 | ····invoke-virtual·{p0,·v1},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; |
35 | ····move-result-object·v1 | 36 | ····move-result-object·v1 |
36 | ····const·v2,·0x7f02006f | 37 | ····const·v2,·0x7f02006f |
37 | ····const-string·v3,·"#194673" | 38 | ····const-string·v3,·"#194673" |
39 | ····.line·37 | ||
38 | ····invoke-static·{v3},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 40 | ····invoke-static·{v3},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
39 | ····move-result·v3 | 41 | ····move-result·v3 |
42 | ····.line·35 | ||
40 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/github/paolorotolo/appintro/AppIntroFragment;->newInstance(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)Lcom/github/paolorotolo/appintro/AppIntroFragment; | 43 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/github/paolorotolo/appintro/AppIntroFragment;->newInstance(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)Lcom/github/paolorotolo/appintro/AppIntroFragment; |
41 | ····move-result-object·v0 | 44 | ····move-result-object·v0 |
42 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->addSlide(Landroid/support/v4/app/Fragment;)V | 45 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->addSlide(Landroid/support/v4/app/Fragment;)V |
43 | ····.line·39 | 46 | ····.line·39 |
Offset 58, 26 lines modified | Offset 61, 29 lines modified | ||
58 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; | 61 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; |
59 | ····move-result-object·v0 | 62 | ····move-result-object·v0 |
60 | ····const·v1,·0x7f070054 | 63 | ····const·v1,·0x7f070054 |
64 | ····.line·40 | ||
61 | ····invoke-virtual·{p0,·v1},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; | 65 | ····invoke-virtual·{p0,·v1},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; |
62 | ····move-result-object·v1 | 66 | ····move-result-object·v1 |
63 | ····const·v2,·0x7f020070 | 67 | ····const·v2,·0x7f020070 |
64 | ····const-string·v3,·"#ffa726" | 68 | ····const-string·v3,·"#ffa726" |
69 | ····.line·41 | ||
65 | ····invoke-static·{v3},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 70 | ····invoke-static·{v3},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
66 | ····move-result·v3 | 71 | ····move-result·v3 |
72 | ····.line·39 | ||
67 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/github/paolorotolo/appintro/AppIntroFragment;->newInstance(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)Lcom/github/paolorotolo/appintro/AppIntroFragment; | 73 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/github/paolorotolo/appintro/AppIntroFragment;->newInstance(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)Lcom/github/paolorotolo/appintro/AppIntroFragment; |
68 | ····move-result-object·v0 | 74 | ····move-result-object·v0 |
69 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->addSlide(Landroid/support/v4/app/Fragment;)V | 75 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->addSlide(Landroid/support/v4/app/Fragment;)V |
70 | ····.line·43 | 76 | ····.line·43 |
Offset 85, 26 lines modified | Offset 91, 29 lines modified | ||
85 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; | 91 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; |
86 | ····move-result-object·v0 | 92 | ····move-result-object·v0 |
87 | ····const·v1,·0x7f070056 | 93 | ····const·v1,·0x7f070056 |
94 | ····.line·44 | ||
88 | ····invoke-virtual·{p0,·v1},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; | 95 | ····invoke-virtual·{p0,·v1},·Lorg/isoron/uhabits/IntroActivity;->getString(I)Ljava/lang/String; |
89 | ····move-result-object·v1 | 96 | ····move-result-object·v1 |
90 | ····const·v2,·0x7f020071 | 97 | ····const·v2,·0x7f020071 |
91 | ····const-string·v3,·"#9575cd" | 98 | ····const-string·v3,·"#9575cd" |
99 | ····.line·45 | ||
92 | ····invoke-static·{v3},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 100 | ····invoke-static·{v3},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
93 | ····move-result·v3 | 101 | ····move-result·v3 |
102 | ····.line·43 | ||
94 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/github/paolorotolo/appintro/AppIntroFragment;->newInstance(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)Lcom/github/paolorotolo/appintro/AppIntroFragment; | 103 | ····invoke-static·{v0,·v1,·v2,·v3},·Lcom/github/paolorotolo/appintro/AppIntroFragment;->newInstance(Ljava/lang/CharSequence;Ljava/lang/CharSequence;II)Lcom/github/paolorotolo/appintro/AppIntroFragment; |
95 | ····move-result-object·v0 | 104 | ····move-result-object·v0 |
96 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->addSlide(Landroid/support/v4/app/Fragment;)V | 105 | ····invoke-virtual·{p0,·v0},·Lorg/isoron/uhabits/IntroActivity;->addSlide(Landroid/support/v4/app/Fragment;)V |
97 | ····.line·46 | 106 | ····.line·46 |
Offset 28, 14 lines modified | Offset 28, 15 lines modified | ||
28 | #·instance·fields | 28 | #·instance·fields |
29 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/MainActivity; | 29 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/MainActivity; |
30 | #·direct·methods | 30 | #·direct·methods |
31 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V | 31 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V |
32 | ····.locals·0 | 32 | ····.locals·0 |
33 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/MainActivity; | ||
33 | ····.prologue | 34 | ····.prologue |
34 | ····.line·113 | 35 | ····.line·113 |
35 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$1;->this$0:Lorg/isoron/uhabits/MainActivity; | 36 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$1;->this$0:Lorg/isoron/uhabits/MainActivity; |
36 | ····invoke-direct·{p0},·Landroid/os/AsyncTask;-><init>()V | 37 | ····invoke-direct·{p0},·Landroid/os/AsyncTask;-><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/isoron/uhabits/MainActivity; | 21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/MainActivity; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V | 23 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/MainActivity; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·200 | 27 | ····.line·200 |
27 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$2;->this$0:Lorg/isoron/uhabits/MainActivity; | 28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$2;->this$0:Lorg/isoron/uhabits/MainActivity; |
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/isoron/uhabits/MainActivity; | 18 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/MainActivity; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V | 20 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/MainActivity; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·283 | 24 | ····.line·283 |
24 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$3;->this$0:Lorg/isoron/uhabits/MainActivity; | 25 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$3;->this$0:Lorg/isoron/uhabits/MainActivity; |
25 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><init>()V | 26 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><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/isoron/uhabits/MainActivity; | 18 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/MainActivity; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V | 20 | .method·constructor·<init>(Lorg/isoron/uhabits/MainActivity;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/MainActivity; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·328 | 24 | ····.line·328 |
24 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$Receiver;->this$0:Lorg/isoron/uhabits/MainActivity; | 25 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/MainActivity$Receiver;->this$0:Lorg/isoron/uhabits/MainActivity; |
25 | ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/content/BroadcastReceiver;-><init>()V |
Offset 40, 15 lines modified | Offset 40, 14 lines modified | ||
40 | .method·public·constructor·<init>()V | 40 | .method·public·constructor·<init>()V |
41 | ····.locals·0 | 41 | ····.locals·0 |
42 | ····.prologue | 42 | ····.prologue |
43 | ····.line·58 | 43 | ····.line·58 |
44 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/BaseActivity;-><init>()V | 44 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/BaseActivity;-><init>()V |
45 | ····.line·328 | ||
46 | ····return-void | 45 | ····return-void |
47 | .end·method | 46 | .end·method |
48 | .method·static·synthetic·access$000(Lorg/isoron/uhabits/MainActivity;Landroid/content/Context;)V | 47 | .method·static·synthetic·access$000(Lorg/isoron/uhabits/MainActivity;Landroid/content/Context;)V |
49 | ····.locals·0 | 48 | ····.locals·0 |
50 | ····.param·p0,·"x0"····#·Lorg/isoron/uhabits/MainActivity; | 49 | ····.param·p0,·"x0"····#·Lorg/isoron/uhabits/MainActivity; |
51 | ····.param·p1,·"x1"····#·Landroid/content/Context; | 50 | ····.param·p1,·"x1"····#·Landroid/content/Context; |
Offset 75, 21 lines modified | Offset 74, 20 lines modified | ||
75 | ····.locals·3 | 74 | ····.locals·3 |
76 | ····.param·p1,·"context"····#·Landroid/content/Context; | 75 | ····.param·p1,·"context"····#·Landroid/content/Context; |
77 | ····.prologue | 76 | ····.prologue |
78 | ····.line·295 | 77 | ····.line·295 |
79 | ····invoke-static·{},·Lorg/isoron/uhabits/models/Habit;->getHabitsWithReminder()Ljava/util/List; | 78 | ····invoke-static·{},·Lorg/isoron/uhabits/models/Habit;->getHabitsWithReminder()Ljava/util/List; |
80 |
····move-result-object·v |
79 | ····move-result-object·v1 |
81 |
····invoke-interface·{v |
80 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
82 | ····move-result-object·v1 | 81 | ····move-result-object·v1 |
83 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
84 | ····:cond_0 | 82 | ····:cond_0 |
85 | ····:goto_0 | 83 | ····:goto_0 |
86 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 84 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
87 | ····move-result·v2 | 85 | ····move-result·v2 |
88 | ····if-eqz·v2,·:cond_1 | 86 | ····if-eqz·v2,·:cond_1 |
Offset 329, 14 lines modified | Offset 327, 15 lines modified | ||
329 | ····.line·113 | 327 | ····.line·113 |
330 | ····new-instance·v0,·Lorg/isoron/uhabits/MainActivity$1; | 328 | ····new-instance·v0,·Lorg/isoron/uhabits/MainActivity$1; |
331 | ····invoke-direct·{v0,·p0},·Lorg/isoron/uhabits/MainActivity$1;-><init>(Lorg/isoron/uhabits/MainActivity;)V | 329 | ····invoke-direct·{v0,·p0},·Lorg/isoron/uhabits/MainActivity$1;-><init>(Lorg/isoron/uhabits/MainActivity;)V |
332 | ····new-array·v1,·v1,·[Ljava/lang/Void; | 330 | ····new-array·v1,·v1,·[Ljava/lang/Void; |
331 | ····.line·121 | ||
333 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/MainActivity$1;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; | 332 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/MainActivity$1;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
334 | ····.line·123 | 333 | ····.line·123 |
335 | ····return-void | 334 | ····return-void |
336 | .end·method | 335 | .end·method |
337 | .method·private·refreshTheme()V | 336 | .method·private·refreshTheme()V |
Offset 592, 15 lines modified | Offset 591, 15 lines modified | ||
592 | ····.line·82 | 591 | ····.line·82 |
593 | ····invoke-static·{p0},·Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; | 592 | ····invoke-static·{p0},·Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; |
594 | ····move-result-object·v0 | 593 | ····move-result-object·v0 |
595 | ····iput-object·v0,·p0,·Lorg/isoron/uhabits/MainActivity;->prefs:Landroid/content/SharedPreferences; | 594 | ····iput-object·v0,·p0,·Lorg/isoron/uhabits/MainActivity;->prefs:Landroid/content/SharedPreferences; |
596 |
····.line·8 |
595 | ····.line·84 |
597 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/MainActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager; | 596 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/MainActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager; |
598 | ····move-result-object·v0 | 597 | ····move-result-object·v0 |
599 | ····const·v1,·0x7f0e00a9 | 598 | ····const·v1,·0x7f0e00a9 |
600 | ····invoke-virtual·{v0,·v1},·Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment; | 599 | ····invoke-virtual·{v0,·v1},·Landroid/support/v4/app/FragmentManager;->findFragmentById(I)Landroid/support/v4/app/Fragment; |
Offset 895, 14 lines modified | Offset 894, 15 lines modified | ||
895 | ····invoke-direct·{v0,·p0},·Lorg/isoron/uhabits/MainActivity$3;-><init>(Lorg/isoron/uhabits/MainActivity;)V | 894 | ····invoke-direct·{v0,·p0},·Lorg/isoron/uhabits/MainActivity$3;-><init>(Lorg/isoron/uhabits/MainActivity;)V |
896 | ····const/4·v1,·0x0 | 895 | ····const/4·v1,·0x0 |
897 | ····new-array·v1,·v1,·[Ljava/lang/Void; | 896 | ····new-array·v1,·v1,·[Ljava/lang/Void; |
897 | ····.line·290 | ||
898 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/MainActivity$3;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; | 898 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/MainActivity$3;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
899 | ····.line·291 | 899 | ····.line·291 |
900 | ····return-void | 900 | ····return-void |
901 | .end·method | 901 | .end·method |
902 | .method·public·onRequestPermissionsResult(I[Ljava/lang/String;[I)V | 902 | .method·public·onRequestPermissionsResult(I[Ljava/lang/String;[I)V |
Offset 205, 26 lines modified | Offset 205, 29 lines modified | ||
205 | ····move-result-object·v1 | 205 | ····move-result-object·v1 |
206 | ····invoke-static·{v1},·Landroid/support/v4/app/TaskStackBuilder;->create(Landroid/content/Context;)Landroid/support/v4/app/TaskStackBuilder; | 206 | ····invoke-static·{v1},·Landroid/support/v4/app/TaskStackBuilder;->create(Landroid/content/Context;)Landroid/support/v4/app/TaskStackBuilder; |
207 | ····move-result-object·v1 | 207 | ····move-result-object·v1 |
208 | ····.line·257 | ||
208 | ····invoke-virtual·{v1,·v0},·Landroid/support/v4/app/TaskStackBuilder;->addNextIntentWithParentStack(Landroid/content/Intent;)Landroid/support/v4/app/TaskStackBuilder; | 209 | ····invoke-virtual·{v1,·v0},·Landroid/support/v4/app/TaskStackBuilder;->addNextIntentWithParentStack(Landroid/content/Intent;)Landroid/support/v4/app/TaskStackBuilder; |
209 | ····move-result-object·v1 | 210 | ····move-result-object·v1 |
210 | ····const/4·v2,·0x0 | 211 | ····const/4·v2,·0x0 |
211 | ····const/high16·v3,·0x8000000 | 212 | ····const/high16·v3,·0x8000000 |
213 | ····.line·258 | ||
212 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/support/v4/app/TaskStackBuilder;->getPendingIntent(II)Landroid/app/PendingIntent; | 214 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/support/v4/app/TaskStackBuilder;->getPendingIntent(II)Landroid/app/PendingIntent; |
213 | ····move-result-object·v1 | 215 | ····move-result-object·v1 |
216 | ····.line·256 | ||
214 | ····return-object·v1 | 217 | ····return-object·v1 |
215 | .end·method | 218 | .end·method |
216 | .method·private·checkHabit(Landroid/content/Context;Landroid/content/Intent;)V | 219 | .method·private·checkHabit(Landroid/content/Context;Landroid/content/Intent;)V |
217 | ····.locals·8 | 220 | ····.locals·8 |
218 | ····.param·p1,·"context"····#·Landroid/content/Context; | 221 | ····.param·p1,·"context"····#·Landroid/content/Context; |
219 | ····.param·p2,·"intent"····#·Landroid/content/Intent; | 222 | ····.param·p2,·"intent"····#·Landroid/content/Intent; |
Offset 414, 14 lines modified | Offset 417, 15 lines modified | ||
414 | ····invoke-direct/range·{v0·..·v7},·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;-><init>(Lorg/isoron/uhabits/HabitBroadcastReceiver;Lorg/isoron/uhabits/models/Habit;Landroid/content/Intent;Landroid/content/Context;Landroid/net/Uri;Ljava/lang/Long;Ljava/lang/Long;)V | 417 | ····invoke-direct/range·{v0·..·v7},·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;-><init>(Lorg/isoron/uhabits/HabitBroadcastReceiver;Lorg/isoron/uhabits/models/Habit;Landroid/content/Intent;Landroid/content/Context;Landroid/net/Uri;Ljava/lang/Long;Ljava/lang/Long;)V |
415 | ····const/4·v1,·0x0 | 418 | ····const/4·v1,·0x0 |
416 | ····new-array·v1,·v1,·[Ljava/lang/Void; | 419 | ····new-array·v1,·v1,·[Ljava/lang/Void; |
420 | ····.line·218 | ||
417 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; | 421 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/HabitBroadcastReceiver$2;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
418 | ····goto·:goto_0 | 422 | ····goto·:goto_0 |
419 | .end·method | 423 | .end·method |
420 | .method·private·createReminderAlarmsDelayed(Landroid/content/Context;)V | 424 | .method·private·createReminderAlarmsDelayed(Landroid/content/Context;)V |
421 | ····.locals·4 | 425 | ····.locals·4 |
Offset 458, 14 lines modified | Offset 462, 15 lines modified | ||
458 | ····.param·p1,·"context"····#·Landroid/content/Context; | 462 | ····.param·p1,·"context"····#·Landroid/content/Context; |
459 | ····.param·p2,·"habitId"····#·Ljava/lang/Long; | 463 | ····.param·p2,·"habitId"····#·Ljava/lang/Long; |
460 | ····.prologue | 464 | ····.prologue |
461 | ····.line·138 | 465 | ····.line·138 |
462 | ····const-string·v2,·"notification" | 466 | ····const-string·v2,·"notification" |
467 | ····.line·139 | ||
463 | ····invoke-virtual·{p1,·v2},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 468 | ····invoke-virtual·{p1,·v2},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
464 | ····move-result-object·v1 | 469 | ····move-result-object·v1 |
465 | ····check-cast·v1,·Landroid/app/NotificationManager; | 470 | ····check-cast·v1,·Landroid/app/NotificationManager; |
466 | ····.line·141 | 471 | ····.line·141 |
Offset 493, 14 lines modified | Offset 498, 15 lines modified | ||
493 | ····.param·p0,·"context"····#·Landroid/content/Context; | 498 | ····.param·p0,·"context"····#·Landroid/content/Context; |
494 | ····.param·p1,·"habit"····#·Lorg/isoron/uhabits/models/Habit; | 499 | ····.param·p1,·"habit"····#·Lorg/isoron/uhabits/models/Habit; |
495 | ····.prologue | 500 | ····.prologue |
496 | ····.line·273 | 501 | ····.line·273 |
497 | ····const-string·v2,·"notification" | 502 | ····const-string·v2,·"notification" |
503 | ····.line·274 | ||
498 | ····invoke-virtual·{p0,·v2},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 504 | ····invoke-virtual·{p0,·v2},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
499 | ····move-result-object·v1 | 505 | ····move-result-object·v1 |
500 | ····check-cast·v1,·Landroid/app/NotificationManager; | 506 | ····check-cast·v1,·Landroid/app/NotificationManager; |
501 | ····.line·277 | 507 | ····.line·277 |
Offset 604, 14 lines modified | Offset 610, 15 lines modified | ||
604 | ····if-eqz·v1,·:cond_0 | 610 | ····if-eqz·v1,·:cond_0 |
605 | ····.line·103 | 611 | ····.line·103 |
606 | ····new-instance·v7,·Ljava/util/Date; | 612 | ····new-instance·v7,·Ljava/util/Date; |
607 | ····invoke-direct·{v7},·Ljava/util/Date;-><init>()V | 613 | ····invoke-direct·{v7},·Ljava/util/Date;-><init>()V |
614 | ····.line·104 | ||
608 | ····invoke-virtual·{v7},·Ljava/util/Date;->getTime()J | 615 | ····invoke-virtual·{v7},·Ljava/util/Date;->getTime()J |
609 | ····move-result-wide·v8 | 616 | ····move-result-wide·v8 |
610 | ····const-wide/16·v10,·0x3c | 617 | ····const-wide/16·v10,·0x3c |
611 | ····mul-long/2addr·v10,·v2 | 618 | ····mul-long/2addr·v10,·v2 |
Offset 622, 14 lines modified | Offset 629, 15 lines modified | ||
622 | ····add-long/2addr·v8,·v10 | 629 | ····add-long/2addr·v8,·v10 |
623 | ····invoke-static·{v8,·v9},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 630 | ····invoke-static·{v8,·v9},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
Max diff block lines reached; 325/3223 bytes (10.08%) of diff not shown. |
Offset 30, 10 lines modified | Offset 30, 9 lines modified | ||
30 | .method·public·constructor·<init>()V | 30 | .method·public·constructor·<init>()V |
31 | ····.locals·0 | 31 | ····.locals·0 |
32 | ····.prologue | 32 | ····.prologue |
33 | ····.line·10 | 33 | ····.line·10 |
34 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 34 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
35 | ····.line·4314 | ||
36 | ····return-void | 35 | ····return-void |
37 | .end·method | 36 | .end·method |
Offset 53, 30 lines modified | Offset 53, 29 lines modified | ||
53 | ····.line·39 | 53 | ····.line·39 |
54 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;->habits:Ljava/util/List; | 54 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;->habits:Ljava/util/List; |
55 | ····.line·40 | 55 | ····.line·40 |
56 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;->newColor:Ljava/lang/Integer; | 56 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;->newColor:Ljava/lang/Integer; |
57 | ····.line·41 | 57 | ····.line·41 |
58 |
····new-instance·v |
58 | ····new-instance·v1,·Ljava/util/ArrayList; |
59 | ····invoke-interface·{p1},·Ljava/util/List;->size()I | 59 | ····invoke-interface·{p1},·Ljava/util/List;->size()I |
60 |
····move-result·v |
60 | ····move-result·v2 |
61 |
····invoke-direct·{v |
61 | ····invoke-direct·{v1,·v2},·Ljava/util/ArrayList;-><init>(I)V |
62 |
····iput-object·v |
62 | ····iput-object·v1,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;->originalColors:Ljava/util/List; |
63 | ····.line·43 | 63 | ····.line·43 |
64 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 64 | ····invoke-interface·{p1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
65 | ····move-result-object·v1 | 65 | ····move-result-object·v1 |
66 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
67 | ····:goto_0 | 66 | ····:goto_0 |
68 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 67 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
69 | ····move-result·v2 | 68 | ····move-result·v2 |
70 | ····if-eqz·v2,·:cond_0 | 69 | ····if-eqz·v2,·:cond_0 |
Offset 44, 21 lines modified | Offset 44, 20 lines modified | ||
44 | #·virtual·methods | 44 | #·virtual·methods |
45 | .method·public·execute()V | 45 | .method·public·execute()V |
46 | ····.locals·3 | 46 | ····.locals·3 |
47 | ····.prologue | 47 | ····.prologue |
48 | ····.line·39 | 48 | ····.line·39 |
49 |
····iget-object·v |
49 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/commands/DeleteHabitsCommand;->habits:Ljava/util/List; |
50 |
····invoke-interface·{v |
50 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
51 | ····move-result-object·v1 | 51 | ····move-result-object·v1 |
52 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
53 | ····:goto_0 | 52 | ····:goto_0 |
54 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 53 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
55 | ····move-result·v2 | 54 | ····move-result·v2 |
56 | ····if-eqz·v2,·:cond_0 | 55 | ····if-eqz·v2,·:cond_0 |
Offset 67, 14 lines modified | Offset 67, 15 lines modified | ||
67 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/Habit;->freqNum:Ljava/lang/Integer; | 67 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/Habit;->freqNum:Ljava/lang/Integer; |
68 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/commands/EditHabitCommand;->modified:Lorg/isoron/uhabits/models/Habit; | 68 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/commands/EditHabitCommand;->modified:Lorg/isoron/uhabits/models/Habit; |
69 | ····iget-object·v1,·v1,·Lorg/isoron/uhabits/models/Habit;->freqNum:Ljava/lang/Integer; | 69 | ····iget-object·v1,·v1,·Lorg/isoron/uhabits/models/Habit;->freqNum:Ljava/lang/Integer; |
70 | ····.line·39 | ||
70 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z | 71 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Integer;->equals(Ljava/lang/Object;)Z |
71 | ····move-result·v0 | 72 | ····move-result·v0 |
72 | ····if-nez·v0,·:cond_1 | 73 | ····if-nez·v0,·:cond_1 |
73 | ····:cond_0 | 74 | ····:cond_0 |
Offset 82, 15 lines modified | Offset 83, 15 lines modified | ||
82 | ····:goto_0 | 83 | ····:goto_0 |
83 | ····iput-boolean·v0,·p0,·Lorg/isoron/uhabits/commands/EditHabitCommand;->hasIntervalChanged:Z | 84 | ····iput-boolean·v0,·p0,·Lorg/isoron/uhabits/commands/EditHabitCommand;->hasIntervalChanged:Z |
84 | ····.line·40 | 85 | ····.line·40 |
85 | ····return-void | 86 | ····return-void |
86 |
····.line·3 |
87 | ····.line·39 |
87 | ····:cond_1 | 88 | ····:cond_1 |
88 | ····const/4·v0,·0x0 | 89 | ····const/4·v0,·0x0 |
89 | ····goto·:goto_0 | 90 | ····goto·:goto_0 |
90 | .end·method | 91 | .end·method |
91 | .method·private·copyAttributes(Lorg/isoron/uhabits/models/Habit;)V | 92 | .method·private·copyAttributes(Lorg/isoron/uhabits/models/Habit;)V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; | 21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;)V | 23 | .method·constructor·<init>(Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·57 | 27 | ····.line·57 |
27 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand$1;->this$0:Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; | 28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand$1;->this$0:Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 37, 66 lines modified | Offset 38, 65 lines modified | ||
37 | #·virtual·methods | 38 | #·virtual·methods |
38 | .method·public·execute()V | 39 | .method·public·execute()V |
39 | ····.locals·5 | 40 | ····.locals·5 |
40 | ····.prologue | 41 | ····.prologue |
41 | ····.line·61 | 42 | ····.line·61 |
42 |
····const/4·v |
43 | ····const/4·v1,·0x0 |
43 | ····.line·62 | 44 | ····.line·62 |
44 |
····.local·v |
45 | ····.local·v1,·"k":I |
45 |
····iget-object·v |
46 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand$1;->this$0:Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; |
46 |
····iget-object·v |
47 | ····iget-object·v3,·v3,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;->habits:Ljava/util/List; |
47 |
····invoke-interface·{v |
48 | ····invoke-interface·{v3},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
48 |
····move-result-object·v |
49 | ····move-result-object·v4 |
49 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
50 | ····:goto_0 | 50 | ····:goto_0 |
51 |
····invoke-interface·{v |
51 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z |
52 |
····move-result·v |
52 | ····move-result·v3 |
53 |
····if-eqz·v |
53 | ····if-eqz·v3,·:cond_0 |
54 |
····invoke-interface·{v |
54 | ····invoke-interface·{v4},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
55 | ····move-result-object·v0 | 55 | ····move-result-object·v0 |
56 | ····check-cast·v0,·Lorg/isoron/uhabits/models/Habit; | 56 | ····check-cast·v0,·Lorg/isoron/uhabits/models/Habit; |
57 | ····.line·64 | 57 | ····.line·64 |
58 | ····.local·v0,·"h":Lorg/isoron/uhabits/models/Habit; | 58 | ····.local·v0,·"h":Lorg/isoron/uhabits/models/Habit; |
59 |
····iget-object·v |
59 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand$1;->this$0:Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; |
60 |
····iget-object·v |
60 | ····iget-object·v3,·v3,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;->originalColors:Ljava/util/List; |
61 |
····add-int/lit8·v |
61 | ····add-int/lit8·v2,·v1,·0x1 |
62 |
····.end·local·v |
62 | ····.end·local·v1····#·"k":I |
63 |
····.local·v |
63 | ····.local·v2,·"k":I |
64 |
····invoke-interface·{v |
64 | ····invoke-interface·{v3,·v1},·Ljava/util/List;->get(I)Ljava/lang/Object; |
65 |
····move-result-object·v |
65 | ····move-result-object·v3 |
66 |
····check-cast·v |
66 | ····check-cast·v3,·Ljava/lang/Integer; |
67 |
····iput-object·v |
67 | ····iput-object·v3,·v0,·Lorg/isoron/uhabits/models/Habit;->color:Ljava/lang/Integer; |
68 | ····.line·65 | 68 | ····.line·65 |
69 | ····invoke-virtual·{v0},·Lorg/isoron/uhabits/models/Habit;->save()Ljava/lang/Long; | 69 | ····invoke-virtual·{v0},·Lorg/isoron/uhabits/models/Habit;->save()Ljava/lang/Long; |
70 |
····move·v |
70 | ····move·v1,·v2 |
71 | ····.line·66 | 71 | ····.line·66 |
72 |
····.end·local·v |
72 | ····.end·local·v2····#·"k":I |
73 |
····.restart·local·v |
73 | ····.restart·local·v1····#·"k":I |
74 | ····goto·:goto_0 | 74 | ····goto·:goto_0 |
75 | ····.line·67 | 75 | ····.line·67 |
76 | ····.end·local·v0····#·"h":Lorg/isoron/uhabits/models/Habit; | 76 | ····.end·local·v0····#·"h":Lorg/isoron/uhabits/models/Habit; |
77 | ····:cond_0 | 77 | ····:cond_0 |
78 | ····return-void | 78 | ····return-void |
79 | .end·method | 79 | .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/isoron/uhabits/dialogs/EditHabitDialogFragment; | 21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;)V | 23 | .method·constructor·<init>(Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·246 | 27 | ····.line·246 |
27 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment$1;->this$0:Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment; | 28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment$1;->this$0:Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 204, 26 lines modified | Offset 204, 28 lines modified | ||
204 | ····move-result·v0 | 204 | ····move-result·v0 |
205 | ····.line·241 | 205 | ····.line·241 |
206 | ····.local·v0,·"originalAndroidColor":I | 206 | ····.local·v0,·"originalAndroidColor":I |
207 | ····const·v2,·0x7f070023 | 207 | ····const·v2,·0x7f070023 |
208 | ····.line·242 | ||
208 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; | 209 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->getActivity()Landroid/support/v4/app/FragmentActivity; |
209 | ····move-result-object·v3 | 210 | ····move-result-object·v3 |
210 | ····invoke-static·{v3},·Lorg/isoron/uhabits/helpers/ColorHelper;->getPalette(Landroid/content/Context;)[I | 211 | ····invoke-static·{v3},·Lorg/isoron/uhabits/helpers/ColorHelper;->getPalette(Landroid/content/Context;)[I |
211 | ····move-result-object·v3 | 212 | ····move-result-object·v3 |
212 | ····const/4·v4,·0x4 | 213 | ····const/4·v4,·0x4 |
213 | ····const/4·v5,·0x2 | 214 | ····const/4·v5,·0x2 |
215 | ····.line·241 | ||
214 | ····invoke-static·{v2,·v3,·v0,·v4,·v5},·Lcom/android/colorpicker/ColorPickerDialog;->newInstance(I[IIII)Lcom/android/colorpicker/ColorPickerDialog; | 216 | ····invoke-static·{v2,·v3,·v0,·v4,·v5},·Lcom/android/colorpicker/ColorPickerDialog;->newInstance(I[IIII)Lcom/android/colorpicker/ColorPickerDialog; |
215 | ····move-result-object·v1 | 217 | ····move-result-object·v1 |
216 | ····.line·245 | 218 | ····.line·245 |
217 | ····.local·v1,·"picker":Lcom/android/colorpicker/ColorPickerDialog; | 219 | ····.local·v1,·"picker":Lcom/android/colorpicker/ColorPickerDialog; |
218 | ····new-instance·v2,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment$1; | 220 | ····new-instance·v2,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment$1; |
Offset 284, 14 lines modified | Offset 286, 15 lines modified | ||
284 | ····move-result·v1 | 286 | ····move-result·v1 |
285 | ····.line·322 | 287 | ····.line·322 |
286 | ····:cond_0 | 288 | ····:cond_0 |
287 | ····iget-boolean·v3,·p0,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->is24HourMode:Z | 289 | ····iget-boolean·v3,·p0,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->is24HourMode:Z |
290 | ····.line·323 | ||
288 | ····invoke-static·{p0,·v0,·v1,·v3},·Lcom/android/datetimepicker/time/TimePickerDialog;->newInstance(Lcom/android/datetimepicker/time/TimePickerDialog$OnTimeSetListener;IIZ)Lcom/android/datetimepicker/time/TimePickerDialog; | 291 | ····invoke-static·{p0,·v0,·v1,·v3},·Lcom/android/datetimepicker/time/TimePickerDialog;->newInstance(Lcom/android/datetimepicker/time/TimePickerDialog$OnTimeSetListener;IIZ)Lcom/android/datetimepicker/time/TimePickerDialog; |
289 | ····move-result-object·v2 | 292 | ····move-result-object·v2 |
290 | ····.line·324 | 293 | ····.line·324 |
291 | ····.local·v2,·"timePicker":Lcom/android/datetimepicker/time/TimePickerDialog; | 294 | ····.local·v2,·"timePicker":Lcom/android/datetimepicker/time/TimePickerDialog; |
292 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->getFragmentManager()Landroid/support/v4/app/FragmentManager; | 295 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->getFragmentManager()Landroid/support/v4/app/FragmentManager; |
Offset 766, 18 lines modified | Offset 769, 20 lines modified | ||
766 | ····move-result·v3 | 769 | ····move-result·v3 |
767 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->modifiedHabit:Lorg/isoron/uhabits/models/Habit; | 770 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment;->modifiedHabit:Lorg/isoron/uhabits/models/Habit; |
768 | ····iget-object·v4,·v4,·Lorg/isoron/uhabits/models/Habit;->reminderMin:Ljava/lang/Integer; | 771 | ····iget-object·v4,·v4,·Lorg/isoron/uhabits/models/Habit;->reminderMin:Ljava/lang/Integer; |
772 | ····.line·192 | ||
769 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I | 773 | ····invoke-virtual·{v4},·Ljava/lang/Integer;->intValue()I |
770 | ····move-result·v4 | 774 | ····move-result·v4 |
775 | ····.line·191 | ||
771 | ····invoke-static·{v2,·v3,·v4},·Lorg/isoron/uhabits/helpers/DateHelper;->formatTime(Landroid/content/Context;II)Ljava/lang/String; | 776 | ····invoke-static·{v2,·v3,·v4},·Lorg/isoron/uhabits/helpers/DateHelper;->formatTime(Landroid/content/Context;II)Ljava/lang/String; |
772 | ····move-result-object·v2 | 777 | ····move-result-object·v2 |
773 | ····invoke-virtual·{v1,·v2},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 778 | ····invoke-virtual·{v1,·v2},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
774 | ····.line·193 | 779 | ····.line·193 |
Offset 5, 15 lines modified | Offset 5, 14 lines modified | ||
5 | #·interfaces | 5 | #·interfaces |
6 | .implements·Landroid/widget/AdapterView$OnItemClickListener; | 6 | .implements·Landroid/widget/AdapterView$OnItemClickListener; |
7 | #·annotations | 7 | #·annotations |
8 | .annotation·system·Ldalvik/annotation/MemberClasses; | 8 | .annotation·system·Ldalvik/annotation/MemberClasses; |
9 | ····value·=·{ | 9 | ····value·=·{ |
10 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$1;, | ||
11 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$RegularReadableFileFilter;, | 10 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$RegularReadableFileFilter;, |
12 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$ReadableDirFilter;, | 11 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$ReadableDirFilter;, |
13 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$FilePickerAdapter;, | 12 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$FilePickerAdapter;, |
14 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$OnFileSelectedListener; | 13 | ········Lorg/isoron/uhabits/dialogs/FilePickerDialog$OnFileSelectedListener; |
15 | ····} | 14 | ····} |
16 | .end·annotation | 15 | .end·annotation |
Offset 99, 175 lines modified | Offset 98, 162 lines modified | ||
99 | ····.line·37 | 98 | ····.line·37 |
100 | ····iget-object·v0,·p0,·Lorg/isoron/uhabits/dialogs/FilePickerDialog;->activity:Landroid/app/Activity; | 99 | ····iget-object·v0,·p0,·Lorg/isoron/uhabits/dialogs/FilePickerDialog;->activity:Landroid/app/Activity; |
101 | ····return-object·v0 | 100 | ····return-object·v0 |
102 | .end·method | 101 | .end·method |
103 | .method·private·getFileList(Ljava/io/File;[Ljava/io/File;[Ljava/io/File;)[Ljava/lang/String; | 102 | .method·private·getFileList(Ljava/io/File;[Ljava/io/File;[Ljava/io/File;)[Ljava/lang/String; |
104 |
····.locals·1 |
103 | ····.locals·10 |
105 | ····.param·p1,·"path"····#·Ljava/io/File; | 104 | ····.param·p1,·"path"····#·Ljava/io/File; |
106 | ····.param·p2,·"dirs"····#·[Ljava/io/File; | 105 | ····.param·p2,·"dirs"····#·[Ljava/io/File; |
107 | ····.param·p3,·"files"····#·[Ljava/io/File; | 106 | ····.param·p3,·"files"····#·[Ljava/io/File; |
108 | ····.annotation·build·Landroid/support/annotation/NonNull; | 107 | ····.annotation·build·Landroid/support/annotation/NonNull; |
109 | ····.end·annotation | 108 | ····.end·annotation |
110 | ····.prologue | 109 | ····.prologue |
110 | ····const/4·v6,·0x0 | ||
111 | ····.line·115 | 111 | ····.line·115 |
112 |
····const/4·v |
112 | ····const/4·v0,·0x0 |
113 | ····.line·116 | 113 | ····.line·116 |
114 |
····.local·v |
114 | ····.local·v0,·"count":I |
115 |
····array-length·v |
115 | ····array-length·v7,·p2 |
116 |
····array-length·v |
116 | ····array-length·v8,·p3 |
117 |
····add-int·v |
117 | ····add-int·v5,·v7,·v8 |
118 | ····.line·119 | 118 | ····.line·119 |
119 |
····.local·v |
119 | ····.local·v5,·"length":I |
120 | ····invoke-virtual·{p1},·Ljava/io/File;->getParentFile()Ljava/io/File; | 120 | ····invoke-virtual·{p1},·Ljava/io/File;->getParentFile()Ljava/io/File; |
121 |
····move-result-object·v |
121 | ····move-result-object·v7 |
122 |
····if-eqz·v |
122 | ····if-eqz·v7,·:cond_0 |
123 | ····invoke-virtual·{p1},·Ljava/io/File;->getParentFile()Ljava/io/File; | 123 | ····invoke-virtual·{p1},·Ljava/io/File;->getParentFile()Ljava/io/File; |
124 |
····move-result-object·v |
124 | ····move-result-object·v7 |
125 |
····invoke-virtual·{v |
125 | ····invoke-virtual·{v7},·Ljava/io/File;->canRead()Z |
126 |
····move-result·v |
126 | ····move-result·v7 |
127 |
····if-nez·v |
127 | ····if-nez·v7,·:cond_1 |
128 | ····.line·121 | 128 | ····.line·121 |
129 | ····:cond_0 | 129 | ····:cond_0 |
130 |
····new-array·v |
130 | ····new-array·v4,·v5,·[Ljava/lang/String; |
131 | ····.line·129 | 131 | ····.line·129 |
132 |
····.local·v |
132 | ····.local·v4,·"fileList":[Ljava/lang/String; |
133 | ····:goto_0 | 133 | ····:goto_0 |
134 | ····invoke-static·{p2},·Ljava/util/Arrays;->sort([Ljava/lang/Object;)V | 134 | ····invoke-static·{p2},·Ljava/util/Arrays;->sort([Ljava/lang/Object;)V |
135 | ····.line·130 | 135 | ····.line·130 |
136 | ····invoke-static·{p3},·Ljava/util/Arrays;->sort([Ljava/lang/Object;)V | 136 | ····invoke-static·{p3},·Ljava/util/Arrays;->sort([Ljava/lang/Object;)V |
137 | ····.line·132 | 137 | ····.line·132 |
138 |
···· |
138 | ····array-length·v8,·p2 |
139 | ····.local·v0,·"arr$":[Ljava/io/File; | ||
140 | ····array-length·v7,·v0 | ||
141 |
···· |
139 | ····move·v7,·v6 |
142 | ····const/4·v6,·0x0 | ||
143 |
···· |
140 | ····move·v1,·v0 |
144 | ····move·v2,·v1 | ||
145 |
····.end·local·v |
141 | ····.end·local·v0····#·"count":I |
146 |
····.local·v |
142 | ····.local·v1,·"count":I |
147 | ····:goto_1 | 143 | ····:goto_1 |
148 |
····if-ge·v |
144 | ····if-ge·v7,·v8,·:cond_2 |
149 |
····aget-object·v |
145 | ····aget-object·v2,·p2,·v7 |
150 | ····.line·133 | 146 | ····.line·133 |
151 |
····.local·v |
147 | ····.local·v2,·"dir":Ljava/io/File; |
152 |
····add-int/lit8·v |
148 | ····add-int/lit8·v0,·v1,·0x1 |
153 |
····.end·local·v |
149 | ····.end·local·v1····#·"count":I |
154 |
····.restart·local·v |
150 | ····.restart·local·v0····#·"count":I |
Max diff block lines reached; 3245/6579 bytes (49.32%) 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/isoron/uhabits/dialogs/HistoryEditorDialog; | 18 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/dialogs/HistoryEditorDialog; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;)V | 20 | .method·constructor·<init>(Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·72 | 24 | ····.line·72 |
24 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog$1;->this$0:Lorg/isoron/uhabits/dialogs/HistoryEditorDialog; | 25 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog$1;->this$0:Lorg/isoron/uhabits/dialogs/HistoryEditorDialog; |
25 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><init>()V | 26 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><init>()V |
Offset 26, 15 lines modified | Offset 26, 14 lines modified | ||
26 | .method·public·constructor·<init>()V | 26 | .method·public·constructor·<init>()V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·35 | 29 | ····.line·35 |
30 | ····invoke-direct·{p0},·Landroid/support/v7/app/AppCompatDialogFragment;-><init>()V | 30 | ····invoke-direct·{p0},·Landroid/support/v7/app/AppCompatDialogFragment;-><init>()V |
31 | ····.line·124 | ||
32 | ····return-void | 31 | ····return-void |
33 | .end·method | 32 | .end·method |
34 | .method·private·refreshData()V | 33 | .method·private·refreshData()V |
35 | ····.locals·2 | 34 | ····.locals·2 |
36 | ····.prologue | 35 | ····.prologue |
Offset 43, 14 lines modified | Offset 42, 15 lines modified | ||
43 | ····invoke-direct·{v0,·p0},·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog$1;-><init>(Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;)V | 42 | ····invoke-direct·{v0,·p0},·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog$1;-><init>(Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;)V |
44 | ····const/4·v1,·0x0 | 43 | ····const/4·v1,·0x0 |
45 | ····new-array·v1,·v1,·[Ljava/lang/Void; | 44 | ····new-array·v1,·v1,·[Ljava/lang/Void; |
45 | ····.line·78 | ||
46 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog$1;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; | 46 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog$1;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
47 | ····.line·79 | 47 | ····.line·79 |
48 | ····return-void | 48 | ····return-void |
49 | .end·method | 49 | .end·method |
Offset 162, 20 lines modified | Offset 162, 22 lines modified | ||
162 | ····invoke-virtual·{v0,·v5},·Landroid/support/v7/app/AlertDialog$Builder;->setTitle(I)Landroid/support/v7/app/AlertDialog$Builder; | 162 | ····invoke-virtual·{v0,·v5},·Landroid/support/v7/app/AlertDialog$Builder;->setTitle(I)Landroid/support/v7/app/AlertDialog$Builder; |
163 | ····move-result-object·v5 | 163 | ····move-result-object·v5 |
164 | ····iget-object·v6,·p0,·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;->historyView:Lorg/isoron/uhabits/views/HabitHistoryView; | 164 | ····iget-object·v6,·p0,·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;->historyView:Lorg/isoron/uhabits/views/HabitHistoryView; |
165 | ····.line·61 | ||
165 | ····invoke-virtual·{v5,·v6},·Landroid/support/v7/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/support/v7/app/AlertDialog$Builder; | 166 | ····invoke-virtual·{v5,·v6},·Landroid/support/v7/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/support/v7/app/AlertDialog$Builder; |
166 | ····move-result-object·v5 | 167 | ····move-result-object·v5 |
167 | ····const·v6,·0x104000a | 168 | ····const·v6,·0x104000a |
169 | ····.line·62 | ||
168 | ····invoke-virtual·{v5,·v6,·p0},·Landroid/support/v7/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; | 170 | ····invoke-virtual·{v5,·v6,·p0},·Landroid/support/v7/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; |
169 | ····.line·64 | 171 | ····.line·64 |
170 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;->refreshData()V | 172 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/dialogs/HistoryEditorDialog;->refreshData()V |
171 | ····.line·66 | 173 | ····.line·66 |
172 | ····invoke-virtual·{v0},·Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; | 174 | ····invoke-virtual·{v0},·Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog; | 21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog;)V | 23 | .method·constructor·<init>(Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·61 | 27 | ····.line·61 |
27 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog$1;->this$0:Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog; | 28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog$1;->this$0:Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 25, 15 lines modified | Offset 25, 14 lines modified | ||
25 | .method·public·constructor·<init>()V | 25 | .method·public·constructor·<init>()V |
26 | ····.locals·0 | 26 | ····.locals·0 |
27 | ····.prologue | 27 | ····.prologue |
28 | ····.line·31 | 28 | ····.line·31 |
29 | ····invoke-direct·{p0},·Landroid/support/v7/app/AppCompatDialogFragment;-><init>()V | 29 | ····invoke-direct·{p0},·Landroid/support/v7/app/AppCompatDialogFragment;-><init>()V |
30 | ····.line·35 | ||
31 | ····return-void | 30 | ····return-void |
32 | .end·method | 31 | .end·method |
33 | #·virtual·methods | 32 | #·virtual·methods |
34 | .method·public·onClick(Landroid/content/DialogInterface;I)V | 33 | .method·public·onClick(Landroid/content/DialogInterface;I)V |
35 | ····.locals·2 | 34 | ····.locals·2 |
Offset 91, 36 lines modified | Offset 90, 39 lines modified | ||
91 | ····.local·v0,·"builder":Landroid/support/v7/app/AlertDialog$Builder; | 90 | ····.local·v0,·"builder":Landroid/support/v7/app/AlertDialog$Builder; |
92 | ····const·v1,·0x7f07007c | 91 | ····const·v1,·0x7f07007c |
93 | ····invoke-virtual·{v0,·v1},·Landroid/support/v7/app/AlertDialog$Builder;->setTitle(I)Landroid/support/v7/app/AlertDialog$Builder; | 92 | ····invoke-virtual·{v0,·v1},·Landroid/support/v7/app/AlertDialog$Builder;->setTitle(I)Landroid/support/v7/app/AlertDialog$Builder; |
94 | ····move-result-object·v1 | 93 | ····move-result-object·v1 |
94 | ····.line·58 | ||
95 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getLongDayNames()[Ljava/lang/String; | 95 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getLongDayNames()[Ljava/lang/String; |
96 | ····move-result-object·v2 | 96 | ····move-result-object·v2 |
97 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog;->selectedDays:[Z | 97 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog;->selectedDays:[Z |
98 | ····invoke-virtual·{v1,·v2,·v3,·p0},·Landroid/support/v7/app/AlertDialog$Builder;->setMultiChoiceItems([Ljava/lang/CharSequence;[ZLandroid/content/DialogInterface$OnMultiChoiceClickListener;)Landroid/support/v7/app/AlertDialog$Builder; | 98 | ····invoke-virtual·{v1,·v2,·v3,·p0},·Landroid/support/v7/app/AlertDialog$Builder;->setMultiChoiceItems([Ljava/lang/CharSequence;[ZLandroid/content/DialogInterface$OnMultiChoiceClickListener;)Landroid/support/v7/app/AlertDialog$Builder; |
99 | ····move-result-object·v1 | 99 | ····move-result-object·v1 |
100 | ····const·v2,·0x1040013 | 100 | ····const·v2,·0x1040013 |
101 | ····.line·59 | ||
101 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/support/v7/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; | 102 | ····invoke-virtual·{v1,·v2,·p0},·Landroid/support/v7/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; |
102 | ····move-result-object·v1 | 103 | ····move-result-object·v1 |
103 | ····const/high16·v2,·0x1040000 | 104 | ····const/high16·v2,·0x1040000 |
104 | ····new-instance·v3,·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog$1; | 105 | ····new-instance·v3,·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog$1; |
105 | ····invoke-direct·{v3,·p0},·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog$1;-><init>(Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog;)V | 106 | ····invoke-direct·{v3,·p0},·Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog$1;-><init>(Lorg/isoron/uhabits/dialogs/WeekdayPickerDialog;)V |
107 | ····.line·60 | ||
106 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/support/v7/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; | 108 | ····invoke-virtual·{v1,·v2,·v3},·Landroid/support/v7/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/support/v7/app/AlertDialog$Builder; |
107 | ····.line·69 | 109 | ····.line·69 |
108 | ····invoke-virtual·{v0},·Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; | 110 | ····invoke-virtual·{v0},·Landroid/support/v7/app/AlertDialog$Builder;->create()Landroid/support/v7/app/AlertDialog; |
109 | ····move-result-object·v1 | 111 | ····move-result-object·v1 |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$selectedHabits:Ljava/util/LinkedList; | 24 | .field·final·synthetic·val$selectedHabits:Ljava/util/LinkedList; |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/HabitSelectionCallback;Ljava/util/LinkedList;Landroid/support/v7/view/ActionMode;)V | 26 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/HabitSelectionCallback;Ljava/util/LinkedList;Landroid/support/v7/view/ActionMode;)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/fragments/HabitSelectionCallback; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·175 | 30 | ····.line·175 |
30 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->this$0:Lorg/isoron/uhabits/fragments/HabitSelectionCallback; | 31 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->this$0:Lorg/isoron/uhabits/fragments/HabitSelectionCallback; |
31 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->val$selectedHabits:Ljava/util/LinkedList; | 32 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->val$selectedHabits:Ljava/util/LinkedList; |
Offset 70, 22 lines modified | Offset 71, 24 lines modified | ||
70 | ····move-result-object·v1 | 71 | ····move-result-object·v1 |
71 | ····new-instance·v2,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; | 72 | ····new-instance·v2,·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand; |
72 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->val$selectedHabits:Ljava/util/LinkedList; | 73 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->val$selectedHabits:Ljava/util/LinkedList; |
74 | ····.line·181 | ||
73 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 75 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
74 | ····move-result-object·v4 | 76 | ····move-result-object·v4 |
75 | ····invoke-direct·{v2,·v3,·v4},·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;-><init>(Ljava/util/List;Ljava/lang/Integer;)V | 77 | ····invoke-direct·{v2,·v3,·v4},·Lorg/isoron/uhabits/commands/ChangeHabitColorCommand;-><init>(Ljava/util/List;Ljava/lang/Integer;)V |
76 | ····const/4·v3,·0x0 | 78 | ····const/4·v3,·0x0 |
79 | ····.line·180 | ||
77 | ····invoke-virtual·{v1,·v2,·v3},·Lorg/isoron/uhabits/BaseActivity;->executeCommand(Lorg/isoron/uhabits/commands/Command;Ljava/lang/Long;)V | 80 | ····invoke-virtual·{v1,·v2,·v3},·Lorg/isoron/uhabits/BaseActivity;->executeCommand(Lorg/isoron/uhabits/commands/Command;Ljava/lang/Long;)V |
78 | ····.line·182 | 81 | ····.line·182 |
79 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->val$mode:Landroid/support/v7/view/ActionMode; | 82 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$1;->val$mode:Landroid/support/v7/view/ActionMode; |
80 | ····invoke-virtual·{v1},·Landroid/support/v7/view/ActionMode;->finish()V | 83 | ····invoke-virtual·{v1},·Landroid/support/v7/view/ActionMode;->finish()V |
Offset 24, 14 lines modified | Offset 24, 15 lines modified | ||
24 | .field·final·synthetic·val$selectedHabits:Ljava/util/LinkedList; | 24 | .field·final·synthetic·val$selectedHabits:Ljava/util/LinkedList; |
25 | #·direct·methods | 25 | #·direct·methods |
26 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/HabitSelectionCallback;Ljava/util/LinkedList;Landroid/support/v7/view/ActionMode;)V | 26 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/HabitSelectionCallback;Ljava/util/LinkedList;Landroid/support/v7/view/ActionMode;)V |
27 | ····.locals·0 | 27 | ····.locals·0 |
28 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/fragments/HabitSelectionCallback; | ||
28 | ····.prologue | 29 | ····.prologue |
29 | ····.line·195 | 30 | ····.line·195 |
30 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$2;->this$0:Lorg/isoron/uhabits/fragments/HabitSelectionCallback; | 31 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$2;->this$0:Lorg/isoron/uhabits/fragments/HabitSelectionCallback; |
31 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$2;->val$selectedHabits:Ljava/util/LinkedList; | 32 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback$2;->val$selectedHabits:Ljava/util/LinkedList; |
Offset 76, 157 lines modified | Offset 76, 154 lines modified | ||
76 | .end·method | 76 | .end·method |
77 | .method·private·updateActions(Landroid/view/Menu;)V | 77 | .method·private·updateActions(Landroid/view/Menu;)V |
78 | ····.locals·12 | 78 | ····.locals·12 |
79 | ····.param·p1,·"menu"····#·Landroid/view/Menu; | 79 | ····.param·p1,·"menu"····#·Landroid/view/Menu; |
80 | ····.prologue | 80 | ····.prologue |
81 |
····const/4·v1 |
81 | ····const/4·v10,·0x1 |
82 | ····.line·107 | 82 | ····.line·107 |
83 |
····iget-object·v |
83 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback;->selectedPositions:Ljava/util/List; |
84 |
····invoke-interface·{v |
84 | ····invoke-interface·{v9},·Ljava/util/List;->size()I |
85 |
····move-result·v |
85 | ····move-result·v9 |
86 |
····if-ne·v |
86 | ····if-ne·v9,·v10,·:cond_0 |
87 |
····move·v |
87 | ····move·v7,·v10 |
88 | ····.line·108 | 88 | ····.line·108 |
89 |
····.local·v |
89 | ····.local·v7,·"showEdit":Z |
90 | ····:goto_0 | 90 | ····:goto_0 |
91 |
····const/4·v |
91 | ····const/4·v6,·0x1 |
92 | ····.line·109 | 92 | ····.line·109 |
93 |
····.local·v |
93 | ····.local·v6,·"showArchive":Z |
94 |
····const/4·v |
94 | ····const/4·v8,·0x1 |
95 | ····.line·110 | 95 | ····.line·110 |
96 |
····.local·v |
96 | ····.local·v8,·"showUnarchive":Z |
97 |
····iget-object·v |
97 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback;->selectedPositions:Ljava/util/List; |
98 |
····invoke-interface·{v |
98 | ····invoke-interface·{v9},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
99 |
····move-result-object·v |
99 | ····move-result-object·v11 |
100 | ····.local·v2,·"i$":Ljava/util/Iterator; | ||
101 | ····:goto_1 | 100 | ····:goto_1 |
102 |
····invoke-interface·{v |
101 | ····invoke-interface·{v11},·Ljava/util/Iterator;->hasNext()Z |
103 |
····move-result·v |
102 | ····move-result·v9 |
104 |
····if-eqz·v |
103 | ····if-eqz·v9,·:cond_2 |
105 |
····invoke-interface·{v |
104 | ····invoke-interface·{v11},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
106 |
····move-result-object·v |
105 | ····move-result-object·v9 |
107 |
····check-cast·v |
106 | ····check-cast·v9,·Ljava/lang/Integer; |
108 |
····invoke-virtual·{v |
107 | ····invoke-virtual·{v9},·Ljava/lang/Integer;->intValue()I |
109 | ····move-result·v1 | 108 | ····move-result·v1 |
110 | ····.line·112 | 109 | ····.line·112 |
111 | ····.local·v1,·"i":I | 110 | ····.local·v1,·"i":I |
112 |
····iget-object·v |
111 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/fragments/HabitSelectionCallback;->loader:Lorg/isoron/uhabits/loaders/HabitListLoader; |
113 |
····iget-object·v |
112 | ····iget-object·v9,·v9,·Lorg/isoron/uhabits/loaders/HabitListLoader;->habitsList:Ljava/util/List; |
114 |
····invoke-interface·{v |
113 | ····invoke-interface·{v9,·v1},·Ljava/util/List;->get(I)Ljava/lang/Object; |
115 | ····move-result-object·v0 | 114 | ····move-result-object·v0 |
116 | ····check-cast·v0,·Lorg/isoron/uhabits/models/Habit; | 115 | ····check-cast·v0,·Lorg/isoron/uhabits/models/Habit; |
117 | ····.line·113 | 116 | ····.line·113 |
118 | ····.local·v0,·"h":Lorg/isoron/uhabits/models/Habit; | 117 | ····.local·v0,·"h":Lorg/isoron/uhabits/models/Habit; |
119 | ····invoke-virtual·{v0},·Lorg/isoron/uhabits/models/Habit;->isArchived()Z | 118 | ····invoke-virtual·{v0},·Lorg/isoron/uhabits/models/Habit;->isArchived()Z |
120 |
····move-result·v |
119 | ····move-result·v9 |
121 |
····if-eqz·v |
120 | ····if-eqz·v9,·:cond_1 |
122 | ····.line·115 | 121 | ····.line·115 |
123 |
····const/4·v |
122 | ····const/4·v6,·0x0 |
124 | ····goto·:goto_1 | 123 | ····goto·:goto_1 |
125 | ····.line·107 | 124 | ····.line·107 |
126 | ····.end·local·v0····#·"h":Lorg/isoron/uhabits/models/Habit; | 125 | ····.end·local·v0····#·"h":Lorg/isoron/uhabits/models/Habit; |
127 | ····.end·local·v1····#·"i":I | 126 | ····.end·local·v1····#·"i":I |
128 |
····.end·local·v |
127 | ····.end·local·v6····#·"showArchive":Z |
129 |
····.end·local·v7····#·"show |
128 | ····.end·local·v7····#·"showEdit":Z |
130 |
····.end·local·v8····#·"show |
129 | ····.end·local·v8····#·"showUnarchive":Z |
131 | ····.end·local·v9····#·"showUnarchive":Z | ||
132 | ····:cond_0 | 130 | ····:cond_0 |
133 |
····const/4·v |
131 | ····const/4·v7,·0x0 |
134 | ····goto·:goto_0 | 132 | ····goto·:goto_0 |
135 | ····.line·117 | 133 | ····.line·117 |
136 | ····.restart·local·v0····#·"h":Lorg/isoron/uhabits/models/Habit; | 134 | ····.restart·local·v0····#·"h":Lorg/isoron/uhabits/models/Habit; |
137 | ····.restart·local·v1····#·"i":I | 135 | ····.restart·local·v1····#·"i":I |
138 |
····.restart·local·v |
136 | ····.restart·local·v6····#·"showArchive":Z |
139 |
····.restart·local·v7····#·"show |
137 | ····.restart·local·v7····#·"showEdit":Z |
140 |
····.restart·local·v8····#·"show |
138 | ····.restart·local·v8····#·"showUnarchive":Z |
141 | ····.restart·local·v9····#·"showUnarchive":Z | ||
Max diff block lines reached; 18907/23095 bytes (81.87%) 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/isoron/uhabits/fragments/ListHabitsFragment; | 21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/fragments/ListHabitsFragment; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/ListHabitsFragment;)V | 23 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/ListHabitsFragment;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/fragments/ListHabitsFragment; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·415 | 27 | ····.line·415 |
27 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/ListHabitsFragment$1;->this$0:Lorg/isoron/uhabits/fragments/ListHabitsFragment; | 28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/ListHabitsFragment$1;->this$0:Lorg/isoron/uhabits/fragments/ListHabitsFragment; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 78, 15 lines modified | Offset 78, 14 lines modified | ||
78 | ····invoke-direct·{p0},·Landroid/support/v4/app/Fragment;-><init>()V | 78 | ····invoke-direct·{p0},·Landroid/support/v4/app/Fragment;-><init>()V |
79 | ····.line·58 | 79 | ····.line·58 |
80 | ····const-wide/16·v0,·0x0 | 80 | ····const-wide/16·v0,·0x0 |
81 | ····iput-wide·v0,·p0,·Lorg/isoron/uhabits/fragments/ListHabitsFragment;->lastLongClick:J | 81 | ····iput-wide·v0,·p0,·Lorg/isoron/uhabits/fragments/ListHabitsFragment;->lastLongClick:J |
82 | ····.line·390 | ||
83 | ····return-void | 82 | ····return-void |
84 | .end·method | 83 | .end·method |
85 | .method·static·synthetic·access$100(Lorg/isoron/uhabits/fragments/ListHabitsFragment;)Lcom/mobeta/android/dslv/DragSortListView; | 84 | .method·static·synthetic·access$100(Lorg/isoron/uhabits/fragments/ListHabitsFragment;)Lcom/mobeta/android/dslv/DragSortListView; |
86 | ····.locals·1 | 85 | ····.locals·1 |
87 | ····.param·p0,·"x0"····#·Lorg/isoron/uhabits/fragments/ListHabitsFragment; | 86 | ····.param·p0,·"x0"····#·Lorg/isoron/uhabits/fragments/ListHabitsFragment; |
Offset 976, 14 lines modified | Offset 975, 15 lines modified | ||
976 | ····.line·121 | 975 | ····.line·121 |
977 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/fragments/ListHabitsFragment;->getFragmentManager()Landroid/support/v4/app/FragmentManager; | 976 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/fragments/ListHabitsFragment;->getFragmentManager()Landroid/support/v4/app/FragmentManager; |
978 | ····move-result-object·v6 | 977 | ····move-result-object·v6 |
979 | ····const-string·v7,·"editHabit" | 978 | ····const-string·v7,·"editHabit" |
979 | ····.line·122 | ||
980 | ····invoke-virtual·{v6,·v7},·Landroid/support/v4/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroid/support/v4/app/Fragment; | 980 | ····invoke-virtual·{v6,·v7},·Landroid/support/v4/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroid/support/v4/app/Fragment; |
981 | ····move-result-object·v2 | 981 | ····move-result-object·v2 |
982 | ····check-cast·v2,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment; | 982 | ····check-cast·v2,·Lorg/isoron/uhabits/dialogs/EditHabitDialogFragment; |
983 | ····.line·123 | 983 | ····.line·123 |
Offset 236, 14 lines modified | Offset 236, 15 lines modified | ||
236 | ····move-result-object·v0 | 236 | ····move-result-object·v0 |
237 | ····invoke-virtual·{v0},·Landroid/support/v7/preference/PreferenceManager;->getSharedPreferences()Landroid/content/SharedPreferences; | 237 | ····invoke-virtual·{v0},·Landroid/support/v7/preference/PreferenceManager;->getSharedPreferences()Landroid/content/SharedPreferences; |
238 | ····move-result-object·v0 | 238 | ····move-result-object·v0 |
239 | ····.line·97 | ||
239 | ····invoke-interface·{v0,·p0},·Landroid/content/SharedPreferences;->unregisterOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V | 240 | ····invoke-interface·{v0,·p0},·Landroid/content/SharedPreferences;->unregisterOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V |
240 | ····.line·98 | 241 | ····.line·98 |
241 | ····invoke-super·{p0},·Landroid/support/v7/preference/PreferenceFragmentCompat;->onPause()V | 242 | ····invoke-super·{p0},·Landroid/support/v7/preference/PreferenceFragmentCompat;->onPause()V |
242 | ····.line·99 | 243 | ····.line·99 |
243 | ····return-void | 244 | ····return-void |
Offset 312, 14 lines modified | Offset 313, 15 lines modified | ||
312 | ····move-result-object·v0 | 313 | ····move-result-object·v0 |
313 | ····invoke-virtual·{v0},·Landroid/support/v7/preference/PreferenceManager;->getSharedPreferences()Landroid/content/SharedPreferences; | 314 | ····invoke-virtual·{v0},·Landroid/support/v7/preference/PreferenceManager;->getSharedPreferences()Landroid/content/SharedPreferences; |
314 | ····move-result-object·v0 | 315 | ····move-result-object·v0 |
316 | ····.line·90 | ||
315 | ····invoke-interface·{v0,·p0},·Landroid/content/SharedPreferences;->registerOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V | 317 | ····invoke-interface·{v0,·p0},·Landroid/content/SharedPreferences;->registerOnSharedPreferenceChangeListener(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V |
316 | ····.line·91 | 318 | ····.line·91 |
317 | ····return-void | 319 | ····return-void |
318 | .end·method | 320 | .end·method |
319 | .method·public·onSharedPreferenceChanged(Landroid/content/SharedPreferences;Ljava/lang/String;)V | 321 | .method·public·onSharedPreferenceChanged(Landroid/content/SharedPreferences;Ljava/lang/String;)V |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$result:I | 22 | .field·final·synthetic·val$result:I |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/SettingsFragment;I)V | 24 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/SettingsFragment;I)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/fragments/SettingsFragment; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·74 | 28 | ····.line·74 |
28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/SettingsFragment$1;->this$0:Lorg/isoron/uhabits/fragments/SettingsFragment; | 29 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/SettingsFragment$1;->this$0:Lorg/isoron/uhabits/fragments/SettingsFragment; |
29 | ····iput·p2,·p0,·Lorg/isoron/uhabits/fragments/SettingsFragment$1;->val$result:I | 30 | ····iput·p2,·p0,·Lorg/isoron/uhabits/fragments/SettingsFragment$1;->val$result:I |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; | 21 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/ShowHabitFragment;)V | 23 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/ShowHabitFragment;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/fragments/ShowHabitFragment; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·128 | 27 | ····.line·128 |
27 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$1;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; | 28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$1;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
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/isoron/uhabits/fragments/ShowHabitFragment; | 18 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/ShowHabitFragment;)V | 20 | .method·constructor·<init>(Lorg/isoron/uhabits/fragments/ShowHabitFragment;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/fragments/ShowHabitFragment; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·312 | 24 | ····.line·312 |
24 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; | 25 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
25 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><init>()V | 26 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><init>()V |
Offset 34, 160 lines modified | Offset 35, 159 lines modified | ||
34 | #·virtual·methods | 35 | #·virtual·methods |
35 | .method·protected·doInBackground()V | 36 | .method·protected·doInBackground()V |
36 | ····.locals·14 | 37 | ····.locals·14 |
37 | ····.prologue | 38 | ····.prologue |
38 | ····.line·316 | 39 | ····.line·316 |
39 |
····iget-object·v |
40 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
40 | ····#·getter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->habit:Lorg/isoron/uhabits/models/Habit; | 41 | ····#·getter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->habit:Lorg/isoron/uhabits/models/Habit; |
41 |
····invoke-static·{v |
42 | ····invoke-static·{v9},·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->access$000(Lorg/isoron/uhabits/fragments/ShowHabitFragment;)Lorg/isoron/uhabits/models/Habit; |
42 |
····move-result-object·v |
43 | ····move-result-object·v9 |
43 |
····if-nez·v |
44 | ····if-nez·v9,·:cond_1 |
44 | ····.line·333 | 45 | ····.line·333 |
45 | ····:cond_0 | 46 | ····:cond_0 |
46 | ····return-void | 47 | ····return-void |
47 | ····.line·317 | 48 | ····.line·317 |
48 | ····:cond_1 | 49 | ····:cond_1 |
49 |
····iget-object·v |
50 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
50 | ····#·getter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->dataViews:Ljava/util/List; | 51 | ····#·getter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->dataViews:Ljava/util/List; |
51 |
····invoke-static·{v |
52 | ····invoke-static·{v9},·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->access$100(Lorg/isoron/uhabits/fragments/ShowHabitFragment;)Ljava/util/List; |
52 |
····move-result-object·v |
53 | ····move-result-object·v9 |
53 |
····if-eqz·v |
54 | ····if-eqz·v9,·:cond_0 |
54 | ····.line·319 | 55 | ····.line·319 |
55 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfToday()J | 56 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfToday()J |
56 |
····move-result-wide·v |
57 | ····move-result-wide·v6 |
57 | ····.line·320 | 58 | ····.line·320 |
58 |
····.local·v |
59 | ····.local·v6,·"today":J |
59 | ····const-wide/16·v10,·0x1e | 60 | ····const-wide/16·v10,·0x1e |
60 | ····sget-wide·v12,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J | 61 | ····sget-wide·v12,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J |
61 | ····mul-long/2addr·v10,·v12 | 62 | ····mul-long/2addr·v10,·v12 |
62 |
····sub-long·v |
63 | ····sub-long·v2,·v6,·v10 |
63 | ····.line·321 | 64 | ····.line·321 |
64 |
····.local·v |
65 | ····.local·v2,·"lastMonth":J |
65 | ····const-wide/16·v10,·0x16d | 66 | ····const-wide/16·v10,·0x16d |
66 | ····sget-wide·v12,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J | 67 | ····sget-wide·v12,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J |
67 | ····mul-long/2addr·v10,·v12 | 68 | ····mul-long/2addr·v10,·v12 |
68 |
····sub-long·v |
69 | ····sub-long·v4,·v6,·v10 |
69 | ····.line·323 | 70 | ····.line·323 |
70 |
····.local·v |
71 | ····.local·v4,·"lastYear":J |
71 |
····iget-object·v |
72 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
72 |
····iget-object·v1 |
73 | ····iget-object·v10,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
73 | ····#·getter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->habit:Lorg/isoron/uhabits/models/Habit; | 74 | ····#·getter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->habit:Lorg/isoron/uhabits/models/Habit; |
74 |
····invoke-static·{v1 |
75 | ····invoke-static·{v10},·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->access$000(Lorg/isoron/uhabits/fragments/ShowHabitFragment;)Lorg/isoron/uhabits/models/Habit; |
75 |
····move-result-object·v1 |
76 | ····move-result-object·v10 |
76 |
····iget-object·v1 |
77 | ····iget-object·v10,·v10,·Lorg/isoron/uhabits/models/Habit;->scores:Lorg/isoron/uhabits/models/ScoreList; |
77 |
····invoke-virtual·{v1 |
78 | ····invoke-virtual·{v10},·Lorg/isoron/uhabits/models/ScoreList;->getTodayValue()I |
78 |
····move-result·v1 |
79 | ····move-result·v10 |
79 |
····int-to-float·v1 |
80 | ····int-to-float·v10,·v10 |
80 | ····#·setter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->todayScore:F | 81 | ····#·setter·for:·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->todayScore:F |
81 |
····invoke-static·{v |
82 | ····invoke-static·{v9,·v10},·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->access$202(Lorg/isoron/uhabits/fragments/ShowHabitFragment;F)F |
82 | ····.line·324 | 83 | ····.line·324 |
83 |
····iget-object·v |
84 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
84 |
····iget-object·v1 |
85 | ····iget-object·v10,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment$2;->this$0:Lorg/isoron/uhabits/fragments/ShowHabitFragment; |
Max diff block lines reached; 5202/10905 bytes (47.70%) of diff not shown. |
Offset 343, 26 lines modified | Offset 343, 28 lines modified | ||
343 | ····iget-object·v4,·v4,·Lorg/isoron/uhabits/models/Habit;->freqDen:Ljava/lang/Integer; | 343 | ····iget-object·v4,·v4,·Lorg/isoron/uhabits/models/Habit;->freqDen:Ljava/lang/Integer; |
344 | ····aput-object·v4,·v2,·v3 | 344 | ····aput-object·v4,·v2,·v3 |
345 | ····const/4·v3,·0x3 | 345 | ····const/4·v3,·0x3 |
346 | ····.line·202 | ||
346 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->getResources()Landroid/content/res/Resources; | 347 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->getResources()Landroid/content/res/Resources; |
347 | ····move-result-object·v4 | 348 | ····move-result-object·v4 |
348 | ····const·v5,·0x7f07002a | 349 | ····const·v5,·0x7f07002a |
349 | ····invoke-virtual·{v4,·v5},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 350 | ····invoke-virtual·{v4,·v5},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
350 | ····move-result-object·v4 | 351 | ····move-result-object·v4 |
351 | ····aput-object·v4,·v2,·v3 | 352 | ····aput-object·v4,·v2,·v3 |
353 | ····.line·201 | ||
352 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 354 | ····invoke-static·{v1,·v2},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
353 | ····move-result-object·v1 | 355 | ····move-result-object·v1 |
354 | ····goto/16·:goto_0 | 356 | ····goto/16·:goto_0 |
355 | .end·method | 357 | .end·method |
Offset 540, 18 lines modified | Offset 542, 20 lines modified | ||
540 | ····move-result·v4 | 542 | ····move-result·v4 |
541 | ····iget-object·v5,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->habit:Lorg/isoron/uhabits/models/Habit; | 543 | ····iget-object·v5,·p0,·Lorg/isoron/uhabits/fragments/ShowHabitFragment;->habit:Lorg/isoron/uhabits/models/Habit; |
542 | ····iget-object·v5,·v5,·Lorg/isoron/uhabits/models/Habit;->reminderMin:Ljava/lang/Integer; | 544 | ····iget-object·v5,·v5,·Lorg/isoron/uhabits/models/Habit;->reminderMin:Ljava/lang/Integer; |
545 | ····.line·166 | ||
543 | ····invoke-virtual·{v5},·Ljava/lang/Integer;->intValue()I | 546 | ····invoke-virtual·{v5},·Ljava/lang/Integer;->intValue()I |
544 | ····move-result·v5 | 547 | ····move-result·v5 |
548 | ····.line·165 | ||
545 | ····invoke-static·{v3,·v4,·v5},·Lorg/isoron/uhabits/helpers/DateHelper;->formatTime(Landroid/content/Context;II)Ljava/lang/String; | 549 | ····invoke-static·{v3,·v4,·v5},·Lorg/isoron/uhabits/helpers/DateHelper;->formatTime(Landroid/content/Context;II)Ljava/lang/String; |
546 | ····move-result-object·v3 | 550 | ····move-result-object·v3 |
547 | ····invoke-virtual·{v2,·v3},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 551 | ····invoke-virtual·{v2,·v3},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
548 | ····.line·170 | 552 | ····.line·170 |
Offset 805, 28 lines modified | Offset 809, 30 lines modified | ||
805 | ····const-string·v9,·"+" | 809 | ····const-string·v9,·"+" |
806 | ····:goto_1 | 810 | ····:goto_1 |
807 | ····aput-object·v9,·v11,·v12 | 811 | ····aput-object·v9,·v11,·v12 |
808 | ····const/4·v9,·0x1 | 812 | ····const/4·v9,·0x1 |
813 | ····.line·234 | ||
809 | ····invoke-static·{v2},·Ljava/lang/Math;->abs(F)F | 814 | ····invoke-static·{v2},·Ljava/lang/Math;->abs(F)F |
810 | ····move-result·v12 | 815 | ····move-result·v12 |
811 | ····const/high16·v13,·0x42c80000····#·100.0f | 816 | ····const/high16·v13,·0x42c80000····#·100.0f |
812 | ····mul-float/2addr·v12,·v13 | 817 | ····mul-float/2addr·v12,·v13 |
813 | ····invoke-static·{v12},·Ljava/lang/Float;->valueOf(F)Ljava/lang/Float; | 818 | ····invoke-static·{v12},·Ljava/lang/Float;->valueOf(F)Ljava/lang/Float; |
814 | ····move-result-object·v12 | 819 | ····move-result-object·v12 |
815 | ····aput-object·v12,·v11,·v9 | 820 | ····aput-object·v12,·v11,·v9 |
821 | ····.line·233 | ||
816 | ····invoke-static·{v10,·v11},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 822 | ····invoke-static·{v10,·v11},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
817 | ····move-result-object·v9 | 823 | ····move-result-object·v9 |
818 | ····invoke-virtual·{v3,·v9},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V | 824 | ····invoke-virtual·{v3,·v9},·Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
819 | ····.line·235 | 825 | ····.line·235 |
Offset 848, 14 lines modified | Offset 854, 15 lines modified | ||
848 | ····.end·local·v1····#·"minus":Ljava/lang/String; | 854 | ····.end·local·v1····#·"minus":Ljava/lang/String; |
849 | ····:cond_2 | 855 | ····:cond_2 |
850 | ····aput-object·v1,·v10,·v11 | 856 | ····aput-object·v1,·v10,·v11 |
851 | ····const/4·v11,·0x1 | 857 | ····const/4·v11,·0x1 |
858 | ····.line·236 | ||
852 | ····invoke-static·{v7},·Ljava/lang/Math;->abs(F)F | 859 | ····invoke-static·{v7},·Ljava/lang/Math;->abs(F)F |
853 | ····move-result·v12 | 860 | ····move-result·v12 |
854 | ····const/high16·v13,·0x42c80000····#·100.0f | 861 | ····const/high16·v13,·0x42c80000····#·100.0f |
855 | ····mul-float/2addr·v12,·v13 | 862 | ····mul-float/2addr·v12,·v13 |
Offset 866, 14 lines modified | Offset 873, 15 lines modified | ||
866 | ····aput-object·v12,·v10,·v11 | 873 | ····aput-object·v12,·v10,·v11 |
Max diff block lines reached; 16024/18445 bytes (86.87%) of diff not shown. |
Offset 17, 142 lines modified | Offset 17, 156 lines modified | ||
17 | ····new-array·v0,·v0,·[I | 17 | ····new-array·v0,·v0,·[I |
18 | ····const/4·v1,·0x0 | 18 | ····const/4·v1,·0x0 |
19 | ····const-string·v2,·"#D32F2F" | 19 | ····const-string·v2,·"#D32F2F" |
20 | ····.line·32 | ||
20 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 21 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
21 | ····move-result·v2 | 22 | ····move-result·v2 |
22 | ····aput·v2,·v0,·v1 | 23 | ····aput·v2,·v0,·v1 |
23 | ····const/4·v1,·0x1 | 24 | ····const/4·v1,·0x1 |
24 | ····const-string·v2,·"#E64A19" | 25 | ····const-string·v2,·"#E64A19" |
26 | ····.line·33 | ||
25 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 27 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
26 | ····move-result·v2 | 28 | ····move-result·v2 |
27 | ····aput·v2,·v0,·v1 | 29 | ····aput·v2,·v0,·v1 |
28 | ····const/4·v1,·0x2 | 30 | ····const/4·v1,·0x2 |
29 | ····const-string·v2,·"#F9A825" | 31 | ····const-string·v2,·"#F9A825" |
32 | ····.line·34 | ||
30 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 33 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
31 | ····move-result·v2 | 34 | ····move-result·v2 |
32 | ····aput·v2,·v0,·v1 | 35 | ····aput·v2,·v0,·v1 |
33 | ····const/4·v1,·0x3 | 36 | ····const/4·v1,·0x3 |
34 | ····const-string·v2,·"#AFB42B" | 37 | ····const-string·v2,·"#AFB42B" |
38 | ····.line·35 | ||
35 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 39 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
36 | ····move-result·v2 | 40 | ····move-result·v2 |
37 | ····aput·v2,·v0,·v1 | 41 | ····aput·v2,·v0,·v1 |
38 | ····const/4·v1,·0x4 | 42 | ····const/4·v1,·0x4 |
39 | ····const-string·v2,·"#388E3C" | 43 | ····const-string·v2,·"#388E3C" |
44 | ····.line·36 | ||
40 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 45 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
41 | ····move-result·v2 | 46 | ····move-result·v2 |
42 | ····aput·v2,·v0,·v1 | 47 | ····aput·v2,·v0,·v1 |
43 | ····const/4·v1,·0x5 | 48 | ····const/4·v1,·0x5 |
44 | ····const-string·v2,·"#00897B" | 49 | ····const-string·v2,·"#00897B" |
50 | ····.line·37 | ||
45 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 51 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
46 | ····move-result·v2 | 52 | ····move-result·v2 |
47 | ····aput·v2,·v0,·v1 | 53 | ····aput·v2,·v0,·v1 |
48 | ····const/4·v1,·0x6 | 54 | ····const/4·v1,·0x6 |
49 | ····const-string·v2,·"#00ACC1" | 55 | ····const-string·v2,·"#00ACC1" |
56 | ····.line·38 | ||
50 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 57 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
51 | ····move-result·v2 | 58 | ····move-result·v2 |
52 | ····aput·v2,·v0,·v1 | 59 | ····aput·v2,·v0,·v1 |
53 | ····const/4·v1,·0x7 | 60 | ····const/4·v1,·0x7 |
54 | ····const-string·v2,·"#039BE5" | 61 | ····const-string·v2,·"#039BE5" |
62 | ····.line·39 | ||
55 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 63 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
56 | ····move-result·v2 | 64 | ····move-result·v2 |
57 | ····aput·v2,·v0,·v1 | 65 | ····aput·v2,·v0,·v1 |
58 | ····const/16·v1,·0x8 | 66 | ····const/16·v1,·0x8 |
59 | ····const-string·v2,·"#5E35B1" | 67 | ····const-string·v2,·"#5E35B1" |
68 | ····.line·40 | ||
60 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I | 69 | ····invoke-static·{v2},·Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I |
61 | ····move-result·v2 | 70 | ····move-result·v2 |
Max diff block lines reached; 1027/2866 bytes (35.83%) of diff not shown. |
Offset 15, 15 lines modified | Offset 15, 14 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·50 | 18 | ····.line·50 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····.line·74 | ||
21 | ····return-void | 20 | ····return-void |
22 | .end·method | 21 | .end·method |
23 | .method·public·static·copy(Ljava/io/File;Ljava/io/File;)V | 22 | .method·public·static·copy(Ljava/io/File;Ljava/io/File;)V |
24 | ····.locals·2 | 23 | ····.locals·2 |
25 | ····.param·p0,·"src"····#·Ljava/io/File; | 24 | ····.param·p0,·"src"····#·Ljava/io/File; |
26 | ····.param·p1,·"dst"····#·Ljava/io/File; | 25 | ····.param·p1,·"dst"····#·Ljava/io/File; |
Offset 186, 14 lines modified | Offset 185, 15 lines modified | ||
186 | ····const/4·v4,·0x2 | 185 | ····const/4·v4,·0x2 |
187 | ····new-array·v4,·v4,·[Ljava/lang/Object; | 186 | ····new-array·v4,·v4,·[Ljava/lang/Object; |
188 | ····const/4·v5,·0x0 | 187 | ····const/4·v5,·0x0 |
188 | ····.line·116 | ||
189 | ····invoke-virtual·{v0},·Landroid/content/Context;->getApplicationContext()Landroid/content/Context; | 189 | ····invoke-virtual·{v0},·Landroid/content/Context;->getApplicationContext()Landroid/content/Context; |
190 | ····move-result-object·v6 | 190 | ····move-result-object·v6 |
191 | ····invoke-virtual·{v6},·Landroid/content/Context;->getFilesDir()Ljava/io/File; | 191 | ····invoke-virtual·{v6},·Landroid/content/Context;->getFilesDir()Ljava/io/File; |
192 | ····move-result-object·v6 | 192 | ····move-result-object·v6 |
Offset 204, 14 lines modified | Offset 204, 15 lines modified | ||
204 | ····aput-object·v6,·v4,·v5 | 204 | ····aput-object·v6,·v4,·v5 |
205 | ····const/4·v5,·0x1 | 205 | ····const/4·v5,·0x1 |
206 | ····aput-object·v1,·v4,·v5 | 206 | ····aput-object·v1,·v4,·v5 |
207 | ····.line·115 | ||
207 | ····invoke-static·{v3,·v4},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 208 | ····invoke-static·{v3,·v4},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
208 | ····move-result-object·v3 | 209 | ····move-result-object·v3 |
209 | ····invoke-direct·{v2,·v3},·Ljava/io/File;-><init>(Ljava/lang/String;)V | 210 | ····invoke-direct·{v2,·v3},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
210 | ····return-object·v2 | 211 | ····return-object·v2 |
Offset 239, 143 lines modified | Offset 240, 138 lines modified | ||
239 | ····.line·127 | 240 | ····.line·127 |
240 | ····:cond_0 | 241 | ····:cond_0 |
241 | ····return-object·v0 | 242 | ····return-object·v0 |
242 | .end·method | 243 | .end·method |
243 | .method·private·static·getDir([Ljava/io/File;Ljava/lang/String;)Ljava/io/File; | 244 | .method·private·static·getDir([Ljava/io/File;Ljava/lang/String;)Ljava/io/File; |
244 |
····.locals· |
245 | ····.locals·7 |
245 | ····.param·p0,·"potentialParentDirs"····#·[Ljava/io/File; | 246 | ····.param·p0,·"potentialParentDirs"····#·[Ljava/io/File; |
246 | ········.annotation·build·Landroid/support/annotation/NonNull; | 247 | ········.annotation·build·Landroid/support/annotation/NonNull; |
247 | ········.end·annotation | 248 | ········.end·annotation |
248 | ····.end·param | 249 | ····.end·param |
249 | ····.param·p1,·"relativePath"····#·Ljava/lang/String; | 250 | ····.param·p1,·"relativePath"····#·Ljava/lang/String; |
250 | ········.annotation·build·Landroid/support/annotation/Nullable; | 251 | ········.annotation·build·Landroid/support/annotation/Nullable; |
251 | ········.end·annotation | 252 | ········.end·annotation |
252 | ····.end·param | 253 | ····.end·param |
253 | ····.annotation·build·Landroid/support/annotation/Nullable; | 254 | ····.annotation·build·Landroid/support/annotation/Nullable; |
254 | ····.end·annotation | 255 | ····.end·annotation |
255 | ····.prologue | 256 | ····.prologue |
256 |
····const/4·v |
257 | ····const/4·v2,·0x0 |
258 | ····const/4·v4,·0x0 | ||
257 | ····.line·161 | 259 | ····.line·161 |
258 | ····if-nez·p1,·:cond_0 | 260 | ····if-nez·p1,·:cond_0 |
259 | ····const-string·p1,·"" | 261 | ····const-string·p1,·"" |
260 | ····.line·163 | 262 | ····.line·163 |
261 | ····:cond_0 | 263 | ····:cond_0 |
262 |
····const/4·v |
264 | ····const/4·v0,·0x0 |
263 | ····.line·164 | 265 | ····.line·164 |
264 |
····.local·v |
266 | ····.local·v0,·"chosenDir":Ljava/io/File; |
265 |
···· |
267 | ····array-length·v5,·p0 |
266 |
···· |
268 | ····move·v3,·v4 |
267 | ····array-length·v4,·v0 | ||
268 | ····.local·v4,·"len$":I | ||
269 | ····const/4·v3,·0x0 | ||
270 | ····.local·v3,·"i$":I | ||
271 | ····:goto_0 | 269 | ····:goto_0 |
272 |
····if-ge·v3,·v |
270 | ····if-ge·v3,·v5,·:cond_3 |
273 |
····aget-object·v |
271 | ····aget-object·v1,·p0,·v3 |
274 | ····.line·166 | 272 | ····.line·166 |
275 |
····.local·v |
273 | ····.local·v1,·"dir":Ljava/io/File; |
Max diff block lines reached; 5339/7845 bytes (68.06%) 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/isoron/uhabits/helpers/HintManager; | 18 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/helpers/HintManager; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/isoron/uhabits/helpers/HintManager;)V | 20 | .method·constructor·<init>(Lorg/isoron/uhabits/helpers/HintManager;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/helpers/HintManager; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·48 | 24 | ····.line·48 |
24 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/helpers/HintManager$1;->this$0:Lorg/isoron/uhabits/helpers/HintManager; | 25 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/helpers/HintManager$1;->this$0:Lorg/isoron/uhabits/helpers/HintManager; |
25 | ····invoke-direct·{p0},·Landroid/animation/AnimatorListenerAdapter;-><init>()V | 26 | ····invoke-direct·{p0},·Landroid/animation/AnimatorListenerAdapter;-><init>()V |
Offset 98, 18 lines modified | Offset 98, 20 lines modified | ||
98 | ····.line·136 | 98 | ····.line·136 |
99 | ····.local·v0,·"dayOfMonth":Ljava/lang/String; | 99 | ····.local·v0,·"dayOfMonth":Ljava/lang/String; |
100 | ····const/4·v2,·0x7 | 100 | ····const/4·v2,·0x7 |
101 | ····const/4·v3,·0x1 | 101 | ····const/4·v3,·0x1 |
102 | ····.line·137 | ||
102 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 103 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
103 | ····move-result-object·v4 | 104 | ····move-result-object·v4 |
105 | ····.line·136 | ||
104 | ····invoke-virtual·{p0,·v2,·v3,·v4},·Ljava/util/GregorianCalendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; | 106 | ····invoke-virtual·{p0,·v2,·v3,·v4},·Ljava/util/GregorianCalendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; |
105 | ····move-result-object·v1 | 107 | ····move-result-object·v1 |
106 | ····.line·139 | 108 | ····.line·139 |
107 | ····.local·v1,·"dayOfWeek":Ljava/lang/String; | 109 | ····.local·v1,·"dayOfWeek":Ljava/lang/String; |
108 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 110 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
Offset 501, 19 lines modified | Offset 503, 20 lines modified | ||
501 | ····.local·v1,·"i":I | 503 | ····.local·v1,·"i":I |
502 | ····:goto_0 | 504 | ····:goto_0 |
503 | ····array-length·v3,·v2 | 505 | ····array-length·v3,·v2 |
504 | ····if-ge·v1,·v3,·:cond_0 | 506 | ····if-ge·v1,·v3,·:cond_0 |
505 |
····.line·18 |
507 | ····.line·181 |
506 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 508 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
507 | ····move-result-object·v3 | 509 | ····move-result-object·v3 |
510 | ····.line·180 | ||
508 | ····invoke-virtual·{v0,·v5,·p0,·v3},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; | 511 | ····invoke-virtual·{v0,·v5,·p0,·v3},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; |
509 | ····move-result-object·v3 | 512 | ····move-result-object·v3 |
510 | ····aput-object·v3,·v2,·v1 | 513 | ····aput-object·v3,·v2,·v1 |
511 | ····.line·182 | 514 | ····.line·182 |
Offset 614, 19 lines modified | Offset 617, 20 lines modified | ||
614 | ····.local·v2,·"i":I | 617 | ····.local·v2,·"i":I |
615 | ····:goto_0 | 618 | ····:goto_0 |
616 | ····array-length·v3,·v1 | 619 | ····array-length·v3,·v1 |
617 | ····if-ge·v2,·v3,·:cond_0 | 620 | ····if-ge·v2,·v3,·:cond_0 |
618 |
····.line·20 |
621 | ····.line·201 |
619 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; | 622 | ····invoke-static·{},·Ljava/util/Locale;->getDefault()Ljava/util/Locale; |
620 | ····move-result-object·v3 | 623 | ····move-result-object·v3 |
624 | ····.line·200 | ||
621 | ····invoke-virtual·{v0,·v5,·p0,·v3},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; | 625 | ····invoke-virtual·{v0,·v5,·p0,·v3},·Ljava/util/Calendar;->getDisplayName(IILjava/util/Locale;)Ljava/lang/String; |
622 | ····move-result-object·v3 | 626 | ····move-result-object·v3 |
623 | ····aput-object·v3,·v1,·v2 | 627 | ····aput-object·v3,·v1,·v2 |
624 | ····.line·202 | 628 | ····.line·202 |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$background:Landroid/graphics/drawable/Drawable; | 22 | .field·final·synthetic·val$background:Landroid/graphics/drawable/Drawable; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/isoron/uhabits/helpers/ListHabitsHelper;Landroid/graphics/drawable/Drawable;)V | 24 | .method·constructor·<init>(Lorg/isoron/uhabits/helpers/ListHabitsHelper;Landroid/graphics/drawable/Drawable;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/helpers/ListHabitsHelper; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·279 | 28 | ····.line·279 |
28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/helpers/ListHabitsHelper$1;->this$0:Lorg/isoron/uhabits/helpers/ListHabitsHelper; | 29 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/helpers/ListHabitsHelper$1;->this$0:Lorg/isoron/uhabits/helpers/ListHabitsHelper; |
29 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/helpers/ListHabitsHelper$1;->val$background:Landroid/graphics/drawable/Drawable; | 30 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/helpers/ListHabitsHelper$1;->val$background:Landroid/graphics/drawable/Drawable; |
Offset 274, 26 lines modified | Offset 274, 28 lines modified | ||
274 | ····.line·266 | 274 | ····.line·266 |
275 | ····.local·v0,·"offset":Ljava/lang/Integer; | 275 | ····.local·v0,·"offset":Ljava/lang/Integer; |
276 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocalTime()J | 276 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocalTime()J |
277 | ····move-result-wide·v2 | 277 | ····move-result-wide·v2 |
278 | ····.line·267 | ||
278 | ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I | 279 | ····invoke-virtual·{v0},·Ljava/lang/Integer;->intValue()I |
279 | ····move-result·v1 | 280 | ····move-result·v1 |
280 | ····int-to-long·v4,·v1 | 281 | ····int-to-long·v4,·v1 |
281 | ····sget-wide·v6,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J | 282 | ····sget-wide·v6,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J |
282 | ····mul-long/2addr·v4,·v6 | 283 | ····mul-long/2addr·v4,·v6 |
283 | ····sub-long/2addr·v2,·v4 | 284 | ····sub-long/2addr·v2,·v4 |
285 | ····.line·266 | ||
284 | ····invoke-static·{v2,·v3},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfDay(J)J | 286 | ····invoke-static·{v2,·v3},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfDay(J)J |
285 | ····move-result-wide·v2 | 287 | ····move-result-wide·v2 |
286 | ····return-wide·v2 | 288 | ····return-wide·v2 |
287 | .end·method | 289 | .end·method |
Offset 168, 15 lines modified | Offset 168, 15 lines modified | ||
168 | ····.line·81 | 168 | ····.line·81 |
169 | ····const-string·v10,·"reminderTime" | 169 | ····const-string·v10,·"reminderTime" |
170 | ····move-object/from16·v0,·p2 | 170 | ····move-object/from16·v0,·p2 |
171 | ····invoke-virtual·{v2,·v10,·v0},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent; | 171 | ····invoke-virtual·{v2,·v10,·v0},·Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent; |
172 |
····.line·8 |
172 | ····.line·84 |
173 | ····invoke-virtual/range·{p1·..·p1},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; | 173 | ····invoke-virtual/range·{p1·..·p1},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; |
174 | ····move-result-object·v10 | 174 | ····move-result-object·v10 |
175 | ····invoke-virtual·{v10},·Ljava/lang/Long;->longValue()J | 175 | ····invoke-virtual·{v10},·Ljava/lang/Long;->longValue()J |
176 | ····move-result-wide·v10 | 176 | ····move-result-wide·v10 |
Offset 260, 14 lines modified | Offset 260, 15 lines modified | ||
260 | ····const/4·v12,·0x2 | 260 | ····const/4·v12,·0x2 |
261 | ····new-array·v12,·v12,·[Ljava/lang/Object; | 261 | ····new-array·v12,·v12,·[Ljava/lang/Object; |
262 | ····const/4·v13,·0x0 | 262 | ····const/4·v13,·0x0 |
263 | ····.line·98 | ||
263 | ····invoke-static·{},·Ljava/text/DateFormat;->getDateTimeInstance()Ljava/text/DateFormat; | 264 | ····invoke-static·{},·Ljava/text/DateFormat;->getDateTimeInstance()Ljava/text/DateFormat; |
264 | ····move-result-object·v14 | 265 | ····move-result-object·v14 |
265 | ····new-instance·v15,·Ljava/util/Date; | 266 | ····new-instance·v15,·Ljava/util/Date; |
266 | ····invoke-virtual/range·{p2·..·p2},·Ljava/lang/Long;->longValue()J | 267 | ····invoke-virtual/range·{p2·..·p2},·Ljava/lang/Long;->longValue()J |
Offset 282, 14 lines modified | Offset 283, 15 lines modified | ||
282 | ····aput-object·v14,·v12,·v13 | 283 | ····aput-object·v14,·v12,·v13 |
283 | ····const/4·v13,·0x1 | 284 | ····const/4·v13,·0x1 |
284 | ····aput-object·v5,·v12,·v13 | 285 | ····aput-object·v5,·v12,·v13 |
286 | ····.line·97 | ||
285 | ····invoke-static·{v11,·v12},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 287 | ····invoke-static·{v11,·v12},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
286 | ····move-result-object·v11 | 288 | ····move-result-object·v11 |
287 | ····invoke-static·{v10,·v11},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I | 289 | ····invoke-static·{v10,·v11},·Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
288 | ····goto/16·:goto_0 | 290 | ····goto/16·:goto_0 |
Offset 331, 21 lines modified | Offset 333, 20 lines modified | ||
331 | ····.locals·3 | 333 | ····.locals·3 |
332 | ····.param·p0,·"context"····#·Landroid/content/Context; | 334 | ····.param·p0,·"context"····#·Landroid/content/Context; |
333 | ····.prologue | 335 | ····.prologue |
334 | ····.line·49 | 336 | ····.line·49 |
335 | ····invoke-static·{},·Lorg/isoron/uhabits/models/Habit;->getHabitsWithReminder()Ljava/util/List; | 337 | ····invoke-static·{},·Lorg/isoron/uhabits/models/Habit;->getHabitsWithReminder()Ljava/util/List; |
336 |
····move-result-object·v |
338 | ····move-result-object·v1 |
337 |
····invoke-interface·{v |
339 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
338 | ····move-result-object·v1 | 340 | ····move-result-object·v1 |
339 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
340 | ····:goto_0 | 341 | ····:goto_0 |
341 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 342 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
342 | ····move-result·v2 | 343 | ····move-result·v2 |
343 | ····if-eqz·v2,·:cond_0 | 344 | ····if-eqz·v2,·:cond_0 |
Offset 27, 15 lines modified | Offset 27, 14 lines modified | ||
27 | .method·public·constructor·<init>()V | 27 | .method·public·constructor·<init>()V |
28 | ····.locals·0 | 28 | ····.locals·0 |
29 | ····.prologue | 29 | ····.prologue |
30 | ····.line·46 | 30 | ····.line·46 |
31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 31 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
32 | ····.line·61 | ||
33 | ····return-void | 32 | ····return-void |
34 | .end·method | 33 | .end·method |
35 | .method·public·static·applyCurrentTheme(Landroid/app/Activity;)V | 34 | .method·public·static·applyCurrentTheme(Landroid/app/Activity;)V |
36 | ····.locals·4 | 35 | ····.locals·4 |
37 | ····.param·p0,·"activity"····#·Landroid/app/Activity; | 36 | ····.param·p0,·"activity"····#·Landroid/app/Activity; |
Offset 668, 167 lines modified | Offset 667, 162 lines modified | ||
668 | ····invoke-interface·{v2},·Landroid/content/SharedPreferences$Editor;->apply()V | 667 | ····invoke-interface·{v2},·Landroid/content/SharedPreferences$Editor;->apply()V |
669 | ····.line·86 | 668 | ····.line·86 |
670 | ····return-void | 669 | ····return-void |
671 | .end·method | 670 | .end·method |
672 | .method·public·static·isLocaleFullyTranslated()Z | 671 | .method·public·static·isLocaleFullyTranslated()Z |
673 |
····.locals· |
672 | ····.locals·8 |
674 | ····.prologue | 673 | ····.prologue |
675 |
····const/4·v |
674 | ····const/4·v3,·0x1 |
676 |
····const/4·v |
675 | ····const/4·v4,·0x0 |
677 | ····.line·193 | 676 | ····.line·193 |
678 |
····const/16·v |
677 | ····const/16·v5,·0x10 |
679 |
····new-array·v |
678 | ····new-array·v1,·v5,·[Ljava/lang/String; |
680 |
····const-string·v |
679 | ····const-string·v5,·"ca" |
681 |
····aput-object·v |
680 | ····aput-object·v5,·v1,·v4 |
682 |
····const-string·v |
681 | ····const-string·v5,·"zh" |
683 |
····aput-object·v |
682 | ····aput-object·v5,·v1,·v3 |
684 |
····const/4·v |
683 | ····const/4·v5,·0x2 |
685 |
····const-string·v |
684 | ····const-string·v6,·"en" |
686 |
····aput-object·v |
685 | ····aput-object·v6,·v1,·v5 |
687 |
····const/4·v |
686 | ····const/4·v5,·0x3 |
688 |
····const-string·v |
687 | ····const-string·v6,·"de" |
689 |
····aput-object·v |
688 | ····aput-object·v6,·v1,·v5 |
690 |
····const/4·v |
689 | ····const/4·v5,·0x4 |
691 |
····const-string·v |
690 | ····const-string·v6,·"in" |
692 |
····aput-object·v |
691 | ····aput-object·v6,·v1,·v5 |
693 |
····const/4·v |
692 | ····const/4·v5,·0x5 |
694 |
····const-string·v |
693 | ····const-string·v6,·"it" |
695 |
····aput-object·v |
694 | ····aput-object·v6,·v1,·v5 |
696 |
····const/4·v |
695 | ····const/4·v5,·0x6 |
697 |
····const-string·v |
696 | ····const-string·v6,·"ko" |
698 |
····aput-object·v |
697 | ····aput-object·v6,·v1,·v5 |
699 |
····const/4·v |
698 | ····const/4·v5,·0x7 |
700 |
····const-string·v |
699 | ····const-string·v6,·"pl" |
701 |
····aput-object·v |
700 | ····aput-object·v6,·v1,·v5 |
702 |
····const/16·v |
701 | ····const/16·v5,·0x8 |
703 |
····const-string·v |
702 | ····const-string·v6,·"pt" |
704 |
····aput-object·v |
703 | ····aput-object·v6,·v1,·v5 |
705 |
····const/16·v |
704 | ····const/16·v5,·0x9 |
706 |
····const-string·v |
705 | ····const-string·v6,·"es" |
707 |
····aput-object·v |
706 | ····aput-object·v6,·v1,·v5 |
708 |
····const/16·v |
707 | ····const/16·v5,·0xa |
709 |
····const-string·v |
708 | ····const-string·v6,·"tk" |
710 |
····aput-object·v |
709 | ····aput-object·v6,·v1,·v5 |
711 |
····const/16·v |
710 | ····const/16·v5,·0xb |
Max diff block lines reached; 3049/5642 bytes (54.04%) of diff not shown. |
Offset 83, 51 lines modified | Offset 83, 50 lines modified | ||
83 | ········value·=·{ | 83 | ········value·=·{ |
84 | ············Ljava/io/IOException; | 84 | ············Ljava/io/IOException; |
85 | ········} | 85 | ········} |
86 | ····.end·annotation | 86 | ····.end·annotation |
87 | ····.prologue | 87 | ····.prologue |
88 | ····.line·45 | 88 | ····.line·45 |
89 |
····iget-object·v |
89 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/io/GenericImporter;->importers:Ljava/util/List; |
90 |
····invoke-interface·{v |
90 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
91 |
····move-result-object·v |
91 | ····move-result-object·v1 |
92 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
93 | ····:cond_0 | 92 | ····:cond_0 |
94 |
····invoke-interface·{v |
93 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
95 | ····move-result·v2 | 94 | ····move-result·v2 |
96 | ····if-eqz·v2,·:cond_1 | 95 | ····if-eqz·v2,·:cond_1 |
97 |
····invoke-interface·{v |
96 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
98 |
····move-result-object·v |
97 | ····move-result-object·v0 |
99 |
····check-cast·v |
98 | ····check-cast·v0,·Lorg/isoron/uhabits/io/AbstractImporter; |
100 | ····.line·46 | 99 | ····.line·46 |
101 |
····.local·v |
100 | ····.local·v0,·"importer":Lorg/isoron/uhabits/io/AbstractImporter; |
102 |
····invoke-virtual·{v |
101 | ····invoke-virtual·{v0,·p1},·Lorg/isoron/uhabits/io/AbstractImporter;->canHandle(Ljava/io/File;)Z |
103 | ····move-result·v2 | 102 | ····move-result·v2 |
104 | ····if-eqz·v2,·:cond_0 | 103 | ····if-eqz·v2,·:cond_0 |
105 |
····const/4·v |
104 | ····const/4·v1,·0x1 |
106 | ····.line·48 | 105 | ····.line·48 |
107 |
····.end·local·v |
106 | ····.end·local·v0····#·"importer":Lorg/isoron/uhabits/io/AbstractImporter; |
108 | ····:goto_0 | 107 | ····:goto_0 |
109 |
····return·v |
108 | ····return·v1 |
110 | ····:cond_1 | 109 | ····:cond_1 |
111 |
····const/4·v |
110 | ····const/4·v1,·0x0 |
112 | ····goto·:goto_0 | 111 | ····goto·:goto_0 |
113 | .end·method | 112 | .end·method |
114 | .method·public·importHabitsFromFile(Ljava/io/File;)V | 113 | .method·public·importHabitsFromFile(Ljava/io/File;)V |
115 | ····.locals·3 | 114 | ····.locals·3 |
116 | ····.param·p1,·"file"····#·Ljava/io/File; | 115 | ····.param·p1,·"file"····#·Ljava/io/File; |
Offset 138, 46 lines modified | Offset 137, 45 lines modified | ||
138 | ········value·=·{ | 137 | ········value·=·{ |
139 | ············Ljava/io/IOException; | 138 | ············Ljava/io/IOException; |
140 | ········} | 139 | ········} |
141 | ····.end·annotation | 140 | ····.end·annotation |
142 | ····.prologue | 141 | ····.prologue |
143 | ····.line·54 | 142 | ····.line·54 |
144 |
····iget-object·v |
143 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/io/GenericImporter;->importers:Ljava/util/List; |
145 |
····invoke-interface·{v |
144 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
146 |
····move-result-object·v |
145 | ····move-result-object·v1 |
147 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
148 | ····:cond_0 | 146 | ····:cond_0 |
149 | ····:goto_0 | 147 | ····:goto_0 |
150 |
····invoke-interface·{v |
148 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
151 | ····move-result·v2 | 149 | ····move-result·v2 |
152 | ····if-eqz·v2,·:cond_1 | 150 | ····if-eqz·v2,·:cond_1 |
153 |
····invoke-interface·{v |
151 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
154 |
····move-result-object·v |
152 | ····move-result-object·v0 |
155 |
····check-cast·v |
153 | ····check-cast·v0,·Lorg/isoron/uhabits/io/AbstractImporter; |
156 | ····.line·55 | 154 | ····.line·55 |
157 |
····.local·v |
155 | ····.local·v0,·"importer":Lorg/isoron/uhabits/io/AbstractImporter; |
158 |
····invoke-virtual·{v |
156 | ····invoke-virtual·{v0,·p1},·Lorg/isoron/uhabits/io/AbstractImporter;->canHandle(Ljava/io/File;)Z |
159 | ····move-result·v2 | 157 | ····move-result·v2 |
160 | ····if-eqz·v2,·:cond_0 | 158 | ····if-eqz·v2,·:cond_0 |
161 | ····.line·56 | 159 | ····.line·56 |
162 |
····invoke-virtual·{v |
160 | ····invoke-virtual·{v0,·p1},·Lorg/isoron/uhabits/io/AbstractImporter;->importHabitsFromFile(Ljava/io/File;)V |
163 | ····goto·:goto_0 | 161 | ····goto·:goto_0 |
164 | ····.line·57 | 162 | ····.line·57 |
165 |
····.end·local·v |
163 | ····.end·local·v0····#·"importer":Lorg/isoron/uhabits/io/AbstractImporter; |
166 | ····:cond_1 | 164 | ····:cond_1 |
167 | ····return-void | 165 | ····return-void |
168 | .end·method | 166 | .end·method |
Offset 24, 83 lines modified | Offset 24, 82 lines modified | ||
24 | ········value·=·{ | 24 | ········value·=·{ |
25 | ············Ljava/io/IOException; | 25 | ············Ljava/io/IOException; |
26 | ········} | 26 | ········} |
27 | ····.end·annotation | 27 | ····.end·annotation |
28 | ····.prologue | 28 | ····.prologue |
29 | ····.line·65 | 29 | ····.line·65 |
30 |
····new-instance·v1 |
30 | ····new-instance·v11,·Lcom/opencsv/CSVReader; |
31 |
····new-instance·v1 |
31 | ····new-instance·v16,·Ljava/io/FileReader; |
32 |
····move-object/from16·v0,·v1 |
32 | ····move-object/from16·v0,·v16 |
33 | ····move-object/from16·v1,·p1 | 33 | ····move-object/from16·v1,·p1 |
34 | ····invoke-direct·{v0,·v1},·Ljava/io/FileReader;-><init>(Ljava/io/File;)V | 34 | ····invoke-direct·{v0,·v1},·Ljava/io/FileReader;-><init>(Ljava/io/File;)V |
35 |
····move-object/from16·v0,·v1 |
35 | ····move-object/from16·v0,·v16 |
36 |
····invoke-direct·{v1 |
36 | ····invoke-direct·{v11,·v0},·Lcom/opencsv/CSVReader;-><init>(Ljava/io/Reader;)V |
37 | ····.line·66 | 37 | ····.line·66 |
38 |
····.local·v1 |
38 | ····.local·v11,·"reader":Lcom/opencsv/CSVReader; |
39 | ····new-instance·v7,·Ljava/util/HashMap; | 39 | ····new-instance·v7,·Ljava/util/HashMap; |
40 | ····invoke-direct·{v7},·Ljava/util/HashMap;-><init>()V | 40 | ····invoke-direct·{v7},·Ljava/util/HashMap;-><init>()V |
41 | ····.line·68 | 41 | ····.line·68 |
42 | ····.local·v7,·"habits":Ljava/util/HashMap;,·"Ljava/util/HashMap<Ljava/lang/String;Lorg/isoron/uhabits/models/Habit;>;" | 42 | ····.local·v7,·"habits":Ljava/util/HashMap;,·"Ljava/util/HashMap<Ljava/lang/String;Lorg/isoron/uhabits/models/Habit;>;" |
43 |
····invoke-virtual·{v1 |
43 | ····invoke-virtual·{v11},·Lcom/opencsv/CSVReader;->iterator()Ljava/util/Iterator; |
44 |
····move-result-object·v |
44 | ····move-result-object·v16 |
45 | ····.local·v8,·"i$":Ljava/util/Iterator; | ||
46 | ····:cond_0 | 45 | ····:cond_0 |
47 | ····:goto_0 | 46 | ····:goto_0 |
48 |
····invoke-interface·{v |
47 | ····invoke-interface/range·{v16·..·v16},·Ljava/util/Iterator;->hasNext()Z |
49 | ····move-result·v17 | 48 | ····move-result·v17 |
50 | ····if-eqz·v17,·:cond_2 | 49 | ····if-eqz·v17,·:cond_2 |
51 |
····invoke-interface·{v |
50 | ····invoke-interface/range·{v16·..·v16},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
52 |
····move-result-object·v |
51 | ····move-result-object·v8 |
53 |
····check-cast·v |
52 | ····check-cast·v8,·[Ljava/lang/String; |
54 | ····.line·70 | 53 | ····.line·70 |
55 |
····.local·v |
54 | ····.local·v8,·"line":[Ljava/lang/String; |
56 | ····const/16·v17,·0x0 | 55 | ····const/16·v17,·0x0 |
57 |
····aget-object·v1 |
56 | ····aget-object·v10,·v8,·v17 |
58 | ····.line·71 | 57 | ····.line·71 |
59 |
····.local·v1 |
58 | ····.local·v10,·"name":Ljava/lang/String; |
60 | ····const-string·v17,·"HabitName" | 59 | ····const-string·v17,·"HabitName" |
61 | ····move-object/from16·v0,·v17 | 60 | ····move-object/from16·v0,·v17 |
62 |
····invoke-virtual·{v1 |
61 | ····invoke-virtual·{v10,·v0},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
63 | ····move-result·v17 | 62 | ····move-result·v17 |
64 | ····if-nez·v17,·:cond_0 | 63 | ····if-nez·v17,·:cond_0 |
65 | ····.line·73 | 64 | ····.line·73 |
66 | ····const/16·v17,·0x1 | 65 | ····const/16·v17,·0x1 |
67 |
····aget-object·v5,·v |
66 | ····aget-object·v5,·v8,·v17 |
68 | ····.line·74 | 67 | ····.line·74 |
69 | ····.local·v5,·"description":Ljava/lang/String; | 68 | ····.local·v5,·"description":Ljava/lang/String; |
70 | ····const/16·v17,·0x3 | 69 | ····const/16·v17,·0x3 |
71 |
····aget-object·v17,·v |
70 | ····aget-object·v17,·v8,·v17 |
72 | ····const-string·v18,·"-" | 71 | ····const-string·v18,·"-" |
73 | ····invoke-virtual/range·{v17·..·v18},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; | 72 | ····invoke-virtual/range·{v17·..·v18},·Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String; |
74 | ····move-result-object·v3 | 73 | ····move-result-object·v3 |
Offset 108, 28 lines modified | Offset 107, 28 lines modified | ||
108 | ····.local·v3,·"dateString":[Ljava/lang/String; | 107 | ····.local·v3,·"dateString":[Ljava/lang/String; |
109 | ····const/16·v17,·0x0 | 108 | ····const/16·v17,·0x0 |
110 | ····aget-object·v17,·v3,·v17 | 109 | ····aget-object·v17,·v3,·v17 |
111 | ····invoke-static/range·{v17·..·v17},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I | 110 | ····invoke-static/range·{v17·..·v17},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I |
112 |
····move-result·v1 |
111 | ····move-result·v15 |
113 | ····.line·76 | 112 | ····.line·76 |
114 |
····.local·v1 |
113 | ····.local·v15,·"year":I |
115 | ····const/16·v17,·0x1 | 114 | ····const/16·v17,·0x1 |
116 | ····aget-object·v17,·v3,·v17 | 115 | ····aget-object·v17,·v3,·v17 |
Max diff block lines reached; 4600/7924 bytes (58.05%) of diff not shown. |
Offset 189, 21 lines modified | Offset 189, 20 lines modified | ||
189 | .end·method | 189 | .end·method |
190 | .method·private·cleanup()V | 190 | .method·private·cleanup()V |
191 | ····.locals·5 | 191 | ····.locals·5 |
192 | ····.prologue | 192 | ····.prologue |
193 | ····.line·152 | 193 | ····.line·152 |
194 |
····iget-object·v |
194 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/io/HabitsCSVExporter;->generateFilenames:Ljava/util/List; |
195 |
····invoke-interface·{v |
195 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
196 | ····move-result-object·v1 | 196 | ····move-result-object·v1 |
197 | ····.local·v1,·"i$":Ljava/util/Iterator; | ||
198 | ····:goto_0 | 197 | ····:goto_0 |
199 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 198 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
200 | ····move-result·v2 | 199 | ····move-result·v2 |
201 | ····if-eqz·v2,·:cond_0 | 200 | ····if-eqz·v2,·:cond_0 |
Offset 240, 17 lines modified | Offset 239, 17 lines modified | ||
240 | ····invoke-virtual·{v2},·Ljava/io/File;->delete()Z | 239 | ····invoke-virtual·{v2},·Ljava/io/File;->delete()Z |
241 | ····goto·:goto_0 | 240 | ····goto·:goto_0 |
242 | ····.line·155 | 241 | ····.line·155 |
243 | ····.end·local·v0····#·"filename":Ljava/lang/String; | 242 | ····.end·local·v0····#·"filename":Ljava/lang/String; |
244 | ····:cond_0 | 243 | ····:cond_0 |
245 |
····iget-object·v |
244 | ····iget-object·v1,·p0,·Lorg/isoron/uhabits/io/HabitsCSVExporter;->generateDirs:Ljava/util/List; |
246 |
····invoke-interface·{v |
245 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
247 | ····move-result-object·v1 | 246 | ····move-result-object·v1 |
248 | ····:goto_1 | 247 | ····:goto_1 |
249 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z | 248 | ····invoke-interface·{v1},·Ljava/util/Iterator;->hasNext()Z |
250 | ····move-result·v2 | 249 | ····move-result·v2 |
Offset 290, 21 lines modified | Offset 289, 21 lines modified | ||
290 | ····invoke-virtual·{v2},·Ljava/io/File;->delete()Z | 289 | ····invoke-virtual·{v2},·Ljava/io/File;->delete()Z |
291 | ····goto·:goto_1 | 290 | ····goto·:goto_1 |
292 | ····.line·158 | 291 | ····.line·158 |
293 | ····.end·local·v0····#·"filename":Ljava/lang/String; | 292 | ····.end·local·v0····#·"filename":Ljava/lang/String; |
294 | ····:cond_1 | 293 | ····:cond_1 |
295 |
····new-instance·v |
294 | ····new-instance·v1,·Ljava/io/File; |
296 |
····iget-object·v |
295 | ····iget-object·v2,·p0,·Lorg/isoron/uhabits/io/HabitsCSVExporter;->exportDirName:Ljava/lang/String; |
297 |
····invoke-direct·{v |
296 | ····invoke-direct·{v1,·v2},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
298 |
····invoke-virtual·{v |
297 | ····invoke-virtual·{v1},·Ljava/io/File;->delete()Z |
299 | ····.line·159 | 298 | ····.line·159 |
300 | ····return-void | 299 | ····return-void |
301 | .end·method | 300 | .end·method |
302 | .method·private·sanitizeFilename(Ljava/lang/String;)Ljava/lang/String; | 301 | .method·private·sanitizeFilename(Ljava/lang/String;)Ljava/lang/String; |
303 | ····.locals·4 | 302 | ····.locals·4 |
Offset 423, 90 lines modified | Offset 422, 89 lines modified | ||
423 | ····.prologue | 422 | ····.prologue |
424 | ····.line·60 | 423 | ····.line·60 |
425 | ····const-string·v0,·"Habits.csv" | 424 | ····const-string·v0,·"Habits.csv" |
426 | ····.line·61 | 425 | ····.line·61 |
427 | ····.local·v0,·"filename":Ljava/lang/String; | 426 | ····.local·v0,·"filename":Ljava/lang/String; |
428 |
····new-instance·v |
427 | ····new-instance·v5,·Ljava/io/File; |
429 |
····iget-object·v |
428 | ····iget-object·v6,·p0,·Lorg/isoron/uhabits/io/HabitsCSVExporter;->exportDirName:Ljava/lang/String; |
430 |
····invoke-direct·{v |
429 | ····invoke-direct·{v5,·v6},·Ljava/io/File;-><init>(Ljava/lang/String;)V |
431 |
····invoke-virtual·{v |
430 | ····invoke-virtual·{v5},·Ljava/io/File;->mkdirs()Z |
432 | ····.line·62 | 431 | ····.line·62 |
433 |
····new-instance·v |
432 | ····new-instance·v3,·Ljava/io/FileWriter; |
434 |
····new-instance·v |
433 | ····new-instance·v5,·Ljava/lang/StringBuilder; |
435 |
····invoke-direct·{v |
434 | ····invoke-direct·{v5},·Ljava/lang/StringBuilder;-><init>()V |
436 |
····iget-object·v |
435 | ····iget-object·v6,·p0,·Lorg/isoron/uhabits/io/HabitsCSVExporter;->exportDirName:Ljava/lang/String; |
437 |
····invoke-virtual·{v |
436 | ····invoke-virtual·{v5,·v6},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
438 |
····move-result-object·v |
437 | ····move-result-object·v5 |
439 |
····invoke-virtual·{v |
438 | ····invoke-virtual·{v5,·v0},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
440 |
····move-result-object·v |
439 | ····move-result-object·v5 |
441 |
····invoke-virtual·{v |
440 | ····invoke-virtual·{v5},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
442 |
····move-result-object·v |
441 | ····move-result-object·v5 |
443 |
····invoke-direct·{v |
442 | ····invoke-direct·{v3,·v5},·Ljava/io/FileWriter;-><init>(Ljava/lang/String;)V |
Max diff block lines reached; 8075/12397 bytes (65.14%) of diff not shown. |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$db:Landroid/database/sqlite/SQLiteDatabase; | 22 | .field·final·synthetic·val$db:Landroid/database/sqlite/SQLiteDatabase; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/isoron/uhabits/io/RewireDBImporter;Landroid/database/sqlite/SQLiteDatabase;)V | 24 | .method·constructor·<init>(Lorg/isoron/uhabits/io/RewireDBImporter;Landroid/database/sqlite/SQLiteDatabase;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/io/RewireDBImporter; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·61 | 28 | ····.line·61 |
28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/io/RewireDBImporter$1;->this$0:Lorg/isoron/uhabits/io/RewireDBImporter; | 29 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/io/RewireDBImporter$1;->this$0:Lorg/isoron/uhabits/io/RewireDBImporter; |
29 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/io/RewireDBImporter$1;->val$db:Landroid/database/sqlite/SQLiteDatabase; | 30 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/io/RewireDBImporter$1;->val$db:Landroid/database/sqlite/SQLiteDatabase; |
Offset 460, 209 lines modified | Offset 460, 199 lines modified | ||
460 | ········:pswitch_0 | 460 | ········:pswitch_0 |
461 | ········:pswitch_1 | 461 | ········:pswitch_1 |
462 | ········:pswitch_2 | 462 | ········:pswitch_2 |
463 | ····.end·packed-switch | 463 | ····.end·packed-switch |
464 | .end·method | 464 | .end·method |
465 | .method·private·createReminder(Landroid/database/sqlite/SQLiteDatabase;Lorg/isoron/uhabits/models/Habit;I)V | 465 | .method·private·createReminder(Landroid/database/sqlite/SQLiteDatabase;Lorg/isoron/uhabits/models/Habit;I)V |
466 |
····.locals·1 |
466 | ····.locals·10 |
467 | ····.param·p1,·"db"····#·Landroid/database/sqlite/SQLiteDatabase; | 467 | ····.param·p1,·"db"····#·Landroid/database/sqlite/SQLiteDatabase; |
468 | ····.param·p2,·"habit"····#·Lorg/isoron/uhabits/models/Habit; | 468 | ····.param·p2,·"habit"····#·Lorg/isoron/uhabits/models/Habit; |
469 | ····.param·p3,·"rewireHabitId"····#·I | 469 | ····.param·p3,·"rewireHabitId"····#·I |
470 | ····.prologue | 470 | ····.prologue |
471 |
····const/4·v |
471 | ····const/4·v8,·0x1 |
472 |
····const/4·v |
472 | ····const/4·v7,·0x0 |
473 | ····.line·133 | 473 | ····.line·133 |
474 |
····new-array·v |
474 | ····new-array·v4,·v8,·[Ljava/lang/String; |
475 | ····invoke-static·{p3},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 475 | ····invoke-static·{p3},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
476 |
····move-result-object·v |
476 | ····move-result-object·v8 |
477 |
····aput-object·v |
477 | ····aput-object·v8,·v4,·v7 |
478 | ····.line·134 | 478 | ····.line·134 |
479 |
····.local·v |
479 | ····.local·v4,·"params":[Ljava/lang/String; |
480 |
····const/4·v |
480 | ····const/4·v1,·0x0 |
481 | ····.line·138 | 481 | ····.line·138 |
482 |
····.local·v |
482 | ····.local·v1,·"c":Landroid/database/Cursor; |
483 | ····:try_start_0 | 483 | ····:try_start_0 |
484 |
····const-string·v |
484 | ····const-string·v8,·"select·time,·active_days·from·reminders·where·habit_id=?·limit·1" |
485 |
····invoke-virtual·{p1,·v |
485 | ····invoke-virtual·{p1,·v8,·v4},·Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor; |
486 |
····move-result-object·v |
486 | ····move-result-object·v1 |
487 | ····.line·140 | 487 | ····.line·140 |
488 |
····invoke-interface·{v |
488 | ····invoke-interface·{v1},·Landroid/database/Cursor;->moveToFirst()Z |
489 | ····:try_end_0 | 489 | ····:try_end_0 |
490 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 490 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
491 |
····move-result·v |
491 | ····move-result·v8 |
492 |
····if-nez·v |
492 | ····if-nez·v8,·:cond_1 |
493 | ····.line·160 | 493 | ····.line·160 |
494 |
····if-eqz·v |
494 | ····if-eqz·v1,·:cond_0 |
495 |
····invoke-interface·{v |
495 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V |
496 | ····.line·162 | 496 | ····.line·162 |
497 | ····:cond_0 | 497 | ····:cond_0 |
498 | ····:goto_0 | 498 | ····:goto_0 |
499 | ····return-void | 499 | ····return-void |
500 | ····.line·141 | 500 | ····.line·141 |
501 | ····:cond_1 | 501 | ····:cond_1 |
502 |
····const/4·v |
502 | ····const/4·v8,·0x0 |
503 | ····:try_start_1 | 503 | ····:try_start_1 |
504 |
····invoke-interface·{v |
504 | ····invoke-interface·{v1,·v8},·Landroid/database/Cursor;->getString(I)Ljava/lang/String; |
505 |
····move-result-object·v |
505 | ····move-result-object·v8 |
506 |
····invoke-static·{v |
506 | ····invoke-static·{v8},·Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I |
507 | ····:try_end_1 | 507 | ····:try_end_1 |
508 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 508 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
509 |
····move-result·v |
509 | ····move-result·v6 |
510 | ····.line·142 | 510 | ····.line·142 |
511 |
····.local·v |
511 | ····.local·v6,·"rewireReminder":I |
512 |
····if-lez·v |
512 | ····if-lez·v6,·:cond_2 |
513 |
····const/16·v |
513 | ····const/16·v8,·0x5a0 |
514 |
····if-lt·v |
514 | ····if-lt·v6,·v8,·:cond_3 |
515 | ····.line·160 | 515 | ····.line·160 |
516 | ····:cond_2 | 516 | ····:cond_2 |
517 |
····if-eqz·v |
517 | ····if-eqz·v1,·:cond_0 |
518 |
····invoke-interface·{v |
518 | ····invoke-interface·{v1},·Landroid/database/Cursor;->close()V |
519 | ····goto·:goto_0 | 519 | ····goto·:goto_0 |
520 | ····.line·144 | 520 | ····.line·144 |
521 | ····:cond_3 | 521 | ····:cond_3 |
522 |
····const/4·v |
522 | ····const/4·v8,·0x7 |
523 | ····:try_start_2 | 523 | ····:try_start_2 |
524 |
····new-array·v |
524 | ····new-array·v5,·v8,·[Z |
525 | ····.line·146 | 525 | ····.line·146 |
526 |
····.local·v |
526 | ····.local·v5,·"reminderDays":[Z |
527 |
····const/4·v |
527 | ····const/4·v8,·0x1 |
Max diff block lines reached; 4343/7917 bytes (54.86%) of diff not shown. |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$db:Landroid/database/sqlite/SQLiteDatabase; | 22 | .field·final·synthetic·val$db:Landroid/database/sqlite/SQLiteDatabase; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lorg/isoron/uhabits/io/TickmateDBImporter;Landroid/database/sqlite/SQLiteDatabase;)V | 24 | .method·constructor·<init>(Lorg/isoron/uhabits/io/TickmateDBImporter;Landroid/database/sqlite/SQLiteDatabase;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/io/TickmateDBImporter; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·61 | 28 | ····.line·61 |
28 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/io/TickmateDBImporter$1;->this$0:Lorg/isoron/uhabits/io/TickmateDBImporter; | 29 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/io/TickmateDBImporter$1;->this$0:Lorg/isoron/uhabits/io/TickmateDBImporter; |
29 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/io/TickmateDBImporter$1;->val$db:Landroid/database/sqlite/SQLiteDatabase; | 30 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/io/TickmateDBImporter$1;->val$db:Landroid/database/sqlite/SQLiteDatabase; |
Offset 65, 14 lines modified | Offset 65, 15 lines modified | ||
65 | .field·final·synthetic·val$updateScoresAndCheckmarks:Z | 65 | .field·final·synthetic·val$updateScoresAndCheckmarks:Z |
66 | #·direct·methods | 66 | #·direct·methods |
67 | .method·constructor·<init>(Lorg/isoron/uhabits/loaders/HabitListLoader;Z)V | 67 | .method·constructor·<init>(Lorg/isoron/uhabits/loaders/HabitListLoader;Z)V |
68 | ····.locals·0 | 68 | ····.locals·0 |
69 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/loaders/HabitListLoader; | ||
69 | ····.prologue | 70 | ····.prologue |
70 | ····.line·92 | 71 | ····.line·92 |
71 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->this$0:Lorg/isoron/uhabits/loaders/HabitListLoader; | 72 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->this$0:Lorg/isoron/uhabits/loaders/HabitListLoader; |
72 | ····iput-boolean·p2,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->val$updateScoresAndCheckmarks:Z | 73 | ····iput-boolean·p2,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->val$updateScoresAndCheckmarks:Z |
Offset 122, 224 lines modified | Offset 123, 223 lines modified | ||
122 | .method·protected·doInBackground()V | 123 | .method·protected·doInBackground()V |
123 | ····.locals·15 | 124 | ····.locals·15 |
124 | ····.prologue | 125 | ····.prologue |
125 | ····const/4·v14,·0x0 | 126 | ····const/4·v14,·0x0 |
126 | ····.line·101 | 127 | ····.line·101 |
127 |
····new-instance·v |
128 | ····new-instance·v9,·Ljava/util/HashMap; |
128 |
····invoke-direct·{v |
129 | ····invoke-direct·{v9},·Ljava/util/HashMap;-><init>()V |
129 |
····iput-object·v |
130 | ····iput-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->newHabits:Ljava/util/HashMap; |
130 | ····.line·102 | 131 | ····.line·102 |
131 |
····new-instance·v |
132 | ····new-instance·v9,·Ljava/util/HashMap; |
132 |
····invoke-direct·{v |
133 | ····invoke-direct·{v9},·Ljava/util/HashMap;-><init>()V |
133 |
····iput-object·v |
134 | ····iput-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->newCheckmarks:Ljava/util/HashMap; |
134 | ····.line·103 | 135 | ····.line·103 |
135 |
····new-instance·v |
136 | ····new-instance·v9,·Ljava/util/HashMap; |
136 |
····invoke-direct·{v |
137 | ····invoke-direct·{v9},·Ljava/util/HashMap;-><init>()V |
137 |
····iput-object·v |
138 | ····iput-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->newScores:Ljava/util/HashMap; |
138 | ····.line·104 | 139 | ····.line·104 |
139 |
····iget-object·v |
140 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->this$0:Lorg/isoron/uhabits/loaders/HabitListLoader; |
140 |
····iget-boolean·v |
141 | ····iget-boolean·v9,·v9,·Lorg/isoron/uhabits/loaders/HabitListLoader;->includeArchived:Z |
141 |
····invoke-static·{v |
142 | ····invoke-static·{v9},·Lorg/isoron/uhabits/models/Habit;->getAll(Z)Ljava/util/List; |
142 |
····move-result-object·v |
143 | ····move-result-object·v9 |
143 |
····iput-object·v |
144 | ····iput-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->newHabitList:Ljava/util/List; |
144 | ····.line·106 | 145 | ····.line·106 |
145 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocalTime()J | 146 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocalTime()J |
146 | ····move-result-wide·v10 | 147 | ····move-result-wide·v10 |
147 | ····invoke-static·{v10,·v11},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfDay(J)J | 148 | ····invoke-static·{v10,·v11},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfDay(J)J |
148 | ····move-result-wide·v4 | 149 | ····move-result-wide·v4 |
149 | ····.line·107 | 150 | ····.line·107 |
150 | ····.local·v4,·"dateTo":J | 151 | ····.local·v4,·"dateTo":J |
151 |
····iget-object·v |
152 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->this$0:Lorg/isoron/uhabits/loaders/HabitListLoader; |
152 | ····#·getter·for:·Lorg/isoron/uhabits/loaders/HabitListLoader;->checkmarkCount:I | 153 | ····#·getter·for:·Lorg/isoron/uhabits/loaders/HabitListLoader;->checkmarkCount:I |
153 |
····invoke-static·{v |
154 | ····invoke-static·{v9},·Lorg/isoron/uhabits/loaders/HabitListLoader;->access$000(Lorg/isoron/uhabits/loaders/HabitListLoader;)I |
154 |
····move-result·v |
155 | ····move-result·v9 |
155 |
····add-int/lit8·v |
156 | ····add-int/lit8·v9,·v9,·-0x1 |
156 |
····int-to-long·v10,·v |
157 | ····int-to-long·v10,·v9 |
157 | ····sget-wide·v12,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J | 158 | ····sget-wide·v12,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J |
158 | ····mul-long/2addr·v10,·v12 | 159 | ····mul-long/2addr·v10,·v12 |
159 | ····sub-long·v2,·v4,·v10 | 160 | ····sub-long·v2,·v4,·v10 |
160 | ····.line·108 | 161 | ····.line·108 |
161 | ····.local·v2,·"dateFrom":J | 162 | ····.local·v2,·"dateFrom":J |
162 |
····iget-object·v |
163 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->this$0:Lorg/isoron/uhabits/loaders/HabitListLoader; |
163 | ····#·getter·for:·Lorg/isoron/uhabits/loaders/HabitListLoader;->checkmarkCount:I | 164 | ····#·getter·for:·Lorg/isoron/uhabits/loaders/HabitListLoader;->checkmarkCount:I |
164 |
····invoke-static·{v |
165 | ····invoke-static·{v9},·Lorg/isoron/uhabits/loaders/HabitListLoader;->access$000(Lorg/isoron/uhabits/loaders/HabitListLoader;)I |
165 |
····move-result·v |
166 | ····move-result·v9 |
166 |
····new-array·v6,·v |
167 | ····new-array·v6,·v9,·[I |
167 | ····.line·110 | 168 | ····.line·110 |
168 | ····.local·v6,·"empty":[I | 169 | ····.local·v6,·"empty":[I |
169 |
····iget-object·v |
170 | ····iget-object·v9,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$1;->newHabitList:Ljava/util/List; |
170 |
····invoke-interface·{v |
171 | ····invoke-interface·{v9},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
Max diff block lines reached; 7949/13169 bytes (60.36%) of diff not shown. |
Offset 19, 14 lines modified | Offset 19, 15 lines modified | ||
19 | .field·final·synthetic·val$id:Ljava/lang/Long; | 19 | .field·final·synthetic·val$id:Ljava/lang/Long; |
20 | #·direct·methods | 20 | #·direct·methods |
21 | .method·constructor·<init>(Lorg/isoron/uhabits/loaders/HabitListLoader;Ljava/lang/Long;)V | 21 | .method·constructor·<init>(Lorg/isoron/uhabits/loaders/HabitListLoader;Ljava/lang/Long;)V |
22 | ····.locals·0 | 22 | ····.locals·0 |
23 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/loaders/HabitListLoader; | ||
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·179 | 25 | ····.line·179 |
25 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$2;->this$0:Lorg/isoron/uhabits/loaders/HabitListLoader; | 26 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$2;->this$0:Lorg/isoron/uhabits/loaders/HabitListLoader; |
26 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$2;->val$id:Ljava/lang/Long; | 27 | ····iput-object·p2,·p0,·Lorg/isoron/uhabits/loaders/HabitListLoader$2;->val$id:Ljava/lang/Long; |
Offset 286, 12 lines modified | Offset 286, 13 lines modified | ||
286 | ····invoke-direct·{v0,·p0,·p1},·Lorg/isoron/uhabits/loaders/HabitListLoader$2;-><init>(Lorg/isoron/uhabits/loaders/HabitListLoader;Ljava/lang/Long;)V | 286 | ····invoke-direct·{v0,·p0,·p1},·Lorg/isoron/uhabits/loaders/HabitListLoader$2;-><init>(Lorg/isoron/uhabits/loaders/HabitListLoader;Ljava/lang/Long;)V |
287 | ····const/4·v1,·0x0 | 287 | ····const/4·v1,·0x0 |
288 | ····new-array·v1,·v1,·[Ljava/lang/Void; | 288 | ····new-array·v1,·v1,·[Ljava/lang/Void; |
289 | ····.line·202 | ||
289 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/loaders/HabitListLoader$2;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; | 290 | ····invoke-virtual·{v0,·v1},·Lorg/isoron/uhabits/loaders/HabitListLoader$2;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask; |
290 | ····.line·203 | 291 | ····.line·203 |
291 | ····return-void | 292 | ····return-void |
292 | .end·method | 293 | .end·method |
Offset 134, 26 lines modified | Offset 134, 26 lines modified | ||
134 | ····.line·157 | 134 | ····.line·157 |
135 | ····sget-wide·v6,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J | 135 | ····sget-wide·v6,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J |
136 | ····.line·159 | 136 | ····.line·159 |
137 | ····.local·v6,·"day":J | 137 | ····.local·v6,·"day":J |
138 | ····invoke-virtual/range·{p0·..·p0},·Lorg/isoron/uhabits/models/CheckmarkList;->findNewest()Lorg/isoron/uhabits/models/Checkmark; | 138 | ····invoke-virtual/range·{p0·..·p0},·Lorg/isoron/uhabits/models/CheckmarkList;->findNewest()Lorg/isoron/uhabits/models/Checkmark; |
139 |
····move-result-object·v1 |
139 | ····move-result-object·v14 |
140 | ····.line·160 | 140 | ····.line·160 |
141 |
····.local·v1 |
141 | ····.local·v14,·"newestCheckmark":Lorg/isoron/uhabits/models/Checkmark; |
142 |
····if-eqz·v1 |
142 | ····if-eqz·v14,·:cond_0 |
143 | ····.line·161 | 143 | ····.line·161 |
144 |
····iget-object·v0,·v1 |
144 | ····iget-object·v0,·v14,·Lorg/isoron/uhabits/models/Checkmark;->timestamp:Ljava/lang/Long; |
145 |
····move-object/from16·v |
145 | ····move-object/from16·v19,·v0 |
146 |
····invoke-virtual/range·{v |
146 | ····invoke-virtual/range·{v19·..·v19},·Ljava/lang/Long;->longValue()J |
147 | ····move-result-wide·v20 | 147 | ····move-result-wide·v20 |
148 | ····add-long·v20,·v20,·v6 | 148 | ····add-long·v20,·v20,·v6 |
149 | ····move-wide/from16·v0,·p1 | 149 | ····move-wide/from16·v0,·p1 |
Offset 161, 41 lines modified | Offset 161, 41 lines modified | ||
161 | ····invoke-static·{v0,·v1,·v2,·v3},·Ljava/lang/Math;->max(JJ)J | 161 | ····invoke-static·{v0,·v1,·v2,·v3},·Ljava/lang/Math;->max(JJ)J |
162 | ····move-result-wide·p1 | 162 | ····move-result-wide·p1 |
163 | ····.line·163 | 163 | ····.line·163 |
164 | ····:cond_0 | 164 | ····:cond_0 |
165 |
····cmp-long·v |
165 | ····cmp-long·v19,·p1,·p3 |
166 |
····if-lez·v |
166 | ····if-lez·v19,·:cond_1 |
167 | ····.line·198 | 167 | ····.line·198 |
168 | ····:goto_0 | 168 | ····:goto_0 |
169 | ····return-void | 169 | ····return-void |
170 | ····.line·165 | 170 | ····.line·165 |
171 | ····:cond_1 | 171 | ····:cond_1 |
172 | ····move-object/from16·v0,·p0 | 172 | ····move-object/from16·v0,·p0 |
173 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/CheckmarkList;->habit:Lorg/isoron/uhabits/models/Habit; | 173 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/CheckmarkList;->habit:Lorg/isoron/uhabits/models/Habit; |
174 |
····move-object/from16·v |
174 | ····move-object/from16·v19,·v0 |
175 |
····move-object/from16·v0,·v |
175 | ····move-object/from16·v0,·v19 |
176 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/Habit;->freqDen:Ljava/lang/Integer; | 176 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/Habit;->freqDen:Ljava/lang/Integer; |
177 |
····move-object/from16·v |
177 | ····move-object/from16·v19,·v0 |
178 |
····invoke-virtual/range·{v |
178 | ····invoke-virtual/range·{v19·..·v19},·Ljava/lang/Integer;->intValue()I |
179 |
····move-result·v |
179 | ····move-result·v19 |
180 |
····move/from16·v0,·v |
180 | ····move/from16·v0,·v19 |
181 | ····int-to-long·v0,·v0 | 181 | ····int-to-long·v0,·v0 |
182 | ····move-wide/from16·v20,·v0 | 182 | ····move-wide/from16·v20,·v0 |
183 | ····mul-long·v20,·v20,·v6 | 183 | ····mul-long·v20,·v20,·v6 |
Offset 203, 89 lines modified | Offset 203, 90 lines modified | ||
203 | ····.line·166 | 203 | ····.line·166 |
204 | ····.local·v8,·"fromExtended":J | 204 | ····.local·v8,·"fromExtended":J |
205 | ····move-object/from16·v0,·p0 | 205 | ····move-object/from16·v0,·p0 |
206 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/CheckmarkList;->habit:Lorg/isoron/uhabits/models/Habit; | 206 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/CheckmarkList;->habit:Lorg/isoron/uhabits/models/Habit; |
207 |
····move-object/from16·v |
207 | ····move-object/from16·v19,·v0 |
208 |
····move-object/from16·v0,·v |
208 | ····move-object/from16·v0,·v19 |
209 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/Habit;->repetitions:Lorg/isoron/uhabits/models/RepetitionList; | 209 | ····iget-object·v0,·v0,·Lorg/isoron/uhabits/models/Habit;->repetitions:Lorg/isoron/uhabits/models/RepetitionList; |
210 |
····move-object/from16·v |
210 | ····move-object/from16·v19,·v0 |
211 |
···· |
211 | ····.line·167 |
212 | ····move-object/from16·v0,·v19 | ||
212 | ····move-wide/from16·v1,·p3 | 213 | ····move-wide/from16·v1,·p3 |
213 | ····invoke-virtual·{v0,·v8,·v9,·v1,·v2},·Lorg/isoron/uhabits/models/RepetitionList;->selectFromTo(JJ)Lcom/activeandroid/query/From; | 214 | ····invoke-virtual·{v0,·v8,·v9,·v1,·v2},·Lorg/isoron/uhabits/models/RepetitionList;->selectFromTo(JJ)Lcom/activeandroid/query/From; |
214 |
····move-result-object·v |
215 | ····move-result-object·v19 |
215 |
|
216 | ····.line·168 |
217 | ····invoke-virtual/range·{v19·..·v19},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; | ||
216 |
····move-result-object·v1 |
218 | ····move-result-object·v17 |
217 | ····.line·170 | 219 | ····.line·170 |
Max diff block lines reached; 9477/12978 bytes (73.02%) of diff not shown. |
Offset 158, 38 lines modified | Offset 158, 41 lines modified | ||
158 | ····const-string·v1,·"habit·=·?" | 158 | ····const-string·v1,·"habit·=·?" |
159 | ····new-array·v2,·v5,·[Ljava/lang/Object; | 159 | ····new-array·v2,·v5,·[Ljava/lang/Object; |
160 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/RepetitionList;->habit:Lorg/isoron/uhabits/models/Habit; | 160 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/RepetitionList;->habit:Lorg/isoron/uhabits/models/Habit; |
161 | ····.line·85 | ||
161 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; | 162 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; |
162 | ····move-result-object·v3 | 163 | ····move-result-object·v3 |
163 | ····aput-object·v3,·v2,·v4 | 164 | ····aput-object·v3,·v2,·v4 |
164 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 165 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
165 | ····move-result-object·v0 | 166 | ····move-result-object·v0 |
166 | ····const-string·v1,·"timestamp·=·?" | 167 | ····const-string·v1,·"timestamp·=·?" |
167 | ····new-array·v2,·v5,·[Ljava/lang/Object; | 168 | ····new-array·v2,·v5,·[Ljava/lang/Object; |
169 | ····.line·86 | ||
168 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 170 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
169 | ····move-result-object·v3 | 171 | ····move-result-object·v3 |
170 | ····aput-object·v3,·v2,·v4 | 172 | ····aput-object·v3,·v2,·v4 |
171 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 173 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
172 | ····move-result-object·v0 | 174 | ····move-result-object·v0 |
175 | ····.line·87 | ||
173 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; | 176 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; |
174 | ····.line·88 | 177 | ····.line·88 |
175 | ····return-void | 178 | ····return-void |
176 | .end·method | 179 | .end·method |
177 | .method·public·getOldest()Lorg/isoron/uhabits/models/Repetition; | 180 | .method·public·getOldest()Lorg/isoron/uhabits/models/Repetition; |
Offset 329, 14 lines modified | Offset 332, 15 lines modified | ||
329 | ····move-result-object·v17 | 332 | ····move-result-object·v17 |
330 | ····aput-object·v17,·v10,·v16 | 333 | ····aput-object·v17,·v10,·v16 |
331 | ····const/16·v16,·0x1 | 334 | ····const/16·v16,·0x1 |
335 | ····.line·167 | ||
332 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfToday()J | 336 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfToday()J |
333 | ····move-result-wide·v18 | 337 | ····move-result-wide·v18 |
334 | ····invoke-static/range·{v18·..·v19},·Ljava/lang/Long;->toString(J)Ljava/lang/String; | 338 | ····invoke-static/range·{v18·..·v19},·Ljava/lang/Long;->toString(J)Ljava/lang/String; |
335 | ····move-result-object·v17 | 339 | ····move-result-object·v17 |
Offset 544, 28 lines modified | Offset 548, 30 lines modified | ||
544 | ····const-string·v1,·"habit·=·?" | 548 | ····const-string·v1,·"habit·=·?" |
545 | ····new-array·v2,·v4,·[Ljava/lang/Object; | 549 | ····new-array·v2,·v4,·[Ljava/lang/Object; |
546 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/RepetitionList;->habit:Lorg/isoron/uhabits/models/Habit; | 550 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/RepetitionList;->habit:Lorg/isoron/uhabits/models/Habit; |
551 | ····.line·54 | ||
547 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; | 552 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; |
548 | ····move-result-object·v3 | 553 | ····move-result-object·v3 |
549 | ····aput-object·v3,·v2,·v6 | 554 | ····aput-object·v3,·v2,·v6 |
550 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 555 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
551 | ····move-result-object·v0 | 556 | ····move-result-object·v0 |
552 | ····const-string·v1,·"timestamp·<=·?" | 557 | ····const-string·v1,·"timestamp·<=·?" |
553 | ····new-array·v2,·v4,·[Ljava/lang/Object; | 558 | ····new-array·v2,·v4,·[Ljava/lang/Object; |
559 | ····.line·55 | ||
554 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfToday()J | 560 | ····invoke-static·{},·Lorg/isoron/uhabits/helpers/DateHelper;->getStartOfToday()J |
555 | ····move-result-wide·v4 | 561 | ····move-result-wide·v4 |
556 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 562 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
557 | ····move-result-object·v3 | 563 | ····move-result-object·v3 |
Offset 574, 18 lines modified | Offset 580, 20 lines modified | ||
574 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 580 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
575 | ····move-result-object·v0 | 581 | ····move-result-object·v0 |
576 | ····const-string·v1,·"timestamp" | 582 | ····const-string·v1,·"timestamp" |
583 | ····.line·56 | ||
577 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/From;->orderBy(Ljava/lang/String;)Lcom/activeandroid/query/From; | 584 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/From;->orderBy(Ljava/lang/String;)Lcom/activeandroid/query/From; |
Max diff block lines reached; 200/2977 bytes (6.72%) of diff not shown. |
Offset 734, 14 lines modified | Offset 734, 15 lines modified | ||
734 | ····move-result-object·v9 | 734 | ····move-result-object·v9 |
735 | ····aput-object·v9,·v5,·v8 | 735 | ····aput-object·v9,·v5,·v8 |
736 | ····const/4·v8,·0x3 | 736 | ····const/4·v8,·0x3 |
737 | ····.line·266 | ||
737 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->toString(J)Ljava/lang/String; | 738 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->toString(J)Ljava/lang/String; |
738 | ····move-result-object·v9 | 739 | ····move-result-object·v9 |
739 | ····aput-object·v9,·v5,·v8 | 740 | ····aput-object·v9,·v5,·v8 |
740 | ····const/4·v8,·0x4 | 741 | ····const/4·v8,·0x4 |
Offset 851, 38 lines modified | Offset 852, 41 lines modified | ||
851 | ····const-string·v1,·"habit·=·?" | 852 | ····const-string·v1,·"habit·=·?" |
852 | ····new-array·v2,·v5,·[Ljava/lang/Object; | 853 | ····new-array·v2,·v5,·[Ljava/lang/Object; |
853 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/ScoreList;->habit:Lorg/isoron/uhabits/models/Habit; | 854 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/ScoreList;->habit:Lorg/isoron/uhabits/models/Habit; |
855 | ····.line·75 | ||
854 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; | 856 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; |
855 | ····move-result-object·v3 | 857 | ····move-result-object·v3 |
856 | ····aput-object·v3,·v2,·v4 | 858 | ····aput-object·v3,·v2,·v4 |
857 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 859 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
858 | ····move-result-object·v0 | 860 | ····move-result-object·v0 |
859 | ····const-string·v1,·"timestamp·>=·?" | 861 | ····const-string·v1,·"timestamp·>=·?" |
860 | ····new-array·v2,·v5,·[Ljava/lang/Object; | 862 | ····new-array·v2,·v5,·[Ljava/lang/Object; |
863 | ····.line·76 | ||
861 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 864 | ····invoke-static·{p1,·p2},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
862 | ····move-result-object·v3 | 865 | ····move-result-object·v3 |
863 | ····aput-object·v3,·v2,·v4 | 866 | ····aput-object·v3,·v2,·v4 |
864 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 867 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
865 | ····move-result-object·v0 | 868 | ····move-result-object·v0 |
869 | ····.line·77 | ||
866 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; | 870 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; |
867 | ····.line·78 | 871 | ····.line·78 |
868 | ····return-void | 872 | ····return-void |
869 | .end·method | 873 | .end·method |
870 | .method·protected·select()Lcom/activeandroid/query/From; | 874 | .method·protected·select()Lcom/activeandroid/query/From; |
Offset 892, 44 lines modified | Offset 896, 48 lines modified | ||
892 | ····.line·60 | 896 | ····.line·60 |
893 | ····new-instance·v0,·Lcom/activeandroid/query/Select; | 897 | ····new-instance·v0,·Lcom/activeandroid/query/Select; |
894 | ····invoke-direct·{v0},·Lcom/activeandroid/query/Select;-><init>()V | 898 | ····invoke-direct·{v0},·Lcom/activeandroid/query/Select;-><init>()V |
895 | ····const-class·v1,·Lorg/isoron/uhabits/models/Score; | 899 | ····const-class·v1,·Lorg/isoron/uhabits/models/Score; |
900 | ····.line·61 | ||
896 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/Select;->from(Ljava/lang/Class;)Lcom/activeandroid/query/From; | 901 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/Select;->from(Ljava/lang/Class;)Lcom/activeandroid/query/From; |
897 | ····move-result-object·v0 | 902 | ····move-result-object·v0 |
898 | ····const-string·v1,·"habit·=·?" | 903 | ····const-string·v1,·"habit·=·?" |
899 | ····const/4·v2,·0x1 | 904 | ····const/4·v2,·0x1 |
900 | ····new-array·v2,·v2,·[Ljava/lang/Object; | 905 | ····new-array·v2,·v2,·[Ljava/lang/Object; |
901 | ····const/4·v3,·0x0 | 906 | ····const/4·v3,·0x0 |
902 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/models/ScoreList;->habit:Lorg/isoron/uhabits/models/Habit; | 907 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/models/ScoreList;->habit:Lorg/isoron/uhabits/models/Habit; |
908 | ····.line·62 | ||
903 | ····invoke-virtual·{v4},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; | 909 | ····invoke-virtual·{v4},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; |
904 | ····move-result-object·v4 | 910 | ····move-result-object·v4 |
905 | ····aput-object·v4,·v2,·v3 | 911 | ····aput-object·v4,·v2,·v3 |
906 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 912 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
907 | ····move-result-object·v0 | 913 | ····move-result-object·v0 |
908 | ····const-string·v1,·"timestamp·desc" | 914 | ····const-string·v1,·"timestamp·desc" |
915 | ····.line·63 | ||
909 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/From;->orderBy(Ljava/lang/String;)Lcom/activeandroid/query/From; | 916 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/From;->orderBy(Ljava/lang/String;)Lcom/activeandroid/query/From; |
910 | ····move-result-object·v0 | 917 | ····move-result-object·v0 |
918 | ····.line·60 | ||
Max diff block lines reached; 170/2793 bytes (6.09%) of diff not shown. |
Offset 47, 14 lines modified | Offset 47, 15 lines modified | ||
47 | ····const-string·v1,·"habit·=·?" | 47 | ····const-string·v1,·"habit·=·?" |
48 | ····new-array·v2,·v4,·[Ljava/lang/Object; | 48 | ····new-array·v2,·v4,·[Ljava/lang/Object; |
49 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/StreakList;->habit:Lorg/isoron/uhabits/models/Habit; | 49 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/StreakList;->habit:Lorg/isoron/uhabits/models/Habit; |
50 | ····.line·156 | ||
50 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; | 51 | ····invoke-virtual·{v3},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; |
51 | ····move-result-object·v3 | 52 | ····move-result-object·v3 |
52 | ····aput-object·v3,·v2,·v6 | 53 | ····aput-object·v3,·v2,·v6 |
53 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 54 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
Offset 65, 24 lines modified | Offset 66, 26 lines modified | ||
65 | ····new-array·v2,·v4,·[Ljava/lang/Object; | 66 | ····new-array·v2,·v4,·[Ljava/lang/Object; |
66 | ····sget-wide·v4,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J | 67 | ····sget-wide·v4,·Lorg/isoron/uhabits/helpers/DateHelper;->millisecondsInOneDay:J |
67 | ····sub-long·v4,·p1,·v4 | 68 | ····sub-long·v4,·p1,·v4 |
69 | ····.line·157 | ||
68 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; | 70 | ····invoke-static·{v4,·v5},·Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; |
69 | ····move-result-object·v3 | 71 | ····move-result-object·v3 |
70 | ····aput-object·v3,·v2,·v6 | 72 | ····aput-object·v3,·v2,·v6 |
71 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 73 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->and(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
72 | ····move-result-object·v0 | 74 | ····move-result-object·v0 |
75 | ····.line·158 | ||
73 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; | 76 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; |
74 | ····.line·159 | 77 | ····.line·159 |
75 | ····return-void | 78 | ····return-void |
76 | .end·method | 79 | .end·method |
77 | .method·public·getAll(I)Ljava/util/List; | 80 | .method·public·getAll(I)Ljava/util/List; |
Offset 135, 14 lines modified | Offset 138, 15 lines modified | ||
135 | ····move-result-object·v7 | 138 | ····move-result-object·v7 |
136 | ····aput-object·v7,·v2,·v6 | 139 | ····aput-object·v7,·v2,·v6 |
137 | ····const/4·v6,·0x2 | 140 | ····const/4·v6,·0x2 |
141 | ····.line·54 | ||
138 | ····invoke-static·{p1},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; | 142 | ····invoke-static·{p1},·Ljava/lang/Integer;->toString(I)Ljava/lang/String; |
139 | ····move-result-object·v7 | 143 | ····move-result-object·v7 |
140 | ····aput-object·v7,·v2,·v6 | 144 | ····aput-object·v7,·v2,·v6 |
141 | ····.line·56 | 145 | ····.line·56 |
Offset 238, 40 lines modified | Offset 242, 45 lines modified | ||
238 | ····new-array·v2,·v5,·[Ljava/lang/Object; | 242 | ····new-array·v2,·v5,·[Ljava/lang/Object; |
239 | ····const/4·v3,·0x0 | 243 | ····const/4·v3,·0x0 |
240 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/models/StreakList;->habit:Lorg/isoron/uhabits/models/Habit; | 244 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/models/StreakList;->habit:Lorg/isoron/uhabits/models/Habit; |
245 | ····.line·82 | ||
241 | ····invoke-virtual·{v4},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; | 246 | ····invoke-virtual·{v4},·Lorg/isoron/uhabits/models/Habit;->getId()Ljava/lang/Long; |
242 | ····move-result-object·v4 | 247 | ····move-result-object·v4 |
243 | ····aput-object·v4,·v2,·v3 | 248 | ····aput-object·v4,·v2,·v3 |
244 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; | 249 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/From;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/From; |
245 | ····move-result-object·v0 | 250 | ····move-result-object·v0 |
246 | ····const-string·v1,·"end·desc" | 251 | ····const-string·v1,·"end·desc" |
252 | ····.line·83 | ||
247 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/From;->orderBy(Ljava/lang/String;)Lcom/activeandroid/query/From; | 253 | ····invoke-virtual·{v0,·v1},·Lcom/activeandroid/query/From;->orderBy(Ljava/lang/String;)Lcom/activeandroid/query/From; |
248 | ····move-result-object·v0 | 254 | ····move-result-object·v0 |
255 | ····.line·84 | ||
249 | ····invoke-virtual·{v0,·v5},·Lcom/activeandroid/query/From;->limit(I)Lcom/activeandroid/query/From; | 256 | ····invoke-virtual·{v0,·v5},·Lcom/activeandroid/query/From;->limit(I)Lcom/activeandroid/query/From; |
250 | ····move-result-object·v0 | 257 | ····move-result-object·v0 |
258 | ····.line·85 | ||
251 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->executeSingle()Lcom/activeandroid/Model; | 259 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/From;->executeSingle()Lcom/activeandroid/Model; |
252 | ····move-result-object·v0 | 260 | ····move-result-object·v0 |
253 | ····check-cast·v0,·Lorg/isoron/uhabits/models/Streak; | 261 | ····check-cast·v0,·Lorg/isoron/uhabits/models/Streak; |
262 | ····.line·81 | ||
254 | ····return-object·v0 | 263 | ····return-object·v0 |
255 | .end·method | 264 | .end·method |
Max diff block lines reached; 60/2661 bytes (2.25%) of diff not shown. |
Offset 465, 17 lines modified | Offset 465, 17 lines modified | ||
465 | .method·public·static·rebuildOrder()V | 465 | .method·public·static·rebuildOrder()V |
466 | ····.locals·6 | 466 | ····.locals·6 |
467 | ····.prologue | 467 | ····.prologue |
468 | ····.line·312 | 468 | ····.line·312 |
469 | ····invoke-static·{},·Lorg/isoron/uhabits/models/Habit;->selectWithArchived()Lcom/activeandroid/query/From; | 469 | ····invoke-static·{},·Lorg/isoron/uhabits/models/Habit;->selectWithArchived()Lcom/activeandroid/query/From; |
470 |
····move-result-object·v |
470 | ····move-result-object·v4 |
471 |
····invoke-virtual·{v |
471 | ····invoke-virtual·{v4},·Lcom/activeandroid/query/From;->execute()Ljava/util/List; |
472 | ····move-result-object·v1 | 472 | ····move-result-object·v1 |
473 | ····.line·314 | 473 | ····.line·314 |
474 | ····.local·v1,·"habits":Ljava/util/List;,·"Ljava/util/List<Lorg/isoron/uhabits/models/Habit;>;" | 474 | ····.local·v1,·"habits":Ljava/util/List;,·"Ljava/util/List<Lorg/isoron/uhabits/models/Habit;>;" |
475 | ····invoke-static·{},·Lcom/activeandroid/ActiveAndroid;->beginTransaction()V | 475 | ····invoke-static·{},·Lcom/activeandroid/ActiveAndroid;->beginTransaction()V |
Offset 487, 15 lines modified | Offset 487, 14 lines modified | ||
487 | ····:try_start_0 | 487 | ····:try_start_0 |
488 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 488 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
489 | ····:try_end_0 | 489 | ····:try_end_0 |
490 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 | 490 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_0 |
491 | ····move-result-object·v4 | 491 | ····move-result-object·v4 |
492 | ····.local·v4,·"i$":Ljava/util/Iterator; | ||
493 | ····move·v3,·v2 | 492 | ····move·v3,·v2 |
494 | ····.end·local·v2····#·"i":I | 493 | ····.end·local·v2····#·"i":I |
495 | ····.local·v3,·"i":I | 494 | ····.local·v3,·"i":I |
496 | ····:goto_0 | 495 | ····:goto_0 |
497 | ····:try_start_1 | 496 | ····:try_start_1 |
498 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z | 497 | ····invoke-interface·{v4},·Ljava/util/Iterator;->hasNext()Z |
Offset 549, 29 lines modified | Offset 548, 27 lines modified | ||
549 | ····invoke-static·{},·Lcom/activeandroid/ActiveAndroid;->endTransaction()V | 548 | ····invoke-static·{},·Lcom/activeandroid/ActiveAndroid;->endTransaction()V |
550 | ····.line·331 | 549 | ····.line·331 |
551 | ····return-void | 550 | ····return-void |
552 | ····.line·328 | 551 | ····.line·328 |
553 | ····.end·local·v3····#·"i":I | 552 | ····.end·local·v3····#·"i":I |
554 | ····.end·local·v4····#·"i$":Ljava/util/Iterator; | ||
555 | ····.restart·local·v2····#·"i":I | 553 | ····.restart·local·v2····#·"i":I |
556 | ····:catchall_0 | 554 | ····:catchall_0 |
557 |
····move-exception·v |
555 | ····move-exception·v4 |
558 | ····:goto_1 | 556 | ····:goto_1 |
559 | ····invoke-static·{},·Lcom/activeandroid/ActiveAndroid;->endTransaction()V | 557 | ····invoke-static·{},·Lcom/activeandroid/ActiveAndroid;->endTransaction()V |
560 |
····throw·v |
558 | ····throw·v4 |
561 | ····.end·local·v2····#·"i":I | 559 | ····.end·local·v2····#·"i":I |
562 | ····.restart·local·v3····#·"i":I | 560 | ····.restart·local·v3····#·"i":I |
563 | ····.restart·local·v4····#·"i$":Ljava/util/Iterator; | ||
564 | ····:catchall_1 | 561 | ····:catchall_1 |
565 |
····move-exception·v |
562 | ····move-exception·v4 |
566 | ····move·v2,·v3 | 563 | ····move·v2,·v3 |
567 | ····.end·local·v3····#·"i":I | 564 | ····.end·local·v3····#·"i":I |
568 | ····.restart·local·v2····#·"i":I | 565 | ····.restart·local·v2····#·"i":I |
569 | ····goto·:goto_1 | 566 | ····goto·:goto_1 |
570 | .end·method | 567 | .end·method |
Offset 632, 18 lines modified | Offset 629, 20 lines modified | ||
632 | ····aput-object·v3,·v2,·v4 | 629 | ····aput-object·v3,·v2,·v4 |
633 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; | 630 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; |
634 | ····aput-object·v3,·v2,·v5 | 631 | ····aput-object·v3,·v2,·v5 |
632 | ····.line·292 | ||
635 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/Set;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/Set; | 633 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/Set;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/Set; |
636 | ····move-result-object·v0 | 634 | ····move-result-object·v0 |
635 | ····.line·293 | ||
637 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/Set;->execute()V | 636 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/Set;->execute()V |
638 | ····.line·302 | 637 | ····.line·302 |
639 | ····:goto_1 | 638 | ····:goto_1 |
640 | ····iget-object·v0,·p1,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; | 639 | ····iget-object·v0,·p1,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; |
641 | ····iput-object·v0,·p0,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; | 640 | ····iput-object·v0,·p0,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; |
Offset 675, 18 lines modified | Offset 674, 20 lines modified | ||
675 | ····aput-object·v3,·v2,·v4 | 674 | ····aput-object·v3,·v2,·v4 |
676 | ····iget-object·v3,·p1,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; | 675 | ····iget-object·v3,·p1,·Lorg/isoron/uhabits/models/Habit;->position:Ljava/lang/Integer; |
677 | ····aput-object·v3,·v2,·v5 | 676 | ····aput-object·v3,·v2,·v5 |
677 | ····.line·298 | ||
678 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/Set;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/Set; | 678 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/activeandroid/query/Set;->where(Ljava/lang/String;[Ljava/lang/Object;)Lcom/activeandroid/query/Set; |
679 | ····move-result-object·v0 | 679 | ····move-result-object·v0 |
680 | ····.line·299 | ||
680 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/Set;->execute()V | 681 | ····invoke-virtual·{v0},·Lcom/activeandroid/query/Set;->execute()V |
Max diff block lines reached; 4382/7317 bytes (59.89%) of diff not shown. |
Offset 422, 14 lines modified | Offset 422, 15 lines modified | ||
422 | ····.restart·local·v3····#·"text":Ljava/lang/String; | 422 | ····.restart·local·v3····#·"text":Ljava/lang/String; |
423 | ····iget·v0,·p0,·Lorg/isoron/uhabits/views/CheckmarkWidgetView;->activeColor:I | 423 | ····iget·v0,·p0,·Lorg/isoron/uhabits/views/CheckmarkWidgetView;->activeColor:I |
424 | ····.line·101 | 424 | ····.line·101 |
425 | ····.restart·local·v0····#·"backgroundColor":I | 425 | ····.restart·local·v0····#·"backgroundColor":I |
426 | ····const·v4,·0x7f010008 | 426 | ····const·v4,·0x7f010008 |
427 | ····.line·102 | ||
427 | ····invoke-static·{v1,·v4},·Lorg/isoron/uhabits/helpers/UIHelper;->getStyledColor(Landroid/content/Context;I)I | 428 | ····invoke-static·{v1,·v4},·Lorg/isoron/uhabits/helpers/UIHelper;->getStyledColor(Landroid/content/Context;I)I |
428 | ····move-result·v2 | 429 | ····move-result·v2 |
429 | ····.line·104 | 430 | ····.line·104 |
430 | ····.restart·local·v2····#·"foregroundColor":I | 431 | ····.restart·local·v2····#·"foregroundColor":I |
431 | ····const/16·v4,·0x4f | 432 | ····const/16·v4,·0x4f |
Offset 448, 30 lines modified | Offset 448, 30 lines modified | ||
448 | .method·private·drawGrid(Landroid/graphics/Canvas;Landroid/graphics/RectF;)V | 448 | .method·private·drawGrid(Landroid/graphics/Canvas;Landroid/graphics/RectF;)V |
449 | ····.locals·12 | 449 | ····.locals·12 |
450 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; | 450 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; |
451 | ····.param·p2,·"rGrid"····#·Landroid/graphics/RectF; | 451 | ····.param·p2,·"rGrid"····#·Landroid/graphics/RectF; |
452 | ····.prologue | 452 | ····.prologue |
453 | ····.line·275 | 453 | ····.line·275 |
454 |
····const/4·v |
454 | ····const/4·v7,·0x7 |
455 | ····.line·276 | 455 | ····.line·276 |
456 |
····.local·v |
456 | ····.local·v7,·"nRows":I |
457 | ····invoke-virtual·{p2},·Landroid/graphics/RectF;->height()F | 457 | ····invoke-virtual·{p2},·Landroid/graphics/RectF;->height()F |
458 | ····move-result·v0 | 458 | ····move-result·v0 |
459 | ····const/16·v1,·0x8 | 459 | ····const/16·v1,·0x8 |
460 | ····int-to-float·v1,·v1 | 460 | ····int-to-float·v1,·v1 |
461 |
····div-float·v |
461 | ····div-float·v8,·v0,·v1 |
462 | ····.line·278 | 462 | ····.line·278 |
463 |
····.local·v |
463 | ····.local·v8,·"rowHeight":F |
464 | ····iget-object·v0,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->pText:Landroid/graphics/Paint; | 464 | ····iget-object·v0,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->pText:Landroid/graphics/Paint; |
465 | ····sget-object·v1,·Landroid/graphics/Paint$Align;->LEFT:Landroid/graphics/Paint$Align; | 465 | ····sget-object·v1,·Landroid/graphics/Paint$Align;->LEFT:Landroid/graphics/Paint$Align; |
466 | ····invoke-virtual·{v0,·v1},·Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V | 466 | ····invoke-virtual·{v0,·v1},·Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V |
467 | ····.line·279 | 467 | ····.line·279 |
Offset 489, 55 lines modified | Offset 489, 54 lines modified | ||
489 | ····invoke-virtual·{v0,·v1},·Landroid/graphics/Paint;->setColor(I)V | 489 | ····invoke-virtual·{v0,·v1},·Landroid/graphics/Paint;->setColor(I)V |
490 | ····.line·282 | 490 | ····.line·282 |
491 | ····const/4·v0,·0x1 | 491 | ····const/4·v0,·0x1 |
492 | ····invoke-static·{v0},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocaleDayNames(I)[Ljava/lang/String; | 492 | ····invoke-static·{v0},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocaleDayNames(I)[Ljava/lang/String; |
493 |
····move-result-object·v |
493 | ····move-result-object·v10 |
494 |
|
494 | ····array-length·v11,·v10 |
495 | ····array-length·v9,·v6 | ||
496 |
···· |
495 | ····const/4·v0,·0x0 |
497 | ····const/4·v8,·0x0 | ||
496 | ····move·v9,·v0 | ||
498 | ····.local·v8,·"i$":I | ||
499 | ····:goto_0 | 497 | ····:goto_0 |
500 |
····if-ge·v |
498 | ····if-ge·v9,·v11,·:cond_0 |
501 |
····aget-object·v |
499 | ····aget-object·v6,·v10,·v9 |
502 | ····.line·283 | 500 | ····.line·283 |
503 |
····.local·v |
501 | ····.local·v6,·"day":Ljava/lang/String; |
504 | ····iget·v0,·p2,·Landroid/graphics/RectF;->right:F | 502 | ····iget·v0,·p2,·Landroid/graphics/RectF;->right:F |
505 | ····iget·v1,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->columnWidth:F | 503 | ····iget·v1,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->columnWidth:F |
506 | ····sub-float/2addr·v0,·v1 | 504 | ····sub-float/2addr·v0,·v1 |
507 | ····iget·v1,·p2,·Landroid/graphics/RectF;->top:F | 505 | ····iget·v1,·p2,·Landroid/graphics/RectF;->top:F |
508 | ····const/high16·v2,·0x40000000····#·2.0f | 506 | ····const/high16·v2,·0x40000000····#·2.0f |
509 |
····div-float·v2,·v |
507 | ····div-float·v2,·v8,·v2 |
510 | ····add-float/2addr·v1,·v2 | 508 | ····add-float/2addr·v1,·v2 |
511 | ····const/high16·v2,·0x3e800000····#·0.25f | 509 | ····const/high16·v2,·0x3e800000····#·0.25f |
512 | ····iget·v3,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->em:F | 510 | ····iget·v3,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->em:F |
513 | ····mul-float/2addr·v2,·v3 | 511 | ····mul-float/2addr·v2,·v3 |
514 | ····add-float/2addr·v1,·v2 | 512 | ····add-float/2addr·v1,·v2 |
515 | ····iget-object·v2,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->pText:Landroid/graphics/Paint; | 513 | ····iget-object·v2,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->pText:Landroid/graphics/Paint; |
516 |
····invoke-virtual·{p1,·v |
514 | ····invoke-virtual·{p1,·v6,·v0,·v1,·v2},·Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V |
517 | ····.line·286 | 515 | ····.line·286 |
518 | ····iget-object·v0,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->pGrid:Landroid/graphics/Paint; | 516 | ····iget-object·v0,·p0,·Lorg/isoron/uhabits/views/HabitFrequencyView;->pGrid:Landroid/graphics/Paint; |
519 | ····const/high16·v1,·0x3f800000····#·1.0f | 517 | ····const/high16·v1,·0x3f800000····#·1.0f |
520 | ····invoke-virtual·{v0,·v1},·Landroid/graphics/Paint;->setStrokeWidth(F)V | 518 | ····invoke-virtual·{v0,·v1},·Landroid/graphics/Paint;->setStrokeWidth(F)V |
Offset 556, 23 lines modified | Offset 555, 25 lines modified | ||
556 | ····move-object·v0,·p1 | 555 | ····move-object·v0,·p1 |
557 | ····invoke-virtual/range·{v0·..·v5},·Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V | 556 | ····invoke-virtual/range·{v0·..·v5},·Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V |
558 | ····.line·289 | 557 | ····.line·289 |
559 | ····const/4·v0,·0x0 | 558 | ····const/4·v0,·0x0 |
560 |
····invoke-virtual·{p2,·v0,·v |
559 | ····invoke-virtual·{p2,·v0,·v8},·Landroid/graphics/RectF;->offset(FF)V |
561 | ····.line·282 | 560 | ····.line·282 |
562 |
····add-int/lit8·v |
561 | ····add-int/lit8·v0,·v9,·0x1 |
Max diff block lines reached; 305/3547 bytes (8.60%) 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/isoron/uhabits/views/HabitHistoryView; | 18 | .field·final·synthetic·this$0:Lorg/isoron/uhabits/views/HabitHistoryView; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lorg/isoron/uhabits/views/HabitHistoryView;)V | 20 | .method·constructor·<init>(Lorg/isoron/uhabits/views/HabitHistoryView;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lorg/isoron/uhabits/views/HabitHistoryView; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·397 | 24 | ····.line·397 |
24 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView$1;->this$0:Lorg/isoron/uhabits/views/HabitHistoryView; | 25 | ····iput-object·p1,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView$1;->this$0:Lorg/isoron/uhabits/views/HabitHistoryView; |
25 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><init>()V | 26 | ····invoke-direct·{p0},·Lorg/isoron/uhabits/tasks/BaseTask;-><init>()V |
Offset 307, 76 lines modified | Offset 307, 75 lines modified | ||
307 | .method·private·drawAxis(Landroid/graphics/Canvas;Landroid/graphics/RectF;)V | 307 | .method·private·drawAxis(Landroid/graphics/Canvas;Landroid/graphics/RectF;)V |
308 | ····.locals·8 | 308 | ····.locals·8 |
309 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; | 309 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; |
310 | ····.param·p2,·"location"····#·Landroid/graphics/RectF; | 310 | ····.param·p2,·"location"····#·Landroid/graphics/RectF; |
311 | ····.prologue | 311 | ····.prologue |
312 | ····.line·305 | 312 | ····.line·305 |
313 |
····iget-object·v |
313 | ····iget-object·v2,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView;->pTextHeader:Landroid/graphics/Paint; |
314 |
····invoke-virtual·{v |
314 | ····invoke-virtual·{v2},·Landroid/graphics/Paint;->getFontSpacing()F |
315 |
····move-result·v |
315 | ····move-result·v2 |
316 |
····const·v |
316 | ····const·v3,·0x3ecccccd····#·0.4f |
317 |
····mul-float·v |
317 | ····mul-float·v1,·v2,·v3 |
318 | ····.line·307 | 318 | ····.line·307 |
319 |
····.local·v |
319 | ····.local·v1,·"verticalOffset":F |
320 |
····const/4·v |
320 | ····const/4·v2,·0x1 |
321 |
····invoke-static·{v |
321 | ····invoke-static·{v2},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocaleDayNames(I)[Ljava/lang/String; |
322 |
····move-result-object·v |
322 | ····move-result-object·v3 |
323 |
|
323 | ····array-length·v4,·v3 |
324 | ····array-length·v3,·v0 | ||
325 | ····.local·v3,·"len$":I | ||
326 | ····const/4·v2,·0x0 | 324 | ····const/4·v2,·0x0 |
327 | ····.local·v2,·"i$":I | ||
328 | ····:goto_0 | 325 | ····:goto_0 |
329 |
····if-ge·v2,·v |
326 | ····if-ge·v2,·v4,·:cond_0 |
330 |
····aget-object·v |
327 | ····aget-object·v0,·v3,·v2 |
331 | ····.line·309 | 328 | ····.line·309 |
332 |
····.local·v |
329 | ····.local·v0,·"day":Ljava/lang/String; |
333 | ····const/4·v5,·0x0 | 330 | ····const/4·v5,·0x0 |
334 | ····iget·v6,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView;->columnWidth:F | 331 | ····iget·v6,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView;->columnWidth:F |
335 | ····invoke-virtual·{p2,·v5,·v6},·Landroid/graphics/RectF;->offset(FF)V | 332 | ····invoke-virtual·{p2,·v5,·v6},·Landroid/graphics/RectF;->offset(FF)V |
336 | ····.line·310 | 333 | ····.line·310 |
337 | ····iget·v5,·p2,·Landroid/graphics/RectF;->left:F | 334 | ····iget·v5,·p2,·Landroid/graphics/RectF;->left:F |
338 | ····iget·v6,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView;->headerTextOffset:F | 335 | ····iget·v6,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView;->headerTextOffset:F |
339 | ····add-float/2addr·v5,·v6 | 336 | ····add-float/2addr·v5,·v6 |
337 | ····.line·311 | ||
340 | ····invoke-virtual·{p2},·Landroid/graphics/RectF;->centerY()F | 338 | ····invoke-virtual·{p2},·Landroid/graphics/RectF;->centerY()F |
341 | ····move-result·v6 | 339 | ····move-result·v6 |
342 |
····add-float/2addr·v6,·v |
340 | ····add-float/2addr·v6,·v1 |
343 | ····iget-object·v7,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView;->pTextHeader:Landroid/graphics/Paint; | 341 | ····iget-object·v7,·p0,·Lorg/isoron/uhabits/views/HabitHistoryView;->pTextHeader:Landroid/graphics/Paint; |
344 |
···· |
342 | ····.line·310 |
343 | ····invoke-virtual·{p1,·v0,·v5,·v6,·v7},·Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V | ||
345 | ····.line·307 | 344 | ····.line·307 |
346 | ····add-int/lit8·v2,·v2,·0x1 | 345 | ····add-int/lit8·v2,·v2,·0x1 |
347 | ····goto·:goto_0 | 346 | ····goto·:goto_0 |
348 | ····.line·313 | 347 | ····.line·313 |
349 |
····.end·local·v |
348 | ····.end·local·v0····#·"day":Ljava/lang/String; |
350 | ····:cond_0 | 349 | ····:cond_0 |
351 | ····return-void | 350 | ····return-void |
352 | .end·method | 351 | .end·method |
353 | .method·private·drawColumn(Landroid/graphics/Canvas;Landroid/graphics/RectF;Ljava/util/GregorianCalendar;I)V | 352 | .method·private·drawColumn(Landroid/graphics/Canvas;Landroid/graphics/RectF;Ljava/util/GregorianCalendar;I)V |
354 | ····.locals·5 | 353 | ····.locals·5 |
355 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; | 354 | ····.param·p1,·"canvas"····#·Landroid/graphics/Canvas; |
Offset 813, 57 lines modified | Offset 812, 54 lines modified | ||
813 | .end·method | 812 | .end·method |
814 | .method·private·getWeekdayLabelWidth()F | 813 | .method·private·getWeekdayLabelWidth()F |
815 | ····.locals·6 | 814 | ····.locals·6 |
816 | ····.prologue | 815 | ····.prologue |
817 | ····.line·158 | 816 | ····.line·158 |
818 |
····const/4·v |
817 | ····const/4·v1,·0x0 |
819 | ····.line·160 | 818 | ····.line·160 |
820 |
····.local·v |
819 | ····.local·v1,·"width":F |
821 |
····const/4·v |
820 | ····const/4·v2,·0x1 |
822 |
····invoke-static·{v |
821 | ····invoke-static·{v2},·Lorg/isoron/uhabits/helpers/DateHelper;->getLocaleDayNames(I)[Ljava/lang/String; |
823 |
····move-result-object·v |
822 | ····move-result-object·v3 |
824 |
|
823 | ····array-length·v4,·v3 |
825 | ····array-length·v2,·v0 | ||
Max diff block lines reached; 1496/5087 bytes (29.41%) of diff not shown. |
Offset 753, 59 lines modified | Offset 753, 58 lines modified | ||
753 | ····.line·176 | 753 | ····.line·176 |
754 | ····const-wide·v4,·0x7fffffffffffffffL | 754 | ····const-wide·v4,·0x7fffffffffffffffL |
755 | ····iput-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->minLength:J | 755 | ····iput-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->minLength:J |
756 | ····.line·177 | 756 | ····.line·177 |
757 |
····const/4·v |
757 | ····const/4·v3,·0x1 |
758 |
····iput-boolean·v |
758 | ····iput-boolean·v3,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->shouldShowLabels:Z |
759 | ····.line·179 | 759 | ····.line·179 |
760 |
····iget-object·v |
760 | ····iget-object·v3,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->streaks:Ljava/util/List; |
761 |
····invoke-interface·{v |
761 | ····invoke-interface·{v3},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
762 |
····move-result-object·v |
762 | ····move-result-object·v3 |
763 | ····.local·v0,·"i$":Ljava/util/Iterator; | ||
764 | ····:goto_0 | 763 | ····:goto_0 |
765 |
····invoke-interface·{v |
764 | ····invoke-interface·{v3},·Ljava/util/Iterator;->hasNext()Z |
766 | ····move-result·v4 | 765 | ····move-result·v4 |
767 | ····if-eqz·v4,·:cond_0 | 766 | ····if-eqz·v4,·:cond_0 |
768 |
····invoke-interface·{v |
767 | ····invoke-interface·{v3},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
769 |
····move-result-object·v |
768 | ····move-result-object·v2 |
770 |
····check-cast·v |
769 | ····check-cast·v2,·Lorg/isoron/uhabits/models/Streak; |
771 | ····.line·181 | 770 | ····.line·181 |
772 |
····.local·v |
771 | ····.local·v2,·"s":Lorg/isoron/uhabits/models/Streak; |
773 | ····iget-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->maxLength:J | 772 | ····iget-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->maxLength:J |
774 |
····iget-object·v6,·v |
773 | ····iget-object·v6,·v2,·Lorg/isoron/uhabits/models/Streak;->length:Ljava/lang/Long; |
775 | ····invoke-virtual·{v6},·Ljava/lang/Long;->longValue()J | 774 | ····invoke-virtual·{v6},·Ljava/lang/Long;->longValue()J |
776 | ····move-result-wide·v6 | 775 | ····move-result-wide·v6 |
777 | ····invoke-static·{v4,·v5,·v6,·v7},·Ljava/lang/Math;->max(JJ)J | 776 | ····invoke-static·{v4,·v5,·v6,·v7},·Ljava/lang/Math;->max(JJ)J |
778 | ····move-result-wide·v4 | 777 | ····move-result-wide·v4 |
779 | ····iput-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->maxLength:J | 778 | ····iput-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->maxLength:J |
780 | ····.line·182 | 779 | ····.line·182 |
781 | ····iget-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->minLength:J | 780 | ····iget-wide·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->minLength:J |
782 |
····iget-object·v6,·v |
781 | ····iget-object·v6,·v2,·Lorg/isoron/uhabits/models/Streak;->length:Ljava/lang/Long; |
783 | ····invoke-virtual·{v6},·Ljava/lang/Long;->longValue()J | 782 | ····invoke-virtual·{v6},·Ljava/lang/Long;->longValue()J |
784 | ····move-result-wide·v6 | 783 | ····move-result-wide·v6 |
785 | ····invoke-static·{v4,·v5,·v6,·v7},·Ljava/lang/Math;->min(JJ)J | 784 | ····invoke-static·{v4,·v5,·v6,·v7},·Ljava/lang/Math;->min(JJ)J |
Offset 816, 108 lines modified | Offset 815, 108 lines modified | ||
816 | ····.line·184 | 815 | ····.line·184 |
817 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->paint:Landroid/graphics/Paint; | 816 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->paint:Landroid/graphics/Paint; |
818 | ····iget-object·v5,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->dateFormat:Ljava/text/DateFormat; | 817 | ····iget-object·v5,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->dateFormat:Ljava/text/DateFormat; |
819 | ····new-instance·v6,·Ljava/util/Date; | 818 | ····new-instance·v6,·Ljava/util/Date; |
820 |
····iget-object·v7,·v |
819 | ····iget-object·v7,·v2,·Lorg/isoron/uhabits/models/Streak;->start:Ljava/lang/Long; |
821 | ····invoke-virtual·{v7},·Ljava/lang/Long;->longValue()J | 820 | ····invoke-virtual·{v7},·Ljava/lang/Long;->longValue()J |
822 | ····move-result-wide·v8 | 821 | ····move-result-wide·v8 |
823 | ····invoke-direct·{v6,·v8,·v9},·Ljava/util/Date;-><init>(J)V | 822 | ····invoke-direct·{v6,·v8,·v9},·Ljava/util/Date;-><init>(J)V |
824 | ····invoke-virtual·{v5,·v6},·Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String; | 823 | ····invoke-virtual·{v5,·v6},·Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String; |
825 | ····move-result-object·v5 | 824 | ····move-result-object·v5 |
826 | ····invoke-virtual·{v4,·v5},·Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F | 825 | ····invoke-virtual·{v4,·v5},·Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F |
827 |
····move-result·v |
826 | ····move-result·v0 |
828 | ····.line·185 | 827 | ····.line·185 |
829 |
····.local·v |
828 | ····.local·v0,·"lw1":F |
830 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->paint:Landroid/graphics/Paint; | 829 | ····iget-object·v4,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->paint:Landroid/graphics/Paint; |
831 | ····iget-object·v5,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->dateFormat:Ljava/text/DateFormat; | 830 | ····iget-object·v5,·p0,·Lorg/isoron/uhabits/views/HabitStreakView;->dateFormat:Ljava/text/DateFormat; |
832 | ····new-instance·v6,·Ljava/util/Date; | 831 | ····new-instance·v6,·Ljava/util/Date; |
833 |
····iget-object·v7,·v |
832 | ····iget-object·v7,·v2,·Lorg/isoron/uhabits/models/Streak;->end:Ljava/lang/Long; |
834 | ····invoke-virtual·{v7},·Ljava/lang/Long;->longValue()J | 833 | ····invoke-virtual·{v7},·Ljava/lang/Long;->longValue()J |
835 | ····move-result-wide·v8 | 834 | ····move-result-wide·v8 |
836 | ····invoke-direct·{v6,·v8,·v9},·Ljava/util/Date;-><init>(J)V | 835 | ····invoke-direct·{v6,·v8,·v9},·Ljava/util/Date;-><init>(J)V |
Max diff block lines reached; 6139/10154 bytes (60.46%) of diff not shown. |
Offset 126, 14 lines modified | Offset 126, 15 lines modified | ||
126 | ····.line·84 | 126 | ····.line·84 |
127 | ····.local·v7,·"context":Landroid/content/Context; | 127 | ····.local·v7,·"context":Landroid/content/Context; |
128 | ····const/high16·v0,·0x437f0000····#·255.0f | 128 | ····const/high16·v0,·0x437f0000····#·255.0f |
129 | ····const·v3,·0x7f01001c | 129 | ····const·v3,·0x7f01001c |
130 | ····.line·85 | ||
130 | ····invoke-static·{v7,·v3},·Lorg/isoron/uhabits/helpers/UIHelper;->getStyledFloat(Landroid/content/Context;I)F | 131 | ····invoke-static·{v7,·v3},·Lorg/isoron/uhabits/helpers/UIHelper;->getStyledFloat(Landroid/content/Context;I)F |
131 | ····move-result·v3 | 132 | ····move-result·v3 |
132 | ····mul-float/2addr·v0,·v3 | 133 | ····mul-float/2addr·v0,·v3 |
133 | ····float-to-int·v6,·v0 | 134 | ····float-to-int·v6,·v0 |
Offset 103, 22 lines modified | Offset 103, 24 lines modified | ||
103 | ····move-result·v0 | 103 | ····move-result·v0 |
104 | ····iput·v0,·p0,·Lorg/isoron/uhabits/views/NumberView;->number:I | 104 | ····iput·v0,·p0,·Lorg/isoron/uhabits/views/NumberView;->number:I |
105 | ····.line·71 | 105 | ····.line·71 |
106 | ····const-string·v0,·"textSize" | 106 | ····const-string·v0,·"textSize" |
107 | ····.line·72 | ||
107 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/views/NumberView;->getResources()Landroid/content/res/Resources; | 108 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/views/NumberView;->getResources()Landroid/content/res/Resources; |
108 | ····move-result-object·v1 | 109 | ····move-result-object·v1 |
109 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimension(I)F | 110 | ····invoke-virtual·{v1,·v2},·Landroid/content/res/Resources;->getDimension(I)F |
110 | ····move-result·v1 | 111 | ····move-result·v1 |
112 | ····.line·71 | ||
111 | ····invoke-static·{p1,·p2,·v0,·v1},·Lorg/isoron/uhabits/helpers/UIHelper;->getFloatAttribute(Landroid/content/Context;Landroid/util/AttributeSet;Ljava/lang/String;F)F | 113 | ····invoke-static·{p1,·p2,·v0,·v1},·Lorg/isoron/uhabits/helpers/UIHelper;->getFloatAttribute(Landroid/content/Context;Landroid/util/AttributeSet;Ljava/lang/String;F)F |
112 | ····move-result·v0 | 114 | ····move-result·v0 |
113 | ····iput·v0,·p0,·Lorg/isoron/uhabits/views/NumberView;->textSize:F | 115 | ····iput·v0,·p0,·Lorg/isoron/uhabits/views/NumberView;->textSize:F |
114 | ····.line·74 | 116 | ····.line·74 |
Offset 40, 24 lines modified | Offset 40, 26 lines modified | ||
40 | ····move-result·v1 | 40 | ····move-result·v1 |
41 | ····.line·44 | 41 | ····.line·44 |
42 | ····.local·v1,·"labelValue":I | 42 | ····.local·v1,·"labelValue":I |
43 | ····const-string·v2,·"labelFormat" | 43 | ····const-string·v2,·"labelFormat" |
44 | ····.line·45 | ||
44 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/views/RepetitionCountView;->getResources()Landroid/content/res/Resources; | 45 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/views/RepetitionCountView;->getResources()Landroid/content/res/Resources; |
45 | ····move-result-object·v3 | 46 | ····move-result-object·v3 |
46 | ····const·v4,·0x7f07005b | 47 | ····const·v4,·0x7f07005b |
47 | ····invoke-virtual·{v3,·v4},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; | 48 | ····invoke-virtual·{v3,·v4},·Landroid/content/res/Resources;->getString(I)Ljava/lang/String; |
48 | ····move-result-object·v3 | 49 | ····move-result-object·v3 |
50 | ····.line·44 | ||
49 | ····invoke-static·{p1,·p2,·v2,·v3},·Lorg/isoron/uhabits/helpers/UIHelper;->getAttribute(Landroid/content/Context;Landroid/util/AttributeSet;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; | 51 | ····invoke-static·{p1,·p2,·v2,·v3},·Lorg/isoron/uhabits/helpers/UIHelper;->getAttribute(Landroid/content/Context;Landroid/util/AttributeSet;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
50 | ····move-result-object·v0 | 52 | ····move-result-object·v0 |
51 | ····.line·47 | 53 | ····.line·47 |
52 | ····.local·v0,·"labelFormat":Ljava/lang/String; | 54 | ····.local·v0,·"labelFormat":Ljava/lang/String; |
53 | ····const/4·v2,·0x1 | 55 | ····const/4·v2,·0x1 |
Offset 2, 30 lines modified | Offset 2, 28 lines modified | ||
2 | .super·Landroid/appwidget/AppWidgetProvider; | 2 | .super·Landroid/appwidget/AppWidgetProvider; |
3 | .source·"BaseWidgetProvider.java" | 3 | .source·"BaseWidgetProvider.java" |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lorg/isoron/uhabits/widgets/BaseWidgetProvider$1;, | ||
8 | ········Lorg/isoron/uhabits/widgets/BaseWidgetProvider$RenderWidgetTask;, | 7 | ········Lorg/isoron/uhabits/widgets/BaseWidgetProvider$RenderWidgetTask;, |
9 | ········Lorg/isoron/uhabits/widgets/BaseWidgetProvider$WidgetDimensions; | 8 | ········Lorg/isoron/uhabits/widgets/BaseWidgetProvider$WidgetDimensions; |
10 | ····} | 9 | ····} |
11 | .end·annotation | 10 | .end·annotation |
12 | #·direct·methods | 11 | #·direct·methods |
13 | .method·public·constructor·<init>()V | 12 | .method·public·constructor·<init>()V |
14 | ····.locals·0 | 13 | ····.locals·0 |
15 | ····.prologue | 14 | ····.prologue |
16 | ····.line·46 | 15 | ····.line·46 |
17 | ····invoke-direct·{p0},·Landroid/appwidget/AppWidgetProvider;-><init>()V | 16 | ····invoke-direct·{p0},·Landroid/appwidget/AppWidgetProvider;-><init>()V |
18 | ····.line·212 | ||
19 | ····return-void | 17 | ····return-void |
20 | .end·method | 18 | .end·method |
21 | .method·static·synthetic·access$100(Lorg/isoron/uhabits/widgets/BaseWidgetProvider;Landroid/content/Context;IILandroid/view/View;)V | 19 | .method·static·synthetic·access$100(Lorg/isoron/uhabits/widgets/BaseWidgetProvider;Landroid/content/Context;IILandroid/view/View;)V |
22 | ····.locals·0 | 20 | ····.locals·0 |
23 | ····.param·p0,·"x0"····#·Lorg/isoron/uhabits/widgets/BaseWidgetProvider; | 21 | ····.param·p0,·"x0"····#·Lorg/isoron/uhabits/widgets/BaseWidgetProvider; |
24 | ····.param·p1,·"x1"····#·Landroid/content/Context; | 22 | ····.param·p1,·"x1"····#·Landroid/content/Context; |
Offset 220, 65 lines modified | Offset 218, 73 lines modified | ||
220 | ····const/16·v6,·0x10 | 218 | ····const/16·v6,·0x10 |
221 | ····if-lt·v5,·v6,·:cond_0 | 219 | ····if-lt·v5,·v6,·:cond_0 |
222 | ····.line·173 | 220 | ····.line·173 |
223 | ····const-string·v5,·"appWidgetMaxWidth" | 221 | ····const-string·v5,·"appWidgetMaxWidth" |
222 | ····.line·174 | ||
224 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I | 223 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I |
225 | ····move-result·v5 | 224 | ····move-result·v5 |
226 | ····int-to-float·v5,·v5 | 225 | ····int-to-float·v5,·v5 |
226 | ····.line·173 | ||
227 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F | 227 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F |
228 | ····move-result·v5 | 228 | ····move-result·v5 |
229 | ····float-to-int·v1,·v5 | 229 | ····float-to-int·v1,·v5 |
230 | ····.line·175 | 230 | ····.line·175 |
231 | ····const-string·v5,·"appWidgetMaxHeight" | 231 | ····const-string·v5,·"appWidgetMaxHeight" |
232 | ····.line·176 | ||
232 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I | 233 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I |
233 | ····move-result·v5 | 234 | ····move-result·v5 |
234 | ····int-to-float·v5,·v5 | 235 | ····int-to-float·v5,·v5 |
236 | ····.line·175 | ||
235 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F | 237 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F |
236 | ····move-result·v5 | 238 | ····move-result·v5 |
237 | ····float-to-int·v0,·v5 | 239 | ····float-to-int·v0,·v5 |
238 | ····.line·177 | 240 | ····.line·177 |
239 | ····const-string·v5,·"appWidgetMinWidth" | 241 | ····const-string·v5,·"appWidgetMinWidth" |
242 | ····.line·178 | ||
240 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I | 243 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I |
241 | ····move-result·v5 | 244 | ····move-result·v5 |
242 | ····int-to-float·v5,·v5 | 245 | ····int-to-float·v5,·v5 |
246 | ····.line·177 | ||
243 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F | 247 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F |
244 | ····move-result·v5 | 248 | ····move-result·v5 |
245 | ····float-to-int·v3,·v5 | 249 | ····float-to-int·v3,·v5 |
246 | ····.line·179 | 250 | ····.line·179 |
247 | ····const-string·v5,·"appWidgetMinHeight" | 251 | ····const-string·v5,·"appWidgetMinHeight" |
252 | ····.line·180 | ||
248 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I | 253 | ····invoke-virtual·{p2,·v5},·Landroid/os/Bundle;->getInt(Ljava/lang/String;)I |
249 | ····move-result·v5 | 254 | ····move-result·v5 |
250 | ····int-to-float·v5,·v5 | 255 | ····int-to-float·v5,·v5 |
256 | ····.line·179 | ||
251 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F | 257 | ····invoke-static·{p1,·v5},·Lorg/isoron/uhabits/helpers/UIHelper;->dpToPixels(Landroid/content/Context;F)F |
Max diff block lines reached; 5378/7862 bytes (68.40%) of diff not shown. |
Offset 35, 95 lines modified | Offset 35, 94 lines modified | ||
35 | #·virtual·methods | 35 | #·virtual·methods |
36 | .method·protected·onCreate(Landroid/os/Bundle;)V | 36 | .method·protected·onCreate(Landroid/os/Bundle;)V |
37 | ····.locals·10 | 37 | ····.locals·10 |
38 | ····.param·p1,·"savedInstanceState"····#·Landroid/os/Bundle; | 38 | ····.param·p1,·"savedInstanceState"····#·Landroid/os/Bundle; |
39 | ····.prologue | 39 | ····.prologue |
40 |
····const/4·v |
40 | ····const/4·v8,·0x0 |
41 | ····.line·50 | 41 | ····.line·50 |
42 | ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V | 42 | ····invoke-super·{p0,·p1},·Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V |
43 | ····.line·51 | 43 | ····.line·51 |
44 |
····const·v |
44 | ····const·v7,·0x7f040057 |
45 |
····invoke-virtual·{p0,·v |
45 | ····invoke-virtual·{p0,·v7},·Lorg/isoron/uhabits/widgets/HabitPickerDialog;->setContentView(I)V |
46 | ····.line·53 | 46 | ····.line·53 |
47 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/widgets/HabitPickerDialog;->getIntent()Landroid/content/Intent; | 47 | ····invoke-virtual·{p0},·Lorg/isoron/uhabits/widgets/HabitPickerDialog;->getIntent()Landroid/content/Intent; |
48 |
····move-result-object·v |
48 | ····move-result-object·v5 |
49 | ····.line·54 | 49 | ····.line·54 |
50 |
····.local·v |
50 | ····.local·v5,·"intent":Landroid/content/Intent; |
51 |
····invoke-virtual·{v |
51 | ····invoke-virtual·{v5},·Landroid/content/Intent;->getExtras()Landroid/os/Bundle; |
52 | ····move-result-object·v1 | 52 | ····move-result-object·v1 |
53 | ····.line·56 | 53 | ····.line·56 |
54 | ····.local·v1,·"extras":Landroid/os/Bundle; | 54 | ····.local·v1,·"extras":Landroid/os/Bundle; |
55 | ····if-eqz·v1,·:cond_0 | 55 | ····if-eqz·v1,·:cond_0 |
56 |
····const-string·v |
56 | ····const-string·v7,·"appWidgetId" |
57 |
····invoke-virtual·{v1,·v |
57 | ····invoke-virtual·{v1,·v7,·v8},·Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I |
58 |
····move-result·v |
58 | ····move-result·v7 |
59 |
····invoke-static·{v |
59 | ····invoke-static·{v7},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
60 |
····move-result-object·v |
60 | ····move-result-object·v7 |
61 |
····iput-object·v |
61 | ····iput-object·v7,·p0,·Lorg/isoron/uhabits/widgets/HabitPickerDialog;->widgetId:Ljava/lang/Integer; |
62 | ····.line·59 | 62 | ····.line·59 |
63 | ····:cond_0 | 63 | ····:cond_0 |
64 |
····const·v |
64 | ····const·v7,·0x7f0e00aa |
65 |
····invoke-virtual·{p0,·v |
65 | ····invoke-virtual·{p0,·v7},·Lorg/isoron/uhabits/widgets/HabitPickerDialog;->findViewById(I)Landroid/view/View; |
66 |
····move-result-object·v |
66 | ····move-result-object·v6 |
67 |
····check-cast·v |
67 | ····check-cast·v6,·Landroid/widget/ListView; |
68 | ····.line·61 | 68 | ····.line·61 |
69 |
····.local·v |
69 | ····.local·v6,·"listView":Landroid/widget/ListView; |
70 |
····new-instance·v |
70 | ····new-instance·v7,·Ljava/util/ArrayList; |
71 |
····invoke-direct·{v |
71 | ····invoke-direct·{v7},·Ljava/util/ArrayList;-><init>()V |
72 |
····iput-object·v |
72 | ····iput-object·v7,·p0,·Lorg/isoron/uhabits/widgets/HabitPickerDialog;->habitIds:Ljava/util/ArrayList; |
73 | ····.line·62 | 73 | ····.line·62 |
74 | ····new-instance·v3,·Ljava/util/ArrayList; | 74 | ····new-instance·v3,·Ljava/util/ArrayList; |
75 | ····invoke-direct·{v3},·Ljava/util/ArrayList;-><init>()V | 75 | ····invoke-direct·{v3},·Ljava/util/ArrayList;-><init>()V |
76 | ····.line·64 | 76 | ····.line·64 |
77 | ····.local·v3,·"habitNames":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" | 77 | ····.local·v3,·"habitNames":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" |
78 |
····invoke-static·{v |
78 | ····invoke-static·{v8},·Lorg/isoron/uhabits/models/Habit;->getAll(Z)Ljava/util/List; |
79 | ····move-result-object·v4 | 79 | ····move-result-object·v4 |
80 | ····.line·65 | 80 | ····.line·65 |
81 | ····.local·v4,·"habits":Ljava/util/List;,·"Ljava/util/List<Lorg/isoron/uhabits/models/Habit;>;" | 81 | ····.local·v4,·"habits":Ljava/util/List;,·"Ljava/util/List<Lorg/isoron/uhabits/models/Habit;>;" |
82 | ····invoke-interface·{v4},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 82 | ····invoke-interface·{v4},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
83 |
····move-result-object·v |
83 | ····move-result-object·v7 |
84 | ····.local·v5,·"i$":Ljava/util/Iterator; | ||
85 | ····:goto_0 | 84 | ····:goto_0 |
86 |
····invoke-interface·{v |
85 | ····invoke-interface·{v7},·Ljava/util/Iterator;->hasNext()Z |
87 | ····move-result·v8 | 86 | ····move-result·v8 |
88 | ····if-eqz·v8,·:cond_1 | 87 | ····if-eqz·v8,·:cond_1 |
89 |
····invoke-interface·{v |
88 | ····invoke-interface·{v7},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
90 | ····move-result-object·v2 | 89 | ····move-result-object·v2 |
91 | ····check-cast·v2,·Lorg/isoron/uhabits/models/Habit; | 90 | ····check-cast·v2,·Lorg/isoron/uhabits/models/Habit; |
92 | ····.line·67 | 91 | ····.line·67 |
93 | ····.local·v2,·"h":Lorg/isoron/uhabits/models/Habit; | 92 | ····.local·v2,·"h":Lorg/isoron/uhabits/models/Habit; |
Offset 143, 24 lines modified | Offset 142, 24 lines modified | ||
143 | ····goto·:goto_0 | 142 | ····goto·:goto_0 |
144 | ····.line·71 | 143 | ····.line·71 |
Max diff block lines reached; 1888/6087 bytes (31.02%) of diff not shown. |