Cleanup

Signed-off-by: igio90 <giovanni.rocca.90@gmail.com>
Phone: Navbar customization (2/3)

This commit is a complete recoded Version of our old one. Implements following feature:

- custom Style
Navbar background color
navbar button color
navbar glow color
navbar button transparency

- custom dimen
navbar height
navbar heidht landscape
navbar width
all have the ability to set to 0 to hide

- custom button
complete system and logic overwork
custom buttons
custom icons
custom applications
longpress actions
complete dynamic
no systemUI restarts

- custom navring
complete system and logic overwork
custom targets
custom icons
custom applications
longpress actions
complete dynamic
no systemUI restarts

- misc
glowpad glow time
show menu location
show menu

TODO: Navbar transparency
and other will be a surprise

Conflicts:

	src/com/android/phone/InCallTouchUi.java

Signed-off-by: igio90 <giovanni.rocca.90@gmail.com>
Phone: Fix NPE in PhoneUtils::toLogSafePhoneNumber

When PhoneGlobals.DEBUG_LEVEL is set to 2, there
will be NullPointerException when receiving an
incoming call from an unknown number.

Change-Id: I2a730b891420695f3a410164e611b66cf757edc8
Signed-off-by: Bin Li <libin@marvell.com>
Phone: Forward port Add Missed call and Voicemail specific notification lights

This commit adds the ability to use the configured missed call and voicemail
light settings

Change-Id: Ib7f38a89629007fde9f214400bd59159fcc977ab

Conflicts:

	src/com/android/phone/NotificationMgr.java

Signed-off-by: igio90 <giovanni.rocca.90@gmail.com>
Phone: Ignore touch during network operators search

When network search is in progress, the progress dialog is
dismissed if user taps the screen. This in-turn cancels
manual search and switches to the previous screen.
This behavior can be avoided if the dialog property is set
to ignore user touch events.
If required BACK key can be used to cancel search and move
to previous screen.

Change-Id: I00da1dfec78498d2f35f6bb5d49e42bb3ad43cc2
CRs-Fixed: 367631
Phone: IncomingCallWidget shows indefinitely sometimes.

This issue happens when following 3 conditions meet.
Usually cpu load is high at the moment.

1) Two ACTION_UP events on glow view is triggered;
2) Time from press the answer button to call state
   changed is more than 500ms;
3) Aniation of HideIncomingCallWidget did not start
   before handle 2nd event

Reset mIncomingCallWidgetIsFadingOut to false while
cancel HideIncomingCallWidget Animation, next time
HideIncomingCallWidget will be excuted when call
state is changed.

CQ00024038

Change-Id: I44ad728cdd624d2053397f463e44024527671840
Signed-off-by: Bin Li <libin@marvell.com>
Another big update

Signed-off-by: igio90 <giovanni.rocca.90@gmail.com>
Missed Call Breath (1/3)

Credits: @Kroz for the icons and idea!

This will give your Missed Call notifications a breathing effect in the statusbar instead of an static icon.
XY Changes

- 3G Tile
- Full Screen ID
Changes for the 2g and lte toggles
Support additional LTE network modes

- Support all LTE network modes defined in RILConstants and
  com.android.internal.telephony.Phone.
- Enable LTE options for GSM LTE phones.
- Implement toggleLTE.
  - LTE/CDMA mode may be overridden with toggleLTE_lte_cdma_nt_mode.

Consists of (partial) cherry-picks of these CM 10.0 commits:

commit a8eb4dce7b19bfa74fbbde128336f93057133d97
Author: Mike Kasick <mike@kasick.org>
Date:   Fri Aug 10 18:04:44 2012 -0400

    Make "Preferred network mode" strings consistent, fix LTE modes.

    - Make network mode strings, comments, internally consistent with each other.
    - Show LTE modes only for CDMA/LTE and GSM/LTE devices, not non-LTE.
    - Revert to "Global" label for NETWORK_MODE_GLOBAL on non-LTE devices, to
      remain consistent with RILConstants, but also because this mode is used
      for CDMA/EvDo/GSM/WCDMA mode on global-capable devices.
    - Consistently show "CDMA / EvDo" whether on a CDMA or CDMA/LTE phone.

    This should be the complete superset of network modes supported on all
    devices.  Individual devices may prune this list to include only network
    modes that their radios support.

    Note, the "Global" mode label (preferred_network_mode_lte_cdma_summary)
    remains unchanged from its overloaded-to-support-LTE-on-toro capacity for
    consistency with AOSP, although though this overloading is a mess.

    Change-Id: I39bcf73474778a4d83753eddb5014642e41ab9b3

commit 9025baeddf9b7325e07605fca310fa897dcd9175
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Tue Jul 10 10:59:01 2012 -0500

    Add NT_MODE's for NETWORK_MODE's 8 and 10

    as defined in RILConstants.java

    Change-Id: I225bb776152e4c63ade1f70669edb2df3986634c

commit a03ba4f3ea1c059d91aba747964314ab657d6842
Author: Ricardo Cerqueira <github@cerqueira.org>
Date:   Tue Apr 17 01:34:31 2012 +0100

    Phone: Enable LTE options for GSM LTE phones

    Change-Id: I580c37f3272c8cc8363e8db5b1c227bf6f74a04a

Change-Id: I326584e1f82cc84c244c23282b096a98703d4b1a

Conflicts:

	src/com/android/phone/PhoneInterfaceManager.java
Fix build