75792 Commits

Author SHA1 Message Date
Andreas Huber
48dc91b514 Make java constants consistent with native counterparts.
Change-Id: I481dfc18c170b4c60682ef1b38b57e10fb73d004
2012-05-01 12:27:26 -07:00
James Dong
454014e55f Add video scaling mode support with a new public method in MediaPlayer.java class
o related-to-bug: 5454345

Change-Id: I379b679eb6dd87f47f87a58791a5d0c7251b3a74
2012-05-01 12:22:35 -07:00
Eric Fischer
48c220df10 Import translations. DO NOT MERGE
Change-Id: I50b9a3a66234f1570955532c6383570cade19232
2012-05-01 12:19:31 -07:00
Gilles Debunne
2fb40285c7 API fix in CheckedTextView
Bug 6103310

Change-Id: Ic144ed99199a296df3ef1a16f59caff08af58fd9
2012-05-01 12:11:23 -07:00
Gilles Debunne
8ed491b75b Merge "API fix, AutoCompleteTextView" into jb-dev 2012-05-01 11:58:35 -07:00
Gilles Debunne
1dcd2bfcab Merge "API fix in TextView" into jb-dev 2012-05-01 11:58:26 -07:00
Michael Jurka
c81a075196 Merge "Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"" into jb-dev 2012-05-01 11:47:36 -07:00
Winson Chung
0b3d3a3a56 Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"
This reverts commit 7ced8f9cabfed2e11c125a1a6b4ff18f1cc50060
2012-05-01 11:46:09 -07:00
Chris Craik
92bc5d086a Revert "Add header for forward compatibility"
GPL build fix mistakenly merged into master

This reverts commit fd862e9828d544f593a622f2914d1257366ae802.
2012-05-01 11:20:20 -07:00
Dianne Hackborn
a25c8a97af Merge "Add new APIs for permission group flags and priorities." into jb-dev 2012-05-01 11:15:51 -07:00
Chet Haase
3b83dc42df Merge "Fix launcher invisibility bug" into jb-dev 2012-05-01 11:11:52 -07:00
Winson Chung
7e400cfb71 Merge "Adding getters/setters for StackView xml attrs. (Bug 6104219)" into jb-dev 2012-05-01 10:55:14 -07:00
Daniel Sandler
4f85eb5872 Move legacy menu key to bottom right on sw600dp.
It's too easy to press if it's *all* the way to the right,
though, so there a 2dp margin separating it from the bezel.

Bug: 6399312
Change-Id: If4ebcd4cfcee0c667bcc6142af86c04445f41fea
2012-05-01 13:50:29 -04:00
Eric Laurent
94affdd80e Merge "fix unmute from volume panel on tablets" into jb-dev 2012-05-01 10:47:57 -07:00
James Dong
59eaa907fe Merge "Fix a race condition in Camera API for handling focus" into jb-dev 2012-05-01 10:24:46 -07:00
Amith Yamasani
2d25d467e6 Merge "Fixes PreferenceScreen padding and scrollbar position." into jb-dev 2012-05-01 10:22:01 -07:00
George Mount
91901aeb66 Merge "Fix flicker while selecting text." into jb-dev 2012-05-01 10:10:16 -07:00
Eric Laurent
f740664cd8 fix unmute from volume panel on tablets
Changing STREAM_MUSIC from volume panel on tablets should exit silent
mode as does changing STREAM_RING on phones.

Issue 5970208.

Change-Id: Ia8ed62033da07a5d4dfcfa84b0b47b27414bdd9a
2012-05-01 10:05:21 -07:00
Chet Haase
6f9ad204cc Fix launcher invisibility bug
There was a bug in the DisplayList code for layers where we would
set the alpha value for a layer only if the alpha were non-1. This works
most of the time (since the value is usually 1 and doesn't need to
be set at all, and if the value is non-1, it is set correctly). But when
the value has been set to a non-1 value, setting alpha back to 1 cannot happen
due to this logic. This caused launcher to have some invisible pages when
returning to Home because those pages previously had an alpha value of 0, and
setting the alpha to 1 had no effect due to this DisplayList code.

