Home
last modified time | relevance | path

Searched refs:setOnCancelListener (Results 1 – 25 of 26) 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.java109 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in CancellationSignal
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java109 mCancellationSignal.setOnCancelListener(new OnCancelListener() { in WriteFileAsyncTask()
/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.java640 mSearchDialog.setOnCancelListener(this); in ensureSearchDialog()
828 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in SearchManager
DDialog.java231 setOnCancelListener(cancelListener); in Dialog()
1297 public void setOnCancelListener(@Nullable OnCancelListener listener) { in setOnCancelListener() method in Dialog
1365 setOnCancelListener(cancel); in takeCancelAndDismissListeners()
DProgressDialog.java189 dialog.setOnCancelListener(cancelListener); in show()
/frameworks/base/core/java/android/net/
DDnsResolver.java399 cancellationSignal.setOnCancelListener(() -> { in query()
521 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/media/
DMediaProjectionPermissionActivity.java154 .setOnCancelListener(this) in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java266 builder.setOnCancelListener((dialog) -> { in showSecurityWarnDialog()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java175 when(mAlertDialogBuilder.setOnCancelListener(anyObject())).thenReturn(mAlertDialogBuilder); in setUp()
362 verify(mAlertDialogBuilder).setOnCancelListener(cancelListenerCaptor.capture()); in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java411 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate()
465 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enroll()
/frameworks/base/core/java/android/hardware/face/
DFaceManager.java219 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate()
276 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enroll()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java286 .setOnCancelListener(this) in showConfirmAddUserDialog()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java731 cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in waitForConnection()
788 cancellationSignal.setOnCancelListener(null); in waitForConnection()
DSQLiteConnection.java1046 cancellationSignal.setOnCancelListener(this); in attachCancellationSignal()
1058 cancellationSignal.setOnCancelListener(null); in detachCancellationSignal()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java644 cancel.setOnCancelListener(new OnAuthenticationCancelListener()); in authenticateInternal()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java374 signal.setOnCancelListener(new OnCancelListener() { in waitForCancelOrTimeout()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java281 .setOnCancelListener((DialogInterface d) -> { in createShortcutWarningDialog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1353 .setOnCancelListener(listener) in handleReachSentLimit()
1410 .setOnCancelListener(listener) in handleConfirmShortCode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java540 cancellationSignal.setOnCancelListener( in apply()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2145 mBuilder.setOnCancelListener(new OnCancelListener() { in buildDialogue()
2239 mBuilder.setOnCancelListener(new OnCancelListener() { in buildAndShowColorDialogue()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2483 .setOnCancelListener(new DialogInterface.OnCancelListener() { in notifyFrequencyConflict()
3170 .setOnCancelListener(new DialogInterface.OnCancelListener() { in notifyInvitationReceived()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java4148 mDialogBuilder.setOnCancelListener(new OnCancelListener() { in showInputMethodMenu()

12