Searched refs:Loader (Results 1 - 16 of 16) sorted by relevance

/frameworks/native/opengl/libs/EGL/
H A DLoader.h36 class Loader : public Singleton<Loader> class in namespace:android
38 friend class Singleton<Loader>;
59 ~Loader();
65 Loader();
H A DLoader.cpp33 #include "Loader.h"
47 ANDROID_SINGLETON_STATIC_INSTANCE( Loader )
102 Loader::driver_t::driver_t(void* gles)
109 Loader::driver_t::~driver_t()
119 status_t Loader::driver_t::set(void* hnd, int32_t api)
139 Loader::Loader() function in class:android::Loader
173 Loader::~Loader()
178 void* Loader
[all...]
H A Degl.cpp42 #include "Loader.h"
304 Loader& loader(Loader::getInstance());
H A Degl_display.cpp26 #include "Loader.h"
122 Loader& loader(Loader::getInstance());
/frameworks/base/test-runner/src/android/test/
H A DLoaderTestCase.java19 import android.content.Loader;
20 import android.content.Loader.OnLoadCompleteListener;
29 * A convenience class for testing {@link Loader}s. This test case
30 * provides a simple way to synchronously get the result from a Loader making
31 * it easy to assert that the Loader returns the expected result.
49 * Runs a Loader synchronously and returns the result of the load. The loader will
55 public <T> T getLoaderResultSynchronously(final Loader<T> loader) {
63 public void onLoadComplete(Loader<T> completedLoader, T data) {
/frameworks/base/core/java/android/app/
H A DLoaderManager.java19 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.
68 * @return Return a new Loader instance that is ready to start loading.
70 public Loader<D> onCreateLoader(int id, Bundle args);
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 of
87 * <li> <p>The Loader will monitor for changes to the data, and report
99 * <li> The Loader wil
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DLoaderManager.java21 import android.support.v4.content.Loader;
45 * Instantiate and return a new Loader for the given ID.
49 * @return Return a new Loader instance that is ready to start loading.
51 public Loader<D> onCreateLoader(int id, Bundle args);
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 report
80 * <li> The Loader will release the data once it knows the application
89 * @param loader The Loader tha
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DLoader.java28 * Static library support version of the framework's {@link android.content.Loader}.
34 public class Loader<D> { class
45 * it to the Loader to have the loader re-load its data when the observer
67 * Interface that is implemented to discover when a Loader has finished
70 * to find out when a Loader it is managing has completed so that this can
72 * Loader is not being used in conjunction with LoaderManager.
76 * Called on the thread that created the Loader when the load is complete.
81 public void onLoadComplete(Loader<D> loader, D data);
90 public Loader(Context context) { method in class:Loader
179 * Starts an asynchronous load of the Loader'
[all...]
H A DAsyncTaskLoader.java36 public abstract class AsyncTaskLoader<D> extends Loader<D> {
/frameworks/base/core/java/android/content/
H A DLoader.java32 * 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> { class
64 * it to the Loader to have the loader re-load its data when the observer
86 * Interface that is implemented to discover when a Loader has finished
89 * to find out when a Loader it is managing has completed so that this can
91 * Loader is not being used in conjunction with LoaderManager.
95 * Called on the thread that created the Loader when the load is complete.
100 public void onLoadComplete(Loader<D> loader, D data);
104 * Interface that is implemented to discover when a Loader ha
130 public Loader(Context context) { method in class:Loader
[all...]
H A DAsyncTaskLoader.java31 * Abstract Loader that provides an {@link AsyncTask} to do the work. See
32 * {@link Loader} and {@link android.app.LoaderManager} for more details.
52 public abstract class AsyncTaskLoader<D> extends Loader<D> {
75 // cancel the Loader itself and still expects to receive a result.
76 // Additionally, the Loader's own state will not have been updated to
274 * {@link OperationCanceledException}. In either case, the {@link Loader} will
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java26 import android.content.Loader;
83 // Loader IDs
247 public Loader<Bitmap> onCreateLoader(int id, Bundle args) {
259 public void onLoadFinished(Loader<Bitmap> loader, Bitmap data) {
331 public void onLoaderReset(Loader<Bitmap> loader) {
416 final Loader<Bitmap> fakeLoader = manager.getLoader(LOADER_ID_PHOTO);
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java29 import android.support.v4.content.Loader;
83 // Loader IDs
254 public Loader<Bitmap> onCreateLoader(int id, Bundle args) {
269 public void onLoadFinished(Loader<Bitmap> loader, Bitmap data) {
360 public void onLoaderReset(Loader<Bitmap> loader) {
441 final Loader<Bitmap> fakeLoader = manager.getLoader(LOADER_ID_PHOTO);
/frameworks/ex/photoviewer/src/com/android/ex/photo/
H A DPhotoViewActivity.java27 import android.content.Loader;
285 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
293 public void onLoadFinished(final Loader<Cursor> loader, final Cursor data) {
343 public void onLoaderReset(Loader<Cursor> loader) {
/frameworks/native/opengl/libs/
H A DAndroid.mk18 EGL/Loader.cpp \
48 # see Loader.cpp for details
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewActivity.java33 import android.support.v4.content.Loader;
263 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
271 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
309 public void onLoaderReset(android.support.v4.content.Loader<Cursor> loader) {

Completed in 775 milliseconds