TEMASEK's CM 10.2 V28 & V29
Re-introduce optional network speed indicator hide. I've fixed it with my solution here -> https://github.com/temasek/android_f...38e618f9452b79
Frameworks: remove always transparency mode navbar/statusbar - SlimROM
- problem is that the transparency on most app totally break due that a lot apps do not draw behind navbar and statusbar. Nearly all user never use always mode and just use it on launcher and lockcreen. So let us remove it as well a bit cleanup.
Frameworks/Settings: rework navbar and statusbar transparency/color handling - SlimROM
All current implemented versions of nav and statusbar transparency which are around are not really perfect and all have downsides. After I saw the
implementation from Romanb (thanks) I got an idea to solve especially the problem on keyguard without forcing the user to set for keyguard seperatly a transparency to have a good result. Main problem is that aosp does not allow to overlay the navbar with a shadow.
This commit does:
- introduce central TransparencyManager (thanks Roman)
- introduce a layerDrawable with a ColorDrawable as overlay and underlay
to get consistent results on keyguard to show the shadow
- introduce a overlay to animate the navbar shadow like the PIE background shadow
when the user is not in expanded mode. So the user get the whole screen darken (or colored).
- get complete rid of backgroundalphadrawable class
- allow colorize of theme (theme engine) navbar/status bar background changes
reset to default shows as usual the theme without manipulation
- expand the custom background area on lockscreen behind the statusbar (navbar AOSP does not allow)
- default wallpaper and full transparent mode is now completly consistent and nice looking on every possible setting.
- full color lockscreen reflects the color now behind the navbar to imitate same behaviour like the default wallpaper on lockscreen. As well now consistent and nice looking on every possible setting.
- lockscreen background image mode is the only one where a 100% consistent solution
is not possible due that the image is always smaller on lockscreen (not expandable behind navbar) and I do not see a good way to put in the underlay a partly image in a nice way to avoid weird transparency draws the transparency on navbar is set to the chosen lockscreen background transparency as long the lockscreen transparency is smaller then the navbar/statusbar transparency. Todo: notify in settings the user about the behaviour change so that it is no surprise.
- add multiuser compatibility to serveral vars
- margin fix on lockscreen
- hide statusbar on lockscreen on expanded or autohide statusbar mode
- add option to unlink colorizing on apps
- optimizing and a memory leak fix
- cleanup
Frameworks: recreate navbar and statusbar background only when needed … means only on theme changes
Sleep tile auto colapse for fix, for now, new transparency mode. - Cristiano Matos
- This workaround is for status bar stick transparency in lockscreen
SystemUI: Fix potential NPE - tonyp
- Does already cause issues on some Halo ports to other ROMs.
Flip tiles in MobileNetworkTile - Cristiano Matos
Frameworks: simplify custom lockscreen background code - SlimROM
- remove observer for transparency and handle it better
- add multisuser handles
- smaller fixes and code cleanup
- simpfliy custom background handling and change to our needs (thanks Danish)
- Lockscreen custom image transaprency fixed (crDroid - based on kufikugel codes)
Frameworks: use a layer drawable for the keyguard - SlimROM
- in preperation to the new navbar and statusbar transparency managment which will come it is more consistent on custom image and color fill on lockcreen to use a layerdrawable to add the
shadow on top of the image to keep on transparency of the background the shadow like it is suggested by google
Updated cm source
V29 Specific: **Correct the wrongs of V28
- Temporary revert ports from slimroms