Searched refs:dialog (Results 1 - 25 of 67) sorted by relevance

123

/frameworks/base/core/java/android/content/
H A DDialogInterface.java63 * Interface used to allow the creator of a dialog to run some code when the
64 * dialog is canceled.
66 * This will only be called when the dialog is canceled, if the creator
72 * This method will be invoked when the dialog is canceled.
74 * @param dialog The dialog that was canceled will be passed into the
77 public void onCancel(DialogInterface dialog); argument
81 * Interface used to allow the creator of a dialog to run some code when the
82 * dialog is dismissed.
86 * This method will be invoked when the dialog i
91 onDismiss(DialogInterface dialog) argument
105 onShow(DialogInterface dialog) argument
122 onClick(DialogInterface dialog, int which) argument
137 onClick(DialogInterface dialog, int which, boolean isChecked) argument
156 onKey(DialogInterface dialog, int keyCode, KeyEvent event) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java27 * Media route chooser dialog fragment.
30 * this dialog fragment to customize the media route chooser dialog.
41 * Creates a media route chooser dialog fragment.
65 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog();
66 if (dialog != null) {
67 dialog.setRouteTypes(types);
76 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog();
77 if (dialog != null) {
78 dialog
[all...]
H A DAlertController.java155 public ButtonHandler(DialogInterface dialog) { argument
156 mDialog = new WeakReference<DialogInterface>(dialog);
266 * Set the view to display in the dialog.
274 * Set the view to display in the dialog along with the spacing around that view
799 * @param listView The ListView that will be shown in the dialog.
810 public void apply(AlertController dialog) { argument
812 dialog.setCustomTitle(mCustomTitleView);
815 dialog.setTitle(mTitle);
818 dialog.setIcon(mIcon);
821 dialog
868 createListView(final AlertController dialog) argument
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialogFragment.java26 * Media route chooser dialog fragment.
29 * this dialog fragment to customize the media route chooser dialog.
38 * Creates a media route chooser dialog fragment.
91 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog();
92 if (dialog != null) {
93 dialog.setRouteSelector(selector);
99 * Called when the chooser dialog is being created.
101 * Subclasses may override this method to customize the dialog.
111 MediaRouteChooserDialog dialog
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceScreen.java174 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId());
176 dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
178 dialog.setTitle(title);
180 dialog.setContentView(childPrefScreen);
181 dialog.setOnDismissListener(this);
183 dialog.onRestoreInstanceState(state);
187 getPreferenceManager().addPreferencesScreen(dialog);
189 dialog.show();
192 public void onDismiss(DialogInterface dialog) { argument
194 getPreferenceManager().removePreferencesScreen(dialog);
[all...]
H A DDialogPreference.java40 * dialog-based. These preferences will, when clicked, open a dialog showing the
62 /** The dialog, if it is showing. */
94 * Sets the title of the dialog. This will be shown on subsequent dialogs.
104 * @param dialogTitleResId The dialog title as a resource.
119 * Sets the message of the dialog. This will be shown on subsequent dialogs.
121 * This message forms the content View of the dialog and conflicts with
122 * list-based dialogs, for example. If setting a custom View on a dialog via
134 * @param dialogMessageResId The dialog message as a resource.
149 * Sets the icon of the dialog
324 requestInputMethod(Dialog dialog) argument
374 onClick(DialogInterface dialog, int which) argument
378 onDismiss(DialogInterface dialog) argument
[all...]
H A DVolumePreference.java51 /** May be null if the dialog isn't visible. */
77 // dialog doesn't also show the normal volume adjust toast.
132 Dialog dialog = getDialog();
133 if (dialog != null && dialog.isShowing()) {
134 View view = dialog.getWindow().getDecorView()
137 // Stopped while dialog was showing, revert changes
H A DListPreference.java30 * a dialog.
247 public void onClick(DialogInterface dialog, int which) {
252 * click, and dismisses the dialog.
254 ListPreference.this.onClick(dialog, DialogInterface.BUTTON_POSITIVE);
255 dialog.dismiss();
261 * click-on-an-item dismiss the dialog instead of the user having to
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeBackgroundService.java76 Dialog dialog = new Dialog(this, android.R.style.Theme_Holo_Dialog);
77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
78 dialog.getWindow().setFlags(
88 dialog.getWindow().setDimAmount(0);
89 dialog.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT,
91 WindowManager.LayoutParams lp = dialog.getWindow().getAttributes();
97 dialog.getWindow().setAttributes(lp);
98 dialog.getWindow().setContentView(view);
99 dialog.show();
H A DFakeApp.java110 Dialog dialog = builder.create();
111 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
112 dialog.show();
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
H A DNetworkOverLimitActivity.java60 public void onClick(DialogInterface dialog, int which) {
65 final Dialog dialog = builder.create();
66 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
67 public void onDismiss(DialogInterface dialog) {
72 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
73 dialog.show();
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerDialog.java94 Dialog dialog = super.onCreateDialog(savedInstanceState);
95 dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
96 dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
97 return dialog;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java47 * Shows menu as a dialog.
55 // Get the builder for the dialog
92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { argument
115 dialog.dismiss();
133 * Dismisses the menu's dialog.
144 public void onDismiss(DialogInterface dialog) { argument
166 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuDialogHelper.java48 * Shows menu as a dialog.
56 // Get the builder for the dialog
95 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { argument
118 dialog.dismiss();
136 * Dismisses the menu's dialog.
147 public void onDismiss(DialogInterface dialog) { argument
169 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/core/java/android/app/
H A DAlertDialog.java40 * display a String in this dialog box, use the setMessage() method. If you
52 * any views in the dialog return true from {@link View#onCheckIsTextEditor()
69 * the traditional (pre-Holo) alert dialog theme.
105 * to get the dialog's style (such as {@link android.R.attr#alertDialogTheme}
150 * Gets one of the buttons used in the dialog.
152 * If a button does not exist in the dialog, null will be returned.
157 * @return The button from the dialog, or null if a button does not exist.
164 * Gets the list view used in the dialog.
166 * @return The {@link ListView} from the dialog.
190 * Set the view to display in that dialog
[all...]
H A DProgressDialog.java38 * <p>A dialog showing a progress indicator and an optional text message or view.
40 * <p>The dialog can be made cancelable on back key press.</p>
110 ProgressDialog dialog = new ProgressDialog(context);
111 dialog.setTitle(title);
112 dialog.setMessage(message);
113 dialog.setIndeterminate(indeterminate);
114 dialog.setCancelable(cancelable);
115 dialog.setOnCancelListener(cancelListener);
116 dialog.show();
117 return dialog;
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java310 public ClientTransaction sendReinvite(Dialog dialog, argument
313 Request request = dialog.createRequest(Request.INVITE);
328 dialog.sendRequest(clientTransaction);
424 public void sendInviteAck(ResponseEvent event, Dialog dialog) argument
429 Request ack = dialog.createAck(cseq);
431 dialog.sendAck(ack);
434 public void sendBye(Dialog dialog) throws SipException { argument
435 Request byeRequest = dialog.createRequest(Request.BYE);
437 dialog.sendRequest(mSipProvider.getNewClientTransaction(byeRequest));
463 public void sendReferNotify(Dialog dialog, Strin argument
530 getCallId(Dialog dialog) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DCreateDirectoryFragment.java50 final CreateDirectoryFragment dialog = new CreateDirectoryFragment();
51 dialog.show(fm, TAG_CREATE_DIRECTORY);
70 public void onClick(DialogInterface dialog, int which) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DSettingsUI.java45 if (DEBUG) Log.d(TAG, "showing brightness dialog");
51 public void onDismiss(DialogInterface dialog) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java76 * Helper to show the global actions dialog. Each item is an {@link Action} that
142 * Show the global actions dialog (creating if necessary)
151 // Show delayed, so that the dismiss of the previous dialog completes
183 * Create the global actions dialog.
184 * @return A new dialog.
204 // Launch ECM exit dialog
281 public void onClick(DialogInterface dialog, int which) {
283 // dialog a chance to go away before it takes a
296 AlertDialog dialog = builder.create();
297 dialog
421 onDismiss(DialogInterface dialog) argument
433 onClick(DialogInterface dialog, int which) argument
[all...]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBench.java106 public void onClick(DialogInterface dialog, int item) {
122 public void onClick(DialogInterface dialog, int item) {
/frameworks/base/core/java/android/webkit/
H A DPlugin.java200 // Show a simple popup dialog containing the description
217 public void onClick(DialogInterface dialog, int which) { argument
H A DJsDialogHelper.java89 Log.w(TAG, "Cannot create a dialog, the WebView context is not an Activity");
132 public void onCancel(DialogInterface dialog) { argument
136 public void onClick(DialogInterface dialog, int which) { argument
149 public void onClick(DialogInterface dialog, int which) { argument
177 // We can only display the alert dialog if mContext is
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportWarningActivity.java68 public void onClick(DialogInterface dialog, int which) { argument
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DVersionDialog.java32 * This is the dialog we show when the library's version is older than
40 // Need to use our library's resources for showing the dialog.
57 public void onClick(DialogInterface dialog, int which) {

Completed in 1150 milliseconds

123