Home
last modified time | relevance | path

Searched refs:getModelId (Results 1 – 15 of 15) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DSelectionManager.java291 attemptSelect(mAdapter.getModelId(pos)); in startRangeSelection()
308 assert(!mSelection.contains(mAdapter.getModelId(startPos))); in formNewSelectionRange()
372 if (mSelection.contains(mAdapter.getModelId(position))) { in setSelectionRangeBegin()
495 String id = mAdapter.getModelId(i); in updateForRegularRange()
517 String id = mAdapter.getModelId(i); in updateForProvisionalRange()
DBandController.java315 if (mSelection.contains(mAdapter.getModelId(firstSelected))) { in endBandSelect()
636 String id = mAdapter.getModelId(position); in updateSelection()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DUserInputHandler.java195 mSelectionMgr.toggleSelection(doc.getModelId()); in selectDocument()
211 && !mSelectionMgr.getSelection().contains(doc.getModelId()); in shouldClearSelection()
277 if (!mSelectionMgr.getSelection().contains(doc.getModelId())) { in onLongPress()
428 if (!mSelectionMgr.getSelection().contains(doc.getModelId())) { in onRightClick()
429 mSelectionMgr.replaceSelection(Collections.singleton(doc.getModelId())); in onRightClick()
DDirectoryFragment.java352 this::getModelId, in onActivityCreated()
447 final String modelId = getModelId(v); in onCreateContextMenu()
944 if (getModelId(view) != null) { in onViewHovered()
990 String id = getModelId(v); in getDestination()
1030 protected @Nullable String getModelId(View view) { in getModelId() method in DirectoryFragment
1035 return ((DocumentHolder) vh).getModelId(); in getModelId()
1051 return canSetSelectionState(doc.getModelId(), true); in canSelect()
DDirectoryAddonsAdapter.java246 public String getModelId(int p) {
259 return mDelegate.getModelId(toDelegatePosition(p));
DDocumentDetails.java26 String getModelId(); in getModelId() method
DDocumentsAdapter.java73 public abstract String getModelId(int position); in getModelId() method in DocumentsAdapter
DModelBackedDocumentsAdapter.java154 public String getModelId(int adapterPosition) { in getModelId() method in ModelBackedDocumentsAdapter
DDocumentHolder.java99 public String getModelId() { in getModelId() method in DocumentHolder
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DActionHandler.java250 DocumentInfo doc = mModel.getDocument(details.getModelId()); in openDocument()
253 "Can't view item. No Document available for modeId: " + details.getModelId()); in openDocument()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java207 return holder.getModelId(); in getFocusModelId()
554 String modelId = mScope.adapter.getModelId(i); in buildIndex()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java199 DocumentInfo doc = mModel.getDocument(details.getModelId()); in openDocument()
202 "Can't view item. No Document available for modeId: " + details.getModelId()); in openDocument()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java55 public String getModelId(int position) { in getModelId() method in TestDocumentsAdapter
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvent.java292 public String getModelId() { in getModelId() method in TestEvent.Details
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
DBandController_GridModelTest.java62 public String getModelId(int position) { in initData()