Home
last modified time | relevance | path

Searched refs:loaderId (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMediaPickerData.java40 void onMediaPickerDataUpdated(MediaPickerData mediaPickerData, Object data, int loaderId); in onMediaPickerDataUpdated() argument
126 public void startLoader(final int loaderId, final BindingBase<MediaPickerData> binding, in startLoader() argument
132 if (loaderId == GALLERY_IMAGE_LOADER) { in startLoader()
133 mLoaderManager.initLoader(loaderId, args, mGalleryLoaderCallbacks).forceLoad(); in startLoader()
140 public void destroyLoader(final int loaderId) { in destroyLoader() argument
141 mLoaderManager.destroyLoader(loaderId); in destroyLoader()
/packages/apps/Settings/src/com/android/settings/search/
DDynamicIndexableContentMonitor.java113 public void register(Activity activity, int loaderId) { in register() argument
117 register(activity, loaderId, FeatureFactory.getFactory(activity) in register()
127 void register(Activity activity, int loaderId, DatabaseIndexingManager indexManager, in register() argument
141 activity.getLoaderManager().initLoader(loaderId, null /* args */, this /* callbacks */); in register()
159 public void unregister(Activity activity, int loaderId) { in unregister() argument
164 activity.getLoaderManager().destroyLoader(loaderId); in unregister()
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DTestLoaderManager.java82 for (int loaderId : loaderIds) { in waitForLoaders()
83 if (mFinishedLoaders.contains(loaderId)) { in waitForLoaders()
89 (AsyncTaskLoader<?>) mDelegate.getLoader(loaderId); in waitForLoaders()
91 Assert.fail("Loader does not exist: " + loaderId); in waitForLoaders()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DNestedFolderTeaserView.java418 private static int getFolderId(final int loaderId) { in getFolderId() argument
419 return loaderId - LOADER_FOLDER_LIST; in getFolderId()
510 private void initFolderLoader(final int loaderId) {
511 LogUtils.d(LOG_TAG, "Initializing folder loader %d", loaderId);
512 mLoaderManager.initLoader(loaderId, null, mFolderLoaderCallbacks);
/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardFragment.java140 final int loaderId, @NonNull final List<Keyboards> keyboardsList) { in onLoadFinishedInternal() argument
141 if (!mLoaderIDs.remove(loaderId)) { in onLoadFinishedInternal()
240 for (final int loaderId : mLoaderIDs) { in clearLoader()
241 getLoaderManager().destroyLoader(loaderId); in clearLoader()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountsLoader.java78 final FragmentType fragment, int loaderId, final Predicate<AccountInfo> filter) { in loadAccounts() argument
80 fragment.getActivity(), fragment.getLoaderManager(), loaderId, filter, fragment); in loadAccounts() local
/packages/experimental/PermissionApp/src/foo/bar/permission/
DPermissionActivity.java129 public Loader<Cursor> onCreateLoader(int loaderId, Bundle args) { in onCreateLoader() argument
130 switch (loaderId) { in onCreateLoader()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryMediaChooser.java168 final int loaderId) { in onMediaPickerDataUpdated() argument
170 Assert.equals(MediaPickerData.GALLERY_IMAGE_LOADER, loaderId); in onMediaPickerDataUpdated()
DMediaChooser.java160 public void onDataUpdated(final Object data, final int loaderId) { in onDataUpdated() argument
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactEntryListFragment.java409 int loaderId = loader.getId();
410 if (loaderId == DIRECTORY_LOADER_ID) {
415 onPartitionLoaded(loaderId, data);
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java439 int loaderId = loader.getId();
440 if (loaderId == DIRECTORY_LOADER_ID) {
445 onPartitionLoaded(loaderId, data);
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDynamicIndexableContentMonitor.java20 public void register(Activity activity, int loaderId) { in register() argument