Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/mtp/
DMtpDevice.java388 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
400 signal.setOnCancelListener(null); in readEvent()
/frameworks/support/compat/java/android/support/v4/os/
DCancellationSignal.java108 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in CancellationSignal
/frameworks/base/core/java/android/os/
DCancellationSignal.java109 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in CancellationSignal
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertDialog.java105 setOnCancelListener(cancelListener); in AlertDialog()
550 public Builder setOnCancelListener(OnCancelListener onCancelListener) { in setOnCancelListener() method in AlertDialog.Builder
938 dialog.setOnCancelListener(P.mOnCancelListener); in create()
/frameworks/base/core/java/android/app/
DAlertDialog.java167 setOnCancelListener(cancelListener); in AlertDialog()
705 public Builder setOnCancelListener(OnCancelListener onCancelListener) { in setOnCancelListener() method in AlertDialog.Builder
1094 dialog.setOnCancelListener(P.mOnCancelListener); in create()
DSearchManager.java633 mSearchDialog.setOnCancelListener(this); in ensureSearchDialog()
813 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in SearchManager
DDialog.java218 setOnCancelListener(cancelListener); in Dialog()
1251 public void setOnCancelListener(@Nullable OnCancelListener listener) { in setOnCancelListener() method in Dialog
1319 setOnCancelListener(cancel); in takeCancelAndDismissListeners()
DProgressDialog.java184 dialog.setOnCancelListener(cancelListener); in show()
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java107 mCancellationSignal.setOnCancelListener(new OnCancelListener() { in WriteFileAsyncTask()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomSheetDialogTest.java215 mDialog.setOnCancelListener(new DialogInterface.OnCancelListener() { in testHideBottomSheet()
246 mDialog.setOnCancelListener(onCancelListener); in testHideThenShow()
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DAccessibilityShortcutControllerTest.java145 when(mAlertDialogBuilder.setOnCancelListener(anyObject())).thenReturn(mAlertDialogBuilder); in setUp()
314 verify(mAlertDialogBuilder).setOnCancelListener(cancelListenerCaptor.capture()); in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java112 builder.setOnCancelListener(new CancelListener()); in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java145 .setOnCancelListener(this) in onCreate()
/frameworks/support/fragment/java/android/support/v4/app/
DDialogFragment.java400 mDialog.setOnCancelListener(this); in onActivityCreated()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java523 cancel.setOnCancelListener(new OnAuthenticationCancelListener(crypto)); in authenticate()
576 cancel.setOnCancelListener(new OnEnrollCancelListener()); in enroll()
/frameworks/base/services/core/java/com/android/server/policy/
DAccessibilityShortcutController.java235 .setOnCancelListener((DialogInterface d) -> { in createShortcutWarningDialog()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java699 cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in waitForConnection()
756 cancellationSignal.setOnCancelListener(null); in waitForConnection()
DSQLiteConnection.java950 cancellationSignal.setOnCancelListener(this); in attachCancellationSignal()
962 cancellationSignal.setOnCancelListener(null); in detachCancellationSignal()
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/
DMainActivity.java244 builder.setOnCancelListener(new DialogInterface.OnCancelListener() { in showDialog()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java374 signal.setOnCancelListener(new OnCancelListener() { in waitForCancelOrTimeout()
/frameworks/support/core-utils/java/android/support/v4/print/
DPrintHelper.java615 cancellationSignal.setOnCancelListener( in printBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInflater.java314 cancellationSignal.setOnCancelListener( in apply()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogTest.java391 .setOnCancelListener(mockCancelListener); in testCancelCancelableDialog()
412 .setOnCancelListener(mockCancelListener); in testCancelNonCancelableDialog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1169 .setOnCancelListener(listener) in handleReachSentLimit()
1225 .setOnCancelListener(listener) in handleConfirmShortCode()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2145 mBuilder.setOnCancelListener(new OnCancelListener() { in buildDialogue()
2239 mBuilder.setOnCancelListener(new OnCancelListener() { in buildAndShowColorDialogue()

123