Commit Graph

5051 Commits

Author SHA1 Message Date
Leon Scroggins
baf683293d am 6ba3ef31: am bb107bd6: Many fixes to text input in the browser, particularly when moving to a new field.
Merge commit '6ba3ef31fd4672df3fb886ff458329d0d15b8456'

* commit '6ba3ef31fd4672df3fb886ff458329d0d15b8456':
  Many fixes to text input in the browser, particularly when moving to a new field.
2009-10-27 13:39:08 -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
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
Derek Sollenberger
b414895e5b am 29abcf97: am 718d69f9: changing how plugins gain/lose focus.
Merge commit '29abcf9769eff6c4e091a79d954021ca1ae28ef9'

* commit '29abcf9769eff6c4e091a79d954021ca1ae28ef9':
  changing how plugins gain/lose focus.
2009-10-27 08:30:43 -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
Cary Clark
a13fdd8033 am f751227b: am 09e383c9: tweak select text
Merge commit 'f751227b84c4fa07c33bab5c182d96dfa0c39609'

* commit 'f751227b84c4fa07c33bab5c182d96dfa0c39609':
  tweak select text
2009-10-27 08:16:58 -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
a413314001 am 9fb078ae: am d263a064: Add a test for vCard composer.
Merge commit '9fb078ae70b3ded5641a3ec40655a99d768ff032'

* commit '9fb078ae70b3ded5641a3ec40655a99d768ff032':
  Add a test for vCard composer.
2009-10-26 16:30:30 -07: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
Brad Fitzpatrick
70ece8d334 Speed up Uri.getQueryParameter by allocating less.
Sample hierarchial URL, from my ContactsProvider test case:

content://com.android.contacts/data?account_name=braddroid%40gmail.com&account_type=com.google.GAIA&caller_is_syncadapter=true

Without this patch:  (fetching the "account_name" parameter)

10000 iters: 0.5293 ms average
10000 iters: 0.5119 ms average
10000 iters: 0.5158 ms average

With this patch, rewriting it to not allocate memory (no implicit
StringBuilder), but still no caching:

1) when it needs to decode something (i.e account_name above;
   allocates memory)

  50000 iters: 0.28724 ms average
  50000 iters: 0.31774 ms average
  50000 iters: 0.28764 ms average

2) when it doesn't need to decode (and thus allocate memory,
   i.e. account_type above)

  50000 iters: 0.0954 ms average
  50000 iters: 0.09124 ms average
  50000 iters: 0.09088 ms average
2009-10-26 14:46:25 -07:00
Mike Reed
52c931b7dd am 75d56269: am 57e824f7: Merge change I8db532c1 into eclair-mr2
Merge commit '75d562696e709b6d9e61a23fc86f0cfba15e655e'

* commit '75d562696e709b6d9e61a23fc86f0cfba15e655e':
  don't turn off filtering/dithering when we scroll.
2009-10-26 06:34:26 -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
4572edb287 am fb324e70: am adddd24f: am 78a50aa1: Merge change If3c30fc9 into eclair
Merge commit 'fb324e706e487738b3edbaca67bdf459fafcd4ea'

* commit 'fb324e706e487738b3edbaca67bdf459fafcd4ea':
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 19:39:01 -07: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
Android (Google) Code Review
9e6784f053 Merge change I3183c78f
* changes:
  Plug into the new optimized path for Dalvik logging.
2009-10-23 21:24:10 -04:00
Doug Zongker
80448892e4 am 24b7dc20: am b81199b3: Merge change I885cfc23 into eclair-mr2
Merge commit '24b7dc20afabea6ebf0b1f7e80ff2aaaabe0e8bd'

* commit '24b7dc20afabea6ebf0b1f7e80ff2aaaabe0e8bd':
  make the password-clearing algorithm smarter
2009-10-23 17:11:40 -07: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
Tom Taylor
0bc089cd0b am 40c995a7: am baf4ca1b: am 246978b8: Add a method to clear info about a contact
Merge commit '40c995a704141c4b245ba422f26dc4046ed3538b'

* commit '40c995a704141c4b245ba422f26dc4046ed3538b':
  Add a method to clear info about a contact
2009-10-23 14:38:53 -07:00
Tom Taylor
40c995a704 am baf4ca1b: am 246978b8: Add a method to clear info about a contact
Merge commit 'baf4ca1bba6a93e20614d605a1232b3f34057723' into eclair-mr2-plus-aosp

* commit 'baf4ca1bba6a93e20614d605a1232b3f34057723':
  Add a method to clear info about a contact
2009-10-23 14:27:18 -07:00
Tom Taylor
baf4ca1bba am 246978b8: Add a method to clear info about a contact
Merge commit '246978b8dc89562dda47fea9a7aee61949101242' into eclair-mr2

* commit '246978b8dc89562dda47fea9a7aee61949101242':
  Add a method to clear info about a contact
2009-10-23 14:18:36 -07:00
Tom Taylor
246978b8dc Add a method to clear info about a contact
Add a method so the ContactInfoWidget will throw away the cached
info it has on a contact (e.g. picture and uri).

Change-Id: Ia8f376e356c6bcf246bbd72239c5ca2a3b7c9574
2009-10-23 13:33:25 -07:00
Leon Scroggins
a6d36d81af am 79b60972: am f0990646: Merge change I1d96ca06 into eclair-mr2
Merge commit '79b609722ef2121368b2f40a0e67ac9fecc23b7c'

* commit '79b609722ef2121368b2f40a0e67ac9fecc23b7c':
  Show the soft keyboard when pressing center key/trackball on input field
2009-10-23 09:55:07 -07: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
c5e7f55072 am 6e6dbc3f: am 1d60c5c1: Do not hide the cursor ring when clicking on an input field.
Merge commit '6e6dbc3f4dadb844b472529f51e356fd1bdc1aaa'

* commit '6e6dbc3f4dadb844b472529f51e356fd1bdc1aaa':
  Do not hide the cursor ring when clicking on an input field.
2009-10-23 09:27:17 -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
102ca28b1d am 5c73c3bc: am 46a83b4e: Make the VideoView go away automatically at the end of playback.
Merge commit '5c73c3bce410aa84bc0c57eee5b394c044035e33'

* commit '5c73c3bce410aa84bc0c57eee5b394c044035e33':
  Make the VideoView go away automatically at the end of playback.
2009-10-23 07:41:58 -07:00
Android (Google) Code Review
4ab5748720 Merge change Ibfd6d481
* changes:
  Add a reference table dump call.
2009-10-23 10:34:48 -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
68ce35ec9a am 8368e510: am c6bead14: am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit '8368e510a90ab30a9f850144f5adabb0455d26f9'

* commit '8368e510a90ab30a9f850144f5adabb0455d26f9':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:42:10 -07: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
5a5772c2ad am 44dd4732: am f3971747: am 0bf653b5: am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit '44dd4732184ce01b5fa0c7ed09347d27de60595b'

* commit '44dd4732184ce01b5fa0c7ed09347d27de60595b':
  update account manager javadoc
2009-10-22 19:07:04 -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
Andy McFadden
bfd6d481fa Add a reference table dump call.
This is just an android.os.Debug method that calls into the VM.

Bug 2075355
2009-10-22 17:25:57 -07:00
Fred Quintana
756b735e93 update account manager javadoc 2009-10-22 16:56:08 -07:00
Jesse Wilson
3183c78f19 Plug into the new optimized path for Dalvik logging. 2009-10-22 16:21:11 -07:00