Home
last modified time | relevance | path

Searched refs:loader (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchiveHelper.java120 Loader loader = null; in queryChildDocuments() local
122 loader = obtainInstance(documentId); in queryChildDocuments()
123 return loader.get().queryChildDocuments(documentId, projection, sortOrder); in queryChildDocuments()
125 releaseInstance(loader); in queryChildDocuments()
135 Loader loader = null; in getDocumentType() local
137 loader = obtainInstance(documentId); in getDocumentType()
138 return loader.get().getDocumentType(documentId); in getDocumentType()
140 releaseInstance(loader); in getDocumentType()
151 Loader loader = null; in isChildDocument() local
153 loader = obtainInstance(documentId); in isChildDocument()
[all …]
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java132 ClassLoader loader; in install() local
134 loader = context.getClassLoader(); in install()
144 if (loader == null) { in install()
162 installSecondaryDexes(loader, dexDir, files); in install()
169 installSecondaryDexes(loader, dexDir, files); in install()
238 private static void installSecondaryDexes(ClassLoader loader, File dexDir, List<File> files) in installSecondaryDexes() argument
243 V19.install(loader, files, dexDir); in installSecondaryDexes()
245 V14.install(loader, files, dexDir); in installSecondaryDexes()
247 V4.install(loader, files); in installSecondaryDexes()
408 private static void install(ClassLoader loader, List<File> additionalClassPathEntries, in install() argument
[all …]
/frameworks/base/core/java/android/os/
DParcel.java1824 public final void readMap(Map outVal, ClassLoader loader) { in readMap() argument
1826 readMapInternal(outVal, N, loader); in readMap()
1834 public final void readList(List outVal, ClassLoader loader) { in readList() argument
1836 readListInternal(outVal, N, loader); in readList()
1846 public final HashMap readHashMap(ClassLoader loader) in readHashMap() argument
1853 readMapInternal(m, N, loader); in readHashMap()
1872 public final Bundle readBundle(ClassLoader loader) { in readBundle() argument
1880 if (loader != null) { in readBundle()
1881 bundle.setClassLoader(loader); in readBundle()
1901 public final PersistableBundle readPersistableBundle(ClassLoader loader) { in readPersistableBundle() argument
[all …]
DParcelableParcel.java29 public ParcelableParcel(ClassLoader loader) { in ParcelableParcel() argument
31 mClassLoader = loader; in ParcelableParcel()
34 public ParcelableParcel(Parcel src, ClassLoader loader) { in ParcelableParcel() argument
36 mClassLoader = loader; in ParcelableParcel()
73 public ParcelableParcel createFromParcel(Parcel in, ClassLoader loader) {
74 return new ParcelableParcel(in, loader);
/frameworks/base/docs/html-intl/intl/in/guide/components/
Dloaders.jd42 <p>Diperkenalkan di Android 3.0, loader memudahkan pemuatan data asinkron
50 <li>Loader secara otomatis menghubungkan kembali ke kursor loader lalu saat
51 dibuat kembali setelah perubahan konfigurasi. Karena itu, loader tidak perlu melakukan query ulang
58 loader pada aplikasi. Semuanya dirangkum dalam tabel ini:</p>
72 {@link android.content.CursorLoader}, akan tetapi aplikasi bebas menulis loader-nya
77 beberapa loader.</td>
84 untuk membuat loader baru.</td>
89 adalah kelas dasar untuk loader. Biasanya Anda akan menggunakan {@link
91 loader aktif, loader harus memantau sumber datanya dan memberikan hasil
105 pada thread latar belakang agar tidak memblokir UI aplikasi. Menggunakan loader
[all …]
/frameworks/base/docs/html-intl/intl/id/guide/components/
Dloaders.jd42 <p>Diperkenalkan di Android 3.0, loader memudahkan pemuatan data asinkron
50 <li>Loader secara otomatis menghubungkan kembali ke kursor loader lalu saat
51 dibuat kembali setelah perubahan konfigurasi. Karena itu, loader tidak perlu melakukan query ulang
58 loader pada aplikasi. Semuanya dirangkum dalam tabel ini:</p>
72 {@link android.content.CursorLoader}, akan tetapi aplikasi bebas menulis loader-nya
77 beberapa loader.</td>
84 untuk membuat loader baru.</td>
89 adalah kelas dasar untuk loader. Biasanya Anda akan menggunakan {@link
91 loader aktif, loader harus memantau sumber datanya dan memberikan hasil
105 pada thread latar belakang agar tidak memblokir UI aplikasi. Menggunakan loader
[all …]
/frameworks/base/docs/html/guide/components/
Dloaders.jd52 <li>They automatically reconnect to the last loader's cursor when being
86 callback method to create a new loader.</td>
91 the base class for a loader. You would typically use {@link
98 <td>Abstract loader that provides an {@link android.os.AsyncTask} to do the work.</td>
108 this loader is the best way to asynchronously load data from a {@link
115 you'll use to implement a loader in your application. You won't need all of them
116 for each loader you create, but you'll always need a reference to the {@link
117 android.app.LoaderManager} in order to initialize a loader and an implementation
135 <li>A way of displaying the loader's data, such as a {@link
153 <pre>// Prepare the loader. Either re-connect with an existing one,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java126 public synchronized void preloadPlan(RecentsTaskLoader loader, int runningTaskId, in preloadPlan() argument
181 ActivityInfo info = loader.getAndUpdateActivityInfo(taskKey); in preloadPlan()
182 String title = loader.getAndUpdateActivityTitle(taskKey, t.taskDescription); in preloadPlan()
183 String titleDescription = loader.getAndUpdateContentDescription(taskKey, res); in preloadPlan()
187 ? loader.getAndUpdateActivityIcon(taskKey, t.taskDescription, res, false) in preloadPlan()
189 Bitmap thumbnail = loader.getAndUpdateThumbnail(taskKey, false /* loadIfNotCached */); in preloadPlan()
190 int activityColor = loader.getActivityPrimaryColor(t.taskDescription); in preloadPlan()
191 int backgroundColor = loader.getActivityBackgroundColor(t.taskDescription); in preloadPlan()
218 public synchronized void executePlan(Options opts, RecentsTaskLoader loader, in executePlan() argument
241 task.icon = loader.getAndUpdateActivityIcon(taskKey, task.taskDescription, res, in executePlan()
[all …]
/frameworks/base/core/java/android/view/
DAbsSavedState.java66 protected AbsSavedState(Parcel source, ClassLoader loader) { in AbsSavedState() argument
67 Parcelable superState = source.readParcelable(loader); in AbsSavedState()
92 public AbsSavedState createFromParcel(Parcel in, ClassLoader loader) {
93 Parcelable superState = in.readParcelable(loader);
/frameworks/support/core-ui/java/android/support/v4/view/
DAbsSavedState.java67 protected AbsSavedState(Parcel source, ClassLoader loader) { in AbsSavedState() argument
68 Parcelable superState = source.readParcelable(loader); in AbsSavedState()
89 public AbsSavedState createFromParcel(Parcel in, ClassLoader loader) {
90 Parcelable superState = in.readParcelable(loader);
/frameworks/support/design/src/android/support/design/internal/
DParcelableSparseArray.java38 public ParcelableSparseArray(Parcel source, ClassLoader loader) { in ParcelableSparseArray() argument
43 Parcelable[] values = source.readParcelableArray(loader); in ParcelableSparseArray()
73 ClassLoader loader) {
74 return new ParcelableSparseArray(source, loader);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImpl.java112 RecentsTaskLoader loader = Recents.getTaskLoader(); in onTaskStackChanged() local
117 RecentsTaskLoadPlan plan = loader.createLoadPlan(mContext); in onTaskStackChanged()
118 loader.preloadTasks(plan, -1, false /* includeFrontMostExcludedTask */); in onTaskStackChanged()
130 loader.loadTasks(mContext, plan, launchOpts); in onTaskStackChanged()
192 RecentsTaskLoader loader = Recents.getTaskLoader(); in onBootCompleted() local
193 RecentsTaskLoadPlan plan = loader.createLoadPlan(mContext); in onBootCompleted()
194 loader.preloadTasks(plan, -1, false /* includeFrontMostExcludedTask */); in onBootCompleted()
196 launchOpts.numVisibleTasks = loader.getIconCacheSize(); in onBootCompleted()
197 launchOpts.numVisibleTaskThumbnails = loader.getThumbnailCacheSize(); in onBootCompleted()
199 loader.loadTasks(mContext, plan, launchOpts); in onBootCompleted()
[all …]
DRecentsActivity.java388 RecentsTaskLoader loader = Recents.getTaskLoader(); in reloadStackView() local
391 loadPlan = loader.createLoadPlan(this); in reloadStackView()
398 loader.preloadTasks(loadPlan, launchState.launchedToTaskId, in reloadStackView()
406 loader.loadTasks(this, loadPlan, loadOpts); in reloadStackView()
495 RecentsTaskLoader loader = Recents.getTaskLoader(); in onMultiWindowModeChanged() local
496 RecentsTaskLoadPlan loadPlan = loader.createLoadPlan(this); in onMultiWindowModeChanged()
497 loader.preloadTasks(loadPlan, -1 /* runningTaskId */, in onMultiWindowModeChanged()
503 loader.loadTasks(this, loadPlan, loadOpts); in onMultiWindowModeChanged()
566 RecentsTaskLoader loader = Recents.getTaskLoader(); in onTrimMemory() local
567 if (loader != null) { in onTrimMemory()
[all …]
/frameworks/base/core/java/android/content/pm/
DParceledListSlice.java63 private ParceledListSlice(Parcel p, ClassLoader loader) { in ParceledListSlice() argument
71 Parcelable.Creator<?> creator = p.readParcelableCreator(loader); in ParceledListSlice()
80 final T parcelable = p.readCreator(creator, loader); in ParceledListSlice()
108 final T parcelable = reply.readCreator(creator, loader); in ParceledListSlice()
209 public ParceledListSlice createFromParcel(Parcel in, ClassLoader loader) {
210 return new ParceledListSlice(in, loader);
/frameworks/base/test-runner/src/android/test/
DLoaderTestCase.java55 public <T> T getLoaderResultSynchronously(final Loader<T> loader) { in getLoaderResultSynchronously() argument
80 loader.registerListener(0, listener); in getLoaderResultSynchronously()
81 loader.startLoading(); in getLoaderResultSynchronously()
/frameworks/base/core/java/android/app/
DApplicationLoaders.java51 ClassLoader loader = mLoaders.get(zip); in getClassLoader() local
52 if (loader != null) { in getClassLoader()
53 return loader; in getClassLoader()
DLoaderManager.java111 public void onLoadFinished(Loader<D> loader, D data); in onLoadFinished() argument
120 public void onLoaderReset(Loader<D> loader); in onLoaderReset() argument
394 public void onLoadCanceled(Loader<Object> loader) { in onLoadCanceled() argument
423 public void onLoadComplete(Loader<Object> loader, Object data) { in onLoadComplete() argument
457 callOnLoadFinished(loader, data); in onLoadComplete()
479 void callOnLoadFinished(Loader<Object> loader, Object data) { in callOnLoadFinished() argument
487 if (DEBUG) Log.v(TAG, " onLoadFinished in " + loader + ": " in callOnLoadFinished()
488 + loader.dataToString(data)); in callOnLoadFinished()
489 mCallbacks.onLoadFinished(loader, data); in callOnLoadFinished()
556 Loader<Object> loader = callback.onCreateLoader(id, args); in createLoader() local
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrinterRegistry.java114 Loader<?> loader = mActivity.getLoaderManager().getLoader(mLoaderId); in getPrinterProvider() local
115 return (FusedPrintersProvider) loader; in getPrinterProvider()
121 public void onLoaderReset(Loader<List<PrinterInfo>> loader) {
132 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) {
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java340 public void onLoadFinished(Loader<BitmapResult> loader, BitmapResult result) { in onLoadFinished() argument
350 final int id = loader.getId(); in onLoadFinished()
438 public void onLoaderReset(Loader<BitmapResult> loader) { in onLoaderReset() argument
543 … final PhotoBitmapLoaderInterface loader = (PhotoBitmapLoaderInterface) fakePhotoLoader; in onCursorChanged() local
545 loader.setPhotoUri(mResolvedPhotoUri); in onCursorChanged()
546 loader.forceLoad(); in onCursorChanged()
553 … final PhotoBitmapLoaderInterface loader = (PhotoBitmapLoaderInterface) fakeThumbnailLoader; in onCursorChanged() local
555 loader.setPhotoUri(mThumbnailUri); in onCursorChanged()
556 loader.forceLoad(); in onCursorChanged()
/frameworks/base/telephony/java/android/telephony/
DCarrierConfigManager.java1289 ICarrierConfigLoader loader = getICarrierConfigLoader(); in getConfigForSubId() local
1290 if (loader == null) { in getConfigForSubId()
1295 return loader.getConfigForSubId(subId); in getConfigForSubId()
1333 ICarrierConfigLoader loader = getICarrierConfigLoader(); in notifyConfigChangedForSubId() local
1334 if (loader == null) { in notifyConfigChangedForSubId()
1339 loader.notifyConfigChangedForSubId(subId); in notifyConfigChangedForSubId()
1357 ICarrierConfigLoader loader = getICarrierConfigLoader(); in updateConfigForPhoneId() local
1358 if (loader == null) { in updateConfigForPhoneId()
1363 loader.updateConfigForPhoneId(phoneId, simState); in updateConfigForPhoneId()
/frameworks/support/fragment/java/android/support/v4/app/
DLoaderManager.java92 public void onLoadFinished(Loader<D> loader, D data); in onLoadFinished() argument
101 public void onLoaderReset(Loader<D> loader); in onLoaderReset() argument
381 public void onLoadCanceled(Loader<Object> loader) { in onLoadCanceled() argument
410 public void onLoadComplete(Loader<Object> loader, Object data) { in onLoadComplete() argument
444 callOnLoadFinished(loader, data); in onLoadComplete()
466 void callOnLoadFinished(Loader<Object> loader, Object data) { in callOnLoadFinished() argument
474 if (DEBUG) Log.v(TAG, " onLoadFinished in " + loader + ": " in callOnLoadFinished()
475 + loader.dataToString(data)); in callOnLoadFinished()
476 mCallbacks.onLoadFinished(loader, data); in callOnLoadFinished()
539 Loader<Object> loader = callback.onCreateLoader(id, args); in createLoader() local
[all …]
/frameworks/base/core/jni/android/graphics/pdf/
DPdfRenderer.cpp77 FPDF_FILEACCESS loader; in nativeCreate() local
78 loader.m_FileLen = size; in nativeCreate()
79 loader.m_Param = reinterpret_cast<void*>(intptr_t(fd)); in nativeCreate()
80 loader.m_GetBlock = &getBlock; in nativeCreate()
82 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); in nativeCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
DRecentsTvActivity.java184 RecentsTaskLoader loader = Recents.getTaskLoader(); in updateRecentsTasks() local
187 plan = loader.createLoadPlan(this); in updateRecentsTasks()
193 loader.preloadTasks(plan, -1, !launchState.launchedFromHome); in updateRecentsTasks()
203 loader.loadTasks(this, plan, loadOpts); in updateRecentsTasks()
471 RecentsTaskLoader loader = Recents.getTaskLoader(); in onTrimMemory() local
472 if (loader != null) { in onTrimMemory()
473 loader.onTrimMemory(level); in onTrimMemory()
539 RecentsTaskLoader loader = Recents.getTaskLoader(); in onBusEvent() local
540 loader.deleteTaskData(event.task, false); in onBusEvent()
/frameworks/support/compat/honeycomb_mr2/android/support/v4/os/
DParcelableCompatHoneycombMR2.java39 public T createFromParcel(Parcel in, ClassLoader loader) { in createFromParcel() argument
40 return mCallbacks.createFromParcel(in, loader); in createFromParcel()
/frameworks/webview/chromium/
DAndroid.mk64 loader/loader.cpp \

12345