Home
last modified time | relevance | path

Searched refs:folderId (Results 1 – 11 of 11) 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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java837 public long folderId = -1; // Email folder ID field in BluetoothMapContentObserver.Msg
851 Msg(long id, long folderId, int readFlag) { in Msg() argument
853 this.folderId = folderId; in Msg()
1320 long folderId = c.getInt( in initMsgList() local
1324 Msg msg = new Msg(id, folderId, readFlag); in initMsgList()
1747 int folderId = c.getInt( in handleMsgListChangesMsg() local
1752 BluetoothMapFolderElement folderElement = mFolders.getFolderById(folderId); in handleMsgListChangesMsg()
1765 msg = new Msg(id, folderId, 0, readFlag); in handleMsgListChangesMsg()
1802 if (folderId != msg.folderId && msg.folderId != -1) { in handleMsgListChangesMsg()
1804 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/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.java598 int folderId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd() local
599 if (folderId < 0) { in parseAndAdd()
616 mValues.put(Favorites.CONTAINER, folderId); in parseAndAdd()
631 int addedId = folderId; in parseAndAdd()
638 Uri uri = Favorites.getContentUri(folderId); in parseAndAdd()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java73 Launcher launcher, int folderId, Point dragViewSize) { in createFolderAdaptiveIcon() argument
80 FolderIcon icon = launcher.findFolderIcon(folderId); in createFolderAdaptiveIcon()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTaskV2.java302 int id, int folderId, String srcTableName, String destTableName) { in copyEntryAndUpdate() argument
303 return copyEntryAndUpdate(db, context, null, id, folderId, srcTableName, destTableName); in copyEntryAndUpdate()
307 DbEntry entry, int id, int folderId, String srcTableName, String destTableName) { in copyEntryAndUpdate() argument
318 values.put(LauncherSettings.Favorites.CONTAINER, folderId); in copyEntryAndUpdate()
DLoaderTask.java882 for (int folderId : deletedFolderIds) { in sanitizeData()
883 mBgDataModel.workspaceItems.remove(mBgDataModel.folders.get(folderId)); in sanitizeData()
884 mBgDataModel.folders.remove(folderId); in sanitizeData()
885 mBgDataModel.itemsIdMap.remove(folderId); in sanitizeData()
DGridSizeMigrationTask.java778 private int getFolderItemsCount(int folderId) {
781 Favorites.CONTAINER + " = " + folderId);