Home
last modified time | relevance | path

Searched refs:fileTypeLookup (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DInjector.java55 public final Lookup<String, String> fileTypeLookup; field in Injector
89 Lookup<String, String> fileTypeLookup, in Injector() argument
91 this(features, config, prefs, messages, dialogs, fileTypeLookup, in Injector()
102 Lookup<String, String> fileTypeLookup, in Injector() argument
111 this.fileTypeLookup = fileTypeLookup; in Injector()
DDirectoryLoader.java78 Lookup<String, String> fileTypeLookup, in DirectoryLoader() argument
88 mFileTypeLookup = fileTypeLookup; in DirectoryLoader()
DAbstractActionHandler.java592 mInjector.fileTypeLookup, in onCreateLoader()
603 mInjector.fileTypeLookup); in onCreateLoader()
636 mInjector.fileTypeLookup, in onCreateLoader()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java107 private TestFileTypeLookup fileTypeLookup; field in SortingCursorWrapperTest
114 fileTypeLookup = new TestFileTypeLookup(); in setUp()
420 final String type = fileTypeLookup.lookup(mime); in testSort_type_ascending()
452 final String type = fileTypeLookup.lookup(mime); in testSort_type_descending()
470 fileTypeLookup.fileTypes.put(MIMES[i], TYPES[i]); in populateTypeMap()
501 return new SortingCursorWrapper(c, sortModel.getDimensionById(id), fileTypeLookup); in createSortingCursorWrapper()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DDetailsView.java50 Lookup<String, String> fileTypeLookup = in accept() local
53 String mimeType = fileTypeLookup.lookup(doc.mimeType); in accept()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java63 Environment env, IconHelper iconHelper, Lookup<String, String> fileTypeLookup) { in ModelBackedDocumentsAdapter() argument
66 mFileTypeLookup = fileTypeLookup; in ModelBackedDocumentsAdapter()
DListDocumentHolder.java62 Lookup<String, String> fileTypeLookup) { in ListDocumentHolder() argument
78 mFileTypeLookup = fileTypeLookup; in ListDocumentHolder()
DDirectoryFragment.java298 new ModelBackedDocumentsAdapter(mAdapterEnv, mIconHelper, mInjector.fileTypeLookup) in onActivityCreated()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java41 Cursor cursor, SortDimension dimension, Lookup<String, String> fileTypeLookup) { in SortingCursorWrapper() argument
79 stringValues[i] = fileTypeLookup.lookup(mimeType); in SortingCursorWrapper()