Searched refs:loader (Results 1 - 25 of 84) sorted by relevance

1234

/frameworks/support/documents-archive/src/android/support/provider/
H A DDocumentArchiveHelper.java120 Loader loader = null;
122 loader = obtainInstance(documentId);
123 return loader.get().queryChildDocuments(documentId, projection, sortOrder);
125 releaseInstance(loader);
135 Loader loader = null;
137 loader = obtainInstance(documentId);
138 return loader.get().getDocumentType(documentId);
140 releaseInstance(loader);
151 Loader loader = null;
153 loader
266 releaseInstance(@ullable Loader loader) argument
[all...]
/frameworks/base/core/java/android/os/
H A DParcelableParcel.java29 public ParcelableParcel(ClassLoader loader) { argument
31 mClassLoader = loader;
34 public ParcelableParcel(Parcel src, ClassLoader loader) { argument
36 mClassLoader = loader;
73 public ParcelableParcel createFromParcel(Parcel in, ClassLoader loader) {
74 return new ParcelableParcel(in, loader);
H A DParcelable.java150 * @param loader The ClassLoader that this object is being created in.
153 public T createFromParcel(Parcel source, ClassLoader loader); argument
H A DParcel.java120 * that class to be reconstructed from the appropriate class loader when
1824 public final void readMap(Map outVal, ClassLoader loader) { argument
1826 readMapInternal(outVal, N, loader);
1831 * dataPosition(), using the given class loader to load any enclosed
1832 * Parcelables. If it is null, the default class loader is used.
1834 public final void readList(List outVal, ClassLoader loader) { argument
1836 readListInternal(outVal, N, loader);
1843 * class loader to load any enclosed Parcelables. Returns null if
1846 public final HashMap readHashMap(ClassLoader loader) argument
1853 readMapInternal(m, N, loader);
1872 readBundle(ClassLoader loader) argument
1901 readPersistableBundle(ClassLoader loader) argument
2030 readArrayList(ClassLoader loader) argument
2046 readArray(ClassLoader loader) argument
2062 readSparseArray(ClassLoader loader) argument
2348 readValue(ClassLoader loader) argument
2461 readParcelable(ClassLoader loader) argument
2476 readCreator(Parcelable.Creator<?> creator, ClassLoader loader) argument
2487 readParcelableCreator(ClassLoader loader) argument
2563 readParcelableArray(ClassLoader loader) argument
2576 readParcelableArray(ClassLoader loader, Class<T> clazz) argument
2598 readSerializable(final ClassLoader loader) argument
2711 readMapInternal(Map outVal, int N, ClassLoader loader) argument
2721 readArrayMapInternal(ArrayMap outVal, int N, ClassLoader loader) argument
2742 readArrayMapSafelyInternal(ArrayMap outVal, int N, ClassLoader loader) argument
2762 readArrayMap(ArrayMap outVal, ClassLoader loader) argument
2777 readArraySet(ClassLoader loader) argument
2790 readListInternal(List outVal, int N, ClassLoader loader) argument
2800 readArrayInternal(Object[] outVal, int N, ClassLoader loader) argument
2809 readSparseArrayInternal(SparseArray outVal, int N, ClassLoader loader) argument
[all...]
/frameworks/base/core/java/android/view/
H A DAbsSavedState.java60 * Constructor used when reading from a parcel using a given class loader.
64 * @param loader ClassLoader to use for reading
66 protected AbsSavedState(Parcel source, ClassLoader loader) { argument
67 Parcelable superState = source.readParcelable(loader);
92 public AbsSavedState createFromParcel(Parcel in, ClassLoader loader) {
93 Parcelable superState = in.readParcelable(loader);
/frameworks/support/compat/honeycomb_mr2/android/support/v4/os/
H A DParcelableCompatCreatorCallbacks.java34 * @param loader The ClassLoader that this object is being created in.
37 public T createFromParcel(Parcel in, ClassLoader loader); argument
H A DParcelableCompatHoneycombMR2.java39 public T createFromParcel(Parcel in, ClassLoader loader) { argument
40 return mCallbacks.createFromParcel(in, loader);
/frameworks/support/core-ui/java/android/support/v4/view/
H A DAbsSavedState.java65 * @param loader ClassLoader to use for reading
67 protected AbsSavedState(Parcel source, ClassLoader loader) { argument
68 Parcelable superState = source.readParcelable(loader);
89 public AbsSavedState createFromParcel(Parcel in, ClassLoader loader) {
90 Parcelable superState = in.readParcelable(loader);
/frameworks/support/design/src/android/support/design/internal/
H A DParcelableSparseArray.java38 public ParcelableSparseArray(Parcel source, ClassLoader loader) { argument
43 Parcelable[] values = source.readParcelableArray(loader);
73 ClassLoader loader) {
74 return new ParcelableSparseArray(source, loader);
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDex.java47 * loader} in order to load classes from more than one dex file. The primary
83 * Patches the application context class loader by appending extra dex files
127 /* The patched class loader is expected to be a descendant of
132 ClassLoader loader;
134 loader = context.getClassLoader();
140 Log.w(TAG, "Failure while trying to obtain Context class loader. " +
144 if (loader == null) {
145 // Note, the context class loader is null when running Robolectric tests.
147 "Context class loader is null. Must be running in test mode. "
162 installSecondaryDexes(loader, dexDi
238 installSecondaryDexes(ClassLoader loader, File dexDir, List<File> files) argument
408 install(ClassLoader loader, List<File> additionalClassPathEntries, File optimizedDirectory) argument
473 install(ClassLoader loader, List<File> additionalClassPathEntries, File optimizedDirectory) argument
507 install(ClassLoader loader, List<File> additionalClassPathEntries) argument
[all...]
/frameworks/webview/chromium/
H A DAndroid.mk64 loader/loader.cpp \
/frameworks/base/test-runner/src/android/test/
H A DLoaderTestCase.java49 * 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
55 public <T> T getLoaderResultSynchronously(final Loader<T> loader) { argument
56 // The test thread blocks on this queue until the loader puts it's result in
64 // Shut the loader down
80 loader.registerListener(0, listener);
81 loader.startLoading();
/frameworks/base/core/java/android/app/
H A DApplicationLoaders.java34 * this should be the "system" class loader; in practice we
36 * bootstrap class loader.
46 * If we're one step up from the base class loader, find
51 ClassLoader loader = mLoaders.get(zip);
52 if (loader != null) {
53 return loader;
86 * Adds a new path the classpath of the given loader.
87 * @throws IllegalStateException if the provided class loader is not a {@link PathClassLoader}.
91 throw new IllegalStateException("class loader is not a PathClassLoader");
H A DLoaderManager.java66 * @param id The ID whose loader is to be created.
73 * Called when a previously created loader has finished its load. Note
108 * @param loader The Loader that has finished.
111 public void onLoadFinished(Loader<D> loader, D data); argument
114 * Called when a previously created loader is being reset, and thus
118 * @param loader The Loader that is being reset.
120 public void onLoaderReset(Loader<D> loader); argument
124 * Ensures a loader is initialized and active. If the loader doesn't
126 * started) starts the loader
394 onLoadCanceled(Loader<Object> loader) argument
423 onLoadComplete(Loader<Object> loader, Object data) argument
479 callOnLoadFinished(Loader<Object> loader, Object data) argument
[all...]
/frameworks/base/core/java/android/content/
H A DUndoOperation.java44 protected UndoOperation(Parcel src, ClassLoader loader) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoadPlan.java126 public synchronized void preloadPlan(RecentsTaskLoader loader, int runningTaskId, argument
181 ActivityInfo info = loader.getAndUpdateActivityInfo(taskKey);
182 String title = loader.getAndUpdateActivityTitle(taskKey, t.taskDescription);
183 String titleDescription = loader.getAndUpdateContentDescription(taskKey, res);
187 ? loader.getAndUpdateActivityIcon(taskKey, t.taskDescription, res, false)
189 Bitmap thumbnail = loader.getAndUpdateThumbnail(taskKey, false /* loadIfNotCached */);
190 int activityColor = loader.getActivityPrimaryColor(t.taskDescription);
191 int backgroundColor = loader.getActivityBackgroundColor(t.taskDescription);
218 public synchronized void executePlan(Options opts, RecentsTaskLoader loader, argument
241 task.icon = loader
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java114 Loader<?> loader = mActivity.getLoaderManager().getLoader(mLoaderId);
115 return (FusedPrintersProvider) loader;
121 public void onLoaderReset(Loader<List<PrinterInfo>> loader) {
132 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) {
/frameworks/base/core/java/android/content/pm/
H A DParceledListSlice.java63 private ParceledListSlice(Parcel p, ClassLoader loader) { argument
71 Parcelable.Creator<?> creator = p.readParcelableCreator(loader);
80 final T parcelable = p.readCreator(creator, loader);
108 final T parcelable = reply.readCreator(creator, loader);
209 public ParceledListSlice createFromParcel(Parcel in, ClassLoader loader) {
210 return new ParceledListSlice(in, loader);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java112 RecentsTaskLoader loader = Recents.getTaskLoader();
117 RecentsTaskLoadPlan plan = loader.createLoadPlan(mContext);
118 loader.preloadTasks(plan, -1, false /* includeFrontMostExcludedTask */);
130 loader.loadTasks(mContext, plan, launchOpts);
192 RecentsTaskLoader loader = Recents.getTaskLoader();
193 RecentsTaskLoadPlan plan = loader.createLoadPlan(mContext);
194 loader.preloadTasks(plan, -1, false /* includeFrontMostExcludedTask */);
196 launchOpts.numVisibleTasks = loader.getIconCacheSize();
197 launchOpts.numVisibleTaskThumbnails = loader.getThumbnailCacheSize();
199 loader
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java340 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { argument
350 final int id = loader.getId();
438 public void onLoaderReset(Loader<BitmapResult> loader) { argument
464 // Restart the loader
543 final PhotoBitmapLoaderInterface loader = (PhotoBitmapLoaderInterface) fakePhotoLoader;
545 loader.setPhotoUri(mResolvedPhotoUri);
546 loader.forceLoad();
553 final PhotoBitmapLoaderInterface loader = (PhotoBitmapLoaderInterface) fakeThumbnailLoader;
555 loader.setPhotoUri(mThumbnailUri);
556 loader
[all...]
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfRenderer.cpp77 FPDF_FILEACCESS loader; local
78 loader.m_FileLen = size;
79 loader.m_Param = reinterpret_cast<void*>(intptr_t(fd));
80 loader.m_GetBlock = &getBlock;
82 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
H A DRecentsTvImpl.java56 RecentsTaskLoader loader = Recents.getTaskLoader();
63 sInstanceLoadPlan = loader.createLoadPlan(mContext);
66 loader.preloadTasks(sInstanceLoadPlan, runningTask.id, !isHomeStackVisible);
H A DRecentsTvActivity.java184 RecentsTaskLoader loader = Recents.getTaskLoader();
187 plan = loader.createLoadPlan(this);
193 loader.preloadTasks(plan, -1, !launchState.launchedFromHome);
203 loader.loadTasks(this, plan, loadOpts);
463 // Unregister any broadcast receivers for the task loader
471 RecentsTaskLoader loader = Recents.getTaskLoader();
472 if (loader != null) {
473 loader.onTrimMemory(level);
538 // Remove any stored data from the loader
539 RecentsTaskLoader loader
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DLoaderManager.java47 * @param id The ID whose loader is to be created.
54 * Called when a previously created loader has finished its load. Note
89 * @param loader The Loader that has finished.
92 public void onLoadFinished(Loader<D> loader, D data); argument
95 * Called when a previously created loader is being reset, and thus
99 * @param loader The Loader that is being reset.
101 public void onLoaderReset(Loader<D> loader); argument
105 * Ensures a loader is initialized and active. If the loader doesn't
107 * started) starts the loader
381 onLoadCanceled(Loader<Object> loader) argument
410 onLoadComplete(Loader<Object> loader, Object data) argument
466 callOnLoadFinished(Loader<Object> loader, Object data) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DState.java89 /** Derived after loader */
217 public State createFromParcel(Parcel in, ClassLoader loader) {
231 in.readMap(state.dirState, loader);
232 in.readList(state.selectedDocumentsForCopy, loader);
233 in.readList(state.excludedAuthorities, loader);

Completed in 495 milliseconds

1234