Lockscreen: respect global vibrate settings on longpress unlock

Change-Id: I5fd868b89236f1a3ca09d5f79530d841121516d0
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Add support for HW Rotation Lock

Forward ported from jellybean

Change-Id: I75fb9fa33541eb6acedd62a67e74977b36768390
Fix alt layout icon for H Data

thanks to AirOne70 for the heads up/fix

Change-Id: I4b881e3360477f92396c17a9b5efc489bf4ea500
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Audioservice: fix A2dp support on Samsung's Audio Policy HAL.

Samsung's audio policy HAL doesn't handle A2DP delay commands
correctly which was merged in JB.
Adds a nodelaya2dp config option.

Change-Id: I188c6e59fdf1b30bef41d8e1aa84ac5319f3bcc3
Merge "Lockscreen: respect global vibrate settings on longpress unlock" into jb-mr1
Fix spelling derp

Togle is now Toggle

Change-Id: I2ea69d49b60a1d51b2ed1a48841b79169ddd7a79
Signed-off-by: task650 <task650@gmail.com>
Merge "Fix alt layout icon for H Data" into jb-mr1
FW - User select Tablet Mode [2/2]

Allows user to set UI to one of three modes:

Phone/Tablet/Phablet.

Needs RC commit as well.

Patch 2:  Still having lots of resource issues.  I am just uploading
	this to get a good diff look at what's changed in TabletStatusBar.

Patch3:  Cleanup

Patch 4:  This one at least boots and enables the tablet bar.
	there is a lot of work still to be done to enable the quick
	settings panel, etc.
patch 5:  Implemented the Quick Settings framework.  Haven't tested yet
	(Well, it compiled) - just posting in case I get busy again,
	at least someone can take off where I've stopped.
patch 6: Fix Setting/Notification toggle.

patch 7: Tweak layouts - fix battery/clock

patch 8: Shift Tablet NavRing to left corner

patch 9: add drawables needed for patch 8

patch 10: fix more layouts - various modes now working well

patch 11: Should fix the rest of the notification issues on Tablet mode

patch 12: Fix lockscreen navring and add option to hide compat mode button

patch 13: Re-vamp Notification Title Layout clock/date & buttons layout better
	  Notif Panel goes to Settings if no Clearable Notifications.
	  System Bar responds to NavBar size changes in both land/port
	  Date/Clock actions working

patch 14: Move resources out of sw600/sw720 into "regular" bins. This is
	  needed for dealing with Tablet Mode on phones (< 600dp).

patch 15: Pull in Steve's Sliding Navbar width adjutments.
	  also move a few margins into @dimens.  This will need to be
	  changed on a per device/overlay basis.

patch 16: Fix AokpTarget class into AwesomeAction

patch 17: Move many layout dimens to @dimens files
	  this allows adjustment/tuning of layouts on a per device
          basis.  Most devices will need to override the dimens.

Change-Id: Ia8d8a7ecaaca232587a54c9f7674936de7b05bda
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Remove BigMenu Logic

When BigMenu exists, NavBar assumes you want 'DONT_SHOW' for
left/right little menus.  This had spacing implications for users
that used BigMenu, but few buttons :
http://rootzwiki.com/topic/38274-menu-button-in-navbar/

removing this had little implication on the NavBar itself, but
did force some re-working of the MenuArrowKeys.

Change-Id: I6946d85d2e0a6db26b937a9ced9643c6a2a1ae83
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
SystemUI: respect global vibrate settings in the statusbar

Change-Id: I6df0fe2c6eb00a625e4c0aff6d0c8743979de966
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Lockscreen: Add timeout and instant lock option to slide lock (2/2)

  This adds AOSP's new timeout and instant lock options to the
  slide (aka chooser) style lockscreen.

Change-Id: I64b5f53a4e6c4098640b2c0cb3af2a56d6df019f
LastApp Toggle [1/2]

Creates an action useable by NavBar & NavRing to toggle
between most recent apps.  Will try to ignore the launcher
when possible.  ie, if you've just rebooted and have not opened any
apps, it will do nothing.  if you open 1 app, it will toggle between
that 1 app and the launcher.  Once two apps have been opened, it will
toggle between those two apps.
It's kind of like opening recents and hitting your #2 slot repeatedly

PS 2:  Add Icons from Hoolm.  {Thanks!}
       Re-wrote the logic for selecting next app.  Rather than
toggling back to launcher if only 1 app open, it does nothing.
toggling only occurs now when there are at least two apps open.
One issue that I still need to work out is that 'Recents' is somehow
showing up as a valid target to toggle to.  It shouldn't.

ps 3:  getRunningTasks() does not filter out 'Excludefromrecents'.
Thus we need checks for 'default launcher' and SystemUI.
as I write this, I realize I might be able to query the
ExcludeFromRecents flag of the package a bit more easily.

ps 4: Whitespace fix.
ps 5: one more whitespace fix.
ps 6: remove unnecessary dependency

Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Change-Id: I0b59121b07b9ba44a2837a8db0266441ed82f9a3
QuickSettings: fix missing GPS state

This will show the appropiate image when GPS got a fix.

PS2: use image set in the state object.
PS3: fix derp
PS4: it's too late - sorry
PS5: int ain't null

Change-Id: Id4055a9a811f42d411abaf740c7a6c8e8c240e9c
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge remote-tracking branch 'aokp/jb-mr1' into test

Conflicts:
	core/res/res/values/config.xml

Change-Id: I2af31c7a621e7742dc37cabaf920dbcaeddf86f5
Revert "Add support for HW Rotation Lock"

This reverts commit b8d93ea9c550de160267218f7c09552eb7c92909.

Conflicts:

	core/res/res/values/config.xml
	core/res/res/values/symbols.xml

Change-Id: Ic5af3ffa69008afa687b456f201ce2cbdb7685a0
Revert "Audioservice: fix A2dp support on Samsung's Audio Policy HAL."

This reverts commit ff93bd27938ae982b3d552829d7325981a4d17de.

Conflicts:

	core/res/res/values/config.xml
	core/res/res/values/symbols.xml

Change-Id: Ic042a9b866a73fdaafba3f7bd5f8c64b6a346bb3
Add support for Purgeable Assets option

Change-Id: I006fae643598119793fa6909d1d1bd497e8e35f1