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.java79 public void setItems(List<String> modelIds) { in setItems() argument
81 for (String modelId: modelIds) { in setItems()
84 adapter.updateTestModelIds(modelIds); in setItems()
87 public static TestRecyclerView create(List<String> modelIds) { in create() argument
91 for (String modelId: modelIds) { in create()
94 view.adapter = new TestDocumentsAdapter(modelIds); in create()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java43 public TestDocumentsAdapter(List<String> modelIds) { in TestDocumentsAdapter() argument
44 mModelIds = modelIds; in TestDocumentsAdapter()
127 public void updateTestModelIds(List<String> modelIds) { in updateTestModelIds() argument
128 mModelIds = modelIds; in updateTestModelIds()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java156 String[] modelIds = model.getModelIds(); in onModelUpdate() local
157 mModelIds = new ArrayList<>(modelIds.length); in onModelUpdate()
158 for (String id : modelIds) { in onModelUpdate()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java269 String[] modelIds = mEnv.model.getModelIds(); in testLoadChildrenDocuments() local
270 assertEquals(TestEnv.FILE_APK, mEnv.model.getDocument(modelIds[0])); in testLoadChildrenDocuments()
271 assertEquals(TestEnv.FILE_GIF, mEnv.model.getDocument(modelIds[1])); in testLoadChildrenDocuments()