Commit Graph

4124 Commits

Author SHA1 Message Date
Mathias Agopian
cbb288bfe8 fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
Rewrote SurfaceFlinger's buffer management from the ground-up.
The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice.

The main new feature is to be able to dequeue all buffers at once (very important when there are only two). 

A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued.

The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time.

eg. Allowed sequence:   DQ, DQ, LOCK, Q, LOCK, Q
eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
2009-09-07 16:32:45 -07:00
Android (Google) Code Review
f0780974fc Merge change 24014 into eclair
* changes:
  Gservices settings for controlling URL scraping in GTalk app.
2009-09-04 22:50:49 -07:00
Mathias Agopian
0852e67412 attempt to fix [2099362] Possible SurfaceFlinger crash 2009-09-04 19:50:23 -07:00
Android (Google) Code Review
89b9bd4655 Merge change 24039 into eclair
* changes:
  Fixing a concurrency problem by changing the contact aggregation exception API.
2009-09-04 18:30:46 -07:00
Android (Google) Code Review
bb7785e8b9 Merge change 24058 into eclair
* changes:
  Minor perf improvement to fall and expand use of struct.
2009-09-04 18:21:30 -07:00
Android (Google) Code Review
2e7dc1229a Merge change 24057 into eclair
* changes:
  checkpoint
2009-09-04 18:21:18 -07:00
Android (Google) Code Review
1ca4292a2d Merge change 24048 into eclair
* changes:
  fix [2098939] Smooth gradients show banding on Sholes
2009-09-04 18:17:15 -07:00
Mathias Agopian
888eee68db fix [2098939] Smooth gradients show banding on Sholes 2009-09-04 17:27:16 -07:00
Dirk Dougherty
556d47426c am dac0d75a: Doc change only: Add sizes/checksums for SDK packages.
Merge commit 'dac0d75ad7fbd10981477b1fcc35c955185a41fd' into eclair

* commit 'dac0d75ad7fbd10981477b1fcc35c955185a41fd':
  Doc change only: Add sizes/checksums for SDK packages.
2009-09-04 16:45:52 -07:00
Android (Google) Code Review
348a950aa2 Merge change 24029 into eclair
* changes:
  Fix mncLength in cases with a malformed AD_DONE msg from SIM
2009-09-04 15:58:02 -07:00
Android (Google) Code Review
87c1b80a5a Merge change 24020 into eclair
* changes:
  Wallpapers: new transitions, hiding when not visible, other cleanup.
2009-09-04 15:40:30 -07:00
Android (Google) Code Review
d785d0b6df Merge change 24024 into eclair
* changes:
  Remove "predefined" elements from Java layer.  Static elements continue to exist but are no longer treated as a special version of element.
2009-09-04 15:39:46 -07:00
Android (Google) Code Review
04b7fdcb68 Merge change 24002 into eclair
* changes:
  Fix SparseArray accesses
2009-09-04 15:16:25 -07:00
Android (Google) Code Review
5cc24712cb Merge change 24008 into eclair
* changes:
  Clean up from earlier changes to place title bar at top of WebView
2009-09-04 14:38:20 -07:00
Android (Google) Code Review
53691ae359 Merge change 23907 into eclair
* changes:
  Add sync_details support.
2009-09-04 14:30:29 -07:00
Android (Google) Code Review
6c3a35290b Merge change 24010 into eclair
* changes:
  Don't toggle between in app and global search on repeat key events.
2009-09-04 14:24:00 -07:00
Android (Google) Code Review
8173034c0b Merge change 23979 into eclair
* changes:
  Do a better job at finding the activity associated with a dialog when triggering search.
2009-09-04 13:05:50 -07:00
Android (Google) Code Review
691d09dd8e Merge change 23940 into eclair
* changes:
  Add more documents on the ACTION_SEND_MULTIPLE intent.
2009-09-04 12:51:11 -07:00
Android (Google) Code Review
b3668975ab Merge change 23949 into eclair
* changes:
  GPS: Fix race condition reporting NMEA data.
2009-09-04 04:49:11 -07:00
Android (Google) Code Review
c395c346c5 Merge change 23804 into eclair
* changes:
  Fix appcache layout test that was timing out due to race condition in WebView::addJavascriptInterface.
2009-09-04 03:27:47 -07:00
Android (Google) Code Review
5c5844b313 Merge change 23906 into eclair
* changes:
  Removing references to deprecated API and the deprecated API itself.
2009-09-03 16:29:44 -07:00
Android (Google) Code Review
8e7e2b80df Merge change 23908 into eclair
* changes:
  Add another testcase for moto to reproduce bug #2099685 to the stagefright commandline app.
2009-09-03 16:24:46 -07:00
Android (Google) Code Review
44946b9f87 Merge change 23870 into eclair
* changes:
  Allow hasIccCard to be useable by any processes.
2009-09-03 15:54:22 -07:00
Android (Google) Code Review
4f01710579 Merge change 23890 into eclair
* changes:
  Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
2009-09-03 15:47:39 -07:00
Android (Google) Code Review
2483a0c05a Merge change 21774 into eclair
* changes:
  Implement USIM and add support for importing emails from USIM.
2009-09-03 14:45:00 -07:00
Android (Google) Code Review
62b7aaccae Merge change 23868 into eclair
* changes:
  Add better service reporting.
2009-09-03 14:36:28 -07:00
Android (Google) Code Review
a9455c8539 Merge change 23861 into eclair
* changes:
  Replace the bugreport symlink with a tool that starts the new dumpstate service.
