Commit Graph

4115 Commits

Author SHA1 Message Date
Daisuke Miyakawa
3372855754 am d95a02c2: Fix test breakage in Zaku. Modification to PhoneNumberUtils included.
Merge commit 'd95a02c2a652ffe35dcc0336a3e35d91b1027d54' into eclair-mr2-plus-aosp

* commit 'd95a02c2a652ffe35dcc0336a3e35d91b1027d54':
  Fix test breakage in Zaku. Modification to PhoneNumberUtils included.
2009-10-28 23:33:07 -07:00
Daisuke Miyakawa
aa06a0e086 am 3c828e24: Merge change I9195a354 into eclair-mr2
Merge commit '3c828e24a950a7fa4d17e22b5afa37a4006126f0' into eclair-mr2-plus-aosp

* commit '3c828e24a950a7fa4d17e22b5afa37a4006126f0':
  Add partial support of Android-specific properties.
2009-10-28 23:32:41 -07:00
Dan Egnor
473bbd2140 am 95240270: Instead of a raw AIDL interface, give DropBox a Java interface (android.os.DropBox); move the Binder interface behind the scenes. Make DropBoxEntry into DropBox.Entry. Make it possible to get a dropbox from an (Application)Context with the usual getSyste
Merge commit '952402704a175ba27f6c89dff1ada634c5ce5626' into eclair-mr2-plus-aosp

* commit '952402704a175ba27f6c89dff1ada634c5ce5626':
  Instead of a raw AIDL interface, give DropBox a Java
2009-10-28 23:32:21 -07:00
Daisuke Miyakawa
d95a02c2a6 Fix test breakage in Zaku. Modification to PhoneNumberUtils included.
Also add method String formatNumber(String source, int defaultFormattingType) with @hide tag.

Internal Issue number: 2217362
2009-10-29 11:01:07 +09:00
Android (Google) Code Review
3c828e24a9 Merge change I9195a354 into eclair-mr2
* changes:
  Add partial support of Android-specific properties.
2009-10-28 21:54:29 -04:00
Daisuke Miyakawa
837cba33c5 Add partial support of Android-specific properties.
In the near future, all the values which cannot be converted to
vCard property is expressed as "X-ANDROID-CUSTOM" property + MIME_TYPE.

Example (Nick name):
X-ANDROID-CUSTOM:vnd.android.cursor.item/nickname;Nicky;;;;;;;;;;;;;

All the data are stored ordered by its column name ("data1" - "data15").
Currently the code assumes the max num is 15.

Internal Issue number: 2079082
2009-10-29 09:16:31 +09:00
Dan Egnor
952402704a Instead of a raw AIDL interface, give DropBox a Java
interface (android.os.DropBox); move the Binder interface
behind the scenes.  Make DropBoxEntry into DropBox.Entry.
Make it possible to get a dropbox from an (Application)Context
with the usual getSystemService(DROPBOX_SERVICE) type thing.
Update the tests accordingly.
2009-10-28 15:49:11 -07:00
Amith Yamasani
9acffe7639 am 26d4e539: am 678cdbe5: Fix build.
Merge commit '26d4e539676346236082ed1d3eccdf078980b7d5' into eclair-mr2-plus-aosp

* commit '26d4e539676346236082ed1d3eccdf078980b7d5':
  Fix build.
2009-10-28 12:46:41 -07:00
Amith Yamasani
ef20445432 am 4ac5066d: am aea1b3b2: Disambiguation between multiple pointers and swipe gestures.
Merge commit '4ac5066d53b40ec59a1f30ca11b8d5e1ba25659d' into eclair-mr2-plus-aosp

* commit '4ac5066d53b40ec59a1f30ca11b8d5e1ba25659d':
  Disambiguation between multiple pointers and swipe gestures.
2009-10-28 12:46:26 -07:00
Amith Yamasani
26d4e53967 am 678cdbe5: Fix build.
Merge commit '678cdbe55e0de71436f8aad5f139eafc2ab6f937' into eclair-mr2

* commit '678cdbe55e0de71436f8aad5f139eafc2ab6f937':
  Fix build.
