Home
last modified time | relevance | path

Searched refs:resultCode (Results 1 – 25 of 29) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/app/
DReceiveResult.java108 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
121 if (resultCode == RESULT_CANCELED) { in onActivityResult()
128 text.append(Integer.toString(resultCode)); in onActivityResult()
DRedirectMain.java61 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
66 if (resultCode == RESULT_CANCELED) { in onActivityResult()
80 if (resultCode != RESULT_CANCELED) { in onActivityResult()
DFragmentReceiveResult.java103 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
115 if (resultCode == RESULT_CANCELED) { in onActivityResult()
122 text.append(Integer.toString(resultCode)); in onActivityResult()
DVoiceRecognition.java138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
139 if (requestCode == VOICE_RECOGNITION_REQUEST_CODE && resultCode == RESULT_OK) { in onActivityResult()
147 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
139 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
142 handleRecordingResult(resultCode, data); in onActivityResult()
168 private void handleRecordingResult(int resultCode, Intent data) { in handleRecordingResult() argument
169 if (resultCode != RESULT_OK) { in handleRecordingResult()
170 handleError(new Exception("Failed to do recording. Error Code: " + resultCode)); in handleRecordingResult()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApk.java75 public void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
77 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
79 } else if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult()
85 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
87 } else if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult()
DPickContact.java88 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentReceiveResultSupport.java105 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
117 if (resultCode == RESULT_CANCELED) { in onActivityResult()
124 text.append(Integer.toString(resultCode)); in onActivityResult()
/development/apps/Development/src/com/android/development/
DInstrumentationList.java175 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) {
182 Log.i("instrumentation", "INSTRUMENTATION_STATUS_CODE: " + resultCode);
185 int resultCode, Bundle results) {
192 Log.i("instrumentation", "INSTRUMENTATION_CODE: " + resultCode);
/development/samples/BusinessCard/src/com/example/android/businesscard/
DBusinessCardActivity.java83 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
84 if (requestCode == PICK_CONTACT_REQUEST && resultCode == RESULT_OK) { in onActivityResult()
/development/samples/ApiDemos/src/com/example/android/apis/preference/
DLaunchingPreferences.java82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
83 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotepadv2.java115 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
116 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java290 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
291 if(D) Log.d(TAG, "onActivityResult " + resultCode); in onActivityResult()
295 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
301 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
307 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNotepadv3.java119 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
120 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DKeyChainDemoActivity.java241 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
243 switch (resultCode) { in onActivityResult()
248 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNotepadv3.java127 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
128 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNotepadv2.java127 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument
128 super.onActivityResult(requestCode, resultCode, intent); in onActivityResult()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DMyRssReader3.java134 protected void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
135 if(resultCode == RESULT_OK){ in onActivityResult()
DMyRssReader4.java148 protected void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
149 if(resultCode == RESULT_OK){ in onActivityResult()
DMyRssReader5.java185 protected void onActivityResult(int requestCode, int resultCode, Intent data){ in onActivityResult() argument
186 if(resultCode == RESULT_OK){ in onActivityResult()
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicySetupActivity.java100 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
101 if (requestCode == REQ_ACTIVATE_DEVICE_ADMIN && resultCode == RESULT_OK) { in onActivityResult()
105 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/development/apps/WidgetPreview/src/com/android/widgetpreview/
DWidgetPreviewActivity.java110 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
118 if (resultCode == RESULT_OK) { in onActivityResult()
131 if (resultCode == RESULT_OK) { in onActivityResult()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java43 public void performReceive(Intent intent, int resultCode, String data, Bundle extras, in performReceive() argument
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java130 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
131 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
133 if (requestCode == UPDATE_LIST && resultCode == RESULT_OK && data != null) { in onActivityResult()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java122 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
123 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
125 if (resultCode == RESULT_OK) { in onActivityResult()

12