summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddBookmarkPage.java
Commit message (Collapse)AuthorAgeFilesLines
* Browser: update UIjrizzoli2015-11-071-1/+1
| | | | | | | | | | | | | | | | | | | * Res - Rename (#themersgottahate) - Vectors - Card-Tabs - CleanUp * Interface - Longpress fab to open incognito tab - New icon - Better urlbar - Fix tab animations - Remap PieControl * Features - Immersive mode (replace jb fullscreen) Change-Id: I2fde4242f477359dc8af18d1b7752750058cd6e9 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Browser: Materializelinuxx2015-11-071-1/+1
| | | | | | | | -Material Ui theme (green) -New icon -xxhdpi drawables Change-Id: I291f4bba1e412a8e762666db0684b95105dcf8b0
* Rewrite calls to Proxy.getPreferredHttpHostNarayan Kamath2014-10-271-2/+2
| | | | | | | | | | Use java.net.URLConnection which is the only maintained method of making http requests from java. These were the last calls to getPreferredHttpHost and that hidden API will now be deleted. Change-Id: I97e022507ba656f627754af4e889f4812314ea90
* Special case the root folder in add bookmarksJohn Reck2011-11-091-1/+8
| | | | | | | | | | | Bug: 5505282 The special "Other Bookmarks" folder isn't a child of the special "Bookmarks" folder. The merging of those two is only handled if the URI is CONTENT_URI_DEFAULT_FOLDER, not if a specific folder id is given. Thus we need to special case that in the AddBookmarkPage loader. Change-Id: Ic92fba5ea8c758fc153a9cfd0c567bcfdcbc524d
* Cleanup widget config activityJohn Reck2011-10-171-1/+1
| | | | | | Bug: 5474306 Change-Id: I233bc89d15cc76c5bb9d0bcea8397f765b66ef24
* Update add bookmark dialogJohn Reck2011-09-261-0/+2
| | | | | | | | | Bug: 5362468 Don't put listviews inside scrollviews Update the buttons to fancy style Cleanup padding and sizes Change-Id: I6b255a194a150b9efb01157475815e654df8231c
* Move local bookmarks to end of Bookmark pageJohn Reck2011-08-081-2/+1
| | | | | | | Bug: 5136280 Also hide empty accounts in the bookmark page Change-Id: I39067b5325d24c7ebf41df88c6231c411983fc57
* Cache the application context instead of Activity.Ben Murdoch2011-08-011-3/+3
| | | | | | | | | When storing a reference to a Context, ensure that it's the Application context rather than Activity Context. Bug: 5084293 Change-Id: Ib0be5f8ceb91846bb985d0813a8f22cabd44eaf8
* Remove obsolete usage of WebIconDatabaseJohn Reck2011-07-261-1/+1
| | | | | | | Bug: 5019676 Removes some other legacy code Change-Id: I766d9d6f7805b5619a9769e6d72ae2f4c363d3ed
* Clear recents folder when changing accountJohn Reck2011-07-111-0/+1
| | | | | | Bug: 4971707 Change-Id: I20fa1fdbf0f832af0b36c81ebba17decbc9a5811
* Configure bookmark widgetJohn Reck2011-05-261-3/+3
| | | | | | | Add a configuration step when adding the bookmark widget to pick what account to use Change-Id: I2be723c411ec5b9f32d6819a5e2e65995921a252
* Add provider support for moving between accountsJohn Reck2011-05-171-17/+0
| | | | | | | Fix the provider to correctly handle the case where a bookmark is re-parented to a new account Change-Id: I3c4412cfe2fc73bbb7209cbd85b0b8e5249982c6
* More preventing recursive foldersJohn Reck2011-05-131-1/+6
| | | | Change-Id: I0a7cb210b5e15962c06eaf0ebc83b1120c91e2a6
* Merge "Prevent adding a folder to itself recursively"John Reck2011-05-131-1/+1
|\
| * Prevent adding a folder to itself recursivelyJohn Reck2011-05-131-1/+1
| | | | | | | | | | | | | | | | Prevent the last used folder from being listed if the user is editing that folder. Otherwise it would try to set a folder's parent to itself, not cool Change-Id: Ia0578436f0c5270663d7908000139816bcfaf163
* | Fix bug where wrong folder contents are loadedJohn Reck2011-05-131-4/+13
|/ | | | Change-Id: Ie8d6fcf7161bbcdc51462821bbb54653bd6531b0
* Make add/edit bookmark be account-awareJohn Reck2011-05-131-225/+284
| | | | Change-Id: I5e4e489d891adace7f76b4c4534a2203119dface
* Initial pass at collapsable bookmarksJohn Reck2011-05-101-1/+1
| | | | | | | Change bookmark view to show all bookmarks Group by account_name Change-Id: I2c252c9f0e8d4df4271649dbe9bf3db336f921df
* Insert a missing break statement.Leon Scroggins2011-02-231-0/+1
| | | | Change-Id: Ib9434d81752f6d7a06c404a54485e10c460ea952
* Only look for most recently saved bookmark by current user.Leon Scroggins2011-02-231-3/+3
| | | | | Bug:3471015 Change-Id: I0f7c751f838bb7c8c59b643e063def0b3289bbcf
* Show last folder saved to as an option.Leon Scroggins2011-02-141-1/+67
| | | | | | Bug:3424716 Change-Id: Id0087fc07dc2cab58177711c63d0a2e27e99e662
* Only edit existing bookmark when bookmarking from the title bar.Leon Scroggins2011-02-111-1/+3
| | | | | Bug:3425178 Change-Id: I32341270440231a870dad5b007d218654760548b
* 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