/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/ |
D | MainActivity.java | 79 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 80 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 84 if (resultCode == RESULT_OK) { in onActivityResult() 107 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ReceiveResult.java | 108 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()
|
D | RedirectMain.java | 61 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument 66 if (resultCode == RESULT_CANCELED) { in onActivityResult() 80 if (resultCode != RESULT_CANCELED) { in onActivityResult()
|
D | FragmentReceiveResult.java | 103 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()
|
D | VoiceRecognition.java | 138 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/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | SetupProfileFragment.java | 88 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 90 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 97 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | InstallApk.java | 70 public void onActivityResult(int requestCode, int resultCode, Intent intent) { in onActivityResult() argument 72 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 74 } else if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult() 80 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 82 } else if (resultCode == Activity.RESULT_CANCELED) { in onActivityResult()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
D | AddVoicemailActivity.java | 138 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/browseable/DirectShare/src/com.example.android.directshare/ |
D | SendMessageActivity.java | 77 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 80 if (resultCode == RESULT_OK) { in onActivityResult() 91 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | SetupProfileFragment.java | 98 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 100 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 107 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | ShortcutTemplateListFragment.java | 50 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 51 if (resultCode != Activity.RESULT_OK || data == null) { in onActivityResult()
|
/development/apps/Development/src/com/android/development/ |
D | InstrumentationList.java | 176 public void instrumentationStatus(ComponentName name, int resultCode, Bundle results) { 183 Log.i("instrumentation", "INSTRUMENTATION_STATUS_CODE: " + resultCode); 186 int resultCode, Bundle results) { 193 Log.i("instrumentation", "INSTRUMENTATION_CODE: " + resultCode);
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | BusinessCardActivity.java | 83 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 84 if (requestCode == PICK_CONTACT_REQUEST && resultCode == RESULT_OK) { in onActivityResult()
|
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/ |
D | MainActivity.java | 115 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 118 if (resultCode == RESULT_OK) { in onActivityResult() 121 } else if (resultCode == RESULT_CANCELED) { in onActivityResult()
|
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/ |
D | MainActivity.java | 115 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 118 if (resultCode == RESULT_OK) { in onActivityResult() 121 } else if (resultCode == RESULT_CANCELED) { in onActivityResult()
|
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainMobileActivity.java | 96 protected void onReceiveResult(int resultCode, Bundle resultData) { 97 Log.d(TAG, "onReceiveResult: " + resultCode); 99 if (resultCode == RemoteIntent.RESULT_OK) { 106 } else if (resultCode == RemoteIntent.RESULT_FAILED) { 115 throw new IllegalStateException("Unexpected result " + resultCode);
|
/development/samples/DataWiper/src/com.example.android.datawiper/ |
D | MyMain.java | 48 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 49 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
D | MainActivityFragment.java | 63 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 64 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 66 if (requestCode == ADD_FILE_REQUEST && resultCode == ADD_FILE_RESULT_SUCCESS) { in onActivityResult()
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChat.java | 290 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/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainWearActivity.java | 87 protected void onReceiveResult(int resultCode, Bundle resultData) { 89 if (resultCode == RemoteIntent.RESULT_OK) { 92 } else if (resultCode == RemoteIntent.RESULT_FAILED) { 98 throw new IllegalStateException("Unexpected result " + resultCode);
|
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/ |
D | ScreenCaptureFragment.java | 121 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 123 if (resultCode != Activity.RESULT_OK) { in onActivityResult() 133 mResultCode = resultCode; in onActivityResult()
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | MainActivity.java | 282 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 283 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 285 Log.d(TAG, "onActivityResult request/result codes: " + requestCode + "/" + resultCode); in onActivityResult() 290 if (resultCode == RESULT_OK) { in onActivityResult()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/ |
D | MediaProjectionDemo.java | 110 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 115 if (resultCode != RESULT_OK) { in onActivityResult() 120 mMediaProjection = mProjectionManager.getMediaProjection(resultCode, data); in onActivityResult()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatFragment.java | 328 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 332 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 338 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 344 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
D | DirectorySelectionFragment.java | 133 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 134 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 135 if (requestCode == REQUEST_CODE_OPEN_DIRECTORY && resultCode == Activity.RESULT_OK) { in onActivityResult()
|