Improve recents kill all buttons behaviour

Adding programicaly set of margin for devices without HW keys.
Also changed UI behaviour to respect stock look.
Moved RAMBAR based on new UI behaviour.

PS7: Changed ImageView into ImageButton
PS8: Remove ugly background around icon
PS12: Increased RAMBAR padding to fit new layout
PS13: Little cleanup + change tablet detection logic (from RC)

Change-Id: Ifd91e8a14d5f7eaaa05bc4958820b97ac6bf2e9c
Signed-off-by: kecinzer <kecinzer@gmail.com>
Don't register methods when there's nothing to register.

Change-Id: I6d0233f79bb90089426d702b4076ec5750e82475
Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON

This is a small fix to the showWallpaper method, in which a power
consumption problem has been introduced. This showWallpaper method
toggles the window flag FLAG_SHOW_WALLPAPER, when album art is being
shown in Lockscreen. It is important to set pixel format to
PixelFormat.OPAQUE if flag FLAG_SHOW_WALLPAPER is not being set.

If not, an application that uses window flag FLAG_KEEP_SCREEN_ON
will prevent the keyguard from going to sleep and drain battery.

Change-Id: I1808be28047977ae5ac4dd1168ea25cac8a55a78
Get rid of noise during boot.

This log is not an error, it is a warning, don't spam a stack
crawl when it happens.

Change-Id: I6038e3625cc0c16af9e54887b5e7ec451d9f864d
Updated Simplified Chinese translations

Change-Id: Ic594a463b84e51f393c1f169a4f8626900f04120
Import translations from crowdin.net

Change-Id: I608232411e33a80500cf9eaf1965297532fdd403
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "Don't register methods when there's nothing to register." into kitkat
Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON" into kitkat
Merge "Get rid of noise during boot." into kitkat
Merge "Improve recents kill all buttons behaviour" into kitkat
Merge branch 'kitkat' of github.com:AOKP/frameworks_base into kitkat