Lines Matching refs:BrowserContract
43 import android.provider.BrowserContract;
44 import android.provider.BrowserContract.Accounts;
148 return BrowserContract.Bookmarks.buildFolderUri(folder);
281 long id = mMap.getLong(BrowserContract.Bookmarks._ID);
341 values.put(BrowserContract.Bookmarks.TITLE,
343 values.put(BrowserContract.Bookmarks.IS_FOLDER, 1);
351 values.put(BrowserContract.Bookmarks.PARENT, currentFolder);
353 BrowserContract.Bookmarks.CONTENT_URI, values);
399 mMap.putLong(BrowserContract.Bookmarks._ID, info.id);
455 BrowserContract.Bookmarks._ID,
456 BrowserContract.Bookmarks.TITLE,
457 BrowserContract.Bookmarks.IS_FOLDER
459 String where = BrowserContract.Bookmarks.IS_FOLDER + " != 0";
462 where += " AND " + BrowserContract.Bookmarks._ID + " != ?";
464 BrowserContract.Bookmarks._ID)) };
478 BrowserContract.Bookmarks._ID + " ASC");
571 BrowserContract.Bookmarks.TITLE)));
626 title = mMap.getString(BrowserContract.Bookmarks.TITLE);
627 url = mOriginalUrl = mMap.getString(BrowserContract.Bookmarks.URL);
629 mCurrentFolder = mMap.getLong(BrowserContract.Bookmarks.PARENT, DEFAULT_FOLDER_ID);
753 String title = bundle.getString(BrowserContract.Bookmarks.TITLE);
754 String url = bundle.getString(BrowserContract.Bookmarks.URL);
757 : (Bitmap) bundle.getParcelable(BrowserContract.Bookmarks.THUMBNAIL);
817 b.getString(BrowserContract.Bookmarks.URL),
818 b.getString(BrowserContract.Bookmarks.TITLE),
819 (Bitmap) b.getParcelable(BrowserContract.Bookmarks.TOUCH_ICON),
820 (Bitmap) b.getParcelable(BrowserContract.Bookmarks.FAVICON)));
896 Long id = mMap.getLong(BrowserContract.Bookmarks._ID);
898 values.put(BrowserContract.Bookmarks.TITLE, title);
899 values.put(BrowserContract.Bookmarks.PARENT, mCurrentFolder);
901 values.put(BrowserContract.Bookmarks.URL, url);
903 values.putNull(BrowserContract.Bookmarks.THUMBNAIL);
915 BrowserContract.Bookmarks.THUMBNAIL);
917 BrowserContract.Bookmarks.FAVICON);
924 bundle.putString(BrowserContract.Bookmarks.TITLE, title);
925 bundle.putString(BrowserContract.Bookmarks.URL, url);
926 bundle.putParcelable(BrowserContract.Bookmarks.FAVICON, favicon);
941 bundle.putParcelable(BrowserContract.Bookmarks.THUMBNAIL, thumbnail);
1078 String url = mMap.getString(BrowserContract.Bookmarks.URL);
1079 info.id = mMap.getLong(BrowserContract.Bookmarks._ID, -1);
1082 c = cr.query(BrowserContract.Bookmarks.CONTENT_URI,
1083 new String[] { BrowserContract.Bookmarks._ID},
1084 BrowserContract.Bookmarks.URL + "=?",
1093 BrowserContract.Bookmarks.CONTENT_URI, info.id),
1095 BrowserContract.Bookmarks.PARENT,
1096 BrowserContract.Bookmarks.ACCOUNT_NAME,
1097 BrowserContract.Bookmarks.ACCOUNT_TYPE,
1098 BrowserContract.Bookmarks.TITLE},
1108 BrowserContract.Bookmarks.CONTENT_URI, info.parentId),
1110 BrowserContract.Bookmarks.TITLE,},
1119 c = cr.query(BrowserContract.Bookmarks.CONTENT_URI,
1121 BrowserContract.Bookmarks.PARENT,
1123 BrowserContract.Bookmarks.DATE_MODIFIED + " DESC LIMIT 1");
1127 c = cr.query(BrowserContract.Bookmarks.CONTENT_URI,
1129 BrowserContract.Bookmarks.TITLE,
1130 BrowserContract.Bookmarks.ACCOUNT_NAME,
1131 BrowserContract.Bookmarks.ACCOUNT_TYPE},
1132 BrowserContract.Bookmarks._ID + "=?", new String[] {