Home
last modified time | relevance | path

Searched refs:requestCode (Results 1 – 15 of 15) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPendingIntent.java25 private int requestCode; field in ShadowPendingIntent
28 …public static PendingIntent getActivity(Context context, int requestCode, Intent intent, int flags… in getActivity() argument
29 return create(context, intent, true, false, false, requestCode); in getActivity()
33 …public static PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flag… in getBroadcast() argument
34 return create(context, intent, false, true, false, requestCode); in getBroadcast()
38 …public static PendingIntent getService(Context context, int requestCode, Intent intent, int flags)… in getService() argument
39 return create(context, intent, false, false, true, requestCode); in getService()
83 int requestCode = in.readInt(); in readPendingIntentOrNullFromParcel() local
89 return create(null, intent, isActivity, isBroadcast, isService, requestCode); in readPendingIntentOrNullFromParcel()
98 out.writeInt(requestCode); in writeToParcel()
[all …]
DShadowActivity.java380 public int requestCode; field in ShadowActivity.IntentForResult
382 public IntentForResult(Intent intent, int requestCode) { in IntentForResult() argument
384 this.requestCode = requestCode; in IntentForResult()
389 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() argument
390 intentRequestCodeMap.put(intent, requestCode); in startActivityForResult()
391 startedActivitiesForResults.add(new IntentForResult(intent, requestCode)); in startActivityForResult()
396 Integer requestCode = intentRequestCodeMap.get(requestIntent); in receiveResult() local
397 if (requestCode == null) { in receiveResult()
403 .with(requestCode, resultCode, resultIntent); in receiveResult()
DShadowFragment.java54 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() argument
55 activity.startActivityForResult(intent, requestCode); in startActivityForResult()
/external/svox/picolanginstaller/src/com/svox/langpack/installer/
DInstallerActivity.java41 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
42 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
43 if (requestCode == DATA_ROOT_DIRECTORY_REQUEST_CODE) { in onActivityResult()
/external/svox/PicoLangInstallerSpaEsp/src/com/svox/pico/voice/spa/esp/
DInstallerActivity.java40 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
41 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
42 if (requestCode == DATA_ROOT_DIRECTORY_REQUEST_CODE) { in onActivityResult()
/external/svox/PicoLangInstallerEngGbr/src/com/svox/pico/voice/eng/gbr/
DInstallerActivity.java40 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
41 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
42 if (requestCode == DATA_ROOT_DIRECTORY_REQUEST_CODE) { in onActivityResult()
/external/svox/PicoLangInstallerEngUsa/src/com/svox/pico/voice/eng/usa/
DInstallerActivity.java40 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
41 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
42 if (requestCode == DATA_ROOT_DIRECTORY_REQUEST_CODE) { in onActivityResult()
/external/svox/PicoLangInstallerItaIta/src/com/svox/pico/voice/ita/ita/
DInstallerActivity.java40 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
41 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
42 if (requestCode == DATA_ROOT_DIRECTORY_REQUEST_CODE) { in onActivityResult()
/external/svox/PicoLangInstallerDeuDeu/src/com/svox/pico/voice/deu/deu/
DInstallerActivity.java40 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
41 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
42 if (requestCode == DATA_ROOT_DIRECTORY_REQUEST_CODE) { in onActivityResult()
/external/svox/PicoLangInstallerFraFra/src/com/svox/pico/voice/fra/fra/
DInstallerActivity.java40 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
41 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
42 if (requestCode == DATA_ROOT_DIRECTORY_REQUEST_CODE) { in onActivityResult()
/external/svox/pico/src/com/svox/pico/
DEngineSettings.java49 public void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
50 if (requestCode == VOICE_DATA_CHECK_CODE){ in onActivityResult()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DActivityTest.java69 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
70 …transcript.add("onActivityResult called with requestCode " + requestCode + ", resultCode " + resul… in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
85 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException()
129 assertThat(intentForResult.requestCode, equalTo(142)); in shouldSupportGetStartedActitivitesForResult()
145 assertThat(intentForResult.requestCode, equalTo(142)); in shouldSupportPeekStartedActitivitesForResult()
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java470 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
471 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
473 if (requestCode == ACTIVITY_CHANGE_LEVELS) { in onActivityResult()
489 } else if (requestCode == ACTIVITY_ANIMATION_PLAYER) { in onActivityResult()
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...