3948 Commits

Author SHA1 Message Date
Derek Sollenberger
2c3eb14d43 adding support for webkit plugins to use the java view system
Change-Id: I4fb328e5f30476fe4aa70565bacb969dc97b495d
2009-09-08 15:42:23 -04:00
Android (Google) Code Review
c18e9ed39c Merge change 24161 into eclair
* changes:
  don't fling if there's nowhere to go
2009-09-08 11:29:28 -07:00
Cary Clark
aa7caa6032 don't fling if there's nowhere to go
Add a test to doFling() to return quickly if the fling has
no effect. For simplicity, only test for horizontal or vertical
flings.

The man purpose is to avoid suspending webkit until the fling
animation is complete when the purpose of the touch drag is
to activate a touch event, like a swipe in superpudu.

fixes http://b/issue?id=2052852
2009-09-08 14:15:07 -04:00
Cary Clark
f8d4964e45 default overview mode to false in webkit
Browser defaults overview mode to true in BrowserSettings.java,
but a WebView should default overview mode to false. This permits
applications without zoom interfaces, such as HTMLViewer, to
have the same interface as before.
2009-09-08 13:23:24 -04:00
Nick Pelly
cf44059813 Add javadoc to explain which permissions are required for Public BT API's. 2009-09-08 10:12:06 -07:00
Derek Sollenberger
377c5c15f8 Revert "Adding classes to enable plugins to use the java view system."
This reverts commit b127dc29bbe41dde9cb30e178bd252f48e84e533.
2009-09-08 09:30:47 -04:00
Android (Google) Code Review
67dffd93e0 Merge change 23485 into eclair
* changes:
  Adding classes to enable plugins to use the java view system.
2009-09-08 05:48:06 -07:00
Tammo Spalink
0bb9960598 Do not die when printing empty prefs.
Addresses issue:
http://buganizer/issue?id=1974140

Change-Id: I0001d69e8d278d4ca900f5ce56ad50c0b4b6b694
2009-09-08 18:30:33 +08:00
Android (Google) Code Review
7390c5af7a Merge change 24097 into eclair
* changes:
  Fix small bugs in VCardComposer.java.
2009-09-08 01:23:05 -07:00
Dianne Hackborn
0d23b82be2 Fix $#%^&%!! SDK build.
Change-Id: I03841e00d2d67af88fed716753aedabb5dbe48d9
2009-09-07 23:57:26 -07:00
Dianne Hackborn
eb034652c2 Implement all of the infrastructure for configuring wallpapers.
Actually being able to configure a wallpaper relies on additional
work in the launcher and wallpapers that will be in another change.
Also note that this breaks all existing wallpapers, since they now
need to include a meta-data item about themselves.  This also
will be fixed in another change.

Change-Id: I97d2c2bd07237abc32f92b9147c32530a2f73c71
2009-09-07 22:48:02 -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
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
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
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
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
5690bc3e0f am 21822728: am 0b98c944: Fix code placement and comments for gtalk url scraping settings.
Merge commit '21822728feef9d1fa7dcf63463ec4dfc87b0e7f7'

* commit '21822728feef9d1fa7dcf63463ec4dfc87b0e7f7':
  Fix code placement and comments for gtalk url scraping settings.
2009-09-05 08:38:34 -07:00
Ye Wen
21822728fe am 0b98c944: Fix code placement and comments for gtalk url scraping settings.
Merge commit '0b98c944c6bac98d95c93916cde31f841b44d9aa' into eclair-plus-aosp

* commit '0b98c944c6bac98d95c93916cde31f841b44d9aa':
  Fix code placement and comments for gtalk url scraping settings.
2009-09-05 08:35:51 -07:00
Ye Wen
0b98c944c6 Fix code placement and comments for gtalk url scraping settings. 2009-09-04 23:43:47 -07:00
Ye Wen
ddbcd14ef9 am 1e31ed01: am 98187192: Merge change 24014 into eclair
Merge commit '1e31ed013abeb2d15868a57e64e4ce25746595a9'

* commit '1e31ed013abeb2d15868a57e64e4ce25746595a9':
  Gservices settings for controlling URL scraping in GTalk app.
2009-09-04 22:55:16 -07:00
Ye Wen
1e31ed013a am 98187192: Merge change 24014 into eclair
Merge commit '981871922ded799f51b7b8a3e53028d70f37e65c' into eclair-plus-aosp

* commit '981871922ded799f51b7b8a3e53028d70f37e65c':
  Gservices settings for controlling URL scraping in GTalk app.
2009-09-04 22:52:58 -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
Dmitri Plotnikov
746ed889b7 am 542051f1: am 9cc1817d: Merge change 24039 into eclair
Merge commit '542051f19f614c06c4637e3a32ca45e6e2a4add4'

* commit '542051f19f614c06c4637e3a32ca45e6e2a4add4':
  Fixing a concurrency problem by changing the contact aggregation exception API.
2009-09-04 18:34:54 -07:00
Dmitri Plotnikov
542051f19f am 9cc1817d: Merge change 24039 into eclair
Merge commit '9cc1817d46d8092865d8f1e7a6391dcae197a26a' into eclair-plus-aosp

