Home
last modified time | relevance | path

Searched refs:setOnCancelListener (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/media/java/android/mtp/
DMtpDevice.java400 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
412 signal.setOnCancelListener(null); in readEvent()
/frameworks/base/core/java/android/os/
DCancellationSignal.java113 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in CancellationSignal
/frameworks/base/core/java/android/app/
DAlertDialog.java170 setOnCancelListener(cancelListener); in AlertDialog()
720 public Builder setOnCancelListener(OnCancelListener onCancelListener) { in setOnCancelListener() method in AlertDialog.Builder
1111 dialog.setOnCancelListener(P.mOnCancelListener); in create()
DSearchManager.java643 mSearchDialog.setOnCancelListener(this); in ensureSearchDialog()
831 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in SearchManager
DDialog.java232 setOnCancelListener(cancelListener); in Dialog()
1298 public void setOnCancelListener(@Nullable OnCancelListener listener) { in setOnCancelListener() method in Dialog
1366 setOnCancelListener(cancel); in takeCancelAndDismissListeners()
DProgressDialog.java189 dialog.setOnCancelListener(cancelListener); in show()
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java109 mCancellationSignal.setOnCancelListener(new OnCancelListener() { in WriteFileAsyncTask()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerPerUserService.java145 cancellationSignalInternal.setOnCancelListener(() -> { in resolveRotationLocked()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java215 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate()
259 cancel.setOnCancelListener(new OnFaceDetectionCancelListener()); in detectFace()
317 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enroll()
370 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enrollRemotely()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestDialog.kt154 .setOnCancelListener(this) in createDialog()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java112 builder.setOnCancelListener(new CancelListener()); in showDialog()
/frameworks/base/core/java/android/uwb/
DRangingManager.java72 cancellationSignal.setOnCancelListener(() -> session.close()); in openSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotifBindPipeline.java143 signal.setOnCancelListener(() -> callbacks.remove(callback)); in onBindRequested()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DEditUserInfoController.java197 .setOnCancelListener(dialog -> { in buildDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java155 .setOnCancelListener(this) in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java267 builder.setOnCancelListener((dialog) -> { in showSecurityWarnDialog()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java560 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate()
599 cancel.setOnCancelListener(new OnFingerprintDetectionCancelListener()); in detectFingerprint()
644 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enroll()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java187 when(mAlertDialogBuilder.setOnCancelListener(anyObject())).thenReturn(mAlertDialogBuilder); in setUp()
368 verify(mAlertDialogBuilder).setOnCancelListener(cancelListenerCaptor.capture()); in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java731 cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in waitForConnection()
788 cancellationSignal.setOnCancelListener(null); in waitForConnection()
DSQLiteConnection.java1107 cancellationSignal.setOnCancelListener(this); in attachCancellationSignal()
1119 cancellationSignal.setOnCancelListener(null); in detachCancellationSignal()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java374 signal.setOnCancelListener(new OnCancelListener() { in waitForCancelOrTimeout()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodMenuController.java142 mDialogBuilder.setOnCancelListener(dialog -> hideInputMethodMenu()); in showInputMethodMenu()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java1045 cancel.setOnCancelListener(new OnAuthenticationCancelListener()); in authenticateInternal()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java317 .setOnCancelListener((DialogInterface d) -> { in createShortcutWarningDialog()
/frameworks/base/core/java/android/view/
DInsetsController.java1046 cancellationSignal.setOnCancelListener(() -> { in controlAnimationUnchecked()
1083 cancellationSignal.setOnCancelListener(() -> { in controlAnimationUnchecked()

12