/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
H A D | PartnerBookmarksContract.java | 81 * @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 D | BluetoothMapEmailProvider.java | 443 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); 444 if(folderId == null) { 454 id = insertMessage(accountId, folderId.toString()); 471 * @param folderId the ID of the folder to create a new message in. 474 abstract protected String insertMessage(String accountId, String folderId); argument 609 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); 611 return updateMessage(accountId, messageId, folderId, flagRead); 634 * @param folderId the new folder ID value to set - ignore if null. 638 abstract protected int updateMessage(String accountId, Long messageId, Long folderId, Boolean flagRead); argument 653 long folderId 676 syncFolder(long accountId, long folderId) argument [all...] |
H A D | BluetoothMapIMProvider.java | 276 * @param folderId the ID of the folder to create a new message in. 519 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); 522 return updateMessage(accountId, messageId, folderId, flagRead); 549 * @param folderId the new folder ID value to set - ignore if null. 553 abstract protected int updateMessage(String accountId, Long messageId, Long folderId, argument 611 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); 612 if(folderId == -1) { 616 ret = syncFolder(accountId, folderId); 643 * @param folderId the ID of the folder. 646 abstract protected int syncFolder(long accountId, long folderId); argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | NestedFolderTeaserView.java | 414 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/Launcher3/src/com/android/launcher3/util/ |
H A D | ManagedProfileHeuristic.java | 144 long folderId = mPrefs.getLong(folderIdKey, 0); 145 final FolderInfo workFolder = mModel.findFolderById(folderId); 152 saveWorkFolderShortcuts(folderId, workFolder.contents.size(), workFolderApps);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapContentObserver.java | 839 long folderId = -1; // Email folder ID field in class:BluetoothMapContentObserver.Msg 851 public Msg(long id, long folderId, int readFlag) { argument 853 this.folderId = folderId; 1255 long folderId = c.getInt(c.getColumnIndex( 1259 Msg msg = new Msg(id, folderId, readFlag); 1645 int folderId = c.getInt(c.getColumnIndex( 1650 BluetoothMapFolderElement folderElement = mFolders.getFolderById(folderId); 1663 msg = new Msg(id, folderId, 0, readFlag); 1699 if (folderId ! [all...] |
H A D | BluetoothMapContent.java | 758 int folderId = 0; 760 folderId = c.getInt(fi.mSmsColFolder); 761 if (folderId == 1) 763 else if (folderId == 2) 765 else if (folderId == 3) 767 else if (folderId == 4 || folderId == 5 || folderId == 6) 772 folderId = c.getInt(fi.mMmsColFolder); 773 if (folderId 1635 setWhereFilterFolderTypeEmail(long folderId) argument 1646 setWhereFilterFolderTypeIm(long folderId) argument [all...] |
H A D | BluetoothMapFolderElement.java | 87 public void setFolderId(long folderId) { argument 88 this.mFolderId = folderId;
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | FolderPickerActivity.java | 183 String folderId = folder.folderUri.fullUri.getLastPathSegment(); 184 Long id = Long.parseLong(folderId);
|
H A D | EmailProvider.java | 4224 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/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
H A D | MockUiProvider.java | 276 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 D | LauncherProvider.java | 980 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 D | AutoInstallsLayout.java | 556 long folderId = mCallback.insertAndCheck(mDb, mValues); 557 if (folderId < 0) { 574 mValues.put(Favorites.CONTAINER, folderId); 589 long addedId = folderId; 596 Uri uri = Favorites.getContentUri(folderId);
|
H A D | LauncherModel.java | 2264 for (long folderId : deletedFolderIds) { 2265 sBgWorkspaceItems.remove(sBgFolders.get(folderId)); 2266 sBgFolders.remove(folderId); 2267 sBgItemsIdMap.remove(folderId); 3849 public FolderInfo findFolderById(Long folderId) { argument 3851 return sBgFolders.get(folderId);
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | GridSizeMigrationTask.java | 773 private int getFolderItemsCount(long folderId) { argument 776 Favorites.CONTAINER + " = " + folderId);
|