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.java53 public final Lookup<String, String> fileTypeLookup; field in Injector
89 Lookup<String, String> fileTypeLookup, in Injector() argument
91 this(features, config, messages, dialogs, fileTypeLookup, in Injector()
101 Lookup<String, String> fileTypeLookup, in Injector() argument
109 this.fileTypeLookup = fileTypeLookup; in Injector()
DDirectoryLoader.java85 Lookup<String, String> fileTypeLookup, in DirectoryLoader() argument
96 mFileTypeLookup = fileTypeLookup; in DirectoryLoader()
DAbstractActionHandler.java882 mInjector.fileTypeLookup, in onCreateLoader()
894 mInjector.fileTypeLookup, in onCreateLoader()
938 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.java73 Lookup<String, String> fileTypeLookup) { in ListDocumentHolder() argument
91 mFileTypeLookup = fileTypeLookup; in ListDocumentHolder()
DDirectoryFragment.java451 new ModelBackedDocumentsAdapter(mAdapterEnv, mIconHelper, mInjector.fileTypeLookup) in onActivityCreated()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java42 Cursor cursor, SortDimension dimension, Lookup<String, String> fileTypeLookup) { in SortingCursorWrapper() argument
80 stringValues[i] = fileTypeLookup.lookup(mimeType); in SortingCursorWrapper()