7504 Commits

Author SHA1 Message Date
Android (Google) Code Review
0b7044fe11 Merge change 23413 into eclair
* changes:
  Rename SMSTest to GsmSmsTest.
2009-09-07 20:55:08 -07:00
Mathias Agopian
dc54f416a4 delete old and unused source files 2009-09-07 16:33:36 -07:00
Mathias Agopian
9779b221e9 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
c916c04495 Merge change 24099 into eclair
* changes:
  Fix issue #2095422: Some fades from opaque to transparent don't work
2009-09-07 10:16:20 -07:00
Android (Google) Code Review
510469fbe1 Merge change 24098 into eclair
* changes:
  Fix bug where we wouldn't release remote provider references.
2009-09-07 10:14:44 -07:00
Bjorn Bringert
96f8613d95 Add Gservices constants for GlobalSearch settings
This is part of the implementation of http://b/issue?id=2097470

Change-Id: Ife3e5edd4c7d31824d75a0f93a6dcd56a39ab524
2009-09-07 16:15:41 +01:00
Daisuke Miyakawa
718eaff0fa Fix small bugs in VCardComposer.java.
- The logic for emitting "FN" is wrong.
- FileWriter's "double close" problem should occur in the current implementation.
- Let VCardParser_V31.java ignore AGENT field instead of throwing an unkind VCardNotSupportedException.
2009-09-07 22:14:08 +09:00
Android (Google) Code Review
d4344ba9ba Merge change 23415 into eclair
* changes:
  Open some methods on PrefereneManager to allow others use the inflater.
2009-09-07 03:25:56 -07:00
Tammo Spalink
d0085ed5e2 Fix CDMA BCD unit test.
Addresses issues:
http://buganizer/issue?id=2056263

Change-Id: I80e2412bd53b9045ae3cdc95cdf132da0946c2ea
2009-09-07 16:17:45 +08:00
Tammo Spalink
2af198bba1 Fix broken GSM SMS unit test, and general cleanup.
Addresses issues:
http://buganizer/issue?id=2059500
http://buganizer/issue?id=2056263

Change-Id: If1cb1e2b326419de695cbaa8a995e6bafb56447f
2009-09-07 16:16:10 +08:00
Tammo Spalink
259749c674 Rename SMSTest to GsmSmsTest.
Change-Id: I7ef602bd52167fd9f0712b1ce560e72a78f67193
2009-09-07 16:12:57 +08:00
Dianne Hackborn
0586a1b77a Fix issue #2095422: Some fades from opaque to transparent don't work
ViewRoot was using Surface.clear(), which has different behavior
in different processes -- in the system process it would kill the
surface, causing all windows in that process to immediately disappear
instead of animating away.

This change makes Surface.release() public and uses that instead.  It
also renames Surface.clear() to Surface.destroy().

Also fixed some issues in the window manager that were causing the
wallpaper to not get immediately resized when the orientation changes
and its target window is removed and re-added.

Change-Id: I2a992e365cf5747511f0bf1193db32dc2525b218
2009-09-07 01:01:15 -07:00
Dianne Hackborn
a1e989b575 Fix bug where we wouldn't release remote provider references.
The check for whether the release call is coming from another process was
very broken, and just happened to work by chance.  It also never worked for
apps that had code running in two different processes, with one process
using a provider in another of its processes.  Also a little cleanup and
debugging logs for provider management, and removal of that increasingly
annoying log about services being stopped.

Change-Id: Ibc298e674db7d35c4b6499fb32e30929a141b670
2009-09-06 21:15:41 -07:00
Android (Google) Code Review
88e6257959 Merge change 24060 into eclair
* changes:
  Integrated the profiler into the framework. We run it all the time if the persist.sampling_profiler system property is set. Saves snapshots to the SD card.
2009-09-06 16:41:35 -07:00
Dmitri Plotnikov
989f263dcf Fixing asymmetry between phone filter and email filter APIs.
Also, introducing a more advanced email filter, which will do a proper name
lookup using the normalized name and avoid returning duplicate results.

Also, upgrading the phone filter to do the same thing as the email filter
but with display names and phone numbers.
2009-09-06 12:22:24 -07:00
San Mehat
a4eb91da03 dumpstate: Add the ctime (time the file was harvested out of /proc) to dump.
Signed-off-by: San Mehat <san@google.com>
2009-09-05 15:20:20 -07:00
Bob Lee
e540833fdf Integrated the profiler into the framework. We run it all the time if the persist.sampling_profiler
system property is set. Saves snapshots to the SD card.
2009-09-05 11:53:18 -07:00
Ye Wen
0b98c944c6 Fix code placement and comments for gtalk url scraping settings. 2009-09-04 23:43:47 -07:00
Android (Google) Code Review
981871922d Merge change 24014 into eclair
* changes:
  Gservices settings for controlling URL scraping in GTalk app.
2009-09-04 22:50:49 -07:00
Ye Wen
7a0c108d8b Gservices settings for controlling URL scraping in GTalk app. 2009-09-04 22:47:18 -07:00
Mathias Agopian
ffae4fcc78 attempt to fix [2099362] Possible SurfaceFlinger crash 2009-09-04 19:50:23 -07:00
Android (Google) Code Review
9cc1817d46 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
ac67ebe667 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
a3c745dafa Merge change 24057 into eclair
* changes:
  checkpoint
