Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/app/
DTimePickerDialog.java124 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in TimePickerDialog()
152 getButton(BUTTON_POSITIVE).setOnClickListener(new View.OnClickListener() { in show()
156 TimePickerDialog.this.onClick(TimePickerDialog.this, BUTTON_POSITIVE); in show()
169 case BUTTON_POSITIVE: in onClick()
DDatePickerDialog.java124 setButton(BUTTON_POSITIVE, themeContext.getString(R.string.ok), this); in DatePickerDialog()
168 case BUTTON_POSITIVE: in onClick()
226 final Button positive = getButton(BUTTON_POSITIVE);
/frameworks/base/core/java/android/content/
DDialogInterface.java27 int BUTTON_POSITIVE = -1; field
37 int BUTTON1 = BUTTON_POSITIVE;
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityShortcutChooserActivity.java115 mMenuDialog.getButton(DialogInterface.BUTTON_POSITIVE).setText( in onDoneButtonClicked()
127 mMenuDialog.getButton(DialogInterface.BUTTON_POSITIVE).setText( in onEditButtonClicked()
143 mMenuDialog.getButton(DialogInterface.BUTTON_POSITIVE).setOnClickListener( in updateDialogListeners()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java75 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.launch), null, in onCreate()
98 Button launchButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
/frameworks/base/services/core/java/com/android/server/wm/
DFactoryErrorDialog.java33 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
/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/services/core/java/com/android/server/am/
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/media/
DMediaProjectionPermissionActivity.java159 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); in onCreate()
179 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
DWifiDebuggingActivity.java121 mAlert.getButton(BUTTON_POSITIVE).setOnTouchListener(filterTouchListener); in onCreate()
211 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java79 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSafetyWarningDialog.java59 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java154 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in onItemConfirmed()
DTunerService.java92 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showResetRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java89 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
DGuestResumeSessionReceiver.java154 private static final int BUTTON_DONTWIPE = BUTTON_POSITIVE;
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java101 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE && which == DialogInterface.BUTTON_POSITIVE) { in onClick()
DConfirmUserCreationActivity.java127 if (which == BUTTON_POSITIVE && mCanProceed) { in onClick()
DHarmfulAppWarningActivity.java98 case DialogInterface.BUTTON_POSITIVE: in onClick()
DNetInitiatedActivity.java48 private static final int POSITIVE_BUTTON = AlertDialog.BUTTON_POSITIVE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java84 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestDialogTest.kt133 activityRule.activity.onClick(null, Dialog.BUTTON_POSITIVE) in testDialogAddsCorrectControl()

123