Home
last modified time | relevance | path

Searched refs:OnCancelListener (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/os/
DCancellationSignal.java28 private OnCancelListener mOnCancelListener;
67 final OnCancelListener listener; in cancel()
113 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener()
199 public interface OnCancelListener { interface in CancellationSignal
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DTestableAlertDialog.kt42 private var _onCancelListener: DialogInterface.OnCancelListener? = null
93 override fun setOnCancelListener(listener: DialogInterface.OnCancelListener?) { in setOnCancelListener()
103 cancel: DialogInterface.OnCancelListener?, in takeCancelAndDismissListeners()
DFakeSystemUIDialogController.kt70 val captor = ArgumentCaptor.forClass(DialogInterface.OnCancelListener::class.java) in cancel()
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java23 import android.os.CancellationSignal.OnCancelListener;
109 mCancellationSignal.setOnCancelListener(new OnCancelListener() { in WriteFileAsyncTask()
/frameworks/base/core/java/android/app/
DSearchManager.java66 implements DialogInterface.OnDismissListener, DialogInterface.OnCancelListener {
551 /* package */ OnCancelListener mCancelListener = null;
804 public interface OnCancelListener { interface in SearchManager
831 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener()
DDialog.java236 @Nullable OnCancelListener cancelListener) { in Dialog()
1344 public void setOnCancelListener(@Nullable OnCancelListener listener) { in setOnCancelListener()
1420 @Nullable OnCancelListener cancel, @Nullable OnDismissListener dismiss) { in takeCancelAndDismissListeners()
1472 ((OnCancelListener) msg.obj).onCancel(mDialog.get()); in handleMessage()
DAlertDialog.java166 protected AlertDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in AlertDialog()
720 public Builder setOnCancelListener(OnCancelListener onCancelListener) { in setOnCancelListener()
DDialogFragment.java148 implements DialogInterface.OnCancelListener, DialogInterface.OnDismissListener {
DProgressDialog.java183 boolean cancelable, OnCancelListener cancelListener) { in show()
/frameworks/base/core/java/android/content/
DDialogInterface.java68 interface OnCancelListener { interface
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DTestableAlertDialogTest.kt148 val listener: DialogInterface.OnCancelListener = mock() in cancelListenerCalled_showing()
160 val listener: DialogInterface.OnCancelListener = mock() in cancelListenerCalled_notShowing()
193 val listener: DialogInterface.OnCancelListener = mock() in cancelListenerRemoved()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServiceRequestControllerTest.kt152 ArgumentCaptor.forClass(DialogInterface.OnCancelListener::class.java) in cancelListener_dismissResult()
166 ArgumentCaptor.forClass(DialogInterface.OnCancelListener::class.java) in dialogCancelled_logged()
282 ArgumentCaptor.forClass(DialogInterface.OnCancelListener::class.java) in interfaceThrowsRemoteException_doesntCrash()
338 ArgumentCaptor.forClass(DialogInterface.OnCancelListener::class.java) in cancelAndThenDismissSendsOnlyOnce()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DPanelConfirmationDialogFactoryTest.kt99 val captor: ArgumentCaptor<DialogInterface.OnCancelListener> = argumentCaptor() in testDialogCancel()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java36 import android.os.CancellationSignal.OnCancelListener;
374 signal.setOnCancelListener(new OnCancelListener() { in waitForCancelOrTimeout()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java400 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestDialog.kt51 ) : ComponentActivity(), DialogInterface.OnClickListener, DialogInterface.OnCancelListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsDialogManager.kt182 ) : DialogInterface.OnClickListener, DialogInterface.OnCancelListener {
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java131 private class CancelListener implements DialogInterface.OnCancelListener,
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java36 import android.os.CancellationSignal.OnCancelListener;
1117 private class OnEnrollCancelListener implements OnCancelListener {
1131 private class OnAuthenticationCancelListener implements OnCancelListener {
1145 private class OnFaceDetectionCancelListener implements OnCancelListener {
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java55 import android.os.CancellationSignal.OnCancelListener;
190 private class OnEnrollCancelListener implements OnCancelListener {
204 private class OnAuthenticationCancelListener implements OnCancelListener {
218 private class OnFingerprintDetectionCancelListener implements OnCancelListener {
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java382 ArgumentCaptor<AlertDialog.OnCancelListener> cancelListenerCaptor = in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog()
383 ArgumentCaptor.forClass(AlertDialog.OnCancelListener.class); in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java466 private class OnAuthenticationCancelListener implements CancellationSignal.OnCancelListener {
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java33 import android.content.DialogInterface.OnCancelListener;
2145 mBuilder.setOnCancelListener(new OnCancelListener() { in buildDialogue()
2239 mBuilder.setOnCancelListener(new OnCancelListener() { in buildAndShowColorDialogue()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java739 cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in waitForConnection()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java1048 public DialogInterface.OnCancelListener mOnCancelListener;

12