Home
last modified time | relevance | path

Searched refs:createDialog (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteDialogPresenter.java70 public static Dialog createDialog(Context context, in createDialog() method in MediaRouteDialogPresenter
75 return createDialog(context, routeTypes, extendedSettingsClickListener, theme); in createDialog()
79 public static Dialog createDialog(Context context, in createDialog() method in MediaRouteDialogPresenter
81 return createDialog(context, routeTypes, extendedSettingsClickListener, theme, in createDialog()
86 public static Dialog createDialog(Context context, int routeTypes, in createDialog() method in MediaRouteDialogPresenter
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java109 mController.createDialog(mActivity, mActivityStarter, mCurrentIcon, "test user", in photoControllerOnActivityResult_whenWaiting_isCalled()
127 final AlertDialog dialog = (AlertDialog) mController.createDialog(mActivity, in userNameView_inputLongName_shouldBeConstrained()
141 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenCancelled()
157 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenNegativeClicked()
174 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenNothingChanged()
192 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged()
210 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenLabelChanges()
231 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenPhotoChanges()
250 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalledWithChangedPhoto_whenOldIconIsNullAndPhotoChanges()
268 mController.createDialog(mActivity, mActivityStarter, mCurrentIcon, in createDialog_canNotChangePhoto_nullPhotoController()
DCreateUserDialogControllerTest.java74 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled()
91 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage()
110 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in editUserInfoController_shouldOnlyBeVisibleOnLastStage()
129 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage()
150 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isCalled_whenCancelled()
165 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isCalled_whenNegativeButtonClickedOnFirstStage()
181 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isNotCalled_whenNegativeButtonClickedOnSecondStage()
199 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in successCallback_isCalled_setNameAndAdminStatus()
223 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in successCallback_isCalled_setName_MultipleAdminDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/screenrecord/ui/view/
DEndScreenRecordingDialogDelegate.kt33 override fun createDialog(): SystemUIDialog { in <lambda>() method in com.android.systemui.statusbar.chips.screenrecord.ui.view.EndScreenRecordingDialogDelegate
34 return endMediaProjectionDialogHelper.createDialog(this) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/
DBroadcastDialogController.java52 currentBroadcastAppName, outputPkgName).createDialog(); in createBroadcastDialog()
70 currentBroadcastAppName, outputPkgName).createDialog(); in createBroadcastDialogWithController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/view/
DEndCastToOtherDeviceDialogDelegate.kt32 override fun createDialog(): SystemUIDialog { in <lambda>() method in com.android.systemui.statusbar.chips.casttootherdevice.ui.view.EndCastToOtherDeviceDialogDelegate
33 return endMediaProjectionDialogHelper.createDialog(this) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/sharetoapp/ui/view/
DEndShareToAppDialogDelegate.kt32 override fun createDialog(): SystemUIDialog { in <lambda>() method in com.android.systemui.statusbar.chips.sharetoapp.ui.view.EndShareToAppDialogDelegate
33 return endMediaProjectionDialogHelper.createDialog(this) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogDelegateTest.kt150 val dialog = mBluetoothTileDialogDelegate.createDialog() in testShowDialog_createRecyclerViewWithAdapter()
165 val dialog = mBluetoothTileDialogDelegate.createDialog() in testShowDialog_displayBluetoothDevice()
234 val dialog = mBluetoothTileDialogDelegate.createDialog() in testOnDeviceUpdated_hideSeeAll_showPairNew()
276 .createDialog() in testShowDialog_cachedHeightLargerThanMinHeight_displayFromCachedHeight()
299 .createDialog() in testShowDialog_cachedHeightLessThanMinHeight_displayFromUiProperties()
322 .createDialog() in testShowDialog_bluetoothEnabled_autoOnToggleGone()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DDetailDialogTest.kt69 underTest = createDialog(pendingIntent) in setUp()
101 underTest = createDialog(pendingIntent, it) in testDismissRemovesTheTask()
118 private fun createDialog( in createDialog() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/
DKeyboardBacklightDialogCoordinator.kt45 private val createDialog: (Int, Int) -> KeyboardBacklightDialog constant in com.android.systemui.keyboard.backlight.ui.KeyboardBacklightDialogCoordinator
72 dialog = createDialog(model.currentValue, model.maxValue) in showDialog()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DAlertDialogWithDelegateTest.kt42 val dialog = createDialog() in delegateIsCalled_inCorrectOrder()
57 private fun createDialog(): AlertDialogWithDelegate = in createDialog() method in com.android.systemui.statusbar.phone.AlertDialogWithDelegateTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/
DCreateUserActivity.java87 mSetupUserDialog = createDialog(); in onCreate()
113 private Dialog createDialog() { in createDialog() method in CreateUserActivity
116 return mCreateUserDialogController.createDialog( in createDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DBluetoothDialogDelegate.java34 public SystemUIDialog createDialog() { in createDialog() method in BluetoothDialogDelegate
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/backlight/ui/
DKeyboardBacklightDialogCoordinatorTest.kt60 private val createDialog = { value: Int, maxValue: Int -> in <lambda>() constant
79 KeyboardBacklightDialogCoordinator(testScope.backgroundScope, viewModel, createDialog) in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java215 DialogFragment newDialog = createDialog(id); in showDialogInner()
229 private DialogFragment createDialog(int id) { in createDialog() method in PackageInstallerActivity
778 protected Dialog createDialog(@NonNull CharSequence argument) { in createDialog() method in OutOfSpaceDialog
805 protected Dialog createDialog(@NonNull CharSequence argument) {
866 protected Dialog createDialog(@NonNull CharSequence argument) {
918 protected abstract Dialog createDialog(@NonNull CharSequence argument);
922 return createDialog(getArguments().getString(ARGUMENT_KEY));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipViewModel.kt42 val dialog = dialogDelegate.createDialog() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DScreenCapturePermissionDialogDelegate.kt45 override fun createDialog(): SystemUIDialog = dialogFactory.create(this) in <lambda>() method in com.android.systemui.recordissue.ScreenCapturePermissionDialogDelegate
DRecordIssueDialogDelegate.kt93 override fun createDialog(): SystemUIDialog = factory.create(this) in <lambda>() method in com.android.systemui.recordissue.RecordIssueDialogDelegate
159 ScreenCapturePermissionDialogDelegate(factory, state).createDialog().apply { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceRequestController.kt133 createDialog(tileData, dialogResponse).also { dialog -> in requestTileAdd()
144 private fun createDialog( in createDialog() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java237 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testShouldLogClose_backButton()
257 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testPredictiveBackCallbackRegisteredAndUnregistered()
287 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testPredictiveBackInvocationDismissesDialog()
313 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSingleTap_logAndDismiss()
334 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSwipeDownLockscreen_logAndOpenQS()
358 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSwipeDown_logAndOpenNotificationShade()
382 GlobalActionsDialogLite.ActionsDialogLite dialog = mGlobalActionsDialogLite.createDialog(); in testSwipeDown_pastStatusBarHeight_shadeNotOpened()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestDialog.kt117 dialog = createDialog(label) in onResume()
138 fun createDialog(label: CharSequence): Dialog { in createDialog() method
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DCustomDialogHelper.java81 createDialog(); in CustomDialogHelper()
87 private void createDialog() { in createDialog() method in CustomDialogHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverDialogDelegate.kt38 override fun createDialog(): SystemUIDialog { in <lambda>() method in com.android.systemui.qs.tiles.impl.saver.domain.DataSaverDialogDelegate
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DGrantAdminDialogController.java39 public Dialog createDialog(Activity activity, in createDialog() method in GrantAdminDialogController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/
DCreateUserActivityTest.kt28 createDialog( in <lambda>()

123