* commit '9cc1817d46d8092865d8f1e7a6391dcae197a26a':
  Fixing a concurrency problem by changing the contact aggregation exception API.
2009-09-04 18:33:07 -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
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
Dianne Hackborn
ed9f8514e1 am bdbe87d0: am 6e4b7d66: Merge change 24020 into eclair
Merge commit 'bdbe87d0756a54dbc2edd24b75b9cd98cab31442'

* commit 'bdbe87d0756a54dbc2edd24b75b9cd98cab31442':
  Wallpapers: new transitions, hiding when not visible, other cleanup.
2009-09-04 15:44:38 -07:00
Dianne Hackborn
bdbe87d075 am 6e4b7d66: Merge change 24020 into eclair
Merge commit '6e4b7d66998b9ec9255767f6070a2f94d83944a5' into eclair-plus-aosp

* commit '6e4b7d66998b9ec9255767f6070a2f94d83944a5':
  Wallpapers: new transitions, hiding when not visible, other cleanup.
2009-09-04 15:42:59 -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
Costin Manolache
f31d8ed3bc am 75428691: am ff86d9f9: Merge change 24002 into eclair
Merge commit '75428691eab4f331f0e3d29ea3d24fe28e7b13a4'

* commit '75428691eab4f331f0e3d29ea3d24fe28e7b13a4':
  Fix SparseArray accesses
2009-09-04 15:20:30 -07:00
Costin Manolache
75428691ea am ff86d9f9: Merge change 24002 into eclair
Merge commit 'ff86d9f9dc30d2eebe56af27c8cdb0bcd4227bf4' into eclair-plus-aosp

* commit 'ff86d9f9dc30d2eebe56af27c8cdb0bcd4227bf4':
  Fix SparseArray accesses
2009-09-04 15:18:50 -07:00
Android (Google) Code Review
ff86d9f9dc Merge change 24002 into eclair
* changes:
  Fix SparseArray accesses
2009-09-04 15:16:25 -07:00
Leon Scroggins
e74813a82b am 63aca638: am 608f9f47: When zooming, do not draw the WebTextView. Resize it when done.
Merge commit '63aca6389ce803e469624779f9e723eea00e1dfc'

* commit '63aca6389ce803e469624779f9e723eea00e1dfc':
  When zooming, do not draw the WebTextView.  Resize it when done.
2009-09-04 15:12:07 -07:00
Leon Scroggins
63aca6389c am 608f9f47: When zooming, do not draw the WebTextView. Resize it when done.
Merge commit '608f9f470fa562fc6a32449297110d4ec2953515' into eclair-plus-aosp

* commit '608f9f470fa562fc6a32449297110d4ec2953515':
  When zooming, do not draw the WebTextView.  Resize it when done.
2009-09-04 15:09:28 -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
Leon Scroggins
52fd7f2dfc am dce5b2ce: am 3c32474f: Merge change 24008 into eclair
Merge commit 'dce5b2ce0908be0ac53c89e6ab50b2e71735f924'

* commit 'dce5b2ce0908be0ac53c89e6ab50b2e71735f924':
  Clean up from earlier changes to place title bar at top of WebView
2009-09-04 14:43:14 -07:00
Leon Scroggins
dce5b2ce09 am 3c32474f: Merge change 24008 into eclair
Merge commit '3c32474f0e0df419135f1966796d277aba9ee7cb' into eclair-plus-aosp

* commit '3c32474f0e0df419135f1966796d277aba9ee7cb':
  Clean up from earlier changes to place title bar at top of WebView
2009-09-04 14:40:42 -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
Ken Shirriff
c66b5c81dd am 2a0d5cf4: am 0e3cd546: Merge change 23907 into eclair
Merge commit '2a0d5cf48e9d907c467ff61136161077a0dae141'

* commit '2a0d5cf48e9d907c467ff61136161077a0dae141':
  Add sync_details support.
2009-09-04 14:34:50 -07:00
Ken Shirriff
2a0d5cf48e am 0e3cd546: Merge change 23907 into eclair
Merge commit '0e3cd546001cb82b8d9c8e910cf751d1d2a584df' into eclair-plus-aosp

* commit '0e3cd546001cb82b8d9c8e910cf751d1d2a584df':
  Add sync_details support.
2009-09-04 14:32:16 -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
Karl Rosaen
3951f9fe40 am c77b04d8: am 107039f9: Merge change 24010 into eclair
Merge commit 'c77b04d8684dd35beb3d67c29a101d549313df98'

* commit 'c77b04d8684dd35beb3d67c29a101d549313df98':
  Don't toggle between in app and global search on repeat key events.
2009-09-04 14:28:04 -07:00
Karl Rosaen
c77b04d868 am 107039f9: Merge change 24010 into eclair
Merge commit '107039f94888fce212e0965b74971727d2b01b82' into eclair-plus-aosp

* commit '107039f94888fce212e0965b74971727d2b01b82':
  Don't toggle between in app and global search on repeat key events.
2009-09-04 14:25:30 -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