Settings for camera and keyguard widgets

Ideas from CM

Change-Id: Ib6627fea809b17e5467f4c5dc791689d1611434b

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
Frameworks: Enable Lockscreen orientation (1/2)

Conflicts:
	core/java/android/provider/Settings.java
Tiles instantiation optimized and some code clean up

Patch Set 2: removed 4 white spaces and separated Fav contact tile Fix following Lars recommandation

Change-Id: I9ac4853a3c983c7edc8bf5ab79a79cd24a72f2fa

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Fix tiles update after removal

This commit fixes tiles update when they are removed and then added back.

Change-Id: I135b61dbb476bc864f99449df89d1ffb91da0e60

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/FChargeTile.java
QT Longpress actions for Settings(AOIP Settings) and Lockscreen. Adapted from slim commit https://github.com/SlimRoms/frameworks_base/commit/ec5aceacb15e835a4b665820005bdd060aed4a05 Author tchaari
GlobalActions: Fix dialog dismissal

The themeability of the global actions dialog introduced by
change I644e2e8d7d4abf07bae639b606197d691f16adac broke the
hook that prevented multiple instances of that dialog, and
multiple instances of it will cause framework crashes due to
mismatches variable references (besides looking weird).

Fix it by restoring the original dismissal condition and forcing
a recreation of the theme context if necessary.

Change-Id: Ic6e06bef18fa9e09c84c774fa273f1b7e3bf9630
Fixed aapt warnings

Change-Id: I35389697266b3ec59a38b4142a8983d0a8cc31ac
Fix Mobile Data tile show right icon after reboot

thanks tarak for the fast fix

Change-Id: If4f66ec1fa88830fef40f0355b23d821abc66efb
PW becomes finaly 4.2.1 and qs swipe

this commit brings last missing ported pw problem....it animates now like the other aosp things

also it add the ability to swipe between qs and normal notification drawer with left or right swipe
of course also with new pw animation

Patchset 2
- commit message update

Patchset 3
- after reboot sometimes pw doesn't show up -> fixed
- after enable/disable pw in one swiping case it was not shown -> fixed

Change-Id: Ia82014e76ab0255423c8a82976d6c6607ff1b8bc

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerWidget.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerWidget.java
Frameworks: Change navbar height and width on the fly (1/2)

without reboot now

Change-Id: I7b0ed20274ca8e4b6a30be6ceb7f1b352d188f91

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Fix custom insecure unlock logic

The previous implementation of lockscreen hardware keys long press
actions has conflicts with the Menu/Home/Back key unlock methods.
This was due to a derp in the switch loop.
This commit fixes this

Change-Id: I03025b8c8217d3bd0999b784b1c3046646bfa70f
Frameworks: Manage multiple QS tiles instances order

Patchset 4:
- moved hard coded string to strings.xml

Change-Id: I629be00c5fe71ec8e6a7bb8335c066f86dec4430

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/FChargeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/FavoriteContactTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/NfcTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Frameworks: Swipe improvements

cause of some accidental noob swipes some changes:

- notification drawer is pined during swipe
- swipe in both directions
- animation is smoother on fast swipes

thanks also to Thiago Ribeiro for the swipe stuff base, and slimteam for the animation stuff

Patchset 2:
- animation carrier and wifi label added to finger swipe

Change-Id: I698496a08241025bbac4430d3dc79568dbd9dfb2

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
    Frameworks: Fixes and cleanup

    I fixed a lot smaler issues we had in qs, navbar etc

    cheers

Patchset 2 + 3:
- removed unused png

Change-Id: Ib0aff773a39a8f09af2be197e66885631407db6d

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/NfcTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Frameworks: Moveable navbar (1/2)

New slim feature....phones can decide on the fly if they want
on landscape view a real landscape navbar.

navbar width settings are hidden now for tablet and large screen
new option also

Change-Id: I90aabb875db2c2af53f5993ae6b7d4310eba9d82
Framework: Add TouchKey Light Duration Pref

Gives the option to change duration of touchkey backlights

Must be enabled in overlay

Change-Id: I9175fe1aeb998e8ebdd5793bc1c8633b5008d5e1

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/PowerManagerService.java