AOSPA QuickSettings 3.1

* Add sound tile.
* Refresh sleep tile drawables to follow holo style.
* Remove dead code, useless imports.
* Add sleep tile longpress action: open power menu.
* Restore RSSI tile longpress action: open data usage.
* Restore immersive mode dual tile concept:
    Front: Global On/Off
    Back: Full/Hide navigation bar/Hide status bar
* Fix data indicator of RSSI tile.
* Rework behavior of temporary tiles on edit mode.
    Will now disappear during edit and add animation.
* Replace Animator.AnimatorListener with AnimatorListenerAdapter.
* Remove edit mode button flip animation.
* Fix sleep/screen time tile label on clean flash boot.
* Add immersive mode last active state to system variable.
* Replace drag (to lift up tile) with onLongClick in edit mode.
* Refresh dual switch drawables.
* Add new swapTiles transition animation.
* Add better SwitchView effect.

AOSPA 快捷设置面板 3.1

* 添加声音磁贴.
* 换血锁屏磁贴的drawables为holo风.
* 清理代码, 删除无用的import.
* 添加锁屏磁贴长按动作: 打开电源菜单.
* 恢复RSSI磁贴长按动作: 打开数据用量.
* 恢复先前的沉浸模式磁贴概念:
    第一层: 全局沉浸模式开关
    第二层: 三种进阶沉浸模式之间切换.
* 修复RSSI磁贴对蜂窝数据开关状态的显示.
* 返工临时磁贴在编辑模式下的行为:
    在编辑模式中会暂时消失.
* 替换Animator.AnimatorListener为AnimatorListenerAdapter.
* 移除编辑模式按钮的翻转动画.
* 修复锁屏/屏幕延时磁贴在三清刷入时的初始状态显示.
* 将沉浸模式的状态加入系统变量以便在重启设备后能保持原状态.
* 替换编辑模式下的拖动唤醒磁贴为onLongClick长按唤醒磁贴.
* 换血双磁贴切换的drawables.
* 添加新的swapTiles转换动画.
* 添加更好的SwitchView切换效果.

Hats off (again) to AOSPA team for their hard work.
(再次)感谢AOSPA团队付出的努力.

Reference commits:
参考commits:

In Gerrit:
https://gerrit.paranoidandroid.co/3569
https://gerrit.paranoidandroid.co/3593
https://gerrit.paranoidandroid.co/3594
https://gerrit.paranoidandroid.co/3604
https://gerrit.paranoidandroid.co/3645
https://gerrit.paranoidandroid.co/3680
https://gerrit.paranoidandroid.co/3733
https://gerrit.paranoidandroid.co/3738
https://gerrit.paranoidandroid.co/3749
https://gerrit.paranoidandroid.co/3753

