Rework thumbnail handling

Since ids of media file are usually not continuous, the original file of thumbnail are
sparse. When there are big numbers files on ex\
ternal storage, the size of this file will be horrible.
Ex, when the id is 20000, then the .thumbnails/.thumbdata3-xx file will be 50000*10k = 488.28M.
Can refer http://stackoverflow.com/questions/12396715/android-huge-thumbdata4-file-in-dcim-folder
Because after 4.0, MediaProvider will scan any files, this will be a big problem. So I modify MiniThumbFile.java to avoid this.
According to the id, we now produce an index file. In this index file, one id will use BYTES_PER_MINTHUMB_INDEX(8) bytes in offset (i\
d+1)*BYTES_PER_MINTHUMB_INDEX. The data of these 8 bytes is the index of thumbnail file. The first BYTES_PER_MINTHUMB_INDEX bytes kee\
p next available index. And when you need insert a thumbnail, the index increase by 1. In this way, the block data in thumbnail file \
will be continuous. And thus unnecessary zero paddings will not be saved.

Change-Id: I66005dd69b0a5c8f4353bd7a8225d163a654fd2d
Frameworks/base: move custom string in cm_strings.xml file

Change-Id: I1ae0add981ed72a89e64b687210647d69a09ea3e
DockAudio: Route audio via dock for Samsung devices

This patch simply removes the audio routing checks for Samsung
devices and routes audio via the dock when the mobile is docked.

There is no option to disable audio routing out through the dock

Change-Id: Ie3f99101b051326913d06f1c78894d50035f6e62
SystemUI: Fix missing top task in recent panel.

If preloadRecentTasksList was not called or was called too
late and RecentsActivty already started and last top activity has
excludeFromRecents flag setted it might be missing
from recent application list.

Change-Id: Idf7153824805ceea9fcaf04ac645b73a5e93a4d9
SystemUI: Fix wrong behavior of recents pie.

Call preloadRecentTasksList when user moves over
recents pie.

Change-Id: Ic62343cb6ae9c5ab8bb90bf6eca4fb2d13493cac
SystemUI: Fix recent animation coordinates in expanded desktop mode.

Change-Id: I2685dc1c23d709f0eb708f78243ebd8d053003a6
When wifi wants ASCII lowercasing, it needs to ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: Ibf25d0bbc76015cf8353ec01ab2b743cbc2bde67

Conflicts:

	wifi/java/android/net/wifi/WifiStateMachine.java

If frameworks wants ASCII casing, it should explicity ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: Iaab02e718a7be7bda22e626dca05d79bfd2a8fc4

If graphics wants ASCII lowercasing, it needs to ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: I13c106985302335dbb15bb9176d35ec6b4546d4e

If media wants ASCII lowercasing, it needs to ask for it.

http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html

Use toLowerCase(Locale.ROOT) if you want ASCII for machine consumption,
and use toLowerCase(Locale.getDefault()) if you want the user's locale's
casing rules for human consumption.

Bug: https://code.google.com/p/android/issues/detail?id=58359
Change-Id: Id9005a17e34217a81bef3b40031b9e2e6272f45d
Frameworks/base: FR translation

-PS1: add new translations
-PS2=>5: rebase and corrections

Change-Id: I1d9691ceb1a1a2aff6631a1f7b90c33d411d999a
SystemUI: Add missing recycle calls (fix lint warning)

Change-Id: Ic3462ceb8d85e4ec2aee833d4327c4b81f5eac5a
Use scaled font size for no recent apps text

Change-Id: Ib200928db09bcdd6661de5e450e2fc9c1b5566cf
Frameworks_base: PT-BR update translations

Change-Id: I22993d3437e3d654d8656e09ae2e798f09f35c68
PackageManager: allow build-time disabling of components

Allow components to be specified as disabled at build time
(applied on boot).

This allows stock OTA components to be marked as disabled in
CM builds.

Change-Id: I6e4499cc40a779792a5ea97a10137399dad7d69f
QS: Unlock screen when tap profile tile

Change-Id: Ie6d343bffd41c268e46a714b301338fc6bbba32d
JIRA: CYAN-1888
Issue: https://jira.cyanogenmod.org/browse/CYAN-1888
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "QS: Unlock screen when tap profile tile" into cm-10.2
Merge "Frameworks/base: move custom string in cm_strings.xml file" into cm-10.2
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2-mods
SystemUI: Fix translatable [translation]

Change-Id: I407e9ea2525ec8ba8570cb4edbd190f4076df4e5
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2-mods
Merge "SystemUI: Fix recent animation coordinates in expanded desktop mode." into cm-10.2
Merge "SystemUI: Fix missing top task in recent panel." into cm-10.2