2903 Commits

Author SHA1 Message Date
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
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
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
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
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
ff86d9f9dc Merge change 24002 into eclair
* changes:
  Fix SparseArray accesses
2009-09-04 15:16:25 -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
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
Karl Rosaen
7bafed8623 Do a better job at finding the activity associated with a dialog when triggering search.
It first looks to see if there is an activity that is managing the dialog, and if not,
follows the context / contextwrapper chain to find an activity if possible.

Fixes http://b/issue?id=2064772.
2009-09-04 11:27:05 -07:00
Grace Kloba
e5b6d02f34 Translate the content dimension to the view space before setting them to the view.
Fix http://b/issue?id=2027254
2009-09-04 10:34:14 -07:00
Android (Google) Code Review
34619494e0 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
Chih-Chung Chang
5962d279f9 Add more documents on the ACTION_SEND_MULTIPLE intent.
Change-Id: Ic3d7b74299611158470b729be654fbadde1691ff
2009-09-04 15:16:06 +08:00
Dmitri Plotnikov
b1e2a4d0d0 Removing references to deprecated API and the deprecated API itself. 2009-09-03 16:27:37 -07:00
Ken Shirriff
6fd7385f56 Add sync_details support.
This adds sync_details logging to AbstractThreadedSyncAdapter and thus
the new contacts code.
2009-09-03 15:43:21 -07:00
Andrei Popescu
4950b2b695 Fix appcache layout test that was timing out due to race condition in WebView::addJavascriptInterface. 2009-09-03 22:31:55 +01:00
Dianne Hackborn
dd9b82c283 Add better service reporting.
This will be used elsewhere.

Change-Id: Id561fa7fed5eb65446312cb697813483903d33a6
2009-09-03 14:11:02 -07:00
Android (Google) Code Review
b00fc7357f 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
fbd9b87fea 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
Leon Scroggins
0236e673d8 Attach the title bar to the top of the page.
Remove the old notions of changing the viewing mode
resulting in changing the visibility of the title bar.
Instead, attach the title bar to the top of the page.
Change contentToView() to contentToViewY() (and an X
version; same change for viewToContent), to account
for the title bar's height.  Adjust the parameters
for drawing the scroll bar to account for the title bar.
Requires a change to packages/apps/Browser.

Change-Id: Ic0f7d6e0a1cce58ba2bca87337cf72a8194e9aa4
2009-09-03 14:08:53 -04:00
Mike Lockwood
d42685d5de Add support for running apps with uid/gid AID_LOG by specifying android.uid.log in the manifest
This is needed to allow the BugReportService to start the dumpstate service.

Change-Id: I12cab23767c919592da102c654b6b80416717661
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-03 13:47:54 -04:00
Android (Google) Code Review
70fc625745 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
Mike Reed
4d6fe5ffdc allow subclassing for drawing vertical scrollbar, so that clients (e.g. webview) can resize/position 2009-09-03 13:29:05 -04:00
Android (Google) Code Review
505cbb446d Merge change 23811 into eclair
* changes:
  Fix the registration of the package changes broadcast receiver.
2009-09-03 09:33:44 -07:00
Jeff Hamilton
c42c0dd1c4 Fix the registration of the package changes broadcast receiver.
Change-Id: Ib0b49153a0ec1af7c5a92753860df0f46064a7df
2009-09-03 09:09:30 -05:00
Steve Block
4afcd2e9d6 Handle security exception when Geolocation registers with system location service in DumpRenderTree. 2009-09-03 12:02:20 +01:00
Dianne Hackborn
85644d7889 Really fix issue #:2097189 can't set custom wallpaper
Change-Id: Id0775b6c6716775c5da6f4fadf696571019279cc
2009-09-03 00:23:04 -07:00
Jeff Sharkey
0c36a517cd Add private API for data with presence. 2009-09-02 23:16:44 -07:00
Dianne Hackborn
5e802fbb89 Fix issue #2097189: can't set custom wallpaper
My deadlock fix was only half done.

Change-Id: If9f286030894a60cd71851fb784bb61045f08185
2009-09-02 21:53:30 -07:00
Android (Google) Code Review
fb16e5ccdb Merge change 23607 into eclair
* changes:
  Reject (NAK) CDMA SMS with unknown teleservice ids.
2009-09-02 20:29:09 -07:00
Dmitri Plotnikov
ceb7979636 [Issue 2087123] Suppressing all exception when trying to load a photo for the in-call UI 2009-09-02 19:13:58 -07:00
Dianne Hackborn
840c3a2b7e Fix deadlock in wallpaper.
Change-Id: I9ab5681ebf325a9e33ca4b59a8581e535e4dde54
2009-09-02 17:56:50 -07:00
Android (Google) Code Review
78c951b286 Merge change 23704 into eclair
* changes:
  Fiddle system boot ordering.
2009-09-02 17:55:35 -07:00