Searched refs:dialog (Results 76 - 100 of 142) sorted by relevance

123456

/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageStatsActivity.java102 public void onClick(DialogInterface dialog, int which) {
111 public void onClick(DialogInterface dialog, int which) {
112 dialog.cancel();
/frameworks/base/services/core/java/com/android/server/policy/
H A DLegacyGlobalActions.java80 * Helper to show the global actions dialog. Each item is an {@link Action} that
166 * Show the global actions dialog (creating if necessary)
175 // Show delayed, so that the dismiss of the previous dialog completes
217 * Create the global actions dialog.
218 * @return A new dialog.
239 // Launch ECM exit dialog
329 GlobalActionsDialog dialog = new GlobalActionsDialog(mContext, params);
330 dialog.setCanceledOnTouchOutside(false); // Handled by the custom class.
332 dialog.getListView().setItemsCanFocus(true);
333 dialog
673 onDismiss(DialogInterface dialog) argument
689 onClick(DialogInterface dialog, int which) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbAccessoryUriActivity.java36 * show this dialog to the user to allow them to optionally visit that URL for more
57 // sanity check before displaying dialog
84 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSafetyWarningDialog.java84 public void onClick(DialogInterface dialog, int which) { argument
H A DVolumeDialogComponent.java46 * Implementation of VolumeComponent backed by the new volume dialog.
85 .withCallback(dialog -> {
89 mDialog = dialog;
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreferenceDialogFragment.java106 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DMultiSelectListPreferenceDialogFragmentCompat.java106 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
/frameworks/base/core/java/android/app/
H A DDialogFragment.java32 * A fragment that displays a dialog window, floating on top of its
35 * the dialog (deciding when to show, hide, dismiss it) should be done through
36 * the API here, not with direct calls on the dialog.
40 * content of the dialog. Alternatively, they can override
41 * {@link #onCreateDialog(Bundle)} to create an entirely custom dialog, such
63 * events from the dialog and takes care of removing its own state when they
67 * remove itself when the dialog is dismissed.
76 * dialog}
83 * <p>This removes any currently shown dialog, creates a new DialogFragment
94 * generate the view hierarchy inside of a dialog, yo
451 onCancel(DialogInterface dialog) argument
454 onDismiss(DialogInterface dialog) argument
[all...]
H A DTimePickerDialog.java33 * A dialog that prompts the user for the time of day using a
59 * Called when the user is done setting a new time and the dialog has
70 * Creates a new time picker dialog.
94 * Creates a new time picker dialog with the specified theme.
97 * If {@code themeResId} is 0, the dialog will be inflated using the theme
103 * @param themeResId the resource ID of the theme to apply to this dialog
134 * @return the time picker displayed in the dialog
162 public void onClick(DialogInterface dialog, int which) { argument
H A DSearchManager.java53 * <p>For more information about using the search dialog and adding search
622 // Don't show search dialog on televisions.
721 * the search dialog. Made available for testing purposes.
821 public void onCancel(DialogInterface dialog) { argument
831 public void onDismiss(DialogInterface dialog) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DForegroundServicesDialog.java68 public void onClick(DialogInterface dialog, int which) {
130 // This is a transient dialog, if the user leaves it then it goes away,
150 public void onClick(DialogInterface dialog, int which) { argument
H A DGuestResumeSessionReceiver.java169 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaProjectionPermissionActivity.java102 // message below the fold of the dialog. Labels shouldn't have new line
163 public void onClick(DialogInterface dialog, int which) { argument
195 public void onCancel(DialogInterface dialog) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileServiceManager.java110 public void setShowingDialog(boolean dialog) { argument
111 mShowingDialog = dialog;
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java142 public void onClick(DialogInterface dialog, int which) {
148 public void onClick(DialogInterface dialog, int which) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java1781 // TODO: dismiss dialog if not already done
1819 // TODO: dismiss dialog if not already done
2056 AlertDialog dialog = new AlertDialog.Builder(mContext)
2061 public void onClick(DialogInterface dialog, int which) {
2067 public void onClick(DialogInterface dialog, int which) {
2078 dialog.setCanceledOnTouchOutside(false);
2080 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
2081 WindowManager.LayoutParams attrs = dialog.getWindow().getAttributes();
2083 dialog.getWindow().setAttributes(attrs);
2084 dialog
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java333 public void onClick(DialogInterface dialog, int which) {
354 AlertDialog dialog = new AlertDialog.Builder(mContext)
359 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
360 dialog.show();
414 public void onClick(DialogInterface dialog, int which) { argument
422 if (DBG) log("Not now clicked for carrier app dialog.");
436 AlertDialog dialog = new AlertDialog.Builder(mContext)
441 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
442 dialog.show();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java320 AlertDialog dialog = new Builder(mContext)
323 public void onClick(DialogInterface dialog, int which) {
334 SystemUIDialog.setShowForAllUsers(dialog, true);
335 SystemUIDialog.applyFlags(dialog);
336 dialog.show();
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java453 Dialog dialog = session.mDialog;
454 if (dialog == null) return Response.DECLINE;
456 if (!dialog.getLocalTag().equals(replaces.getToTag()) ||
457 !dialog.getRemoteTag().equals(replaces.getFromTag())) {
465 !dialog.getRemoteParty().equals(referredBy.getAddress())) {
774 Dialog dialog = null;
776 dialog = ((RequestEvent) evt).getDialog();
778 dialog = ((ResponseEvent) evt).getDialog();
781 if (dialog != null) mDialog = dialog;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java177 final AlertDialog dialog = new AlertDialog.Builder(mContext)
184 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
186 dialog.show();
272 // N attempts. Once we get below the grace period, we post this dialog every time as a
/frameworks/base/core/java/com/android/internal/app/
H A DConfirmUserCreationActivity.java125 public void onClick(DialogInterface dialog, int which) { argument
H A DNetInitiatedActivity.java37 * requests. It uses the alert dialog style. It will be launched from a notification.
86 // Set up the "dialog"
123 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerNotificationWarnings.java270 d.setOnDismissListener(dialog -> mHighTempDialog = null);
288 d.setOnDismissListener(dialog -> mThermalShutdownDialog = null);
376 public void onDismiss(DialogInterface dialog) {
431 public void onClick(DialogInterface dialog, int which) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerFragment.java145 public void onClick(DialogInterface dialog, int which) {
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java90 // Fallback to null to show the dialog
124 public void onClick(DialogInterface dialog, int which) { argument

Completed in 688 milliseconds

123456