2009-10-28 11:42:56 -07:00
Amith Yamasani
4ac5066d53 am aea1b3b2: Disambiguation between multiple pointers and swipe gestures.
Merge commit 'aea1b3b24ee895c24ed25c5706bc2f390b41689d' into eclair-mr2

* commit 'aea1b3b24ee895c24ed25c5706bc2f390b41689d':
  Disambiguation between multiple pointers and swipe gestures.
2009-10-28 11:42:35 -07:00
Jaikumar Ganesh
e1cba3dbad am 9fa7048c: am 6158038a: Merge change I2811f162 into eclair
Merge commit '9fa7048ca3a7b5184ce761bbf908c512d524b9e2' into eclair-mr2-plus-aosp

* commit '9fa7048ca3a7b5184ce761bbf908c512d524b9e2':
  Add Authentication Type field to the APN settings.
2009-10-28 10:37:57 -07:00
Jaikumar Ganesh
9fa7048ca3 am 6158038a: Merge change I2811f162 into eclair
Merge commit '6158038a09069bc178970160d4b3667573bfc655' into eclair-mr2

* commit '6158038a09069bc178970160d4b3667573bfc655':
  Add Authentication Type field to the APN settings.
2009-10-28 10:30:11 -07:00
Leon Scroggins
6ba3ef31fd am bb107bd6: Many fixes to text input in the browser, particularly when moving to a new field.
Merge commit 'bb107bd6f7981cd2b2e31a0afc6f6bf2a6d5118f' into eclair-mr2-plus-aosp

* commit 'bb107bd6f7981cd2b2e31a0afc6f6bf2a6d5118f':
  Many fixes to text input in the browser, particularly when moving to a new field.
2009-10-27 13:20:33 -07:00
Amith Yamasani
678cdbe55e Fix build. 2009-10-27 11:45:08 -07:00
Leon Scroggins
bb107bd6f7 Many fixes to text input in the browser, particularly when moving to a new field.
Remove many instances where we are setting selection unnecessarily.  Instead, only
set the selection due to a click, touch, or inserting a character.  A touch will
now set the selection properly, rather than at the beginning/end, fixing
http://b/issue?id=1650395  Also fixes http://b/issue?id=2208188

Requires a change to external/webkit.
2009-10-27 13:34:45 -04:00
Amith Yamasani
aea1b3b24e Disambiguation between multiple pointers and swipe gestures.
Sometimes quickly touching the screen with two fingers will result
in the firmware thinking one finger moved very quickly. This code
tries to identify the difference between the two based on velocity
of the last N points versus the velocity of the last M points and
figure out if there was mostly acceleration or a sudden deceleration.

It's still not perfect and very dependent on the touch hardware.
2009-10-27 10:27:49 -07:00
Derek Sollenberger
29abcf9769 am 718d69f9: changing how plugins gain/lose focus.
Merge commit '718d69f931e320b9a8d98371a0b4925d7c2e83f4' into eclair-mr2-plus-aosp

* commit '718d69f931e320b9a8d98371a0b4925d7c2e83f4':
  changing how plugins gain/lose focus.
2009-10-27 08:24:32 -07:00
Derek Sollenberger
718d69f931 changing how plugins gain/lose focus.
Previously we were keeping our own state in the UI thread to
determine when to send events to the plugin. This change removes
that logic and uses the document focus to determine when events
are to be sent. This also fixes problems with the plugins
occasionally not receiving lose focus events.

see bug http://b/2033843
2009-10-27 11:09:17 -04:00
Cary Clark
f751227b84 am 09e383c9: tweak select text
Merge commit '09e383c9ff4a3b762084e999dfb5fdd347abc151' into eclair-mr2-plus-aosp

* commit '09e383c9ff4a3b762084e999dfb5fdd347abc151':
  tweak select text
2009-10-27 08:00:49 -07:00
Cary Clark
09e383c9ff tweak select text
Explicitly draw the region and pointer from java.

Set up the starting selection criteria from both hard keyboard
and menu 'Select Text'.

Add invalidate() to show transition from arrow to ibeam
immediately, and to dismiss copy region immediately.

partially fixes http://b/issue?id=1667690
2009-10-27 10:50:16 -04:00
Daisuke Miyakawa
9fb078ae70 am d263a064: Add a test for vCard composer.
Merge commit 'd263a064f7a77768c3e70a98f286960b67dc1aa5' into eclair-mr2-plus-aosp

