Home
last modified time | relevance | path

Searched refs:modelIds (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestRecyclerView.java58 public void setItems(List<String> modelIds) { in setItems() argument
60 for (String modelId: modelIds) { in setItems()
63 adapter.updateTestModelIds(modelIds); in setItems()
66 public static TestRecyclerView create(List<String> modelIds) { in create() argument
70 for (String modelId: modelIds) { in create()
73 view.adapter = new TestDocumentsAdapter(modelIds); in create()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java36 public TestDocumentsAdapter(List<String> modelIds) { in TestDocumentsAdapter() argument
37 mModelIds = modelIds; in TestDocumentsAdapter()
74 public void updateTestModelIds(List<String> modelIds) { in updateTestModelIds() argument
75 mModelIds = modelIds; in updateTestModelIds()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java141 String[] modelIds = model.getModelIds(); in onModelUpdate() local
142 mModelIds = new ArrayList<>(modelIds.length); in onModelUpdate()
143 for (String id : modelIds) { in onModelUpdate()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java218 String[] modelIds = mEnv.model.getModelIds(); in testLoadChildrenDocuments() local
219 assertEquals(TestEnv.FILE_APK, mEnv.model.getDocument(modelIds[0])); in testLoadChildrenDocuments()
220 assertEquals(TestEnv.FILE_GIF, mEnv.model.getDocument(modelIds[1])); in testLoadChildrenDocuments()