Home
last modified time | relevance | path

Searched refs:DocumentsAdapter (Results 1 – 12 of 12) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DInputHandlers.java69 case DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE: in createKeyHandler()
70 case DocumentsAdapter.ITEM_TYPE_INFLATED_MESSAGE: in createKeyHandler()
71 case DocumentsAdapter.ITEM_TYPE_SECTION_BREAK: in createKeyHandler()
73 case DocumentsAdapter.ITEM_TYPE_DOCUMENT: in createKeyHandler()
74 case DocumentsAdapter.ITEM_TYPE_DIRECTORY: in createKeyHandler()
DKeyInputHandler.java66 if (itemType == DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE in onKey()
67 || itemType == DocumentsAdapter.ITEM_TYPE_INFLATED_MESSAGE in onKey()
68 || itemType == DocumentsAdapter.ITEM_TYPE_SECTION_BREAK) { in onKey()
DDocsStableIdProvider.java28 private final DocumentsAdapter mAdapter;
30 public DocsStableIdProvider(DocumentsAdapter adapter) { in DocsStableIdProvider()
DDirectoryAddonsAdapter.java37 final class DirectoryAddonsAdapter extends DocumentsAdapter {
42 private final DocumentsAdapter mDelegate;
51 DirectoryAddonsAdapter(Environment environment, DocumentsAdapter delegate) { in DirectoryAddonsAdapter()
DDocumentsAdapter.java44 public abstract class DocumentsAdapter extends RecyclerView.Adapter<DocumentHolder> { class
DDirectoryFragment.java136 private final DocumentsAdapter.Environment mAdapterEnv = new AdapterEnvironment();
165 private DocumentsAdapter mAdapter;
1211 private final class AdapterEnvironment implements DocumentsAdapter.Environment {
DMessage.java30 import com.android.documentsui.dirlist.DocumentsAdapter.Environment;
DModelBackedDocumentsAdapter.java45 final class ModelBackedDocumentsAdapter extends DocumentsAdapter {
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDirectoryAddonsAdapterTest.java54 DocumentsAdapter.Environment env = new TestEnvironment(testContext); in setUp()
112 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE); in testAddsInfoMessage_WithDirectoryChildren()
118 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_INFLATED_MESSAGE); in testItemCount_none()
128 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE); in testAddsInfoMessage_WithNoItem()
138 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE); in testAddsErrorMessage_WithNoItem()
145 private final class TestEnvironment implements DocumentsAdapter.Environment {
DModelBackedDocumentsAdapterTest.java48 DocumentsAdapter.Environment env = new TestEnvironment(testContext); in setUp()
60 private final class TestEnvironment implements DocumentsAdapter.Environment {
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java53 import com.android.documentsui.dirlist.DocumentsAdapter;
671 mScope.adapter = (DocumentsAdapter) view.getAdapter(); in reset()
683 private @Nullable DocumentsAdapter adapter;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java36 public class TestDocumentsAdapter extends DocumentsAdapter {