Home
last modified time | relevance | path

Searched refs:BUTTON_POSITIVE (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/java/android/content/
DDialogInterface.java28 public static final int BUTTON_POSITIVE = -1; field
44 public static final int BUTTON1 = BUTTON_POSITIVE;
/frameworks/base/core/java/android/app/
DDatePickerDialog.java122 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in DatePickerDialog()
166 case BUTTON_POSITIVE: in onClick()
224 final Button positive = getButton(BUTTON_POSITIVE);
DTimePickerDialog.java122 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog()
150 case BUTTON_POSITIVE: in onClick()
DAlertDialog.java331 setButton(BUTTON_POSITIVE, text, msg); in setButton()
363 setButton(BUTTON_POSITIVE, text, listener); in setButton()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogTest.java141 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/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java146 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/
DFactoryErrorDialog.java31 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
DAppWaitingForDebuggerDialog.java54 setButton(DialogInterface.BUTTON_POSITIVE, "Force Close", mHandler.obtainMessage(1, app)); in AppWaitingForDebuggerDialog()
DStrictModeViolationDialog.java66 setButton(DialogInterface.BUTTON_POSITIVE, in StrictModeViolationDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DUserUtil.java45 setButton(DialogInterface.BUTTON_POSITIVE, in RemoveUserDialog()
/frameworks/opt/chips/src/com/android/ex/chips/
DCopyDialog.java45 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java55 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DUserInactivityCountdownDialog.java56 setButton(Dialog.BUTTON_POSITIVE, in setPositiveButtonClickListener()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DListPreferenceDialogFragment.java91 DialogInterface.BUTTON_POSITIVE); in onPrepareDialogBuilder()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java78 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java85 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
DUsbDebuggingActivity.java120 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java52 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DListPreferenceDialogFragmentCompat.java110 DialogInterface.BUTTON_POSITIVE); in onPrepareDialogBuilder()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java81 Button button = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java46 private static final int POSITIVE_BUTTON = AlertDialog.BUTTON_POSITIVE;
DConfirmUserCreationActivity.java127 if (which == BUTTON_POSITIVE && mCanProceed) { in onClick()
DUnlaunchableAppActivity.java113 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE && which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertController.java154 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/
DGuestResumeSessionReceiver.java149 private static final int BUTTON_DONTWIPE = BUTTON_POSITIVE;

12