Notification : Fix app info long-press

Addresses http://code.google.com/p/cyanogenmod/issues/detail?id=7060

Change-Id: I45c0e1b73c08ceffef02db244b947bfcedf3b20a
SystemUI QuickSettings: Allow more off-status localizations

Create strings for NFC off and Sync off so that they can be localized
appropriately.

This is a continuation of: http://review.cyanogenmod.org/#/c/30327/

Change-Id: I070310868147af84b10d15c7d872f6d43120434b
Quick Settings: Add visual indicator of ON/OFF Setting of Mobile Data tile

This addresses issue CYAN-221

Change-Id: I7dc0c8943df7a9478655bdde6745662c3831288f
QuickSettings: Better Mobile network tile disabled overlay handling

Change-Id: I0a2b6b570912002d9f1edf5809c1aa532e1531a0
Bugfix : Quick pulldown sometimes flips when it should not

When your Quick Settings Panel is set to

Quick pulldown : right

Sometimes (very intermittently) the tray flips (to Quick Settings) as you pull it down from the right side.

This is happening because the pull down happened so fast you can see the top 0-10 pixels of the tray,
and because it was showing the notifications, not the Quick Settiings

However the user expects the tray not to flip, but to just be on the Quck Settings.

The new code simply checks to see that the Event was a pull down event and that the event started in the top status bar.
If this is the case, then the quick panel is swapped to (without flip)

Special Thanks to my daughter Jenny fo painstakingly reproducing this bug.

Change-Id: I8fdbedb1aa6d4fd672bd4cb58b7c99557469ab62
QuietHours Tile (1/2)

Allows user to toggle state of quiet hours

Part 2 : http://review.cyanogenmod.org/#/c/31302/

Patchset 2 : New drawables courtesy of Björn Lundén
         3 : Make multiuser compatible

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Clean up, simplify and fix AlarmTile class and logic

This commit cleans up the AlarmTile class by removing the unnecessary
listener on the alarm intent. It now listens only to the next alarm
setting value, which was fetched after receiving the intent anyway.

These changes also fix a bug that would cause the tile to not show up
after some actions, like reordering the tiles due to the visibility not
being set on tile creation.

Lastly, some minor code styling issues have been fixed.

Patch set #2: collapse onNextAlarmChanged into onChangeUri, remove
mEnabled, use TextUtils to check for string emptiness and mark
updateQuickSettings explicitly as public.

Change-Id: Ic5871a9cc4874f33181dfac14e25a89499c182f2
QuickSettings: Allow custom off-status strings for translates

- GPS
- Torch
- Wi-Fi AP

PatchSet 4:	Removed all translations.

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Make sure we're using an up-to-date disable state when we're reloaded.

Change-Id: Ibf1ac67d92ba98294366d70cf4f9f8244677a7f4
SystemUI : QuickSettings Cleanup

Introduce new class to reference from settings and SystemUI to avoid
code duplication.

Differentiate between configuration change vs tile layout modification.

Patchset 2  - Remove whitespace
Patchset 3  - Remove unused ids
Patchset 4  - Better organize the classes
Patchset 5  - Rebase
Patchset 6  - Introduce updateResources()
Patchset 8  - Update tiles to use updateResources()
Patchset 9  - Expand imports
Patchset 10 - Updated all tiles to support updateResources()
              Added dinamic tiles to mQuickSettingsTiles
              Optimized and standarized of calls to updateQuickSettings() from tiles
                 onPostCreate() -> updateTile() -> super.onPostCreate() -> updateQuickSettings()
                 updateResources() -> updateTile() -> super.updateResources() -> updateQuickSettings()
              Rebased
Patchset 11 - Remove unnecessary calls to update Quick Settings

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Add a long-click target (display settings) to the brightness tile

Change-Id: I538cda0ecf999467d7b6a30501807c0c52fb59b6
Framework: Fix Brightness Tile

Change-Id: Ie26fedae34789f8c1ff16d90cb8d6fafe8c5cb6c
BrightnessTile : Cleanup controller references

This commit cleans up references that are not necessary

Change-Id: Ie6d4581b26e0625cf107a05e7eda695394281075
SystemUI: Fix QuickSetting IME tile

The IME tile reference need to be saved to used at setImeWindowStatus method

Patchset 2: Reset IME tile prior to load tiles

Change-Id: I185c37ed91794af93bd6f750c1e0c039c15f6696
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>