Home
last modified time | relevance | path

Searched refs:mCancelListener (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java112 private CancelListener mCancelListener; field in ThreadPool.Worker
158 if (mCancelListener != null) { in cancel()
159 mCancelListener.onCancel(); in cancel()
195 mCancelListener = listener; in setCancelListener()
196 if (mIsCancelled && mCancelListener != null) { in setCancelListener()
197 mCancelListener.onCancel(); in setCancelListener()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DCancelActivity.java68 private final CancelListener mCancelListener = new CancelListener(); field in CancelActivity
95 .setOnCancelListener(mCancelListener) in onCreateDialog()
96 .setNegativeButton(R.string.no_button, mCancelListener); in onCreateDialog()
103 .setOnCancelListener(mCancelListener) in onCreateDialog()
104 .setPositiveButton(android.R.string.ok, mCancelListener); in onCreateDialog()
DImportVCardActivity.java144 private CancelListener mCancelListener = new CancelListener(); field in ImportVCardActivity
766 .setOnCancelListener(mCancelListener) in onCreateDialog()
767 .setPositiveButton(android.R.string.ok, mCancelListener); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAppPickerFragment.java111 private DialogInterface.OnClickListener mCancelListener; field in DefaultAppPickerFragment.ConfirmationDialogFragment
133 this.mCancelListener = cancelListener; in setCancelListener()
142 .setNegativeButton(android.R.string.cancel, mCancelListener); in onCreateDialog()
DDefaultAutofillPicker.java65 private DialogInterface.OnClickListener mCancelListener; field in DefaultAutofillPicker
73 mCancelListener = (d, w) -> { in onCreate()
105 setCancelListener(target.mCancelListener); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAppPickerFragment.java111 private DialogInterface.OnClickListener mCancelListener; field in DefaultAppPickerFragment.ConfirmationDialogFragment
133 this.mCancelListener = cancelListener; in setCancelListener()
142 .setNegativeButton(android.R.string.cancel, mCancelListener); in onCreateDialog()
DDefaultAutofillPicker.java65 private DialogInterface.OnClickListener mCancelListener; field in DefaultAutofillPicker
73 mCancelListener = (d, w) -> { in onCreate()
105 setCancelListener(target.mCancelListener); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillPickerFragment.java63 private DialogInterface.OnClickListener mCancelListener; field in AutofillPickerFragment
72 mCancelListener = (d, w) -> { in onCreate()
215 .setNegativeButton(android.R.string.cancel, mCancelListener); in displayAlert()
/packages/apps/Messaging/src/com/android/messaging/ui/
DClassZeroActivity.java139 .setNegativeButton(android.R.string.cancel, mCancelListener) in displayZeroMessage()
188 private final OnClickListener mCancelListener = new OnClickListener() { field in ClassZeroActivity
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickFragment.java63 private final View.OnClickListener mCancelListener = new View.OnClickListener() { field in PickFragment
108 mCancel.setOnClickListener(mCancelListener); in onCreateView()