OSDN Git Service
Grace Kloba [Tue, 29 Sep 2009 20:13:36 +0000 (13:13 -0700)]
Check null for intent.getData() before using it.
Fix http://b/issue?id=
2151485
Android (Google) Code Review [Tue, 29 Sep 2009 20:52:19 +0000 (16:52 -0400)]
Merge change Id9898b22 into eclair
* changes:
Check to make sure the captured picture is non null before using.
Leon Scroggins [Tue, 29 Sep 2009 20:38:47 +0000 (16:38 -0400)]
Check to make sure the captured picture is non null before using.
Fixes http://b/issue?id=
2154493
Change-Id: Id9898b2251585e8adbae286df6173a2e1989c838
Android (Google) Code Review [Tue, 29 Sep 2009 19:45:29 +0000 (15:45 -0400)]
Merge change I776878e9 into eclair
* changes:
Add '&android-home' to the google homepage string
Android (Google) Code Review [Tue, 29 Sep 2009 19:43:35 +0000 (15:43 -0400)]
Merge change Iffca70f6 into eclair
* changes:
Reduce browser backup agent's amount of logging
Christopher Tate [Tue, 29 Sep 2009 19:40:25 +0000 (12:40 -0700)]
Reduce browser backup agent's amount of logging
DEBUG=false now, and so we emit only one-line activity summaries during backup
and restore.
Change-Id: Iffca70f60581672ce686429db0a4382d934de663
Cary Clark [Tue, 29 Sep 2009 19:12:03 +0000 (15:12 -0400)]
Add '&android-home' to the google homepage string
Also, mark it as non-translatable, and remove the translated
versions.
fixes http://b/issue?id=
2148022
Leon Scroggins [Tue, 29 Sep 2009 17:08:35 +0000 (13:08 -0400)]
Updates for the title bar.
Modify the layout of the title bar to better match that of the
search bar. Also use the newer asset for the bookmarks button.
See http://b/issue?id=
2126429 and http://b/issue?id=
2145205
Change-Id: I14f05ca00a30f67d59d407ac3f6dfb2ac63a8184
Android (Google) Code Review [Tue, 29 Sep 2009 18:31:29 +0000 (14:31 -0400)]
Merge change I237fc084 into eclair
* changes:
Makes Geolocation permissions prompt pretty.
Steve Block [Tue, 29 Sep 2009 12:14:41 +0000 (13:14 +0100)]
Makes Geolocation permissions prompt pretty.
Change-Id: I237fc0845de2297babc7da448a2199c5344e2e83
Android (Google) Code Review [Tue, 29 Sep 2009 18:05:48 +0000 (14:05 -0400)]
Merge change I67f0a56d into eclair
* changes:
Enable fading scrollbar for the Browser
Cary Clark [Tue, 29 Sep 2009 17:00:45 +0000 (13:00 -0400)]
don't create the fake title bar when getGlobalVisible fails
If getGlobalVisibleFails, the visible rectangle top is
assumed to be zero, as if the status bar has no height. The
fake title bar is then drawn underneath the actual status
bar. Bail on the fake title bar creation if the status bar
can't be measured.
Ben Murdoch [Tue, 29 Sep 2009 08:41:11 +0000 (09:41 +0100)]
Fix miniature thumbnail problem and delay saving of a screenshot by 500ms after a page has completed loading to ensure the WebView has completed painting and that we therefore save an accurate thumbnail.
Change-Id: I77f5d12062de0b9703e5d3ec0c53910f4d62743d
Mike Cleron [Tue, 29 Sep 2009 06:50:30 +0000 (23:50 -0700)]
New icons
Grace Kloba [Tue, 29 Sep 2009 04:24:51 +0000 (21:24 -0700)]
Enable fading scrollbar for the Browser
Fix http://b/issue?id=
2151115
Cary Clark [Mon, 28 Sep 2009 21:05:06 +0000 (17:05 -0400)]
check to see if the real title bar has no parent
This works around a monkey-found crash that is unlikely to
be triggerable by a user.
Fixes http://b/issue?id=
2150746
Leon Scroggins [Mon, 28 Sep 2009 19:56:52 +0000 (15:56 -0400)]
More assets refresh.
Change-Id: Ieb591dd057d36919daea4578d0c15bcc896b5672
Leon Scroggins [Mon, 28 Sep 2009 19:30:44 +0000 (15:30 -0400)]
Use new bookmark assets.
Use the latest assets for the bookmark menu option, as well as for
the bookmark tab on the bookmarks page.
Fixes http://b/issue?id=
2145205
Change-Id: Ic36ce791a9352be2a175f5affba32873b4854d8e
Android (Google) Code Review [Mon, 28 Sep 2009 17:37:06 +0000 (13:37 -0400)]
Merge change 27451 into eclair
* changes:
Fix for the dual notification problem
Android (Google) Code Review [Mon, 28 Sep 2009 17:36:37 +0000 (13:36 -0400)]
Merge change 27460 into eclair
* changes:
Update menu items.
Nicolas Roard [Mon, 28 Sep 2009 16:03:36 +0000 (17:03 +0100)]
Fix for the dual notification problem
Leon Scroggins [Mon, 28 Sep 2009 16:01:00 +0000 (12:01 -0400)]
Make bookmarks grid view inset by the width of the scrollbar.
Fix for http://b/issue?id=
2148144
Change-Id: I2291939de843720899dfd8f4281ed9dcb6aa77a4
Leon Scroggins [Mon, 28 Sep 2009 15:21:56 +0000 (11:21 -0400)]
Update menu items.
Fix for http://b/issue?id=
2145205
Change-Id: I9c7de6fc8ff81b7a583c0c9a9724651b3304f93f
Android (Google) Code Review [Mon, 28 Sep 2009 14:49:47 +0000 (10:49 -0400)]
Merge change 27436 into eclair
* changes:
append '&source=android-home' to the homepage_base string
Cary Clark [Mon, 28 Sep 2009 14:18:29 +0000 (10:18 -0400)]
append '&source=android-home' to the homepage_base string
Additionally, either this string should be marked translatable=false
and all existing translations should be removed or all existing
translations must be updated.
This fixes http://b/issue?id=
2148022
Android (Google) Code Review [Mon, 28 Sep 2009 10:49:35 +0000 (06:49 -0400)]
Merge change 27416 into eclair
* changes:
Only update the bookmark screenshot if the page completed loading fully (i.e. do not save a screenshot if the user canceled loading.
Ben Murdoch [Mon, 28 Sep 2009 09:59:09 +0000 (10:59 +0100)]
Only update the bookmark screenshot if the page completed loading fully (i.e. do not save a screenshot if the user canceled loading.
Bug:
2148161
Change-Id: Ia226959cd18848d0eb2e302a9ef894c5c142d37d
Ben Murdoch [Mon, 28 Sep 2009 09:29:35 +0000 (10:29 +0100)]
Fix NPE when adding a new bookmark.
Bug:
2148968
Change-Id: I03025c3845e536d8aba0c1a8f2c6537333422a48
Android (Google) Code Review [Fri, 25 Sep 2009 20:09:51 +0000 (16:09 -0400)]
Merge change 27095 into eclair
* changes:
Use new, consistent assets for adding a bookmark.
Leon Scroggins [Fri, 25 Sep 2009 19:47:05 +0000 (15:47 -0400)]
Use new, consistent assets for adding a bookmark.
Change-Id: I08b492a792e518acb53a69346d51c8c88c06b75e
Leon Scroggins [Fri, 25 Sep 2009 19:22:08 +0000 (15:22 -0400)]
Only draw the fake title bar's shadow if the webview is not scrolled.
Fixes http://b/issue?id=
2142575
Change-Id: I1b29cf6b7fcf89e6c7ebbb967a46434424d6ba54
Android (Google) Code Review [Fri, 25 Sep 2009 17:42:19 +0000 (13:42 -0400)]
Merge change 27061 into eclair
* changes:
Update assets for new tab.
Leon Scroggins [Fri, 25 Sep 2009 17:28:15 +0000 (13:28 -0400)]
Update assets for new tab.
Also remove the old one and an obsolete file which references it.
Fixes http://b/issue?id=
2099961
Change-Id: I92e08fcc07826d5bde7ddb87c71932de2e01b778
Leon Scroggins [Fri, 25 Sep 2009 17:01:45 +0000 (13:01 -0400)]
Use new assets for list view and thumbnail view.
Change-Id: I5a5395c6d64cd71f3af404dc049d89c66dea613b
Leon Scroggins [Thu, 24 Sep 2009 20:06:02 +0000 (16:06 -0400)]
Fix layout issues on the bookmarks screen.
Limit the title of a bookmark to stop at the right edge of screenshot.
Use the new default screenshots for bookmarks without screenshots.
Resize the bookmark screenshot to match the size of the default icon.
Fixes http://b/issue?id=
2042025 and http://b/issue?id=
2098770
Change-Id: I66a10671ea98007cfe5bf7502fb1e3619276ca22
Ben Murdoch [Thu, 17 Sep 2009 15:57:40 +0000 (16:57 +0100)]
In the case of a page load error, save a second screenshot in onProgressChanged(100) to ensure that we save the substituted error page rather than the previous page that loaded. Also save the thumbnail for the page if the user creates the bookmark through the add bookmark menu or clicking the add bookmark icon on the bookmarks page.
Change-Id: Ib2b7692a45290f9ce372968e05cde8f6903e4572
Leon Scroggins [Mon, 21 Sep 2009 14:40:01 +0000 (10:40 -0400)]
Add a context menu for the title bar.
Fix for http://b/issue?id=
2131232
Change-Id: I28f23d4dc1060208c3d12cf8e2bcbd0be24a9c6c
Grace Kloba [Wed, 23 Sep 2009 20:33:10 +0000 (13:33 -0700)]
Add enable plug-ins to UI. Remove pluginsPath from BrowserSettings as it is unused now.
Grace Kloba [Thu, 24 Sep 2009 01:50:05 +0000 (18:50 -0700)]
We should return after calling moveTaskToBack when there is no current tab.
Fix http://b/issue?id=
2142160
Grace Kloba [Thu, 24 Sep 2009 04:37:25 +0000 (21:37 -0700)]
If we get web search request in onCreate, just finish the
current activity. Otherwise it puts the BrowserActivity in
a bad state where there is no current tab.
Fix http://b/issue?id=
2142368
Andrei Popescu [Thu, 24 Sep 2009 12:25:47 +0000 (13:25 +0100)]
Add possibility to customize the chooser dialog used to allow the user
to choose the application for sharing a link.
Fixes http://b/issue?id=
2099733
Leon Scroggins [Wed, 23 Sep 2009 21:42:41 +0000 (17:42 -0400)]
When hiding the fake title bar, animate or not based on current scroll.
Change-Id: Ib3177e68afa30f3a3c7f42aafe0abbf8b58f0412
Android (Google) Code Review [Wed, 23 Sep 2009 20:50:25 +0000 (16:50 -0400)]
Merge change 26660 into eclair
* changes:
Draw pressed states on the fake title bar.
Leon Scroggins [Wed, 23 Sep 2009 20:19:22 +0000 (16:19 -0400)]
Draw pressed states on the fake title bar.
Use custom selectors for the title bar and its button.
Fixes http://b/issue?id=
2127259
Change-Id: I19a7912f6edc0b7ef46907d25907dc3f5a65efd7
Android (Google) Code Review [Wed, 23 Sep 2009 19:25:34 +0000 (15:25 -0400)]
Merge change 26630 into eclair
* changes:
Tweaks to improve the look of the bookmarks page.
Leon Scroggins [Thu, 17 Sep 2009 16:46:04 +0000 (12:46 -0400)]
Tweaks to improve the look of the bookmarks page.
Change the size of the thumbnails for hi dpi. Scale the
thumbnails according to the content width. Make the overlay
on the first item slightly lighter.
See http://b/issue?id=
2137041
Change-Id: Ib461459c37ee03d1a6013a404a35c3869a8bb284
Android (Google) Code Review [Wed, 23 Sep 2009 18:54:57 +0000 (14:54 -0400)]
Merge change 26588 into eclair
* changes:
Use favicons in the tab page instead of a snapshot.
Patrick Scott [Wed, 23 Sep 2009 12:08:17 +0000 (08:08 -0400)]
Use favicons in the tab page instead of a snapshot.
Remove the FakeWebView and all the picture stuff from the picker data. Use the
favicon in a layout similar to history and bookmarks. Add tab_view_add_tab.xml
to have a simpler layout for the "new tab" item in the list.
Grace Kloba [Wed, 23 Sep 2009 01:17:24 +0000 (18:17 -0700)]
Move the page up/down shortcut key from onKeyUp to onKeyDown as
WebView handles the keys in down, not up.
Andrei Popescu [Wed, 23 Sep 2009 15:39:23 +0000 (16:39 +0100)]
Reset title bar after closing tab
Fixes http://b/issue?id=
2139260
Andrei Popescu [Wed, 23 Sep 2009 14:52:16 +0000 (15:52 +0100)]
Make the deletion of bookmarks depend on both title and URL
Fixes http://b/issue?id=
2134421
Cary Clark [Tue, 22 Sep 2009 18:53:11 +0000 (14:53 -0400)]
switch to modern contact interface
The browser can launch an intent to add a phone number
on a web page to a contact. Use the current interface
to do so instead of the deprecated interface.
Fixes http://b/issue?id=
2126565
Android (Google) Code Review [Tue, 22 Sep 2009 20:58:59 +0000 (16:58 -0400)]
Merge change 26353 into eclair
* changes:
Pass search intent extra data through the browser
Leon Scroggins [Tue, 22 Sep 2009 15:23:52 +0000 (11:23 -0400)]
Use a modified version of the search plate for the browser bar.
Change-Id: I92b472de69756c68e8a0f8dcacf8bd4787597dd5
Bjorn Bringert [Tue, 22 Sep 2009 09:36:01 +0000 (10:36 +0100)]
Pass search intent extra data through the browser
This is needed by some web search providers for logging.
Change-Id: I7a6dba26d79ee97e4a4628269b212e80151ad9ee
Android (Google) Code Review [Tue, 22 Sep 2009 18:02:54 +0000 (14:02 -0400)]
Merge change 26219 into eclair
* changes:
Reimplement the settings to use async callbacks
Patrick Scott [Fri, 18 Sep 2009 20:29:38 +0000 (16:29 -0400)]
Support precomposed app icons.
The precomposed icon overrides any other touch icon. We still need to do the
round rect clip because apparently apple still applies the rounded corners, just
not the glass effect. Inset the rectangle by 1 to fit the icons better.
Nicolas Roard [Tue, 22 Sep 2009 14:17:52 +0000 (15:17 +0100)]
Reimplement the settings to use async callbacks
Android (Google) Code Review [Tue, 22 Sep 2009 13:38:29 +0000 (09:38 -0400)]
Merge change 26273 into eclair
* changes:
Updates for bookmarks page.
Leon Scroggins [Mon, 21 Sep 2009 23:05:49 +0000 (19:05 -0400)]
Updates for bookmarks page.
Move the title below the snapshot, and for the current page, dim
the whole snapshot.
Change-Id: Ia6aaa68c45c47a0dad6090b190cec2d6dee65f28
Leon Scroggins [Mon, 21 Sep 2009 20:02:01 +0000 (16:02 -0400)]
Add a shadow to the fake title bar.
Remove old code which requests windowOverlays. When inserting the
fake title bar, put a shadow underneath it. Do not show it if the
scroll is at the top, since it is transparent, and showing it along
with the shadow below the real title bar would show a darker shadow.
Fixes http://b/issue?id=
2118813
Change-Id: I84b8975ea82cc8659b702112c7e67498f863916c
Android (Google) Code Review [Mon, 21 Sep 2009 20:45:11 +0000 (16:45 -0400)]
Merge change 26235 into eclair
* changes:
Check for a valid token before adding the fake title bar.
Patrick Scott [Mon, 21 Sep 2009 20:37:29 +0000 (16:37 -0400)]
Check for a valid token before adding the fake title bar.
This is basically what happens when adding the view to the window. In some
cases, the decor view may be null or the window token may be null which throws
an exception.
Android (Google) Code Review [Mon, 21 Sep 2009 19:02:56 +0000 (15:02 -0400)]
Merge change 26174 into eclair
* changes:
Remove Gears files
Andrei Popescu [Mon, 21 Sep 2009 17:49:42 +0000 (18:49 +0100)]
Remove Gears files
Android (Google) Code Review [Mon, 21 Sep 2009 17:47:07 +0000 (13:47 -0400)]
Merge change 26168 into eclair
* changes:
Update the correct favicon when starting the load.
Patrick Scott [Mon, 21 Sep 2009 17:39:37 +0000 (13:39 -0400)]
Update the correct favicon when starting the load.
The WebView's original url and current url are incorrect during the provisional
load. Use the given url instead when updating the favicon.
Android (Google) Code Review [Mon, 21 Sep 2009 16:53:26 +0000 (12:53 -0400)]
Merge change 26151 into eclair
* changes:
Account for find dialog height in content height
Cary Clark [Mon, 21 Sep 2009 16:01:52 +0000 (12:01 -0400)]
Account for find dialog height in content height
Use the set dialog height when the find dialog is up so that
found items at the bottom of the screen are scrolled into view.
This uses a companion change in webview that takes the find
dialog height into account when computing the content height.
Fixes http://b/issue?id=
2122916
Android (Google) Code Review [Mon, 21 Sep 2009 15:33:22 +0000 (11:33 -0400)]
Merge change 26149 into eclair
* changes:
Show the fake title bar when loading regardless of scroll position.
Android (Google) Code Review [Mon, 21 Sep 2009 15:02:26 +0000 (11:02 -0400)]
Merge change 26147 into eclair
* changes:
Make the Combined Bookmark and History Activity use the BrowserActivity as it's search provider so that we can start typing on the bookmarks page and perform a search/URL load.
Leon Scroggins [Mon, 21 Sep 2009 14:38:24 +0000 (10:38 -0400)]
Show the fake title bar when loading regardless of scroll position.
Fix for http://b/issue?id=
2131516
Change-Id: I7d5e02928a36d732b4fc4a2a6b47d7f59e473de1
Ben Murdoch [Mon, 21 Sep 2009 14:34:07 +0000 (15:34 +0100)]
Make the Combined Bookmark and History Activity use the BrowserActivity as it's search provider so that we can start typing on the bookmarks page and perform a search/URL load.
Change-Id: Ic05a19fab3ddccd99c5a07c6c9c10b85c791717a
Ben Murdoch [Mon, 21 Sep 2009 13:29:20 +0000 (14:29 +0100)]
Put current screenshot under "Add" on bookmark thumbnail page.
Change-Id: Iaf52037f755fea343ef68a23d3740f0f5cdcecb7
Grace Kloba [Fri, 18 Sep 2009 18:48:29 +0000 (11:48 -0700)]
Handle BACK key at UP in the Browser.
Remove KeyTracker, use KeyEvent instead.
Remove ImageGrid and ImageAdapter.
Roy West [Fri, 18 Sep 2009 23:29:38 +0000 (16:29 -0700)]
Fix bug
2121080: edits to Browser strings.
Note that we are staying with "window" not "tab" for Eclair.
Android (Google) Code Review [Fri, 18 Sep 2009 20:02:49 +0000 (16:02 -0400)]
Merge change 25131 into eclair
* changes:
Add javacript to intent filters for the Browser.
Leon Scroggins [Tue, 15 Sep 2009 21:33:20 +0000 (17:33 -0400)]
Add javacript to intent filters for the Browser.
Enables having a shortcut on the home screen of a bookmark which is
javascript.
Change-Id: Icae2785b144cfb1885e21ebbd7f86685447c2b5e
Android (Google) Code Review [Fri, 18 Sep 2009 19:24:47 +0000 (15:24 -0400)]
Merge change 25777 into eclair
* changes:
Give more space to the close button, and highlight separately from tab.
Leon Scroggins [Fri, 18 Sep 2009 18:21:08 +0000 (14:21 -0400)]
Give more space to the close button, and highlight separately from tab.
Fix for http://b/issue?id=
2126503 and http://b/issue?id=
2124781
Change-Id: I4a83223477e553d124ed667d92bc4970a3ebca0e
Andrei Popescu [Fri, 18 Sep 2009 17:59:20 +0000 (18:59 +0100)]
Add progress view and default poster for the <video> implementation
Android (Google) Code Review [Fri, 18 Sep 2009 11:59:54 +0000 (07:59 -0400)]
Merge change 25749 into eclair
* changes:
Fix for
2023896
Andrei Popescu [Fri, 18 Sep 2009 11:54:46 +0000 (12:54 +0100)]
Eric Fischer [Thu, 17 Sep 2009 21:28:50 +0000 (14:28 -0700)]
Import revised translations. DO NOT MERGE
Grace Kloba [Thu, 17 Sep 2009 18:51:21 +0000 (11:51 -0700)]
This tries to address a potential Browser CPU spinning
problem.
Fix http://b/issue?id=
2127825
Patrick Scott [Thu, 17 Sep 2009 17:51:30 +0000 (13:51 -0400)]
Display favicons for history items.
Use the data from the java database before talking to the native database. The
bookmarks database may contain favicons that the native database does not have a
mapping for. Used the native icon database for recent history items since those
are not stored in the java db. Request the icons each time the activity is
created since the url->bitmap mapping is a global.
Android (Google) Code Review [Thu, 17 Sep 2009 16:40:10 +0000 (12:40 -0400)]
Merge change 25402 into eclair
* changes:
Remove the extra padding in the Tabs.
Grace Kloba [Wed, 16 Sep 2009 22:56:40 +0000 (15:56 -0700)]
Remove the extra padding in the Tabs.
Use scheme to define the Bookmark style.
Fix http://b/issue?id=
2125502
Nicolas Roard [Thu, 17 Sep 2009 15:56:27 +0000 (16:56 +0100)]
Fix warning
Patrick Scott [Thu, 17 Sep 2009 12:00:31 +0000 (08:00 -0400)]
Remove the WebView from its container to change focus.
When the container is removed from the content view, its child views do not lose
focus. Removing the WebView from the container as well will trigger a focus
change from the WebView. Move the attach/remove logic to TabControl since it
knows all about the containers.
Patrick Scott [Wed, 16 Sep 2009 14:00:17 +0000 (10:00 -0400)]
Remove the old network status intent.
Use NetworkInfo to see if we are connected to a network instead of the intent
extra. Update the network dialog text and refactor the alert dialog creation to
reuse code.
Android (Google) Code Review [Wed, 16 Sep 2009 22:50:34 +0000 (18:50 -0400)]
Merge change 25371 into eclair
* changes:
Remove the shadow in the Browser. Use xml to indicate windowNoTitle.
Grace Kloba [Wed, 16 Sep 2009 22:43:22 +0000 (15:43 -0700)]
Remove the shadow in the Browser. Use xml to indicate windowNoTitle.
http://b/issue?id=
2125456
Nicolas Roard [Wed, 16 Sep 2009 20:50:06 +0000 (21:50 +0100)]
Fix for the progress indicator not spinning
Android (Google) Code Review [Wed, 16 Sep 2009 21:47:16 +0000 (17:47 -0400)]
Merge change 25349 into eclair
* changes:
Use an "X" on the title bar to allow the user to stop loading.
Leon Scroggins [Wed, 16 Sep 2009 21:31:59 +0000 (17:31 -0400)]
Use an "X" on the title bar to allow the user to stop loading.
See http://b/issue?id=
2111209
Change-Id: I751f2f94d342fac67c4a9172704fbb0edda69075
Leon Scroggins [Wed, 16 Sep 2009 18:41:00 +0000 (14:41 -0400)]
Make the fake title bar extend to the full width.
Change-Id: I3d20459c6c93e4d5186a8135168b3b7e7d97ad1c
Grace Kloba [Wed, 16 Sep 2009 00:56:32 +0000 (17:56 -0700)]
Fix the lock icon when switch tabs.
In switchToTab, I think it is wrong code where it calls removeTabFromContentView(tab).
In openTabAndShow, we should really attach after we the tab to the current.
Fix http://b/issue?id=
2067930
Leon Scroggins [Wed, 16 Sep 2009 15:12:09 +0000 (11:12 -0400)]
Make the fake title bar look more like the regular title bar.
Place the fake title bar in FrameLayout with a shadow overlay and
a white background so it will look like the embedded title bar.
Fixes http://b/issue?id=
2123300 and part of http://b/issue?id=
2118813
Change-Id: I079cd5100dbc344867a75e3593471bc0c1e3d8eb
Grace Kloba [Wed, 16 Sep 2009 07:48:57 +0000 (00:48 -0700)]
Need to add touch icon when adding bookmark through menu.
Fix http://b/issue?id=
2123469