FW : Bring Scrollable toggles back

ps 1:  Implements scrolling toggles.
	We might need to play with the spacing/padding
	but it apears to work
ps 2:  Apply some padding/dimens to the scrollable toggles
	bring background for tile into the traditional/
       scrollable toggles as well.

Change-Id: Ie9b9146f1d8d4e902f3f3b5660f511585ea7c895
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
add option to daydream on wireless charger (1/2)

Change-Id: Id2773a0ff6e2631ae67d1a61ca8155a55404e383
Signed-off-by: Roman Birg <romanbirg@gmail.com>
FW: Lockscreen rework WIP

The frameworks side of trhese rework is basiclly adding
Lockscreen targets and removing unneeded and used variable left
in by google.

Patchset 2: fixed landscape issues with phones

Patchset 3: Added null check for uninstalled apps.
            Add some logic for padding if the 6-8 targets are used.

Patchset 4: Removed option for long press challange unlock, I dont think
            this need to be an option it should just be default.

Patchset 5: Fix rings around targets.

Patchset 6/7: Fix big empty icons in the rc ui.
            Fix layout for 6-8 targets again...

Change-Id: Ic9a4b4f85c674dc9d4097541d447723e2dd47956

Conflicts:
	core/res/res/drawable-hdpi/ic_lockscreen_target_activated.png
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSelectorView.java
Revert "FW: Status Bar Hide toggle (1/2)"

This reverts commit ee404be789493b306b23cadc072536f5e7d6be94.

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I66463d5589b94727666166c0c04451dec193d843
FW: Status Bar Hide toggle (1/3)

Adds new statusbar toggle into power menu navbar control.
Tested on maguro.

Patch-set 4: Reverted selected button logic
Patch-set 5: Reverted of reverted :)
Patch-set 6: Added czech translation and RC part
Patch-set 7: Added quicksettings tile and shortcut intent
Patch-set 8: Fixed build errors
Patch-set 10: Some czech translations
Patch-set 11: New icons, changed variable names, fixed show logic
Patch-set 12: Rebase
Patch-set 13: Removed previusly added czech translation of other words
Patch-set 14: Resolved conflicts
Patch-set 15: Finaly reversed active icon in power menu. Move some code due to conflicts
Patch-set 16: Rest of new icons
Patch-set 17: Fixed conflicts
Patch-set 18: Completly rewrite of toggle
Patch-set 19: Reversed toggle active state
Patch-Set 20: Re-do NavBar Toggle in Power Dialog to match
              existing StatusBar Toggle
Patch-Set 21:  Derp - forgot to add drawables
Patch-Set 23: Removed navbar text size dependance

Change-Id: Iafdbac9fb5830762c12ac0d9a6569723f39a64de
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
FW : Rework NavBar UI in ROMControl.

This turned out to be a little more in depth than I planned.
Decided to do some integration with AwesomeAction while
overhauling the UI.  This required adding some methods to
AwesomeConstants so that we can get the list of actions and
their 'ProperNames'  from a single object.

ToDo:  Do a similar move of objects/names for the icons.
   This will allow a single copy of each icon rather than
two like now.

Themers and Translaters are gonna be pissed when this is done.

PS2:  Created a method to return the Drawable/Icon associated
with a given action.  I've imported the XHDPI icons only at this
time (so non-xhdpi test builds will not work!)
Also, some of our 'actions' didn't have associated icons so I
copied a few from other areas.  They will need to be looked at
for 'appropriateness'.

ps3:  Moved NavBarHelpers into frameworks.  Copied over the rest
of the DPI icons (Resized quite a few too) - the images still need
review/updating to be more holified, but they will work as is.
Todo: started a way to subract subsets of Actions for the appropriate
function (ie, NavBar might not need access to *all* Actions.  I didn't
implement yet as I need a clever/clean way to subtract Array sets.

ps4:  Had to remove a few references to moved icons in SystemUI

ps5: Moved Icons back to SystemUI made a SystemUIResource getter method.
     Made navring use navbar icons.

ps6: update a few icons - thanks to Nitroz

Change-Id: Ia58f25f600fb92b70a4658e16a512e9a9ea8430f
Sleep Toggle

Pressing toggle will turn off screen.

Change-Id: If4052e81bce30b98fb723ed2c6d954598252fea5
FW : Fix  Tablet Layout (Clock & Notification)

When Center clock was chosen as an RC option, the clock would
dissapear from the StatusBar and Notification curtain in tablet
mode.  Also StatusBar notification icons were not aligned with
clock & signal icons.

This fixes both of those issues.

Change-Id: I8ce79314c42b322f4e13c102815131c400c562c2
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Updated Japanese translations

- Add missing entries

Change-Id: Ie481c102f3a688ae6fd73d086f0e6a08cb1085df
Signed-off-by: rdgate <rdgate@gmail.com>
FW: Updated czech translation

Change-Id: I21ccd7c37eaf87d0a2022c603faae620beab6f74
Signed-off-by: kecinzer <kecinzer@gmail.com>
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
merge derp

Change-Id: I6e08815cc5024a12348f4924701aec35b71681ca
[HTML5] Implementation of WebSockets (framework).

Added binding to android port for Html5 WebSockets.
Added external API for enabling\disabling from browser.
SSL Web Sockets are not implemented in the current version.

Change-Id: I8b7a42780410cb9f043e1f16570ea50db68e00ea
Fix resource leak: When call MediaMetadataRetriever.setDataSource or getFrameAtTime should ensure call release in finally to avoid resource leak
                   Patch set 2: Remove unnecessary white spaces

Change-Id: I49a7f2fb99dc8b9560e7c17421125356e45a87ac
Two REMOVE_PROVIDER messages caused by race condition.

Fix a bug in unstable ContentProvider.
IllegalStateException: ref counts can't go to zero here: stable=0 unstable=0
IllegalStateException: unstable count < 0: -1

There is a race between main thread and background database thread. Main thread
is responsible for handling the REMOVE_PROVIDER message. Database thread starts
insert or query request again and again. acquireProvider in db thread will often
snatch provider from the jaws of death, sometime it fails to remove REMOVE_PROVIDER
which is already fired out from MessageQueue. But completeRemoveProvider in main
thread gets suspended when trying to execute the critical section. If db thread
released the provider before main thread resumes the execution, then two
REMOVE_PROVIDER messages will be executed.

Change-Id: I8588aa1d1a8bc444dcd2adf6f8bc3f055cebbdc4
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Fix spurious ANR occurence when MOTION batch event is not served by the InputTransporter

Sometimes Batch event of MOTION type is not processed by the Input Transporter
even though it is queued to the waitQueue-Responsible for ANR whenever any event
response does not come from the App. To fix this issue, one Boolean lock is added.
Thus InputTransporter wont ignore the Batch event.
Issue: https://code.google.com/p/android/issues/detail?id=41755

Change-Id: I3bb2eb4cf1f8ecdd1d04671c0e8205dee4ad3a6c