Home
last modified time | relevance | path

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

12

/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
DEditInfoActivityTest.java166 assertTrue(clearAllDialogFragmentAfterwards.getDialog().isShowing()); in testClearAllPreferences()
171 ((AlertDialog) clearAllDialogFragmentAfterwards.getDialog()) in testClearAllPreferences()
227 assertTrue(dialog.getDialog().isShowing()); in testWarningDialog_onPauseAndResume()
235 assertTrue(dialogAfterOnResume.getDialog().isShowing()); in testWarningDialog_onPauseAndResume()
244 assertTrue(dialogFragment.getDialog().isShowing()); in testWarningDialog_negativeButton()
248 ((AlertDialog) dialogFragment.getDialog()) in testWarningDialog_negativeButton()
255 assertNull(dialogFragment.getDialog()); in testWarningDialog_negativeButton()
263 assertTrue(dialogFragment.getDialog().isShowing()); in testWarningDialog_positiveButton()
268 ((AlertDialog) dialogFragment.getDialog()) in testWarningDialog_positiveButton()
274 assertNull(dialogFragment.getDialog()); in testWarningDialog_positiveButton()
[all …]
/packages/apps/Settings/src/com/android/settings/
DCustomEditTextPreference.java50 return mFragment != null ? (EditText) mFragment.getDialog().findViewById(android.R.id.edit) in getEditText()
55 return getDialog() != null && getDialog().isShowing(); in isDialogOpen()
58 public Dialog getDialog() { in getDialog() method in CustomEditTextPreference
59 return mFragment != null ? mFragment.getDialog() : null; in getDialog()
DCustomDialogPreference.java50 return getDialog() != null && getDialog().isShowing(); in isDialogOpen()
53 public Dialog getDialog() { in getDialog() method in CustomDialogPreference
54 return mFragment != null ? mFragment.getDialog() : null; in getDialog()
DCustomListPreference.java130 getCustomizablePreference().onDialogStateRestored(getDialog(), savedInstanceState); in onActivityCreated()
184 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in onItemConfirmed()
185 getDialog().dismiss(); in onItemConfirmed()
DEditPinPreference.java62 Dialog dialog = getDialog(); in isDialogOpen()
75 Dialog dialog = getDialog(); in showPinDialog()
DPointerSpeedPreference.java121 if (getDialog() == null || !getDialog().isShowing()) return superState; in onSaveInstanceState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DDeviceProfilesSettingsTest.java103 ViewGroup profilesGroup = mFragment.getDialog().findViewById(R.id.profiles_section); in deviceHasHighQualityAudio()
127 ViewGroup profilesGroup = mFragment.getDialog().findViewById(R.id.profiles_section); in busyDeviceDisablesControl()
142 ViewGroup profilesGroup = mFragment.getDialog().findViewById(R.id.profiles_section); in mediaAudioGetsDisabledAndReEnabled()
181 ViewGroup profilesGroup = mFragment.getDialog().findViewById(R.id.profiles_section); in mediaAudioStartsDisabled()
200 ViewGroup profilesGroup = mFragment.getDialog().findViewById(R.id.profiles_section); in deviceDoesntHaveHighQualityAudio()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/
DNameAutoCompletePreferenceTest.java126 assertNull(mNameAutoCompletePreference.getDialog()); in testDialogShowAndDismiss_positiveButton()
134 final AlertDialog dialog = (AlertDialog) mNameAutoCompletePreference.getDialog(); in testDialogShowAndDismiss_positiveButton()
147 assertNull(mNameAutoCompletePreference.getDialog()); in testDialogShowAndDismiss_negativeButton()
154 final AlertDialog dialog = (AlertDialog) mNameAutoCompletePreference.getDialog(); in testDialogShowAndDismiss_negativeButton()
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/
DSupportDisclaimerDialogFragmentTest.java75 CheckBox doNotShow = (CheckBox) fragment.getDialog() in onClick_DoNotShowCheckedLogsAction()
80 fragment.onClick(fragment.getDialog(), Dialog.BUTTON_POSITIVE); in onClick_DoNotShowCheckedLogsAction()
92 CheckBox doNotShow = (CheckBox) fragment.getDialog() in onClick_DoNotShowUncheckedDoesNotLogAction()
97 fragment.onClick(fragment.getDialog(), Dialog.BUTTON_POSITIVE); in onClick_DoNotShowUncheckedDoesNotLogAction()
/packages/apps/TV/src/com/android/tv/ui/
DFullscreenDialogView.java82 protected Dialog getDialog() { in getDialog() method in FullscreenDialogView
123 v.initialize(getActivity(), getDialog()); in transitionTo()
124 getDialog().setContentView(v); in transitionTo()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DAutoCompleteEditTextPreference.java76 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in AutoCompleteEditTextPreference()
77 getDialog().dismiss(); in AutoCompleteEditTextPreference()
124 Window window = getDialog().getWindow(); in showDialog()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialogFragment.java128 ((AlertDialog) getDialog()).getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(this); in onShow()
133 onClick(getDialog(), AlertDialog.BUTTON_POSITIVE); in onClick()
145 ConfigDialog dialog = (ConfigDialog) getDialog(); in onClick()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java185 AlertDialog dialog = (AlertDialog)getDialog(); in onLoadFinished()
218 AlertDialog dialog = (AlertDialog)getDialog(); in updateSwitchHintVisibility()
226 AlertDialog dialog = (AlertDialog)getDialog(); in showSetupKeyboardLayoutsIfNecessary()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java74 getDialog().setTitle(title); in onCreateView()
89 getDialog().getWindow().setLayout(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 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/Settings/src/com/android/settings/fuelgauge/
DHighPowerDetail.java103 mOptionOn = setup(getDialog().findViewById(R.id.ignore_on), true); in onStart()
104 mOptionOff = setup(getDialog().findViewById(R.id.ignore_off), false); in onStart()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java192 getDialog().getWindow().requestFeature(Window.FEATURE_NO_TITLE); in onCreateView()
193 getDialog().setCanceledOnTouchOutside(true); in onCreateView()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DHalfSizedDialogFragment.java57 getDialog().setOnKeyListener(new DialogInterface.OnKeyListener() { in onStart()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
DPresetManagementDialog.java44 getDialog().setTitle(getString(R.string.filtershow_save_preset)); in onCreateView()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DIndeterminateProgressDialog.java142 mOldDialog = getDialog(); in onDestroyView()
/packages/apps/Email/src/com/android/email/activity/setup/
DCheckSettingsProgressDialogFragment.java70 final AlertDialog dialog = (AlertDialog) getDialog(); in updateProgress()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentProgressDialogFragment.java118 return getDialog() != null in isShowingDialogForAttachment()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailDialogUtil.java39 public static Dialog getDialog(VoicemailSettingsActivity parent, int id) { in getDialog() method in VoicemailDialogUtil
DVoicemailSettingsActivity.java329 final Dialog dialog = ((PreferenceScreen) preference).getDialog(); in onPreferenceTreeClick()
562 return VoicemailDialogUtil.getDialog(this, dialogId); in onCreateDialog()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSingleFolderSelectionDialog.java74 final AlertDialog dialog = (AlertDialog) getDialog(); in onCreate()

12