24456 Commits

Author SHA1 Message Date
Grace Kloba
178db41234 Experimental feature: use WebKit to find out the selection
highlight.

The new setting, supportTouchOnly(), is currently not
fully implemented. It is overloaded with mLightTouchEnabled
for short term testing. To test the feature, please
use the "Enable Light Touch" in the debug settings.

When supportTouchOnly is true, we are not using nav
cache to display the yellow ring. Instead we show 
the gray rectangle(s) based on the calculation from
WebKit. When short press happens, we current use 0
for mMoveGeneration so that it will trigger WebKit
to use the same point when it calculates the highlight.

If you turn on NavDump in the debug settings, it will
also draw the fat point where you tap on the screen.

Known issues, it is not fully synced with IME. If you
tap a text input box also in focus, the yellow ring
will show up. If you leave the text input field, the
IME is not dismissed. If this passes the user tests,
we will make a special mode and fix all these issues.

There is another matching CL in external/webkit
2010-05-27 09:22:42 -07:00
Andreas Huber
7d39a1b2e8 am 215aeda9: am 2cb138db: Merge "After failing to create an AudioTrack, only stop the source if we were the ones starting it." into kraken 2010-05-27 09:00:15 -07:00
Andreas Huber
215aeda9f3 am 2cb138db: Merge "After failing to create an AudioTrack, only stop the source if we were the ones starting it." into kraken 2010-05-27 08:59:07 -07:00
Andreas Huber
2cb138dbe8 Merge "After failing to create an AudioTrack, only stop the source if we were the ones starting it." into kraken 2010-05-27 08:57:23 -07:00
James Dong
b8fbe1f21e am cd9cdf8d: am 407f98bf: Remove the logic in CameraSource using CameraParameters class to find out the buffer size. 2010-05-27 08:02:44 -07:00
James Dong
cd9cdf8d42 am 407f98bf: Remove the logic in CameraSource using CameraParameters class to find out the buffer size. 2010-05-27 08:00:31 -07:00
Kristian Monsen
d1e2d823c6 Merge "Fixes an error when displaying the current layout test index." 2010-05-27 03:27:37 -07:00
Steve Block
6f48790cb1 Merge "Merge WebKit at r60074: Update UA string" 2010-05-27 03:27:08 -07:00
Kristian Monsen
fb4b88fddb Fixes an error when displaying the current layout test index.
This fixes a bug in commit https://android-git.corp.google.com/g/#change,52518.
Updated index to be zero based when passed around and off by one error on
resume. Note that previous commit changes how DumpRenderTree dumps titles.
This might affect the results of layout tests.

Change-Id: I3d6989d71c336f90168e38c994dd36743bda365c
2010-05-27 11:09:38 +01:00
Ben Murdoch
a3f055e205 Fix layout test failure with fast/events/touch/touch-stale-node-crash.html
This layout test is currently failing due to timing out in DRT.

The issue is that the test sends a down, up, down sequence quickly. For
each down event, we post a PREVENT_DEFAULT_TIMEOUT message to the
WebView's message handler. WebCore responds to the first touch event and
we update the mPreventDefault state variable correctly. The second touch down
resets mPreventDefault as it's the start of a new touch sequence and a second touch down is posted
to the WebCore thread.

At this point we still have the first TIMEOUT message in the WebView queue. The problem occurs
when the WebView processes this timeout message before the WebCore thread processes the second
touch down message. In this case the WebView clears the WebCore thread's message queue and instead posts
touch cancel events, erroneously removing the second touch event. This timeout message should not have been
processed as it was associated with the first touch down that had already been completed. Without the
second touch the test never completes.

The fix is to remove PREVENT_DEFAULT_TIMEOUT messages from the queue before starting
a new touch sequence.

Change-Id: Ief054239529d710a79a0e58a589bd7a92434dbf2
2010-05-27 10:41:55 +01:00
James Dong
407f98bfcd Remove the logic in CameraSource using CameraParameters class to find out the buffer size.
Change-Id: I76eea76bda49529d08b46241d3dded1a804f891c
2010-05-27 02:01:19 -07:00
Wu-cheng Li
65f1f81d76 am 81192f85: am c109190b: Add support for gps altitude EXIF tags. 2010-05-27 01:05:16 -07:00
Wu-cheng Li
81192f850c am c109190b: Add support for gps altitude EXIF tags. 2010-05-27 01:03:10 -07:00
Wu-cheng Li
c109190b69 Add support for gps altitude EXIF tags.
Also improve the precision of getLatLong().

