[2/2] Status bar brightness control

Add option to control brightness by sliding across status bar.
Thanks to CyanogenMod for the original implementation.

[2/2] 通知栏亮度控制

添加在通知栏上划动以调整亮度的选项.
感谢CyanogenMod, 此功能是由他们原创实现的.

[1/2] in platform_frameworks_base
[2/2] Various status bar battery style options

* Add native battery bar with percentage option.
* Add circle battery (with percentage) option (Credits @Sven-Dawitz).
* Add icon style reflected by QS battery tile (Credits @kufikugel).

[2/2] 多种电池图标样式选项
* 添加原生电池百分比选项.
* 添加圆圈电池(+百分比)选项 (感谢 @Sven-Dawitz).
* 添加快捷设置电池磁贴映射通知栏电池样式 (感谢 @kufikugel).

[1/2] in platform_frameworks_base
[2/2] User configurable clear all recents button

* Add a button on recent panel to clear all recent apps,
    and an option to alter its position(or switch off).
* Add new drawables for clear all recents button,
    instead of using ic_notify_clear from notification area.
    Thanks @arzbhatia

[2/2] 用户可调整的清除全部最近应用按钮

* 在"最近打开的应用"面板中添加一个"清除全部最近应用"按钮,
    以及一个选项来调整它的位置(或禁用它).
* 添加"清除全部最近应用按钮"专用的drawables,
    而不是沿用通知面板下拉里的ic_notify_clear.
    感谢 @arzbhatia

[1/2] in platform_frameworks_base
[1/3] Increasing Ringtone

Add option to set the incoming call ringtone volume
to increase in user-defined increments.

[1/3] 渐强铃声

添加允许用户自定间隔的渐强铃声选项.

[2/3] in platform_frameworks_base
[3/3] in platform_packages_services_Telephony
[2/2] Volume adjust sound & KitKat style drawables

* Add volume adjust sound, the sound made when
    you adjust volume with volume rocker.
* Add an option for user to enable/diable the sound.
* Refresh related drawables with KitKat style ones.

[2/2] 音量调整音 & KitKat风drawables

* 添加音量调整音, 即当你用音量键调整声音时发出的声音.
* 添加用户可设置的选项来启用/禁用音量调整音.
* 换血相关的drawables为KitKat风.

[1/2] in platform_frameworks_base
[2/2] Unlinked volumes & expandable volume overlay

* Add option to unlink volumes.
* Add user configurable options for volume overlay.
    Choose from single, expandable, expanded and hidden.

[2/2] 分离音量 & 可展开音量调节面板

* 添加允许独立调整各项音量的选项.
* 添加用户可配置的音量调节弹出框.
    可在"单行", "可展开", "已展开", "隐藏"中选择.

[1/2] in platform_frameworks_base
[2/2] More functional volume rocker

* Add option to wake screen with volume rocker.
* Add option to seek music track with volume rocker longpress.
* Add user configurable option to
    control cursor in text field with volume rocker.

[2/2] 功能更丰富的音量键

* 添加可用音量键唤醒屏幕的选项.
* 添加可用音量键调整播放曲目的选项.
* 添加用户可配置的输入框中音量键调整光标的选项.

[1/2] in platform_frameworks_base
[3/3] Add AOSP Dialer check

* Adds a check for the AOSP dialer so features depend on it
    will be disabled in Google dialer is used.
* Disable increasing ringtone option if Google dialer is used

[3/3] 添加AOSP电话的检测

* 添加对AOSP电话的检测, 从而
    在用户使用Google电话时禁用不支持的特性.
* 当检测到用户使用的Google电话时,
    禁用渐强音量的选项.

[1/3] in platform_packages_services_Telephony
[2/3] in platform_frameworks_base
Utility function to determine device type

Determine device type by screen type.
Differentiate devices into phone, hybrid and tablet.

添加定义设备类型的功能

通过获取屏幕参数来定义设备类型.
将设备分为手机, 跨界机以及平板.
[2/2] Navigation bar buttons customization

* Add option for user to customize navigation bar.
* Add device type checking using the previously added utility function.
* Fix buttons layout in mdpi & hdpi in landscape.
* Fix search_light pointing direction in landscape.
* Fix issues with RTL layouts.
* Fix orientation determination logic.
* Add alpha value applied to all layouts.
* Fix error with backAlpha values.
* Add null check all button usages.

[2/2] 个性化导航栏按键

* 添加导航栏自定义的选项.
* 添加用先前加入的功能对设备类型进行检测.
* 修复mdpi和hdpi在水平视图下的按键布局.
* 修复search_light在水平视图下的指向.
* 修复RTL布局下的一些问题.
* 修复旋转方向判定逻辑.
* 添加alpha值至全部布局.
* 修复backAlpha值错误, 采用findButton而不是findViewWithTag.
* 添加按键使用的空值检测, 用户可能隐藏他们.

Thanks to CyanogenMod for the original implementation.
感谢CyanogenMod原创实现此功能.

[1/2] in platform_frameworks_base
[2/2] User configurable double tap to sleep gesture

Add options to enable
  * glow pad double tap gesture to put device to sleep.
  * pattern double tap gesture to put device to sleep.
  * pin & password double tap gesture to put device to sleep.
  * status bar double tap gesture to put device to sleep.

[2/2] 用户可配置的双击锁屏手势

添加选项来启用
  * 双击光圈锁屏的手势
  * 双击图案盘的手势
  * 双击密码输入框锁屏的手势
  * 双击通知栏锁屏的手势

[1/2] in platform_frameworks_base

Thanks to CyanogenMod(@dalingrin and @travp624) for the original
implementation.
Thanks to @rascarlo for the user configurable concept.

感谢CyanogenMod(@dalingrin and @travp624)对此功能的原创实现.
感谢@rascarlo的用户可配置理念.

Reference commits:
参考commits:

CyanogenMod/android_frameworks_base@f258f4479bc5397ad2c4d1ffa07125a036360196 (or http://review.cyanogenmod.org/55645)
CyanogenMod/android_frameworks_base@c0fdfafc8c2d9620172dcfad81f9100e1883e1bb (or http://review.cyanogenmod.org/57257)
rascarlo/android_frameworks_base@59238e59cfecf4620eb59e93753eb2e8d16b3dbc