Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/mtp/
DMtpDevice.java388 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
400 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.java642 mSearchDialog.setOnCancelListener(this); in ensureSearchDialog()
830 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in SearchManager
DDialog.java229 setOnCancelListener(cancelListener); in Dialog()
1293 public void setOnCancelListener(@Nullable OnCancelListener listener) { in setOnCancelListener() method in Dialog
1361 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/core/java/android/net/
DDnsResolver.java408 cancellationSignal.setOnCancelListener(() -> { in query()
530 cancellationSignal.setOnCancelListener(() -> { in addCancellationSignal()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java112 builder.setOnCancelListener(new CancelListener()); in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestDialog.kt157 .setOnCancelListener(this) in createDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotifBindPipeline.java143 signal.setOnCancelListener(() -> callbacks.remove(callback)); in onBindRequested()
DNotificationContentInflater.java430 cancellationSignal.setOnCancelListener( in apply()
/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.java433 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate()
487 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enroll()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java221 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate()
278 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enroll()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java185 when(mAlertDialogBuilder.setOnCancelListener(anyObject())).thenReturn(mAlertDialogBuilder); in setUp()
366 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.java1105 cancellationSignal.setOnCancelListener(this); in attachCancellationSignal()
1117 cancellationSignal.setOnCancelListener(null); in detachCancellationSignal()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java374 signal.setOnCancelListener(new OnCancelListener() { in waitForCancelOrTimeout()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DUserGridRecyclerView.java362 .setOnCancelListener(this) in showConfirmAddUserDialog()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java957 cancel.setOnCancelListener(new OnAuthenticationCancelListener()); in authenticateInternal()
/frameworks/base/core/java/android/view/
DInsetsController.java949 cancellationSignal.setOnCancelListener(() -> { in controlAnimationUnchecked()
978 cancellationSignal.setOnCancelListener(() -> { in controlAnimationUnchecked()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java297 .setOnCancelListener((DialogInterface d) -> { in createShortcutWarningDialog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1475 .setOnCancelListener(listener) in handleReachSentLimit()
1539 .setOnCancelListener(listener) in handleConfirmShortCode()

12