2009-09-04 18:21:18 -07:00
Jason Sams
7042cde5e1 Minor perf improvement to fall and expand use of struct. 2009-09-04 18:19:46 -07:00
Android (Google) Code Review
3194a66329 Merge change 24048 into eclair
* changes:
  fix [2098939] Smooth gradients show banding on Sholes
2009-09-04 18:17:15 -07:00
Romain Guy
2d496bfebc Fix point sprites.
Change-Id: Ic9438daaf25f3969a0dd5b634b7cceccbbbfb27b
2009-09-04 17:55:53 -07:00
Mathias Agopian
7164b8d645 fix [2098939] Smooth gradients show banding on Sholes 2009-09-04 17:27:16 -07:00
Dirk Dougherty
e51ddc1b68 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
Dirk Dougherty
dac0d75ad7 Doc change only: Add sizes/checksums for SDK packages.
Change-Id: I11a38fb4002d72cf69ea545bd395b0f97b8caa66
2009-09-04 16:12:39 -07:00
Jason Sams
7adb985e85 checkpoint 2009-09-04 16:01:41 -07:00
Dmitri Plotnikov
84ba06586b Fixing a concurrency problem by changing the contact aggregation exception API.
The current API requires a contact_id and a raw_contact_id
There are at least two issues with this approach I did not recognize initially:

1. Contact_id may be changed asynchronously by aggregation or some other process.
2. A raw contacts may need to be added to an aggregate before the actual aggregation pass
has gotten to it, so the client would need to wait for the aggregation to complete
before it can set an aggregation exception.  That's backwards.
2009-09-04 15:59:05 -07:00
Android (Google) Code Review
c2042f5e49 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
6e4b7d6699 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
da21478798 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
ff86d9f9dc Merge change 24002 into eclair
* changes:
  Fix SparseArray accesses
2009-09-04 15:16:25 -07:00
Robert Greenwalt
bf87c9e7d4 Fix mncLength in cases with a malformed AD_DONE msg from SIM
Several cases error out and skip our guessing of the mcnLength.  This
results in no operator_numeric being set and no APN's matching.

bug: 2101770
2009-09-04 15:08:37 -07:00
Leon Scroggins
608f9f470f When zooming, do not draw the WebTextView. Resize it when done.
Fix for issue http://b/issue?id=2074429

Change-Id: Iae46df57310a360f07c9d6afef24ca3ff9d04bdc
2009-09-04 17:46:33 -04:00
Jason Sams
ea84a7c517 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 14:42:41 -07:00
Android (Google) Code Review
3c32474f0e 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
0e3cd54600 Merge change 23907 into eclair
* changes:
  Add sync_details support.
2009-09-04 14:30:29 -07:00
Dianne Hackborn
25994b4306 Wallpapers: new transitions, hiding when not visible, other cleanup.
This is work on the transitions with wallpapers.  There are now new
animations specifically for leaving the wallpaper and returning to
it, which allow us to have a consistent animation when entering home
and returning to it.  I also renamed the existing animations across
wallpapers, and cleaned up some junk in the various interpolators.

This also now hides the wallpaper surface when it is not visible,
to get rid of the wallpaper flickers people complained about albeit
in a somewhat brutal way. :)  (Though really returning us to the
previous behavior with the same previous bugs and name back to them
not being very visible, yay!)  There is are also some bug fixes
here and there about managing the wallpaper visibility that this
change revealed.

Change-Id: I913990a9a81651728122ed2e1101b75ed2c36fcb
2009-09-04 14:28:42 -07:00
Android (Google) Code Review
107039f948 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
Leon Scroggins
078c52c57a Clean up from earlier changes to place title bar at top of WebView
Rename addTitleBar to setEmbeddedTitleBar.  This requires a change
to packages/apps/Browser.  Also remove mTitleBar if there already
was one.

In ViewManager, call contentToViewDimension where appropriate.

Change-Id: If4d378fad192990253411924a9a80bee96e63ff2
2009-09-04 17:13:08 -04:00
Karl Rosaen
96836e1e8a Don't toggle between in app and global search on repeat key events.
Fixes http://b/issue?id=2019231.
2009-09-04 14:05:17 -07:00
Costin Manolache
360e454b2b Fix SparseArray accesses 2009-09-04 13:36:04 -07:00
Grace Kloba
3c72fff035 Some mobile sites, like m.www.yahoo.com, slashdot.org (iPhone version),
have a bigger minPrefWidth than the screen width. So we don't want to force
the minZoomScale to be same as defaultScale. Otherwise we won't be able to
zoom out in these sites.

Fix http://b/issue?id=2090718
2009-09-04 13:29:20 -07:00
Android (Google) Code Review
93a751d6ad 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
1e52988adc Merge change 23940 into eclair
* changes:
  Add more documents on the ACTION_SEND_MULTIPLE intent.
2009-09-04 12:51:11 -07:00
Mike Reed
e8853fc570 also expose onDrawHorizontalScrollBar() in View
retool WebView's calculations to correctly compute scrollbar height and parameters
2009-09-04 15:05:27 -04:00