/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | TestableAlertDialogTest.kt | 45 val dialog = TestableAlertDialog(context) in dialogNotShowingWhenCreated() constant 52 val dialog = TestableAlertDialog(context) in dialogShownDoesntCrash() constant 59 val dialog = TestableAlertDialog(context) in dialogShowing() constant 68 val dialog = TestableAlertDialog(context) in showListenerCalled() constant 79 val dialog = TestableAlertDialog(context) in showListenerRemoved() constant 91 val dialog = TestableAlertDialog(context) in dialogHiddenNotShowing() constant 101 val dialog = TestableAlertDialog(context) in dialogDismissNotShowing() constant 111 val dialog = TestableAlertDialog(context) in dismissListenerCalled_ifShowing() constant 123 val dialog = TestableAlertDialog(context) in dismissListenerNotCalled_ifNotShowing() constant 134 val dialog = TestableAlertDialog(context) in dismissListenerRemoved() constant [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | DialogTransitionAnimatorTest.kt | 69 val dialog = createAndShowDialog() in testShowDialogFromView() constant 148 val dialog = createAndShowDialog() in testActivityLaunchFromHiddenDialog() constant 163 val dialog = createAndShowDialog(dialogTransitionAnimator) in testActivityLaunchWhenLockedWithoutAlternateAuth() constant 175 val dialog = createAndShowDialog(dialogTransitionAnimator) in testActivityLaunchWhenLockedWithAlternateAuth() constant 185 val dialog = runOnMainThreadAndWaitForIdleSync { TestDialog(context) } in testDialogAnimationIsChangedByAnimator() constant 201 val dialog = TestDialog(context) in testCujSpecificationLogsInteraction() constant 217 val dialog = TestDialog(context) in testShowFromDialogCujSpecificationLogsInteraction() constant 237 val dialog = showDialogFromView(touchSurface) in testAnimationDoesNotChangeLaunchableViewVisibility_viewVisible() constant 253 val dialog = showDialogFromView(touchSurface) in testAnimationDoesNotChangeLaunchableViewVisibility_viewInvisible() constant 269 val dialog = showDialogFromView(touchSurface) in testAnimationDoesNotChangeLaunchableViewVisibility_viewVisibleThenGone() constant [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/ |
D | CreateUserDialogControllerTest.java | 74 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled() local 91 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage() local 110 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in editUserInfoController_shouldOnlyBeVisibleOnLastStage() local 129 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage() local 150 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isCalled_whenCancelled() local 165 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isCalled_whenNegativeButtonClickedOnFirstStage() local 181 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isNotCalled_whenNegativeButtonClickedOnSecondStage() local 199 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in successCallback_isCalled_setNameAndAdminStatus() local 223 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in successCallback_isCalled_setName_MultipleAdminDisabled() local
|
D | EditUserInfoControllerTest.java | 127 final AlertDialog dialog = (AlertDialog) mController.createDialog(mActivity, in userNameView_inputLongName_shouldBeConstrained() local 141 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenCancelled() local 157 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenNegativeClicked() local 174 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenNothingChanged() local 192 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged() local 210 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenLabelChanges() local 231 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenPhotoChanges() local 250 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalledWithChangedPhoto_whenOldIconIsNullAndPhotoChanges() local
|
/frameworks/base/core/java/android/content/ |
D | DialogInterface.java | 75 void onCancel(DialogInterface dialog); in onCancel() 89 void onDismiss(DialogInterface dialog); in onDismiss() 103 void onShow(DialogInterface dialog); in onShow() 119 void onClick(DialogInterface dialog, int which); in onClick() 135 void onClick(DialogInterface dialog, int which, boolean isChecked); in onClick() 155 boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event); in onKey()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialogTest.java | 90 final SystemUIDialog dialog = new SystemUIDialog(mContext); in testRegisterReceiver() local 110 final SystemUIDialog dialog = new SystemUIDialog(mContext, 0, false); in testNoRegisterReceiver() local 125 final SystemUIDialog dialog = new SystemUIDialog(mContext); in usePredictiveBackAnimFlag() local 138 SystemUIDialog dialog = new SystemUIDialog(mContext) { in startAndStopAreCalled() local 166 SystemUIDialog dialog = createDialogWithDelegate(); in delegateIsCalled_inCorrectOrder() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothTileDialogDelegateTest.kt | 150 val dialog = mBluetoothTileDialogDelegate.createDialog() in testShowDialog_createRecyclerViewWithAdapter() constant 165 val dialog = mBluetoothTileDialogDelegate.createDialog() in testShowDialog_displayBluetoothDevice() constant 234 val dialog = mBluetoothTileDialogDelegate.createDialog() in testOnDeviceUpdated_hideSeeAll_showPairNew() constant 264 val dialog = in testShowDialog_cachedHeightLargerThanMinHeight_displayFromCachedHeight() constant 287 val dialog = in testShowDialog_cachedHeightLessThanMinHeight_displayFromUiProperties() constant 310 val dialog = in testShowDialog_bluetoothEnabled_autoOnToggleGone() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResetOrExitSessionReceiver.java | 159 SystemUIDialog dialog = mDialogFactory.create(); in create() local 186 ResetSessionDialogClickListener create(int userId, DialogInterface dialog); in create() 194 @Assisted DialogInterface dialog in ResetSessionDialogClickListener() 203 public void onClick(DialogInterface dialog, int which) { in onClick() 233 SystemUIDialog dialog = mDialogFactory.create(); in create() local 290 DialogInterface dialog); in create() 298 @Assisted DialogInterface dialog in ExitSessionDialogClickListener() 307 public void onClick(DialogInterface dialog, int which) { in onClick()
|
D | SlicePermissionActivity.java | 83 AlertDialog dialog = new AlertDialog.Builder(this) in onCreate() local 106 public void onClick(DialogInterface dialog, int which) { in onClick() 115 public void onDismiss(DialogInterface dialog) { in onDismiss()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesDialogDelegate.java | 181 SystemUIDialog dialog = mSystemUIDialogFactory.create(this); in createDialog() local 249 public void beforeCreate(@NonNull SystemUIDialog dialog, @Nullable Bundle savedInstanceState) { in beforeCreate() 261 public void onCreate(@NonNull SystemUIDialog dialog, @Nullable Bundle savedInstanceState) { in onCreate() 279 public void onStart(@NonNull SystemUIDialog dialog) { in onStart() 294 public void onStop(@NonNull SystemUIDialog dialog) { in onStop() 306 private void setupDeviceListView(SystemUIDialog dialog) { in setupDeviceListView() 313 private void setupPresetSpinner(SystemUIDialog dialog) { in setupPresetSpinner() 356 private void setupPairNewDeviceButton(SystemUIDialog dialog, @Visibility int visibility) { in setupPairNewDeviceButton() 370 private void setupRelatedToolsView(SystemUIDialog dialog) { in setupRelatedToolsView()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteChooserDialogFragment.java | 68 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); in setRouteTypes() local 79 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); in setExtendedSettingsClickListener() local 99 MediaRouteChooserDialog dialog = onCreateChooserDialog(getActivity(), savedInstanceState); in onCreateDialog() local
|
D | SetScreenLockDialogActivity.java | 110 final AlertDialog dialog = builder.create(); in onCreate() local 118 public void onDismiss(DialogInterface dialog) { in onDismiss() 123 public void onClick(DialogInterface dialog, int which) { in onClick()
|
D | UnlaunchableAppActivity.java | 111 final AlertDialog dialog = builder.create(); in onCreate() local 130 public void onDismiss(DialogInterface dialog) { in onDismiss() 135 public void onClick(DialogInterface dialog, int which) { in onClick()
|
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/ |
D | UsageReporterActivity.java | 151 public void onClick(DialogInterface dialog, int which) { in callAddToken() 168 public void onClick(DialogInterface dialog, int which) { in callAddToken() 186 public void onClick(DialogInterface dialog, int which) { in callAddManyTokens() 202 public void onClick(DialogInterface dialog, int which) { in callAddManyTokens() 216 public void onClick(DialogInterface dialog, int which) { in callStopAll() 227 public void onClick(DialogInterface dialog, int which) { in callStopAll()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
D | RecordingControllerTest.java | 259 Dialog dialog = in testPoliciesFlagDisabled_screenCapturingNotAllowed_returnsNullDevicePolicyDialog() local 277 Dialog dialog = mController.createScreenRecordDialog(mContext, mFeatureFlags, in testPartialScreenSharingDisabled_returnsLegacyDialog() local 289 Dialog dialog = mController.createScreenRecordDialog(mContext, mFeatureFlags, in testPoliciesFlagEnabled_screenCapturingNotAllowed_returnsDevicePolicyDialog() local 301 Dialog dialog = in testPoliciesFlagEnabled_screenCapturingAllowed_returnsNullDevicePolicyDialog() local 350 SystemUIDialog dialog = super.create(delegate); in create() local
|
/frameworks/base/packages/SystemUI/docs/ |
D | dialogs.md | 5 ### Styling 11 ### Setting the internal elements
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 456 public static void setShowForAllUsers(Dialog dialog, boolean show) { in setShowForAllUsers() 469 public static void setWindowOnTop(Dialog dialog, boolean isKeyguardShowing) { in setWindowOnTop() 478 public static AlertDialog applyFlags(AlertDialog dialog) { in applyFlags() 498 public static void registerDismissListener(Dialog dialog) { in registerDismissListener() 512 public static void registerDismissListener(Dialog dialog, @Nullable Runnable dismissAction) { in registerDismissListener() 525 public static void setDialogSize(Dialog dialog) { in setDialogSize() 532 static int getDefaultDialogWidth(Dialog dialog) { in getDefaultDialogWidth() 560 private static int calculateDialogWidthWithInsets(Dialog dialog, int widthInDp) { in calculateDialogWidthWithInsets() 566 private static int getHorizontalInsets(Dialog dialog) { in getHorizontalInsets() 600 DismissReceiver(Dialog dialog, BroadcastDispatcher broadcastDispatcher, in DismissReceiver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | CsdWarningDialogTest.java | 65 CsdWarningDialog dialog = new CsdWarningDialog(CSD_WARNING_DOSE_REACHED_1X, mContext, in create1XCsdDialogAndWait_sendsNotification() local 80 CsdWarningDialog dialog = new CsdWarningDialog(CSD_WARNING_DOSE_REPEATED_5X, mContext, in create5XCsdDiSalogAndWait_willSendNotification() local
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UnarchiveFragment.java | 47 public void onClick(DialogInterface dialog, int which) { in onClick() 54 public void onDismiss(DialogInterface dialog) { in onDismiss()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in onKey() 147 public void onDismiss(DialogInterface dialog) { in onDismiss() 169 public void onClick(DialogInterface dialog, int which) { in onClick()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLiteTest.java | 237 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testShouldLogClose_backButton() local 257 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testPredictiveBackCallbackRegisteredAndUnregistered() local 287 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testPredictiveBackInvocationDismissesDialog() local 313 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSingleTap_logAndDismiss() local 334 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSwipeDownLockscreen_logAndOpenQS() local 358 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSwipeDown_logAndOpenNotificationShade() local 382 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSwipeDown_pastStatusBarHeight_shadeNotOpened() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ChallengeDialogs.kt | 91 DialogInterface.OnClickListener { dialog, _ -> in <lambda>() method 103 DialogInterface.OnClickListener { dialog, _ -> in <lambda>() method 141 DialogInterface.OnClickListener { dialog, _ -> in <lambda>() method 147 DialogInterface.OnClickListener { dialog, _ -> in <lambda>() method
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/fragments/ |
D | InstallFailedFragment.java | 60 AlertDialog dialog = new AlertDialog.Builder(requireContext()) in onCreateDialog() local 104 public void onCancel(@NonNull DialogInterface dialog) { in onCancel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/ui/viewmodel/ |
D | OngoingActivityChipViewModel.kt | 42 val dialog = dialogDelegate.createDialog() in <lambda>() constant
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | CustomEditTextPreferenceCompat.java | 57 final Dialog dialog = mFragment.getDialog(); in getEditText() local 80 protected void onClick(DialogInterface dialog, int which) { in onClick() 131 public void onClick(DialogInterface dialog, int which) { in onClick()
|