summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddBookmarkPage.java
Commit message (Collapse)AuthorAgeFilesLines
* asset drop & namingMichael Kolb2011-01-201-1/+1
| | | | | | | | | 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
* When canceling folder selection, go back to showing correct folder.Leon Scroggins2011-01-181-8/+30
| | | | | Bug:3364093 Change-Id: Ia50a601adb22a18570d9f8268c2c64185410bc99
* Show a remove button for existing bookmarks.Leon Scroggins2011-01-131-2/+30
| | | | | | Bug:3222677 Change-Id: Id11585bc68f239a02aa477898f6c00792ad44093
* Tapping star for bookmarked page now edits that bookmark.Leon Scroggins2011-01-131-73/+122
| | | | | | | | | | | Rather than creating a new bookmark. Bug:3222677 Use a CursorLoader to find the existing bookmark, if any, and another to find the root folder. Change-Id: I92bd28124b75d0cbb534480cc674ee352fb72ab7
* Close button on folder namer, with single line look.Leon Scroggins2011-01-111-0/+10
| | | | | Bug:2953515 Change-Id: Ic079383f5bab45c0aa8f9a704b5f64f8fe7fa79d
* Use a spinner for the folder selector.Leon Scroggins2011-01-071-45/+56
| | | | | Bug:2953515 Change-Id: I6487330840e38cf1d03a2a9ffcecbc6e211a3c38
* Update to new loader APIs.Dianne Hackborn2010-12-201-1/+1
| | | | Change-Id: I07914f5c1314509ecaec1a172e1f1d67f4be6641
* Improvements to add bookmark dialog.Leon Scroggins2010-12-171-1/+18
| | | | | | | | | Bug:2953515 Use the folder icon for folders. Center the header views in the choose folder view. Change-Id: Ia19d81131a177aa3fce02645c411011e40e21bc4
* Use a footer view for the folder namer.Leon Scroggins2010-12-161-23/+66
| | | | | | | | | Bug:3214584 Allows the EditText to be scrolled into view by scrolling the list. Change-Id: Idfb92d578f679b006bc2182c0c38143a12143eb0
* Prepare for some changes to LoaderManager/Loader.Dianne Hackborn2010-12-161-0/+8
| | | | | | | | Sorry it is a bit ugly, it is to allow this change to be checked in prior to the first stage of the framework change without breaking the build. Change-Id: I1357b8ee60a9880608069340c1e4e9e0275bee7a
* Request no title on addbookmark page.Leon Scroggins2010-12-151-8/+1
| | | | | | | | Bug:3183399 Increase the height of the custom title. Change-Id: I0fd3ebd3dfc1d7e623e108a0bc3957e9c2501c4c
* Place "Other bookmarks" in top level in AddBookmark.Leon Scroggins2010-12-101-38/+77
| | | | | | | | Bug:3255706 Bug:3255692 Bug:3255717 Change-Id: I29d03f0dd02193e5ab148d28c7df354abcf8a3ec
* Do not show allow placing a folder inside itself.Leon Scroggins2010-12-081-1/+7
| | | | | Bug:3263141 Change-Id: I0e070fbab798fe8c439b8ef0e6785b4a06e29466
* Bookmarks page UI updatesJohn Reck2010-12-031-34/+1
| | | | | | | | Bug: 3248628 Updates the bookmark page UI based off of the newest UI design document. Change-Id: I26447b7e1c38798b3c229c9d8c10af2565458a7b
* Adds context menu for folders (edit/delete)John Reck2010-11-241-39/+79
| | | | | | | Bug: 3214901 Adds support for folder context menus to edit and delete folders. Change-Id: I89cb2fa4b139ba3f59ec62b34154d5837c7f471b
* More updates to the add bookmark page.Leon Scroggins2010-11-191-14/+29
| | | | | | | | | | | Bug:2953515 Bug:3183399 Use icons for menu and "Add to" Use a TableLayout Remove the duplicate title Change-Id: I06e9b3010215ceae4d0212bccb61bc446e2c4e39
* Controller RefactorMichael Kolb2010-11-171-1/+1
| | | | | | | | | | Bug: 3170671 First step towards a model/view/control design in Browser introduced Controller object started separating UI code represent state of the app in one place only Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f
* Fixed bookmark folder creation bugJohn Reck2010-11-091-0/+7
| | | | | | | | Bug: 3052795 AddBookmarksPage would always create new folders with no account set, causing a bug if the browser was set to sync bookmarks. Change-Id: Ie5dc3a5d79e52e21dc1f2cb66e3821c8b9ff790a
* Use the correct anchor for the dropdown menu.Leon Scroggins2010-11-081-4/+1
| | | | | | | | | Bug:2953515 Now that b/3067895 has been fixed, we can put the dropdown in the desired location. Change-Id: Iec4967ce32113a4d60efd120af6d61cc0fd3181b
* Use constants in place of strings, and remove unused code.Leon Scroggins2010-10-221-25/+31
| | | | Change-Id: I4d27cf74edefcabacffbfc59fa8fe28f5b592fa7
* Incorporate save to home screen with add bookmark dialog.Leon Scroggins2010-10-221-14/+86
| | | | | | | | | | | Bug:2953515 Remove the initial popup menu when pressing the star that selects between saving to home screen and saving to bookmarks. Instead, once the add bookmark dialog is open, the user can select between bookmarks and saving to home screen. Change-Id: I35e8590ff6a2a7c2058e45e4f77ec6b5d209b0f9
* Updates to add bookmark.Leon Scroggins2010-10-191-15/+36
| | | | | | | | | | | | Bug:2953515 Create an empty view for the list showing sub folders. Update the text in the new folder button. When the user changes bread crumbs, cancel folder naming. Change-Id: I8c3f33b5b3bb6e07cd0fd421199eb905f40e45f4
* Update the "Add to" field of the add bookmarks page.Leon Scroggins2010-10-181-16/+41
| | | | | | | | | | | | | | | | | | | Bug:2953515 Only change mCurrentFolder when(if) the user presses OK on a folder. Allow a cancel press to go back to the default view without changing mCurrentFolder. In completeFolderNaming, use the id found in the top bread crumb to determine the containing folder. When changing mCurrentFolder, update the "Add to" field. Also fix a null pointer exception when editing a bookmark. Change-Id: I6f33b918a88d15e045007f213fa6f39d567ce10b
* More edits to the add bookmark page.Leon Scroggins2010-10-181-8/+16
| | | | | | | | | | | | | | | | | | | | Bug:2953515 BreadCrumbView: Make sure the height is at least as tall as the separator, so the height will not change when a separator is added or removed. Override getBaseline() to return the baseline of the crumbs. AddBookmarkPage: Move the Add new folder button to the top. Update the divider between the title and the rest of the dialog. Change-Id: I60d329626bd4ec2975cbf6ef00081338beeb7553
* Updates to the add bookmark dialog.Leon Scroggins2010-10-151-61/+89
| | | | | | | | | | | | | | | AddBookmarkPage: Use BreadCrumbView in the dialog. Set better dimensions so the dialog stays consistent. BreadCrumbView: Provide an option to disallow going back from a particular crumb. Limit the width of a crumb. Bug:2953515 Change-Id: Iadd68b89b9b43f9645d7c4dee483f66edb3f3c93
* new bookmark screen part 2Michael Kolb2010-10-131-3/+5
| | | | | | | | | specs here: https://docs.google.com/a/google.com/present/edit?id=0ARMpWryWB2oaY2RkbmZwdnBfODc0Y2diYnBoNDc&hl=en moved tabs to top added bread crumbs view for folder hierarchy changed thumbnail sizes for xlarge screens Change-Id: I3035f299b343f9aa1ec0dd41772e5594cd6b21f5
* Use getters/setters for WebAddress fieldsBjorn Bringert2010-10-131-1/+1
| | | | Change-Id: If5be5f28ad0ba2dd7ed3caef587136dca120a055
* Remove some unnecessary use of hidden APIsBjorn Bringert2010-10-121-3/+7
| | | | Change-Id: Ie72947017550d759994e34d7db8087d1f9e6d63a
* Merge commit '7bf3f38c493642b181f0c7ddf30b8214e50fea3b' into fix_amBjorn Bringert2010-10-121-3/+5
|\ | | | | | | | | | | | | | | Fixed conflicts: src/com/android/browser/AddBookmarkPage.java src/com/android/browser/DownloadTouchIcon.java Change-Id: I06cc43e41d1a01ef68aaad5dec3923f07d165329
| * NPE in DownloadTouchIcon because of getPreferredHttpHostHenrik Baard2010-09-061-3/+6
| | | | | | | | | | | | | | | | | | The call getPreferredHttpHost needs a context, however there are two constructors of the class, one of them does not take a context as input. Added context parameter to the second constructor. Change-Id: Ibe670c5b8848ced88b0756d83d5c13e0961652ae
* | Move AddBookmark dialog to upper right of screen.Leon Scroggins III2010-10-051-2/+11
| | | | | | | | | | | | Bug: 2953515 Change-Id: I5150cb5b5ac2034eb5f4fdfcee2165b845facd5b
* | fix empty bookmark folder names bugMichael Kolb2010-10-011-16/+17
| | | | | | | | | | | | http://b/issue?id=3052887 Change-Id: I6a9ba0c310cbb4b0ebd42c686785dc09900d4dda
* | Prevent a class cast exception.Leon Scroggins2010-09-291-1/+2
| | | | | | | | Change-Id: I823dbbd0a9dd6b32ec0d861dca3c04f07263ca9a
* | changed AddBookmark UIMichael Kolb2010-09-291-42/+81
| | | | | | | | | | | | | | | | | | | | make folder editing and add folder button mutually exclusive use ok button in edit folder name mode in addition to soft keyboard enter fixed folder list on startup Change-Id: Ie0bec93f1afe1f16e1693086f2fb25fd5ff723ad
* | Add settings to enable bookmarks sync.Jeff Hamilton2010-09-281-4/+4
| | | | | | | | Change-Id: I86bc4ce9d21ec0a040322bd704cef46eaa17dc9c
* | Use the Bookmarks Bar as the base folder.Leon Scroggins2010-09-281-3/+45
| | | | | | | | | | | | Use the bookmarks bar as the base folder for adding bookmarks. Change-Id: I7f3dfaf0784529ff03b6153937a43eaf7c5ac044
* | Beginning work on adding bookmarks with folders.Leon Scroggins III2010-09-221-52/+287
| | | | | | | | | | | | | | | | | | Bug: 2953515 Provides the basic functionality for the AddBookmark page, allowing the user to save the bookmark in a folder of his/her choosing. Change-Id: I170599b723069aaee661dae3fc1a0fb915793906
* | Add bookmarks to the current account.Jeff Hamilton2010-09-171-1/+1
| | | | | | | | | | | | | | | | | | Make sure to stuff newly created bookmarks in the currently active account so that they show up in the bookmarks UI and will get synced properly. Change-Id: I5677ddb8480957bc209d79cc41f7df02221ef66d
* | If the title is empty, do not attempt to save a bookmark.Leon Scroggins III2010-09-081-1/+1
| | | | | | | | | | Bug: 2952641 Change-Id: I9efa2536478ceedaaeaac992bd70efa2e538f615
* | Fix NPEs after merge of d159ec534823b87f9896843e95912b0df8c27e16 from openBen Murdoch2010-07-191-1/+1
| | | | | | | | | | | | source master. Change-Id: Ief98236102983698e4b753ec9649142761c86607
* | Improve the visibility and discoverability of the "add shortcutBen Murdoch2010-07-091-10/+47
|/ | | | | | | | | | | | | | | to home" functionality in the Browser. When the user selects the bookmark button adjacent to the URL bar they will be prompted to either add a new bookmark for the current page or add a shortcut to the current page to their homescreen, rather than being taken to the bookmark management activity. The bookmarks button on the options menu will still take the user directly to the bookmark management activity. Bug: b/2794945 Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
* Move queryBookmarksForUrl to background thread.Leon Scroggins2010-04-231-4/+1
| | | | | | Bug 2611964 Change-Id: I8f69ec42fbf880d031cfc2372cffd9719db4e280
* Log when bookmarks are addedKristian Monsen2010-02-011-0/+1
| | | | Log when the user add a bookmark, sending the url of the bookmark and how the bookmark was added
* Save to database in non UI thread.Leon Scroggins2010-01-041-27/+41
| | | | Work to prevent ANR reported in http://b/issue?id=2322540 category 1.
* Do not attempt to parse javascript: bookmarks as URIs, as this often fails.Ben Murdoch2009-11-171-20/+25
| | | | | Bug: http://b/2261225 Change-Id: I3322a2326cdddd290d4c5b95cc87624631d47c00
* Don't allow the user to save bookmarks with a scheme that the Browser cannot ↵Ben Murdoch2009-10-141-3/+8
| | | | | | directly handle. Change-Id: I9cbdfeaaeef4ded3dac1623854ecb9c5c603eb91
* Update the icon in the Add New Bookmark dialog and add a separator between ↵Ben Murdoch2009-10-011-1/+1
| | | | | | the title and UI widgets. Change-Id: I2e6b75a4205a2fdc7a2dbecf276e1ad5cf567d75
* Save a new bookmark to the bookmarks DB asynchronously. Fix for bug 2151093.Ben Murdoch2009-09-301-34/+76
| | | | Change-Id: I860482f0a0610669f87965947b0818508d8988b7
* Fix NPE when adding a new bookmark.Ben Murdoch2009-09-281-1/+1
| | | | | | Bug: 2148968 Change-Id: I03025c3845e536d8aba0c1a8f2c6537333422a48
* In the case of a page load error, save a second screenshot in ↵Ben Murdoch2009-09-241-2/+13
| | | | | | 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