24469 Commits

Author SHA1 Message Date
Mike Lockwood
2807df89af Move CursorWindow class from core/jni to libbinder
To allow use of the native CursorWindow class outside of the core framework jni

Change-Id: I72e8dcb91a2c691130c33cdfd9a25d343da1c592
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-05-28 10:08:21 -04:00
Joe Malin
afd52a0b40 Merge "DOC CHANGE: Clean up the concepts topic testing_android.jd" 2010-05-27 13:10:54 -07:00
Leon Scroggins
acea08d20f Prevent a null pointer exception.
Bug 2721268

Change-Id: I3a9e838ed3f2f9dccdf7b4bf42a0dbad58e62e02
2010-05-27 15:09:32 -04:00
Amith Yamasani
9bd8034a1a Fix a comment typo. 2010-05-27 11:31:26 -07:00
Amith Yamasani
8b932067c1 Merge "Add a battery capacity value to the power profile." 2010-05-27 10:49:08 -07:00
Amith Yamasani
bed865932f Add a battery capacity value to the power profile.
Can be accessed through PowerProfile.getBatteryCapacity()

Individual device profiles need to be updated with their capacities.
2010-05-27 10:37:54 -07:00
Jeff Hamilton
0e42b29eb0 am 635962e0: am c0046aab: am edf228ce: am dc46f6f6: Merge "Don\'t enforce broadcast timeouts for PRE_BOOT_COMPLETED broadcasts." into froyo 2010-05-27 09:44:49 -07:00
Jeff Hamilton
635962e0af am c0046aab: am edf228ce: am dc46f6f6: Merge "Don\'t enforce broadcast timeouts for PRE_BOOT_COMPLETED broadcasts." into froyo 2010-05-27 09:43:54 -07:00
Jeff Hamilton
c0046aab0c am edf228ce: am dc46f6f6: Merge "Don\'t enforce broadcast timeouts for PRE_BOOT_COMPLETED broadcasts." into froyo
Merge commit 'edf228ce1fc9aae9fe314229c19e80a434bb4393' into kraken

* commit 'edf228ce1fc9aae9fe314229c19e80a434bb4393':
  Don't enforce broadcast timeouts for PRE_BOOT_COMPLETED broadcasts.
2010-05-27 09:42:44 -07:00
Jeff Hamilton
edf228ce1f am dc46f6f6: Merge "Don\'t enforce broadcast timeouts for PRE_BOOT_COMPLETED broadcasts." into froyo
Merge commit 'dc46f6f6cc44954c23229019270b54b8912be825' into froyo-plus-aosp

* commit 'dc46f6f6cc44954c23229019270b54b8912be825':
  Don't enforce broadcast timeouts for PRE_BOOT_COMPLETED broadcasts.
2010-05-27 09:40:23 -07:00
Jeff Hamilton
dc46f6f6cc Merge "Don't enforce broadcast timeouts for PRE_BOOT_COMPLETED broadcasts." into froyo 2010-05-27 09:39:19 -07:00
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
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
Mathias Agopian
7ca7eedbae Merge "oopsie. forgot to displatch SET_BUFFERS_GEOMETRY" into kraken 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