15941 Commits

Author SHA1 Message Date
Leon Scroggins
03e0119c93 Do not show the dropdown unless there is something to show.
Bug:3427152
Change-Id: I2f0c36193f762085c2e1e7036387ff04f6f259d0
2011-02-11 10:19:22 -05:00
Chih-Chung Chang
d4c5b7651f Merge "Fix a bug that the condition for play/pause was reversed." 2011-02-10 19:23:52 -08:00
Jesse Wilson
c2c9a2492c Don't add setMaxSize() to the LruCache API. But do add maxSize().
Change-Id: I9697ab29491dabe85c2400defdde16b9abcd003a
2011-02-10 19:20:31 -08:00
Jesse Wilson
b1d884d589 Merge "Adopt LRU cache in SQLite." 2011-02-10 18:28:44 -08:00
Jesse Wilson
9b5a93550f Adopt LRU cache in SQLite.
Change-Id: I6b43dd8843d41726254bea3a175fe28f5f061ed7
http://b/3184897
2011-02-10 18:26:39 -08:00
Vasu Nori
ba44110117 Merge "bug:3425749 send notification for completed download" 2011-02-10 17:58:36 -08:00
Vasu Nori
f9e8523e62 bug:3425749 send notification for completed download
Change-Id: Ib46df5eaa9316fe0fc843fee1e4597e22768f4a8
2011-02-10 16:54:03 -08:00
Glenn Kasten
8132a8caf3 Merge "Bug 3352047 Wrong message when adjusting volume" 2011-02-10 15:27:59 -08:00
Adam Powell
1f0135cb70 Merge "Fix bug 3372468 - ActionBar menu shouldn't be clickable after ActionBar.hide() is called" 2011-02-10 15:07:09 -08:00
Shimeng (Simon) Wang
a22a011fab Merge "Don't send scroll events in case of new picture from webkit." 2011-02-10 15:07:07 -08:00
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
Huahui Wu
36d2823e57 Merge "b/3416864 Send the cert info from Native to Java side." 2011-02-10 15:00:23 -08:00
Shimeng (Simon) Wang
c566185c70 Don't send scroll events in case of new picture from webkit.
When user goes back to a page, the new picture may potentially cause
a scroll event which overrides the history scroll position, since
the scroll position may be bigger than the initial new picture.

Setting the scroll event to be not-user-scrolled will preserve the
history scroll position.

issue: 3433562
Change-Id: Ida176a4bc3a22de0385aed71e11f8b8e0db06f24
2011-02-10 14:50:05 -08:00
Huahui Wu
c56c3e262c b/3416864 Send the cert info from Native to Java side.
Change-Id: Ib4f045f0dd58d85b329eae972c4a4a61ee95f078
2011-02-10 14:40:50 -08:00
Glenn Kasten
8b4b97a14a Bug 3352047 Wrong message when adjusting volume
Add hidden AudioManager.getDevicesForStream and output device codes.

Change-Id: I4d1c1d3b6a077cd117720817d1f733dda557b947
2011-02-10 14:37:42 -08:00
Jesse Wilson
9ebc6b341b Merge "Document that LruCache is threadsafe." 2011-02-10 14:33:20 -08:00
Steve Block
6dfef1b86d Merge "Adds CookieManager methods to configure policy for cookies for file scheme URLs" 2011-02-10 13:59:09 -08:00
Jeff Hamilton
f6de2431ce am 9e5ffb55: am c1cc9ba6: am 58c9d472: Merge "More documentation updates for NFC." into gingerbread
* commit '9e5ffb55e8eabf8fd9215cbc68538ed5d9efe2d4':
  More documentation updates for NFC.
2011-02-10 13:56:56 -08:00
Nick Pelly
e49448f715 am cc47600d: am 47dac545: am 39cf3a44: Document NFC permissions.
* commit 'cc47600d4d7850f2903d2d59cc7f44528d40c8e5':
  Document NFC permissions.
