22194 Commits

Author SHA1 Message Date
Jeff Sharkey
19eaf0a74d Merge "Catch CCE when migrating to ClipData." into jb-dev 2012-05-01 16:32:38 -07:00
Philip Milne
3e35030459 Merge "Fix for layout parameter validation bug in GridLayout." into jb-dev 2012-05-01 16:21:15 -07:00
Gilles Debunne
61552bc81f Merge "API fix in CheckedTextView" into jb-dev 2012-05-01 16:19:40 -07:00
Chris Craik
ad759f958a Merge "fix monkey scrolling crash" into jb-dev 2012-05-01 16:01:58 -07:00
Chris Craik
5f3c08a411 fix monkey scrolling crash
bug:6336994

Depends on external/webkit change: https://android-git.corp.google.com/g/#/c/186186/

Change-Id: Ib019ca68f6e57f98e30b022949c624bab4695294
2012-05-01 15:53:06 -07:00
Adam Cohen
c9ca7f38bc Merge "Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)" into jb-dev 2012-05-01 15:36:21 -07:00
Philip Milne
8a36e05443 Fix for layout parameter validation bug in GridLayout.
Bug 6404882.

When a cell has an unspecified row and a column that is specified as greater
than the specified number of columns, GridLayout fails to report or correct
the error and loops indefinitely searching for a valid row to place the cell.

There is a cyclic dependency between the validation of layout parameters
(and allocation of undefined cell indexes) and the maximum column/row counts.
A performance optimization in layout paramter allocation caused this dependency
to be handled in correctly. The problem is fixed in this CL for this bug and
the symmetric problem for rows.

Change-Id: I0392343bc8a721a0ca7163f58f233ba8046c22e2
2012-05-01 15:24:50 -07:00
Jeff Sharkey
dd471e6a6f Catch CCE when migrating to ClipData.
Bug: 6231948
Change-Id: I51bc272d29a17881b3d4908fda549da20aa7e6b3
2012-05-01 13:08:27 -07:00
Adam Cohen
ffc46a5c7c Preventing onClickPendingIntents from being set on collection widget items (issue 5961701)
Change-Id: If60f98c5e1be66ca840cbd4953841ef2c57a012b
2012-05-01 12:58:12 -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
Dianne Hackborn
a25c8a97af Merge "Add new APIs for permission group flags and priorities." into jb-dev 2012-05-01 11:15:51 -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
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
George Mount
8072976d7a Fix flicker while selecting text.
Bug 6413113

Change-Id: I5c8d2cda1eae9d5670c757711c49ccc9e47b4127
2012-05-01 08:56:24 -07:00
Gilles Debunne
f03acef0ab API fix in TextView
Bug 6104140

Change-Id: I44af54ac7c194335a649e5878ff47dc894fa46fe
2012-04-30 21:08:41 -07:00
Winson Chung
7ced8f9cab Adding getters/setters for StackView xml attrs. (Bug 6104219)
Change-Id: Iaa1ba0292b0d40f73e315028d9f01ef407021e57
2012-04-30 18:50:52 -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
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
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
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
Amith Yamasani
f9638a4aee Fixes PreferenceScreen padding and scrollbar position.
Bug: 6399996
Changed the scrollbarStyle for tablets

Bug: 6405440
Inflate the listview from a layout with padding.

Change-Id: I838bb073ee2f0e23ac7163cc632679278dbccf05
2012-04-30 16:32:39 -07:00
Jeff Brown
32c8113510 Fix Javadoc.
Bug: 6418632
Change-Id: Ib17218c413cbdf26bab19ccd873de33e67dd3397
2012-04-30 16:28:32 -07:00
Jeff Sharkey
f166f480f0 Roaming always metered, relax DHCP metered check.
Always treat roaming connections as metered, and relax DHCP test to
match any substring for forward compatibility.

Bug: 6382737, 6375399
Change-Id: I9781a60f55fbe35da6f8bfc7a1d609608e8f0951
2012-04-30 15:59:21 -07:00
Gilles Debunne
2d589ffa1e Merge "SpannableStringBuilder correctly manages MARK and POINTS" into jb-dev 2012-04-30 15:44:02 -07:00
Jamie Gennis
b40696cc21 Surface: add JNI plumbing for setActiveRect.
Bug: 6299171
Change-Id: If26e63ebe7def645626af251bed899ff9389f8e5
2012-04-30 15:35:37 -07:00
Jamie Gennis
459e459ef9 Merge "TextureView: don't call onSTAvailable due to setST" into jb-dev 2012-04-30 15:29:33 -07:00
Adam Cohen
a2c37665d9 Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev 2012-04-30 14:42:23 -07:00
Dianne Hackborn
1e945c4fda Merge "Add system insets to windows." into jb-dev 2012-04-30 14:04:36 -07:00
Jamie Gennis
8a34d6800e TextureView: don't call onSTAvailable due to setST
This change makes TextureView skip calling the onSurfaceTextureAvailable
callback when setSurfaceTexture is used to change the TextureView's
SurfaceTexture.

Change-Id: Ie08f72f157c3bfce3215076b21994026ef66d88d
2012-04-30 13:54:38 -07:00
Adam Cohen
c88d11f949 Pushing widget resize callback responsibility to AppWidgetHost
Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
2012-04-30 13:25:59 -07:00
Chris Craik
1266692b30 never attach null functor
bug:6412902

Change-Id: I26a5f80ae13cc19df3daa4d4e7e5401778f76dbb
2012-04-30 13:15:55 -07:00
Svetoslav Ganov
2f87014ea2 Merge "Enabling accessibility focus only if explore by touch is on." into jb-dev 2012-04-30 12:41:15 -07:00
Svetoslav Ganov
0e8fd5eddb Merge "Populating accessibility node info with supported actions." into jb-dev 2012-04-30 12:40:49 -07:00
Svetoslav Ganov
9cb3e96af9 Merge "CheckedTextView should be reported to accessibility as checkable." into jb-dev 2012-04-30 12:40:04 -07:00
Svetoslav Ganov
10890607f8 Merge "Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent" into jb-dev 2012-04-30 12:39:25 -07:00
Svetoslav Ganov
18dcf2f1cd Merge "Fixing crash when drawing accessibility focus indicator." into jb-dev 2012-04-30 12:38:06 -07:00
Svetoslav Ganov
07b726c86b Enabling accessibility focus only if explore by touch is on.
1. Now we will enable the accessibility focus only if Explore by
   Touch is enabled. Enabling this feature allows a blind user to
   touch the screen and set the accessibility focus at this
   location as well as get spoken feedback. Also an accessibility
   service can move the accessibility as a result of user gestures
   detected only if Explore by Touch is enabled. Since we will
   handle some gestures by default if not accessibility service
   does so to provide reasonable built-in navigation of the UI
   by "objects" we need the accessibility focus functionality.

bug:6383361

Change-Id: I13ce6072a90f5838c7656379788144c99a772bf0
2012-04-30 12:25:31 -07:00