3758 Commits

Author SHA1 Message Date
Derek Sollenberger
4c41e8dc3b Adding support for webkit to request the keyboard. 2009-06-29 14:12:38 -04:00
Leon Scroggins
0ca70883d7 Assign a field name for textfields in the browser.
Fix for http://b/issue?id=1605291.  Store the url and name of the
textfield in EditorInfo.fieldName.
2009-06-29 10:50:17 -04:00
Leon Scroggins
0658e8fe45 If the cursor moves from a focused textfield to another, remove the WebTextView.
We already remove the blinking caret, implying that if the user
types with the cursor on another textfield, the keys will go there.
This way, the WebView will see the key, and rebuild the WebTextView,
so we no longer use the data from the first textfield.  This fixes
a bug where moving from a focused textfield and pressing delete
with the cursor on another was deleting a character from the
first (initially focused) textfield.  Also, in WebView::onKeyDown,
only check if the native cursor is a textfield before deciding
whether to send a CLICK, since plugins will be handled differently
(this is part of a different change), and now the cursor may match
the focus, but we still want the click (to make the focusController
active - i.e. make the cursor blink).
2009-06-29 10:16:24 -04:00
Cary Clark
243ea06d2b Remove the web text view if the key cannot be handled
Also add some debugging to WebTextView
Requires companion change in external/webkit
2009-06-29 09:30:42 -04:00
Cary Clark
215b72cbf7 route arrow keys to plugin
see companion change in external/webkit
2009-06-29 08:23:18 -04:00
Leon Scroggins
ef6da8fe3d Make clicking the trackball on a <select> element work.
Optionally pass a frame and node pointer to nativeClick, since
the hit testing does not find the HTMLSelectElement node. Also
change the signature of nativeClick to return void, since
we never use the return value.  Requires a change in
external/webkit.
2009-06-26 15:33:47 -04:00
Grace Kloba
53d3c1e451 Fine tune TOUCH_SENT_INTERVAL for the high speed devices. 2009-06-26 11:36:03 -07:00
Android (Google) Code Review
ef7b5d6da5 Merge change 5503
* changes:
  Update WebKit user agent.
2009-06-26 11:05:11 -07:00
Android (Google) Code Review
cf906decf1 am b65dba45: Merge change 5470 into donut
Merge commit 'b65dba4560f7aff894ebcdbe8468daeaae3489c8'

* commit 'b65dba4560f7aff894ebcdbe8468daeaae3489c8':
  Use the same interface in the TTS engine interface for setLanguage and loadLanguage.
2009-06-26 10:55:35 -07:00
Android (Google) Code Review
b65dba4560 Merge change 5470 into donut
* changes:
  Use the same interface in the TTS engine interface for setLanguage and loadLanguage. Adding function to check the support level for a language in TTS engine interface.
2009-06-26 10:53:23 -07:00
Joe Onorato
c3096829b7 am aae628b4: Test that we correctly back up an empty file.
Merge commit 'aae628b44518f0886a7f33b88c1131f47d853e70'

* commit 'aae628b44518f0886a7f33b88c1131f47d853e70':
  Test that we correctly back up an empty file.
2009-06-26 10:00:16 -07:00
Joe Onorato
aae628b445 Test that we correctly back up an empty file.
(It turns out that we do.  It didn't used to work, I'm not
sure what changed)
2009-06-26 12:57:45 -04:00
Jean-Michel Trivi
d6d03e05be Use the same interface in the TTS engine interface for setLanguage and loadLanguage.
Adding function to check the support level for a language in TTS engine interface.
2009-06-26 09:46:28 -07:00
San Mehat
485f971e9d am 7d619f18: framework: process: Set the control group of a thread to the background group if the priority is logically-lower than ANDROID_PRIORITY_BACKGROUND
Merge commit '7d619f18a277ee3114624df7301db94db83936b9'

* commit '7d619f18a277ee3114624df7301db94db83936b9':
  framework: process: Set the control group of a thread to the background group
2009-06-26 09:19:48 -07:00
San Mehat
7d619f18a2 framework: process: Set the control group of a thread to the background group
if the priority is logically-lower than ANDROID_PRIORITY_BACKGROUND

