/frameworks/base/core/java/android/app/ |
D | TimePickerDialog.java | 124 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()
|
D | DatePickerDialog.java | 124 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/ |
D | DialogInterface.java | 27 int BUTTON_POSITIVE = -1; field 37 int BUTTON1 = BUTTON_POSITIVE;
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityShortcutChooserActivity.java | 115 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/ |
D | InstallSuccess.java | 75 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/ |
D | FactoryErrorDialog.java | 33 setButton(DialogInterface.BUTTON_POSITIVE, in FactoryErrorDialog()
|
/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/services/core/java/com/android/server/am/ |
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/media/ |
D | MediaProjectionPermissionActivity.java | 159 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/ |
D | WifiDebuggingActivity.java | 121 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/ |
D | BugreportWarningActivity.java | 79 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbAccessoryUriActivity.java | 85 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SafetyWarningDialog.java | 59 setButton(DialogInterface.BUTTON_POSITIVE, in SafetyWarningDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | CustomListPreference.java | 154 onClick(getDialog(), DialogInterface.BUTTON_POSITIVE); in onItemConfirmed()
|
D | TunerService.java | 92 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showResetRequest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SlicePermissionActivity.java | 89 if (which == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
D | GuestResumeSessionReceiver.java | 154 private static final int BUTTON_DONTWIPE = BUTTON_POSITIVE;
|
/frameworks/base/core/java/com/android/internal/app/ |
D | UnlaunchableAppActivity.java | 101 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE && which == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
D | ConfirmUserCreationActivity.java | 127 if (which == BUTTON_POSITIVE && mCanProceed) { in onClick()
|
D | HarmfulAppWarningActivity.java | 98 case DialogInterface.BUTTON_POSITIVE: in onClick()
|
D | NetInitiatedActivity.java | 48 private static final int POSITIVE_BUTTON = AlertDialog.BUTTON_POSITIVE;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 84 setButton(BUTTON_POSITIVE, mContext.getString(resId), onClick); in setPositiveButton()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsRequestDialogTest.kt | 133 activityRule.activity.onClick(null, Dialog.BUTTON_POSITIVE) in testDialogAddsCorrectControl()
|