40135 Commits

Author SHA1 Message Date
Gilles Debunne
c3e85a712b Tapping inside an EditText should always pop up the IME.
Bug 3374062

When the tap in slightly off the EditText, it receives focus from its parent layout
which dispatches the event. However, the touch event is (correctly) not propagated
in that case.

onFocusChanged should hence do actions similar to what is done on touch up events.

Change-Id: Ia5c04546674fc6239aa4d0b8d051f4951ca91352
2011-01-21 13:35:29 -08:00
Romain Guy
d8b9d7cd1b Merge "Don't set a Toast's view to null when enqueued several times. Bug #3374386" into honeycomb 2011-01-21 13:23:25 -08:00
Andreas Huber
05aa082770 Merge "Some tweaks to HTTP live / nuplayer behaviour" into honeycomb 2011-01-21 13:14:30 -08:00
Patrick Dubroy
40c3704336 Merge "Update Bitmap.recycle() doc for heap-allocated pixel data" into honeycomb 2011-01-21 13:13:17 -08:00
Huahui Wu
17d25c564d Merge "b/3369602 Using Math.round() to convert float coordinates to integers." into honeycomb 2011-01-21 13:03:49 -08:00
Leon Scroggins
d5188657dc Do a better job of lining up text with page text.
Bug:3085564
Bug:3196224
Bug:3321608

Remove Touch.getMaxScrollX(), which is incorrect for my
purpose, and is not used anywhere else.  Instead use the
layout to determine the maximum horizontal scroll of a
textfield.

Now that textareas use layers, scroll the layer's picture
in the UI thread for vertical movement.  When passing a
click to webcore, also pass a message to scroll the actual
textarea so the click will be in the correct place.

Lastly, do not override bringPointIntoView, which allows
moving the insertion handler beyond the edge of a field to
scroll it.  Instead, override requestRectangleOnScreen to
do nothing, since my actual goal is to prevent the TextView
from changing the scroll of the WebView, which is done by
webkit.

Requires a change to external/webkit.

Change-Id: Ib91907599b792287c373d3678cb04e0cb5e34471
2011-01-21 15:42:03 -05:00
Romain Guy
2152ca58c2 Don't set a Toast's view to null when enqueued several times.
Bug #3374386

Change-Id: I0fc6f96b37c8866ad1e890813054dafbaf2cc13e
2011-01-21 12:31:53 -08:00
Jesse Wilson
276677f2ac Merge "Move URLTest tests to libcore." into honeycomb 2011-01-21 12:13:11 -08:00
Patrick Dubroy
a383b3f646 Update Bitmap.recycle() doc for heap-allocated pixel data 2011-01-21 12:08:51 -08:00
Jason parks
0512d080a5 Merge "Add and enforce the permission for encrypting/decrypting." into honeycomb 2011-01-21 11:59:15 -08:00
Jason parks
0f2ef34b5a Merge "Update encryption commands." into honeycomb 2011-01-21 11:39:15 -08:00
Gilles Debunne
4569f1a561 Merge "Paste popup window is displayed on the side when it would be clipped on top of screen." into honeycomb 2011-01-21 11:29:39 -08:00
Shimeng (Simon) Wang
7633540cf0 Merge "Keep min/max zoom scale in proportion when zoom density changes." into honeycomb 2011-01-21 10:45:22 -08:00
Jesse Wilson
f3efdf5013 Move URLTest tests to libcore.
These tests were migrated to libcore in change ID I5a6bcdf1c03d0c36b11552ae086d0dece0440f64.

Change-Id: Idc2d8fc3681b77c9a4c19a192a202bc556a48d23
2011-01-21 10:37:19 -08:00
Huahui Wu
a586b7baaf b/3369602 Using Math.round() to convert float coordinates to integers.
Change-Id: If4da01046c909667ce57a849569ae6b1acefb939
2011-01-21 10:37:09 -08:00
Gilles Debunne
e60e1e597b Paste popup window is displayed on the side when it would be clipped on top of screen.
Bug 3259774

