Home
last modified time | relevance | path

Searched refs:getDialog (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDialogFragmentTest.java86 assertNotNull("Dialog was null", mCreateDirectoryFragment.getDialog()); in testCreateDialogShows()
87 assertTrue("Dialog was not being shown", mCreateDirectoryFragment.getDialog().isShowing()); in testCreateDialogShows()
97 assertNotNull("Dialog was null", mCreateDirectoryFragment.getDialog()); in testCreateDialogShowsDismiss()
98 assertTrue("Dialog was not being shown", mCreateDirectoryFragment.getDialog().isShowing()); in testCreateDialogShowsDismiss()
103 assertNull("Dialog should be null after dismiss()", mCreateDirectoryFragment.getDialog()); in testCreateDialogShowsDismiss()
115 mCreateDirectoryFragment.getDialog().findViewById(android.R.id.text1); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait()
135 mCreateDirectoryFragment.getDialog().getWindow().findViewById(android.R.id.text1); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity()
156 mCreateDirectoryFragment.getDialog().getWindow().findViewById(android.R.id.text1); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargerDensity()
176 mCreateDirectoryFragment.getDialog().getWindow().findViewById(android.R.id.text1); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargestDensity()
196 mCreateDirectoryFragment.getDialog().getWindow().findViewById(android.R.id.text1); in testCreateDirectoryFragmentShows_textInputEditText_shouldNotTruncateOnLandscape()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DDialogTestUtils.java35 Button positiveButton = dialogFragment.getDialog().getWindow().findViewById( in clickPositiveButton()
44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton()
53 TextView titleView = dialogFragment.getDialog().getWindow().findViewById( in getTitle()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DConfirmDeletionDialogTest.java38 TextView message = alertDialog.getDialog().findViewById(R.id.message); in testOnCreateDialog_saysCorrectStrings()
39 Button button1 = alertDialog.getDialog().findViewById(android.R.id.button1); in testOnCreateDialog_saysCorrectStrings()
40 Button button2 = alertDialog.getDialog().findViewById(android.R.id.button2); in testOnCreateDialog_saysCorrectStrings()
/packages/apps/TV/src/com/android/tv/ui/
DFullscreenDialogView.java80 protected Dialog getDialog() { in getDialog() method in FullscreenDialogView
113 v.initialize(getActivity(), getDialog()); in transitionTo()
114 getDialog().setContentView(v); in transitionTo()
/packages/apps/Settings/src/com/android/settings/
DCustomListPreference.java133 getCustomizablePreference().onDialogStateRestored(getDialog(), savedInstanceState); in onActivityCreated()
187 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in onItemConfirmed()
188 getDialog().dismiss(); in onItemConfirmed()
DEditPinPreference.java65 Dialog dialog = getDialog(); in isDialogOpen()
78 Dialog dialog = getDialog(); in showPinDialog()
DPointerSpeedPreference.java121 if (getDialog() == null || !getDialog().isShowing()) return superState; in onSaveInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DCustomListPreference.java133 getCustomizablePreference().onDialogStateRestored(getDialog(), savedInstanceState); in onActivityCreated()
187 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in onItemConfirmed()
188 getDialog().dismiss(); in onItemConfirmed()
DEditPinPreference.java65 Dialog dialog = getDialog(); in isDialogOpen()
78 Dialog dialog = getDialog(); in showPinDialog()
DPointerSpeedPreference.java121 if (getDialog() == null || !getDialog().isShowing()) return superState; in onSaveInstanceState()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialogFragment.java104 ((AlertDialog) getDialog()).getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(this); in onShow()
109 onClick(getDialog(), AlertDialog.BUTTON_POSITIVE); in onClick()
121 ConfigDialog dialog = (ConfigDialog) getDialog(); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialogFragment.java104 ((AlertDialog) getDialog()).getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(this); in onShow()
109 onClick(getDialog(), AlertDialog.BUTTON_POSITIVE); in onClick()
121 ConfigDialog dialog = (ConfigDialog) getDialog(); in onClick()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyNamePreference.java109 if (getDialog() != null && getDialog().isShowing() in onSaveInstanceState()
138 if (getDialog() != null) { in onActivityResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestDialogFragment.java261 final AlertDialog alertDialog = (AlertDialog) getDialog(); in showAllButton()
278 final AlertDialog alertDialog = (AlertDialog) getDialog(); in updateConnectButton()
290 final AlertDialog alertDialog = (AlertDialog) getDialog(); in hideProgressIcon()
336 final Dialog dialog = getDialog(); in stopScanningAndPopErrorDialog()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestDialogFragment.java260 final AlertDialog alertDialog = (AlertDialog) getDialog(); in showAllButton()
277 final AlertDialog alertDialog = (AlertDialog) getDialog(); in updateConnectButton()
289 final AlertDialog alertDialog = (AlertDialog) getDialog(); in hideProgressIcon()
335 final Dialog dialog = getDialog(); in stopScanningAndPopErrorDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DNetworkRequestDialogFragment.java260 final AlertDialog alertDialog = (AlertDialog) getDialog(); in showAllButton()
277 final AlertDialog alertDialog = (AlertDialog) getDialog(); in updateConnectButton()
289 final AlertDialog alertDialog = (AlertDialog) getDialog(); in hideProgressIcon()
335 final Dialog dialog = getDialog(); in stopScanningAndPopErrorDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DDeleteFingerprintDialogTest.java64 mFragment.onClick(mFragment.getDialog(), Dialog.BUTTON_POSITIVE); in launchDialog_clickPositive_shouldDeleteFingerprint()
74 mFragment.onClick(mFragment.getDialog(), Dialog.BUTTON_NEGATIVE); in launchDialog_clickNegative_shouldDoNothing()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java75 getDialog().setTitle(title); in onCreateView()
98 getDialog().getWindow().setLayout(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in onStart()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragment.java73 allowDialogSubmissionOnlyIfValidInput((AlertDialog) getDialog()); in onStart()
96 allowDialogSubmissionOnlyIfValidInput((AlertDialog) getDialog()); in afterTextChanged()
/packages/apps/TV/src/com/android/tv/license/
DLicenseDialogFragment.java88 getDialog().getWindow().setLayout(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in onStart()
89 getDialog().setTitle(mLicense.getLibraryName()); in onStart()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DInfoPanel.java65 if (getDialog() != null) { in onCreateView()
66 getDialog().getWindow().requestFeature(Window.FEATURE_NO_TITLE); in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DReportDialogFragment.java160 if (getDialog() != null && getRetainInstance()) { in onDestroyView()
162 getDialog().setDismissMessage(null); in onDestroyView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DHighPowerDetail.java115 mOptionOn = setup(getDialog().findViewById(R.id.ignore_on), true); in onStart()
116 mOptionOff = setup(getDialog().findViewById(R.id.ignore_off), false); in onStart()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DHighPowerDetail.java115 mOptionOn = setup(getDialog().findViewById(R.id.ignore_on), true); in onStart()
116 mOptionOff = setup(getDialog().findViewById(R.id.ignore_off), false); in onStart()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleFragment.java195 public AlertDialog getDialog() { in getDialog() method in RequestRoleFragment
196 return (AlertDialog) super.getDialog(); in getDialog()
352 AlertDialog dialog = getDialog(); in updateUi()

123