tablet status bar tweaks
DESCRIPTION
Uploaded from Google DocsTRANSCRIPT
OUTDATED DOCUMENT
this document is outdated and not used right now. this might change in the near future, but for now, see tablet tweaks II post for details: http://kan.gd/3vd
CM7 Tablet Tweaks / HC Tweaks
This document covers the steps needed to make cm7 adjust to tablets much better than it currently does. The idea of some functions is taken from HoneyComb, some other ideas are the result of discussion on XDA.
XDA Discussion Thread: http://kan.gd/3vd
Patches on gerrit code review: http://review.cyanogenmod.com/4205 + http://review.cyanogenmod.com/4206
Bug hunting status
Fixed in code, but not in your builds yetAlready in latest build
● create global provider CmSystem.getDefaultBoolean() which should fix all the toggle issues connected to different default values at different spots of code.
● Insert the new default values in every piece of code connected● with top status bar, no keyboard input possible - keyboard hides on each keypress, just
to show again.● for some people: not all buttons clickable for nook color users on the left side. works on
right side. should(!) be fixed with CmSystem.getDefaultBool() introduction● for some people: extended power menu failing in some cases (uncheck - check cycle
each entry should fix) should(!) be fixed with CmSystem.getDefaultBool() introduction
● top status bar shows hide button to wrong direction● power key for unhide only works with lockscreen disabled -> removing power key as
option (bye bye prince power) your old selected option might be invalid due to change of indexes.
● pressing any button unhides status bar - ooops● starting fs app (angry birds), hitting home, hitting the app again -> no hide button. this
probably cannot be fixed.● Tapatalk (XDA app), when going full screen to display pictures, won't hide the status bar
and the hide button remains through that session (and on home screen as well). ● quote: Emulators seemed to work until I actually loaded a rom, at which point the bar
stayed without the hide button.● terminal emulator soft reboots when status bar hide and disable fullscreen are enabled
(modified the bad-behaving terminal emulator for this - he restarted until no more
memory available)● quote: Ok this is sort of a strange one that I noticed on the older build, but I will check in
the newest. When the notification window is extended, the home button does not work if pressed a single time quickly. Long hold will launch recent apps. Also, once recent apps launches, the home button will affect the launcher but leave recent apps open.
● Google Calendar still exhibiting the noted issues - Calendar "popup" (of updated, upcoming events) is partially blocked by the bottom status bar - same for clock (this wont be “fixed” until cm71 nightlies - those apps just dont put a fullscreen request, but take the maximum height and width for their size and accept, that the (top) status bar overlays some of their area. this could be fixed, but requires too many changes so near to release)
Aimed for CM7 stable release:● Take a look into rotary and lense lockscreen on tablets myself, after so many people
were on it (and failed!?!) (not part of tablet tweaks)● Fix wallpaper size in landscape mode. its all cut off atm (not part of tablet tweaks)● Fix volume handling - adjusting ringer doesnt make sense without phone unit (not part
of tablet tweaks)● Allow automatic date/time setting without gsm via ntp client (not part of tablet tweaks)
Aimed for later releases / cm 7.1● remap home/back/menu buttons the same than volume buttons remapping● orientation lock to landscape OR portrait - right now forces portrait● Somehow manage for power notification widget to show more than 6 buttons, since we
got more space than on phone resolutions / display sizes● Customize order of soft buttons● customize left/right side for each soft button#● Extend button-actions with custom shortcut / custom app option● Add Honeycomb like unlock slider● Add tasklist softbutton from gingerbread - probably without live previews.● Add an option to hide normal notifications from status bar. If enabled, show a number of
the current notifcations on the status-bar-soft-button● Add a seperate option to hide ongoing notifications from status bar. If enabled, show a
second number of ongoing notifcations on soft-button (as long as enough space for this)● Add an option which shows a bubble with the notification message when clicking the
notification icon on status bar - thanks to huge displays its possible to easily click them - non-ongoiong-bubbles contain a dismiss button
● Put “bound to vol+” etc texts below power menu entries for home/back/menu
Already done:● Create a “tablet tweaks” submenu just at the top of cm settings, so all those options are
not cluttered somewhere deep inside various cm-settings submenus
● Add option to align status bar top or bottom● Add option to enable emergency “home/menu/back” actions to long-press-power menu
for all tablet devices without hardware keys.● Add option to rebind volume keys long press to essential functions: None/Default - Home
- Menu - Back - Search - Power - Call - End call - Play/Pause - Next track - Prev track● Also add Both-Volume-Buttons-Press and Long-Press custom actions, same as for
volume buttons● Softbuttons wrap to the resource .png size now (fixed xml)● Area where softbuttons are, now is excluded from notification drag-expand - done
dynamicly on the real size of buttons● Add an option to display soft buttons either left or right on status bar● Add recent apps (usually long-press-home action) to actions for volume button● Add an option to choose which soft buttons to display and which not to display. Home
may be mandatory for nook color and vega, but maybe not for other tablets, which got an easy to reach hardware home button
● Add an option to open close status bar via additional soft button without animation● Add an option to enable a dead zone in the middle of the status bar, so you dont open it
while hitting space● Added option to toggle extended power items seperatly● Added option to reverse power button behavior (switch short-press with long-press
action)● Cleaned up the options and created new submenu● Complelty rewrote volume button handling to handle all our new demands● Integrated Drakknars great new design and wrote code for it● lotsa tiny fixes / bugfixes● Add option to override fullscreen - so status bar always visible - probably better: only soft
buttons always visible.● Add option to disable lockscreen at all on tablets● Disable the notifcation ticker when softbuttons available, so he wont hide the buttons for
a short time● Add fullscreen override to cm options and also to notification power widget. this way, its
easy to toggle. also add option for volume-button-actions to toggle this.● Enable long-press-home soft button (same for menu, back and search)
The mass of options intents enabling users to customize the status bar behavior as the personally prefer. Its better than a static solution which forces you to use the only available way.
The default values for all this options will be changeable on a device basis. Enable/Disable various options depending on the target device and its available hardware buttons.
Some screenshots (maybe already outdated):see xda thread for up-to-date screenshots