Fix touch issue using 0% navbar

Change-Id: I0d140be9ab455291205fac7c38412b2c60e5b028

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Super nitpick
TABUI: Apply redraw fix

Change-Id: I7a40617611d1493cab339a1a7a9ee317d5c6216c
outlines for hybrid toggle swatches

Change-Id: I88b7bae700b43594900edd9cb13242d7bf960a80
bigint

Change-Id: I197abe5583cd77b5018685b502c5f7a10fa810f0
HToggle: collapse after longpress

Change-Id: Ifcc71ceaf08b06735331883726c90e495d1f84e8
Specific catch block

According to Android developers (http://developer.android.com/reference/java/math/BigInteger.html#BigInteger(java.lang.String, int)), it can only throw NFE or NPE, but we have a null check, so only NFE can be thrown
SystemUI: awful hack until Google fixes MDP

History:
Google adds tripple buffering in 4.1 - works splendid
Google merges changes in qcoms HAL in 4.2.2 that will trash the
composition engine in fullscreen mode

Change-Id: I6bfbac30e6b04c027d404f8026a9533681bcd4e7
Bug #14 disable pie on lockscreen

Change-Id: I4647aade6292cf49e5372e52d2ecff3bfe4b51f6
Some style fixes
Moar style fixes
FlingTracker can divide by zero and hang StatusBar in an infinite loop

if 2 events have the same timestamp then FlingTracker in PanelView will divide
by zero causing NaNs. the bug is usually triggered by rapid StatusBar up/down
dragging activity and updateCarrierLabelVisibility can then loop indefinitely
looking at NaNs. the user visible symptom is that StatusBar refuses to pull
down and is burning cpu time.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I0791c6bea953bf03346185fc6aaf44aaea79aace
wifi: Allow Settings to retrieve country code

This makes getCountryCode behave like getFrequencyBand

This allows Settings to get/set country code like
it can for frequency band.

Change-Id: Id9f00d3a678642c6c142fd1511af820d729507a7

Conflicts:

	wifi/java/android/net/wifi/WifiStateMachine.java
Wi-Fi: Ping the driver for wifi-only devices

Wifi-only devices are not capable to find APs with hidden SSID unless a DRIVER COUNTRY command
will send to wifi driver. This change has:

- Send DRIVER COUNTRY command to ping the driver (to correct the seek of hiddens SSIDs)
- Save mCountryCode as uppercase because the wifi_countrycode_values array is in uppercase.
  Otherwise the preference will not be found.

Patchset 7: Rebase
            Do not set mCountryCode if country is null

Change-Id: Ie0f838aef07eaf683b713f7f0e46ff3c751523ab

Conflicts:

	wifi/java/android/net/wifi/WifiStateMachine.java
Wi-Fi: Pass default country code to driver

This patch reverts partially the change http://review.cyanogenmod.org/#/c/28918/8, and
passing the default country code ("GB") to the driver instead of null.

Change-Id: I7d7115155a0a52261931ffaddaf35f316d095800
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Wifi: Enable Ad-Hoc (IBSS) network configuration

This adds two public but hidden variables to WifiConfiguration: isIBSS and
frequency. These are used for configuring IBSS mode.

WifiConfigStore is exended to get and set these variables to wpa_supplicant
(via WifiNative).

Change-Id: Iab02c3d738c05c2de036350ea77b78789213e357
Wifi: Add IBSS supported method

Add method isIbssSupported() to WifiManager and related classes to query wether
the driver supports IBSS mode. The query is answered by wpa_supplicants new
command "get_capability modes".

It will only return a correct result after WIFI_STATE_ENABLED has been
reached.

Change-Id: I93aa2fdff94cd897c91ec3beb7e58940d1de7b72
Add back backlight brightness curve adjustment.

Change-Id: I1dbcc9a35b44abc077e2722a4e81eb1e83d463fa
Signed-off-by: kecinzer <kecinzer@gmail.com>

Conflicts:

	services/java/com/android/server/power/DisplayPowerController.java
SysUI : Fix opacity of LastApp Icon

Thanks to Nitroz for making alpha corrected versions of the
last app icon.

Change-Id: I2e8a9ae36e32f03aa36d3218c74d76b88123e64e
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Conflicts:

	packages/SystemUI/res/drawable-hdpi/ic_sysbar_lastapp.png
SysUI:  Prevent Kill-Task from killing SystemUI.

If recents screen was active when Kill-Task button pressed, SysUI
was getting killed (causing wallpaper reset).  This
prevents SystemUI from being killed.

Change-Id: I3b669b29e5c244246ac02ad1ce6b4e39f7270aaa
Signed-off-by: Zaphod <mwilson@acesappraisal.com>