/libcore/luni/src/main/java/libcore/reflect/ |
ParameterizedTypeImpl.java | 30 private final ClassLoader loader; field in class:ParameterizedTypeImpl 33 ListOfTypes args, ClassLoader loader) { 40 this.loader = loader; 65 rawType = Class.forName(rawTypeName, false, loader);
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
BuglePhotoViewFragment.java | 21 import android.support.v4.content.Loader; 42 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { 43 super.onLoadFinished(loader, result); 45 if (PhotoViewCallbacks.BITMAP_LOADER_PHOTO == loader.getId()
|
/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...] |
LoaderCustomSupport.java | 36 import android.support.v4.content.Loader; 65 * Demonstration of the implementation of a custom Loader. 82 //BEGIN_INCLUDE(loader) 84 * This class holds the per-item data in our Loader. 87 public AppEntry(AppListLoader loader, ApplicationInfo info) { 88 mLoader = loader; 183 * so that the loader can be updated. 188 public PackageIntentReceiver(AppListLoader loader) { 189 mLoader = loader; 203 // Tell the loader about the change [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrinterRegistry.java | 21 import android.content.Loader; 108 Loader<?> loader = mActivity.getLoaderManager().getLoader(LOADER_ID_PRINTERS_LOADER); local 109 return (FusedPrintersProvider) loader; 115 public void onLoaderReset(Loader<List<PrinterInfo>> loader) { 116 if (loader.getId() == LOADER_ID_PRINTERS_LOADER) { 130 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) { 131 if (loader.getId() == LOADER_ID_PRINTERS_LOADER) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
RuleLoader.java | 65 * @param project the project the loader is associated with 70 RuleLoader loader = null; local 72 loader = (RuleLoader) project.getSessionProperty(RULE_LOADER); 76 if (loader == null) { 77 loader = new RuleLoader(project); 79 project.setSessionProperty(RULE_LOADER, loader); 84 return loader; 96 * @return A class loader which can user view rules, or otherwise null 153 * Return the class loader to use for custom views, or null if no custom 154 * view rules are registered for the project. Note that this class loader [all...] |
/art/test/086-null-super/src/ |
Main.java | 22 * Class loader test. 35 * A class loader which loads classes from the dex file 40 * a BrokenDexLoader will be the defining loader for the class 41 * Inaccessible. The VM will call the defining loader for 150 BrokenDexLoader loader; local 152 loader = new BrokenDexLoader(ClassLoader.getSystemClassLoader()); 153 loader.findBrokenClass();
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountFinalizeFragment.java | 23 import android.content.Loader; 72 public Loader<Boolean> onCreateLoader(int id, Bundle args) { 78 public void onLoadFinished(Loader<Boolean> loader, Boolean success) { 95 public void onLoaderReset(Loader<Boolean> loader) {} 100 * Final account setup work is handled in this Loader:
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
listview.jd | 8 <li><a href="#Loader">Using a Loader</a></li> 36 <h2 id="Loader">Using a Loader</h2> 55 android.support.v4.content.Loader} to asynchronously load data, see the <a 113 // Prepare the loader. Either re-connect with an existing one, 118 // Called when a new Loader needs to be created 119 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 126 // Called when a previously created loader has finished loading 127 public void onLoadFinished(Loader<Cursor> loader, Cursor data) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCustom.java | 38 import android.content.Loader; 63 * Demonstration of the implementation of a custom Loader. 80 //BEGIN_INCLUDE(loader) 82 * This class holds the per-item data in our Loader. 85 public AppEntry(AppListLoader loader, ApplicationInfo info) { 86 mLoader = loader; 181 * so that the loader can be updated. 186 public PackageIntentReceiver(AppListLoader loader) { 187 mLoader = loader; 201 // Tell the loader about the change [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsCategory.java | 26 import android.content.Loader; 88 * so that the loader can be updated. 93 public PackageIntentReceiver(AppListLoader loader) { 94 mLoader = loader; 108 // Tell the loader about the change. 114 * A custom Loader that loads all of the installed applications. 141 // An async query came in while the loader is stopped. We 151 // If the Loader is currently started, we can immediately 165 * Handles a request to start the Loader. 195 * Handles a request to stop the Loader [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
runpy.py | 89 # loader protocol (specifically, "get_filename" is non-standard) 92 def _get_filename(loader, mod_name): 94 meth = getattr(loader, attr, None) 99 # Helper to get the loader, code and filename for a module 101 loader = get_loader(mod_name) 102 if loader is None: 104 if loader.is_package(mod_name): 113 code = loader.get_code(mod_name) 116 filename = _get_filename(loader, mod_name) 117 return mod_name, loader, code, filenam [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
runpy.py | 89 # loader protocol (specifically, "get_filename" is non-standard) 92 def _get_filename(loader, mod_name): 94 meth = getattr(loader, attr, None) 99 # Helper to get the loader, code and filename for a module 101 loader = get_loader(mod_name) 102 if loader is None: 104 if loader.is_package(mod_name): 113 code = loader.get_code(mod_name) 116 filename = _get_filename(loader, mod_name) 117 return mod_name, loader, code, filenam [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...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/ |
html_module.py | 31 self.dependency_metadata = Parse(self.loader, 79 return _HRefToResource(self.loader, self.name, self._module_dir_name, 89 self.loader, module_dirname, contents) 145 loader, module_name, module_dir_name, href, tag_for_err_msg): 147 resource = loader.FindResourceGivenRelativePath( 152 resource = loader.FindResourceGivenAbsolutePath(abspath) 166 def Parse(loader, module_name, module_dir_name, is_component, parser_results): 176 resource = _HRefToResource(loader, module_name, module_dir_name, 190 loader, module_name, module_dir_name, href, 206 loader, module_name, module_dir_name, href [all...] |
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
DexMergeTest.java | 41 ClassLoader loader = mergeAndLoad( local 45 Class<?> basic = loader.loadClass("testdata.Basic"); 48 Class<?> fillArrayData = loader.loadClass("testdata.FillArrayData"); 61 ClassLoader loader = mergeAndLoad( local 65 Class<?> basic = loader.loadClass("testdata.Basic"); 68 Class<?> tryCatchFinally = loader.loadClass("testdata.TryCatchFinally"); 73 ClassLoader loader = mergeAndLoad( local 77 Class<?> basic = loader.loadClass("testdata.Basic"); 80 Class<?> staticValues = loader.loadClass("testdata.StaticValues"); 97 ClassLoader loader = mergeAndLoad local [all...] |
/developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/ |
CursorLoaderListFragment.java | 22 import android.content.Loader; 85 // Prepare the loader. Either re-connect with an existing one, 129 * filter, and restart the loader to do a new query with this filter. 139 // Prevents restarting the loader when restoring state. 147 // Restart the Loader. 149 // creating the query for the Loader. 181 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 182 // This is called when a new Loader needs to be created. This 183 // sample only has one Loader, so we don't care about the ID. 208 public void onLoadFinished(Loader<Cursor> loader, Cursor data) [all...] |
/libcore/libart/src/main/java/java/lang/ |
ClassLoader.java | 53 * parent class loaders. Only if the parent class loader cannot satisfy the 54 * request, the child class loader itself tries to handle it. 69 * classes from the classpath. It is not equal to the bootstrap class loader - 74 * creation of the system class loader until first use. We use a static 81 public static ClassLoader loader = ClassLoader.createSystemClassLoader(); field in class:ClassLoader.SystemClassLoader 90 * The packages known to the class loader. 99 * loader. 107 * Create the system class loader. Note this is NOT the bootstrap class 108 * loader (which is managed by the VM). We use a null value for the parent 109 * to indicate that the bootstrap loader is our parent 357 ClassLoader loader; local [all...] |
/external/pdfium/third_party/freetype/src/type1/ |
t1load.c | 5 /* Type 1 font loader (body). */ 21 /* This is the new and improved Type 1 data loader for FreeType 2. The */ 22 /* old loader has several problems: it is slow, complex, difficult to */ 57 /* glyph loader will also be _greatly_ simplified, and the automatic */ 566 T1_Loader loader ) 576 T1_ToTokenArray( &loader->parser, axis_tokens, 627 loader->parser.root.error = error; 633 T1_Loader loader ) 638 T1_Parser parser = &loader->parser; 719 loader->parser.root.cursor = old_cursor 2084 T1_LoaderRec loader; local [all...] |
/external/jetty/src/java/org/eclipse/jetty/webapp/ |
WebDescriptor.java | 28 import org.eclipse.jetty.util.Loader; 72 URL dtd22=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_2.dtd",true); 73 URL dtd23=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_3.dtd",true); 74 URL j2ee14xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/j2ee_1_4.xsd",true); 75 URL webapp24xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_4.xsd",true); 76 URL webapp25xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_2_5.xsd",true); 77 URL webapp30xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-app_3_0.xsd",true); 78 URL webcommon30xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-common_3_0.xsd",true); 79 URL webfragment30xsd=Loader.getResource(Servlet.class,"javax/servlet/resources/web-fragment_3_0.xsd",true); 80 URL schemadtd=Loader.getResource(Servlet.class,"javax/servlet/resources/XMLSchema.dtd",true) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
DesktopAssetManager.java | 102 public void addClassLoader(ClassLoader loader){
106 classLoaders.add(loader);
110 public void removeClassLoader(ClassLoader loader){
112 classLoaders.remove(loader);
124 public void registerLoader(Class<? extends AssetLoader> loader, String ... extensions){
125 handler.addLoader(loader, extensions);
127 logger.log(Level.FINER, "Registered loader: {0} for extensions {1}",
128 new Object[]{loader.getSimpleName(), Arrays.toString(extensions)});
137 logger.log(Level.WARNING, "Failed to find loader: "+clsName, ex);
139 logger.log(Level.WARNING, "Failed to find loader: "+clsName, ex); 246 AssetLoader loader = handler.aquireLoader(key); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
NFS4StringPrep.java | 37 ClassLoader loader = NFS4StringPrep.class.getClassLoader(); local 39 InputStream nfscsiFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscsi.spp"); 43 InputStream nfscssFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscss.spp"); 47 InputStream nfscisFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfscis.spp"); 51 InputStream nfsmxpFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfsmxp.spp"); 55 InputStream nfsmxsFile = loader.getResourceAsStream("com/ibm/icu/dev/data/testdata/nfsmxs.spp");
|
/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/UnifiedEmail/src/com/android/mail/ui/ |
SingleFolderSelectionDialog.java | 25 import android.content.Loader; 61 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 68 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 112 public void onLoaderReset(Loader<Cursor> loader) {
|