/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | DialogFragmentTest.java | 86 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/ |
D | DialogTestUtils.java | 35 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/ |
D | ConfirmDeletionDialogTest.java | 38 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/ |
D | FullscreenDialogView.java | 80 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/ |
D | CustomListPreference.java | 133 getCustomizablePreference().onDialogStateRestored(getDialog(), savedInstanceState); in onActivityCreated() 187 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in onItemConfirmed() 188 getDialog().dismiss(); in onItemConfirmed()
|
D | EditPinPreference.java | 65 Dialog dialog = getDialog(); in isDialogOpen() 78 Dialog dialog = getDialog(); in showPinDialog()
|
D | PointerSpeedPreference.java | 121 if (getDialog() == null || !getDialog().isShowing()) return superState; in onSaveInstanceState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CustomListPreference.java | 133 getCustomizablePreference().onDialogStateRestored(getDialog(), savedInstanceState); in onActivityCreated() 187 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in onItemConfirmed() 188 getDialog().dismiss(); in onItemConfirmed()
|
D | EditPinPreference.java | 65 Dialog dialog = getDialog(); in isDialogOpen() 78 Dialog dialog = getDialog(); in showPinDialog()
|
D | PointerSpeedPreference.java | 121 if (getDialog() == null || !getDialog().isShowing()) return superState; in onSaveInstanceState()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialogFragment.java | 104 ((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/ |
D | ConfigDialogFragment.java | 104 ((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/ |
D | EmergencyNamePreference.java | 109 if (getDialog() != null && getDialog().isShowing() in onSaveInstanceState() 138 if (getDialog() != null) { in onActivityResult()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkRequestDialogFragment.java | 261 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/ |
D | NetworkRequestDialogFragment.java | 260 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/ |
D | NetworkRequestDialogFragment.java | 260 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/ |
D | DeleteFingerprintDialogTest.java | 64 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/ |
D | WebDialogFragment.java | 75 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/ |
D | ValidatedEditTextPreferenceDialogFragment.java | 73 allowDialogSubmissionOnlyIfValidInput((AlertDialog) getDialog()); in onStart() 96 allowDialogSubmissionOnlyIfValidInput((AlertDialog) getDialog()); in afterTextChanged()
|
/packages/apps/TV/src/com/android/tv/license/ |
D | LicenseDialogFragment.java | 88 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/ |
D | InfoPanel.java | 65 if (getDialog() != null) { in onCreateView() 66 getDialog().getWindow().requestFeature(Window.FEATURE_NO_TITLE); in onCreateView()
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
D | ReportDialogFragment.java | 160 if (getDialog() != null && getRetainInstance()) { in onDestroyView() 162 getDialog().setDismissMessage(null); in onDestroyView()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | HighPowerDetail.java | 115 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/ |
D | HighPowerDetail.java | 115 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/ |
D | RequestRoleFragment.java | 195 public AlertDialog getDialog() { in getDialog() method in RequestRoleFragment 196 return (AlertDialog) super.getDialog(); in getDialog() 352 AlertDialog dialog = getDialog(); in updateUi()
|