2009-09-03 14:18:51 -07:00
Android (Google) Code Review
14c76030e3 Merge change 23824 into eclair
* changes:
  Override getAccounts to return an empty AccountSet in MockAccountManager. This used to throw an NPE instead since IAccountManagerService is set to NULL.
2009-09-03 14:16:57 -07:00
Android (Google) Code Review
a51b3100c1 Merge change 23750 into eclair
* changes:
  Add a test case to measure the power usage of loading a web page
2009-09-03 13:34:58 -07:00
Android (Google) Code Review
732e8824bc Merge change 23835 into eclair
* changes:
  When encountering a .nomedia file, notify the MediaScannerClient, so that it can erase the data column for entries that are in the folder containing the .nomedia file. This prevents us from deleting (via a delete trigger) files when somebody adds a .nomedia file after the fact.
2009-09-03 12:27:26 -07:00
Android (Google) Code Review
37b2dddd9d Merge change 23760 into eclair
* changes:
  Attach the title bar to the top of the page.
2009-09-03 11:43:06 -07:00
Android (Google) Code Review
476bd504a5 Merge change 23807 into eclair
* changes:
  Add support for running apps with uid/gid AID_LOG by specifying android.uid.log in the manifest
2009-09-03 11:40:42 -07:00
Android (Google) Code Review
b907ded9b0 Merge change 23833 into eclair
* changes:
  New, darker tab widgets for the platform.
2009-09-03 11:23:22 -07:00
Android (Google) Code Review
2610dc7b32 Merge change 23828 into eclair
* changes:
  allow subclassing for drawing vertical scrollbar, so that clients (e.g. webview) can resize/position
2009-09-03 10:46:59 -07:00
Android (Google) Code Review
3506d06e85 Merge change 23715 into eclair
* changes:
  Setting the component role appears to be mandatory now for all mime types.
2009-09-03 09:40:17 -07:00
Android (Google) Code Review
300d51c83e Merge change 23714 into eclair
* changes:
  Some work to make audio encoding work.
2009-09-03 09:40:08 -07:00
Android (Google) Code Review
8608902e91 Merge change 23818 into eclair
* changes:
  Exit Emergency Callback Mode if phone process crashes/restarts
2009-09-03 09:35:25 -07:00
Android (Google) Code Review
23dbf18922 Merge change 23811 into eclair
* changes:
  Fix the registration of the package changes broadcast receiver.
2009-09-03 09:33:44 -07:00
Android (Google) Code Review
ddfdfdf0aa Merge change 23806 into eclair
* changes:
  Handle security exception when Geolocation registers with system location service in DumpRenderTree.
2009-09-03 09:24:15 -07:00
Android (Google) Code Review
981104a567 Merge change 23761 into eclair
* changes:
  Fix compilation of add-resource tag.
2009-09-03 09:08:24 -07:00
Android (Google) Code Review
f1b08e0635 Merge change 23817 into eclair
* changes:
  Fix http://b/issue?id=2096107 (cosmetic issue for menus in WVGA)
2009-09-03 08:49:56 -07:00
Android (Google) Code Review
a29d88b99a Merge change 23801 into eclair
* changes:
  fix issue 2096657: Sholes: residue shutter sound heard ONCE while taking a picture AFTER the volume is turned off.
2009-09-03 08:01:09 -07:00
Android (Google) Code Review
06b0d49be6 Merge change 23798 into eclair
* changes:
  Fix issue 2097083: STREAM_SYSTEM should be at max volume.
2009-09-03 08:00:30 -07:00
Eric Laurent
08d3d1d001 fix issue 2096657: Sholes: residue shutter sound heard ONCE while taking a picture AFTER the volume is turned off.
Do not ramp volume if the first frame of a track is processed after the track was stopped.
In the case of very short sounds, the track stop request can be received by AudioFlinger just after the start request before the first frame is mixed by AudioMixer. In this case, the track is already in stopped state and initial volume is applied with a ramp for the first frame processed which should not be the case: initial volume change is always applied immediatelly.
2009-09-03 04:11:18 -07:00
Android (Google) Code Review
3aedbeabd8 Merge change 23793 into eclair
* changes:
  add conditional verbose logging for when sending a SMS message.
2009-09-03 01:33:44 -07:00
Android (Google) Code Review
2dcf5dae98 Merge change 23787 into eclair
* changes:
  Fix issue #2097313: Latin IME crashes first use
2009-09-02 23:11:16 -07:00
Android (Google) Code Review
310b4c9b56 Merge change 23782 into eclair
* changes:
  Fix the issue that dialing *86 during call, the dialing voicemail screen is not shown.
2009-09-02 22:29:08 -07:00
Android (Google) Code Review
6832164e6f Merge change 23774 into eclair
* changes:
  Fix issue #2097189: can't set custom wallpaper
2009-09-02 22:20:29 -07:00
Android (Google) Code Review
108662399d Merge change 23607 into eclair
* changes:
  Reject (NAK) CDMA SMS with unknown teleservice ids.
2009-09-02 20:29:09 -07:00
Scott Main
748a073be8 am b6b25d63: Merge change 23126 into donut
Merge commit 'b6b25d63df8dd873c60ab056e5b0e0eda167cfb1' into eclair

* commit 'b6b25d63df8dd873c60ab056e5b0e0eda167cfb1':
  docs only.
2009-09-02 20:21:42 -07:00