Home
last modified time | relevance | path

Searched refs:bookmarkItem (Results 1 – 25 of 37) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/
H A DBookmarkRow.java81 mMoreIcon.setContentDescriptionContext(bookmarkItem.getTitle()); in setBookmarkId()
86 return bookmarkItem; in setBookmarkId()
101 if (bookmarkItem == null) { in updateVisualState()
146 BookmarkItem bookmarkItem = null; in getItems() local
148 bookmarkItem = mDelegate.getModel().getBookmarkById(mBookmarkId); in getItems()
149 if (bookmarkItem != null) canMove = bookmarkItem.isMovable(); in getItems()
153 if (bookmarkItem != null && !bookmarkItem.isRead()) { in getItems()
193 if (bookmarkItem.isFolder()) { in getListMenu()
195 getContext(), bookmarkItem.getId()); in getListMenu()
202 bookmarkItem.getUrl(), true /*read*/); in getListMenu()
[all …]
H A DBookmarkModel.java85 BookmarkItem bookmarkItem = getBookmarkById(bookmarkId); in deleteBookmarks() local
86 if (bookmarkItem == null) continue; in deleteBookmarks()
88 titles.add(bookmarkItem.getTitle()); in deleteBookmarks()
113 BookmarkItem bookmarkItem = getBookmarkById(bookmarkId); in getBookmarkTitle() local
114 if (bookmarkItem == null) return ""; in getBookmarkTitle()
115 return bookmarkItem.getTitle(); in getBookmarkTitle()
H A DBookmarkEditActivity.java100 BookmarkItem bookmarkItem = mModel.getBookmarkById(mBookmarkId); in updateViewContent() local
103 mTitleEditText.getEditText().setText(bookmarkItem.getTitle()); in updateViewContent()
104 mUrlEditText.getEditText().setText(bookmarkItem.getUrl()); in updateViewContent()
106 mFolderTextView.setText(mModel.getBookmarkTitle(bookmarkItem.getParentId())); in updateViewContent()
107 mTitleEditText.setEnabled(bookmarkItem.isEditable()); in updateViewContent()
108 mUrlEditText.setEnabled(bookmarkItem.isUrlEditable()); in updateViewContent()
109 mFolderTextView.setEnabled(bookmarkItem.isMovable()); in updateViewContent()
H A DBookmarkListEntry.java52 private BookmarkListEntry(int viewType, @Nullable BookmarkItem bookmarkItem) { in BookmarkListEntry() argument
54 this.mBookmarkItem = bookmarkItem; in BookmarkListEntry()
71 static BookmarkListEntry createBookmarkEntry(@Nonnull BookmarkItem bookmarkItem) { in createBookmarkEntry() argument
73 bookmarkItem.isFolder() ? ViewType.FOLDER : ViewType.BOOKMARK, bookmarkItem); in createBookmarkEntry()
H A DBookmarkAddEditFolderActivity.java154 BookmarkItem bookmarkItem = mModel.getBookmarkById(mFolderId); in onCreate() local
155 updateParent(bookmarkItem.getParentId()); in onCreate()
157 editText.setText(bookmarkItem.getTitle()); in onCreate()
159 mParentTextView.setEnabled(bookmarkItem.isMovable()); in onCreate()
H A DBookmarkItemsAdapter.java489 BookmarkItem bookmarkItem = listEntries.get(i).getBookmarkItem(); in setOrder() local
490 assert bookmarkItem != null; in setOrder()
491 newOrder[i - startIndex] = bookmarkItem.getId().getId(); in setOrder()
505 BookmarkItem bookmarkItem = mElements.get(endIndex).getBookmarkItem(); in getBookmarkItemEndIndex() local
506 assert bookmarkItem != null; in getBookmarkItemEndIndex()
507 if (!bookmarkItem.isMovable()) { in getBookmarkItemEndIndex()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/bookmarks/bottomsheet/
H A DBookmarkBottomSheetCoordinator.java108 private PropertyModel buildItemModel(BookmarkItem bookmarkItem) { in buildItemModel() argument
110 int type = bookmarkItem.getId().getType(); in buildItemModel()
119 () -> onClick(bookmarkItem)) in buildItemModel()
124 private @Nullable String getSubtitle(@NonNull final BookmarkItem bookmarkItem) { in getSubtitle() argument
125 switch (bookmarkItem.getId().getType()) { in getSubtitle()
127 int totalCount = mBookmarkModel.getTotalBookmarkCount(bookmarkItem.getId()); in getSubtitle()
132 int unreadCount = mBookmarkModel.getUnreadCount(bookmarkItem.getId()); in getSubtitle()
142 private void onClick(BookmarkItem bookmarkItem) { in onClick() argument
143 invokeCallback(bookmarkItem); in onClick()
153 private void invokeCallback(BookmarkItem bookmarkItem) { in invokeCallback() argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/cocoa/applescript/
H A Dbookmark_folder_applescript_browsertest.mm112 for (BookmarkItemAppleScript* bookmarkItem in bookmarkItems) {
113 EXPECT_EQ([bookmarkItem container], bookmarkBar_.get());
115 [bookmarkItem containerProperty]);
124 base::scoped_nsobject<BookmarkItemAppleScript> bookmarkItem(
127 [bookmarkItem.get() setTitle:@"Google"];
128 [bookmarkItem.get() setURL:@"http://google.com"];
144 bookmarkItem.reset([[BookmarkItemAppleScript alloc] init]);
157 base::scoped_nsobject<BookmarkItemAppleScript> bookmarkItem(
160 [bookmarkItem.get() setTitle:@"XKCD"];
161 [bookmarkItem.get() setURL:@"http://xkcd.org"];
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/app/
H A Dqgsappbrowserproviders.cpp676 if ( bookmarkItem->bookmark().id() == id ) in QgsBookmarkManagerItem()
682 bookmarkItem->setBookmark( newDetails ); in QgsBookmarkManagerItem()
689 deleteChildItem( bookmarkItem ); in QgsBookmarkManagerItem()
718 group->deleteChildItem( bookmarkItem ); in QgsBookmarkManagerItem()
759 deleteChildItem( bookmarkItem ); in QgsBookmarkManagerItem()
812 if ( bookmarkItem->bookmark().id() == id ) in childItemById()
814 return bookmarkItem; in childItemById()
860 if ( bookmarkItem->bookmark().id() == id ) in childItemById()
862 return bookmarkItem; in childItemById()
872 deleteChildItem( bookmarkItem ); in removeBookmarkChildById()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/src/app/
H A Dqgsappbrowserproviders.cpp661 if ( bookmarkItem->bookmark().id() == id ) in QgsBookmarkManagerItem()
667 bookmarkItem->setBookmark( newDetails ); in QgsBookmarkManagerItem()
674 deleteChildItem( bookmarkItem ); in QgsBookmarkManagerItem()
703 group->deleteChildItem( bookmarkItem ); in QgsBookmarkManagerItem()
744 deleteChildItem( bookmarkItem ); in QgsBookmarkManagerItem()
797 if ( bookmarkItem->bookmark().id() == id ) in childItemById()
799 return bookmarkItem; in childItemById()
845 if ( bookmarkItem->bookmark().id() == id ) in childItemById()
847 return bookmarkItem; in childItemById()
857 deleteChildItem( bookmarkItem ); in removeBookmarkChildById()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/bookmarks/
H A DBookmarkEditTest.java125 BookmarkItem bookmarkItem = getBookmarkItem(mBookmarkId); in testEditTitleAndUrl() local
126 Assert.assertEquals("Incorrect title after edit.", TITLE_B, bookmarkItem.getTitle()); in testEditTitleAndUrl()
127 Assert.assertEquals("Incorrect url after edit.", URL_B, bookmarkItem.getUrl()); in testEditTitleAndUrl()
146 BookmarkItem bookmarkItem = getBookmarkItem(mBookmarkId); in testEditEmptyInputRejected() local
147 Assert.assertEquals("Incorrect title after edit.", TITLE_A, bookmarkItem.getTitle()); in testEditEmptyInputRejected()
148 Assert.assertEquals("Incorrect url after edit.", URL_A, bookmarkItem.getUrl()); in testEditEmptyInputRejected()
164 BookmarkItem bookmarkItem = getBookmarkItem(mBookmarkId); in testInvalidUrlRejected() local
165 Assert.assertEquals("Incorrect url after edit.", URL_A, bookmarkItem.getUrl()); in testInvalidUrlRejected()
177 BookmarkItem bookmarkItem = getBookmarkItem(mBookmarkId); in testEditActivityDeleteButton() local
178 Assert.assertNull("Bookmark item should have been deleted.", bookmarkItem); in testEditActivityDeleteButton()
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/libraries/classes/
H A DSqlQueryForm.php104 foreach ($bookmark_list as $bookmarkItem) {
106 'id' => $bookmarkItem->getId(),
107 'variable_count' => $bookmarkItem->getVariableCount(),
108 'label' => $bookmarkItem->getLabel(),
109 'is_shared' => empty($bookmarkItem->getUser()),
/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/components/places/
H A DPlacesSyncUtils.jsm277 if (!bookmarkItem) {
285 let kind = yield getKindForItem(bookmarkItem);
307 item.index = bookmarkItem.index;
316 if (bookmarkItem.parentGuid) {
557 url: bookmarkItem.url.href,
947 for (let prop in bookmarkItem) {
967 item[prop] = bookmarkItem[prop];
977 if (bookmarkItem.siteURI) {
1049 PlacesUtils.toURI(bookmarkItem.url), {});
1052 url: bookmarkItem.url,
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/places/
H A DPlacesSyncUtils.jsm668 if (!bookmarkItem) {
686 if (!bookmarkItem) {
722 if (!bookmarkItem) {
929 if (!bookmarkItem) {
968 if (bookmarkItem.parentGuid) {
1326 url: bookmarkItem.url.href,
1721 for (let prop in bookmarkItem) {
1741 item[prop] = bookmarkItem[prop];
1755 if (bookmarkItem.siteURI) {
1834 url: bookmarkItem.url,
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/menu/
H A DActivityStreamContextMenu.java88 final MenuItem bookmarkItem = getItemByID(R.id.bookmark); in postInit() local
90 bookmarkItem.setTitle(R.string.bookmark_remove); in postInit()
91 bookmarkItem.setIcon(R.drawable.as_bookmark_filled); in postInit()
108 bookmarkItem.setEnabled(false); in postInit()
119 bookmarkItem.setTitle(R.string.bookmark_remove); in postInit()
120 bookmarkItem.setIcon(R.drawable.as_bookmark_filled); in postInit()
124 bookmarkItem.setEnabled(true); in postInit()
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/places/
H A DPlacesSyncUtils.jsm1018 if (!bookmarkItem) {
1037 if (!bookmarkItem) {
1075 if (!bookmarkItem) {
1260 if (!bookmarkItem) {
1295 if (bookmarkItem.parentGuid) {
1297 bookmarkItem.parentGuid
1726 url: bookmarkItem.url.href,
2020 for (let prop in bookmarkItem) {
2029 bookmarkItem.parentGuid
2112 url: bookmarkItem.url,
[all …]
/dports/www/firefox/firefox-99.0/toolkit/components/places/
H A DPlacesSyncUtils.jsm984 if (!bookmarkItem) {
1003 if (!bookmarkItem) {
1091 if (!bookmarkItem) {
1126 if (bookmarkItem.parentGuid) {
1128 bookmarkItem.parentGuid
1350 bookmarkItem,
1520 url: bookmarkItem.url.href,
1653 for (let prop in bookmarkItem) {
1662 bookmarkItem.parentGuid
1741 PlacesUtils.toURI(bookmarkItem.url)
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/places/
H A DPlacesSyncUtils.jsm984 if (!bookmarkItem) {
1003 if (!bookmarkItem) {
1091 if (!bookmarkItem) {
1126 if (bookmarkItem.parentGuid) {
1128 bookmarkItem.parentGuid
1350 bookmarkItem,
1520 url: bookmarkItem.url.href,
1653 for (let prop in bookmarkItem) {
1662 bookmarkItem.parentGuid
1741 PlacesUtils.toURI(bookmarkItem.url)
[all …]
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/places/
H A DPlacesSyncUtils.jsm984 if (!bookmarkItem) {
1003 if (!bookmarkItem) {
1091 if (!bookmarkItem) {
1126 if (bookmarkItem.parentGuid) {
1128 bookmarkItem.parentGuid
1350 bookmarkItem,
1520 url: bookmarkItem.url.href,
1653 for (let prop in bookmarkItem) {
1662 bookmarkItem.parentGuid
1741 PlacesUtils.toURI(bookmarkItem.url)
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/home/activitystream/menu/
H A DActivityStreamContextMenu.java88 final MenuItem bookmarkItem = getItemByID(R.id.bookmark); in postInit() local
89 bookmarkItem.setEnabled(false); in postInit()
101 bookmarkItem.setTitle(R.string.bookmark_remove); in postInit()
104 bookmarkItem.setEnabled(true); in postInit()
/dports/net/smb4k/smb4k-992987421af68f2695867722b8dc4ca30a4669ec/core/
H A Dsmb4kbookmarkhandler_p.cpp271 void Smb4KBookmarkDialog::slotBookmarkClicked(QListWidgetItem *bookmarkItem) in slotBookmarkClicked() argument
283 if (bookmarkItem) in slotBookmarkClicked()
291 QUrl url = bookmarkItem->data(Qt::UserRole).toUrl(); in slotBookmarkClicked()
721 QTreeWidgetItem *bookmarkItem = new QTreeWidgetItem(QTreeWidgetItem::UserType); in loadBookmarks() local
722 bookmarkItem->setData(0, QTreeWidgetItem::UserType, static_cast<QUrl>(bookmark->url())); in loadBookmarks()
723 bookmarkItem->setIcon(0, bookmark->icon()); in loadBookmarks()
724 bookmarkItem->setText(0, bookmark->displayString()); in loadBookmarks()
725bookmarkItem->setText((treeWidget->columnCount() - 1), QString("01_%1").arg(bookmark->url().toStri… in loadBookmarks()
726bookmarkItem->setFlags(Qt::ItemIsSelectable|Qt::ItemIsUserCheckable|Qt::ItemIsEnabled|Qt::ItemIsDr… in loadBookmarks()
734 items.first()->addChild(bookmarkItem); in loadBookmarks()
[all …]
/dports/x11/libfm-qt/libfm-qt-1.0.0/src/
H A Dplacesview.cpp347 auto bookmarkItem = item->bookmark(); in onMoveBookmarkUp() local
348 Fm::Bookmarks::globalInstance()->reorder(bookmarkItem, row - 1); in onMoveBookmarkUp()
361 auto bookmarkItem = item->bookmark(); in onMoveBookmarkDown() local
362 Fm::Bookmarks::globalInstance()->reorder(bookmarkItem, row + 1); in onMoveBookmarkDown()
372 auto bookmarkItem = item->bookmark(); in onDeleteBookmark() local
373 Fm::Bookmarks::globalInstance()->remove(bookmarkItem); in onDeleteBookmark()
380 auto bookmarkItem = item->bookmark(); in commitData() local
382 Fm::Bookmarks::globalInstance()->rename(bookmarkItem, item->text()); in commitData()
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/
H A DtestActivityStreamContextMenu.java62 final MenuItem bookmarkItem = menu.getItemByID(R.id.bookmark); in testMenuForUrl() local
63 assertMenuItemHasString(bookmarkItem, expectedBookmarkString); in testMenuForUrl()
/dports/misc/bibletime/bibletime-2.11.2/src/backend/
H A Dbtbookmarksmodel.cpp401 BookmarkItem* bookmarkItem = nullptr; in saveItem() local
413 else if ((bookmarkItem = dynamic_cast<BookmarkItem*>(item))) { in saveItem()
416 elem.setAttribute("key", bookmarkItem->englishKey()); in saveItem()
417 elem.setAttribute("description", bookmarkItem->description()); in saveItem()
418 elem.setAttribute("modulename", bookmarkItem->moduleName()); in saveItem()
419 …elem.setAttribute("moduledescription", bookmarkItem->module() ? bookmarkItem->module()->config(CSw… in saveItem()
420 if (!bookmarkItem->text().isEmpty()) { in saveItem()
421 elem.setAttribute("title", bookmarkItem->text()); in saveItem()
/dports/www/falkon/falkon-3.2.0/src/lib/plugins/qml/api/bookmarks/
H A Dqmlbookmarks.cpp245 auto bookmarkItem = getBookmarkItem(object); in getChildren() local
246 if (!bookmarkItem) { in getChildren()
251 const QList<BookmarkItem*> items = bookmarkItem->children(); in getChildren()

12