Revert "fixed rotaion nav bar size its expensive need to redo"

This reverts commit 94db609810887157958a24823a64be9baebd61dd.
card emulation patch port to JB

Patch Set 2: Added missing @hide statements and rebased

Change-Id: I73fe9aa30830951ea5b9d44e9a9bf83cb720e567
Ported: Bluetooth Message Access Profile (MAP) from CM9

This was added to CM10 to restore message exchange capabilities with automotive systems.

Change-Id: Ib872bebc5c292b1f84c903b068e59b7eeca6d76f
PowerWidget: Make widgets stationary like everything else in the tray

Before patch: widgets move up with the grab bar (and get smashed a bit)
https://dl.dropbox.com/u/1077120/Android/Screenshot_2012-09-13-18-19-39.png

After patch: widgets disappear behind the grab bar, like everything else
https://dl.dropbox.com/u/1077120/Android/Screenshot_2012-09-13-18-23-52.png
Added memory used/free indicator in recents panel for tablet UI

Change-Id: I44ae546ed1235f61c1d93612525872f4b1015b80
Added memory info to phone status bar recent apps

Change-Id: If42e13a77e1f28fb0199ee51ef025aa3f20e1798

Conflicts:
	packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
	packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
Fixed memory info being off by a factor of 2^10

Change-Id: I1ce82ffb982c1a9f26b8283c173b1691ec40817d
Revert "Add hide able kill-all-button to recent switcher"

This reverts commit b51c08167fecb7c4285518907fe6c764a75a3c10.

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
	packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
	packages/SystemUI/res/values/strings.xml
merge fix
merge fixes for ram bar
fix for tabUI do-not-disturb setting against notification-popup

in honeycomb this will kill the nagview, silence the notifications-sounds and transform notification incons into bars (- - - -), which is really silly actually.

this fix will make it kill the nagscreen and thats that. good for all google approved devices because it wont overlay our buttons anymore.

Change-Id: I3a1803a0aad53cba16d33205e6fca3756d1470ab
Framework Base: Allow Mock SMS (1/2)

This change brings the possibility of simulate the reception of SMS on real devices. Fow now,
the only way of simulate the reception of SMS is using the android emulator, but this hasn't have
a CM10 image.

This change adds a MockSmsReceiver inside SMSDispatcher that have a BroadcastReceiver listening
for Intents.MOCK_SMS_RECEIVED_ACTION action. This class accept the SMS simulation if and only if
Settings.Secure.ALLOW_MOCK_SMS is enabled. The application that sends the mock SMS
requires the "android.permission.SEND_MOCK_SMS" permission.

This receiver should be used in the next way:

Intent in = new Intent(Intents.MOCK_SMS_RECEIVED_ACTION);
in.putExtra("scAddr", "+01123456789");
in.putExtra("senderAddr", "+01123456789");
in.putExtra("msg", "This is a mock SMS message.");
sendBroadcast(in);

or

String pdu = "07914151551512f2040B916105551511f100006060605130308A04D4F29C0E";
byte[][] pdus = new byte[1][];
pdus[0] = HexDump.hexStringToByteArray(pdu);
Intent in = new Intent(Intents.MOCK_SMS_RECEIVED_ACTION);
intent.putExtra("pdus", pdus);
sendBroadcast(in);

Patch 2: * Protect the mock SMS BroadcastReceiver with the permission "android.permission.SEND_MOCK_SMS".
           This permission is required for send mock SMSs, in addition to ALLOW_MOCK_SMS system setting.
         * Add result to ordered broadcast requests.
             Activity.RESULT_OK -> Ok. At least one message was sent
             Activity.RESULT_CANCELED -> Error. No messages were sent
Patch 3: English typos
Patch 4: Add Marco Brohet's suggestion

Change-Id: I5322cf748449a863ea8e8deda977108b9b58a413
Implement resolving of icon attributes to resIds in AlertController

Platform code using AlertController directly currently has
no way to set the correct theme-specific dialog icon in a
generic way. This adds code to handle such usage.

Change-Id: I48beafa1183e4edf6d5378b3985a7f9be5fcda8b
Fix automatic brightness

Broken in Iddcbee98f6588bba428c4059e786d946d7ce2298

- Brightness is now handled in handleLightSensorValue instead of
  onSensorChanged, but the previous patch copied the old handling
  code into onSensorChanged in addition to calling handleLightSensorValue.
  This patch integrates the brightness filter change from
  onSensorChanged into handleLightSensorValue.
- onSensorChanged called mHandler.removeCallbacks(mAutoBrightnessTask)
  every time a value is received from the sensor ensuring that the
  task never get ran! (We schedule it 2 seconds into the future
  but receives a value from the sensor every second.)
  This patch removes the call.

(Note: similar to http://review.cyanogenmod.com/11341)

Change-Id: Id3e4f0f02f91f27c7c12cb2e274e0c13213d4774
Fix NavBar ring's center layout on lowered DPIs

Change-Id: Id67c3bb1262544732408d2fa7b80755906f2d9f5
Signed-off-by: sethyx <sethyx@gmail.com>
NavRing: make all icons look the same as the Google Now icon

Changed all the icons to have the same overall look as the Google
Now icon that was there originally

Patch2: made custom app icons look and work the same as the others
Patch3: fixed whitespaces in code
Patch4: fix more whitespaces

Change-Id: Ib2b2db6b3eb3e51d56e062949a27911636f171ef

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_navbar_ime_switcher.png
	packages/SystemUI/res/drawable-hdpi/ic_navbar_ime_switcher_activated.png
	packages/SystemUI/res/drawable-hdpi/ic_navbar_ring_vib_silent.png
	packages/SystemUI/res/drawable-hdpi/ic_navbar_ring_vib_silent_activated.png
	packages/SystemUI/res/drawable-hdpi/ic_navbar_silent.png
	packages/SystemUI/res/drawable-hdpi/ic_navbar_silent_activated.png
	packages/SystemUI/res/drawable-hdpi/ic_navbar_vib.png
	packages/SystemUI/res/drawable-hdpi/ic_navbar_vib_activated.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_ime_switcher.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_ime_switcher_activated.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_ring_vib_silent.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_ring_vib_silent_activated.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_silent.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_silent_activated.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_vib.png
	packages/SystemUI/res/drawable-mdpi/ic_navbar_vib_activated.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_ime_switcher.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_ime_switcher_activated.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_ring_vib_silent.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_ring_vib_silent_activated.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_silent.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_silent_activated.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_vib.png
	packages/SystemUI/res/drawable-xhdpi/ic_navbar_vib_activated.png
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
Lockscreen: add alternative music layout (2/2)

This will add the alternative music layout and adds the option
to toggle between it and the stock layout

PS 2: fix derp
PS 3: fix tablet layout

Change-Id: Idb2485bd7000fc5936ab4019e2a9b77aa8242dfd
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/public.xml

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/public.xml
Add @hide to MOCK_SMS stuff

Change-Id: I3f65cb43052c24f8e4c42a80773fb785c90c038a
frameworks/base: Fix screen stretch issue for NuPlayer

- Fixes screen not moving to full screen after suspend resume during RTSP
  streaming in landscape mode.
- If there is an incorrect height and width, it saves the video height and
  width and then does the correction to have proper width and height.

Change-Id: Icb4b9b71f21d138b85f200dc82a1fbe58342866f
Add the capability to set GC paramter system wide or per app level

Set system wide default value for xhdpi-1024 device.

Change-Id: I2eeaeebdea8e023d1eab15aad9dd53cb3ecec3a1