19639 Commits

Author SHA1 Message Date
Adam Powell
01feaee3d9 Fix bug 3372468 - ActionBar menu shouldn't be clickable after
ActionBar.hide() is called

Action bar will capture touch events and prevent focus from passing to
its children while animating out.

Change-Id: I4501f785ead2afa34f020f9bc1a1121932f3c047
2011-02-10 15:05:05 -08:00
Adam Powell
96bad13901 Merge "Fix bug 3440372 - Spinner measurement issues with new rules" 2011-02-10 12:07:38 -08:00
Adam Powell
b70c727b2e Fix bug 3440372 - Spinner measurement issues with new rules
Change-Id: I3633239dc42277eb6447cf7f0907f35f4b45e873
2011-02-10 12:04:59 -08:00
John Reck
c943cd123e Merge "Fix spacing issue" 2011-02-10 11:53:10 -08:00
John Reck
e4fee50558 Fix spacing issue
Bug: 3432069

Change-Id: If58d19cacb99f3ab7fdc4d8fdbb86f0853010ed1
2011-02-10 11:33:35 -08:00
Chet Haase
c77d7b42ab Merge "Fix animation and layoutTransition issues." 2011-02-10 09:16:56 -08:00
Cary Clark
83a7b963f0 Merge "only allow dpad center for key long press" 2011-02-09 17:15:10 -08:00
Gilles Debunne
711734a2f8 AutoComplete list does not hide the IME when it re-appears.
Bug 3415891

With the current behavior, as soon as the list is expanded by
'long' pressing on or scrolling its content, it will always further appear
in its long state, thus hiding the IME.

This fix changes this behavior so that the default state is always
compact, not hiding the IME, and an explicit expansion
is always required.

Also fixes a bug in ListPopupWindow that prevented the timer that
expands the list from being started.

Change-Id: I896e92d54961769c10b276c36f6510e91ff096a2
2011-02-09 16:56:13 -08:00
Gilles Debunne
a4a5758b5f The tab key completes text in AutoCompleteTextView.
Bug 3330651.

The first item in the list is not selected by default. From discussions
in other related bugs, there does not seem to be an agreement on this.

Supporting the actual token separator has also been punted. This would
require a new method in the Tokenizer, which could be ill-defined for
exotic tokenizer, plus typing a comma (for instance) to achieve a
completion is not a common pattern.

Change-Id: I30baf62077c412256175f871d21f4841e104f212
2011-02-09 16:54:18 -08:00
Chet Haase
add6577a01 Fix animation and layoutTransition issues.
There were some subtle timing issues in animators with ending animations that
were not completely initialized (possibly because a startDelay'd animator
was ended before the delay elapsed).
Also, LayoutTransition had bugs around running a transition on a container
while a previously-started transition was still in progress. This could result
in some minor artifacts or crash bugs, depending on the durations and delays set
on the transition animations.

Change-Id: Ic6a69601f1ce9a55db15fff6b8ed25950b354491
2011-02-09 16:47:29 -08:00
Cary Clark
1477b8f34d only allow dpad center for key long press
Holding down the enter key on a physical keyboard
doesn't make sense to map to long press; the desktop
doesn't work that way either.

bug:3344108
Change-Id: Icf02940dcadf194357b680ae1e3028751d16a1ea
2011-02-09 19:33:00 -05:00
Cary Clark
a81c2193f7 Merge "move selectAll to match framework" 2011-02-09 16:05:13 -08:00
Cary Clark
310433b258 move selectAll to match framework
bug:3439736
Change-Id: Ib4f1464ab927252eb223e3d9729bea216ebc0d54
2011-02-09 18:58:17 -05:00
Patrick Scott
fb4ff3d609 Merge "Call window.onscroll event at the end of scrolling." 2011-02-09 15:44:21 -08:00
Vasu Nori
6b9ef860aa Merge "turn off sqlite WAL until bugs bug:3024421 and bug:3353077 are fixed" 2011-02-09 13:34:43 -08:00
Glenn Kasten
ac018be84f Merge "Bug 3438513 Fix incorrect throws clause" 2011-02-09 13:08:00 -08:00
Svetoslav Ganov
8bf7cace20 Added tests for WebView accessibility no JS
bug:3421690

This change is related to change:Idfec7e6a