Signed-off-by: San Mehat <san@google.com>
2009-06-26 08:38:13 -07:00
Mike Lockwood
a84b6faffb ConnectivityManager: Add support for bringing up the default APN.
The default APN can now be requested by calling
ConnectivityManager.startUsingNetworkFeature(Phone.FEATURE_ENABLE_DEFAULT).

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-26 10:26:34 -04:00
Andrei Popescu
6fa2958059 Implement support for showing a VideoView. 2009-06-26 13:57:01 +01:00
Grace Kloba
b4f33445b8 Update WebKit user agent. 2009-06-25 23:38:40 -07:00
David Krause
aec9632db0 am 5c7d9e81: CDMA incoming MMS fixes
Merge commit '5c7d9e8194900a2b1699cd57f95b22ca5f7b9be2'

* commit '5c7d9e8194900a2b1699cd57f95b22ca5f7b9be2':
  CDMA incoming MMS fixes
2009-06-25 22:01:20 -07:00
David Krause
5c7d9e8194 CDMA incoming MMS fixes
Need to correctly interpret WAP Datagram data. Specifically the
source and destination ports are only included in the 1st segment,
not subsequent segments but the original implementation was looking
for the ports for all segments.
2009-06-25 21:56:24 -07:00
Joe Onorato
0da0ee6f5f am 4a64bded: Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done.
Merge commit '4a64bded06a0299785c295a975e2818308eb53e2'

* commit '4a64bded06a0299785c295a975e2818308eb53e2':
  Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done.
2009-06-25 20:56:00 -07:00
Joe Onorato
4a64bded06 Add some helpful tests scripts for backup and make bmgr restore wait until the backup is done. 2009-06-25 23:53:29 -04:00
Joe Onorato
848358f680 am 5e8a4b84: Give the bmgr command an IRestoreObserver too.
Merge commit '5e8a4b842c20dd47b82e9915f1bd730ee1b0d46d'

* commit '5e8a4b842c20dd47b82e9915f1bd730ee1b0d46d':
  Give the bmgr command an IRestoreObserver too.
2009-06-25 18:36:54 -07:00
Joe Onorato
5e8a4b842c Give the bmgr command an IRestoreObserver too. 2009-06-25 21:34:49 -04:00
Christopher Tate
0d8dc14256 am 7d562ec3: Add a new IRestoreObserver callback class to the restore process
Merge commit '7d562ec393d54dd9ef387c49d1283243bfdbd2b1'

* commit '7d562ec393d54dd9ef387c49d1283243bfdbd2b1':
  Add a new IRestoreObserver callback class to the restore process
2009-06-25 18:13:19 -07:00
Christopher Tate
7d562ec393 Add a new IRestoreObserver callback class to the restore process
The observer is told when restore begins how many packages are being restored.
It then gets an onUpdate() call telling it that the Nth package is now
undergoing restore.  Ultimately, its restoreFinished() callback is invoked,
passing a simple success/fail error code, to let it know that the restore
operation has concluded.
2009-06-25 18:09:28 -07:00
Android (Google) Code Review
2df7c15aa0 am b505ae41: Merge change 5459 into donut
Merge commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08'

* commit 'b505ae4195d9b8a93c71b1f9da6d7d8c3aaa3c08':
  Make the BackupHelperDispatcher properly handle multiple helpers.
2009-06-25 18:06:01 -07:00
Android (Google) Code Review
b505ae4195 Merge change 5459 into donut
* changes:
  Make the BackupHelperDispatcher properly handle multiple helpers.
2009-06-25 18:04:05 -07:00
Android (Google) Code Review
6d65c2304b am ee513b60: Merge change 5444 into donut
Merge commit 'ee513b600efeb55040030a3dc9c8e7ef74b36149'

* commit 'ee513b600efeb55040030a3dc9c8e7ef74b36149':
  In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received.
2009-06-25 17:37:43 -07:00
Joe Onorato
4ababd922e Make the BackupHelperDispatcher properly handle multiple helpers. 2009-06-25 20:36:09 -04:00
Android (Google) Code Review
ee513b600e Merge change 5444 into donut
* changes:
  In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received.
2009-06-25 17:35:59 -07:00
Jean-Michel Trivi
6c24f24b3e In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received. 2009-06-25 17:10:26 -07:00
Dmitri Plotnikov
693d50e7ae Moving send-to-voicemail and ringtone-uri up to the aggregate level. 2009-06-25 16:38:06 -07:00
Android (Google) Code Review
8df2770995 Merge change 5234
* changes:
  Adds precedence information to the CommonDataKinds.Im class.
2009-06-25 16:22:08 -07:00
Christopher Tate
7f94b60c6d am 5cb400bd: Keep track of backup state independently for each transport
Merge commit '5cb400bd72726c22f641f334951b35ce2ddcfeef'

* commit '5cb400bd72726c22f641f334951b35ce2ddcfeef':
  Keep track of backup state independently for each transport
