Searched refs:folderId (Results 1 - 16 of 16) sorted by relevance

/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
H A DPartnerBookmarksContract.java81 * @param folderId the ID of the folder to point to
83 public static final Uri buildFolderUri(long folderId) { argument
84 return ContentUris.withAppendedId(CONTENT_URI_PARTNER_BOOKMARKS_FOLDER, folderId);
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java441 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID);
442 if(folderId == null) {
452 id = insertMessage(accountId, folderId.toString());
469 * @param folderId the ID of the folder to create a new message in.
472 abstract protected String insertMessage(String accountId, String folderId); argument
607 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID);
609 return updateMessage(accountId, messageId, folderId, flagRead);
632 * @param folderId the new folder ID value to set - ignore if null.
636 abstract protected int updateMessage(String accountId, Long messageId, Long folderId, Boolean flagRead); argument
651 long folderId
674 syncFolder(long accountId, long folderId) argument
[all...]
H A DBluetoothMapIMProvider.java270 * @param folderId the ID of the folder to create a new message in.
513 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID);
516 return updateMessage(accountId, messageId, folderId, flagRead);
543 * @param folderId the new folder ID value to set - ignore if null.
547 abstract protected int updateMessage(String accountId, Long messageId, Long folderId, argument
605 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1);
606 if(folderId == -1) {
610 ret = syncFolder(accountId, folderId);
637 * @param folderId the ID of the folder.
640 abstract protected int syncFolder(long accountId, long folderId); argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DNestedFolderTeaserView.java414 private static int getLoaderId(final int folderId) { argument
415 return folderId + LOADER_FOLDER_LIST;
493 for (final int folderId : oldFolderIds) {
495 mFolderHolders.remove(folderId);
496 mLoaderManager.destroyLoader(getLoaderId(folderId));
580 final int folderId = getFolderId(loader.getId());
582 final FolderHolder folderHolder = mFolderHolders.get(folderId);
586 LogUtils.d(LOG_TAG, "Folder id %d loader finished", folderId);
644 final int folderId = getFolderId(id);
645 final Uri uri = mFolderHolders.get(folderId)
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java840 long folderId = -1; // Email folder ID field in class:BluetoothMapContentObserver.Msg
852 public Msg(long id, long folderId, int readFlag) { argument
854 this.folderId = folderId;
1263 long folderId = c.getInt(c.getColumnIndex(
1267 Msg msg = new Msg(id, folderId, readFlag);
1653 int folderId = c.getInt(c.getColumnIndex(
1658 BluetoothMapFolderElement folderElement = mFolders.getFolderById(folderId);
1671 msg = new Msg(id, folderId, 0, readFlag);
1707 if (folderId !
[all...]
H A DBluetoothMapContent.java752 int folderId = 0;
754 folderId = c.getInt(fi.mSmsColFolder);
755 if (folderId == 1)
757 else if (folderId == 2)
759 else if (folderId == 3)
761 else if (folderId == 4 || folderId == 5 || folderId == 6)
766 folderId = c.getInt(fi.mMmsColFolder);
767 if (folderId
1629 setWhereFilterFolderTypeEmail(long folderId) argument
1640 setWhereFilterFolderTypeIm(long folderId) argument
[all...]
H A DBluetoothMapFolderElement.java85 public void setFolderId(long folderId) { argument
86 this.mFolderId = folderId;
/packages/apps/Email/provider_src/com/android/email/provider/
H A DFolderPickerActivity.java183 String folderId = folder.folderUri.fullUri.getLastPathSegment();
184 Long id = Long.parseLong(folderId);
H A DEmailProvider.java4224 final long folderId = c.getLong(0);
4225 recentFolders[i] = uiUri("uifolder", folderId);
4226 LogUtils.d(TAG, "Default recent folder: %d, with uri %s", folderId,
5665 * @param folderId the folder id to be notified
5668 private void notifyUIFolder(final String folderId, final long accountId) { argument
5669 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId);
5670 notifyUI(UIPROVIDER_FOLDER_NOTIFIER, folderId);
5688 final String folderId = (String) message.obj;
5689 LogUtils.d(TAG, "Notifying conversation Uri %s twice", folderId);
5690 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId);
5703 notifyUIFolder(final long folderId, final long accountId) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
H A DFolderAdaptiveIcon.java69 final Launcher launcher, final long folderId, Point dragViewSize) {
90 FolderIcon icon = launcher.findFolderIcon(folderId);
68 createFolderAdaptiveIcon( final Launcher launcher, final long folderId, Point dragViewSize) argument
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DManagedProfileHeuristic.java128 long folderId = prefs.getLong(folderIdKey, ItemInfo.NO_ID);
129 folderInfo = dataModel.folders.get(folderId);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
H A DMockUiProvider.java276 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, argument
278 return createFolderDetailsMap(folderId, accountId, name, false, unread, total);
281 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, argument
283 final String folderUri = getMockAccountFolderUri(accountId, folderId);
286 folderMap.put(BaseColumns._ID, folderId);
392 private static String getMockAccountFolderUri(int accountId, int folderId) { argument
393 return getMockAccountUri(accountId) + "/folder/" + folderId;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java980 long folderId = addFolder(db, values);
981 added = folderId >= 0;
996 values.put(LauncherSettings.Favorites.CONTAINER, folderId);
998 if (TAG_FAVORITE.equals(folder_item_name) && folderId >= 0) {
1004 } else if (TAG_SHORTCUT.equals(folder_item_name) && folderId >= 0) {
1018 if (folderItems.size() < 2 && folderId >= 0) {
1020 deleteId(db, folderId);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAutoInstallsLayout.java554 long folderId = mCallback.insertAndCheck(mDb, mValues);
555 if (folderId < 0) {
572 mValues.put(Favorites.CONTAINER, folderId);
587 long addedId = folderId;
594 Uri uri = Favorites.getContentUri(folderId);
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DLoaderTask.java698 for (long folderId : deletedFolderIds) {
699 mBgDataModel.workspaceItems.remove(mBgDataModel.folders.get(folderId));
700 mBgDataModel.folders.remove(folderId);
701 mBgDataModel.itemsIdMap.remove(folderId);
H A DGridSizeMigrationTask.java771 private int getFolderItemsCount(long folderId) { argument
774 Favorites.CONTAINER + " = " + folderId);

Completed in 448 milliseconds