/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
ContactablesLoaderCallbacks.java | 22 import android.content.Loader; 47 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) { 80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) { 141 public void onLoaderReset(Loader<Cursor> cursorLoader) {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountFinalizeFragment.java | 23 import android.content.Loader; 72 public Loader<Boolean> onCreateLoader(int id, Bundle args) { 78 public void onLoadFinished(Loader<Boolean> loader, Boolean success) { 95 public void onLoaderReset(Loader<Boolean> loader) {} 100 * Final account setup work is handled in this Loader:
|
AccountCreationFragment.java | 26 import android.content.Loader; 166 public Loader<Boolean> onCreateLoader(int id, Bundle args) { 174 * Task loader returns true if we created the account, false if we bailed out. 220 public void onLoadFinished(Loader<Boolean> loader, Boolean success) { 244 public void onLoaderReset(Loader<Boolean> loader) {} 250 public Loader<Account> onCreateLoader(int id, Bundle args) { 265 public void onLoadFinished(Loader<Account> loader, Account account) [all...] |
AccountSettingsEditQuickResponsesFragment.java | 29 import android.content.Loader; 89 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 95 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 100 public void onLoaderReset(Loader<Cursor> loader) {
|
AccountSetupNamesFragment.java | 22 import android.content.Loader; 109 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 117 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 131 public void onLoaderReset(Loader<Cursor> loader) {}
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
BlockedParticipantsData.java | 21 import android.content.Loader; 54 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { 68 public void onLoadFinished(final Loader<Cursor> loader, final Cursor cursor) { 69 Assert.isTrue(loader.getId() == BLOCKED_PARTICIPANTS_LOADER); 70 final BoundCursorLoader cursorLoader = (BoundCursorLoader) loader; 76 public void onLoaderReset(final Loader<Cursor> loader) { 77 Assert.isTrue(loader.getId() == BLOCKED_PARTICIPANTS_LOADER); 78 final BoundCursorLoader cursorLoader = (BoundCursorLoader) loader; [all...] |
/frameworks/base/core/java/android/app/ |
LoaderManager.java | 19 import android.content.Loader; 31 * one or more {@link android.content.Loader} instances associated with it. This 64 * Instantiate and return a new Loader for the given ID. 66 * @param id The ID whose loader is to be created. 68 * @return Return a new Loader instance that is ready to start loading. 70 public Loader<D> onCreateLoader(int id, Bundle args); 73 * Called when a previously created loader has finished its load. Note 80 * the last data that was supplied for this Loader. At this point 82 * soon), but should not do your own release of the data since its Loader 83 * owns it and will take care of that. The Loader will take care o 549 Loader<Object> loader = callback.onCreateLoader(id, args); local [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
LoaderManager.java | 21 import android.support.v4.content.Loader; 45 * Instantiate and return a new Loader for the given ID. 47 * @param id The ID whose loader is to be created. 49 * @return Return a new Loader instance that is ready to start loading. 51 public Loader<D> onCreateLoader(int id, Bundle args); 54 * Called when a previously created loader has finished its load. Note 61 * the last data that was supplied for this Loader. At this point 63 * soon), but should not do your own release of the data since its Loader 64 * owns it and will take care of that. The Loader will take care of 68 * <li> <p>The Loader will monitor for changes to the data, and repor 542 Loader<Object> loader = callback.onCreateLoader(id, args); local [all...] |
/external/jetty/src/java/org/eclipse/jetty/webapp/ |
DiscoveredAnnotation.java | 21 import org.eclipse.jetty.util.Loader; 82 _clazz = Loader.loadClass(null, _className);
|
/frameworks/base/core/java/android/print/ |
PrintServiceRecommendationsLoader.java | 21 import android.content.Loader; 30 * Loader for the list of print service recommendations. 34 public class PrintServiceRecommendationsLoader extends Loader<List<RecommendationInfo>> {
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
PhotoViewCallbacks.java | 6 import android.support.v4.content.Loader; 95 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri);
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
BuglePhotoViewFragment.java | 21 import android.support.v4.content.Loader; 42 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { 43 super.onLoadFinished(loader, result); 45 if (PhotoViewCallbacks.BITMAP_LOADER_PHOTO == loader.getId()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrinterRegistry.java | 22 import android.content.Loader; 114 Loader<?> loader = mActivity.getLoaderManager().getLoader(mLoaderId); local 115 return (FusedPrintersProvider) loader; 121 public void onLoaderReset(Loader<List<PrinterInfo>> loader) { 134 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) { 156 public Loader<List<PrinterInfo>> onCreateLoader(int id, Bundle args) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
GroupsListFragment.java | 25 import android.content.Loader; 75 protected Loader onCreateLoader(int id, Bundle args) { 86 public void onLoadFinished(Loader loader, Cursor data) { 87 switch (loader.getId()) {
|
/developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/ |
CursorLoaderListFragment.java | 22 import android.content.Loader; 85 // Prepare the loader. Either re-connect with an existing one, 129 * filter, and restart the loader to do a new query with this filter. 139 // Prevents restarting the loader when restoring state. 147 // Restart the Loader. 149 // creating the query for the Loader. 181 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 182 // This is called when a new Loader needs to be created. This 183 // sample only has one Loader, so we don't care about the ID. 208 public void onLoadFinished(Loader<Cursor> loader, Cursor data) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCursor.java | 25 import android.content.Loader; 95 // Prepare the loader. Either re-connect with an existing one, 129 // the search filter, and restart the loader to do a new query 133 // Prevents restarting the loader when restoring state. 173 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 174 // This is called when a new Loader needs to be created. This 175 // sample only has one Loader, so we don't care about the ID. 196 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 209 public void onLoaderReset(Loader<Cursor> loader) [all...] |
LoaderRetained.java | 27 import android.content.Loader; 100 // Prepare the loader. Either re-connect with an existing one, 134 // the search filter, and restart the loader to do a new query 138 // Prevents restarting the loader when restoring state. 178 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 179 // This is called when a new Loader needs to be created. This 180 // sample only has one Loader, so we don't care about the ID. 201 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 214 public void onLoaderReset(Loader<Cursor> loader) [all...] |
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
CursorFragment.java | 22 import android.content.Loader; 68 // Prepare the loader. Either re-connect with an existing one, 86 // the search filter, and restart the loader to do a new query 113 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 114 // This is called when a new Loader needs to be created. This 115 // sample only has one Loader, so we don't care about the ID. 136 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 149 public void onLoaderReset(Loader<Cursor> loader) { [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCursorSupport.java | 24 import android.support.v4.content.Loader; 94 // Prepare the loader. Either re-connect with an existing one, 112 // the search filter, and restart the loader to do a new query 116 // Prevents restarting the loader when restoring state. 154 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 155 // This is called when a new Loader needs to be created. This 156 // sample only has one Loader, so we don't care about the ID. 175 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 188 public void onLoaderReset(Loader<Cursor> loader) [all...] |
LoaderRetainedSupport.java | 24 import android.support.v4.content.Loader; 96 // Prepare the loader. Either re-connect with an existing one, 114 // the search filter, and restart the loader to do a new query 118 // Prevents restarting the loader when restoring state. 145 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 146 // This is called when a new Loader needs to be created. This 147 // sample only has one Loader, so we don't care about the ID. 166 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 179 public void onLoaderReset(Loader<Cursor> loader) [all...] |
/frameworks/base/core/java/android/content/ |
Loader.java | 32 * any calls on to a Loader from the main thread of their process (that is, 34 * of Loader (such as {@link AsyncTaskLoader}) will often perform their work 52 public class Loader<D> { 65 * it to the Loader to have the loader re-load its data when the observer 87 * Interface that is implemented to discover when a Loader has finished 90 * to find out when a Loader it is managing has completed so that this can 92 * Loader is not being used in conjunction with LoaderManager. 96 * Called on the thread that created the Loader when the load is complete. 98 * @param loader the loader that completed the loa [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
Loader.java | 28 * Static library support version of the framework's {@link android.content.Loader}. 34 public class Loader<D> { 47 * it to the Loader to have the loader re-load its data when the observer 69 * Interface that is implemented to discover when a Loader has finished 72 * to find out when a Loader it is managing has completed so that this can 74 * Loader is not being used in conjunction with LoaderManager. 78 * Called on the thread that created the Loader when the load is complete. 80 * @param loader the loader that completed the loa [all...] |
/packages/apps/Dialer/src/com/android/dialer/filterednumber/ |
ViewNumbersToImportFragment.java | 22 import android.content.Loader; 96 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 108 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 113 public void onLoaderReset(Loader<Cursor> loader) {
|
/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 27 import android.content.Loader; 130 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 136 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 141 public void onLoaderReset(Loader<Cursor> loader) {
|
/packages/apps/Gallery2/src/com/android/photos/ |
AlbumSetFragment.java | 22 import android.content.Loader; 71 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 73 MediaSetLoader loader = new MediaSetLoader(getActivity()); local 74 mAdapter.setDrawableFactory(loader); 75 mLoaderCompatShim = loader; 76 return loader; 80 public void onLoadFinished(Loader<Cursor> loader, 87 public void onLoaderReset(Loader<Cursor> loader) { [all...] |