Frameworks: Port Lockscreen Targets and Shortcuts to SlimKat

First thanks to PA and CM which gave us partly code and some ideas.
Still some parts of the original implementation are/were buggy as well
we needed to ehance it.

Whatever the new Slim version is now ready and seems to be completly bug
free.

- Configurable lockscreen targets...on tablets 8 on phone either 5 or 8
- configurable lockscreen shortcuts only on phones...up to 5 shortcuts
- Centralazing some methods....using now then rounded corner on custom
  images systemwide...means on all other shorcut features we have
- multiDpi compatible
- new settings logic
- instance handling of all dialogs like we do on all other places
  way nicer this way
- tons of fixes

Change-Id: Ib3752204aa6876bd5b9d619c002df78d8e4bd109

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/slim/ButtonsHelper.java
	core/java/com/android/internal/util/slim/ImageHelper.java
	core/java/com/android/internal/util/slim/PolicyHelper.java
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_alarm_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_alarm_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_browser_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_browser_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_calendar_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_calendar_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_camera_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_camera_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_email2_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_email2_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_email_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_email_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_facebook_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_facebook_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_gallery_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_gallery_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_google_small_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_google_small_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_gplus_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_gplus_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_gtalk_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_gtalk_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_lock_pressed.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_maps_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_maps_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_movie_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_movie_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_music_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_music_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_nav_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_nav_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_phone_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_phone_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_podcast_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_podcast_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_rss_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_rss_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_sms_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_sms_normal.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_twitter_activated.png
	packages/Keyguard/res/drawable-hdpi/ic_lockscreen_twitter_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_alarm_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_alarm_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_browser_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_browser_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_calendar_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_calendar_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_camera_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_camera_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_email2_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_email2_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_email_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_email_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_facebook_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_facebook_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_gallery_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_gallery_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_google_small_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_google_small_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_gplus_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_gplus_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_gtalk_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_gtalk_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_lock_pressed.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_maps_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_maps_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_movie_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_movie_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_music_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_music_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_nav_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_nav_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_phone_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_phone_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_podcast_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_podcast_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_rss_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_rss_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_sms_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_sms_normal.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_twitter_activated.png
	packages/Keyguard/res/drawable-mdpi/ic_lockscreen_twitter_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_alarm_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_alarm_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_browser_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_browser_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_calendar_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_calendar_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_camera_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_camera_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_email2_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_email2_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_email_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_email_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_facebook_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_facebook_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_gallery_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_gallery_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_google_small_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_google_small_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_gplus_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_gplus_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_gtalk_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_gtalk_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_lock_pressed.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_maps_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_maps_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_movie_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_movie_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_music_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_music_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_nav_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_nav_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_phone_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_phone_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_podcast_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_podcast_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_rss_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_rss_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_sms_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_sms_normal.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_target_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_twitter_activated.png
	packages/Keyguard/res/drawable-xhdpi/ic_lockscreen_twitter_normal.png
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java
	packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/ShortcutsWidget.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java