Home
last modified time | relevance | path

Searched refs:RESULT_CANCELED (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume()
121 if (resultCode != RESULT_CANCELED) { in onActivityResult()
122 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
129 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
132 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
135 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
138 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
144 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
DActivityTestsBase.java109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
150 if (res == Activity.RESULT_CANCELED) { in waitForResultOrThrow()
188 mResultCode = Activity.RESULT_CANCELED; in waitForResult()
209 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(msg)); in onTimeout()
DBroadcastTest.java393 null, finish, null, Activity.RESULT_CANCELED, null, null); in testRegisteredReceivePermissionDenied()
420 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRegisteredBroadcastPermissionDenied()
442 null, finish, null, Activity.RESULT_CANCELED, in testLocalReceivePermissionDenied()
466 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testLocalBroadcastPermissionDenied()
488 null, finish, null, Activity.RESULT_CANCELED, in testRemoteReceivePermissionDenied()
512 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, in testRemoteBroadcastPermissionDenied()
DIntentSenderTest.java55 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied()
82 is.send(Activity.RESULT_CANCELED, finish, null); in testLocalReceivePermissionDenied()
DClearTop.java45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
DLaunchpadActivity.java143 private int mResultCode = RESULT_CANCELED;
351 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
357 finishWithResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); in finishBad()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentReceiveResultTest.java71 startActivityForResult(20, Activity.RESULT_CANCELED, "content 20"); in testStartActivityForResultCanceled()
75 assertEquals(Activity.RESULT_CANCELED, mFragment.mResultCode); in testStartActivityForResultCanceled()
93 startIntentSenderForResult(40, Activity.RESULT_CANCELED, "content 40"); in testStartIntentSenderForResultCanceled()
97 assertEquals(Activity.RESULT_CANCELED, mFragment.mResultCode); in testStartIntentSenderForResultCanceled()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java60 setResult(Activity.RESULT_CANCELED); in onCreate()
74 setResult(Activity.RESULT_CANCELED); in onCreate()
84 setResult(Activity.RESULT_CANCELED); in onCreate()
169 setResult(RESULT_CANCELED); in onClick()
DChooseTypeAndAccountActivity.java293 if (resultCode == RESULT_CANCELED) { in onActivityResult()
297 setResult(Activity.RESULT_CANCELED); in onActivityResult()
350 setResult(Activity.RESULT_CANCELED); in onActivityResult()
383 setResult(Activity.RESULT_CANCELED); in run()
DChooseAccountActivity.java62 setResult(RESULT_CANCELED); in onCreate()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DOpenExternalDirectoryActivity.java108 setResult(RESULT_CANCELED); in onCreate()
118 setResult(RESULT_CANCELED); in onCreate()
131 setResult(RESULT_CANCELED); in onCreate()
138 setResult(RESULT_CANCELED); in onCreate()
448 mActivity.setResult(RESULT_CANCELED); in onCreateDialog()
500 activity.setResult(RESULT_CANCELED); in onCancel()
DPickFragment.java93 activity.setResult(Activity.RESULT_CANCELED);
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
DSetAlarm.java106 finish(Activity.RESULT_CANCELED, ret); in errorFinish()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java126 setResult(RESULT_CANCELED); in onClick()
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dfilters.jd199 android.app.Activity#RESULT_OK} 或 {@link android.app.Activity#RESULT_CANCELED}。然後,您可以視需要為其他資料提供 {@l…
203 android.app.Activity#RESULT_CANCELED}。因此,若使用者在完成行為之前以及在您設定結果之前按下 [後退] 按鈕<em></em>,原始應用行為顯示會收到「已取消」結…
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dfilters.jd199 android.app.Activity#RESULT_OK} или {@link android.app.Activity#RESULT_CANCELED}. После этого при
203 android.app.Activity#RESULT_CANCELED}. Таким образом, если пользователь нажимает кнопку <em>Назад</…
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dfilters.jd199 android.app.Activity#RESULT_OK} 또는 {@link android.app.Activity#RESULT_CANCELED}입니다. 그런 다음 필요한 경우 {@…
203 android.app.Activity#RESULT_CANCELED}로 설정됩니다. 따라서 작업을 완료하기 전과
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dfilters.jd199 android.app.Activity#RESULT_OK} または {@link android.app.Activity#RESULT_CANCELED} のいずれかになります。その後、必要に…
203 android.app.Activity#RESULT_CANCELED} に設定されています。したがって、ユーザーがアクションを完了する前に<em>戻る</em>ボタンを押して、結果がまだ設定され…
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dfilters.jd199 android.app.Activity#RESULT_OK} 或 {@link android.app.Activity#RESULT_CANCELED}。您之后可以根据需要为
203 android.app.Activity#RESULT_CANCELED}。因此,如果用户在完成操作动作或设置结果之前按了<em>返回</em>按钮,原始Activity会收到“已取消”的结果。
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentReceiveResultSupport.java141 if (resultCode == RESULT_CANCELED) { in onActivityResult()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java120 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_CANCELED, data); in testProcessTextActivityResultCancel()
/frameworks/base/docs/html-intl/intl/zh-tw/training/articles/
Dscoped-directory-access.jd73 <p>若使用者未授予存取權,系統會呼叫您的 <code>onActivityResult()</code> 覆寫並傳回 <code>Activity.RESULT_CANCELED</code> 的…
/frameworks/base/docs/html-intl/intl/ru/training/articles/
Dscoped-directory-access.jd75 <code>Activity.RESULT_CANCELED</code> и отсутствующими данными намерения.</p>
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java87 public static final int RESULT_CANCELED = 2; field in BluetoothPbap
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java268 setResult(RESULT_CANCELED); in onBenchmarkFinish()

123