1. Added tests for cases in which the previous
   implementation was not behaving as expected.

2. Refatered the tests to be intrumentation tests
   since the code under tests uses the DOM element
   dimensions to determine visibility and if the
   the WebView has no size i.e. not attached to
   ViewRoot the size of all DOM elements is zero
   forcing all tests to fail.

Change-Id: Ib4c01af8feb09f2b2a6b9d906e08bfaaa9e9bc74
2011-02-09 11:04:23 -08:00
Vasu Nori
d67dbeeb32 turn off sqlite WAL until bugs bug:3024421 and bug:3353077 are fixed
they are becoming pretty disruptive bugs.
many more instances of gmail crashing with locking protocol error.
and a positive identification of WAL as the problem in Music app
AND one instance of gmail crash that I know of.
who knows how many folks are NOT reporting the gmail crash.

too bad we relied on pre-released version sqlite feature
without seeing it complettly tested in the field.

not a safe feature to turn on at this point in time.
maybe more testing and debugging in Ice timeframe.

Change-Id: I283ad26ba7e1793772a372aa8e24df0cb96ce2ef
2011-02-09 10:52:51 -08:00
Glenn Kasten
dbc289d6c2 Bug 3438513 Fix incorrect throws clause
Change-Id: Ib47c12b2b03b0b03d8df69f1b943839283c9f867
2011-02-09 10:38:39 -08:00
Patrick Scott
fa8be1cccc Call window.onscroll event at the end of scrolling.
Remove some old cruft code that isn't necessary anymore.  We almost always send
the scroll event to webkit except when restoring the scroll position when going
back.

I have verified that the scroll position is restored when going between pages
and that gmail receives the final scroll position.

Bug: 3187015
Change-Id: I0b1dfd1096d44247729bdd13bdad908310c2f19a
2011-02-09 12:42:55 -05:00
Vasu Nori
61eadaa6c3 Merge "bug:3435895 change a couple of retryable error constants to < 400" 2011-02-08 22:01:39 -08:00
Dmitri Plotnikov
cdf228cf87 Merge "Full text search: new API, deprecating old API." 2011-02-08 18:14:40 -08:00
Vasu Nori
0ba3055b1e bug:3435895 change a couple of retryable error constants to < 400
so that they are not considered permanent failures

Change-Id: I4513e6abcce127f78b5be98ab78c985ed698e43e
2011-02-08 17:18:27 -08:00
Adam Powell
a1ea2c8457 Merge "Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called before first layout" 2011-02-08 16:32:54 -08:00
Dmitri Plotnikov
123653b890 Full text search: new API, deprecating old API.
All of this API, old and new, is hidden for now.

Bug: 2078420
Change-Id: I5895e992aa820fa189321e1859179bfe7ccb71ff
2011-02-08 16:31:20 -08:00
Adam Powell
50efbed668 Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called
before first layout

Enable/disable the action bar show/hide animation as part of the
activity/dialog lifecycle. This allows apps to set action bar
visibility state as the activity first becomes visible or returns to
visibility without the associated animation.

Change-Id: I85ff9268d2cb2c8fcd3364dd275597fe90529224
2011-02-08 16:24:15 -08:00
Andy McFadden
ccc9d14d6c Merge "Use JNI helper function to get buffer address" 2011-02-08 16:03:24 -08:00
Scott Main
121370d25c am 3c565377: am b508d6e2: Merge "docs: fix links to revised fundamentals documents" into honeycomb
* commit '3c5653773d6b48f27aa52d746a7a6f8728d5ba36':
  docs: fix links to revised fundamentals documents
2011-02-08 15:06:54 -08:00
Dmitry Shmidt
6d8cb46120 Merge "Parse the rssi result string in case-insensitive manner. This matches similar code in wpa-supplicant, driver_wext.c" 2011-02-08 14:58:18 -08:00
Scott Main
3c5653773d am b508d6e2: Merge "docs: fix links to revised fundamentals documents" into honeycomb
* commit 'b508d6e26e3a1fd68bf637dc29df335f0e7ccd92':
  docs: fix links to revised fundamentals documents
2011-02-08 14:57:45 -08:00
Stan Chesnutt
320b56dcdd Parse the rssi result string in case-insensitive manner. This matches similar
code in wpa-supplicant, driver_wext.c

