Home
last modified time | relevance | path

Searched refs:DocumentItemDetails (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DKeyInputHandlerTest.java73 extends KeyInputHandler.Callbacks<DocumentItemDetails> {
75 private @Nullable DocumentItemDetails mActivated;
78 public boolean isInteractiveItem(DocumentItemDetails item, KeyEvent e) { in isInteractiveItem()
83 public boolean onItemActivated(DocumentItemDetails item, KeyEvent e) { in onItemActivated()
88 private void assertActivated(DocumentItemDetails expected) { in assertActivated()
93 public boolean onFocusItem(DocumentItemDetails details, int keyCode, KeyEvent event) { in onFocusItem()
DDocumentHolderTest.java102 private class TestListener extends KeyboardEventListener<DocumentItemDetails> {
104 public boolean onKey(DocumentItemDetails item, int keyCode, KeyEvent event) { in onKey()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentHolder.java55 private KeyboardEventListener<DocumentItemDetails> mKeyEventListener;
57 private final DocumentItemDetails mDetails;
69 mDetails = new DocumentItemDetails(this); in DocumentHolder()
115 DocumentItemDetails details = getItemDetails(); in onKey()
129 public void addKeyEventListener(KeyboardEventListener<DocumentItemDetails> listener) { in addKeyEventListener()
146 public DocumentItemDetails getItemDetails() { in getItemDetails()
DKeyInputHandler.java34 public final class KeyInputHandler extends KeyboardEventListener<DocumentItemDetails> {
38 private final Callbacks<DocumentItemDetails> mCallbacks;
43 Callbacks<DocumentItemDetails> callbacks) { in KeyInputHandler()
51 public boolean onKey(@Nullable DocumentItemDetails details, int keyCode, KeyEvent event) { in onKey()
98 private boolean shouldExtendSelection(DocumentItemDetails item, KeyEvent event) { in shouldExtendSelection()
DInputHandlers.java64 KeyInputHandler.Callbacks<DocumentItemDetails> callbacks = in createKeyHandler()
65 new KeyInputHandler.Callbacks<DocumentItemDetails>() { in createKeyHandler()
67 public boolean isInteractiveItem(DocumentItemDetails item, KeyEvent e) { in createKeyHandler()
83 public boolean onItemActivated(DocumentItemDetails item, KeyEvent e) { in createKeyHandler()
104 public boolean onFocusItem(DocumentItemDetails details, int keyCode, KeyEvent event) { in createKeyHandler()
DDocumentItemDetails.java26 public final class DocumentItemDetails extends ItemDetails<String> { class
29 DocumentItemDetails(DocumentHolder holder) { in DocumentItemDetails() method in DocumentItemDetails
DMessageHolder.java36 public DocumentItemDetails getItemDetails() { in getItemDetails()
DDocsItemDetailsLookup.java39 public DocumentItemDetails getItemDetails(MotionEvent e) { in getItemDetails()
DDirectoryFragment.java679 if (((DocumentItemDetails) item).inPreviewIconHotspot(e)) { in onItemActivated()