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

12

/frameworks/native/opengl/libs/EGL/
H A DLoader.h38 class Loader : public Singleton<Loader> class in namespace:android
40 friend class Singleton<Loader>;
63 ~Loader();
69 Loader();
H A DLoader.cpp38 #include "Loader.h"
68 ANDROID_SINGLETON_STATIC_INSTANCE( Loader )
130 Loader::driver_t::driver_t(void* gles)
137 Loader::driver_t::~driver_t()
147 status_t Loader::driver_t::set(void* hnd, int32_t api)
167 Loader::Loader() function in class:android::Loader
185 Loader::~Loader() {
236 void* Loader
[all...]
H A Degl.cpp38 #include "Loader.h"
190 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/support/documents-archive/src/android/support/provider/
H A DDocumentArchiveHelper.java79 private final LruCache<String, Loader> mArchives =
80 new LruCache<String, Loader>(OPENED_ARCHIVES_CACHE_SIZE) {
83 Loader oldValue, Loader newValue) {
120 Loader loader = null;
135 Loader loader = null;
151 Loader loader = null;
169 Loader loader = null;
186 Loader loader = null;
203 Loader loade
324 private static final class Loader { class in class:DocumentArchiveHelper
333 Loader(DocumentsProvider provider, @Nullable File localFile, ParsedDocumentId id, method in class:DocumentArchiveHelper.Loader
[all...]
/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/fragment/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/base/core/java/android/print/
H A DPrintServiceRecommendationsLoader.java21 import android.content.Loader;
30 * Loader for the list of print service recommendations.
34 public class PrintServiceRecommendationsLoader extends Loader<List<RecommendationInfo>> {
H A DPrintServicesLoader.java21 import android.content.Loader;
30 * Loader for the list of print services. Can be parametrized to select a subset.
34 public class PrintServicesLoader extends Loader<List<PrintServiceInfo>> {
/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);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java22 import android.content.Loader;
114 Loader<?> loader = mActivity.getLoaderManager().getLoader(mLoaderId);
121 public void onLoaderReset(Loader<List<PrinterInfo>> loader) {
132 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) {
151 public Loader<List<PrinterInfo>> onCreateLoader(int id, Bundle args) {
/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...]
/frameworks/support/core-utils/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
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.
83 public void onLoadComplete(Loader<D> loader, D data);
87 * Interface that is implemented to discover when a Loader has been canceled
90 * to find out when a Loader i
113 public Loader(Context context) { method in class:Loader
[all...]
/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DCursorFragment.java22 import android.content.Loader;
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) {
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderCursorSupport.java24 import android.support.v4.content.Loader;
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) {
H A DLoaderRetainedSupport.java24 import android.support.v4.content.Loader;
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) {
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DCursorFragment.java22 import android.content.Loader;
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) {
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderCursorSupport.java24 import android.support.v4.content.Loader;
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) {
H A DLoaderRetainedSupport.java24 import android.support.v4.content.Loader;
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) {
/frameworks/native/include/ui/
H A DGraphicBufferMapper.h65 std::unique_ptr<Gralloc1::Loader> mLoader;
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
H A DPaletteActivity.java29 import android.support.v4.content.Loader;
150 public Loader<Cursor> onCreateLoader(int id, Bundle bundle) {
161 public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) {
166 public void onLoaderReset(Loader<Cursor> cursorLoader) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
H A DPaletteActivity.java29 import android.support.v4.content.Loader;
150 public Loader<Cursor> onCreateLoader(int id, Bundle bundle) {
161 public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) {
166 public void onLoaderReset(Loader<Cursor> cursorLoader) {
/frameworks/native/libs/ui/
H A DGralloc1.cpp372 std::unique_ptr<Gralloc1On0Adapter> Loader::mAdapter = nullptr;
374 Loader::Loader() function in class:android::Gralloc1::Loader
393 Loader::~Loader() {}
395 std::unique_ptr<Device> Loader::getDevice()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java31 import android.support.v4.content.Loader;
323 public Loader<BitmapResult> onCreateLoader(int id, Bundle args) {
340 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) {
438 public void onLoaderReset(Loader<BitmapResult> loader) {
540 final Loader<BitmapResult> fakePhotoLoader = manager.getLoader(
550 final Loader<BitmapResult> fakeThumbnailLoader = manager.getLoader(
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsCreateFragment.java28 import android.content.Loader;
101 public Loader<List<DocumentStack>> onCreateLoader(int id, Bundle args) {
107 Loader<List<DocumentStack>> loader, List<DocumentStack> data) {
119 public void onLoaderReset(Loader<List<DocumentStack>> loader) {

Completed in 499 milliseconds

12