Home
last modified time | relevance | path

Searched refs:folderId (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java460 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in insert() local
461 if (folderId == null) { in insert()
471 id = insertMessage(accountId, folderId.toString()); in insert()
493 protected abstract String insertMessage(String accountId, String folderId); in insertMessage() argument
634 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() local
637 return updateMessage(accountId, messageId, folderId, flagRead); in update()
666 protected abstract int updateMessage(String accountId, Long messageId, Long folderId, in updateMessage() argument
685 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); in call() local
686 if (folderId == -1) { in call()
690 int ret = syncFolder(accountId, folderId); in call()
[all …]
DBluetoothMapIMProvider.java534 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() local
537 return updateMessage(accountId, messageId, folderId, flagRead); in update()
570 protected abstract int updateMessage(String accountId, Long messageId, Long folderId, in updateMessage() argument
630 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); in call() local
631 if (folderId == -1) { in call()
635 ret = syncFolder(accountId, folderId); in call()
665 protected abstract int syncFolder(long accountId, long folderId); in syncFolder() argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DNestedFolderTeaserView.java414 private static int getLoaderId(final int folderId) { in getLoaderId() argument
415 return folderId + LOADER_FOLDER_LIST; in getLoaderId()
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).mFolder.conversationListUri
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java835 public long folderId = -1; // Email folder ID field in BluetoothMapContentObserver.Msg
849 Msg(long id, long folderId, int readFlag) { in Msg() argument
851 this.folderId = folderId; in Msg()
1318 long folderId = c.getInt( in initMsgList() local
1322 Msg msg = new Msg(id, folderId, readFlag); in initMsgList()
1734 int folderId = c.getInt( in handleMsgListChangesMsg() local
1739 BluetoothMapFolderElement folderElement = mFolders.getFolderById(folderId); in handleMsgListChangesMsg()
1752 msg = new Msg(id, folderId, 0, readFlag); in handleMsgListChangesMsg()
1789 if (folderId != msg.folderId && msg.folderId != -1) { in handleMsgListChangesMsg()
1791 Log.d(TAG, "new folderId: " + folderId + " old folderId: " in handleMsgListChangesMsg()
[all …]
DBluetoothMapContent.java771 int folderId = 0; in setFolderType() local
773 folderId = c.getInt(fi.mSmsColFolder); in setFolderType()
774 if (folderId == 1) { in setFolderType()
776 } else if (folderId == 2) { in setFolderType()
778 } else if (folderId == 3) { in setFolderType()
780 } else if (folderId == 4 || folderId == 5 || folderId == 6) { in setFolderType()
786 folderId = c.getInt(fi.mMmsColFolder); in setFolderType()
787 if (folderId == 1) { in setFolderType()
789 } else if (folderId == 2) { in setFolderType()
791 } else if (folderId == 3) { in setFolderType()
[all …]
DBluetoothMapFolderElement.java86 public void setFolderId(long folderId) { in setFolderId() argument
87 this.mFolderId = folderId; in setFolderId()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java276 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, in createFolderDetailsMap() argument
278 return createFolderDetailsMap(folderId, accountId, name, false, unread, total); in createFolderDetailsMap()
281 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, in createFolderDetailsMap() argument
283 final String folderUri = getMockAccountFolderUri(accountId, folderId); in createFolderDetailsMap()
286 folderMap.put(BaseColumns._ID, folderId); in createFolderDetailsMap()
392 private static String getMockAccountFolderUri(int accountId, int folderId) { in getMockAccountFolderUri() argument
393 return getMockAccountUri(accountId) + "/folder/" + folderId; in getMockAccountFolderUri()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksContract.java83 public static final Uri buildFolderUri(long folderId) { in buildFolderUri() argument
84 return ContentUris.withAppendedId(CONTENT_URI_PARTNER_BOOKMARKS_FOLDER, folderId); in buildFolderUri()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java559 int folderId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd() local
560 if (folderId < 0) { in parseAndAdd()
577 mValues.put(Favorites.CONTAINER, folderId); in parseAndAdd()
592 int addedId = folderId; in parseAndAdd()
599 Uri uri = Favorites.getContentUri(folderId); in parseAndAdd()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java70 Launcher launcher, int folderId, Point dragViewSize) { in createFolderAdaptiveIcon() argument
83 FolderIcon icon = launcher.findFolderIcon(folderId); in createFolderAdaptiveIcon()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerActivity.java183 String folderId = folder.folderUri.fullUri.getLastPathSegment(); in select() local
184 Long id = Long.parseLong(folderId); in select()
DEmailProvider.java4225 final long folderId = c.getLong(0); in defaultRecentFolders() local
4226 recentFolders[i] = uiUri("uifolder", folderId); in defaultRecentFolders()
4227 LogUtils.d(TAG, "Default recent folder: %d, with uri %s", folderId, in defaultRecentFolders()
5669 private void notifyUIFolder(final String folderId, final long accountId) { in notifyUIFolder() argument
5670 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId); in notifyUIFolder()
5671 notifyUI(UIPROVIDER_FOLDER_NOTIFIER, folderId); in notifyUIFolder()
5689 final String folderId = (String) message.obj; in notifyUIFolder()
5690 LogUtils.d(TAG, "Notifying conversation Uri %s twice", folderId); in notifyUIFolder()
5691 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId); in notifyUIFolder()
5700 message.obj = folderId; in notifyUIFolder()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java722 for (int folderId : deletedFolderIds) { in loadWorkspace()
723 mBgDataModel.workspaceItems.remove(mBgDataModel.folders.get(folderId)); in loadWorkspace()
724 mBgDataModel.folders.remove(folderId); in loadWorkspace()
725 mBgDataModel.itemsIdMap.remove(folderId); in loadWorkspace()
DGridSizeMigrationTask.java770 private int getFolderItemsCount(int folderId) {
773 Favorites.CONTAINER + " = " + folderId);