Home
last modified time | relevance | path

Searched refs:setNegativeButton (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java165 builder.setNegativeButton(getString(R.string.cancel), in callAddToken()
199 builder.setNegativeButton(getString(R.string.cancel), in callAddManyTokens()
224 builder.setNegativeButton(getString(R.string.cancel), in callStopAll()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java137 builder.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { in callIsAppInactive()
171 builder.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { in callSetAppLimit()
205 builder.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { in callSetAppUsageLimit()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPSettings.java57 builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { in onCreateDialog()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPSettings.java57 builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { in onCreateDialog()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasSettings.java57 builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { in onCreateDialog()
/frameworks/opt/chips/src/com/android/ex/chips/
DCopyDialog.java39 .setNegativeButton(R.string.chips_action_cancel, null) in onCreateDialog()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java262 builder.setNegativeButton(android.R.string.cancel, (dialog, which) -> { in showSecurityWarnDialog()
288 builder.setNegativeButton(android.R.string.cancel, in showDirectBootWarnDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java56 builder.setNegativeButton( in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java85 .setNegativeButton(R.string.cancel, null); in onCreate()
DDumpHeapActivity.java103 b.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() { in onCreate()
/frameworks/base/core/java/android/app/
DRecoverableSecurityException.java176 .setNegativeButton(android.R.string.cancel, null) in onCreateDialog()
DAlertDialog.java652 public Builder setNegativeButton(@StringRes int textId, final OnClickListener listener) { in setNegativeButton() method in AlertDialog.Builder
665 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton() method in AlertDialog.Builder
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java70 public void setNegativeButton(int resId, OnClickListener onClick) { in setNegativeButton() method in SystemUIDialog
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java68 .setNegativeButton(R.string.slice_permission_deny, this) in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataSaverTile.java74 dialog.setNegativeButton(com.android.internal.R.string.cancel, null); in handleClick()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java632 .setNegativeButton(R.string.cancel, ((dialog, which) -> getActivity().finish())) in onCreateDialog()
679 .setNegativeButton(R.string.cancel, (dialog, which) -> getActivity().finish()) in createDialog()
739 .setNegativeButton(R.string.cancel,
DInstallFailed.java157 .setNegativeButton(R.string.cancel, (dialog, which) -> mActivity.finish()) in onCreateDialog()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java146 dialogBuilder.setNegativeButton(android.R.string.cancel, in showConfirm()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java126 builder.setNegativeButton(negativeTextId, new CancelListener()); in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java153 .setNegativeButton(android.R.string.cancel, this) in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java163 dialogBuilder.setNegativeButton(android.R.string.cancel, this); in onCreateDialog()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java173 when(mAlertDialogBuilder.setNegativeButton(anyInt(), anyObject())) in setUp()
379 verify(mAlertDialogBuilder).setNegativeButton(eq(R.string.disable_accessibility_shortcut), in testClickingDisableButtonInDialog_shouldClearShortcutId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java163 .setNegativeButton(android.R.string.cancel, null) in bindButton()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java284 .setNegativeButton(android.R.string.cancel, this) in showConfirmAddUserDialog()
/frameworks/base/core/java/android/preference/
DDialogPreference.java321 .setNegativeButton(mNegativeButtonText, this); in showDialog()

12