The fix is to simply remove the check for non-1 values; we should
always set the alpha value of layers to handle all cases.

Issue #6413892 alpha value is messed up after AlphaAnimation

Change-Id: Ia51acb2eaaf0609ea7189998ed449bdd9ea7e05f
2012-05-01 10:05:13 -07:00
Jean-Michel Trivi
8ccfbdddab Merge "Optimize how AudioService receives media button events" into jb-dev 2012-05-01 08:57:18 -07:00
George Mount
8072976d7a Fix flicker while selecting text.
Bug 6413113

Change-Id: I5c8d2cda1eae9d5670c757711c49ccc9e47b4127
2012-05-01 08:56:24 -07:00
Steven Ross
78c629807c Don't show Face Unlock on initial boot fixes 6396685
Uses a static to keep track whether this is the first pass through the lockscreen
This will be true from when the process is instantiated until the lockscreen
is constructed for the first time, and then false afterwards.
When it is true, we suppress the biometric unlock (Face Unlock).
This avoids the problem of unpredictable and slow startup behavior for Face Unlock
on the first unlock after boot.

Change-Id: I70033af17ba3163d5fe07fc58096f01afaaaafd0
2012-05-01 09:12:22 -04:00
Stephen Hines
adeb809201 Start passing element/dim information along with FieldPacker.
BUG=6009244

Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
2012-05-01 00:29:52 -07:00
Stephen Hines
9da1b5d030 Unhide FONT.
Change-Id: I86258076817bb8f34ce3bb76031df41c08750f8c
2012-05-01 00:29:52 -07:00
Stephen Hines
9b9e74eea1 Move mesh to end of test list until we fix LLVM.
Change-Id: I8f06e80d7cea4b51e47625186e45ad44adb45b6b
2012-05-01 00:29:52 -07:00
satok
6dbac37981 Merge "Show ongoing ime switch icon on sw600" into jb-dev 2012-04-30 22:02:07 -07:00
Gilles Debunne
f03acef0ab API fix in TextView
Bug 6104140

Change-Id: I44af54ac7c194335a649e5878ff47dc894fa46fe
2012-04-30 21:08:41 -07:00
satok
c861b68a52 Show ongoing ime switch icon on sw600
Bug: 6422307
Change-Id: If10758e0d4ca59da4f3ab07d52dda6673af9c0a8
2012-05-01 12:05:12 +09:00
Winson Chung
7ced8f9cab Adding getters/setters for StackView xml attrs. (Bug 6104219)
Change-Id: Iaa1ba0292b0d40f73e315028d9f01ef407021e57
2012-04-30 18:50:52 -07:00
Guang Zhu
f0e3edc070 remove extra semi colon
Eclipse has been complaining about it...

Change-Id: I39fb4eeab26af883dd2287baf49ec244db453365
2012-04-30 18:29:23 -07:00
Dianne Hackborn
414d50bce6 Merge "Fix issue #6234928: android.app.IntentReceiverLeaked:" into jb-dev 2012-04-30 18:29:20 -07:00
Adam Powell
5703bbfa3d Merge "Fix a bug in ListView where touch scrolling could skip a data set change" into jb-dev 2012-04-30 18:23:49 -07:00
Dianne Hackborn
fd5015be41 Add new APIs for permission group flags and priorities.
Change-Id: I2d476c6aa9dbd05407ec49be45986f42d2acf9e7
2012-04-30 18:19:09 -07:00
Gilles Debunne
5c49d11a57 API fix, AutoCompleteTextView
Bug 6102885

Didn't fix dropDownSelector nor completionHintView at that point.

Change-Id: If080cbefd5189b79e4fa042e28dfa6a71524b93d
2012-04-30 18:13:56 -07:00
Ruei-sung Lin
56ce3c00fb Merge "Fix b/5821633: Could not activate GLEnvironment" into jb-dev 2012-04-30 17:55:09 -07:00
Jean-Michel Trivi
c68022258e Optimize how AudioService receives media button events
AudioService maintains a stack of registered media button event
  receivers.