* commit 'd263a064f7a77768c3e70a98f286960b67dc1aa5':
  Add a test for vCard composer.
2009-10-26 16:18:17 -07:00
Daisuke Miyakawa
d263a064f7 Add a test for vCard composer.
Also modify the behavior of vCard composer so that it honer FN than N toward
DISPLAY_NAME.

Internal issuen number: 2195990
2009-10-27 08:10:35 +09:00
Android (Google) Code Review
6158038a09 Merge change I2811f162 into eclair
* changes:
  Add Authentication Type field to the APN settings.
2009-10-26 18:14:15 -04:00
Jaikumar Ganesh
2811f1625e Add Authentication Type field to the APN settings.
Use auth type to setup data connection.
This value defaults to -1 (unset) to maintain compatibility.
When the value is -1, the auth type gets set to 0 (if no user is specified)
or 3.
Bug: 181700
2009-10-26 13:11:55 -07:00
Eric Laurent
a47d153647 do not merge - Fix for issue 2184627 cherry picked from eclair-mr2
Bluetooth A2DP suspend-resume improvements.

This change will reduce the occurence rate of A2DP sink suspend resume failures observed in issues 2184627, 2181005 and possibly 2189628.

More robust suspend/resume logic.
Use only the suspend request to audio hardware to avoid having two concurent suspend resume control paths.
2009-10-26 09:17:10 -07:00
Mike Reed
75d562696e am 57e824f7: Merge change I8db532c1 into eclair-mr2
Merge commit '57e824f7c33caf1e8c9cb08795464df4b8dbb218' into eclair-mr2-plus-aosp

* commit '57e824f7c33caf1e8c9cb08795464df4b8dbb218':
  don't turn off filtering/dithering when we scroll.
2009-10-26 06:24:48 -07:00
Android (Google) Code Review
57e824f7c3 Merge change I8db532c1 into eclair-mr2
* changes:
  don't turn off filtering/dithering when we scroll.
2009-10-26 09:16:20 -04:00
Andrew Harp
fb324e706e am adddd24f: am 78a50aa1: Merge change If3c30fc9 into eclair
Merge commit 'adddd24f31291f733cd5f72898b92f13f37ae37c' into eclair-mr2-plus-aosp

* commit 'adddd24f31291f733cd5f72898b92f13f37ae37c':
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 19:28:29 -07:00
Andrew Harp
adddd24f31 am 78a50aa1: Merge change If3c30fc9 into eclair
Merge commit '78a50aa1db6572ba7d9f9d91c6eb16f993c09f40' into eclair-mr2

* commit '78a50aa1db6572ba7d9f9d91c6eb16f993c09f40':
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 19:17:59 -07:00
Android (Google) Code Review
78a50aa1db Merge change If3c30fc9 into eclair
* changes:
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 22:08:30 -04:00
Doug Zongker
24b7dc20af am b81199b3: Merge change I885cfc23 into eclair-mr2
Merge commit 'b81199b3eed6f6079e5dc7bedeaa50712f3d9b11' into eclair-mr2-plus-aosp

* commit 'b81199b3eed6f6079e5dc7bedeaa50712f3d9b11':
  make the password-clearing algorithm smarter
2009-10-23 16:58:52 -07:00
Android (Google) Code Review
b81199b3ee Merge change I885cfc23 into eclair-mr2
* changes:
  make the password-clearing algorithm smarter
2009-10-23 19:51:26 -04:00
Leon Scroggins
79b609722e am f0990646: Merge change I1d96ca06 into eclair-mr2
Merge commit 'f0990646d505ec06d400debe5fd5c895fcb02f13' into eclair-mr2-plus-aosp

* commit 'f0990646d505ec06d400debe5fd5c895fcb02f13':
  Show the soft keyboard when pressing center key/trackball on input field
2009-10-23 09:44:11 -07:00
Leon Scroggins
1d96ca06d8 Show the soft keyboard when pressing center key/trackball on input field
Fixes http://b/issue?id=2210234

