Frameworks/base: FR translation

PS2-7: rebase and add new translation

Change-Id: I0a268fe4b5c23b3d73936f077cbff4b1acb95c1e
bootanimation: performance/speedup enhancements

squashed from CyanogenMod 10

bootanim: Don't cache textures if they're expected to use a lot of VRAM (rmcc)
https://github.com/CyanogenMod/android_frameworks_base/commit/14f9eecd3f543a25c4a2053d6155a9396a777a3a#cmds/bootanimation

bootanimation: performance enhancements (turl)
https://github.com/CyanogenMod/android_frameworks_base/commit/e6b54405aa70d7503a114d9c90ef7518abdd7133#cmds/bootanimation

bootanimation: fix usage of LOGW (intervigilium)
https://github.com/CyanogenMod/android_frameworks_base/commit/e45cf7d232490f44aecf8f2447220a8b5ace4c10#cmds/bootanimation

bootanimation: allow using RGB565 instead of ARGB8888 (tpruvot)
https://github.com/CyanogenMod/android_frameworks_base/commit/204282870a9c69b04ad5ddecd73fafbd7996cbc0#cmds/bootanimation

Change-Id: I203fa23f77d1349fb822a7662e2cd3998ba4c814

bootanim: Don't cache textures if they're expected to use a lot of VRAM

bootanimation cached all the textures generated until the animation
was completed.
For Hi-res animations with lots of frames (like the new CM9 anim on
xhdpi devices), this implied using large amounts of video RAM, more
than most devices actually have available, causing the animation to
stall (and in some cases, gralloc to lock up); so if an animation is
expected to use a lot of RAM (rough estimation based on frame size
and number of frames), disable cache entirely and generate the textures
on demand

Change-Id: I157e5cdde2aab1d82d980d77cbedd9f127c83a1d

bootanimation: performance enhancements

This patch implements two simple performance enhancements, which
might benefit devices. They are completely opt-in by setting
the following variables.

  * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation
    zip to memory; this is handy on devices where the storage
    might be slow. By preloading it, we get quick access to the
    zip file, and the animation doesn't stutter.

  * TARGET_BOOTANIMATION_TEXTURE_CACHE: allows maintainers to
    force texture cache on/off.

Also fixes the sign warnings related to int / size_t comparison

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5

Conflicts:

	cmds/bootanimation/BootAnimation.cpp

bootanimation: fix usage of LOGW

Change-Id: I1d59df9f44f414d80058a532644cbbb40e22c701

bootanimation: allow using RGB565 instead of ARGB8888

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b
Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
Merge "Correct executable bit for source files" into android-4.4
[1/2] Base: fix ActiveDisplay for WifiOnly Devices

fix http://jira.omnirom.org/browse/OMNI-637
also fix for devices with unsupported Proximity sensor and Light sensor

Change-Id: I346d4ed0ca02c6f8a6da1f3bf1de59ac9179d7b7
Merge "bootanimation: performance/speedup enhancements" into android-4.4
Merge "[1/2] Base: fix ActiveDisplay for WifiOnly Devices" into android-4.4
Merge "Frameworks/base: FR translation" into android-4.4
[1/2] Base: Speed up booting on multicore devices

- Add multithreading support to Installer/installd
- Parallelize package scanning
- Parallelize boot dexopt

Change-Id: Ia6b815bde0e5cdf996fdfdec3ba228bcde9e4e0b
Base: fix Clock showing on lockscreen after reboot

how to reproduce

try enable center clock, and then reboot, you will see, clock is showing on lockscreen, and need to lock/unlock to hide again

user will not report this issue until they enabled center clock, and watch device reboot

Change-Id: I1a038bb258ad03bacfa4b528c2acbb030ab8b024
[1/2] Keyguard: Fix Pin-Layout on Galaxy Tab 2

Fix a long standing lockscreen layout problem that was introduced in 4.2
e.g. on P3100 and P5100

Before: http://i.imgur.com/NETsfBy.png
After: http://i.imgur.com/8ghV2aG.png

Original commit: review.cyanogenmod.org/#/c/57557

Change-Id: Ia3cdc0d10217a0a2504a7287f480d9f036e66eee
base: fix volume default settings for wifi only devices

http://jira.omnirom.org/browse/OMNI-661

Change-Id: I23081d99291d88ee33484fca87eb0f530b7d6cfe
base; added natiional roaming for Simyo in Spain

http://jira.omnirom.org/browse/OMNI-655

Users of Simyo (MCC 214 MNC 19) can roam on Orange (MNC03)

Change-Id: I39b0a3b933ad5a24c82ef33715bc0507c482574b
[1/2] Base: Option to enable Notification Light when screen is on

This makes it possible to let the Notification LED flash even when the screen is on

Change-Id: I58be9646cdc84d4765342a5ab45b4641c3d5daba
Base: fix statusbar brightness control gesture

see http://jira.omnirom.org/browse/OMNI-631

Change-Id: Ic4001fb0fc6b7e1fe813d74104e42f7d91351d1a
Base: Correct MV to mV on QS back battery tile

Change-Id: I835f28b432570ea14775f93030599cf8731e9b76
Merge "[1/2] Base: Speed up booting on multicore devices" into android-4.4
[1/2] Base: more improve Active Display

1. fix http://jira.omnirom.org/browse/OMNI-651
2. fix http://jira.omnirom.org/browse/OMNI-641
3. add http://jira.omnirom.org/browse/OMNI-652
4. Add option Double tap to sleep every where
5. Add option to show wallpaper blur behind active display
6. Allow to show numbers of notification on Handle (only show if notification count is enabled in bar settings)
7. minor improvements
8. add battery circle around handle (only show if battery circle around lockscreen handle enabled, see security settings)
9. fix http://jira.omnirom.org/browse/OMNI-665
10. fix whitespace

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I1b28041c0245de80b7d09c684f6439b2f8f5bd40
Base: fix SystemUI because ActiveDisplay

fix http://jira.omnirom.org/browse/OMNI-708
fix http://paste.omnirom.org/view/e7039c0b
fix http://paste.omnirom.org/view/6977cb45

Change-Id: Id6688c721bd262df7824183a14fcd0aab145517e
MountService: Add support for multiple storage configurations

Currently AOSP only supports a single storage configuration that is hardcoded
in storage_list.xml. Some device updates are now merging data and internal
storage partitions, and as a result require the storage list to support two
different variations.

By utilizing the sys.storage_legacy property this will allow for the framework
to support multiple configurations which can be determined during boot.

Change-Id: Id795520425ea3e99a5234e10c978dcdbd68a1311