GitHub PushEvent at 2014-02-13 07:39:08
Repository: android_frameworks_base
Actor: lion0738
Payload: {"shas":[["a1a055e63a93b6aa50123c493217af0840ab0a17","338da36b0b88a09286ade72059277a2652c85f05@googlemail.com","Frameworks: SlimPie (1/2)\n\nWell first I want to thanks again for the ideas Jens Doll, Kyrylo Mikos and PA gave us\non 4.3 allready to make our own SlimPie possible. We used partly code from them and added\nand changed it in our Slim way to have it for us most usefull.\n\nWell as known SlimPie advantage to other PIEs is that it can bind on every button\npress and longpress action like the user want. All SlimActions are available for\nevery button (so all possible shortcuts we have + apps etc). Of course as well\navailable are custom icon images or system icons. Other unique thing of SlimPie\nis that 2 rows are available. First row user can setup up to 5 buttons. On the second\nrow up to 7 Buttons.\nOf course the user can setup the style to their like and still theme engine related\nthings are respected.\nPie is activated present on non expanded Desktop as well\n\nFor 4.4 we reworked a lot of the frameworks base code mainly. Changes compared to 4.3\n\n- We use now a edge detection service (thanks a ton to Jens and Kyrylo). We tweaked it only\n  very minor due that it works allready out of the box. Two reasons why we want to use it.\n\n  1. We do not have detection overlays on the borders anymore. Means the user is not disturbed\n     by it and we do not need to add workarounds like we did before to avoid accidental swipe ups\n     (eg old IME reduce triggers). As well it is not needed anymore that the user can setup\n     thikness etc. The default values are allready quiet good. If a device has detection problems\n     the dm can adjust them via overlay. As said main main main advantage  that no dead zones are present\n     anymore.\n\n  2. we will use this service for other upcomming features as well (eg new Recents)\n\n- Centralized and adapted the code to 4.4 and some changes we did in our central classes\n- reduced observer to an absolutly minimum. If PIE is disabled it does not observe any value\n- A lot small fixes and tweaks\n- Change default colors to KK style\n- If navbar is present the navbar gets animated with the background to give a full screen overlay\n  feeling to the user. Especially now with kk transparency way better.\n- Full keyguard support\n- complete reworked edge disable detection\n- and a lot more\n\nPS:\n- add and fix the callbacks\nPS:\n- cleanup\n- multiuser support\n- reworked complete observer and attach detach handling\nPS:\n- fix some detection corner cases\nPS\n- fix derp\nPS\n- for pie add higher default sensivity. As well give an option\n  to overlay it in device tree to set it even higher.\nPS\n- refresh settings if user changed\n- small cleanup\nPS\n- fix another derp :(\nPS\n- add disable activation edges logic\n\n  if navbar or statusbar is present (either visible or as swipe in expanded the bottom and top are disabled)\n  is notification drawer is down top left right is enabled\n  if one of the different navbar modes or the navbar in the current view has 0 height this edge is enabled\n  if navbar is off navbar edge is enabled\nPS\n- our service is always present\n- cleanup commandque as well aosp and our code\n- some minor tweaks\nPS\n- animate navigationbar on non expanded to overlay the background on pie over the complete screen\nPS\n- add recents preloader logic\nPS\n- space out a bit the clock\nPS\n- change default colors\nPS\n- use our color classes and fix it that they can handle our new logic\nPS\n- cleanup\nPS\n- fix second layer disable\nPS\n- reflect new sensitivy steps in edge service patchset\n  (1 minimum, 10 maxium)....pie default to 8 high sensitivy\n  if someone need mor increase it\n- in general made it per default a bit more sensitiv\n- fix bug with trds switch on reconstruing statusbar to\n  restore last correct state\n- cleanup the inline comments\nPS\n- minor tweaks\nPS\n- fix reported wrong icon sizing of some apps which do not follow\naosp default sizes\nPS\n- fix race conditions on init\nPS\n- attach basestatusbar directly to PieController and pass to PieView to simplify\n  recents loading\n- cleaned up some method and var definitions\nPS\n- remove obsolete null check\n\nChange-Id: I3b28b8155a668f2c9b32aac4cd294b79ac3f3eb9","Lars Greiss",true]],"size":1,"ref":"refs/heads/test","head":"a1a055e63a93b6aa50123c493217af0840ab0a17"}