2011-02-10 13:56:46 -08:00
Jeff Hamilton
40bbeeb409 am 510ced64: am 1ac35411: am 584afa8d: Merge "Improve the docs a bit for foreground dispatch." into gingerbread
* commit '510ced64f4316702cea07a55d1d473bdc07b2c86':
  Improve the docs a bit for foreground dispatch.
2011-02-10 13:56:41 -08:00
Jeff Hamilton
9e5ffb55e8 am c1cc9ba6: am 58c9d472: Merge "More documentation updates for NFC." into gingerbread
* commit 'c1cc9ba6d1e2b7f1e213d215e3edb97acea79901':
  More documentation updates for NFC.
2011-02-10 13:52:48 -08:00
Nick Pelly
cc47600d4d am 47dac545: am 39cf3a44: Document NFC permissions.
* commit '47dac545da6468e5b46e940917eb6711c02b8e84':
  Document NFC permissions.
2011-02-10 13:52:34 -08:00
Jeff Hamilton
510ced64f4 am 1ac35411: am 584afa8d: Merge "Improve the docs a bit for foreground dispatch." into gingerbread
* commit '1ac35411f186dca346e8d9078a4fd2d570bb8a97':
  Improve the docs a bit for foreground dispatch.
2011-02-10 13:52:23 -08:00
Jesse Wilson
34895b09db Document that LruCache is threadsafe.
Change-Id: Iae1421b8c768000e56806f6cd74aef7c69a78973
http://b/3184897
2011-02-10 13:50:24 -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
Chet Haase
c77d7b42ab Merge "Fix animation and layoutTransition issues." 2011-02-10 09:16:56 -08:00
Chih-Chung Chang
d7db70123f Fix a bug that the condition for play/pause was reversed.
Change-Id: I462ca5b910de98a875d7f54b4a937176f88474d0
2011-02-10 18:17:38 +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
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
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
Jeff Hamilton
c1cc9ba6d1 am 58c9d472: Merge "More documentation updates for NFC." into gingerbread
* commit '58c9d4726ebf3165b0dbbcebb1130dfc5502bfe9':
  More documentation updates for NFC.
2011-02-09 00:36:53 -08:00
Jeff Hamilton
58c9d4726e Merge "More documentation updates for NFC." into gingerbread 2011-02-09 00:34:22 -08:00
Jeff Hamilton
28319c0cec More documentation updates for NFC.
Change-Id: Ie134d4296ee12333e6647ce76126f9767ba1ba34
2011-02-09 17:26:47 +09:00
Nick Pelly
47dac545da am 39cf3a44: Document NFC permissions.
* commit '39cf3a445e507f219ecc8a476f6038f095d9d520':
  Document NFC permissions.
2011-02-08 23:25:29 -08:00
Nick Pelly
39cf3a445e Document NFC permissions.
Change-Id: Ib1b1625058c9c673692f3fbcb3546ec7c2d54a07
2011-02-09 16:10:46 +09:00
Vasu Nori
61eadaa6c3 Merge "bug:3435895 change a couple of retryable error constants to < 400" 2011-02-08 22:01:39 -08:00
Jeff Hamilton
1ac35411f1 am 584afa8d: Merge "Improve the docs a bit for foreground dispatch." into gingerbread
* commit '584afa8dde1777b181e773a491416769f25607a8':
  Improve the docs a bit for foreground dispatch.
2011-02-08 19:33:53 -08:00
Jeff Hamilton
167d9e473f Improve the docs a bit for foreground dispatch.
Change-Id: I4179133a0956bc66a49201c20f1dd2d6d67874d2
2011-02-09 12:30:18 +09:00
Dmitri Plotnikov
cdf228cf87 Merge "Full text search: new API, deprecating old API." 2011-02-08 18:14:40 -08:00
Gilles Debunne
63bd55c7bf am cdfe8999: Fix for multiple merge problem.
* commit 'cdfe899991c365d9e197d83f8859089cae082011':
  Fix for multiple merge problem.
2011-02-08 17:31:33 -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
Gilles Debunne
e04c14962f resolved conflicts for merge of c0728cc0 to gingerbread-plus-aosp
Change-Id: I1b941e0610e498365d441c7bd23af276d1b5f986
2011-02-08 16:33:58 -08:00