/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageStatsActivity.java | 102 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 D | LegacyGlobalActions.java | 80 * 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 D | UsbAccessoryUriActivity.java | 36 * 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 D | SafetyWarningDialog.java | 84 public void onClick(DialogInterface dialog, int which) { argument
|
H A D | VolumeDialogComponent.java | 46 * 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 D | MultiSelectListPreferenceDialogFragment.java | 106 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | MultiSelectListPreferenceDialogFragmentCompat.java | 106 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
|
/frameworks/base/core/java/android/app/ |
H A D | DialogFragment.java | 32 * 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 D | TimePickerDialog.java | 33 * 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 D | SearchManager.java | 53 * <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 D | ForegroundServicesDialog.java | 68 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 D | GuestResumeSessionReceiver.java | 169 public void onClick(DialogInterface dialog, int which) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaProjectionPermissionActivity.java | 102 // 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 D | TileServiceManager.java | 110 public void setShowingDialog(boolean dialog) { argument 111 mShowingDialog = dialog;
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
H A D | TrackerActivity.java | 142 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 D | WifiP2pServiceImpl.java | 1781 // 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 D | UiccCard.java | 333 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 D | TileAdapter.java | 320 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 D | SipSessionGroup.java | 453 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 D | KeyguardSecurityContainer.java | 177 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 D | ConfirmUserCreationActivity.java | 125 public void onClick(DialogInterface dialog, int which) { argument
|
H A D | NetInitiatedActivity.java | 37 * 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 D | PowerNotificationWarnings.java | 270 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 D | TunerFragment.java | 145 public void onClick(DialogInterface dialog, int which) {
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 90 // Fallback to null to show the dialog 124 public void onClick(DialogInterface dialog, int which) { argument
|