Core: Volume options panel 1/2

Change-Id: I7a5bb88d18b70b9c1bb236afd85270b27cd4106d
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java
	core/java/android/view/VolumePanel.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
Notification Light Settings/ Battery / Quiet Hours

Change-Id: I90d29264321cb00a4340b285932c36167263d812

Conflicts:
	core/java/android/provider/Settings.java
Port Forward: NavBar Customization

Custom NavBar targets
--Zaphod-Beeblebrox

Fix Navbar for tablets & other non xhdpi devices
--Zaphod-Beeblebrox

Fix improper resizing of navbar icons in landscape
--kwes1020

navbar alpha settings ported from ics
--akellar

SystemUI: fix navbar alpha
--syaoran12

Make navbar background themeable for theme chooser apks
--NMILTNER

Bring back navbar color, glow color, glow dur from ICS
--me..

navbar: ability to open/close notification shade
--jonathongrigg

SystemUI: fixed glow color to look stock
--syaoran12

Bring back down arrow (when IME is showing)
--me..

fix IME down arrow for custom navbar
--Zaphod-Beeblebrox

Navbar: Allow for up to seven navbar buttons
--Stevespear426

IME Toggler as NavBar target
--BMc08GT

adjust navbar logic
--romanbb

Change-Id: I857bfd554d9f057b4c2e29f802635f752ca98576
Add an option to change the device hostname (1/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: I44e4771f4415a32fe66867d4dd90f1ad138341e1
Configurable 0, 90, 180 and 270 degree rotation (framework part)

This is similar to my previous CM contributions. Requires settings
UI to configure (not done yet). The rationale is to be able to
have automatic rotation always enabled, but only for desired
angles.

Original-https://github.com/AOKP/frameworks_base/commit/ec06ed7f2a362581d202c034f6b9a9172b906508

Change-Id: I7e30e78f69e36794fa13724fe45e67e897f0ad80

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
SystemUI: Battery Bar

TODO: Still has same bug on sw600dp where centered-mirrored is off center

Change-Id: I938ef890459c600406a989414381e42df6d89ae0
Fix clock Clicks for tabs

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Show auto rotate to easy Xooms ocd

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Quick Settings: Long Press Settings for ROMControl

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Quick Settings: Make Wifi and Bluetooth Turn on and off

short press turns on and off
long press goes to settings.service

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Quick Settings: Don't collapse after change state.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
SystemUI: add signal text (1/2) WIP

Change-Id: I0b1a246f4744e71fb6cebfdfe2f674958971048e

SystemUI: replace signal bars with signal text if option chosen

Change-Id: I3b50747031f6e80edcad4499f0ad2646483c94c0

fix airplane mode with SignalText
Took the visibilty checks out of SignalText.java and moved to signalClusterView.
Airplane mode icon now properly responds.

Change-Id: I4e97854a3ed59df26d12b881b73b8f59c75de3db

fix Dbm signal readout for LTE/4g
This uses deprecated methods for getting signal values, but
it is the way it's currently being done in Settings.apk in AOSP.
there is no LTE functionality in the new preferred method.  Until
such time as LTE signals are exposed, this looks to be the only way.

Clean up
I forgot to take out the log statements and delete
commented out code.

Change-Id: I96fe28fdf946e1372ec4dd8df3adae4aece4b509

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: WiFi Signal Text

Change-Id: I926787c92d8f054370a231ecd668a4bf352d832f

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: Add option to hide signal bars

Patch set 2: add an observer to apply the changes without reboot

Change-Id: I93e78d48412e1a82a271d002066fa8a4c0101d16

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
Lockscreen: Quick unlock (Part2/2)

Change-Id: I9cdd6ef4c5f59fad5b7f330815fe28a79d9b9862
Quick Toogles: GPS, Clock, IME

Make these on by default for now enable/disable and movable tiles coming soon.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Custom Vibrations (1/6)
Frameworks part.

- added new VibrationPattern class for storing & handling vibration patterns
- added contact related provider columns
- added custom vibrations to the CallerInfo class
- necessary layouts & changes

Change-Id: I314abc4fec70e85f2b1b93bacb6ddf43301d42ec
Signed-off-by: sethyx <sethyx@gmail.com>
Commit themes to AOKP:
Squashed commit of the following:
maniac103: Allow theming of framework UI elements - a528877173
rmcc: SimUnlockScreen: Explicitly register themeChange receiver - 8da5dd0a5
rmcc: Fix theming of the Shutdown Thread - 0d6dea4e2f
rmcc: Merge branch 'themes-4.1.1' into cm10 - 5a35f209e

Change-Id: I16fff820fcf74394ce2884106887f8e284ffe235

Conflicts:
	core/java/android/app/ActivityManager.java
	core/java/android/app/ActivityThread.java
	core/java/android/app/ContextImpl.java
	core/java/android/content/Intent.java
	core/java/android/content/SyncManager.java
	core/java/android/content/pm/ApplicationInfo.java
	core/java/android/content/pm/PackageManager.java
	core/java/android/content/pm/PackageParser.java
	core/java/android/content/res/Configuration.java
	core/java/android/content/res/Resources.java
	media/java/android/media/AudioService.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	policy/src/com/android/internal/policy/impl/SimUnlockScreen.java
	services/java/com/android/server/DeviceStorageMonitorService.java
	services/java/com/android/server/InputMethodManagerService.java
	services/java/com/android/server/PowerManagerService.java
	services/java/com/android/server/UiModeManagerService.java
	services/java/com/android/server/am/ActivityManagerService.java
	services/java/com/android/server/pm/PackageManagerService.java
	services/java/com/android/server/pm/Settings.java
	services/java/com/android/server/wm/WindowManagerService.java
	test-runner/src/android/test/mock/MockPackageManager.java
add "Turn Wi-Fi off" action to the "open networks available" notification

Signed-off-by: Roman Birg <romanbirg@gmail.com>