/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 85 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()
|
D | ActivityTestsBase.java | 109 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()
|
D | BroadcastTest.java | 393 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()
|
D | IntentSenderTest.java | 55 is.send(Activity.RESULT_CANCELED, finish, null); in testRegisteredReceivePermissionDenied() 82 is.send(Activity.RESULT_CANCELED, finish, null); in testLocalReceivePermissionDenied()
|
D | ClearTop.java | 45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
|
D | LaunchpadActivity.java | 143 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/ |
D | FragmentReceiveResultTest.java | 71 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/ |
D | GrantCredentialsPermissionActivity.java | 60 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()
|
D | ChooseTypeAndAccountActivity.java | 293 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()
|
D | ChooseAccountActivity.java | 62 setResult(RESULT_CANCELED); in onCreate()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | OpenExternalDirectoryActivity.java | 108 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()
|
D | PickFragment.java | 93 activity.setResult(Activity.RESULT_CANCELED);
|
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/ |
D | SetAlarm.java | 106 finish(Activity.RESULT_CANCELED, ret); in errorFinish()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 126 setResult(RESULT_CANCELED); in onClick()
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/ |
D | filters.jd | 199 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/ |
D | filters.jd | 199 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/ |
D | filters.jd | 199 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/ |
D | filters.jd | 199 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/ |
D | filters.jd | 199 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/ |
D | FragmentReceiveResultSupport.java | 141 if (resultCode == RESULT_CANCELED) { in onActivityResult()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 120 tv.onActivityResult(TextView.PROCESS_TEXT_REQUEST_CODE, Activity.RESULT_CANCELED, data); in testProcessTextActivityResultCancel()
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/articles/ |
D | scoped-directory-access.jd | 73 <p>若使用者未授予存取權,系統會呼叫您的 <code>onActivityResult()</code> 覆寫並傳回 <code>Activity.RESULT_CANCELED</code> 的…
|
/frameworks/base/docs/html-intl/intl/ru/training/articles/ |
D | scoped-directory-access.jd | 75 <code>Activity.RESULT_CANCELED</code> и отсутствующими данными намерения.</p>
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 87 public static final int RESULT_CANCELED = 2; field in BluetoothPbap
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasBenchmark.java | 268 setResult(RESULT_CANCELED); in onBenchmarkFinish()
|