John Reck
85712e6180
am 1f00a987: am 88b756cd: Merge "Don\'t show the touch highlight for double taps" into jb-dev
...
* commit '1f00a987ac693a81cbd3739b903e981465451305':
Don't show the touch highlight for double taps
2012-05-21 12:44:09 -07:00
Charles Chen
828328489e
am a48374db: am c6015df1: Merge "Add actions to non-JavaScript accessibility handler." into jb-dev
...
* commit 'a48374db17a04f12a60e9363721769dbfff01e65':
Add actions to non-JavaScript accessibility handler.
2012-05-21 12:43:08 -07:00
Charles Chen
2e19d34137
am 4d39ba26: am 9a9a041c: Merge "Add movement actions to JS accessibility." into jb-dev
...
* commit '4d39ba269c890e2746f439ac52d91704744c25f3':
Add movement actions to JS accessibility.
2012-05-21 12:43:05 -07:00
John Reck
0bbce0e8fb
am ce619a96: am 3d6f7ead: Merge "Tweak show/hide of touch highlight" into jb-dev
...
* commit 'ce619a9675bcb2278bf9a078fb44bb4b1d728dd3':
Tweak show/hide of touch highlight
2012-05-21 12:43:02 -07:00
George Mount
314fcc396f
am aa5f8581: am ea1603de: Merge "Update the IME with selection and composing region changes." into jb-dev
...
* commit 'aa5f858176c903e94fa8ce07f5777d4935ef3a4e':
Update the IME with selection and composing region changes.
2012-05-21 12:42:17 -07:00
George Mount
8d47082d8f
am e0df34f6: am bb8549db: Merge "Sync the selection cursor when adjusting caret handle." into jb-dev
...
* commit 'e0df34f60374ce94b409b4360504fc7d2680db53':
Sync the selection cursor when adjusting caret handle.
2012-05-21 12:42:13 -07:00
Svetoslav Ganov
d47ddda1ce
am 91408aae: am 308904dc: Merge "Refactor WebView accessibility code into a separate class." into jb-dev
...
* commit '91408aae7ad61c2c38145ba1da235fffcb826544':
Refactor WebView accessibility code into a separate class.
2012-05-21 12:40:26 -07:00
John Reck
a12712f836
am 5653f280: am 76c0c612: Merge "Don\'t send an ontouchmove until slop is exceeded" into jb-dev
...
* commit '5653f28030ef9ed5d457216cec67e1082c6b7ec4':
Don't send an ontouchmove until slop is exceeded
2012-05-21 12:39:55 -07:00
George Mount
1b4aab6640
am 23542062: am 3c814072: Merge "Only clear the caret when in caret selection mode." into jb-dev
...
* commit '2354206216f13ace061c5000f045db066f6e074d':
Only clear the caret when in caret selection mode.
2012-05-21 12:39:47 -07:00
George Mount
2a21049117
am 45240cb3: am 84c4b08b: Merge changes Ia5729aaf,I91584b7d into jb-dev
...
* commit '45240cb33ac88c5839df2e9c7e55c18b0aa7b517':
Remove selection highlight when replacing/deleting.
Don't do character add/delete when there is a selection.
2012-05-21 12:39:44 -07:00
Ben Murdoch
82a83da301
am d36bde24: am 93e3bf12: Merge "Fix up the WebCoreThreadWatchdog" into jb-dev
...
* commit 'd36bde2494a8635bc633d4bbd02f82bbfb72b7db':
Fix up the WebCoreThreadWatchdog
2012-05-21 12:39:40 -07:00
George Mount
4527a8d641
Consider fixed layers when scrolling the edit box.
...
Bug 6147580
Webkit Change: I810891decf0bad682e90f29f0f65c6b765b7d6d6
Change-Id: Idaa538824e611acd64eb5a4ccb7866d3c978a077
2012-05-18 13:56:27 -07:00
John Reck
88b756cd24
Merge "Don't show the touch highlight for double taps" into jb-dev
2012-05-17 20:03:17 -07:00
John Reck
aa5af8d004
Don't show the touch highlight for double taps
...
Bug: 6490959
Change-Id: I5a6cfa3d36f1df28d9c3b03e120f59581ee22c01
2012-05-17 19:57:08 -07:00
Charles Chen
c6015df128
Merge "Add actions to non-JavaScript accessibility handler." into jb-dev
2012-05-17 16:55:40 -07:00
Charles Chen
9a9a041cb7
Merge "Add movement actions to JS accessibility." into jb-dev
2012-05-17 16:55:20 -07:00
John Reck
3d6f7eadb2
Merge "Tweak show/hide of touch highlight" into jb-dev
2012-05-17 16:44:14 -07:00
George Mount
ea1603de2a
Merge "Update the IME with selection and composing region changes." into jb-dev
2012-05-17 15:21:07 -07:00
George Mount
e41dfd9759
Sync the selection cursor when adjusting caret handle.
...
Bug 6512357
Change-Id: Ie8b0c6a17ea668b2c4ba9f3de404fdc0c2d319f8
2012-05-17 14:10:28 -07:00
John Reck
eb11f47353
Tweak show/hide of touch highlight
...
Bug: 6490959
Fixes the issue where we will show the old tap highlight
if webkit isn't quick enough to respond
Change-Id: Icd9864d276b6ad311e3f3dc4deaa7085e3769006
2012-05-17 13:47:39 -07:00
George Mount
cdd48a70df
Update the IME with selection and composing region changes.
...
Bug 6507332
The IME must be informed whenever the selection or composing
region changes so that it can adjust its replacement regions
and suggestions.
Change-Id: I484b112a2fede6528b0bc506711284b59bd886d1
2012-05-17 10:51:18 -07:00
Svetoslav Ganov
308904dcd0
Merge "Refactor WebView accessibility code into a separate class." into jb-dev
2012-05-17 10:32:27 -07:00
John Reck
76c0c612cd
Merge "Don't send an ontouchmove until slop is exceeded" into jb-dev
2012-05-17 09:22:06 -07:00
George Mount
3c8140723f
Merge "Only clear the caret when in caret selection mode." into jb-dev
2012-05-17 09:05:37 -07:00
George Mount
84c4b08bd4
Merge changes Ia5729aaf,I91584b7d into jb-dev
...
* changes:
Remove selection highlight when replacing/deleting.
Don't do character add/delete when there is a selection.
2012-05-17 09:05:30 -07:00
Ben Murdoch
74d37b9653
Fix up the WebCoreThreadWatchdog
...
Make the WebCoreWatchdog aware of the WebViews it is monitoring
(rather than the Activity context which may become stale) and
ensure that the code for the prompt dialog is run on the UI
thread.
Bug: 6420310
Change-Id: Ied003938edb04858c85bcc2491c4b2c4c0ede6eb
2012-05-17 12:38:07 +01:00
John Reck
94c478e9e5
Don't send an ontouchmove until slop is exceeded
...
Bug: 6490959
Change-Id: I0f447f65c84f9ce208ce52caba05e7dcb2f76bc5
2012-05-16 20:34:48 -07:00
alanv
6a62b77dfb
Add actions to non-JavaScript accessibility handler.
...
Bug: 5932640
Change-Id: I302cfc6410d716ac46e1adb922de3079c4e4b4f3
2012-05-16 20:28:29 -07:00
alanv
448902d757
Add movement actions to JS accessibility.
...
Bug: 5932640
Change-Id: I80e210adbef266b1ec9bc1cad7eeacb70529bdba
2012-05-16 20:27:47 -07:00
alanv
525823a754
Refactor WebView accessibility code into a separate class.
...
Bug: 5932640
Change-Id: I52ab57f51c5904cbcf56307f17f406b2a30d6b91
2012-05-16 20:01:51 -07:00
John Reck
b27a4f9b0e
Merge "Remove custom scrollbar logic" into jb-dev
2012-05-16 17:35:08 -07:00
John Reck
7c2e329ef2
Remove custom scrollbar logic
...
Bug: 6505722
When we scroll the base layer we do so by calling scrollTo on the view,
which handles all the scrollbar logic for us. Remove the custom keep alive
code which floods the handler queue, as well as remove the unnecessary
invalidate and awakenScrollbar calls (View does that for us)
Change-Id: Ia2503c549a22ec71d99295fe62b676fecc367ea3
2012-05-16 15:21:18 -07:00
George Mount
c4c3bc9b83
Remove selection highlight when replacing/deleting.
...
Bug 6506101
Change-Id: Ia5729aafa30cbb502e94adf92f7534cb552199a6
2012-05-16 15:20:03 -07:00
George Mount
0925a76bb9
Only clear the caret when in caret selection mode.
...
Bug 6506761
Change-Id: I5772691053bff30c25870e6068f5d85b850b7b81
2012-05-16 15:01:46 -07:00
John Reck
435e6f5fd2
Fix android:focusableInTouchMode support
...
Bug: 6448106
Change-Id: I17161754eaf08145623466a6db25893e3e5b2e16
2012-05-16 14:56:20 -07:00
George Mount
5d09bf69e2
Don't do character add/delete when there is a selection.
...
Bug 6506644
Change-Id: I91584b7df23951bc5e735b25161ed6e0bcdbc2b7
2012-05-16 14:56:09 -07:00
John Reck
7a59c5aebc
Merge "Always do a HIT_TEST" into jb-dev
2012-05-15 16:55:45 -07:00
Chris Craik
6675f691ed
Merge "Invalidate on new picture if scale/content size changes" into jb-dev
2012-05-15 15:28:21 -07:00
Chris Craik
02c2f45ea2
Invalidate on new picture if scale/content size changes
...
bug:6497496
Change-Id: Id6de6f83f7bf8a9a4ebcfed61e6b3985d7f19efe
2012-05-15 10:41:49 -07:00
George Mount
899f609f78
Only open CAB for long-press.
...
Bug 6182286
Change-Id: I18590c457548e63cf45f5f7b626f5e8bd855f521
2012-05-15 08:28:28 -07:00
John Reck
41f73bdf4d
Always do a HIT_TEST
...
Bug: 6490959
The issue here is that if the page calls preventDefault on a
touchstart handler WebViewClassic will not do a HIT_TEST as it
doesn't get the ACTION_DOWN. This means that the mouse is in the
wrong position when the click ultimately fires.
This changes it so that WebViewInputDispatcher will always do a
HIT_TEST at the start of a touch stream, which ensures that the
mouse is positioned correctly.
Change-Id: I1aaca7692e2c7aeedeb21fa3592cd4cb3223ea25
2012-05-14 18:40:48 -07:00
Chris Craik
dbd98bfecb
Merge "Remove unused native method" into jb-dev
2012-05-14 17:04:10 -07:00
Chris Craik
8230231c88
Remove unused native method
...
depends on external/webkit change: https://android-git.corp.google.com/g/#/c/190468/
bug:6486310
Change-Id: Id1c1eabf27135c73e45a489ab4c7cfa26e0c9def
2012-05-14 15:57:06 -07:00
George Mount
647827a5d3
Change selection to use left/right instead of base/extent.
...
Bug 5859620
Simplify text selection to use left/right rather than
base/extent. In combination with webkit change, this
fixes RTL selection. The handle directions are properly-
facing when the text direction is the same for both
sides of selection.
Webkit Change: I3362c5034ce08ce1517a86882c13b78aff35fe3f
Change-Id: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada
2012-05-14 11:24:56 -07:00
Mangesh Ghiware
05efb04c38
Merge "Maintain the anchor at top/left on orientation change." into jb-dev
2012-05-12 16:04:00 -07:00
Mangesh Ghiware
cf034e3773
Maintain the anchor at top/left on orientation change.
...
Bug: 5291151
Change-Id: Id1d5c157668440fe4d0d1214477ba31e8f02d6b6
2012-05-12 14:46:05 -07:00
John Reck
dee9d9ab9f
Merge "Prevent updateStateTrackers from being affected by preventDefault()" into jb-dev
2012-05-11 14:23:18 -07:00
John Reck
387c2e8d42
Prevent updateStateTrackers from being affected by preventDefault()
...
Bug: 6477996
Calling e.preventDefault() on a javascript touch handler is apparantly
not supposed to prevent the default gesture detector, who knew?
Change-Id: I6ee36e2fbc485b289b6dbb3464d8562c88e3be49
2012-05-11 13:50:57 -07:00
Teng-Hui Zhu
422400f92d
Fix a crash.
...
End can happen when error happens, but media controller may be not ready yet.
bug:5340224
Change-Id: I94607dfdf26d2dc4c7bbc9c2a62f98deccb8d198
2012-05-11 13:00:03 -07:00
Teng-Hui Zhu
9ac320406b
Merge "Keep the controller when video ended." into jb-dev
2012-05-11 10:00:06 -07:00