Home
last modified time | relevance | path

Searched refs:mCancelListener (Results 1 – 8 of 8) 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
769 .setOnCancelListener(mCancelListener) in onCreateDialog()
770 .setPositiveButton(android.R.string.ok, mCancelListener); in onCreateDialog()
/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.java62 private DialogInterface.OnClickListener mCancelListener; field in AutofillPickerFragment
71 mCancelListener = (d, w) -> { in onCreate()
214 .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.java70 private final View.OnClickListener mCancelListener = new View.OnClickListener() { field in PickFragment
119 mCancel.setOnClickListener(mCancelListener); in onCreateView()