Consolidate center key/trackball presses on input fields, and show
soft keyboard if the field is not readonly.  Also rename the method
for a center press, and pass a click rather than a touch.  Requires
a change in external/webkit.
2009-10-23 11:49:03 -04:00
Leon Scroggins
6e6dbc3f4d am 1d60c5c1: Do not hide the cursor ring when clicking on an input field.
Merge commit '1d60c5c16b92ddc64d10f13da8af7faaae22cd2f' into eclair-mr2-plus-aosp

* commit '1d60c5c16b92ddc64d10f13da8af7faaae22cd2f':
  Do not hide the cursor ring when clicking on an input field.
2009-10-23 08:43:18 -07:00
Leon Scroggins
1d60c5c16b Do not hide the cursor ring when clicking on an input field.
When pressing the trackball on a text input field, do not call
setFollowedLink, which results in the cursor ring disappearing and
the WebTextView being torn down.  Fixes http://b/issue?id=2210127
2009-10-23 11:22:36 -04:00
Andrei Popescu
5c73c3bce4 am 46a83b4e: Make the VideoView go away automatically at the end of playback.
Merge commit '46a83b4ead517b9fc13b4bee4c59c3eaf4d3fdd9' into eclair-mr2-plus-aosp

* commit '46a83b4ead517b9fc13b4bee4c59c3eaf4d3fdd9':
  Make the VideoView go away automatically at the end of playback.
2009-10-23 07:29:27 -07:00
Andrei Popescu
46a83b4ead Make the VideoView go away automatically at the end of playback.
Fixes http://b/issue?id=2210018
2009-10-23 13:53:14 +01:00
Andrew Harp
94927dffce Patching in hidden API to allow app managed preview frame buffers.
Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee
2009-10-23 01:44:47 -04:00
Dianne Hackborn
8368e510a9 am c6bead14: am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce' into eclair-mr2-plus-aosp

* commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:32:09 -07:00
Dianne Hackborn
c6bead14fe am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-mr2

* commit '7580493b014a2c7ea883cd291255798dc72ebbff':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:21:07 -07:00
Dianne Hackborn
7580493b01 Implement feature #2117336: Create event communication APIs for live wallpaper
Note: currently only implements an async version (no result), and not yet
actually tested.

Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
2009-10-22 20:10:53 -07:00
Fred Quintana
44dd473218 am f3971747: am 0bf653b5: am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit 'f3971747506ca9055e7b5c42a809ac12f8c26ad3' into eclair-mr2-plus-aosp

* commit 'f3971747506ca9055e7b5c42a809ac12f8c26ad3':
  update account manager javadoc
2009-10-22 18:39:44 -07:00
Fred Quintana
f397174750 am 0bf653b5: am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit '0bf653b531b8582012ed211fe65e50702589a7c4' into eclair-mr2

* commit '0bf653b531b8582012ed211fe65e50702589a7c4':
  update account manager javadoc
2009-10-22 18:29:59 -07:00
Fred Quintana
0bf653b531 am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit 'f4520f3e03e120ed109a579c1936994b142523c3' into eclair

* commit 'f4520f3e03e120ed109a579c1936994b142523c3':
  update account manager javadoc
2009-10-22 17:53:28 -07:00
Fred Quintana
756b735e93 update account manager javadoc 2009-10-22 16:56:08 -07:00
Mike Reed
8db532c136 don't turn off filtering/dithering when we scroll.
Newer devices have proven plenty fast to leave the quality improvements on even during drag/scroll.
2009-10-22 17:18:28 -04:00
Cary Clark
d2d630b1b5 am d9ec29f6: fix text area insertion order, partially
Merge commit 'd9ec29f64827bc703a23b1c33d653906a91713fc' into eclair-mr2-plus-aosp

* commit 'd9ec29f64827bc703a23b1c33d653906a91713fc':
  fix text area insertion order, partially
2009-10-22 12:27:10 -07:00
Cary Clark
d9ec29f648 fix text area insertion order, partially
While Leon mulls over how to rewrite WebTextView to
handle webkit driven focus changes, these fixes make
the current code slightly more stable.

Keep track of when keyDown is sent again so that the
WebTextView won't be rebuilt in that case.

Don't clear the cursor from WebTextView if the there's
no native focus pointer.

Only set the selection to its initial state once when
passing events down to webkit.

partially fixes http://b/issue?id=2201049
2009-10-22 15:18:02 -04:00