Add missing nav bar code.
Lockscreen: Quick unlock (Part2/2)

Change-Id: I9cdd6ef4c5f59fad5b7f330815fe28a79d9b9862
Add lockscreen rotate and custom locksceen text color.
Lockscreen Targets: Icon Revamp

Adjust the size of custom app icons and resize and round the corners
of gallery icons for a more uniform look.

Before http://imgur.com/cTOqdwX

After http://imgur.com/EKAeFiw

Change-Id: Ibcca275eb0ae946775773a8c8217b6508da10e5b
bootanimation: performance/speedup enhancements (squashed from CM10)

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

Conflicts:

	cmds/bootanimation/BootAnimation.cpp

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.

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b

Conflicts:
	cmds/bootanimation/BootAnimation.cpp
Lockscreen : Quick unlock (Part 2/2)

Unlock password/pin lockscreen without pressing enter button

Patchset 2 : Remove unecessary intialization

Change-Id: Iecb5ed52ef28234f6adad813906dc885296a157c

Quick unlock : Fix bug

There is an issue where users whose passwords are greater than 8 chars and
have quick unlock enabled will be unable to unlock their lockscreen.
This is due to the logic evaluating anything beyond 3chars as a password attempt.

This change modifies the quick unlock behavior so that when typing the password,
each character is considered an attempt, however if incorrect, is not reported as a failed attempt.
Only when the user presses enter is it considered an "explicit" attempt and a failed attempt is reported.

Patchset 2 : Rename runnable to better reflect its purpose
Patchset 3 : Switch to new behavior
Patchset 4 : Fix padding

Menu unlock (frameworks part)

    	The option in Settings/Security/Lockscreen was
    	added before in some CM commit, but not working
    	and was missing a proper frameworks part

Patchet 3: Done like master Danesh M wanted

p2: Remove menu unlock option
p3: Remove further menu unlock left over code

-----------------

Forward port to AOKP JB-MR1

PS2: allow quick unlock only for PIN and Password Keyguard
     and not for SIM PIN/PUK
PS3: remove tabs to put a smile on KhasMeks face

Change-Id: I359f06055400a716e8b999ca8272476a7c1f5781
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardAbsKeyInputView.java
Add lockscreen text color and auto rotate.
Port Dotted Circle Battery (1/2)

Fixed the tabs hopefully

Patchset 4
- fixed last tabs

Change-Id: I842929b74116cadbfbbbbf221c9cccc0dc885838
[Framework] Add custom circle battery options

new slim feature

- custom circle color
- custom circle text color
- custom animation speed
- compatibel to all themes from theme engine
- option to reset it to theme behaviour

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: New battery style and changes (1/2)

after a lot user requests cause of only percentage battery icon
I integrated it with some changes

- add only percentage batter icon
- add dotted circle without percentage
- abbility to colorize all percentage texts on all battery icons
- changed reset logic (slimer)
- respect theme engine
- code clean up and optimzing as usual

cheers

Change-Id: I79bac44e779d303735aad83de0c60bcc67c6c3d2

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: Respect google on lower 14% battery

due that google guidelines say that battery icons should turn under a level
of 14% into red....percentage text (on percentage and percentage with icon) turns
now also red

Change-Id: I1808c40742bbf63227c27c6df7a8e05b9206fb0c
Fix percentage and percantage with icon stays red <= 14%

Change-Id: I183f38e14f33b38adf64e506d48debaa3e151b26
[Framework] Port BatteryBar (2/2)

- Adds Battery bar with following features
- location set
- color
- aligment
- thickness
- animation

- dynamic slim settings

Change-Id: Iacb3e38505b0ab30bb3f9df54231aeb2c79c20f1

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Prefs.java

Minor fix.
Merge branch 'jb2' of git://github.com/CarbonDev/android_frameworks_base into jb2-PIE

Conflicts:
	packages/SystemUI/res/layout-sw600dp/navigation_bar.xml