Commit 2cb1878
style(Android): Many warnings and style fixes (#10886) abb33a5433
Warnings:
- Move from deprecated functions
- var -> val
- Clang tidy static suggestion
- Clang tidy for const in header functions
- Delete unused JNI reference methods
- Use auto when suggested by Clang
- Remove unused JNIEnv and thisObj references
- Add suggested function annotations
- Change visibility of deleted members
- Modernize includes
- Null handling
- Struct syntax
- Narrowing/casts
- Unnecessary pBuffer checks
- Naming (typo checker)
- Unneeded `GetTargetValue` checks
- Deprecation warnings on tests
- Superclass name match
- Unnecessary casts
- Use non-deprecated functions
- Unused vars
- Shadowing of `it`
- Remove app bar hiding part of the bind button
- Warning around modifier being first optional param
- Double null coercion
- Duplicate in gitignore
- Update 10dp -> 11sp (minimum)
- Warned height value
- Kotlin APIs
Style:
- Automatic style changes
- Move to #pragma once
- Naming
- Spaces/newlines
- Inferred generic
- Use resource class
- Hide app bar on main menu
- Capitalize app name
- Automated XML formatting
- Remove template comments
- Minor style tweaks to RiveButton and ButtonActivity
Documentation:
- Clarify premake5 locations
- Update authors
- Update issue template
Cleanup:
- Unused C++ testing directory
- Unmaintained docs code
- Unused raw assets
- Unused ids.xml
- Irrelevant test
- Remove single Rive Renderer split
Chore:
- Bump Material version
- Bump Gradle Git Version plugin
Fix:
- Doc import
- Remove blank issues, add support links
Co-authored-by: Erik <[email protected]>1 parent 06533ef commit 2cb1878
File tree
520 files changed
+763
-8572
lines changed- .github/ISSUE_TEMPLATE
- app
- src
- androidTest/java/app/rive/runtime/example
- main
- java/app/rive/runtime/example
- utils
- res
- layout
- raw
- values
- compatibilitytest
- src/main
- java/app/rive/runtime/compatibilitytest
- res
- layout
- values-night
- values
- dev
- docs/gfm
- kotlin
- app.rive.runtime.kotlin.core
- -a-a-b-b
- -alignment
- -b-o-t-t-o-m_-c-e-n-t-e-r
- -b-o-t-t-o-m_-l-e-f-t
- -b-o-t-t-o-m_-r-i-g-h-t
- -c-e-n-t-e-r_-l-e-f-t
- -c-e-n-t-e-r_-r-i-g-h-t
- -c-e-n-t-e-r
- -t-o-p_-c-e-n-t-e-r
- -t-o-p_-l-e-f-t
- -t-o-p_-r-i-g-h-t
- -animation-state
- -animation
- -any-state
- -artboard
- -blend-state
- -direction
- -a-u-t-o
- -b-a-c-k-w-a-r-d-s
- -companion
- -f-o-r-w-a-r-d-s
- -entry-state
- -exit-state
- -file
- -fit
- -c-o-n-t-a-i-n
- -c-o-v-e-r
- -f-i-l-l
- -f-i-t_-h-e-i-g-h-t
- -f-i-t_-w-i-d-t-h
- -n-o-n-e
- -s-c-a-l-e_-d-o-w-n
- -layer-state
- -linear-animation-instance
- -loop
- -a-u-t-o
- -companion
- -l-o-o-p
- -o-n-e-s-h-o-t
- -p-i-n-g-p-o-n-g
- -playable-instance
- -renderer
- -rive-exception
- -rive
- -s-m-i-boolean
- -s-m-i-input
- -s-m-i-number
- -s-m-i-trigger
- -state-machine-boolean-input
- -state-machine-input
- -state-machine-instance
- -state-machine-number-input
- -state-machine-trigger-input
- -state-machine
- app.rive.runtime.kotlin
- -observable
- -rive-animation-view
- -rive-drawable
- -listener
- -rive-file-request
- -rive-initializer
- kotlin
- src
- androidTest/java/app/rive/runtime/kotlin
- core
- fonts
- main
- cpp
- include
- helpers
- models
- src
- bindings
- helpers
- models
- test
- java/app/rive/runtime/kotlin
- controllers
- core
- fonts
- renderers
- kotlin/app/rive
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
520 files changed
+763
-8572
lines changedLines changed: 48 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
13 | 10 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 11 | + | |
22 | 12 | | |
23 | | - | |
24 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
25 | 19 | | |
| 20 | + | |
| 21 | + | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
30 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | | - | |
| 42 | + | |
33 | 43 | | |
34 | | - | |
35 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
36 | 50 | | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
40 | 54 | | |
41 | 55 | | |
42 | 56 | | |
43 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
44 | 62 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
50 | 66 | | |
51 | | - | |
52 | | - | |
| 67 | + | |
| 68 | + | |
53 | 69 | | |
54 | 70 | | |
55 | 71 | | |
56 | 72 | | |
57 | | - | |
| 73 | + | |
58 | 74 | | |
59 | | - | |
| 75 | + | |
60 | 76 | | |
61 | | - | |
| 77 | + | |
62 | 78 | | |
63 | | - | |
| 79 | + | |
64 | 80 | | |
65 | 81 | | |
66 | 82 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 83 | + | |
73 | 84 | | |
74 | | - | |
| 85 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
| |||
Lines changed: 0 additions & 46 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | | - | |
| 85 | + | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | | - | |
| 104 | + | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| |||
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
156 | | - | |
157 | 155 | | |
158 | 156 | | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
164 | | - | |
165 | 162 | | |
166 | 163 | | |
167 | 164 | | |
| |||
203 | 200 | | |
204 | 201 | | |
205 | 202 | | |
206 | | - | |
207 | 203 | | |
208 | 204 | | |
209 | 205 | | |
| |||
312 | 308 | | |
313 | 309 | | |
314 | 310 | | |
315 | | - | |
316 | 311 | | |
317 | 312 | | |
318 | 313 | | |
| |||
337 | 332 | | |
338 | 333 | | |
339 | 334 | | |
340 | | - | |
341 | 335 | | |
342 | 336 | | |
343 | 337 | | |
| |||
432 | 426 | | |
433 | 427 | | |
434 | 428 | | |
435 | | - | |
0 commit comments