Lock screen weather: Simplified 'no-data' layout & refresh indicator

This commit simplifies the no-data layout of the lock screen weather by
replacing confused Cid, adding "No data" text and hiding the temperatures
on the right.  It also adds a simple "Refreshing" indicator when the user
taps on the weather panel to refresh.

Screenshots:

Change-Id: Ide0bf3134add99ea0b27b90a36f063c37dddb90b
http://dl.dropbox.com/u/50993944/Screenshot_2012-06-02-08-56-36.png
http://dl.dropbox.com/u/50993944/Screenshot_2012-06-02-09-51-47.png
Merge remote branch 'upstream/ics' into ics
frameworks_base_core - Update Italian Translation

Change-Id: Idd4a014f7e8b1ac29595bd29f7560696fdca7674
HDMI: changes to notify audio on hdmi connect.

- When DVI monitor is connected, audio service should not be notified
- remove the redundant changes to check HDCP during boot up
- On connect, check for HDCP/DVI mode and handle audio accordingly

Change-Id: I2af352570eddd4820a9d5ee232f4e2f351c0c524
CRs-fixed: 324931

Update HDMI Notification mechanism and minor cleanup

-- Update HDMI notification mechanism to be based on switch
node, /devices/virtual/switch/hdmi
-- Remove unused SurfaceComposerClient object.
-- Use path /sys/devices/virtual/graphics instead of symlink
/sys/class/graphics
-- Remove support for intents HDMI_CABLE_CONNECTED,
HDMI_CABLE_DISCONNECTED, HDMI_CONNECTED, HDMI_DISCONNECTED.
-- Add support in AudioPolicyManager to handle non HDMI modes.

CRs-fixed: 325697
(cherry picked from commit dd1ef209a42794415b1a06ff947028b26f028fa9)

Change-Id: I07dc58c700b8a2f4c7e086c688e277ce66b3e4c3

HDMIService: Minor fixes in the HDMI Service

- When the cable is connected, set the best mode for HDMI,
  no need to store the current best mode, as this can cause
  issues when a different TV is connected.
- start the HDMIDaemon from the Service, this will help ensure
  HDMI Mirroring works after framework reboot

CRs-fixed: 333941 333497
(cherry picked from commit eb4ade6e6908c49a2e624a71ff1265e14c0b4ec7)

Conflicts:

	services/java/com/android/server/HDMIService.java

Change-Id: Ic87d1703065a284878e7e9c8adac3afb6def56ec

HDMIService: getModeOrder to return order based on resolution

- getModeOrder function used to return order based on the resolution,
  modified that to be based on the best resolution
  This fixes the problem where the HDMI TV used to support 1080p@30Hz
  but still it was picking 1080p@24Hz
- mCurrentMode stores the current display mode on HDMI, reset it when
  the cable is disconnected

(cherry picked from commit 91cb5160ca2b4aaee7cc8c01f6d7162e9c55d67a)

Change-Id: I3efbe385603560330600eab3adeb0da1f1e102aa
input: Add option to toggle pointer icon when using stylus

 * The visible pointer icon when hovering or drawing with the stylus is
   quite annoying when trying to actually draw with it. Turn it off by
   default and add an option to turn it on.

Change-Id: I98b6e1ea929019ef12dbd4b2991c6c96c52cef5c
Add an option to change the device hostname (1/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: I44e4771f4415a32fe66867d4dd90f1ad138341e1
Merge remote branch 'upstream/ics' into ics
Phone: Sprint MWI Quirk: Phantom message wait indicator workaround (2/2)

Part (1/2) http://review.cyanogenmod.com/#/c/13706/

Change-Id: Iec65915475e6b8224b82feec5571f7bbded0545a
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics
Status bar: Make brightness control more responsive

When touching the status bar, screen brightness can be changed after a counter
reaches a threshold. Previously any y-axis movement above a certain velocity
would reset the counter, making it very difficult for the user to smoothly
adjust brightness. With this patch such movements will simply cause the counter
not to increment.

Will need testing to determine whether this makes it too easy to adjust
brightness by mistake.

Change-Id: I3dc9185f0240b58b59dd0b641f96f8cf8e97ed9f
Framework : Lockscreen background customization (1/2)

Allow user to customize lockscreen background (port from cm7)

Part 2 : http://review.cyanogenmod.com/#/c/16914/
Part 3 : Minor edits
Part 4 : Fix crash on tablets. Added nullcheck to ViewGroup Layout
Part 5 : Add missing id to layout
Part 6 : Reordering/renaming of setBackground

Change-Id: I3f904486b8c7bcfcb63f54937810f6ee9c1721ef
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics
Merge remote branch 'upstream/ics' into ics