/frameworks/base/core/java/android/content/ |
D | DialogInterface.java | 28 public static final int BUTTON_POSITIVE = -1; field 44 public static final int BUTTON1 = BUTTON_POSITIVE;
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | AlertDialogTest.java | 141 mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE).getVisibility()); in testBasicContent() 944 final Button positiveButton = mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE); in verifyButtonContent() 1045 case DialogInterface.BUTTON_POSITIVE: in verifyDialogButtons() 1106 case DialogInterface.BUTTON_POSITIVE: in verifyDialogButtons() 1146 mAlertDialog.setButton(DialogInterface.BUTTON_POSITIVE, positiveButtonText, in verifyDialogButtonsPostCreation() 1171 case DialogInterface.BUTTON_POSITIVE: in verifyDialogButtonsPostCreation() 1209 mAlertDialog.setButton(DialogInterface.BUTTON_POSITIVE, positiveButtonText, in verifyDialogButtonsPostCreationMessage() 1210 Message.obtain(mockMessageHandler, DialogInterface.BUTTON_POSITIVE)); in verifyDialogButtonsPostCreationMessage() 1234 case DialogInterface.BUTTON_POSITIVE: in verifyDialogButtonsPostCreationMessage() 1286 verifyDialogButtons("Positive", null, null, AlertDialog.BUTTON_POSITIVE); in testButtons() [all …]
|
/frameworks/base/core/java/android/app/ |
D | DatePickerDialog.java | 122 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in DatePickerDialog() 166 case BUTTON_POSITIVE: in onClick() 224 final Button positive = getButton(BUTTON_POSITIVE);
|
D | TimePickerDialog.java | 120 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog() 139 case BUTTON_POSITIVE: in onClick()
|
D | AlertDialog.java | 331 setButton(BUTTON_POSITIVE, text, msg); in setButton() 363 setButton(BUTTON_POSITIVE, text, listener); in setButton()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 146 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); in onCreate() 165 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | FactoryErrorDialog.java | 31 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
|
D | AppWaitingForDebuggerDialog.java | 54 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
|
D | StrictModeViolationDialog.java | 66 setButton(DialogInterface.BUTTON_POSITIVE, in StrictModeViolationDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | UserUtil.java | 45 setButton(DialogInterface.BUTTON_POSITIVE, in RemoveUserDialog()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | CopyDialog.java | 45 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 55 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportWarningActivity.java | 78 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
D | ListPreferenceDialogFragment.java | 91 DialogInterface.BUTTON_POSITIVE); in onPrepareDialogBuilder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbAccessoryUriActivity.java | 85 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
|
D | UsbDebuggingActivity.java | 120 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 52 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | ListPreferenceDialogFragmentCompat.java | 109 DialogInterface.BUTTON_POSITIVE); in onPrepareDialogBuilder()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 81 Button button = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 127 if (which == BUTTON_POSITIVE && mCanProceed) { in onClick()
|
D | NetInitiatedActivity.java | 46 private static final int POSITIVE_BUTTON = AlertDialog.BUTTON_POSITIVE;
|
D | UnlaunchableAppActivity.java | 109 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE && which == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
D | AlertController.java | 161 case DialogInterface.BUTTON_POSITIVE: in handleMessage() 332 case DialogInterface.BUTTON_POSITIVE: in setButton() 413 case DialogInterface.BUTTON_POSITIVE: in getButton() 1000 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertController.java | 154 case DialogInterface.BUTTON_POSITIVE: in handleMessage() 309 case DialogInterface.BUTTON_POSITIVE: in setButton() 386 case DialogInterface.BUTTON_POSITIVE: in getButton() 843 dialog.setButton(DialogInterface.BUTTON_POSITIVE, mPositiveButtonText, in apply()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestResumeSessionReceiver.java | 149 private static final int BUTTON_DONTWIPE = BUTTON_POSITIVE;
|