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
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
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
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
PT-BR: Added missing translations

Change-Id: If3a67c3f028f758fe5b990eef5ad53b188ca7cdf
Merge "PowerManagerService: fix getAutoBrightnessValue for btn/kbd" into jellybean
Bluetooth: AVRCP 1.3 features changes (2/2)

Bluetooth module will listen metadata/event change intents
from Music app and post data to Bluez stack.

Merged the following from ICS:
Change-Id: 37151cf5162404e27c985a1b6a874cfd9a51d657
Change-Id: f3d9f182f0eacc3ead491f7d3f571f5ed93f7c20
Change-Id: 432fdab5fbbfb6687b571d1e06d6b51e944ed4d5
Change-Id: b4d51e3bc1b52f6c1ff1d006aae6cff261c739e9
Change-Id: f1c1549254c17be681066544efbbcf7ad1e25913

       modified:   core/java/android/server/BluetoothA2dpService.java
       new file:   core/java/fm/last/api/Station.java
       modified:   core/jni/android_server_BluetoothA2dpService.cpp
       modified:   core/jni/android_server_BluetoothEventLoop.cpp
       new file:   core/res/res/values/avrcp_data.xml
       modified:   core/res/res/values/public.xml

Signed-off-by: Trey Briggs <treybriggs@gmail.com>
base: External BT GPS

Change-Id: I869320d42f40e8b762b8b27702ea4495403f8fc5
Credit: Cuong <cuongbui@gmail.com>
Merge "SearchWidget: passing APP_DATA to voice intent (from ics)" into jellybean
Lockscreen Vibrate option 1 of 2

The new System setting Settings.System.LOCKSCREEN_VIBRATE_ENABLED
which defaults to 1, will effect the lockscreen on touch event
(when touching the unlock icon - or sliding it).

The GlowPadView (Slider) now has no Vibrate when the user selects the behaviour
in the Lockscreen Settings (see 2 of 2 patch).

No Restart is needed to make the change.

Change-Id: I59c52c6ea2f54427bbc883cd829952cefa58143c
Merge "Fix 5772: Pattern screen lock shows incorrect attempts (from ics)" into jellybean
Merge "hnl_dk: size_t is long int and not unsigned int." into jellybean
Merge "Fix Issue 5810: Framework Base: Uighur language" into jellybean
Merge "Framework Base: Power Widget scrollbar not showed" into jellybean
SystemUI: Allow nav bar background to be themed

Change-Id: I53a1030547e431fe978a02353161cca76361281e
Merge "PT-BR: Added missing translations" into jellybean
Fix: Back icon doesn't scale when changing navbar height

Contrary to the Home and Apps icons, the Back icon doesn't scale when changing
navigation bar height due to scaleType=center in the layout.xml.
Fix provided by Michael Schroyen.

Change-Id: Ia5abe1ec79fd4171e4a20095b4a7dc9ce98c9383
Framework Track Control : Switch from broadcast to audio service

Ordered broadcast is unreliable.
Switch to using the Audio Service's dispatchMediaKeyWithWakeLockToAudioService
as it sends the event to the correct receiver.

Patchset 2 - Switch power widgets over as well
Patchset 3 - Rename handler 'what' message to be more consistent
Patchset 4 - Fix renaming mishap

Change-Id: I022720a551b94637f7b16258dfb6a22234bcb736