Change-Id: Ibeff41f9ef9168e47c338513b4c8c8781254e068
2011-02-08 14:50:30 -08:00
Andy McFadden
90f4c18a86 Use JNI helper function to get buffer address
This replaces the Get/Release sequence with a call to
jniGetNonMovableArrayElements.

Bug 3409356

Change-Id: I847fd67ac71d904fef0c807ac25a29f802e6cd45
2011-02-08 14:23:59 -08:00
Adam Powell
017b807991 Merge "Fix bug 3395349 - Treat Spinner dropDownWidth property properly" 2011-02-08 14:20:36 -08:00
Adam Powell
8db7cb1cdf Fix bug 3395349 - Treat Spinner dropDownWidth property properly
Change-Id: I15bca2c938e1f9742cc5d47218632a1e636f90ac
2011-02-08 14:19:35 -08:00
Scott Main
b508d6e26e Merge "docs: fix links to revised fundamentals documents" into honeycomb 2011-02-08 13:34:51 -08:00
Shimeng (Simon) Wang
357a9335c2 Merge "Fix bug: use content height instead of view height." 2011-02-08 12:30:52 -08:00
Romain Guy
069ea0e31a Better handling of EGL_SWAP_BEHAVIOR_PRESERVED_BIT
Bug #3410832
Bug #3410834

Change-Id: I6025d6b7200e4d23e43f783e9401df13a13e7b63
2011-02-08 12:24:52 -08:00
Scott Main
7aee61f5a9 docs: fix links to revised fundamentals documents
Change-Id: Ie2a660cce1d00f924c9fde5c6a00776307e5e1c7
2011-02-08 11:37:44 -08:00
Eric Fischer
1e09ca2a1f am c7bece13: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit 'c7bece13495949db1736263a7cf5cf67c6165c51':
  Import revised translations.  DO NOT MERGE
2011-02-08 10:40:47 -08:00
Shimeng (Simon) Wang
6a0b5ca114 Fix bug: use content height instead of view height.
issue: 3396895
Change-Id: I3012fa2c48d3e215d5b877ac525fdba89c0f9251
2011-02-08 10:19:53 -08:00
Gilles Debunne
5a50351cf3 Merge "CTRL+A simply highlights all text." 2011-02-08 10:15:01 -08:00
Jesse Wilson
543146a82b Remove @Override that chokes Doclava.
Change-Id: I160aa2209d148c48f4ab8f4dc42ab77d300919de
2011-02-08 10:01:09 -08:00
Jesse Wilson
4baf5d7234 Merge "New LRU cache class." 2011-02-08 09:12:15 -08:00
Adam Powell
c1a35d2b1a Merge "Fix bug 3389707 - Spinner: should be able to expand wider than their collapsed size" 2011-02-07 19:09:44 -08:00
Adam Powell
19fd164408 Fix bug 3389707 - Spinner: should be able to expand wider than their
collapsed size

Change-Id: Ibd7389d3d7f74b36e9b3e42392cc1f3c0522f20d
2011-02-07 19:05:32 -08:00
Adam Powell
326a23a381 Merge "Fix bug 3426162 - Overflow menu closes on its own" 2011-02-07 18:11:53 -08:00
Adam Powell
f2d7a5d831 Fix bug 3426162 - Overflow menu closes on its own
Makes populating action menus smarter, doesn't completely empty and
repopulate. Fixes issues where changing menus can leave popups without
an anchor.

Change-Id: I03cc266f0952123c5704a78cdcfc69b77af1915b
2011-02-07 18:09:56 -08:00
Eric Fischer
7dd2196e8b Import revised translations. DO NOT MERGE
Change-Id: Icb56518620be62481ed0d152f7eb9ab44d6f759d
2011-02-07 17:19:23 -08:00
Gilles Debunne
299733e2b4 CTRL+A simply highlights all text.
Bug 3351442

It does not start text selection mode, and does not display selection
handles. Just like a selectAllOnFocus does.

Change-Id: I3b6df3c57abb7cc2cd03a0a67896faeec2ec631f
2011-02-07 17:11:41 -08:00
Jaikumar Ganesh
609602ed77 Merge "Reject incoming tethering connections if Tethering option is not enabled." 2011-02-07 16:49:26 -08:00