/external/javassist/sample/reflect/ |
Main.java | 3 import javassist.tools.reflect.Loader;
10 would be specified by some configuration file), the class loader
17 % java javassist.tools.reflect.Loader sample.reflect.Main Joe
25 Loader cl = (Loader)Main.class.getClassLoader();
|
/external/javassist/src/main/javassist/tools/reflect/ |
Loader.java | 23 * A class loader for reflection. 32 * javassist.tools.reflect.Loader cl 33 * = (javassist.tools.reflect.Loader)Main.class.getClassLoader(); 43 * <ul><pre>% java javassist.tools.reflect.Loader Main arg1, ...</pre></ul> 57 * javassist.tools.reflect.Loader cl = new javassist.tools.reflect.Loader(); 70 * is loaded by <code>javassist.tools.reflect.Loader</code> whereas the class 74 * to the same name space as <code>javassist.tools.reflect.Loader</code>. 76 * see the notes in the manual page of <code>javassist.Loader</code>. 84 * javassist.Loader c [all...] |
/packages/apps/Dialer/src/com/android/dialer/util/ |
EmptyLoader.java | 21 import android.content.Loader; 25 * A {@link Loader} only used to make use of the {@link android.app.Fragment#setStartDeferred} 26 * feature from an old-style fragment which doesn't use {@link Loader}s to load data. 28 * This loader never delivers results. A caller fragment must destroy it when deferred fragments 31 public class EmptyLoader extends Loader<Object> { 48 public Loader<Object> onCreateLoader(int id, Bundle args) { 53 public void onLoadFinished(Loader<Object> loader, Object data) { 57 public void onLoaderReset(Loader<Object> loader) { [all...] |
/external/javassist/sample/duplicate/ |
Main.java | 33 sample.duplicate.Viewer is loaded by javassist.tools.reflect.Loader so that
38 javassist.tools.reflect.Loader cl = new javassist.tools.reflect.Loader();
|
/frameworks/native/opengl/libs/EGL/ |
Loader.h | 36 class Loader : public Singleton<Loader> 38 friend class Singleton<Loader>; 59 ~Loader(); 65 Loader();
|
Loader.cpp | 33 #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() 173 Loader::~Loader() 184 void* Loader::open(egl_connection_t* cnx [all...] |
/external/javassist/sample/evolve/ |
DemoLoader.java | 6 * DemoLoader is a class loader for running a program including 7 * an updatable class. This simple loader allows only a single 32 Loader cl = new Loader();
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
TestLoaderManager.java | 22 import android.content.Loader; 62 * the loader to complete. 71 * If the loader completes before the call to {@link #waitForLoaders(int...)}, the TestLoaderManager 72 * will have stored the fact that the loader has completed and correctly terminate immediately. 74 * It one needs to wait for the same loader multiple times, call {@link #reset()} between the them 130 List<Loader<?>> loaders = new ArrayList<Loader<?>>(loaderIds.length); 133 // This loader has already completed since the last reset, do not wait for it. 137 final AsyncTaskLoader<?> loader = local 139 if (loader == null) 158 final AsyncTaskLoader<?> loader = (AsyncTaskLoader<?>) loaders[i]; local [all...] |
/frameworks/base/test-runner/src/android/test/ |
LoaderTestCase.java | 19 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 52 * @param loader The loader to run synchronously 53 * @return The result from the loader [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ViewNotificationService.java | 21 import android.content.Loader; 22 import android.content.Loader.OnLoadCompleteListener; 43 // We simply need to start a Loader here. When its done, it will send out the 48 public void onLoadComplete(Loader<Contact> loader, Contact data) { 50 loader.reset(); 52 Log.e(TAG, "Error reseting loader", e);
|
/developers/samples/android/content/contacts/BasicContactables/BasicContactables/src/main/java/com/example/android/basiccontactables/ |
ContactablesLoaderCallbacks.java | 22 import android.content.Loader; 48 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) { 81 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) { 135 public void onLoaderReset(Loader<Cursor> cursorLoader) {
|
/frameworks/base/core/java/android/app/ |
LoaderManager.java | 19 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. 66 * @param id The ID whose loader is to be created. 68 * @return Return a new Loader instance that is ready to start loading. 70 public Loader<D> onCreateLoader(int id, Bundle args); 73 * Called when a previously created loader has finished its load. Note 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 o 546 Loader<Object> loader = callback.onCreateLoader(id, args); local [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
LoaderManager.java | 21 import android.support.v4.content.Loader; 45 * Instantiate and return a new Loader for the given ID. 47 * @param id The ID whose loader is to be created. 49 * @return Return a new Loader instance that is ready to start loading. 51 public Loader<D> onCreateLoader(int id, Bundle args); 54 * Called when a previously created loader has finished its load. Note 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 repor 490 Loader<Object> loader = callback.onCreateLoader(id, args); local [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
MoveMessageToDialog.java | 28 import android.content.Loader; 195 * Loader callback for {@link MessageChecker} 199 public Loader<IdContainer> onCreateLoader(int id, Bundle args) { 204 public void onLoadFinished(Loader<IdContainer> loader, IdContainer idSet) { 223 public void onLoaderReset(Loader<IdContainer> loader) { 228 * Loader callback for destination mailbox list. 232 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 238 public void onLoadFinished(Loader<Cursor> loader, Cursor data) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
GroupsListFragment.java | 25 import android.content.Loader; 75 protected Loader onCreateLoader(int id, Bundle args) { 86 public void onLoadFinished(Loader loader, Cursor data) { 87 switch (loader.getId()) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCursor.java | 25 import android.content.Loader; 95 // Prepare the loader. Either re-connect with an existing one, 129 // the search filter, and restart the loader to do a new query 133 // Prevents restarting the loader when restoring state. 173 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 174 // This is called when a new Loader needs to be created. This 175 // sample only has one Loader, so we don't care about the ID. 196 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 209 public void onLoaderReset(Loader<Cursor> loader) [all...] |
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...] |
/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; 53 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 56 // Loader for the display name of the target contact 62 JoinContactLoader loader = new JoinContactLoader(getActivity()); 65 adapter.configureLoader(loader, 0); 67 return loader; 70 throw new IllegalArgumentException("No loader for ID=" + id); 74 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 75 switch (loader.getId()) [all...] |
/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) {
|