FWBase - Navigation bar IME cursor + Fixes

Old idea from AOKP revamped for kk 4.4

- permanent option (not configurable) due it is very usefull
- left arrow single press = cursor left; longpress = cursor one line up;
longpress hold = faster several lines up
- right arrow same as left arrow but opposite directions
- accessibility events added
- transistion added

PS;
- add other flag handling
PS
- enable haptic feedback

PS
- Fixed PowerMenu call

PS
- Fixed volume as Slimshorcut

Change-Id: I5cd2dd8ccb92a40359bf6412f0e339445fb0d2b4
Signed-off-by: Stefano Mura [STELIX] <ssspinni@gmail.com>
FWBase - PowerMenuTile fix

Change-Id: Ib28ab384cf5be1d909d7e622ed25f861e2701a99
Signed-off-by: Stefano Mura [STELIX PippoX3] <STELIX@gmail.com>
Fix icon support for secondary users.

This fixes the problem when switching to a secondary user and
icons are currently applied.  Prior to this patch the secondary
user would see droids as their icons and apps would FC at start.

Change-Id: Icd4275eae5868612bf2a81b375ac4d0779a61395
Don't create idmap if app doesn't have resources.arsc

Some apps do not have a restable but some legacy themes
try to theme these apps anyways. In this case we skip
the idmap creation process.

Change-Id: I8bc60984299791733d4fe8c9bbcaa75eca6d736b
Merge "FWBase - PowerMenuTile fix" into kk
Merge "FWBase - Navigation bar IME cursor + Fixes" into kk
Base: RU translations

PS: cleanup tabs & whitespaces
Change-Id: I3f297639234cd1d4f0d6050cbab451eddcdde9d0
Frameworks: fix qs and notification shade toggle on expanded desktop

If expanded desktop is enabled and statusbar hidden the toggle does not force
the statusbar to show before it pulls down the shade

fix it with just requesting the the statusbar to show up before we actually
peform the action

Change-Id: I15805a57485220f083a3439617cceef8bd5c04cd
Frameworks: IME cursor controll be consistent

If user has enabled volume button IME cursor control do not show
navbar IME cursor control. One is enough and can be asumed to be the
default one the user is using. So be consistent and just have one enabled.

Change-Id: I1981579ef3ced52ba94bd84d4f4675cea379562e
Remove DEFAULT_THEME_APPLIED_ON_FIRST_BOOT

doApplyDefaultTheme should be able to apply the default theme, if
one exists, whenever applyDefaultTheme() is called.

Change-Id: Ia50b4089d122855a4ddde91a02eef33ed3f9eaf4
Add status bar and navigation bar to ThemesContract

Change-Id: I8048c735d7bbbfdb86ee5923b95bece6b4252bf7
Install themes and icon packs for secondary users.

Change-Id: I48ae6835223510a433642fced5b96b6c3954baf6
Add previews to the themes contract.

Change-Id: I607a6eda1c63a701516d2bc78ca6b705841fbdf7
Revert "Vpn: Setup routes."

This reverts commit 93f9ebe47437d71bf66c8999f7cffc973f5959ed. It
is incompatible with change I5b2bde0ac5459433fc5749f509072a548532f730
and breaks routing on 4.4.3

Change-Id: I6e730ae66c7a5fdca582cc8c05f13ea8b234d848
Fix whitespace issue with translation

Change-Id: If58640a5c4a09cc75f409ec694382d1f7a4c9365
Clock: use mCalendar to get seconds

We haz teh calendar already. No need to create a new one to get the seconds.

Change-Id: Iccfc6e25367ad57a99bf27c29311e260b5e276d8
Signed-off-by: Tianrui Guo <tianrui@pac-rom.com>
Merge branch 'kk' of git://github.com/CarbonDev/android_frameworks_base into carbon-kk