Force TabletUI at any dpi based on the work of barrmulio @ XDA

Change-Id: I00682da0935618f5a539d9d773607bd35c82a8d9
IME Toggler as NavBar target (1/2)

All credit goes to btdk7 from RootzWiki

Change-Id: I42f671dcaf62bfcc3ec6b8b1c6cd04918e980dc1
Alternate Signal Layout (1/2)

Provides for an alternate (GB style) signal cluster
that separates the mobile type/traffic from the signal meter.
This will give themers more flexibility in statusbar design & layout.

Patch 2: Remove Log Spam
Patch 3: Graphics cleanup
Patch 4: Cleanup
Patch 5: Additional cleanup
Patch 6: Small xml adjustment
Patch 7: Add a bool value to allow theme to set/use Alt_cluster.  Will not over-ride user setting.

Change-Id: I9800f719eb5333c94cc85f96eda37ae9674cdd72
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
framework: revert data icons back to stock jellybean

The following change - http://gerrit.sudoservers.com/#/c/3293/
altered the data icons in the statusbar and as a result many
were misaligned and funky. This reverts them back to stock.

Change-Id: Iea66c8b583faa925ebe5d016d1169ba571c0ac27
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Increase themeability of Statusbar

This primarily makes the Battery_Text_only a themeable item via the
theme manager.  Also moved a few other minor style aspects into @Styles
for themers.

Patch 2:
add Theming for Clock, WifitText & Signal Text
Also fix a broken aspect of Signal text
(Signal dbm wasn't working)
Navring IME Switcher & Ring/Vib toggle (1/2)

adds extra options to use as  NavRing targets

Patch1: added ring/vib
Patch2: fixed the vib icon on NavRing
Patch3: added ring/silent & ring/vib/silent toggles, created icons for
everything replaced the ring/vib/silent icon -- the 'silent' one was
barely visible added a beep when ring mode is switched to Normal
Patch4: provided proper patch descriptions
Patch5: fixed the beep so it's the same volume for all toggles
Patch6: changed the icons and drawables so that targets "light up" when
hovered over
Patch7: Changed the icons again to make then look better on light
backgrounds
NavRing: make all icons look the same as the Google Now icon

Changed all the icons to have the same overall look as the Google
Now icon that was there originally

Patch2: made custom app icons look and work the same as the others
Patch3: fixed whitespaces in code
Patch4: fix more whitespaces

Change-Id: Ib2b2db6b3eb3e51d56e062949a27911636f171ef
Fix NavBar ring's center layout on lowered DPIs

Change-Id: Id67c3bb1262544732408d2fa7b80755906f2d9f5
Signed-off-by: sethyx <sethyx@gmail.com>
colors are negative :)

Change-Id: I6c5a17dfc2748cafc1a613c354dc9d9872aa93ad
Signed-off-by: Gergely Szell <sethyx@gmail.com>
Framework Base: Allow Mock SMS (1/2)

This change brings the possibility of simulate the reception of SMS on real devices. Fow now,
the only way of simulate the reception of SMS is using the android emulator, but this hasn't have
a CM10 image.

This change adds a MockSmsReceiver inside SMSDispatcher that have a BroadcastReceiver listening
for Intents.MOCK_SMS_RECEIVED_ACTION action. This class accept the SMS simulation if and only if
Settings.Secure.ALLOW_MOCK_SMS is enabled.

This receiver should be used in the next way:

Intent in = new Intent(Intents.MOCK_SMS_RECEIVED_ACTION);
in.putExtra("scAddr", "+01123456789");
in.putExtra("senderAddr", "+01123456789");
in.putExtra("msg", "This is a mock SMS message.");
sendBroadcast(in);

or

String pdu = "07914151551512f2040B916105551511f100006060605130308A04D4F29C0E";
byte[][] pdus = new byte[1][];
pdus[0] = HexDump.hexStringToByteArray(pdu);
Intent in = new Intent(Intents.MOCK_SMS_RECEIVED_ACTION);
intent.putExtra("pdus", pdus);
sendBroadcast(in);

Change-Id: I5322cf748449a863ea8e8deda977108b9b58a413