Home
last modified time | relevance | path

Searched refs:ConfirmationCallback (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/
DTestDialogController.java20 import com.android.documentsui.base.ConfirmationCallback;
43 mNextConfirmationCode = ConfirmationCallback.CONFIRM; in TestDialogController()
47 public void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback) { in confirmDelete()
121 mNextConfirmationCode = ConfirmationCallback.CONFIRM; in confirmNext()
125 mNextConfirmationCode = ConfirmationCallback.REJECT; in rejectNext()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestConfirmationCallback.java19 import com.android.documentsui.base.ConfirmationCallback;
29 public class TestConfirmationCallback implements ConfirmationCallback {
41 Assert.assertEquals(ConfirmationCallback.CONFIRM, mLastValue); in assertConfirmed()
45 Assert.assertEquals(ConfirmationCallback.REJECT, mLastValue); in assertRejected()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DDialogController.java27 import com.android.documentsui.base.ConfirmationCallback;
45 void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback); in confirmDelete()
77 public void confirmDelete(List<DocumentInfo> docs, ConfirmationCallback callback) { in confirmDelete()
97 callback.accept(ConfirmationCallback.CONFIRM); in confirmDelete()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionModeController.java32 import com.android.documentsui.base.ConfirmationCallback;
33 import com.android.documentsui.base.ConfirmationCallback.Result;
199 if (code == ConfirmationCallback.CONFIRM) { in finishOnConfirmed()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java54 import com.android.documentsui.base.ConfirmationCallback;
313 ConfirmationCallback result = (@ConfirmationCallback.Result int code) -> { in deleteSelectedDocuments()
317 if (code != ConfirmationCallback.CONFIRM) { in deleteSelectedDocuments()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DConfirmationCallback.java28 public interface ConfirmationCallback { interface