Home
last modified time | relevance | path

Searched refs:DocumentsApplication (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java54 public class DocumentsApplication extends Application { class
86 return ((DocumentsApplication) context.getApplicationContext()).mProviders; in getProvidersCache()
90 final DocumentsApplication app = (DocumentsApplication) context.getApplicationContext(); in getThumbnailCache()
106 return ((DocumentsApplication) context.getApplicationContext()).mClipper; in getDocumentClipper()
110 return ((DocumentsApplication) context.getApplicationContext()).mClipStore; in getClipStore()
115 ((DocumentsApplication) context.getApplicationContext()).mUserIdManager; in getUserIdManager()
118 ((DocumentsApplication) context.getApplicationContext()).mUserIdManager = userIdManager; in getUserIdManager()
129 ((DocumentsApplication) context.getApplicationContext()).mUserManagerState; in getUserManagerState()
133 ((DocumentsApplication) context.getApplicationContext()).mUserManagerState = in getUserManagerState()
140 return ((DocumentsApplication) context.getApplicationContext()).mDragAndDropManager; in getDragAndDropManager()
[all …]
DDocumentsAccess.java106 try (ContentProviderClient client = DocumentsApplication.acquireUnstableProviderOrThrow( in getDocuments()
145 try (final ContentProviderClient client = DocumentsApplication in findDocumentPath()
154 try (ContentProviderClient client = DocumentsApplication.acquireUnstableProviderOrThrow( in createDocument()
DDirectoryLoader.java162 client = DocumentsApplication.acquireUnstableProviderOrThrow(resolver, authority); in loadInBackground()
225 DocumentsApplication.acquireUnstableProviderOrThrow( in queryOnUsers()
336 return DocumentsApplication.getUserManagerState(getContext()).getUserIds(); in getUserIds()
338 return DocumentsApplication.getUserIdManager(getContext()).getUserIds(); in getUserIds()
DBaseActivity.java161 mConfigStore = DocumentsApplication.getConfigStore(); in initConfigStore()
197 mProviders = DocumentsApplication.getProvidersCache(this); in onCreate()
306 mUserIdManager = DocumentsApplication.getUserIdManager(this); in onCreate()
307 mUserManagerState = DocumentsApplication.getUserManagerState(this); in onCreate()
387 profileTabsContainer, DocumentsApplication.getUserManagerState(this), in getNavigationViewManager()
391 profileTabsContainer, DocumentsApplication.getUserIdManager(this), in getNavigationViewManager()
458 DocumentsApplication.invalidateUserManagerState(this); in onDestroy()
968 DocumentsApplication.getDragAndDropManager(this).onKeyEvent(event); in dispatchKeyEvent()
DThumbnailLoader.java114 client = DocumentsApplication.acquireUnstableProviderOrThrow( in doInBackground()
119 final ThumbnailCache cache = DocumentsApplication.getThumbnailCache(context); in doInBackground()
DRefreshTask.java108 client = DocumentsApplication.acquireUnstableProviderOrThrow(resolver, authority); in run()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DBootReceiver.java23 import com.android.documentsui.DocumentsApplication;
34 DocumentsApplication.getProvidersCache(context).setBootCompletedResult(goAsync()); in onReceive()
DProvidersCache.java52 import com.android.documentsui.DocumentsApplication;
365 client = DocumentsApplication.acquireUnstableProviderOrThrow(resolver, authority);
709 if (DocumentsApplication.getConfigStore().isPrivateSpaceInDocsUIEnabled()
711 return DocumentsApplication.getUserManagerState(mContext).getUserIds();
713 return DocumentsApplication.getUserIdManager(mContext).getUserIds();
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java39 import com.android.documentsui.DocumentsApplication;
108 DocumentsApplication.getFileTypeLookup(this), in onCreate()
113 DocumentClipper clipper = DocumentsApplication.getDocumentClipper(this); in onCreate()
155 DocumentsApplication.getClipStore(this), in onCreate()
156 DocumentsApplication.getDragAndDropManager(this), in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java39 import com.android.documentsui.DocumentsApplication;
80 this(context, mode, maybeShowBadge, DocumentsApplication.getThumbnailCache(context), in IconHelper()
82 : DocumentsApplication.getUserIdManager(context).getManagedUser(), in IconHelper()
84 ? DocumentsApplication.getUserManagerState(context) : null, in IconHelper()
DGridDirectoryHolder.java39 import com.android.documentsui.DocumentsApplication;
107 Map<UserId, Drawable> userIdToBadgeMap = DocumentsApplication.getUserManagerState( in bindProfileIcon()
DDocumentHolder.java40 import com.android.documentsui.DocumentsApplication;
206 UserManagerState userManagerState = DocumentsApplication.getUserManagerState(mContext); in getPreviewIconContentDescription()
DGridPhotoHolder.java40 import com.android.documentsui.DocumentsApplication;
143 Map<UserId, Drawable> userIdToBadgeMap = DocumentsApplication.getUserManagerState( in bindProfileIcon()
DDirectoryFragment.java81 import com.android.documentsui.DocumentsApplication;
392 DocumentsApplication.acquireUnstableProviderOrThrow( in isProviderAvailable()
451 mClipper = DocumentsApplication.getDocumentClipper(getContext()); in onCreateView()
456 DocumentsApplication.getDragAndDropManager(mActivity), in onCreateView()
565 DocumentsApplication.getDragAndDropManager(mActivity)) in onActivityCreated()
666 DocumentsApplication.getUserManagerState(getContext()).getUserIdToLabelMap(), in getModelBackedDocumentsAdapter()
1109 ClipStore clipStorage = DocumentsApplication.getClipStore(getContext()); in transferDocuments()
1390 ThumbnailCache cache = DocumentsApplication.getThumbnailCache(getContext()); in onRefresh()
DGridDocumentHolder.java41 import com.android.documentsui.DocumentsApplication;
158 Map<UserId, Drawable> userIdToBadgeMap = DocumentsApplication.getUserManagerState( in bindProfileIcon()
DListDocumentHolder.java44 import com.android.documentsui.DocumentsApplication;
179 Map<UserId, Drawable> userIdToBadgeMap = DocumentsApplication.getUserManagerState( in bindProfileIcon()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DEjectRootTask.java29 import com.android.documentsui.DocumentsApplication;
61 client = DocumentsApplication.acquireUnstableProviderOrThrow( in doInBackground()
DRootsFragment.java62 import com.android.documentsui.DocumentsApplication;
221 final ProvidersCache providers = DocumentsApplication.getProvidersCache(activity); in onActivityCreated()
229 DocumentsApplication.getDragAndDropManager(activity), in onActivityCreated()
277 userManagerState = DocumentsApplication.getUserManagerState(getContext()); in onActivityCreated()
293 userManagerState = DocumentsApplication.getUserManagerState(getContext()); in onActivityCreated()
302 DocumentsApplication.getProvidersCache(getContext()), in onActivityCreated()
343 return DocumentsApplication.getUserManagerState(getContext()).getUserIds(); in onActivityCreated()
345 return DocumentsApplication.getUserIdManager(getContext()).getUserIds(); in onActivityCreated()
640 DocumentsApplication.getProvidersCache(context).updateAuthorityAsync( in onResume()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DDetailsView.java22 import com.android.documentsui.DocumentsApplication;
51 DocumentsApplication.getFileTypeLookup(getContext()); in accept()
DInspectorController.java35 import com.android.documentsui.DocumentsApplication;
127 DocumentsApplication.getProvidersCache (activity), in InspectorController()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DCommandInterceptor.java25 import com.android.documentsui.DocumentsApplication;
187 DocumentsApplication.getProvidersCache(mContext).logCache(); in accept()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DUrisSupplier.java33 import com.android.documentsui.DocumentsApplication;
60 return getUris(DocumentsApplication.getClipStore(context)); in getUris()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DCreatePickedDocumentTask.java29 import com.android.documentsui.DocumentsApplication;
DPickActivity.java45 import com.android.documentsui.DocumentsApplication;
109 DocumentsApplication.getFileTypeLookup(this), in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java35 import com.android.documentsui.DocumentsApplication;
213 client = DocumentsApplication.acquireUnstableProviderOrThrow( in updateFromUri()

12