fix padding for stock icons in nav bar
Signed-off-by: AK <apkellar@gmail.com>

Change-Id: I6bcb931e89e7bbfa1239a0b9f4162eb7a39f7203
SystemUI: fix data toggle

- required double tap to work previously

- also changed the long press intent to open
    network settings instead of general wireless
    settings, as it is more appropriate for this
    toggle

Change-Id: I808bd886e11de217cee1a37193ac1ff529856468
samsung: add support for tvout and yamahaplayer services
libmedia: renamed cflag for samsungs isSeparatedStream()

also needed on non-yamaha sound phones
BOARD_USE_YAMAHAPLAYER -> BOARD_USE_SAMSUNG_SEPARATEDSTREAM
Fix setPreferedNetworkType when mobile data is connected

Change-Id: Id251441ae40a60f43464e0298aa3361fc4f22e42
Lockscreen clean up octo layout

Since We reduced the icon sizes we can now drop the carrier text back down,
so it doesn't look so awkward.

Pics
http://dl.dropbox.com/u/31932935/Screenshot_2012-06-01-08-23-42.png
http://dl.dropbox.com/u/31932935/Screenshot_2012-06-01-08-23-56.png
http://dl.dropbox.com/u/31932935/Screenshot_2012-06-01-08-24-18.png

Change-Id: Id48720f5230b94f26f87e8fa0a93b6796f8a2538
surfaceflinger: add back lost QCOM_HARDWARE changes to Layer::onDraw

Prefer EXTERNAL_OES over 2D for protected Layers
These changes were present before removing the "texture target
 based on pixel format" stuff but were lost during the revert

Change-Id: I2d6cc1c9469d95690ee1c948cb73979fbbfb1632
SurfaceFlinger: Set the transform value correctly

When using the transform value, read only last 4 bits
of it regarding the change of
transform value in Layer::setGeometry().

Change-Id: Icdb2c9d8c283867a273e9633a7a563516f6af637
Depends-on: 120066
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
Revert "Wi-Fi: Handle disconnect in middle of DHCP operation"

This reverts commit 1d3fcfe3285344784a552f15d897a6925b207596.
libstagefright: LPAPlayer: Fix choppy playback on BT.

-Music playback on BT A2DP device is choppy/glitchy
-Decoder thread hogs the CPU this starves A2DP thread from data.
-Fix is to use small buffer(64k) only in the case of A2DP playback.

CRs-Fixed: 33353851
(cherry picked from commit e64bb36f81b22c93d3af156451b1236966c99ea4)

Conflicts:

	media/libstagefright/LPAPlayer.cpp

Change-Id: I2e9450a2be6f9e79e68d525d2119d33154d132b7
SurfaceTextureClient : Reset buffer size to 0 after setting geometry

Buffer size has to be reset to 0 after setting geometry , otherwise
the new request may get the buffer with wrong size.

CRs-Fixed: 337041
(cherry picked from commit 9b3ebedad4f53b7348135dac827392a39b01f69f)

Change-Id: Id9afe01c80912d3245c2f37ddac51f550c896dce
Merge "libstagefright: LPAPlayer: Fix choppy playback on BT." into ics
Merge "SurfaceTextureClient : Reset buffer size to 0 after setting geometry" into ics
surfaceflinger: Fix top-bottom UI composition with S3D.

-Fix the scissor computation for top and bottom frame in S3D.
-Fix the artifacts seen in top-bottom case by clearing the
 color buffer with scissor applied.

CRs-fixed: 346986
(cherry picked from commit 241b5b6b41fa4e1b2eca3565fd27b454a6aff262)

Change-Id: I8fb98007f67351009762c4494e260142b998ddb5
Revert "libhwui: Correct transform used for drawing text-shadow."

This reverts commit 5e30781aba176787e3abc50c79c35fbba6a1deeb.
FileInputStream is not closed in "UserManager.java : readUserList()"

Change-Id: I50f54c70c8b6bc808fa59ce589b0480780cc811b
String on Toast notification does not aligned to center

If length of the string being showed on Toast is short (less than 8 chars),
it is aligned to left rather than to center.
Added attribute android:layout_gravity="center_horizontal" on the TextView where Toast's message are shown to fix issue.

Change-Id: I77669fd8a11d1ec8f6b082348eb818671ce158bb
Signed-off-by: Taeho Kim <jyte82@gmail.com>
SurfaceFlinger: Set the transform value correctly

When using the transform value, read only last 4 bits
of it regarding the change of
transform value in Layer::setGeometry().

Change-Id: Icdb2c9d8c283867a273e9633a7a563516f6af637
Depends-on: 120066
camera: Add parameters for HTC msm8960

Enable with QCOM_HARDWARE.
Add MIN_SATURATION, MIN_SHARPNESS, MIN_CONTRAST, CONTI_BURST modes.

Change-Id: Ia744e32620629967e1fc17fa4c3c08016bdaa370