Lines Matching defs:dialog

639  * but not in the foreground, such as one sitting behind a foreground dialog)
1070 final Dialog dialog = onCreateDialog(dialogId, args);
1071 if (dialog == null) {
1074 dialog.dispatchOnCreate(state);
1075 return dialog;
1412 // save each dialog's bundle, gather the ids
1676 // Close any open search dialog
3315 * this method the first time, and hang onto it thereafter. Any dialog
3323 * <p>If you would like an opportunity to prepare your dialog before it is shown,
3326 * @param id The id of the dialog.
3327 * @param args The dialog arguments provided to {@link #showDialog(int, Bundle)}.
3328 * @return The dialog. If you return null, the dialog will not be created.
3350 protected void onPrepareDialog(int id, Dialog dialog) {
3351 dialog.setOwnerActivity(this);
3355 * Provides an opportunity to prepare a managed dialog before it is being
3360 * Override this if you need to update a managed dialog based on the state
3362 * dialog might want to be updated with the current time. You should call
3366 * @param id The id of the managed dialog.
3367 * @param dialog The dialog.
3368 * @param args The dialog arguments provided to {@link #showDialog(int, Bundle)}.
3379 protected void onPrepareDialog(int id, Dialog dialog, Bundle args) {
3380 onPrepareDialog(id, dialog);
3398 * Show a dialog managed by this activity. A call to {@link #onCreateDialog(int, Bundle)}
3400 * id. From thereafter, the dialog will be automatically saved and restored.
3405 * <p>Each time a dialog is shown, {@link #onPrepareDialog(int, Dialog, Bundle)} will
3408 * @param id The id of the managed dialog.
3409 * @param args Arguments to pass through to the dialog. These will be saved
3410 * and restored for you. Note that if the dialog is already created,
3413 * If you need to rebuild the dialog, call {@link #removeDialog(int)} first.
3450 * Dismiss a dialog that was previously shown via {@link #showDialog(int)}.
3452 * @param id The id of the managed dialog.
3480 * Creates an exception to throw if a user passed in a dialog id that is
3484 return new IllegalArgumentException("no dialog with id " + id + " was ever "
3489 * Removes any internal references to a dialog managed by this Activity.
3490 * If the dialog is showing, it will dismiss it as part of the clean up.
3492 * <p>This can be useful if you know that you will never show a dialog again and
3497 * currently have an associated dialog.</p>
3499 * @param id The id of the managed dialog.
3614 * the search dialog. Made available for testing purposes.
5748 * for dialog and translucent activities.
6471 * then the system will prompt the user with a dialog requesting permission to enter
6473 * an action described by the request dialog. Calling stopLockTask will also exit the