Home
last modified time | relevance | path

Searched refs:DocumentHolder (Results 1 – 23 of 23) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocsItemDetailsLookup.java40 @Nullable DocumentHolder holder = getDocumentHolder(e); in getItemDetails()
44 private @Nullable DocumentHolder getDocumentHolder(MotionEvent e) { in getDocumentHolder()
48 if (holder instanceof DocumentHolder) { in getDocumentHolder()
49 return (DocumentHolder) holder; in getDocumentHolder()
DModelBackedDocumentsAdapter.java86 public DocumentHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
87 DocumentHolder holder = null; in onCreateViewHolder()
117 public void onBindViewHolder(DocumentHolder holder, int position, List<Object> payload) { in onBindViewHolder()
127 public void onBindViewHolder(DocumentHolder holder, int position) { in onBindViewHolder()
DDirectoryAddonsAdapter.java97 public DocumentHolder onCreateViewHolder(ViewGroup parent, int viewType) {
98 DocumentHolder holder = null;
127 public void onBindViewHolder(DocumentHolder holder, int p, List<Object> payload) {
145 public void onBindViewHolder(DocumentHolder holder, int p) {
DDocumentsAdapter.java44 public abstract class DocumentsAdapter extends RecyclerView.Adapter<DocumentHolder> {
93 void initDocumentHolder(DocumentHolder holder); in initDocumentHolder()
94 void onBindDocumentHolder(DocumentHolder holder, Cursor cursor); in onBindDocumentHolder()
DDocumentHolder.java43 public abstract class DocumentHolder class
59 public DocumentHolder(Context context, ViewGroup parent, int layout) { in DocumentHolder() method in DocumentHolder
63 public DocumentHolder(Context context, View item) { in DocumentHolder() method in DocumentHolder
DDirectoryFragment.java771 DocumentHolder holder = getDocumentHolder(child); in onAccessibilityClick()
1016 if (vh instanceof DocumentHolder) { in getModelId()
1017 return ((DocumentHolder) vh).getModelId(); in getModelId()
1023 private @Nullable DocumentHolder getDocumentHolder(View v) { in getDocumentHolder()
1025 if (vh instanceof DocumentHolder) { in getDocumentHolder()
1026 return (DocumentHolder) vh; in getDocumentHolder()
1252 public void initDocumentHolder(DocumentHolder holder) { in initDocumentHolder()
1258 public void onBindDocumentHolder(DocumentHolder holder, Cursor cursor) { in onBindDocumentHolder()
DDocumentItemDetails.java27 private final DocumentHolder mDocumentHolder;
29 DocumentItemDetails(DocumentHolder holder) { in DocumentItemDetails()
DAccessibilityEventRouter.java66 if (holder instanceof DocumentHolder) { in AccessibilityEventRouter()
67 if (((DocumentHolder)holder).getItemDetails() != null) { in AccessibilityEventRouter()
DInputHandlers.java107 if (holder instanceof DocumentHolder) { in createKeyHandler()
108 return mFocusHandler.handleKey((DocumentHolder) holder, keyCode, event); in createKeyHandler()
DDragHost.java54 private final Lookup<View, DocumentHolder> mHolderLookup;
65 Lookup<View, DocumentHolder> holderLookup, in DragHost()
DMessageHolder.java26 abstract class MessageHolder extends DocumentHolder {
DFocusHandler.java37 boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event); in handleKey()
DGridDirectoryHolder.java36 final class GridDirectoryHolder extends DocumentHolder {
DGridPhotoHolder.java39 final class GridPhotoHolder extends DocumentHolder {
DGridDocumentHolder.java42 final class GridDocumentHolder extends DocumentHolder {
DListDocumentHolder.java43 final class ListDocumentHolder extends DocumentHolder {
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java52 import com.android.documentsui.dirlist.DocumentHolder;
115 public boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event) { in handleKey()
237 DocumentHolder holder = (DocumentHolder) mScope.view in getFocusModelId()
468 public boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event) { in handleKey()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDocumentHolderTest.java38 DocumentHolder mHolder;
45 mHolder = new DocumentHolder(getContext(), inflater.inflate(R.layout.item_doc_list, null)) { in setUp()
DModelBackedDocumentsAdapterTest.java86 public void initDocumentHolder(DocumentHolder holder) {} in initDocumentHolder()
114 public void onBindDocumentHolder(DocumentHolder holder, Cursor cursor) {} in onBindDocumentHolder()
DDirectoryAddonsAdapterTest.java171 public void initDocumentHolder(DocumentHolder holder) {} in initDocumentHolder()
199 public void onBindDocumentHolder(DocumentHolder holder, Cursor cursor) {} in onBindDocumentHolder()
DDragHostTest.java60 private DocumentHolder mNextDocumentHolder;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java108 public DocumentHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
113 public void onBindViewHolder(DocumentHolder holder, int position) { in onBindViewHolder()
DTestFocusHandler.java36 public boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event) { in handleKey()