sensors: Add dummy light sensor

Some devices have a sysfs toggle for the lightsensor instead of
passing the LUX values for userspace processing; for those,
use BOARD_SYSFS_LIGHT_SENSOR:=<sysfs path>

This is necessary for the rest of userspace to recognize its existence
and toggle it for auto-brightness. It doesn't generate actual light
values, though; all backlight adjustments are made in-kernel.

Change-Id: I0e546b4740720bd34d1e1d85a96b295fcc697106
Merge "sensors: Add dummy light sensor" into jellybean
Triggering EarlySuspend based on BackLight brightness

EarlySuspend is triggered currently based on just timeout. Due to this,
backlight brightness is not coming down to zero.

Change-Id: If89ec6650308109630dbb7ee1be0b96df4ed3534
CRs-Fixed: 381087

Allowing display turning off animation before Early suspend.

This change passes display turning off information to
animation call so that display off animation can be played
before early suspend call.
Reverted two and three changes in the below list with this patch.
Changes introduced in previous patch were:
1.Send early suspend call after display baclklight off
2.All animations off once display goes to dim.
3.Removed duration to turn off screen as i don't see this in ICS.

Change-Id: Id411fe2c4d4fd219fc198405d6c2f221a87874ff
[webkit] Runtime enablement of WebGL

Hook up debug setting to enable/disable WebGL.

Change-Id: I46790e61471a76eb5a8d8ff552022e12c3782204
net: customize memory cache size

Change-Id: I2b7cc83707a567676550be2639095c5bb28dc6dc
webkit: Multimedia feature port from ICS

- Multi-context HTML5 video support
- Smooth inline to fullscreen video transition
- Support for autoplay, muted, loop, preload attributes
- Support for web pages with more than one audio element
- Support for HTTP live streaming

Change-Id: I82b01295da4663437d5c35eb45d145b243ecc9f1

webkit: HTML5 video user experience and stability fixes

- Fix HTML5 video unable to resume from navigation history
- Fix occasional crash when reloading page from history
- Show last decoded frame of streaming video when buffering
- Fix incorrect fullscreen video position during orientation change
- Replace HTML5VideoView resetted state with released state
- Remove unneeded videoLayerId in HTML5VideoView
- Resume from last played position after video suspend
- Call MediaController::show() during HTML5VideoView play and pause
  to update fullscreen MediaController state

Change-Id: I82f1255225b2ee6cc95f70e40017d562e5e635c6

webkit: Fix black screen shown during webkit exitFullscreen

Notify WebChromeClient to hide custom view during exit fullscreen.

CRs-fixed: 387484

Change-Id: If67cc000991d9fa0696692ce3982e0a04499e343
Remove opaque check in GLRenderer when preparing dirty region.

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new process. This prevents
garbage to be present from the previous process in the color buffer

Change-Id: Id9aa90c5008ffa08d6a27a568fc205538db680b8
frameworks/base: fixes for tile rendering issues

1)fixes invalid operation issue on start tiling
2)twitter balckbox, graybox issues
3)miscellaneous corruption issues

CRs-Fixed: 387801

Change-Id: I5e63b2fb751e6973cc6f86437cb7066db4fe95d4
Revert "hwui: Disable QCOM tile renderer by default"

 * Addition of the two ICS patches fixes tile rendering.

This reverts commit 1da2f48ae0b48fc6462bcccb3832475afb257f69.

Change-Id: I5abf3e81e2c81d23d2e02282ccf006639a94b55f
Revert "Triggering EarlySuspend based on BackLight brightness"

This reverts commit 7993d74083045d7fc10adcecd60db96779311983.
Revert "[webkit] Fix TILER memory leaks on HTML5 pages"

This reverts commit 690b964c5dc29608b336b2464ba123bcef9d9edf.
Merge branch 'jellybean' of git://github.com/CyanogenMod/android_frameworks_base into jellybean-3way