Home
last modified time | relevance | path

Searched refs:setPositiveButton (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java84 builder.setPositiveButton(R.string.work_mode_turn_on, this) in onCreate()
87 builder.setPositiveButton(R.string.ok, null); in onCreate()
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java149 builder.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener() { in callAddToken()
183 builder.setPositiveButton(getString(R.string.ok), in callAddManyTokens()
214 builder.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener() { in callStopAll()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java128 builder.setPositiveButton("OK", new DialogInterface.OnClickListener() { in callIsAppInactive()
155 builder.setPositiveButton("OK", new DialogInterface.OnClickListener() { in callSetAppLimit()
189 builder.setPositiveButton("OK", new DialogInterface.OnClickListener() { in callSetAppUsageLimit()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java115 builder.setPositiveButton(positiveTextId, new PositiveListener(null)); in showDialog()
121 builder.setPositiveButton(positiveTextId, new PositiveListener(edit)); in showDialog()
DPlugin.java205 .setPositiveButton(R.string.ok, this) in handleClickEvent()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DErrorDialogFragment.java36 .setPositiveButton(android.R.string.ok, null); in onCreateDialog()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPSettings.java51 builder.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPSettings.java51 builder.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasSettings.java51 builder.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
/frameworks/opt/chips/src/com/android/ex/chips/
DCopyDialog.java38 .setPositiveButton(R.string.chips_action_copy, this) in onCreateDialog()
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DVersionDialog.java54 builder.setPositiveButton(res.getText(R.string.upgrade_button), in onCreateDialog()
/frameworks/base/services/core/java/com/android/server/wm/
DUnsupportedDisplaySizeDialog.java47 .setPositiveButton(R.string.ok, null) in UnsupportedDisplaySizeDialog()
DDeprecatedTargetSdkVersionDialog.java53 .setPositiveButton(R.string.ok, (dialog, which) -> in DeprecatedTargetSdkVersionDialog()
DUnsupportedCompileSdkDialog.java49 .setPositiveButton(R.string.ok, null) in UnsupportedCompileSdkDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java400 d.setPositiveButton(com.android.internal.R.string.ok, null); in showHighTemperatureDialog()
418 d.setPositiveButton(com.android.internal.R.string.ok, null); in showThermalShutdownDialog()
462 d.setPositiveButton((com.android.internal.R.string.ok), in showUsbHighTemperatureAlarmInternal()
577 d.setPositiveButton(com.android.internal.R.string.confirm_battery_saver, in showStartSaverConfirmation()
595 d.setPositiveButton(R.string.battery_saver_confirmation_ok, in showStartSaverConfirmation()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java251 builder.setPositiveButton(android.R.string.ok, (dialog, which) -> { in showSecurityWarnDialog()
287 builder.setPositiveButton(android.R.string.ok, (dialog, which) -> setCheckedInternal(true)); in showDirectBootWarnDialog()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java607 .setPositiveButton(R.string.ok, (dialog, which) -> getActivity().finish()) in onCreateDialog()
624 .setPositiveButton(R.string.anonymous_source_continue, in onCreateDialog()
672 .setPositiveButton(R.string.manage_applications, (dialog, which) -> { in createDialog()
724 .setPositiveButton(R.string.external_sources_settings,
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java55 builder.setPositiveButton(android.R.string.ok, null); in onCreate()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java267 .setPositiveButton(android.R.string.ok, null) in showMaxUserLimitReachedDialog()
285 .setPositiveButton(android.R.string.ok, this) in showConfirmAddUserDialog()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java59 .setPositiveButton(R.string.ok, null /* listener */);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java97 builder.setPositiveButton(com.android.internal.R.string.ok, new OnClickListener() { in onPrepareDialogBuilder()
DTunerFragment.java144 .setPositiveButton(R.string.got_it, new DialogInterface.OnClickListener() { in onCreateDialog()
/frameworks/base/core/java/android/app/
DRecoverableSecurityException.java170 .setPositiveButton(e.mUserAction.getTitle(), (dialog, which) -> { in onCreateDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java66 public void setPositiveButton(int resId, OnClickListener onClick) { in setPositiveButton() method in SystemUIDialog
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java69 .setPositiveButton(R.string.slice_permission_allow, this) in onCreate()

123