Searched refs:Loader (Results 1 - 20 of 20) 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>;
58 ~Loader();
64 Loader();
H A DLoader.cpp34 #include "Loader.h"
64 ANDROID_SINGLETON_STATIC_INSTANCE( Loader )
119 Loader::driver_t::driver_t(void* gles)
126 Loader::driver_t::~driver_t()
136 status_t Loader::driver_t::set(void* hnd, int32_t api)
156 Loader::Loader() function in class:android::Loader
160 Loader::~Loader() {
170 void* Loader
[all...]
H A Degl.cpp39 #include "Loader.h"
308 Loader& loader(Loader::getInstance());
H A Degl_display.cpp27 #include "Loader.h"
106 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/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewCallbacks.java6 import android.support.v4.content.Loader;
95 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri);
H A DPhotoViewController.java18 import android.support.v4.content.Loader;
503 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
511 public Loader<BitmapResult> onCreateBitmapLoader(int id, Bundle args, String uri) {
523 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
593 public void onLoaderReset(android.support.v4.content.Loader<Cursor> loader) {
1166 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) {
1180 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) {
1200 public void onLoaderReset(Loader<BitmapResult> loader) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java21 import android.content.Loader;
108 Loader<?> loader = mActivity.getLoaderManager().getLoader(LOADER_ID_PRINTERS_LOADER);
115 public void onLoaderReset(Loader<List<PrinterInfo>> loader) {
130 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) {
154 public Loader<List<PrinterInfo>> onCreateLoader(int id, Bundle args) {
H A DFusedPrintersProvider.java21 import android.content.Loader;
62 public final class FusedPrintersProvider extends Loader<List<PrinterInfo>> {
/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
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.
101 public void onLoadComplete(Loader<D> loader, D data);
105 * Interface that is implemented to discover when a Loader ha
131 public Loader(Context context) { method in class:Loader
[all...]
H A DAsyncTaskLoader.java32 * Abstract Loader that provides an {@link AsyncTask} to do the work. See
33 * {@link Loader} and {@link android.app.LoaderManager} for more details.
53 public abstract class AsyncTaskLoader<D> extends Loader<D> {
76 // cancel the Loader itself and still expects to receive a result.
77 // Additionally, the Loader's own state will not have been updated to
285 * {@link OperationCanceledException}. In either case, the {@link Loader} will
/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
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.
82 public void onLoadComplete(Loader<D> loader, D data);
91 public Loader(Context context) { method in class:Loader
180 * Starts an asynchronous load of the Loader'
[all...]
H A DAsyncTaskLoader.java36 public abstract class AsyncTaskLoader<D> extends Loader<D> {
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java31 import android.support.v4.content.Loader;
321 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) {
338 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) {
445 public void onLoaderReset(Loader<BitmapResult> loader) {
547 final Loader<BitmapResult> fakePhotoLoader = manager.getLoader(
557 final Loader<BitmapResult> fakeThumbnailLoader = manager.getLoader(
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsCreateFragment.java27 import android.content.Loader;
102 public Loader<List<DocumentStack>> onCreateLoader(int id, Bundle args) {
108 Loader<List<DocumentStack>> loader, List<DocumentStack> data) {
118 public void onLoaderReset(Loader<List<DocumentStack>> loader) {
H A DRootsFragment.java27 import android.content.Loader;
108 public Loader<Collection<RootInfo>> onCreateLoader(int id, Bundle args) {
114 Loader<Collection<RootInfo>> loader, Collection<RootInfo> result) {
126 public void onLoaderReset(Loader<Collection<RootInfo>> loader) {
H A DDirectoryFragment.java40 import android.content.Loader;
263 public Loader<DirectoryResult> onCreateLoader(int id, Bundle args) {
293 public void onLoadFinished(Loader<DirectoryResult> loader, DirectoryResult result) {
326 public void onLoaderReset(Loader<DirectoryResult> loader) {
/frameworks/native/opengl/libs/
H A DAndroid.mk32 EGL/Loader.cpp \

Completed in 2256 milliseconds