Searched refs:DocumentsAdapter (Results 1 – 15 of 15) sorted by relevance
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/ |
D | DirectoryAddonsAdapterTest.java | 53 DocumentsAdapter.Environment env = new TestEnvironment(testContext, mEnv, mActionHandler); in setUp() 113 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE); in testAddsInfoMessage_WithDirectoryChildren() 119 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_INFLATED_MESSAGE); in testItemCount_none() 129 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE); in testAddsInfoMessage_WithNoItem() 139 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE); in testAddsErrorMessage_WithNoItem() 155 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_HEADER_MESSAGE); in testOpenTreeMessage_shouldBlockChild() 166 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_INFLATED_MESSAGE); in testOpenTreeMessage_normalChild() 182 assertHolderType(0, DocumentsAdapter.ITEM_TYPE_INFLATED_MESSAGE); in testOpenTreeMessage_restrictStorageAccessFalse_blockTreeChild()
|
D | ModelBackedDocumentsAdapterTest.java | 46 DocumentsAdapter.Environment env = new TestEnvironment(testContext, mEnv, mActionHandler); in setUp()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | InputHandlers.java | 69 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()
|
D | KeyInputHandler.java | 66 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()
|
D | DocsStableIdProvider.java | 28 private final DocumentsAdapter mAdapter; 30 public DocsStableIdProvider(DocumentsAdapter adapter) { in DocsStableIdProvider()
|
D | DirectoryAddonsAdapter.java | 37 final class DirectoryAddonsAdapter extends DocumentsAdapter { 42 private final DocumentsAdapter mDelegate; 51 DirectoryAddonsAdapter(Environment environment, DocumentsAdapter delegate) { in DirectoryAddonsAdapter()
|
D | DocumentsAdapter.java | 45 public abstract class DocumentsAdapter extends RecyclerView.Adapter<DocumentHolder> { class
|
D | ModelBackedDocumentsAdapter.java | 45 final class ModelBackedDocumentsAdapter extends DocumentsAdapter {
|
D | DirectoryFragment.java | 153 private final DocumentsAdapter.Environment mAdapterEnv = new AdapterEnvironment(); 187 private DocumentsAdapter mAdapter; 1437 private final class AdapterEnvironment implements DocumentsAdapter.Environment {
|
D | Message.java | 37 import com.android.documentsui.dirlist.DocumentsAdapter.Environment;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 53 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/ |
D | TestEnvironment.java | 28 public final class TestEnvironment implements DocumentsAdapter.Environment {
|
D | TestDocumentsAdapter.java | 36 public class TestDocumentsAdapter extends DocumentsAdapter {
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | InflateMessageDocumentHolderTest.java | 51 DocumentsAdapter.Environment env = in setUp()
|
D | MessageTest.java | 63 DocumentsAdapter.Environment env = in setUp()
|