| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Bug: 6610952
We don't null item.thumbnail because we want to recycle the bitmap
if the item changes, so add a boolean saying whether or not we have
an actual thumbnail to show to avoid showing stale data
Change-Id: Ibfd485cb7f3ea8991222b8e99704170bf331472b
|
|
|
|
|
|
| |
Bug: 6446119
Change-Id: If8c13c9f2cb9b93c6f3575f12111059aeeacd5cb
|
|
|
|
| |
Change-Id: Ia38f8aabbb5cfa1cceab160f4285e7b86aac2c17
|
|
|
|
|
|
| |
Bug: 5297900
Change-Id: I8b728cfe06799099e21c402d5da7087507209ffa
|
|
|
|
|
|
|
|
| |
Bug: 6332869
Bug: 5494697
Bookmark type also gives us an easy way to localize Other Bookmarks
Change-Id: Iab208da0cb1b2af5d256990cdc4ab5c11821523b
|
|
|
|
|
|
| |
Bug: 5066431
Change-Id: Icc4ea38e64881d0f67d3cbbd0b6bda7138f4a0b4
|
|
|
|
|
|
| |
Bug: 4645489
Change-Id: Id6eab53a6cb73083781c96a41bfeffec6eae0498
|
|
|
|
|
|
|
| |
Use calculated sizes to correctly center without the need for
"magic" padding values.
Change-Id: Ida64a80243df9bf05355dd1db1047fc16c10b726
|
|
|
|
|
|
|
| |
Change bookmark view to show all bookmarks
Group by account_name
Change-Id: I2c252c9f0e8d4df4271649dbe9bf3db336f921df
|
|
|
|
|
|
| |
Make it holo and clean up the code
Change-Id: I6462cb72f104a2c076fd2ce2da876c74de8e783a
|
|
|
|
|
|
|
|
|
| |
drop in new assets
get naming in sync with UX
Note: not all resources are included yet
item_background...xm will be enabled when all required resources come in
Change-Id: I321084abd25ef6c533f1f3da636a246e7ee00547
|
|
|
|
| |
Change-Id: If4af6e37252f297bc1744af65df4bc2f123f41dd
|
|
|
|
| |
Change-Id: Ibdf7f93f7c5863d7108044dcd40d3866ff02518a
|
|
|
|
|
|
|
|
|
|
| |
Bug: 3286323
This updates both the assets for the bookmark widget and slightly
alters its behavior to match the updated spec. There are now two
touch targets in the header, one launches the browser and the other
launches the bookmarks view.
Change-Id: I1e8864983852af8421280b86421dea1d9ed4335e
|
|
|
|
|
|
|
|
|
|
| |
Bug: 2926451
This change refactors the BrowserBookmarkPage fragment for better
encapsulation, and updates the CombinedBookmarkHistoryView and
ShortcutActivity. ShortcutActivity now supports folder navigation
as well as toggling list or thumbnail view.
Change-Id: Ie8168467e793d60d75c15746f81318cfa7e9f003
|
|
|
|
|
|
|
|
|
| |
Bug: 3166319
This adds a popup menu option to the combined view that allows a
user to switch between viewing their bookmarks as a grid of thumbnails
or as a list of bookmarks with favicons.
Change-Id: I6729d477f574a46847dff4b69c1b32d9f63fb37f
|
|
|
|
| |
Change-Id: I34765961c29afa711f4d4e3f8f7fa9fca13753c6
|
|
|
|
| |
Change-Id: I33e72e55e0cad9c73b3c50cb30277ed22eb511cb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This one has support for bookmarks sync,
has the bookmarks and history in separate
tables, and supports hierarchical bookmarks.
Compatibility with the old APIs is not yet complete.
The Bookmarks UI has been switched over to the
new provider. Creating bookmarks puts them
in the UIs root folder.
Change-Id: Ib21713ddd19f43d178d49dbac977f749e7103368
|
|
|
|
|
|
|
|
| |
Handling it asynchronously prevented an ANR but it still took forever with large
databases.
Bug: 2581894
Change-Id: I273375e439d7e3ac048728aabb39c6920fa87e5a
|
|
|
|
|
| |
Bug: 2573890
Change-Id: I7c9ebfd1b561c40d806988e65f7e89d5cd283f89
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BrowserBookmarksAdapter does not need to request bookmark icons as most of the
bookmarks have up-to-date icons. We still need to request all icons on start up
because a new icon may be loaded as a result of clicking a history items.
Move the icon request to a background thread to not block the ui thread on large
db lookups.
Remove MostVisitedActivity as it is no longer used.
Bug: 2496872
Change-Id: I378dce8fdb7e825da96594cd31b720ea24758af1
|
|
|
|
|
|
| |
Requires a change to frameworks/base
Fixes http://b/issue?id=2243246
|
|
|
|
| |
Bug: 2271388
|
|
|
|
|
|
|
|
| |
in the ListView rather than the ones used to index into the bookmarks database. This caused a crash when bookmarks had titles longer than the text view limit.
Fix for b/2219781
Change-Id: I4ea3cdfbaedce0dea6bd69f560aae9aea71ed7c1
|
|
|
|
| |
Change-Id: I860482f0a0610669f87965947b0818508d8988b7
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fixes http://b/issue?id=2134421
|
|
|
|
|
| |
The WebView's original url and current url are incorrect during the provisional
load. Use the given url instead when updating the favicon.
|
|
|
|
| |
Change-Id: Iaf52037f755fea343ef68a23d3740f0f5cdcecb7
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
bookmarks/most visited page sticky.
Change-Id: I67db0ef2997a5948491223a5ae17fd4aa0356e94
|
|
|
|
| |
Change-Id: Iff64adbd0549be5c182dd38a18c5fbeb5e88a1e8
|
|
|
|
|
|
|
|
|
| |
Start capturing screenshots for all visited pages, and show them
in a grid view on the most visited page. Modify the BrowserBookmarks-
Page and Adapter so they can be used for the "Most visited" page.
Also change some of the ids for context menu items to be the same
in the browser and history context menus, for simplicity in
handling them in BrowserBookmarksPage.
|
|
|
|
|
|
|
|
|
|
|
| |
Add DownloadTouchIcon, an AsyncTask that downloads the apple-touch-icon for urls
that are marked as bookmarks. The touch icon is stored in the bookmark database
similar to favicons and thumbnails. If a shortcut is created for a bookmark
containing a touch icon, the touch icon is used (with rounded corners).
Refactor the bookmarks query to be a static function. The function uses the
original url and new url to look for matching bookmarks. This takes care of
redirects as well as bookmarks containing queries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new assets.
-tab_indicator.xml
State selector for the background of tabs in the CombinedHistoryActivity
-bookmark_thumnail.xml
Web page title is now above the thumb. Removed the favicon. Added a
shadow.
-tab_header.xml
Layout for the tabs in CombinedHistoryActivity
-tabs.xml
Change the height of the tabs.
-bookmarks.xml
Remove the title for the "switch" menu item, which gets set in Java,
depending on the current viewing mode.
-strings.xml
Remove the placeholder menu item text, add the actual text for
switching between modes.
-BrowserBookmarksAdapter
No longer set the favicon on top of the bookmark thumbs in grid mode.
-BrowserBookmarksPage
Implement onPrepareOptionsMenu, and set the title of a menu option,
depending on the current viewing state.
-CombinedHistoryActivity
Create a common function for setting up all the tabs. Change the
look of the tabs to match the new design.
|
|
|
|
|
|
|
|
|
|
| |
Remove the file BookmarkGridPage, since a GridView will do just fine.
Now we specify a height and width for the bitmaps rather than adjusting
them for the screen size. Also add the favicon and match the design
more closely for the Add option. In BrowserActivity, match the size
of the saved screenshots to the desired size for the Bookmarks
Activity. Also move the logic into its own method so it can be
called from multiple places (still called in only one at the moment).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This way the two different modes can share code and have
all the same behaviors (i.e. context menu options).
AndroidManifest.xml
Remove BookmarkGridPage, which is no longer an Activity.
bookmarks.xml
Add a menu option to switch between the different viewing modes.
strings.xml
Name for that menu option.
AddNewBookmark.java
Remove copyTo, which is not necessary.
BookmarkGridPage.java
Change to just be a GridView, with our desired settings, and
overriding onSizeChanged to size the thumbs appropriately. Now its
constructor takes a BrowserBookmarksAdapter, which it uses instead
of its old private Adapter.
BrowserBookmarksAdapter.java
Now has two modes, so it can be used for both the bookmarks grid
and the list view. Removed a bunch of obsolete code, which was
used for searching/sorting the bookmarks.
BrowserBookmarksPage.java
Now switches back and forth between using a GridView and a ListView.
|
|
|
|
|
| |
Driven by a desire to put bookmarking functionality into the title
bar, I have consolidated the code for adding and removing bookmarks.
|
|
|
|
|
| |
This string was used for logging error messages, but
it is not used.
|
| |
|
| |
|
| |
|
| |
|
|
|