Port lockscreen info-lines from ICS (1/2)

- Restructured lockscreen layout: keyguard_screen_info.xml contains the informational elements, this should be included on each layout (except in sw600dp)
- Weather: added back text option
- Calendar (upcoming events): added back w/ all of the old features
- Cleaned up lots of code

PS2: Rebased, amended color-switcher functions
PS3: Fix disappearing weather&calendar lines after rotation
PS4: change clock top margin back to 20dip
PS5: add back weatherpanel/text to statusbar
PS6: fix center layout of glowpad if user lowered the factory DPI
PS7: fix center for real
PS8: add back onclicklistener to statusbar weatherpanel (refresh/customapp)
PS9: fix NPE in CalendarEntry (b/c of colors)

I'd say it's ready to merge now.

Change-Id: I43429db7a85d22d41f422c189f0383c1f1143ef9
Weather panel actions

Clock and date short actions were depended on longclick nothing
fixed that...

Current set up is lockscreen weather can only update weather

Moved actions to phonestatusbar so we can apply new actions to the whole
panel and not just the conditions view.

3 options for both long click and short click
1) nothing
2) update weather
3) Custom app

Still need to clean up the old weather panel

Would like to maybe add vibrate or a toast to let user know the
panel is updating.

Change-Id: Ic33df820a74ee2cec54b67ba407f6b5d62020fd0
statusbar network traffic [1/2]

patch set 2:

Added perAppColor support
Cleaned up code and fixed
memory leaks
Added author.

Change-Id: I78c4b6f84553108ce044ea865105afb1c9e9dc28
Code cleanup.

fixed not being able to set default
battery style by using config in device overlay.

Change-Id: I36a519050ef220df37b30ea396fbfa13f39e1c08
Generalize vectorization of Bitmap operation

 * All NEON-capable processors can support this.

Change-Id: I13d448e5864ea804f66cd1bbb93360cb8c0f0806
webkit: Manage video playing state properly when browser goes to background

Issue: Browser App Video streaming not pausing while pressing home Button

Fix : When the Browser goes to the background while the video is playing
      in the fullscreen, the fullscreen mode is exited. While exiting
      the full screen mode the video state is handled properly. So that
      there is no playback in the background.

CRs-Fixed: 509225

Change-Id: I32c306923d2638731d34d216cf006050ce4ad825
Add 2 APIs (suspend and resume) in MediaPlayer

- API:suspend() will just pause the player and release all the decoders
- instead of release the whole player
- API:resume() will just init the decoders again
- Add a check in onVideoEvent()
- to make sure the first seek operation will seek the next i-frame

Change-Id: Ia4716f7fb3a412eb19c6ded9c0f3056d0490546c

Implement the suspend/resume operation in VideoView

- Using the new APIs in Mediaplayer
  to implement the suspend/resume operation in VideoView
- Add a new status "SUSPENDED"

Change-Id: I00f9daa2d34b3b125b8c3b968bc581708ab2cdf4

HTML5 VideoView change to use the new APIs: suspend/resume

- While suspend and resume, using the new APIs in Mediaplayer

Change-Id: I8530b533501607f681145853d7923fdf2009150b
WebViewCore: Fix the issue of wrong zoom density when opening web pages with overview mode disabled.

On JellyBean browser, when pages opened
 with "open pages in overview" disabled and "Default zoom" option set to
 "Far" or "Close", the zoom density is not correct.

 The issue is caused by the wrong scale factor calculated when setup
 viewport. it is fixed to 1.5 in JB. whereas it should be different for
 different "Default zoom" setting.

 This Patch will fix this issue. it set the scale factor to the
 defaultzoomscale calculated considering zoom density. it also add
 adjust process to guarantee the zoom density is right after navigating
 page with specified viewport "target-densitydpi".

 Author: Zang Lin <lin.zang@intel.com>
 Signed-off-by: Jack Ren <jack.ren@intel.com>
 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>

Change-Id: I68dd193457c40ce9eb73635297ce7bb61b373bac
KeyguardViewMediator: Play lock screen sound sooner

When the screen is locked, there is a long pause before the lock
sound actually plays.

This makes that sound happen much sooner.

Also modified Lock.ogg slightly to remove the initial silence.

Change-Id: Iede7a5d22291d1ada98800d2b380c255547df61d
Improve resolver layout in case package name is shown.

Change-Id: Ib2bd0c19727194205b6e4114c34bf96663030d5f
frameworks_base: ES translations

- SystemUI: Restore AOSP strings
- Core: Added percent during low battery (same as default)

Change-Id: I0d0fb1a77a4033dbf0d7d5d174fb16e222826693
SystemUI: modify AOSP EL translations

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I405cd1d6cd8e77141d948510676cce48df5ee339
Core: NL translation

Added percent during low battery (same as AOSP)

Change-Id: I0027d26c015d35b0e7b566efe879d9ee8fb7eed5
AbsListView: add option to disable scrolling cache (1/2)

Ported from gingerbread with logging removed

scrolling cache (discard?) can cause performance lag due to GC
allow user to enable/disable/force scrolling cache on the fly
inspired by AndroidON, http://forum.xda-developers.com/showthread.php?t=1411317

Change-Id: Ibced70a11831c0f188bbc82f3c3cedeeb44ac689