Home
last modified time | relevance | path

Searched refs:setResult (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume()
98 setResult(RESULT_OK, res); in onResume()
115 setResult(RESULT_OK); 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()
DClearTop.java43 setResult(RESULT_OK); in onNewIntent()
45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
DTestedActivity.java60 setResult(RESULT_OK);
71 setResult(RESULT_OK); in queueIdle()
DTestedScreen.java51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate()
104 setResult(RESULT_OK);
121 setResult(RESULT_OK); in queueIdle()
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dfilters.jd186 android.app.Activity#setResult(int,Intent) setResult()} 以指定結果代碼及結果 {@link
194 setResult(Activity.RESULT_OK, result);
209 android.app.Activity#setResult(int) setResult()},然後僅傳遞結果代碼。
213 setResult(RESULT_COLOR_RED);
226 android.app.Activity#setResult(int,Intent) setResult()} 即可。
228 …ctivityForResult()},則系統將向其傳遞您提供給 {@link android.app.Activity#setResult(int,Intent) setResult()} 的結…
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dfilters.jd186 android.app.Activity#setResult(int,Intent) setResult()} を呼び出して結果コードと結果の {@link
194 setResult(Activity.RESULT_OK, result);
209 android.app.Activity#setResult(int) setResult()} を呼び出して結果コードのみを渡すことができます。
213 setResult(RESULT_COLOR_RED);
226 android.app.Activity#setResult(int,Intent) setResult()} を呼び出します。
229 {@link android.app.Activity#setResult(int,Intent) setResult()} に提供した結果がそこに送られます。それ以外の場合は、結果は無視されます。
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dfilters.jd186 android.app.Activity#setResult(int,Intent) setResult()}를 호출하여 결과 코드 및 결과 {@link
194 setResult(Activity.RESULT_OK, result);
210 android.app.Activity#setResult(int) setResult()}를 호출하고 결과 코드만 전달하면 됩니다. 예를 들면 다음과 같습니다.</p>
213 setResult(RESULT_COLOR_RED);
226 인텐트가 결과를 원할 경우, {@link android.app.Activity#setResult(int,Intent) setResult()}를
228 …yForResult()}를 호출한 경우, 시스템은 개발자가 {@link android.app.Activity#setResult(int,Intent) setResult()}에 제…
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dfilters.jd186 android.app.Activity#setResult(int,Intent) setResult()} 指定结果代码和结果 {@link
194 setResult(Activity.RESULT_OK, result);
209 android.app.Activity#setResult(int) setResult()} 并且仅传递结果代码。
213 setResult(RESULT_COLOR_RED);
226 android.app.Activity#setResult(int,Intent) setResult()}。
228 …ctivityForResult()},则系统将向其传递您提供给 {@link android.app.Activity#setResult(int,Intent) setResult()} 的结…
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dfilters.jd186 android.app.Activity#setResult(int,Intent) setResult()}, чтобы указать код результата и объект {@li…
194 setResult(Activity.RESULT_OK, result);
210 android.app.Activity#setResult(int) setResult()} и передать только код результата. Например:</p>
213 setResult(RESULT_COLOR_RED);
226 android.app.Activity#setResult(int,Intent) setResult()}, если запустивший вашу операцию объект Inte…
229 ей результат, который вы передаете {@link android.app.Activity#setResult(int,Intent) setResult()}. …
/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()
163 setResult(RESULT_OK, result); in onClick()
169 setResult(RESULT_CANCELED); in onClick()
DChooseTypeAndAccountActivity.java297 setResult(Activity.RESULT_CANCELED); in onActivityResult()
350 setResult(Activity.RESULT_CANCELED); in onActivityResult()
383 setResult(Activity.RESULT_CANCELED); in run()
391 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in run()
415 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in setResultAndFinish()
DChooseAccountTypeActivity.java90 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in onCreate()
118 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in setResultAndFinish()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DMockableCheckVoiceData.java41 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL, returnVal); in onCreate()
54 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, returnVal); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java86 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate()
167 setResult(RESULT_OK, getMediaProjectionIntent( in onClick()
172 setResult(RESULT_CANCELED); in onClick()
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd193 android.app.Activity#setResult(int,Intent) setResult()} to specify the result code and result {@link
201 setResult(Activity.RESULT_OK, result);
217 android.app.Activity#setResult(int) setResult()} and pass only a result code. For example:</p>
220 setResult(RESULT_COLOR_RED);
233 android.app.Activity#setResult(int,Intent) setResult()} if the intent that started your activity
236 the result you supply to {@link android.app.Activity#setResult(int,Intent) setResult()}; otherwise,
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java55 setResult(RESULT_OK); in onResume()
102 setResult(RESULT_OK); in onClick()
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/intents/
Dfilters.jd186 android.app.Activity#setResult(int,Intent) setResult()} para especificar o código do resultado e o …
194 setResult(Activity.RESULT_OK, result);
210 android.app.Activity#setResult(int) setResult()} e transmita apenas um código de resultado. Por exe…
213 setResult(RESULT_COLOR_RED);
226 android.app.Activity#setResult(int,Intent) setResult()} se a intenção que iniciou sua atividade
229 o resultado para {@link android.app.Activity#setResult(int,Intent) setResult()}. Caso contrário,
/frameworks/base/libs/hwui/thread/
DTask.h45 void setResult(T result) { in setResult() function
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasBenchmark.java266 setResult(RESULT_OK, intent); in onBenchmarkFinish()
268 setResult(RESULT_CANCELED); in onBenchmarkFinish()
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java75 public void setResult(int result) { in setResult() method in MtpPropertyList
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java49 setResult(RESULT_OK, resultIntent); in onStart()
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DTestAppWidgetConfigure.java50 setResult(RESULT_OK);
/frameworks/base/core/java/android/content/
DBroadcastReceiver.java328 public final void setResult(int code, String data, Bundle extras) { in setResult() method in BroadcastReceiver.PendingResult
659 public final void setResult(int code, String data, Bundle extras) { in setResult() method in BroadcastReceiver
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFileSelector.java106 setResult(RESULT_OK, resultIntent); in onListItemClick()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java106 setResult(RESULT_OK, resultIntent); in onListItemClick()

12