Change-Id: I6ea20452a3a235e264c91c112f52da7230657708
2011-01-21 10:34:43 -08:00
Andreas Huber
19922adceb Some tweaks to HTTP live / nuplayer behaviour
- play audio-only streams again
- workaround for malformed streams that switch PIDs across bandwidths
- attempt to pick a different bandwidth stream if the previously chosen one appears
  to be malformed/unsupported.

Change-Id: I426d0a40dc725aa242f619d4c9d048b69aca55c9
related-to-bug: 2368598
2011-01-21 10:34:40 -08:00
Andy Stadler
c2ff2ec0d9 Merge "Read actual device encryption status" into honeycomb 2011-01-21 10:27:46 -08:00
Justin Ho
500657387d Merge "Integrating btn_dialog assets from Gingerbread" into honeycomb 2011-01-21 09:18:17 -08:00
Justin Ho
8c4e928858 Integrating btn_dialog assets from Gingerbread
Change-Id: Ibcd80e649e666b611f6b5b23dfcdd5818f619131
2011-01-21 09:17:20 -08:00
Amith Yamasani
672f4ef348 Merge "Sync activity picker to latest dialog style." into honeycomb 2011-01-21 08:42:18 -08:00
Justin Ho
09358f00fd Integrating Gingerbread phone lockscreen assets
Change-Id: Id13942e4e516b3744d89521898c55566fd39fc35
2011-01-21 08:40:14 -08:00
Justin Ho
6d495a67fc Resized btn_radio buttons from Gingerbread for legacy apps
Change-Id: I1d2bef3e08e48c4a36c8311c076bdbe9fa0b3725
2011-01-21 07:40:49 -08:00
satok
6a0d924e61 Merge "Show implicitly enabled subtypes in the input method selection dialog" into honeycomb 2011-01-21 03:37:49 -08:00
satok
bb4aa0683c Show implicitly enabled subtypes in the input method selection dialog
bug: 3367646

Change-Id: I9550f17f163950d80113fbcb8c9dd8a7d014cf6a
2011-01-21 20:20:02 +09:00
Santosh Madhava
ff23e4d7f8 Merge "Fix for issue 3370052 : Export progress percentage is incorrect" into honeycomb 2011-01-20 23:44:29 -08:00
Santosh Madhava
95788cf478 Merge "Fix for PR 3369866 : Project thumbnail should have the same aspect ratio" into honeycomb 2011-01-20 23:44:05 -08:00
Shih-wei Liao
f1f710538e Merge "Handle fatal errors from calling bccRegisterSymbolCallback (if any)." into honeycomb 2011-01-20 23:10:39 -08:00
Ken Wakasa
ccbdf5e838 Merge "Update class doc for InputMethodSubtype" into honeycomb 2011-01-20 23:07:53 -08:00
Ken Wakasa
e31e942455 Update class doc for InputMethodSubtype
bug: 3370290
Change-Id: Ib86f81c1a5f6c9acca34b586d810c6e94db1b552
2011-01-21 15:57:37 +09:00
Brad Fitzpatrick
6828656220 Merge "StrictMode: set sIsIdlerRegistered to false, and don't register if no penalties" into honeycomb 2011-01-20 22:24:18 -08:00
Jason parks
8888c597c4 Add and enforce the permission for encrypting/decrypting.
Change-Id: Ia292d8a5981266c2703743beb79fd786d77b375d
2011-01-21 00:07:49 -06:00
Jason parks
9ed98bcdc9 Update encryption commands.
* Changed to inplace encryption.
* Changed decryption to return the proper error code. It will now return success or the number of failed attempts.
* Be lazy and post a message 2 seconds later to call restart. I don't feel like messing with binder interfaces for a proper callback.

