Home
last modified time | relevance | path

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

12

/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/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()
DInstallFailed.java118 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.done), in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingActivity.java108 mAlert.getButton(BUTTON_POSITIVE).setOnTouchListener(filterTouchListener); in onCreate()
153 boolean allow = (which == AlertDialog.BUTTON_POSITIVE); in onClick()
DUsbAccessoryUriActivity.java85 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
/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/media/
DMediaProjectionPermissionActivity.java158 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); in onCreate()
178 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
/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/Shell/src/com/android/shell/
DBugreportWarningActivity.java79 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/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java20 import static android.content.DialogInterface.BUTTON_POSITIVE;
315 if (which == BUTTON_POSITIVE) { in onClick()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java99 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.java47 private static final int POSITIVE_BUTTON = AlertDialog.BUTTON_POSITIVE;
/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/statusbar/phone/
DSystemUIDialog.java67 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java89 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java85 Button button = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()

12