Home
last modified time | relevance | path

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

12

/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/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/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/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/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/opt/net/wifi/service/java/com/android/server/wifi/
DConnectionFailureNotificationBuilder.java117 .setNegativeButton(R.string.no, null); in buildChangeMacRandomizationSettingDialog()
/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/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/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDataSaverTile.java77 dialog.setNegativeButton(com.android.internal.R.string.cancel, null); in handleClick()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java99 .setNegativeButton(android.R.string.cancel, (dialog, which) -> { in onCreate()
/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()

12