Home
last modified time | relevance | path

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

123

/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/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/Car/Settings/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragment.java71 allowDialogSubmissionOnlyIfValidInput((AlertDialog) getDialog()); in onStart()
94 allowDialogSubmissionOnlyIfValidInput((AlertDialog) getDialog()); in afterTextChanged()
/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/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/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleFragment.java188 public AlertDialog getDialog() { in getDialog() method in RequestRoleFragment
189 return (AlertDialog) super.getDialog(); in getDialog()
219 mAdapter.setListView(getDialog().getListView()); in onStart()
336 AlertDialog dialog = getDialog(); in updateUi()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DAppSelectionFragment.java165 if (getDialog() != null) { in onStart()
166 getDialog().getWindow().setWindowAnimations(R.style.media_app_selector_animation_fade); in onStart()
/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/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java184 AlertDialog dialog = (AlertDialog)getDialog(); in onLoadFinished()
216 AlertDialog dialog = (AlertDialog)getDialog(); in updateSwitchHintVisibility()

123