/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | DefaultContactListAdapter.java | 56 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument 57 if (loader instanceof ProfileAndContactsLoader) { in configureLoader() 58 ((ProfileAndContactsLoader) loader).setLoadProfile(shouldIncludeProfile()); in configureLoader() 71 loader.setUri(Contacts.CONTENT_URI); in configureLoader() 72 loader.setProjection(getProjection(false)); in configureLoader() 73 loader.setSelection("0"); in configureLoader() 86 loader.setUri(builder.build()); in configureLoader() 87 loader.setProjection(getProjection(true)); in configureLoader() 90 configureUri(loader, directoryId, filter); in configureLoader() 91 loader.setProjection(getProjection(false)); in configureLoader() [all …]
|
D | PhoneNumberListAdapter.java | 128 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument 144 loader.setUri(builder.build()); in configureLoader() 145 loader.setProjection(PhoneQuery.PROJECTION_PRIMARY); in configureLoader() 173 applyFilter(loader, builder, directoryId, getFilter()); in configureLoader() 178 loader.setUri(builder.build()); in configureLoader() 183 loader.setProjection(PhoneQuery.PROJECTION_PRIMARY); in configureLoader() 185 loader.setProjection(PhoneQuery.PROJECTION_ALTERNATIVE); in configureLoader() 189 loader.setSortOrder(Phone.SORT_KEY_PRIMARY); in configureLoader() 191 loader.setSortOrder(Phone.SORT_KEY_ALTERNATIVE); in configureLoader() 209 private void applyFilter(CursorLoader loader, Uri.Builder uriBuilder, long directoryId, in applyFilter() argument [all …]
|
D | ContactEntryListFragment.java | 317 DirectoryListLoader loader = new DirectoryListLoader(mContext); in onCreateLoader() local 318 loader.setDirectorySearchMode(mAdapter.getDirectorySearchMode()); in onCreateLoader() 319 loader.setLocalInvisibleDirectoryEnabled( in onCreateLoader() 321 return loader; in onCreateLoader() 323 CursorLoader loader = createCursorLoader(mContext); in onCreateLoader() local 327 mAdapter.configureLoader(loader, directoryId); in onCreateLoader() 328 return loader; in onCreateLoader() 382 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { in onLoadFinished() argument 387 int loaderId = loader.getId(); in onLoadFinished() 411 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | TestLoaderManager.java | 137 final AsyncTaskLoader<?> loader = in waitForLoaders() local 139 if (loader == null) { in waitForLoaders() 144 loaders.add(loader); in waitForLoaders() 158 final AsyncTaskLoader<?> loader = (AsyncTaskLoader<?>) loaders[i]; in waitForLoaders() local 163 loader.waitForLoader(); in waitForLoaders() 165 Log.e(TAG, "Exception while waiting for loader: " + loader.getId(), e); in waitForLoaders() 166 Assert.fail("Exception while waiting for loader: " + loader.getId()); in waitForLoaders() 192 public void onLoadFinished(Loader<D> loader, D data) { in initLoader() argument 193 callback.onLoadFinished(loader, data); in initLoader() 200 public void onLoaderReset(Loader<D> loader) { in initLoader() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | JoinContactListAdapter.java | 71 JoinContactLoader loader = (JoinContactLoader) cursorLoader; in configureLoader() local 84 loader.setSuggestionUri(builder.build()); in configureLoader() 87 loader.setProjection(getProjection(false)); in configureLoader() 101 loader.setUri(allContactsUri); in configureLoader() 102 loader.setSelection(Contacts._ID + "!=?"); in configureLoader() 103 loader.setSelectionArgs(new String[]{ String.valueOf(mTargetContactId) }); in configureLoader() 105 loader.setSortOrder(Contacts.SORT_KEY_PRIMARY); in configureLoader() 107 loader.setSortOrder(Contacts.SORT_KEY_ALTERNATIVE); in configureLoader()
|
D | JoinContactListFragment.java | 63 JoinContactLoader loader = new JoinContactLoader(getActivity()); 66 adapter.configureLoader(loader, 0); 68 return loader; 75 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 76 switch (loader.getId()) { 92 public void onLoaderReset(Loader<Cursor> loader) {
|
D | EmailAddressListAdapter.java | 80 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument 95 loader.setUri(builder.build()); in configureLoader() 98 loader.setProjection(EmailQuery.PROJECTION_PRIMARY); in configureLoader() 100 loader.setProjection(EmailQuery.PROJECTION_ALTERNATIVE); in configureLoader() 104 loader.setSortOrder(Email.SORT_KEY_PRIMARY); in configureLoader() 106 loader.setSortOrder(Email.SORT_KEY_ALTERNATIVE); in configureLoader()
|
D | PostalAddressListAdapter.java | 79 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument 85 loader.setUri(builder.build()); in configureLoader() 88 loader.setProjection(PostalQuery.PROJECTION_PRIMARY); in configureLoader() 90 loader.setProjection(PostalQuery.PROJECTION_ALTERNATIVE); in configureLoader() 94 loader.setSortOrder(StructuredPostal.SORT_KEY_PRIMARY); in configureLoader() 96 loader.setSortOrder(StructuredPostal.SORT_KEY_ALTERNATIVE); in configureLoader()
|
D | LegacyPostalAddressListAdapter.java | 62 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument 63 loader.setUri(ContactMethods.CONTENT_URI); in configureLoader() 64 loader.setProjection(POSTALS_PROJECTION); in configureLoader() 65 loader.setSortOrder(People.DISPLAY_NAME); in configureLoader() 66 loader.setSelection(ContactMethods.KIND + "=" + android.provider.Contacts.KIND_POSTAL); in configureLoader()
|
D | LegacyContactListAdapter.java | 58 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument 59 loader.setUri(People.CONTENT_URI); in configureLoader() 60 loader.setProjection(PEOPLE_PROJECTION); in configureLoader() 61 loader.setSortOrder(People.DISPLAY_NAME); in configureLoader()
|
D | LegacyPhoneNumberListAdapter.java | 62 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument 63 loader.setUri(Phones.CONTENT_URI); in configureLoader() 64 loader.setProjection(PHONES_PROJECTION); in configureLoader() 65 loader.setSortOrder(Phones.DISPLAY_NAME); in configureLoader()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 439 public Folder(Parcel in, ClassLoader loader) { in Folder() argument 442 folderUri = new FolderUri((Uri) in.readParcelable(loader)); in Folder() 448 conversationListUri = in.readParcelable(loader); in Folder() 449 childFoldersListUri = in.readParcelable(loader); in Folder() 453 refreshUri = in.readParcelable(loader); in Folder() 467 loadMoreUri = in.readParcelable(loader); in Folder() 469 parent = in.readParcelable(loader); in Folder() 471 parent = in.readParcelable(loader); in Folder() 554 public Folder createFromParcel(Parcel source, ClassLoader loader) { 555 return new Folder(source, loader);
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserBookmarksPage.java | 117 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) { in onLoadFinished() argument 118 if (loader.getId() == LOADER_ACCOUNTS) { in onLoadFinished() 147 } else if (loader.getId() >= LOADER_BOOKMARKS) { in onLoadFinished() 148 BrowserBookmarksAdapter adapter = mBookmarkAdapters.get(loader.getId()); in onLoadFinished() 154 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument 155 if (loader.getId() >= LOADER_BOOKMARKS) { in onLoaderReset() 156 BrowserBookmarksAdapter adapter = mBookmarkAdapters.get(loader.getId()); in onLoaderReset() 592 BookmarksLoader loader = (BookmarksLoader) ((Loader<?>) in loadFolder() local 594 loader.setUri(uri); in loadFolder() 595 loader.forceLoad(); in loadFolder()
|
D | BrowserHistoryPage.java | 121 CursorLoader loader = new CursorLoader(getActivity(), combinedBuilder.build(), in onCreateLoader() local 123 return loader; in onCreateLoader() 131 CursorLoader loader = new CursorLoader(getActivity(), uri, in onCreateLoader() local 133 return loader; in onCreateLoader() 162 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { in onLoadFinished() argument 163 switch (loader.getId()) { in onLoadFinished() 189 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument
|
D | AddBookmarkPage.java | 164 CursorLoader loader = (CursorLoader) ((Loader<?>) manager.getLoader( in onTop() local 166 loader.setUri(getUriForFolder(folder)); in onTop() 167 loader.forceLoad(); in onTop() 392 public void onLoaderReset(Loader<EditBookmarkInfo> loader) { 397 public void onLoadFinished(Loader<EditBookmarkInfo> loader, 492 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) { in onLoadFinished() argument 493 switch (loader.getId()) { in onLoadFinished() 509 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument 510 switch (loader.getId()) { in onLoaderReset()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | AlbumSetFragment.java | 73 MediaSetLoader loader = new MediaSetLoader(getActivity()); in onCreateLoader() local 74 mAdapter.setDrawableFactory(loader); in onCreateLoader() 75 mLoaderCompatShim = loader; in onCreateLoader() 76 return loader; in onCreateLoader() 80 public void onLoadFinished(Loader<Cursor> loader, in onLoadFinished() argument 87 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument
|
D | PhotoSetFragment.java | 84 MediaItemsLoader loader = new MediaItemsLoader(getActivity()); in onCreateLoader() local 85 mLoaderCompatShim = loader; in onCreateLoader() 87 return loader; in onCreateLoader() 91 public void onLoadFinished(Loader<Cursor> loader, in onLoadFinished() argument 98 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument
|
D | AlbumFragment.java | 118 MediaItemsLoader loader = new MediaItemsLoader(getActivity(), mAlbumPath); in onCreateLoader() local 119 mLoaderCompatShim = loader; in onCreateLoader() 121 return loader; in onCreateLoader() 125 public void onLoadFinished(Loader<Cursor> loader, in onLoadFinished() argument 133 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | LeaveBehindData.java | 47 private LeaveBehindData(Parcel arg, ClassLoader loader) { in LeaveBehindData() argument 48 data = arg.readParcelable(loader); in LeaveBehindData() 49 op = arg.readParcelable(loader); in LeaveBehindData() 62 public LeaveBehindData createFromParcel(Parcel source, ClassLoader loader) { 63 return new LeaveBehindData(source, loader);
|
D | NestedFolderTeaserView.java | 458 public void onLoaderReset(final Loader<ObjectCursor<Folder>> loader) { 463 public void onLoadFinished(final Loader<ObjectCursor<Folder>> loader, 536 final ObjectCursorLoader<Folder> loader = new ObjectCursorLoader<Folder>(getContext(), 539 loader.setUpdateThrottle(mFolderItemUpdateDelayMs); 540 return loader; 585 public void onLoaderReset(final Loader<ObjectCursor<Conversation>> loader) { 590 public void onLoadFinished(final Loader<ObjectCursor<Conversation>> loader, 597 final int folderId = getFolderId(loader.getId());
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekFragment.java | 348 CursorLoader loader; in onCreateLoader() local 356 loader = new CursorLoader( in onCreateLoader() 359 loader.setUpdateThrottle(LOADER_THROTTLE_DELAY); in onCreateLoader() 364 return loader; in onCreateLoader() 385 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { in onLoadFinished() argument 390 CursorLoader cLoader = (CursorLoader) loader; in onLoadFinished() 409 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 181 final ContactLoader loader = new ContactLoader(this, contactUri, true); in loadContact() local 182 loader.registerListener(0, new OnLoadCompleteListener<Contact>() { in loadContact() 185 Loader<Contact> loader, Contact contact) { in loadContact() 187 loader.reset(); in loadContact() 195 loader.startLoading(); in loadContact()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationActionUtils.java | 501 final Parcel in, final ClassLoader loader) { 502 return new NotificationAction(in, loader); 506 private NotificationAction(final Parcel in, final ClassLoader loader) { in NotificationAction() argument 508 mAccount = in.readParcelable(loader); in NotificationAction() 509 mConversation = in.readParcelable(loader); in NotificationAction() 510 mMessage = in.readParcelable(loader); in NotificationAction() 511 mFolder = in.readParcelable(loader); in NotificationAction()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | SetupData.java | 198 final ClassLoader loader = getClass().getClassLoader(); in SetupData() local 200 mAccount = in.readParcelable(loader); in SetupData() 205 mPolicy = in.readParcelable(loader); in SetupData() 206 mAccountAuthenticatorResponse = in.readParcelable(loader); in SetupData()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | EntityDelta.java | 463 final ClassLoader loader = getClass().getClassLoader(); in readFromParcel() local 465 mValues = source.<ValuesDelta> readParcelable(loader); in readFromParcel() 467 final ValuesDelta child = source.<ValuesDelta> readParcelable(loader); in readFromParcel() 826 final ClassLoader loader = getClass().getClassLoader(); in readFromParcel() local 827 mBefore = source.<ContentValues> readParcelable(loader); in readFromParcel() 828 mAfter = source.<ContentValues> readParcelable(loader); in readFromParcel()
|