Framework: Option to force keyboard to show enter key (1/2)

Original SlimRoms feature!  Not everyone likes emoticons :-(

Change-Id: Idc093d8fa14633ccf2817fadcfb09d32768445b0
Fix layout of MultiWaveView and GlowPadView.

If the calculated size of the rings is much smaller than the measured
size (which is happening e.g. on mdpi 600x1024 tablets), the glow pad
appeared shifted to the right.
This happened due to the insets being calculated as difference of
available and needed size, and later on being added to the available
size. Example numbers (Nexus 4 with density forced to 160):
- computed size in onMeasure: 768x505
- scaled size in onMeasure: 505x505
- thus, insets are calculated as 131/0
- in onLayout, placementWidth (364) and max target width (108) are much
  smaller than width (768)
- thus, center is calculated as 131 + (768 / 2) = 515, thus shifted to
  the right

Fix that by not using width in the calculation, as the inset size
already takes it into consideration.

JIRA:CYAN-829
Change-Id: Ifc2a93214f812f554a8fed3243eed66aec9f00c9
Fix broken TRDS "multi-select" actionbar on hdpi devices

Change-Id: I0253ecc057e0e66174149694ff300de7c277b1b9
Per-app PIE color

Since we're using Per-app color now, let's use it for PIE as well.
Frameworks & SystemUI - additional DC-HSPAP support

This commit adds some more informations about Dual-Carrier HSPAP
It allows displaying a "DC" icon on status bar for compatible devices
and add a "DCHSPAP" value in state phone
patch 1: add TelephonyManager to fix build
patch 2: modify ServiceState
patch 3: switch to cm_strings
patch 4: fix a mistake
patch 5: upload a new set of icons, a bit prettier than previous
patch 6: update icons (more opacity to match colors)
patch 7: removed drawable-sw*

here is a screenshot for example: http://imgur.com/mQ2du3l,PSyHoqC

Change-Id: I77d05e23c8ad3efdfeb19cf06ed92e7c57105ebe
update-api

Change-Id: I77e6d537d5ebbe67bac26c6ef6d0dda498640ca0
FW: Ribbon v1.0 overhaul

Thickness Increase max && decrease min
Configurable long swipe and long press swipe areas

consolidate and cache views for smoother animations
User adjustable animantion duration

Add dismiss options for swipe ribbon
 - Always dismiss on click
 - never dismiss on click
 - Don't dismiss for navbar action

fix app window crash if user has fast fingers and to much time
  on their hands...

Swipe ribbon drag handles now get their own location, height,
   width, and opacity.

Hide apps from app window
Hooks to dismiss app window if softkeys or navbar buttons pressed

Fix app window to pull all components also IE camera and messenger.

Rub some unicorn polish on the on touch glow. The giant boxes were
a bit ridiculous.

If ribbon is empty but toogles are not, just show toggles no flipper.

add adb wireless to toggle map

Phase 1 of the Animation chooser. Simple helpers to let users
choose the animation for the swipe ribbon and app window.
ill be adding some fancier animations for now just some of
the stock AOSP one.

Add lots o animation options. Also preload animations instead
of creating them at run time, should smooth things out a bit.

Keyboard IME hide, Vertical spacing App window, Cache resources.

Fix IME hide when navbar hidden.

Longpress on app window now takes you to app info.

Change-Id: I7c59fc915473fe320639eda446a735dee8500efa

Conflicts:
	packages/SystemUI/res/values/dimens.xml
Add transparency settings for lockscreen (2/2)

This will enable the user to set the transparency level
for the lockscreen.

Change-Id: I624b2e136432bb0effceac9f7d41c78c65d22125
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Bring back RB behaviour

When navbar is set to zero, chevrons are disabled since statusbar is still visible. Let's keep the chevrons
even if the statusbar is visible and let the user decide through RB Settings.
SystemUI: show blue dc-hspap icon when connected to Google services

*also fixed some tabs

Change-Id: I6f9910978a38622eb76758d2b806a1cc49d02496
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Small typos

Change-Id: Ic84f4c6facf7f30f2a67641140333cbe6dda5b12
TelephonyManager: hide NETWORK_TYPE_DCHSPAP

Change-Id: I77e6d537d5ebbe67bac26c6ef6d0dda498640ca0
SystemUI: fix vertical date not showed while on Pie
SystemUI: show date on 2 lines in status bar
This allows showing of the full day of the week, and removes
the blank space above the date (which always felt strange to
me when clicking it to access the calendar).

It also fixes a spacing issue on smaller screen devices that
causes the quick settings button to be partially chopped off
when the AM/PM clock settings are enabled.

Fixed an accidentally dot showed in some languages (for ex. US english)

Original commit
github (cyanogenmod): https://github.com/CyanogenMod/android_frameworks_base/commit/6dac4eda3d7819a790692e7e088b15264c8dff80
Remove opaque check in preparing dirty region

Since preserve swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new process. This prevents
garbage being present from the previous process in the color buffer.

CRs-Fixed: 465346
Change-Id: I98f2009748244751c4b56af8afbdfeb645c13230
FW: Fix Menu Overflow Disable Option

The three button Menu Overflow would display no matter what setting was seleted within ROMControl, this commit makes a slight change to correctly return a result that reflects the users selection through ROMControl.

I had to enable then disable the option for it to function correctly (no reboot required), screenshot is below showing the absence of the overflow menu:
http://img.tapatalk.com/d/13/05/26/ne6y2uny.jpg

Change-Id: Ib95da3f54a876da90d76833a9fc9bd2c86ecf498
EthernetDataTracker: Set network available on connected

This change fixes state mismatch found in the bugs below,
and makes the code look consistent with disconnect().

In startMonitoring(), reconnect() is called before mNMService.registerObserver().
Then dhcpThread.run() could finish without getting interfaceLinkStateChanged() callback.
In such a case, mNetworkInfo has connected but not-available state - which is contradictory.

Bug: 8113933, 8291000, 8291039
Change-Id: I29d74f8d09dcffb97d6c9f8198811bca046fef0c
Merge branch 'jb-mr1' of git://github.com/Root-Box/frameworks_base into RootBox
Add in Bootmenu
Add support for using a custom USB management service.

Conflicts:
	services/java/com/android/server/usb/LegacyUsbDeviceManager.java