Change-Id: Id2c60f0d1d19e9da173b5ec1228f03c2195e189f
2010-05-27 15:59:05 +08:00
Mathias Agopian
9855b591dc am ec272924: am df0364de: Merge "minor clean-up GLclampx -> GLclampf" into kraken 2010-05-26 22:52:06 -07:00
Mathias Agopian
ec272924c4 am df0364de: Merge "minor clean-up GLclampx -> GLclampf" into kraken 2010-05-26 22:50:00 -07:00
Mathias Agopian
df0364de6f Merge "minor clean-up GLclampx -> GLclampf" into kraken 2010-05-26 22:49:03 -07:00
Eric Laurent
c82f4519e0 Merge "Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO." 2010-05-26 22:47:50 -07:00
Mathias Agopian
0d3c0063aa minor clean-up GLclampx -> GLclampf 2010-05-26 22:26:12 -07:00
Mathias Agopian
4e49bb9890 am ed34e950: am d908822d: Merge "clean-up dead-code" into kraken 2010-05-26 22:23:40 -07:00
Mathias Agopian
ed34e9506f am d908822d: Merge "clean-up dead-code" into kraken 2010-05-26 22:21:47 -07:00
Mathias Agopian
d908822df0 Merge "clean-up dead-code" into kraken 2010-05-26 22:20:39 -07:00
Mathias Agopian
7d1508b854 clean-up dead-code 2010-05-26 22:19:19 -07:00
Mathias Agopian
2342fbdccb am 521b8d5c: am a950aa84: Merge "Make sure to use filtering while in fixed-size mode" into kraken 2010-05-26 22:14:43 -07:00
Mathias Agopian
521b8d5c71 am a950aa84: Merge "Make sure to use filtering while in fixed-size mode" into kraken 2010-05-26 22:12:55 -07:00
Mathias Agopian
a950aa8418 Merge "Make sure to use filtering while in fixed-size mode" into kraken 2010-05-26 22:11:03 -07:00
Mathias Agopian
9237703335 Make sure to use filtering while in fixed-size mode 2010-05-26 22:10:04 -07:00
Irfan Sheriff
2d8b3e94cf am 35ba2de2: am 2ed40379: am 8316e875: am b3f3caef: Merge "Fix null pointer exception" into froyo 2010-05-26 21:41:29 -07:00
Irfan Sheriff
35ba2de255 am 2ed40379: am 8316e875: am b3f3caef: Merge "Fix null pointer exception" into froyo 2010-05-26 21:39:39 -07:00
Mathias Agopian
801f90bd80 am 2a0f01ea: am 7ca7eedb: Merge "oopsie. forgot to displatch SET_BUFFERS_GEOMETRY" into kraken 2010-05-26 21:38:42 -07:00
Irfan Sheriff
2ed4037901 am 8316e875: am b3f3caef: Merge "Fix null pointer exception" into froyo
Merge commit '8316e875baee53b661d5af8fa843d97e51acbcf6' into kraken

* commit '8316e875baee53b661d5af8fa843d97e51acbcf6':
  Fix null pointer exception
2010-05-26 21:37:45 -07:00
Mathias Agopian
2a0f01ea07 am 7ca7eedb: Merge "oopsie. forgot to displatch SET_BUFFERS_GEOMETRY" into kraken 2010-05-26 21:36:47 -07:00
Mathias Agopian
7ca7eedbae Merge "oopsie. forgot to displatch SET_BUFFERS_GEOMETRY" into kraken 2010-05-26 21:34:52 -07:00
Irfan Sheriff
8316e875ba am b3f3caef: Merge "Fix null pointer exception" into froyo
Merge commit 'b3f3caef38326be2b4aea309237f718e6e2d2b8a' into froyo-plus-aosp

