Commit Graph

1458 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
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
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
Joe Onorato
4ababd922e Make the BackupHelperDispatcher properly handle multiple helpers. 2009-06-25 20:36:09 -04: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
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
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
Android (Google) Code Review
157601594f Merge change 5413 into donut
* changes:
  Need to write the correct float math.
2009-06-25 14:44:38 -07:00
Grace Kloba
2b2e9d9152 Need to write the correct float math. 2009-06-25 14:43:53 -07:00
Evan Millar
c043752ca3 Adds precedence information to the CommonDataKinds.Im class.
There is now a method getPresencePrecedence() that returns an integer
representing the precedence of a presence status, 1 being the highest
prcedence.
2009-06-25 14:38:32 -07:00
Android (Google) Code Review
f5c50bab4a Merge change 5402
* changes:
  Settings: Add preference to enable/disable assisted GPS.
2009-06-25 14:34:58 -07:00
Android (Google) Code Review
a645143c16 am eb3ec64a: Merge change 5397 into donut
Merge commit 'eb3ec64a6a962aa48a46753c6e69ce24f889a4cc'

* commit 'eb3ec64a6a962aa48a46753c6e69ce24f889a4cc':
  Fixes #1943915. Prevents circular dependency exception when using several NO_ID
2009-06-25 14:33:58 -07:00
Android (Google) Code Review
831e0ff278 am 78fb3775: Merge change 5385 into donut
Merge commit '78fb3775ee20c48980a3cfe00b8a7263422158d0'

* commit '78fb3775ee20c48980a3cfe00b8a7263422158d0':
  Updating the TextToSpeech.java with skeleton methods.
2009-06-25 14:33:52 -07:00
Jean-Michel Trivi
87c9684fd0 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:29:15 -07:00
Grace Kloba
959046c3aa resolved conflicts for merge of 7cb8182e to master 2009-06-25 14:28:04 -07:00
Mike Lockwood
bcab8df83e Settings: Add preference to enable/disable assisted GPS.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-25 17:15:32 -04:00
Fred Quintana
8b81160054 add a new error code ERROR_CODE_BAD_REQUEST 2009-06-25 13:49:17 -07:00
Android (Google) Code Review
eb3ec64a6a Merge change 5397 into donut
* changes:
  Fixes #1943915. Prevents circular dependency exception when using several NO_ID views.
2009-06-25 13:32:52 -07:00
Romain Guy
1ab621e316 Fixes #1943915. Prevents circular dependency exception when using several NO_ID
views.
2009-06-25 13:31:57 -07:00
Android (Google) Code Review
78fb3775ee Merge change 5385 into donut
* changes:
  Updating the TextToSpeech.java with skeleton methods.
2009-06-25 13:22:57 -07:00
Android (Google) Code Review
7cb8182e36 Merge change 5390 into donut
* changes:
  When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.
2009-06-25 13:18:24 -07:00
Android (Google) Code Review
94e942107b am a1fb3950: Merge change 5394 into donut
Merge commit 'a1fb3950cf46f61800d2ca41d2020037d6b2307e'

* commit 'a1fb3950cf46f61800d2ca41d2020037d6b2307e':
  Fixes #1940605. RelativeLayout was swapping horizontal and vertical
2009-06-25 13:04:23 -07:00
Romain Guy
e24ef6032f Fixes #1940605. RelativeLayout was swapping horizontal and vertical
dependencies.
2009-06-25 13:01:55 -07:00
Grace Kloba
6c451b766d When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites. 2009-06-25 12:25:30 -07:00
Android (Google) Code Review
9c71fc972e am a7251991: Merge change 5288 into donut
Merge commit 'a7251991ffb6a26e4cf23e60633c8250c78bd9df'

* commit 'a7251991ffb6a26e4cf23e60633c8250c78bd9df':
  Invoke getSystem.updateConfiguration when binding an application to
2009-06-25 12:16:48 -07:00
Android (Google) Code Review
a7251991ff Merge change 5288 into donut
* changes:
  Invoke getSystem.updateConfiguration when binding an application to update config changes in Resources.mSystem Since Resources is preloaded in the zygote, system resources in Resources need to be updated with config changes every time an application is started
2009-06-25 12:14:53 -07:00
Android (Google) Code Review
6800050876 am 0bcfc537: Merge change 5386 into donut
Merge commit '0bcfc537e81b959a7d674deea4a5aee7f5c6eb2d'

* commit '0bcfc537e81b959a7d674deea4a5aee7f5c6eb2d':
  Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is
2009-06-25 12:07:12 -07:00
Android (Google) Code Review
0bcfc537e8 Merge change 5386 into donut
* changes:
  Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is targeted.
2009-06-25 12:05:08 -07:00
Romain Guy
b8f8de8516 Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is
targeted.
2009-06-25 12:03:56 -07:00
Charles Chen
aaf842edbf Updating the TextToSpeech.java with skeleton methods. 2009-06-25 11:59:29 -07:00
Android (Google) Code Review
7e89f8eb86 Merge change 5383
* changes:
  Oops, need to hide the new api.
2009-06-25 11:57:14 -07:00