Home
last modified time | relevance | path

Searched refs:setOnDismissListener (Results 1 – 25 of 84) sorted by relevance

1234

/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/
DDialogManager.java65 .setOnDismissListener(getOnDismissListener()) in showOptOutDialog()
94 .setOnDismissListener(getOnDismissListener()) in showBlockTopicDialog()
115 .setOnDismissListener(getOnDismissListener()) in showUnblockTopicDialog()
146 .setOnDismissListener(getOnDismissListener()) in showResetTopicDialog()
177 .setOnDismissListener(getOnDismissListener()) in showBlockAppDialog()
196 .setOnDismissListener(getOnDismissListener()) in showUnblockAppDialog()
229 .setOnDismissListener(getOnDismissListener()) in showResetAppDialog()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java129 mAspectRatioPreferenceDialog.setOnDismissListener(null); in dismiss()
135 mLocationPreferenceDialog.setOnDismissListener(null); in dismiss()
200 mAspectRatioPreferenceDialog.setOnDismissListener(new DialogInterface.OnDismissListener() { in promptAspectRatioPreferenceDialog()
268 mLocationPreferenceDialog.setOnDismissListener(new DialogInterface.OnDismissListener() { in promptLocationPreferenceDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityQuickSettingsTooltipWindowTest.java90 mTooltipView.setOnDismissListener(mMockOnDismissListener); in accessibilityClickActionOnTooltipViewShown_shouldInvokeCallbackAndNotShowing()
106 mTooltipView.setOnDismissListener(mMockOnDismissListener); in dismiss_tooltipViewShown_shouldInvokeCallbackAndNotShowing()
118 mTooltipView.setOnDismissListener(mMockOnDismissListener); in waitAutoCloseDelayTime_tooltipViewShown_shouldInvokeCallbackAndNotShowing()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRemoteBugreportActivity.java50 .setOnDismissListener(new DialogInterface.OnDismissListener() { in onCreate()
73 .setOnDismissListener(new DialogInterface.OnDismissListener() { in onCreate()
DRestrictedSettingsFragment.java158 mActionDisabledDialog.setOnDismissListener(null); in onActivityResult()
238 .setOnDismissListener(__ -> getActivity().finish()) in showAdminDialog()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DGrantPermissionsAutoViewHandler.java112 mDialog.setOnDismissListener(null); in update()
120 .setOnDismissListener((dialog) -> { in update()
179 mDialog.setOnDismissListener(null); in createListItem()
/packages/apps/Settings/src/com/android/settings/
DRemoteBugreportActivity.java60 .setOnDismissListener(new DialogInterface.OnDismissListener() { in onCreate()
93 .setOnDismissListener(new DialogInterface.OnDismissListener() { in onCreate()
DRestrictedSettingsFragment.java160 mActionDisabledDialog.setOnDismissListener(null); in onActivityResult()
242 .setOnDismissListener(__ -> getActivity().finish()) in onDataSetChanged()
DActionDisabledByAppOpsDialog.java37 .setOnDismissListener(this) in onCreate()
DRegulatoryInfoDisplayActivity.kt45 .setOnDismissListener { finish() } // close the activity in onCreate()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/
DPerformanceTestingFragment.kt121 (dialog as AlertDialog).setOnDismissListener { loadingDialog.showDialog() } in <lambda>()
154 (dialog as AlertDialog).setOnDismissListener { loadingDialog.showDialog() } in <lambda>()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDialogManagerTest.java427 when(builder.setOnDismissListener(any())).thenReturn(builder); in testSimpleDialog_launchAndResponse_notifiesCallback_preT()
496 when(builder.setOnDismissListener(any())).thenReturn(builder); in testSimpleDialog_timeoutCancelsDialog_preT()
534 when(builder.setOnDismissListener(any())).thenReturn(builder); in testSimpleDialog_dismissedBeforeTimeout_preT()
557 verify(builder).setOnDismissListener(dismissListenerCaptor.capture()); in testSimpleDialog_dismissedBeforeTimeout_preT()
599 when(builder.setOnDismissListener(any())).thenReturn(builder); in testLegacySimpleDialog_launchAndResponse_notifiesCallback()
668 when(builder.setOnDismissListener(any())).thenReturn(builder); in testLegacySimpleDialog_timeoutCancelsDialog()
706 when(builder.setOnDismissListener(any())).thenReturn(builder); in testLegacySimpleDialog_dismissedBeforeTimeout()
730 verify(builder).setOnDismissListener(dismissListenerCaptor.capture()); in testLegacySimpleDialog_dismissedBeforeTimeout()
752 when(builder.setOnDismissListener(any())).thenReturn(builder); in testLegacySimpleDialog_cancelledDueToActionCloseSystemDialogs()
798 when(builder.setOnDismissListener(any())).thenReturn(builder); in testLegacySimpleDialog_windowTypeChangedDueToScreenOff()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DPermissionDialogStreamingBlockedActivity.kt37 .setOnDismissListener() { in onCreate()
DLocationProviderInterceptDialog.java68 .setOnDismissListener((dialog) -> finish()) in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/
DImageEffectDialog.kt42 .setOnDismissListener { onDismiss?.invoke() } in <lambda>()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DLimitNetworkInStandbyConfirmationDialogActivity.java39 .setOnDismissListener((d) -> finish()) in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DRestrictedSettingsFragmentTest.java61 verify(mAlertDialog, times(1)).setOnDismissListener(isNull()); in onActivityResult_dismissesDialogOnOk()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DConfirmationActivity.java135 .setOnDismissListener(this) in onCreate()
219 .setOnDismissListener(this) in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DLogpersistPreferenceController.java55 mLogpersistClearDialog.setOnDismissListener(dialog -> mLogpersistClearDialog = null); in showConfirmationDialog()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/ui/binder/
DRevertToolbarButtonBinder.kt58 dialog?.setOnDismissListener(null) in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/
DResetNetworkRestrictionViewBuilder.java84 .setOnDismissListener(dialogInterface -> mActivity.finish()) in build()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/
DAlertActivity.java62 mAlertBuilder.setOnDismissListener(this); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/oemlink/
DFactoryResetActivity.java60 .setOnDismissListener(__ -> finish()) in onCreate()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactMultiDeletionInteraction.java124 mDialog.setOnDismissListener(null); in onDestroyView()
287 mDialog.setOnDismissListener(new OnDismissListener() { in showDialog()
/packages/apps/Contacts/src/com/android/contacts/util/
DDialogManager.java107 dialog.setOnDismissListener(new OnDismissListener() { in onCreateDialog()

1234