Updated simplified Chinese translations

Change-Id: Ia630af1247bddce0cce167e7d1e16fc8b15542a2
Merge "Updated simplified Chinese translations" into jb-mr1
FW: Lockscreen rework WIP

The frameworks side of trhese rework is basiclly adding
Lockscreen targets and removing unneeded and used variable left
in by google.

Patchset 2: fixed landscape issues with phones

Patchset 3: Added null check for uninstalled apps.
            Add some logic for padding if the 6-8 targets are used.

Patchset 4: Removed option for long press challange unlock, I dont think
            this need to be an option it should just be default.

Patchset 5: Fix rings around targets.

Patchset 6/7: Fix big empty icons in the rc ui.
            Fix layout for 6-8 targets again...

Change-Id: Ic9a4b4f85c674dc9d4097541d447723e2dd47956
FW: Status Bar Hide toggle (1/3)

Adds new statusbar toggle into power menu navbar control.
Tested on maguro.

Patch-set 4: Reverted selected button logic
Patch-set 5: Reverted of reverted :)
Patch-set 6: Added czech translation and RC part
Patch-set 7: Added quicksettings tile and shortcut intent
Patch-set 8: Fixed build errors
Patch-set 10: Some czech translations
Patch-set 11: New icons, changed variable names, fixed show logic
Patch-set 12: Rebase
Patch-set 13: Removed previusly added czech translation of other words
Patch-set 14: Resolved conflicts
Patch-set 15: Finaly reversed active icon in power menu. Move some code due to conflicts
Patch-set 16: Rest of new icons
Patch-set 17: Fixed conflicts
Patch-set 18: Completly rewrite of toggle
Patch-set 19: Reversed toggle active state
Patch-Set 20: Re-do NavBar Toggle in Power Dialog to match
              existing StatusBar Toggle
Patch-Set 21:  Derp - forgot to add drawables
Patch-Set 23: Removed navbar text size dependance

Change-Id: Iafdbac9fb5830762c12ac0d9a6569723f39a64de
Signed-off-by: kecinzer <kecinzer@gmail.com>
add option to daydream on wireless charger (1/2)

Change-Id: Id2773a0ff6e2631ae67d1a61ca8155a55404e383
Signed-off-by: Roman Birg <romanbirg@gmail.com>
FW : Rework NavBar UI in ROMControl.

This turned out to be a little more in depth than I planned.
Decided to do some integration with AwesomeAction while
overhauling the UI.  This required adding some methods to
AwesomeConstants so that we can get the list of actions and
their 'ProperNames'  from a single object.

ToDo:  Do a similar move of objects/names for the icons.
   This will allow a single copy of each icon rather than
two like now.

Themers and Translaters are gonna be pissed when this is done.

PS2:  Created a method to return the Drawable/Icon associated
with a given action.  I've imported the XHDPI icons only at this
time (so non-xhdpi test builds will not work!)
Also, some of our 'actions' didn't have associated icons so I
copied a few from other areas.  They will need to be looked at
for 'appropriateness'.

ps3:  Moved NavBarHelpers into frameworks.  Copied over the rest
of the DPI icons (Resized quite a few too) - the images still need
review/updating to be more holified, but they will work as is.
Todo: started a way to subract subsets of Actions for the appropriate
function (ie, NavBar might not need access to *all* Actions.  I didn't
implement yet as I need a clever/clean way to subtract Array sets.

ps4:  Had to remove a few references to moved icons in SystemUI

ps5: Moved Icons back to SystemUI made a SystemUIResource getter method.
     Made navring use navbar icons.

ps6: update a few icons - thanks to Nitroz

Change-Id: Ia58f25f600fb92b70a4658e16a512e9a9ea8430f
Sleep Toggle

Pressing toggle will turn off screen.

Change-Id: If4052e81bce30b98fb723ed2c6d954598252fea5
FW : Bring Scrollable toggles back

ps 1:  Implements scrolling toggles.
	We might need to play with the spacing/padding
	but it apears to work
ps 2:  Apply some padding/dimens to the scrollable toggles
	bring background for tile into the traditional/
       scrollable toggles as well.

Change-Id: Ie9b9146f1d8d4e902f3f3b5660f511585ea7c895
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
FW : Fix  Tablet Layout (Clock & Notification)

When Center clock was chosen as an RC option, the clock would
dissapear from the StatusBar and Notification curtain in tablet
mode.  Also StatusBar notification icons were not aligned with
clock & signal icons.

This fixes both of those issues.

Change-Id: I8ce79314c42b322f4e13c102815131c400c562c2
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
FW: Updated czech translation

Change-Id: I21ccd7c37eaf87d0a2022c603faae620beab6f74
Signed-off-by: kecinzer <kecinzer@gmail.com>
Updated Japanese translations

- Add missing entries

Change-Id: Ie481c102f3a688ae6fd73d086f0e6a08cb1085df
Signed-off-by: rdgate <rdgate@gmail.com>
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
Merge "Updated Japanese translations" into jb-mr1
Merge "FW: Updated czech translation" into jb-mr1
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
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
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>
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51
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