Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java86 builder.setPositiveButton(R.string.work_mode_turn_on, this) in onCreate()
89 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/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DErrorDialogFragment.java36 .setPositiveButton(android.R.string.ok, null); in onCreateDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DChallengeDialogs.kt77 setPositiveButton( in <lambda>()
129 setPositiveButton( in <lambda>()
DStatusBehavior.kt73 setPositiveButton( in <lambda>()
/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/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/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPSettings.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/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java135 .setPositiveButton(android.R.string.ok, null) in onCatClick()
162 .setPositiveButton(android.R.string.ok, new OnClickListener() { in showNameDialog()
243 … .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onBindViewHolder()
/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()
DUnsupportedCompileSdkDialog.java49 .setPositiveButton(R.string.ok, null) in UnsupportedCompileSdkDialog()
DDeprecatedTargetSdkVersionDialog.java53 .setPositiveButton(R.string.ok, (dialog, which) -> in DeprecatedTargetSdkVersionDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java402 d.setPositiveButton(com.android.internal.R.string.ok, null); in showHighTemperatureDialog()
420 d.setPositiveButton(com.android.internal.R.string.ok, null); in showThermalShutdownDialog()
464 d.setPositiveButton((com.android.internal.R.string.ok), in showUsbHighTemperatureAlarmInternal()
579 d.setPositiveButton(com.android.internal.R.string.confirm_battery_saver, in showStartSaverConfirmation()
597 d.setPositiveButton(R.string.battery_saver_confirmation_ok, in showStartSaverConfirmation()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java252 builder.setPositiveButton(android.R.string.ok, (dialog, which) -> { in showSecurityWarnDialog()
288 builder.setPositiveButton(android.R.string.ok, (dialog, which) -> setCheckedInternal(true)); in showDirectBootWarnDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java55 builder.setPositiveButton(android.R.string.ok, null); in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java608 .setPositiveButton(R.string.ok, (dialog, which) -> getActivity().finish()) in onCreateDialog()
625 .setPositiveButton(R.string.anonymous_source_continue, in onCreateDialog()
673 .setPositiveButton(R.string.manage_applications, (dialog, which) -> { in createDialog()
725 .setPositiveButton(R.string.external_sources_settings,
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java61 .setPositiveButton(R.string.ok, null /* listener */);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectionFailureNotificationBuilder.java109 .setPositiveButton( in buildChangeMacRandomizationSettingDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DCustomListPreference.java97 builder.setPositiveButton(com.android.internal.R.string.ok, new OnClickListener() { in onPrepareDialogBuilder()
/frameworks/base/core/java/android/app/
DRecoverableSecurityException.java170 .setPositiveButton(e.mUserAction.getTitle(), (dialog, which) -> { in onCreateDialog()

123