Frameworks: recents rearrangement recents + fixes

Recents was and is a crap...already from AOSP...whatever
to avoid animation conflicts with the RAM bar it is moved up.
Due a lot user requests the clear recents is not bottom left
Recents container is now reduced and on bottom off ram bar
so that no visual overlap glitch exist any more. As well the
recents scrollview is more stable and now small 1dp glitches like
the original AOSP implementation. Code cleanup
and some code arrangements.

cheers

Change-Id: I3d4d880a6fa41575b2c9a4de06d289551aa5436d
Framework: Fix recents animation bug for all

Sometimes doing some other stuff bring ideas up to solve
problems. Google uses a dirty preload animation hack to
animate recents right....we can do the same just more
generalized.....due that all places (hw keys, navbar, SlimPie
and navring) are calling toggleRecents() I implemented the fix
now there to solve it in general. Due of that this commit
reverts commit 20a905c96c6a897226ad2e5a47c9c6b39a0ef040.
as well

cheers

Change-Id: I48aaa85881d8b177c7223a746bd39925f6826066
Fix: reported disable redundant statusbar information

Current state we introduced with first SlimPIE patch is that
if the user disable statusbar information (clock/date/airplanemodeicon)
that it is always hidden...even if the user set SlimPIE to only on
expanded desktop mode. That is not consistent and some user
wonder why the do not have this information any more in normal mode.

This commit fixes this.....respects also the expanded mode hide
only navbar.....as well a small cleanup from old battery code.
Airplanemodeicon hide I removed from redundant hide information now....
to change that on the fly would need an observer and a bit code rearrange
which does not fit the use compared to the resources we would use then.
Beside that all other icons are as well shown because our PIE does not
show signal strength etc.

Cheers

Change-Id: I53f1fed10a13551e7642e5b00c1d3b88a9622ab0
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
Frameworks: make right pie mirror optional (1/2)

due 70% user feedback the wanted to have the right pie
mirrored on the horizontal axis  because of usability...the other 30% want a visual
logic....so a point to make it optional

default value is mirrored

cheers

Change-Id: I2ecec3c7570abb8d92d0bf3bc788b00035577656
Fix visual glitch rambar

cheers

Change-Id: I82faa372a3923daaa760a1a4f791d937d78b0523
Fix remove framelayout recents background

cheers

Change-Id: Id78ca115c8d3f16ebe0b6f79181dc077567e059a
Revert "LockscreenTargets : Dismiss on target select"

breaks lock before unlock

This reverts commit 5d1ab51f15785cd79bc2ad7a001d51d35fe21471

Change-Id: I2e482276f6e67fad3c602b0cb5d5f1c3c2d0fb56
Frameworks: longpress button PIE color does not change on the fly

forgot to observe this one option

cheers

Change-Id: I80e9896cc298f98f189ae6f96e6710c9a35a718e
camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac
power: Add panel auto-brightness configuration

 * Some panel hardware requires that we twiddle some knobs in sysfs to
   enable proper display calibration (gamma, etc) when auto-brightness
   is enabled. Add a configuration value to handle this.

Change-Id: I3c793c3520fc6f9a18d5a3abf1fe0df803c5e580
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

Conflicts:
	core/res/res/values/config.xml
audio: Add overlay to fix analog docks.

Of particular interest to devices using libhardware_legacy and
affected by commit 5a484b753cc72d6a50c1dd3bbf68b3403c741a3a: http://goo.gl/rVR1Z
which restricted the routing of AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET
to docks using FORCE_ANALOG_DOCK cases. The EXTRA_DOCK_STATE_CAR case is
returning FORCE_BT_CAR_DOCK, preventing the dock audio from routing properly.

Add an overlay option for overriding to FORCE_ANALOG_DOCK.

Change-Id: Ib7d70c242aa6f537ea5d65098ceb2c591662d8bb