Home
last modified time | relevance | path

Searched refs:Loader (Results 1 – 25 of 129) sorted by relevance

123456

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java74 private final Map<Key, Loader> mArchives = new HashMap<Key, Loader>();
107 final Loader loader = getLoaderOrThrow(documentId); in queryChildDocuments()
110 if (status == Loader.STATUS_OPENED) { in queryChildDocuments()
119 case Loader.STATUS_OPENING: in queryChildDocuments()
123 case Loader.STATUS_FAILED: in queryChildDocuments()
145 final Loader loader = getLoaderOrThrow(documentId); in getDocumentType()
151 final Loader loader = getLoaderOrThrow(documentId); in isChildDocument()
182 final Loader loader = getLoaderOrThrow(documentId); in queryDocument()
190 final Loader loader = getLoaderOrThrow(parentDocumentId); in createDocument()
198 final Loader loader = getLoaderOrThrow(documentId); in openDocument()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DTestLoaderManager.java21 import android.content.Loader;
81 List<Loader<?>> loaders = new ArrayList<Loader<?>>(loaderIds.length); in waitForLoaders()
98 waitForLoaders(loaders.toArray(new Loader<?>[0])); in waitForLoaders()
104 public static void waitForLoaders(Loader<?>... loaders) { in waitForLoaders()
135 public <D> Loader<D> initLoader(final int id, Bundle args, final LoaderCallbacks<D> callback) { in initLoader()
138 public Loader<D> onCreateLoader(int id, Bundle args) { in initLoader()
143 public void onLoadFinished(Loader<D> loader, D data) { in initLoader()
151 public void onLoaderReset(Loader<D> loader) { in initLoader()
158 public <D> Loader<D> restartLoader(int id, Bundle args, LoaderCallbacks<D> callback) {
168 public <D> Loader<D> getLoader(int id) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationData.java21 import android.content.Loader;
184 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
186 Loader<Cursor> loader = null; in onCreateLoader()
203 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) { in onLoadFinished()
230 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
250 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
252 Loader<Cursor> loader = null; in onCreateLoader()
271 public void onLoadFinished(final Loader<Cursor> generic, final Cursor rawData) { in onLoadFinished()
319 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
353 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
[all …]
DConversationListData.java21 import android.content.Loader;
84 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
86 Loader<Cursor> loader = null; in onCreateLoader()
118 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) { in onLoadFinished()
147 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
DSettingsData.java21 import android.content.Loader;
131 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
133 Loader<Cursor> loader = null; in onCreateLoader()
151 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) { in onLoadFinished()
164 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
DBlockedParticipantsData.java21 import android.content.Loader;
54 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
68 public void onLoadFinished(final Loader<Cursor> loader, final Cursor cursor) { in onLoadFinished()
76 public void onLoaderReset(final Loader<Cursor> loader) { in onLoaderReset()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestLoaderManager.java21 import android.content.Loader;
22 import android.content.Loader.OnLoadCompleteListener;
36 private final SparseArray<Loader> mLoaders = new SparseArray<>();
40 public <D> Loader<D> initLoader(int id, Bundle args, in initLoader()
42 Loader<D> loader = mLoaders.get(id); in initLoader()
58 public <D> Loader<D> restartLoader(int id, Bundle args, in restartLoader()
69 Loader loader = getLoader(id); in destroyLoader()
78 public <D> Loader<D> getLoader(int id) { in getLoader()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCreationFragment.java26 import android.content.Loader;
166 public Loader<Boolean> onCreateLoader(int id, Bundle args) { in onCreateLoader()
220 public void onLoadFinished(Loader<Boolean> loader, Boolean success) { in onLoadFinished()
244 public void onLoaderReset(Loader<Boolean> loader) {} in onLoaderReset()
250 public Loader<Account> onCreateLoader(int id, Bundle args) {
265 public void onLoadFinished(Loader<Account> loader, Account account) {
284 public void onLoaderReset(Loader<Account> loader) {}
290 public Loader<Account> onCreateLoader(int id, Bundle args) {
311 public void onLoadFinished(final Loader<Account> loader, final Account account) {
339 public void onLoaderReset(Loader<Account> loader) {}
DMailboxSettings.java26 import android.content.Loader;
197 public Loader<Cursor> onCreateLoader(int i, Bundle bundle) { in onCreateLoader()
203 public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) { in onLoadFinished()
221 public void onLoaderReset(Loader<Cursor> cursorLoader) { in onLoaderReset()
364 public Loader<Map<String, Object>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
370 public void onLoadFinished(Loader<Map<String, Object>> loader, in onLoadFinished()
391 public void onLoaderReset(Loader<Map<String, Object>> loader) {} in onLoaderReset()
DAccountServerBaseFragment.java22 import android.content.Loader;
264 public Loader<Boolean> onCreateLoader(int id, Bundle args) { in saveSettings()
269 public void onLoadFinished(Loader<Boolean> loader, Boolean data) { in saveSettings()
282 public void onLoaderReset(Loader<Boolean> loader) {} in saveSettings()
286 public abstract Loader<Boolean> getSaveSettingsLoader(); in getSaveSettingsLoader()
DAccountFinalizeFragment.java23 import android.content.Loader;
72 public Loader<Boolean> onCreateLoader(int id, Bundle args) { in onResume()
78 public void onLoadFinished(Loader<Boolean> loader, Boolean success) { in onResume()
95 public void onLoaderReset(Loader<Boolean> loader) {} in onResume()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageDashboardFragment.java23 import android.content.Loader;
232 public Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> onCreateLoader(int id, in onCreateLoader()
243 public void onLoadFinished(Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader, in onLoadFinished()
250 public void onLoaderReset(Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader) { in onLoaderReset()
260 public Loader<SparseArray<Drawable>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
268 Loader<SparseArray<Drawable>> loader, SparseArray<Drawable> data) { in onLoadFinished()
279 public void onLoaderReset(Loader<SparseArray<Drawable>> loader) {} in onLoaderReset()
285 public Loader<PrivateStorageInfo> onCreateLoader(int id, Bundle args) { in onCreateLoader()
294 public void onLoaderReset(Loader<PrivateStorageInfo> loader) {} in onLoaderReset()
298 Loader<PrivateStorageInfo> loader, PrivateStorageInfo privateStorageInfo) { in onLoadFinished()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DEmlMessageViewFragment.java24 import android.content.Loader;
291 public Loader<ConversationMessage> onCreateLoader(int id, Bundle args) { in onCreateLoader()
301 public void onLoadFinished(Loader<ConversationMessage> loader, ConversationMessage data) { in onLoadFinished()
316 public void onLoaderReset(Loader<ConversationMessage> loader) { in onLoaderReset()
323 public Loader<Cursor> onCreateLoader(int id, Bundle args) { in onCreateLoader()
335 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { in onLoadFinished()
345 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java23 import android.content.Loader;
377 public Loader<ChartData> onCreateLoader(int id, Bundle args) {
382 public void onLoadFinished(Loader<ChartData> loader, ChartData data) {
389 public void onLoaderReset(Loader<ChartData> loader) {
396 public Loader<ArraySet<Preference>> onCreateLoader(int i, Bundle bundle) {
401 public void onLoadFinished(Loader<ArraySet<Preference>> loader,
411 public void onLoaderReset(Loader<ArraySet<Preference>> loader) {
DDataUsageList.java20 import android.content.Loader;
520 public Loader<ChartData> onCreateLoader(int id, Bundle args) {
525 public void onLoadFinished(Loader<ChartData> loader, ChartData data) {
535 public void onLoaderReset(Loader<ChartData> loader) {
544 public Loader<NetworkStats> onCreateLoader(int id, Bundle args) {
549 public void onLoadFinished(Loader<NetworkStats> loader, NetworkStats data) {
557 public void onLoaderReset(Loader<NetworkStats> loader) {
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerFragment.java23 import android.content.Loader;
93 public Loader<List<ContactListFilter>> onCreateLoader(int id, Bundle args) {
99 Loader<List<ContactListFilter>> loader, List<ContactListFilter> data) {
109 public void onLoaderReset(Loader<List<ContactListFilter>> loader) {
121 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
135 public void onLoaderReset(Loader<Cursor> loader) {
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAccountLoadCallbacks.java7 import android.content.Loader;
38 public Loader<ObjectCursor<Account>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
45 public void onLoadFinished(Loader<ObjectCursor<Account>> loader, in onLoadFinished()
51 public void onLoaderReset(Loader<ObjectCursor<Account>> loader) { in onLoaderReset()
DContactLoaderCallbacks.java22 import android.content.Loader;
56 public Loader<ImmutableMap<String, ContactInfo>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
61 public void onLoadFinished(Loader<ImmutableMap<String, ContactInfo>> loader, in onLoadFinished()
68 public void onLoaderReset(Loader<ImmutableMap<String, ContactInfo>> loader) { in onLoaderReset()
DNestedFolderTeaserView.java22 import android.content.Loader;
425 public void onLoaderReset(final Loader<ObjectCursor<Folder>> loader) {
430 public void onLoadFinished(final Loader<ObjectCursor<Folder>> loader,
516 public Loader<ObjectCursor<Folder>> onCreateLoader(final int id, final Bundle args) {
568 public void onLoaderReset(final Loader<ObjectCursor<Conversation>> loader) {
573 public void onLoadFinished(final Loader<ObjectCursor<Conversation>> loader,
643 public Loader<ObjectCursor<Conversation>> onCreateLoader(final int id, final Bundle args) {
/packages/apps/Settings/src/com/android/settings/search2/
DSavedQueryController.java21 import android.content.Loader;
52 public Loader onCreateLoader(int id, Bundle args) { in onCreateLoader()
65 public void onLoadFinished(Loader loader, Object data) { in onLoadFinished()
77 public void onLoaderReset(Loader loader) { in onLoaderReset()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/
DMailAsyncTaskLoaderTest.java6 import android.content.Loader;
29 public Loader<Object> onCreateLoader(int id, Bundle args) { in runLoaderTest()
45 public void onLoadFinished(Loader<Object> loader, Object data) { in runLoaderTest()
51 public void onLoaderReset(Loader<Object> loader) {} in runLoaderTest()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageBase.java21 import android.content.Loader;
109 public Loader<BatteryStatsHelper> onCreateLoader(int id, in onCreateLoader()
115 public void onLoadFinished(Loader<BatteryStatsHelper> loader, in onLoadFinished()
122 public void onLoaderReset(Loader<BatteryStatsHelper> loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java25 import android.content.Loader;
318 public Loader<List<PrintServiceInfo>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
325 public void onLoadFinished(Loader<List<PrintServiceInfo>> loader, in onLoadFinished()
388 public void onLoaderReset(Loader<List<PrintServiceInfo>> loader) { in onLoaderReset()
610 public Loader<List<PrinterInfo>> onCreateLoader(int id, Bundle args) {
618 public void onLoadFinished(Loader<List<PrinterInfo>> loader,
639 public void onLoaderReset(Loader<List<PrinterInfo>> loader) {
649 private static class PrintersLoader extends Loader<List<PrinterInfo>> {
DPrintSettingsFragment.java25 import android.content.Loader;
170 public Loader<List<PrintServiceInfo>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
182 public void onLoadFinished(Loader<List<PrintServiceInfo>> loader, in onLoadFinished()
237 public void onLoaderReset(Loader<List<PrintServiceInfo>> loader) { in onLoaderReset()
296 public Loader<List<PrintJobInfo>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
304 public void onLoadFinished(Loader<List<PrintJobInfo>> loader, in onLoadFinished()
386 public void onLoaderReset(Loader<List<PrintJobInfo>> loader) { in onLoaderReset()
/packages/apps/Dialer/java/com/android/dialer/about/
DLicenseMenuActivity.java22 import android.support.v4.content.Loader;
85 public Loader<List<License>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
90 public void onLoadFinished(Loader<List<License>> loader, List<License> licenses) { in onLoadFinished()
97 public void onLoaderReset(Loader<List<License>> loader) { in onLoaderReset()

123456