* commit 'b3f3caef38326be2b4aea309237f718e6e2d2b8a':
  Fix null pointer exception
2010-05-26 21:34:52 -07:00
Irfan Sheriff
b3f3caef38 Merge "Fix null pointer exception" into froyo 2010-05-26 21:32:29 -07:00
Mathias Agopian
663baddda9 oopsie. forgot to displatch SET_BUFFERS_GEOMETRY 2010-05-26 21:31:09 -07:00
Dirk Dougherty
463838d804 am 6b9b5e12: am 81662bc7: am f69fd4dd: am 4273ce19: Merge "Doc change: Suggest min keysize of 2048 for keys." into froyo 2010-05-26 18:38:44 -07:00
Dirk Dougherty
6b9b5e12a6 am 81662bc7: am f69fd4dd: am 4273ce19: Merge "Doc change: Suggest min keysize of 2048 for keys." into froyo 2010-05-26 18:37:11 -07:00
Dirk Dougherty
81662bc76a am f69fd4dd: am 4273ce19: Merge "Doc change: Suggest min keysize of 2048 for keys." into froyo
Merge commit 'f69fd4dd481c10749a8651ab6c9cfda1dea68297' into kraken

* commit 'f69fd4dd481c10749a8651ab6c9cfda1dea68297':
  Doc change: Suggest min keysize of 2048 for keys.
2010-05-26 18:35:22 -07:00
Dirk Dougherty
f69fd4dd48 am 4273ce19: Merge "Doc change: Suggest min keysize of 2048 for keys." into froyo
Merge commit '4273ce19bf898ee41f2342209af6fe8ef4fb128e' into froyo-plus-aosp

* commit '4273ce19bf898ee41f2342209af6fe8ef4fb128e':
  Doc change: Suggest min keysize of 2048 for keys.
2010-05-26 18:33:05 -07:00
Dirk Dougherty
4273ce19bf Merge "Doc change: Suggest min keysize of 2048 for keys." into froyo 2010-05-26 18:31:38 -07:00
Dirk Dougherty
0f3abfb5c0 Doc change: Suggest min keysize of 2048 for keys.
Change-Id: I6dcfe9aa12338e4ad71db2e6812ce387a75c09f0
2010-05-26 17:34:09 -07:00
Irfan Sheriff
7baec0fe4e Fix null pointer exception
Bug: 2718857
Change-Id: I4b04284fd5b3a4881297fe15555e9f1ca91d73cb
2010-05-26 17:16:47 -07:00
James Dong
efb6b574de am 9407fb80: am 1090a29d: Merge "Avoid repeatedly allocating and freeing memory in CameraSource" into kraken 2010-05-26 17:04:37 -07:00
James Dong
9407fb8062 am 1090a29d: Merge "Avoid repeatedly allocating and freeing memory in CameraSource" into kraken 2010-05-26 17:02:45 -07:00
James Dong
1090a29d4e Merge "Avoid repeatedly allocating and freeing memory in CameraSource" into kraken 2010-05-26 17:01:16 -07:00
Dirk Dougherty
4a4b33fbe1 am d459439f: am b8ab347b: am 81800015: am fa499e46: Merge "Doc change: fix adt download page, misc doc fixes." into froyo 2010-05-26 16:56:43 -07:00
Dirk Dougherty
d459439fcb am b8ab347b: am 81800015: am fa499e46: Merge "Doc change: fix adt download page, misc doc fixes." into froyo 2010-05-26 16:54:46 -07:00
James Dong
aed15e7856 Avoid repeatedly allocating and freeing memory in CameraSource
Change-Id: Ia3760820da0559e4e908dedae1f1df05f9a6a242
2010-05-26 16:54:18 -07:00
Dirk Dougherty
b8ab347b30 am 81800015: am fa499e46: Merge "Doc change: fix adt download page, misc doc fixes." into froyo
Merge commit '81800015afe3ee397bc6b07e37fd6dc57e3a3b9b' into kraken

* commit '81800015afe3ee397bc6b07e37fd6dc57e3a3b9b':
  Doc change: fix adt download page, misc doc fixes.
2010-05-26 16:53:04 -07:00