Home
last modified time | relevance | path

Searched refs:loader (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/core/java/android/os/
DParcel.java1519 public final void readMap(Map outVal, ClassLoader loader) { in readMap() argument
1521 readMapInternal(outVal, N, loader); in readMap()
1529 public final void readList(List outVal, ClassLoader loader) { in readList() argument
1531 readListInternal(outVal, N, loader); in readList()
1541 public final HashMap readHashMap(ClassLoader loader) in readHashMap() argument
1548 readMapInternal(m, N, loader); in readHashMap()
1567 public final Bundle readBundle(ClassLoader loader) { in readBundle() argument
1574 if (loader != null) { in readBundle()
1575 bundle.setClassLoader(loader); in readBundle()
1649 public final ArrayList readArrayList(ClassLoader loader) { in readArrayList() argument
[all …]
DParcelable.java132 public T createFromParcel(Parcel source, ClassLoader loader); in createFromParcel() argument
/frameworks/base/docs/html/guide/components/
Dloaders.jd52 <li>They automatically reconnect to the last loader's cursor when being
86 callback method to create a new loader.</td>
91 the base class for a loader. You would typically use {@link
98 <td>Abstract loader that provides an {@link android.os.AsyncTask} to do the work.</td>
108 this loader is the best way to asynchronously load data from a {@link
115 you'll use to implement a loader in your application. You won't need all of them
116 for each loader you create, but you'll always need a reference to the {@link
117 android.app.LoaderManager} in order to initialize a loader and an implementation
135 <li>A way of displaying the loader's data, such as a {@link
153 <pre>// Prepare the loader. Either re-connect with an existing one,
[all …]
/frameworks/base/core/java/android/app/
DApplicationLoaders.java52 ClassLoader loader = mLoaders.get(zip); in getClassLoader() local
53 if (loader != null) { in getClassLoader()
54 return loader; in getClassLoader()
DLoaderManager.java111 public void onLoadFinished(Loader<D> loader, D data); in onLoadFinished() argument
120 public void onLoaderReset(Loader<D> loader); in onLoaderReset() argument
388 public void onLoadCanceled(Loader<Object> loader) { in onLoadCanceled() argument
417 public void onLoadComplete(Loader<Object> loader, Object data) { in onLoadComplete() argument
451 callOnLoadFinished(loader, data); in onLoadComplete()
473 void callOnLoadFinished(Loader<Object> loader, Object data) { in callOnLoadFinished() argument
481 if (DEBUG) Log.v(TAG, " onLoadFinished in " + loader + ": " in callOnLoadFinished()
482 + loader.dataToString(data)); in callOnLoadFinished()
483 mCallbacks.onLoadFinished(loader, data); in callOnLoadFinished()
546 Loader<Object> loader = callback.onCreateLoader(id, args); in createLoader() local
[all …]
/frameworks/base/test-runner/src/android/test/
DLoaderTestCase.java55 public <T> T getLoaderResultSynchronously(final Loader<T> loader) { in getLoaderResultSynchronously() argument
80 loader.registerListener(0, listener); in getLoaderResultSynchronously()
81 loader.startLoading(); in getLoaderResultSynchronously()
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/
DParcelableCompatHoneycombMR2.java39 public T createFromParcel(Parcel in, ClassLoader loader) { in createFromParcel() argument
40 return mCallbacks.createFromParcel(in, loader); in createFromParcel()
DParcelableCompatCreatorCallbacks.java37 public T createFromParcel(Parcel in, ClassLoader loader); in createFromParcel() argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java269 public void onLoadFinished(Loader<Bitmap> loader, Bitmap data) { in onLoadFinished() argument
275 final int id = loader.getId(); in onLoadFinished()
360 public void onLoaderReset(Loader<Bitmap> loader) { in onLoaderReset() argument
446 final PhotoBitmapLoader loader = in onCursorChanged() local
449 loader.setPhotoUri(mResolvedPhotoUri); in onCursorChanged()
450 loader.forceLoad(); in onCursorChanged()
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java259 public void onLoadFinished(Loader<Bitmap> loader, Bitmap data) { in onLoadFinished() argument
265 final int id = loader.getId(); in onLoadFinished()
331 public void onLoaderReset(Loader<Bitmap> loader) { in onLoaderReset() argument
421 final PhotoBitmapLoader loader = in onCursorChanged() local
424 loader.setPhotoUri(mResolvedPhotoUri); in onCursorChanged()
425 loader.forceLoad(); in onCursorChanged()
/frameworks/support/v4/java/android/support/v4/app/
DLoaderManager.java92 public void onLoadFinished(Loader<D> loader, D data); in onLoadFinished() argument
101 public void onLoaderReset(Loader<D> loader); in onLoaderReset() argument
361 @Override public void onLoadComplete(Loader<Object> loader, Object data) { in onLoadComplete() argument
395 callOnLoadFinished(loader, data); in onLoadComplete()
417 void callOnLoadFinished(Loader<Object> loader, Object data) { in callOnLoadFinished() argument
425 if (DEBUG) Log.v(TAG, " onLoadFinished in " + loader + ": " in callOnLoadFinished()
426 + loader.dataToString(data)); in callOnLoadFinished()
427 mCallbacks.onLoadFinished(loader, data); in callOnLoadFinished()
490 Loader<Object> loader = callback.onCreateLoader(id, args); in createLoader() local
491 info.mLoader = (Loader<Object>)loader; in createLoader()
DFragmentStatePagerAdapter.java195 public void restoreState(Parcelable state, ClassLoader loader) { in restoreState() argument
198 bundle.setClassLoader(loader); in restoreState()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp375 ObjectLoader *loader = ObjectLoader::Load(input_exec, runtime_resolver, in LoadAndRun() local
377 if (loader == NULL) { in LoadAndRun()
384 void *entry = loader->getSymbolAddress(OptEntryFunction.c_str()); in LoadAndRun()
388 delete loader; in LoadAndRun()
398 delete loader; in LoadAndRun()
/frameworks/compile/libbcc/lib/Renderscript/
DRSExecutable.cpp43 ObjectLoader *loader = ObjectLoader::Load(pObjFile, in Create() local
46 if (loader == NULL) { in Create()
53 *loader); in Create()
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java88 ClassLoader loader) { in getFactoryByName() argument
91 Class<?> c = Class.forName(providerName, true, loader); in getFactoryByName()
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlistview.jd114 // Prepare the loader. Either re-connect with an existing one,
127 // Called when a previously created loader has finished loading
128 public void onLoadFinished(Loader&lt;Cursor> loader, Cursor data) {
134 // Called when a previously created loader is reset, making the data unavailable
135 public void onLoaderReset(Loader&lt;Cursor> loader) {
/frameworks/base/core/java/android/content/
DLoader.java100 public void onLoadComplete(Loader<D> loader, D data); in onLoadComplete() argument
117 public void onLoadCanceled(Loader<D> loader); in onLoadCanceled() argument
/frameworks/base/media/tests/players/
DREADME5 The class TestPlayerStub uses the dynamic loader to load any of them.
/frameworks/support/v13/java/android/support/v13/app/
DFragmentStatePagerAdapter.java199 public void restoreState(Parcelable state, ClassLoader loader) { in restoreState() argument
202 bundle.setClassLoader(loader); in restoreState()
/frameworks/base/docs/html/training/load-data-background/
Dhandle-results.jd32 onCreateLoader()}. The loader then provides the query results to your
99 public void onLoadFinished(Loader&lt;Cursor&gt; loader, Cursor cursor) {
129 public void onLoaderReset(Loader&lt;Cursor&gt; loader) {
Dindex.jd61 <strong><a href="setup-loader.html">Running a Query with a CursorLoader</a></strong>
74 to remove references to the current {@link android.database.Cursor} when the loader
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewActivity.java271 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { in onLoadFinished() argument
272 final int id = loader.getId(); in onLoadFinished()
309 public void onLoaderReset(android.support.v4.content.Loader<Cursor> loader) { in onLoaderReset() argument
/frameworks/ex/photoviewer/src/com/android/ex/photo/
DPhotoViewActivity.java293 public void onLoadFinished(final Loader<Cursor> loader, final Cursor data) { in onLoadFinished() argument
294 final int id = loader.getId(); in onLoadFinished()
343 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset() argument
/frameworks/native/opengl/libs/EGL/
Degl.cpp304 Loader& loader(Loader::getInstance()); in egl_init_drivers_locked() local
313 cnx->dso = loader.open(cnx); in egl_init_drivers_locked()
/frameworks/support/v4/java/android/support/v4/view/
DPagerAdapter.java249 public void restoreState(Parcelable state, ClassLoader loader) { in restoreState() argument

12