[1/2] base: Add Haptic Feedback to quicktiles

Change-Id: I792a00a2689a572110963db00362f8e9d77b316e

Conflicts:
	core/java/android/provider/Settings.java
Quicktiles: support flipping at every tile

sorry but the previous implementation was a bit stupid.
DRY (Don't Repeat Yourself)

implement flipping in OnClick, so that every existing and comming tile
supports it.

Change-Id: Iaaf354ba00e4f5aa7dacab42524b1d01f047ab8a

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/AirplaneModeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/PerformanceProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuietHoursTile.java
SystemUI: QuickTiles: add support for gestures

allows to do actions on left and/or right swipe on a tile via
overriding onFlingLeft and onFlingRight.

for that we are implementing a gesture detector, which also handles
click and longpress events.

already make use of it at the preferences tile.
on swipe right we launch quicksettings tiles activity,
on swipe left we launch Customization settings.

Change-Id: I9580ba3a94d5d30859f3ac0a87d3564f971877be
SystemUI: QuickTiles: Allow up to 4 flip animations

we now have left, right, up and down flip animations.
set flip down animation to default when pressing the tile.

Change-Id: Ida858d6235e681f380172b5de83c127eb9e4a0b3

Conflicts:
	packages/SystemUI/res/anim/flip_right.xml
framework/base: Add EdgeGesture service.

Based on code of PieService.

Change-Id: I053737e36340a5ec6814b21eb87575f9689c7e88

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	services/java/com/android/server/SystemServer.java
PhoneWindowManager: add ability to use EdgeGestureService for system gestures.

Update: Default to enabled

Change-Id: Id4e2c0d82f771cd1c20e9196fb6db347494cca69

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Base: add OmniSwitch NavBar shortcut (1/2)