| /development/samples/ApiDemos/src/com/example/android/apis/app/ |
| 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...] |
| /external/chromium_org/chrome/browser/net/ |
| transport_security_persister.h | 97 class Loader;
|
| transport_security_persister.cc | 86 class TransportSecurityPersister::Loader { 88 Loader(const base::WeakPtr<TransportSecurityPersister>& persister, 104 scoped_ptr<Loader> deleter(this); 119 DISALLOW_COPY_AND_ASSIGN(Loader); 136 Loader* loader = new Loader(weak_ptr_factory_.GetWeakPtr(), writer_.path()); local 139 base::Bind(&Loader::Load, base::Unretained(loader)), 140 base::Bind(&Loader::CompleteLoad, base::Unretained(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...] |
| /packages/apps/Browser/src/com/android/browser/widget/ |
| BookmarkWidgetConfigure.java | 25 import android.content.Loader; 82 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 95 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) { 113 public void onLoaderReset(Loader<Cursor> loader) {
|
| /packages/apps/Contacts/src/com/android/contacts/list/ |
| JoinContactListFragment.java | 23 import android.content.Loader; 54 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 57 // Loader for the display name of the target contact 63 JoinContactLoader loader = new JoinContactLoader(getActivity()); 66 adapter.configureLoader(loader, 0); 68 return loader; 71 throw new IllegalArgumentException("No loader for ID=" + id); 75 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 76 switch (loader.getId()) [all...] |
| /packages/apps/Email/src/com/android/email/activity/ |
| InsertQuickResponseDialog.java | 31 import android.content.Loader; 122 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 128 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 133 public void onLoaderReset(Loader<Cursor> loader) {
|
| /packages/apps/Email/src/com/android/email/activity/setup/ |
| 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) {
|
| /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...] |
| PhotoSetFragment.java | 22 import android.content.Loader; 82 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 84 MediaItemsLoader loader = new MediaItemsLoader(getActivity()); local 85 mLoaderCompatShim = loader; 87 return loader; 91 public void onLoadFinished(Loader<Cursor> loader, 98 public void onLoaderReset(Loader<Cursor> loader) {
|
| AlbumFragment.java | 22 import android.content.Loader; 116 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 118 MediaItemsLoader loader = new MediaItemsLoader(getActivity(), mAlbumPath); local 119 mLoaderCompatShim = loader; 121 return loader; 125 public void onLoadFinished(Loader<Cursor> loader, 133 public void onLoaderReset(Loader<Cursor> loader) {
|
| /packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
| WaitFragment.java | 24 import android.content.Loader; 137 public Loader<Cursor> onCreateLoader(int id, Bundle bundle) { 144 public void onLoadFinished(Loader<Cursor> arg0, Cursor arg1) { 149 public void onLoaderReset(Loader<Cursor> arg0) {
|
| /external/javassist/src/main/javassist/ |
| Loader.java | 24 * The class loader for Javassist. 26 * <p>This is a sample class loader using <code>ClassPool</code>. 27 * Unlike a regular class loader, this class loader obtains bytecode 30 * <p>Note that Javassist can be used without this class loader; programmers 31 * can define their own versions of class loader. They can run 32 * a program even without any user-defined class loader if that program 34 * This class loader is just provided as a utility class. 49 * Loader cl = new Loader(cp) [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> { 46 * it to the Loader to have the loader re-load its data when the observer 68 * Interface that is implemented to discover when a Loader has finished 71 * to find out when a Loader it is managing has completed so that this can 73 * Loader is not being used in conjunction with LoaderManager. 77 * Called on the thread that created the Loader when the load is complete. 79 * @param loader the loader that completed the loa [all...] |
| /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
| ContactsListFragment.java | 25 import android.content.Loader; 77 protected Loader onCreateLoader(int id, Bundle args) { 89 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
|
| /developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/network/sync/basicsyncadapter/ |
| EntryListFragment.java | 32 import android.support.v4.content.Loader; 208 * content provider, the ContentObserver responds by resetting the loader and then reloading 212 public Loader<Cursor> onCreateLoader(int i, Bundle bundle) { 213 // We only have one loader, so we can ignore the value of i. 228 public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) { 234 * changed. The ContentObserver resets the loader, and then re-runs the loader. In the adapter, 239 public void onLoaderReset(Loader<Cursor> cursorLoader) {
|
| /development/samples/training/threadsample/src/com/example/android/threadsample/ |
| PhotoThumbnailFragment.java | 29 import android.support.v4.content.Loader; 88 // Identifies a particular Loader being used in this component 92 * This callback is invoked when the framework is starting or re-starting the Loader. It 96 public Loader<Cursor> onCreateLoader(int loaderID, Bundle bundle) 99 * Takes action based on the ID of the Loader that's being created 299 * Invoked when the CursorLoader finishes the query. A reference to the Loader and the 303 public void onLoadFinished(Loader<Cursor> loader, Cursor returnCursor) { 318 public void onLoaderReset(Loader<Cursor> loader) { [all...] |
| /packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
| SelectCalendarsSyncFragment.java | 28 import android.content.Loader; 117 // Prepare the loader. Either re-connect with an existing one, 186 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 194 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 205 public void onLoaderReset(Loader<Cursor> loader) {
|
| /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
| CellBroadcastListActivity.java | 30 import android.content.Loader; 115 // Prepare the loader. Either re-connect with an existing one, 140 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 147 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 154 public void onLoaderReset(Loader<Cursor> loader) {
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
| AccountFilterActivity.java | 25 import android.content.Loader; 146 public Loader<List<ContactListFilter>> onCreateLoader(int id, Bundle args) { 152 Loader<List<ContactListFilter>> loader, List<ContactListFilter> data) { 162 public void onLoaderReset(Loader<List<ContactListFilter>> loader) {
|
| /packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
| EmlViewerActivity.java | 26 import android.content.Loader; 164 public Loader<ObjectCursor<Account>> onCreateLoader(int id, Bundle args) { 172 public void onLoadFinished(Loader<ObjectCursor<Account>> loader, 180 public void onLoaderReset(Loader<ObjectCursor<Account>> loader) {
|
| MessageFooterView.java | 23 import android.content.Loader; 111 // old loader 117 // Destroy the loader if we are attempting to load a different attachment 124 // but don't do any Loader work if we're only measuring 148 // before the attachment loader results are in, we can still render immediately using 222 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 228 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 239 public void onLoaderReset(Loader<Cursor> loader) { [all...] |