Change-Id: Iae2de7057aa66f248fd2df3f29777ad3368442f0
2011-01-21 00:06:20 -06:00
satok
0e5bf5051b Merge "Show ime switch icon when there is a hard keyboard" into honeycomb 2011-01-20 19:47:43 -08:00
Adam Cohen
cdd5626da6 Merge "Cleaning up some StackView bad behavior" into honeycomb 2011-01-20 19:42:23 -08:00
satok
865b97761c Show ime switch icon when there is a hard keyboard
Change-Id: Ife3a8733b1a1bf43b195ecf4b8c5082b6538d0a0
2011-01-21 12:28:01 +09:00
Romain Guy
99d49118b8 Merge "Add support for drawBitmapMesh()." into honeycomb 2011-01-20 19:07:28 -08:00
Romain Guy
5a7b466a2b Add support for drawBitmapMesh().
Change-Id: Ic77f9c534bb90dc7b9458299544bd50b8b6ae6a5
2011-01-20 19:09:30 -08:00
Jim Miller
055e56ee1b Merge "Fix 3374446: Allow multiple shift keys in Keyboard." into honeycomb 2011-01-20 18:51:12 -08:00
Adam Powell
9a161b0981 Merge "SearchView API Review - bug 3370353 and bug 3370338" into honeycomb 2011-01-20 18:44:32 -08:00
Scott Main
0f8056321f cherrypick Change-Id: Ic268b65b127b356155dd62d737029ce442c12f51
docs: add OEM USB Drivers document
and update install guide with windows 7 procedures
misc style edits

Change-Id: Icadbfc1136463a75039f87e7c0cbc79d29afbd84
2011-01-20 18:37:41 -08:00
Scott Main
77d6fcff7b cherrypick Change-Id: I8c52dbe5ac04dfeb1b466b163ae3aec5dc401175
docs: update supports-screens doc with xlargescreens attribute...
we updated the Supporting Multiple Screens document with this attribute
for gingerbread, but this document was not updated at that time.

Change-Id: I946e7eb8b93cee1a7223d400c882f415d6045815
2011-01-20 18:33:51 -08:00
Robert Ly
edc2aac7bf cherry pick Change-Id: I30e939d1dd5603a05070486c8a43187bedef52a4
Doc change: Updating ndk/sdk/tools overview pages for hc preview

Change-Id: I7e5feecc645be48e92d1f4a6d80f86ddb98e48b9
2011-01-20 18:30:42 -08:00
Adam Powell
01f2135465 SearchView API Review - bug 3370353 and bug 3370338
Renaming as per API council review

Change-Id: Id889be5a708fdc295ee50bb1b05014b2ff72122c
2011-01-20 18:30:10 -08:00
Stephen Hines
47171a7b65 Merge "Properly use Long2 for "UInt2" for FieldPacker." into honeycomb 2011-01-20 18:27:43 -08:00
Scott Main
924e352875 Merge "docs: add getting started doc and version notes for HC preview" into honeycomb 2011-01-20 18:27:41 -08:00
Scott Main
7fb538cc77 docs: add getting started doc and version notes for HC preview
Change-Id: Ia969c54a9b57197fb0f8814cc1898e50c02608e0
2011-01-20 18:26:43 -08:00
Jim Miller
6465f77537 Fix 3374446: Allow multiple shift keys in Keyboard.
This fixes a bug introduced in 3c6dd8f9 because we now
have two shift keys. The code now tracks a global state
and looks for up to two shift keys.

Update after review and added code to handle extra
invalidate required by additional shift key.

Change-Id: Ic1728dd0ceec089089cd1beca1b0b30565d6e658
2011-01-20 18:20:12 -08:00
Stephen Hines
e9f5c1894b Properly use Long2 for "UInt2" for FieldPacker.
We were misusing this API, since it requires the additional precision of
the next size up on unsigned versions of types.

Change-Id: Ic3c87f681ac6705ae0b36a3464ce0d63737945fd
2011-01-20 18:17:25 -08:00
Shimeng (Simon) Wang
66064914fc Keep min/max zoom scale in proportion when zoom density changes.
issue: 3341610
Change-Id: Ibf87ab499e28fddab81d4e354ec7d88f5eb86261
2011-01-20 17:45:34 -08:00