Remove power widget background

Change-Id: Id0bff63011666539a97b262a3f4975f07639a4f4
Port wimax support changes from CM9.

- Register WiMax service in ContextImpl (fixes 4G toggle).
- Fix misdocumented EXTRA_4G_STATE in WimaxManagerConstants.
- Share wimaxClassLoader between WimaxHelper and ConnectivityService.
- Add ACCESS_4G_RADIO_DISABLE, ACCESS_4G_STATE, and CHANGE_4G_STATE
  permissions to SystemUI.

Note that WimaxManagerConstants was previously misdocumented, confabulating
the lookup key EXTRA_4G_STATE ("4g_state") with EXTRA_WIMAX_STATUS
("wimax_status"), which no longer exists.  This is also fixed.

Change-Id: I4f5973e7bd2ff4c860036df0f38589b34ad72b49
PowerManagerService: fix getAutoBrightnessValue for btn/kbd

getAutoBrightnessValue calculations are correct only for LCD
backlight brightness values increasing with higher light values.
Skip the calculation for the reversed button/keyboard backlight
arrays, where the backlight brightness decreases with increasing
light values.

Change-Id: Ib72b8325fe2b0f83780e91dc94eea2e38061224b
bootanimation: allow using RGB565 instead of ARGB8888

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b
frameworks/base: Remove CM headset/speaker volume restore code

- Jelly Bean already has this built in for the media volume stream, but it's
broken by having our own code in there as well.
Other audio streams will no longer have their volume levels restored, and only
media volume will be subjected to the 'safe headset volume restore' cap.

- Cleaned up the 'link notification with ringtone volume' code.

Change-Id: I06e1d159a66e2d6c09c6128c4c946d9578ea90cd
SearchWidget: passing APP_DATA to voice intent (from ics)

ics: http://review.cyanogenmod.com/#/c/17826/1

SearchView uses SearchManager.APP_DATA to pass data between the origin activity
and the search activity. This works for text searches (keyboard), but it's not
implemented by voice recognition searches. The method createVoiceAppSearchIntent
initializes a empty bundle that is filled with the QUERY parameter.
This patch adds the SearchManager.APP_DATA parameter if is present, let the
search activity access to the data passed by the origin activity

Change-Id: I2d0d853b69b36aa4e52f3cd49b4364f5fbb5ab93
Fix 5772: Pattern screen lock shows incorrect attempts (from ics)

http://review.cyanogenmod.com/#/c/20211/1

Hide incorrect draw paths. If the pattern is incorrect a message is displayed
instead of incorrect pattern.

Change-Id: I5f74521738e9cdeaa561a946fb28ac4dc9785660
Frameworks: tablet powerwidget management (1/2)

Adds basic powerwidget management for tablet devices
Allows to setup up to 6 different toggles, or remove all of them

patchset 2: remove whitespaces and tabs
patchset 3: remove some other tabs left
patchset 4: some other tabs were hidden
patchset 5: *changed strings for consistency with phone powerwidget
            *added license header on some files
patchset 6: remove WIP tag
patchset 7: remove new created tabs

Change-Id: I2e643401aaac0146857abe8c2d2dbc652d28e666

Conflicts:

	packages/SystemUI/res/layout-sw600dp/status_bar_settings_view.xml
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/SettingsView.java
Framework: Tablet powerwidget improvements

Change-Id: I671edccef30de061625ebad425612c00e4268823
HTCQualcommRIL: responseIccCardStatus: add subscriptionFromSource feature.
Configure subscriptionFromSource quirk using needsOldRilFeature to ifdef tEh javaz for CDMA + LTE support.

Our RIL supports RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE and RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE.
These are used to determine desired subscription source on the fly.

Change-Id: Ife3b3413605e26efd8c1ba8af66cc0eea76072cb
Frameworks Base: Use public constant for SYSTEM_PROFILES_ENABLED

Use the public Settings.System.SYSTEM_PROFILES_ENABLED instead of private definition.

Change-Id: I571dd69f26a05f903779578da01c69addb2284f2
Fix Issue 5810: Framework Base: Uighur language

Initial commits for Uighur language
Depends: http://r.cyanogenmod.com/#/c/19818/1
Credits: Abduqadir Abliz

Patch 2: Remove trailing whitespaces
         Incorrect nodomain.html
Patch 3: Remove no translatable entries

Change-Id: Id5a8b070b78b80b97aaf4dbc708bd7cfb7300ba2
hnl_dk: size_t is long int and not unsigned int.

Change-Id: I6c1f33be09e83324894ac43e38829f3e39890f3e
Fix keystore access when utilizing quick unlock

Change-Id: Ieb8f84918d2f375752a625bddba0e4415a8efd29
Framework Base: Power Widget scrollbar not showed

If the number of the buttons in the Power Widget exceeded the LAYOUT_SCROLL_BUTTON_THRESHOLD
the HorizontalScrollView created is not showed because notification areas is over the scrollbar.
This occurs because buttons layout has set a bottom padding to not overlap the buttons. This has
sense in ics (where buttons has indicators), but not in jb there are not button indicator.
Remove the bottom padding to show the scrollbar. The scrollbar aspect is in tune with the rest of
the power widget

Change-Id: I1d1784a3b34329a2c710a2a3605f253f3756bf0b
Merge "Frameworks: tablet powerwidget management (1/2)" into jellybean
Merge "Framework: Tablet powerwidget improvements" into jellybean
PT-BR: Added missing translations

Change-Id: If3a67c3f028f758fe5b990eef5ad53b188ca7cdf
framework: fix notification icons not animating till ticker is updated

Fixes Android issue #15657

Change-Id: Ic406ffbf139ae1562ed2b048b2e8e1f8b734271c
Merge "frameworks/base: Remove CM headset/speaker volume restore code" into jellybean