In GitHub:
AOSPA/android_frameworks_base@2cf415ca0b64891e5f13243c98d0a7830c8c3dc3
AOSPA/android_frameworks_base@d0a1e2e069701d7cc452dba014e947b65f1ad367
AOSPA/android_frameworks_base@853fb95431dab703f4696ddf920b0bdb14f06a4d
AOSPA/android_frameworks_base@39a54d46be68825774e9a576604989830b4d2ce1
AOSPA/android_frameworks_base@9db9338b02c9b57eb0f7db56feccc5479dfb8613
AOSPA/android_frameworks_base@983911e199e231e9d16a0f642d4ea4bf707327a2
AOSPA/android_frameworks_base@d41b170a02feefef37d435a46588f69679cd1516
AOSPA/android_frameworks_base@53da3625b7ce1b30e7464744fcb7397f3d2fdf3f
AOSPA/android_frameworks_base@7981076e4c96afe483780b28caac952f6520864c
AOSPA/android_frameworks_base@d4b3a53b54aeec740e9b5bab2d917e6009c1aab6
[1/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.

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

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

[2/2] in platform_packages_apps_Settings

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
[1/2] Longpress back button to kill foreground app

Add a checkbox in developer options to kill
foreground app by longpressing back button.

[1/2] 长按返回键杀掉前台应用

添加一个开发者选项的勾选框, 允许长按返回键杀掉前台应用.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod(@Danesh) for the original implementation.

感谢CyanogenMod(@Danesh)对此功能的原创实现.
[1/2] Navigation ring targets customization

Add navigation ring customization that allows up to three
targets on the navigation ring with custom shortcut actions.

[1/2] 个性化导航圈目标

添加个性化导航圈目标: 允许至多三个指向自定义快捷方式的导航圈目标.

[2/2] in platform_packages_apps_Settings

Thanks to AOKP & CyanogenMod for the original implementation.
感谢AOKP & CyanogenMod原创实现此功能.
[1/2] Lockscreen targets customization

Add user configurable lockscreen targets / icons.

[1/2] 个性化锁屏目标

添加用户可配置的锁屏目标/图标.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod(@Danesh) for the original implementation.
感谢CyanogenMod(@Danesh)原创实现此功能.
Allow querying the lowest possible brightness

Used by the auto-brightness adjustment to adjust the sliders.

允许调用尽可能低的亮度

被自动亮度控制用来调整亮度滑块.
Don't adjust volume when vol-downing to vibrate or silent

Pressing vol-down to vibrate or silent would (previously) still adjust the
stream volume, setting the last audible volume to 0, which is not allowed
for voice-capable devices.  Thus, the last audible volume would reset to
default on reboot if on vibrate/silent or the lowest volume setting.

By not adjusting volume when vol-downing to vibrate or silent on
voice-capable devices, the last audible volume is always preserved across
reboot.

当长按音量下至震动或静音时不要调整音量

长按音量下至震动或静音时, (曾经)依然会调整音量至最小值,
而这在可语音通话的设备上是不被允许的. 因此, 在震动/静音
或最小音量的情况下, 在重启后, 会重置至默认音量.

而此项改变可以让长按音量下至震动或静音后, 能在重启时
维持当前音量.
[1/2] LED customization

* Add LED customization.
* Add global and per-app settings.
* Set default LED color as white.
* Remove stock on/off checkbox and add an dedicated category.
* Comment out dead code from display settings.

[1/2] 个性化LED

* 添加LED个性化.
* 添加全局和各个应用的设置.
* 设置默认LED颜色为白色.
* 删除原生开/关勾选框, 并添加一个独立分类.
* 将显示设置中的无用代码加为评论.

[2/2] in platform_packages_apps_Settings

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

Regarding the build:
* Remove all confusing and bloating AudioPackage*.mk but AllAudio.mk.
* Modify generate-all-audio.sh and AllAudio.mk to copy sounds into
    build in a more intuitive PRODUCT_COPY_FILES step.

Regarding the sounds:
* Reorganize all sounds.
* Remove only the ancient and dead ones.
* Use KitKat ui sounds.
* Relocate sounds in /newwavelabs into their proper category
    according to AudioPackage*.mk.
* Remove smaller ones for the duplicates
    as they are expected to have relatively poor quality.

声音大换血

关于编译:
* 删除所有复杂且累赘的AudioPackage*.mk仅保留AllAudio.mk.
* 修改generate-all-audio.sh和AllAudio.mk
    将声音以一个更直观的PRODUCT_COPY_FILES步骤复制进包中.

关于声音:
* 重新整理所有声音.
* 删除过时严重的和不再使用的声音.
* 使用KitKat的ui声音.
* 将newwavelabs目录中的根据AudioPackage*.mk
    中定义的类别分放进各自的目录.
* 删除尺寸较小的重复声音
    因为他们相对音质差一些.
[1/2] User configurable safe headset volume

* Add an user configurable option to
    enable/disable safe headset volume.
* Add restore volumes after boot and when a headset is plugged.

[1/2] 用户可配置的安全耳机音量

* 添加一个用户可配置的选项
    来启用/禁用安全耳机音量.
* 添加耳机插入时, 设备启动后恢复音量.

[2/2] in platform_packages_apps_Settings

Thanks to CyanogenMod for the original implementation.
感谢CyanogenMod原创实现此功能.
Add zh-rCN Translation

【SystemUI strings】Add Chinese Simplified Translation ------噱·头
Rename biantai_strings to biantai_strings.xml
Add zh-rCN Translation

【framework-res strings】Add Chinese Simplified Translation ------噱·头
Rename biantai_strings to biantai_strings.xml
Two-line layout for status bar date

通知栏日期双行样式
Add a standalone file manager

Add a standalone mode to the DocumentsUI
to let it act as a file manager/explorer.

添加独立文件管理器

添加DocumentsUI的独立模式,
从而让他像一个普通的文件管理器一样运行.