2009-06-25 16:15:54 -07:00
Android (Google) Code Review
8bf2f6806d am 2f437b4c: Merge change 5434 into donut
Merge commit '2f437b4c56db1750cc6cb3d1ad549a79049b6370'

* commit '2f437b4c56db1750cc6cb3d1ad549a79049b6370':
  Adding splitting to the TTS to guard against extremely long strings.
2009-06-25 16:10:22 -07:00
Christopher Tate
5cb400bd72 Keep track of backup state independently for each transport
Backup transports now provide the Backup Manager with a suggested name with
which it can disambiguate any transport-specific bookkeeping that it needs to
maintain.  The Manager keeps separate application backup 'state blobs' for each
transport now, preventing things from getting out of step if the device is
switched among multiple transports.

Also, the metadata backup agent is always invoked now on each backup pass.  This
is cheap when there is nothing to do, but also strongly ensures that we never
wind up in a situation where a given transport destination has not been given
all of the metadata necessary for the backup set.
2009-06-25 16:09:03 -07:00
Android (Google) Code Review
2f437b4c56 Merge change 5434 into donut
* changes:
  Adding splitting to the TTS to guard against extremely long strings.
2009-06-25 16:08:14 -07:00
Charles Chen
1aacdcfaa9 Adding splitting to the TTS to guard against extremely long strings. 2009-06-25 16:00:13 -07:00
Android (Google) Code Review
a2071618a0 am 6067d953: Merge change 5428 into donut
Merge commit '6067d953d7c6c0216a383fe520222fa6a23926fa'

* commit '6067d953d7c6c0216a383fe520222fa6a23926fa':
  Improve handling of FILL_PARENT in RelativeLayout.
2009-06-25 15:30:46 -07:00
Android (Google) Code Review
6067d953d7 Merge change 5428 into donut
* changes:
  Improve handling of FILL_PARENT in RelativeLayout.
2009-06-25 15:28:10 -07:00
Romain Guy
f782e60efc Improve handling of FILL_PARENT in RelativeLayout.
This was causing trouble with VideoView, in Gallery in particular.
2009-06-25 15:26:49 -07:00
Android (Google) Code Review
1f7300818f am c44989d6: Merge change 5350 into donut
Merge commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e'

* commit 'c44989d6c7bcc761fb37f54fd37aac2070ba8e5e':
  move ui/Time.cpp to core/jni, since this is the only place it is used
2009-06-25 15:11:09 -07:00
Android (Google) Code Review
c44989d6c7 Merge change 5350 into donut
* changes:
  move ui/Time.cpp to core/jni, since this is the only place it is used
2009-06-25 15:09:44 -07:00
Android (Google) Code Review
98c600eb35 am 2450173b: Merge change 5414 into donut
Merge commit '2450173b78b27ca744e5d2e58efa35560ce73f8c'

* commit '2450173b78b27ca744e5d2e58efa35560ce73f8c':
  Add caching of the speech rate and language in android.speech.tts.TextToSpeech
2009-06-25 14:59:50 -07:00
Android (Google) Code Review
2450173b78 Merge change 5414 into donut
* changes:
  Add caching of the speech rate and language in android.speech.tts.TextToSpeech so the speech params can be passed along in calls for text synthesis.
2009-06-25 14:58:51 -07:00
Android (Google) Code Review
5afeaff164 am c4e0ff75: Merge change 5417 into donut
Merge commit 'c4e0ff750e98dfec61aff76f22743d819189f802'

* commit 'c4e0ff750e98dfec61aff76f22743d819189f802':
  Fixes #1943309. RelativeLayout was confused by gravities.
2009-06-25 14:52:04 -07:00
Android (Google) Code Review
c4e0ff750e Merge change 5417 into donut
* changes:
  Fixes #1943309. RelativeLayout was confused by gravities.
2009-06-25 14:49:23 -07:00
Romain Guy
f7dabb088a Fixes #1943309. RelativeLayout was confused by gravities.
RelativeLayout, when measured with AT_MOST, was applying the gravity on its
children way too early. This caused the RL to set its measured size to
a value that was larger than necessary. This fixes the issue by deferring
the positioning of the gravity-dependent children until the dimensions
of the layout are known.
2009-06-25 14:47:14 -07:00
Android (Google) Code Review
d76cd5ebbc am 15760159: Merge change 5413 into donut
Merge commit '157601594fc7139a45ec43a860d36ee0045d0333'

* commit '157601594fc7139a45ec43a860d36ee0045d0333':
  Need to write the correct float math.
2009-06-25 14:45:45 -07:00