CM Tablet tweaks project (Ready for merge)
Since tablets handle various things differently than phones, it requires some modifications on the framework. After a lot of discussion, i came up with this todo list: http://kan.gd/3vb Included features (in chronological order): - Toggle status bar top/bottom via cm settings. Changes position on the fly when setting is toggled. - Moved carrier and power notifications to bottom for bottom bar cannot make the notifications to appear aligned bottom. layout engine drives me mad. if you got a solution, please feedback. - Created "Tablet tweaks" menu in cm-settings root to gather all tablet realted options in one place - Extended power menu with home/menu/back buttons. toggable on the fly via cm settings - Custom volume-long-press events (home/back/menu/call/end call/search/start-stop -music/next track/prev track/longpress home) - Added same options for both-volume-buttons press and long-press (not fully implemented yet) - Fixed status bar xml, so soft buttons now appear as big as the .png file is. - Solved issue about soft buttons not clickable. Their size is now determined smart by the real size of the buttons - Added option to move soft-buttons left or right - Added submenu to choose which soft buttons to display. - Added Quick-Notification-Area-Soft-Button - instantly opens/closes notification area since swiping it open is a long way on tablets - Added a Dead-Zone option, so the middle of the status bar is not clickable. Happend a lot before people click it when trying to hit space - Added option to toggle extended power items - Added option to reverse power button behavior (switch short-press with long-press action) - cleaned up the options and created new submenus - complelty rewrote volume button handling - integrated Drakknars great new design and wrote code for it - added option to disable lockscreen - added option to disable fullscreen - disable ticker notifications if softbuttons enabled - added hdpi icons for resized statusbar via overlay for vega and encore this way, status bar items dont look blury anymore - added search button to list of soft-buttons - its off by default - added long-press to home, back and search soft-button - extended fullscreen handling: when a fullscreen app is running, an additional hide-softbutton is displayed. once pressed, the app gets real fullscreen - added option to choose unhide button for fullscreen - improved hide-button handling for special situation, like app-starting-app (i.e. astro file mananger starting movie player, which does fullscreen request) - bugfix phase #1 - fix all known bugs but volume key handling (needs big rewrite) - bugfix phase #2 - removed volume remapping for cm7stable, because source of too many possible bugs considering all the uses of volume buttons + lockscreen disable + reverse - code cleanup - moved most stuff to Cm classes (CmSystem, CmPhoneWindowManager, CmStatusBarView, CmButtonTracker) - am satisfied with the code now - improved fullscreen overriding in Window class. not only setFlags, but also setAttributes is intercepted now - modified stock AndroidTerm to not crash anymore with our new fullscreen handling - further improved fullscreen handling after all feedback i got. RC2 and probably merge ready code - although i still have to re-insert the trailing spaces Thanks to Samuel Halff <samuelhalff@gmail.com>, who not only inspired all this, but also did a first version of bottom status bar. Without his initial work on the Status Bar and on the CM-Crew (telling this is absolutly needed), this patch wouldnt exist. Also thanks to the Nook Color community, where all those options were discussed. All graphics done by Stefano Pignataro (Drakknar@XDA) - again, awesome work mate (: Settings part of this patch: http://review.cyanogenmod.com/4206 You can find Samuel's original patch here: https://github.com/samuelhalff/android_frameworks_base/commits/gingerbread You can find his thread from xda where this is discussed here: http://kan.gd/3vd Change-Id: I51816a89a2c64ac0a83a377ea5f91a40d6fdd703
Loading
Please register or sign in to comment