[1/2] base: add custom hardware button mapping

Possible mapping

 0 - Nothing
 1 - Menu
 2 - App-switch
 3 - Search
 4 - Voice search
 5 - In-app search
 6 - home
 7 - back
 8 - toggle last app
 9 - kill app

Overlay required

depending on the number of buttons on your device

<!-- Hardware 'face' keys present on the device, stored as a bit field.
     This integer should equal the sum of the corresponding value for each
     of the following keys present:
         1 - Home
         2 - Back
         4 - Menu
         8 - Assistant (search)
        16 - App switch
     For example, a device with Home, Back and Menu keys would set this
     config to 7. -->
     <integer name="config_deviceHardwareKeys">7</integer>

PS2/3:
-whitespaces
-fix default back mapping
-cleanup debug log

PS4:
-added missing init of mPressOnHomeBehavior
-fixed home button derp

Change-Id: Ie28bda05e80f5c3bfc63c35c0ade8b0875e85e97
frameworks: ES translation

Change-Id: I0de0bc7cd42bb0f71969cab2df50aa3fde8d9cbd
Merge "[1/2] base: add custom hardware button mapping" into android-4.4
[1/3] base: add support for adb over network

Change-Id: If8354c92a03da501c683638cc69097d287d74816
clear all recents button
Move clear all recents button to bottom right
Quick Settings Pulldown: Left or Right side option (1/2)
Merge "[1/3] base: add support for adb over network" into android-4.4
Merge remote-tracking branch 'upstream/android-4.4' into android-4.4