This change modifies the broadcasters of ACTION_MEDIA_BUTTON intents
  let AudioService directly handle the corresponding key event instead
  of trapping the intent sent by PhoneWindowManager, KeyguardViewBase
  and PhoneFallbackEventHandler.
Because the key event may be sent through a PendingIntent,
  AudioService now also implements the OnFinished interface to be
  notified when the event was consumed so it can release the wake
  lock held if it was held when the key event needed to be sent
  (see where PassHeadsetKey was instanciated in PhoneWindowManager).

Change-Id: I2e8614df94af9d54edbf714ef443cc372d21827a
2012-04-30 17:46:19 -07:00
Svetoslav Ganov
af8978226f Merge "AccessibilityNodeInfo.getActionSymbolicName() is missing A11y focus actions." into jb-dev 2012-04-30 17:39:47 -07:00
Svetoslav Ganov
fb68fdb9c6 Merge "Accessibility should not change input focus behavior." into jb-dev 2012-04-30 17:39:24 -07:00
Jeff Brown
f2dc6fc442 Merge "Fix Javadoc." into jb-dev 2012-04-30 17:28:49 -07:00
Jeff Sharkey
2fea92e6d9 Merge "Clear ident in dismissKeyguardOnNextActivity()." into jb-dev 2012-04-30 17:22:05 -07:00
Jeff Sharkey
4e33c6cafa Merge "Add permission for NetworkOverLimitActivity." into jb-dev 2012-04-30 17:19:35 -07:00
Ruei-sung Lin
22edf6b2e4 Fix b/5821633: Could not activate GLEnvironment
Change-Id: I35a05eb24299b85a869b973599a091381369aac2
2012-04-30 17:16:44 -07:00
Jeff Brown
c5c33c363e Merge "Add support for using the lid switch to turn off the screen." into jb-dev 2012-04-30 17:15:57 -07:00
Jeff Sharkey
e6b6533811 Add permission for NetworkOverLimitActivity.
Bug: 6421080
Change-Id: Icefdf3da7a4a421d27aa1449ac01ea8ae1451d49
2012-04-30 17:15:36 -07:00
Jamie Gennis
6da9cf7782 Merge "Surface: add JNI plumbing for setActiveRect." into jb-dev 2012-04-30 17:13:45 -07:00
Jeff Sharkey
4c3de54daa Merge "Roaming always metered, relax DHCP metered check." into jb-dev 2012-04-30 17:06:09 -07:00
Adam Powell
6f663c1a3c Fix a bug in ListView where touch scrolling could skip a data set change
Bug 2597058

ListView's touch scrolling can query the adapter for new views. As we now
flush pending touch events before running layout/draw traversals (when we
normally bring ListView back in sync), this can now happen more often.

Resync data before executing a scroll if a data set change is pending.

Change-Id: I3e4eba4c2537911ba9cb3393ee4d9e68e46f84bb
2012-04-30 17:01:07 -07:00
Jeff Sharkey
7ffaa98539 Clear ident in dismissKeyguardOnNextActivity().
BaseStatusBar uses this to launch activities over the insecure
lockscreen, so clear identity.

Bug: 6414983
Change-Id: Idf578923285ee1344e6e13e7f51e17a5f2005c75
2012-04-30 16:59:05 -07:00
Svetoslav Ganov
e9bda15f87 AccessibilityNodeInfo.getActionSymbolicName() is missing A11y focus actions.
1. The new actions were not added to this helper method so it was
   throwing an InvalidArgumentException.

bug:6421059

Change-Id: I132348a50bb900ee19b95cc92c26ce47609ccb1c
2012-04-30 16:55:24 -07:00
Svetoslav Ganov
cf8a3b8224 Accessibility should not change input focus behavior.
1. Removed a change in the input focus behavior I forgot
   to take out when submitted the main accessibility focus
   patch. Ugh..

bug:6320098

Change-Id: Id7942e8aac64ba4bf6df7e19f733fa70b368d1bb
2012-04-30 16:50:14 -07:00