Commit fa51360
committed
Add SlimRoms Recents app screen (Squashed) (1/2):
Included:
Commit zsol#1:
Add SlimRoms Recents app screen, (wip) (1/2):
22f78a4
Based on SlimRoms:
Pulled out from "Slim framework":
https://github.com/SlimRoms/frameworks_opt_slim
Included additions by SlimRoms:
- Option to use Slim- or Android recents
- Option to show running tasks only
- Option to show the panel on the left edge of the sreen,
(on the right edge on rtl languages)
- Panel scale
- Favorites
- Card expanded mode
- Option to show the topmost task, too
- Panel background color
- Card background color
- App title text color
DarkKat additions/changes:
- Header icon color, (disabled for now)
- Disable panel background color for now
- Disable card background color for now
- Disable app title text color for now
- Fixed default header icon colors,
(colors are related to the header background,
light colored icons on dark colored backgrounds
dark colored icons on light colored backgrounds)
TO-DO:
- Enable custom colors
- Add day/night theme support
Commit zsol#2:
SlimRoms Recents app screen part 2, (wip) (1/2):
(day/night themes support, custom colors)
ad91d5d
- Add day/night theme support
- Option to use theme or custom colors
- Change card background color to the app activity primary color,
(when available)
- Enable custom panel background color
- Add custom panel empty icon color
- Enable custom card background color
- Add custom card header background color
- Add custom card header activated background color
- Enable custom card header text color
- Enable custom card header icon color
Default colors (Use theme colors enabled):
- Panel background color:
- 0x80000000 (translucent black)
- Panel empty icon color:
- 0xbffffff, "secondary text material dark", (default for "normal icon state")
- Card background color:
- Uses the app activity primary color when available,
otherwise the "background floating material" color of the current general theme
- Card header background color:
- Uses the app activity primary color when available,
otherwise the "background floating material" color of the current general theme
- Card header activated background color:
- Uses a darker/lighter version of the Card header background color
- Card header text color:
- Uses the matching "primary text material" color,
(related to the Card header background color)
- Card header icon color:
- Uses the matching "secondary text material" color, (default for "normal icon state")
(related to the Card header background color)
Default colors (Use theme colors disabled):
- Panel background color:
- 0x80000000 (translucent black)
- Panel empty icon color:
- 0xbffffff, "secondary text material dark", (default for "normal icon state")
- Card background color:
- Uses the "background floating material" color of the current general theme
- Card header background color:
- Uses the "background floating material" color of the current general theme
- Card header activated background color:
- Uses a darker/lighter version of the Card header background color
- Card header text color:
- Uses the "primary text material" color, of the current general theme
- Card header icon color:
- Uses the "secondary text material" color of the current general theme,
(default for "normal icon state")
TO-DO:
- Use "real cards", (these cards are something between cards and tiles):
- Use rounded corners
- Overwork the "header only" layout
- Use collapsed cards
- Add a frame to the expanded card thumbnail,
(the thumbnail should be always visible as an additional element)
- Use the CardView class from the support library for the cards
Commit zsol#3:
SlimRoms Recents app screen part 3, (wip) (1/2):
74f6c3a
- Change day theme panel background color:
- Translucent white (#80ffffff)
- Change day theme panel empty icon color:
- Text color secondary, (default for dark icons on light backgrounds) (#8a000000)
- Remove header background color
- Remove header activated background color
- Remove header icon color
- Add action icon color
- Add action ripple color
- Remove scale factor
- Add thumbnail aspect ratio:
- 1 : 1
- 5 : 4
- 4 : 3
- 16 : 9
- Use Support CardView library instead of Cards library
- Place actions in an action bar at the card bottom instead of the header reached via long click
(the action bar will be shown even when the card is collapsed)
- Add a frame to the expanded card thumbnail
- Add Settings changes (colors, theme, options, ...) directly, instead of rebuilding the recents screen
TO-DO:
- Add an option to hide the action bar when the card is collapsed,
(possibly also a header long click action to show/hide the action bar)
- Add an option to use the app activity primary color for the card background in general,
to have the same behavior when using theme or custom colors
Commit #4:
SlimRoms Recents app screen part 4, (wip) (1/2):
61ecac7
- Add an general option to auto colorize the cards,
when enabled and the related activity contains a primary color, this color will
be used as the card background color,
all other card colors, (text, icon and ripple) will be set,
related to the card background, automatically,
(dark text, - icons and - ripple on light backgrounds and vise versa)
this is the same behavior which was used before, when "use theme colors" for recents whas enabled.
- Show/hide the card actions when the card is collapsed,
the actions are always be visible when the card is expanded,
when the card is collapsed, the actions can be shown/hidden on header long click,
the actions visibility states will be stored per card during the session,
(similar to the card expanded states)1 parent 86a5f0d commit fa51360
File tree
45 files changed
+4897
-13
lines changed- core
- java
- android/provider
- com/android/internal/util/darkkat
- res/res
- anim
- values
- packages/SystemUI
- res
- drawable
- layout
- values-blackout
- values-land
- values-night
- values-sw600dp-land
- values-sw600dp
- values
- src/com/android/systemui
- slimrecent
- statusbar
- phone
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+4897
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3745 | 3745 | | |
3746 | 3746 | | |
3747 | 3747 | | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
| 3762 | + | |
| 3763 | + | |
| 3764 | + | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
| 3777 | + | |
| 3778 | + | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
3748 | 3788 | | |
3749 | 3789 | | |
3750 | 3790 | | |
| |||
4133 | 4173 | | |
4134 | 4174 | | |
4135 | 4175 | | |
| 4176 | + | |
| 4177 | + | |
| 4178 | + | |
| 4179 | + | |
| 4180 | + | |
| 4181 | + | |
| 4182 | + | |
| 4183 | + | |
| 4184 | + | |
| 4185 | + | |
| 4186 | + | |
| 4187 | + | |
| 4188 | + | |
| 4189 | + | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
| 4193 | + | |
| 4194 | + | |
4136 | 4195 | | |
4137 | 4196 | | |
| 4197 | + | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
| 4210 | + | |
| 4211 | + | |
| 4212 | + | |
| 4213 | + | |
| 4214 | + | |
| 4215 | + | |
| 4216 | + | |
| 4217 | + | |
| 4218 | + | |
| 4219 | + | |
| 4220 | + | |
| 4221 | + | |
| 4222 | + | |
| 4223 | + | |
| 4224 | + | |
| 4225 | + | |
| 4226 | + | |
| 4227 | + | |
| 4228 | + | |
| 4229 | + | |
| 4230 | + | |
| 4231 | + | |
| 4232 | + | |
| 4233 | + | |
| 4234 | + | |
| 4235 | + | |
| 4236 | + | |
| 4237 | + | |
| 4238 | + | |
| 4239 | + | |
| 4240 | + | |
| 4241 | + | |
| 4242 | + | |
| 4243 | + | |
| 4244 | + | |
| 4245 | + | |
| 4246 | + | |
| 4247 | + | |
| 4248 | + | |
| 4249 | + | |
| 4250 | + | |
| 4251 | + | |
| 4252 | + | |
| 4253 | + | |
| 4254 | + | |
| 4255 | + | |
| 4256 | + | |
| 4257 | + | |
| 4258 | + | |
| 4259 | + | |
| 4260 | + | |
| 4261 | + | |
| 4262 | + | |
| 4263 | + | |
| 4264 | + | |
| 4265 | + | |
| 4266 | + | |
| 4267 | + | |
4138 | 4268 | | |
4139 | 4269 | | |
4140 | 4270 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
Lines changed: 136 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
Lines changed: 31 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
123 | | - | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
162 | 191 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments