Settings: Profiles: Update look to be more inline with others

This changes the tab host to a PagerTabStrip to match what is used
in the "Apps" settings screen.

Also simplify menu handling between screens.

Change-Id: If7fa157a6c9e346c1dba8ed7282c35e9cb4e11fd
Settings: PT-BR update translations

Change-Id: I3054ffb2180502987f60d7c5abb09bce3d854951
 Settings: Update Swedish translation

Change-Id: Idafebce7532ced3a85ce95556acf8bbb16b346f1
Settings: SV translations

- minor corrections

Change-Id: I8ef6c204dff9d4eb29bd388454b19023bc9b2b9e
Settings: EL translations

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

Change-Id: I7c6c978ef3344ec6c95a6c55b9584a606961d5c6
Convert to switches [1/2]

PS1: Add SystemSettingSwitchPreference
PS2: Change weather and button
PS3: Change commit message
PS4: Add Power menu
PS5: Add Quick Settings (Also added the remaining settings to the disable list)
PS6: Add init.d
PS7: Add gesture navigation

Change-Id: I439d921a432dc727940627d03b3b841dd216374f
Settings: Advanced low battery indicator options (2/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version

This commit introduces following new SlimBean modes to indicate low battery

     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected. Also you user get a
status bar ticker message about the notification and notification is always
on first place of list. And last if vibration is enabled
notification vibrates.

cheers

Change-Id: Ia8fa8c420e6ef334266a7734fb080026a8396340
Fix disabling of the QS options

on my device the switch and check were fucked up because of an application data wipe

Change-Id: Ia360c5fb22c446733d9c0e579a8d0e456fc04aa4
Settings: CA translations

Change-Id: I49a5d889400d3ceb0cb4f5231e29821f8d6f88c3
Revert "Fix coding style."

This reverts commit 42b1727b5268363659ea1d8843452a33dc1f7c7b.

Change-Id: Ie8feb9dba61ce5cc263e4b09e063e0cd00ecdbe9
Revert "Bluetooth : Remove out of range devices after ScanComplete"

Reverting this change as it has some side effects and after
removing this gerrit the behavior is like commercial phone.

This reverts commit 2ba08f2d7efbfe7c0b0080f0e9a63e56d15695e7.

Change-Id: Ice89ccb6250f55f4e0235df27a3ecea64260b488
Add instance save/restore for hardware tunables.

Needed to correctly handle e.g. screen rotation.

Change-Id: I6c4ba9aa24c9545037f949a68654428457de46f5
Settings: ES translations

- SEAndroid

Change-Id: I48cd9d93b868ee47db69f03c7d677eb48e382091
Settings: IW translations

Change-Id: I5329b62bde5d6458db37a6353950288e50a0cbec
Settings: FR translation

PS2: correction

Change-Id: Iee3df81d09c57dc776f174d76d3df0726f5a789f
HALO Mods (2/2) * Animation controls

[part 1 in android_frameworks_base]

PS2: Small derp fix

PS3: Check deps

Change-Id: Ib213a1f5ded192c2fde45e3efa477a515d3d4589
Fix Lock before Unlock

Change-Id: I9be273f9987cdecf4252f10426a1f62d580ddfd9
Settings: Improve QS tiles config code

Tile configuration has some unusual coding, like having a
public static Map (QuickSettingsUtil.TILES) to hold all
tile information.

That map is modified directly during the execution of
QuickSettings.onCreate(), which removes unavailable tiles
from this global map. Once those tiles are removed, they
are gone for good (until the runtime decides that it must
reinitialize QuickSettingsUtil.TILES).

This patch tweaks this process a bit:
 - The global TILES variable is now immutable.
 - There is a distiction from disabling and removing a tile
   - Removed tiles are those related to the device
     capabilities, and can never be enabled, once removed.
   - Disabled tiles are those related to the device state,
     like the ProfileTile, which is unavailable if the user
     has disabled the profile feature. Disabled tiles can
     be re-enabled later.
 - All code that actually removes/disables tiles is now at
   QuickSettingsUtil. The results of such operations are
   reflected on the TILES immutable view.
 - It is possible to enable tiles that have been disabled.

This changes improve [citation needed] coding style a bit,
but, furthermore, allows one to disable and reenable tiles
when needed be. For instance, enabling Profiles or Expanded
Desktop will cause the corresponding tile to be available
for selection immediately. That would not possible to
accomplish, once those tiles were removed from the available
TILES map.

Patch set 2: Rebased
Patch set 3: Rebase, refactor
Patch set 4: Check network tile availability at every resume
Patch set 5: Sort tiles at the adapter, revoke caveats
Patch set 6: Some cleanup

Conflicts:
        src/com/android/settings/cyanogenmod/QuickSettings.java
        src/com/android/settings/cyanogenmod/QuickSettingsTiles.java
        src/com/android/settings/cyanogenmod/QuickSettingsUtil.java

Change-Id: Ifd46d81a49b0ce036e9ccd6d13b6e2251ecbf42a
QuickSettings : Don't allow duplicate tiles

Don't allow user to add duplicate quick settings tiles

PS2: Rebase
PS3: Rebase
PS4: Make mConfigRibbon static

Change-Id: I7614fce2b5ffa0070c834b5de14b039c7b768b9f
Settings/Added ADB over network QuickSettings Tile

Change-Id: I4eeee37e15e6e479f244a9b6c6320520aa55e5b6