Commit 71981dd
committed
Modernize Java source and clean up imports
* Refactor CameraActivity to use lambdas for UI listeners and fix precision in slider positioning.
* Modernize NDKHelper with text blocks and remove deprecated TargetApi annotations.
* Remove unused imports across modified Java files for better code health.1 parent 9510648 commit 71981dd
2 files changed
Lines changed: 5 additions & 24 deletions
File tree
- teapots/image-decoder/src/main/java/com/sample
- helper
- imagedecoder
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 19 | | |
32 | 20 | | |
33 | 21 | | |
34 | 22 | | |
35 | 23 | | |
36 | 24 | | |
37 | | - | |
38 | 25 | | |
39 | 26 | | |
40 | 27 | | |
41 | 28 | | |
42 | 29 | | |
43 | 30 | | |
44 | 31 | | |
45 | | - | |
46 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
47 | 36 | | |
48 | | - | |
49 | 37 | | |
50 | 38 | | |
51 | 39 | | |
| |||
107 | 95 | | |
108 | 96 | | |
109 | 97 | | |
110 | | - | |
| 98 | + | |
111 | 99 | | |
112 | 100 | | |
113 | 101 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| |||
0 commit comments