/development/samples/ApiDemos/src/com/example/android/apis/app/ |
H A D | ReceiveResult.java | 104 * @param resultCode From sending activity as per setResult(). 108 protected void onActivityResult(int requestCode, int resultCode, argument 118 // This is a standard resultCode that is sent back if the 121 if (resultCode == RESULT_CANCELED) { 128 text.append(Integer.toString(resultCode));
|
H A D | RedirectMain.java | 61 protected void onActivityResult(int requestCode, int resultCode, argument 66 if (resultCode == RESULT_CANCELED) { 80 if (resultCode != RESULT_CANCELED) {
|
H A D | FragmentReceiveResult.java | 103 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 112 // This is a standard resultCode that is sent back if the 115 if (resultCode == RESULT_CANCELED) { 122 text.append(Integer.toString(resultCode));
|
H A D | VoiceRecognition.java | 138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 139 if (requestCode == VOICE_RECOGNITION_REQUEST_CODE && resultCode == RESULT_OK) { 147 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | SearchActivity.java | 57 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 59 " resultCode=" + resultCode + 61 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) {
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
H A D | SetupProfileFragment.java | 90 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 92 if (resultCode == Activity.RESULT_OK) { 99 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
H A D | SetupProfileFragment.java | 88 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 90 if (resultCode == Activity.RESULT_OK) { 97 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | FragmentReceiveResultSupport.java | 105 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 114 // This is a standard resultCode that is sent back if the 117 if (resultCode == RESULT_CANCELED) { 124 text.append(Integer.toString(resultCode));
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
H A D | LaunchingPreferences.java | 82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 83 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
H A D | BusinessCardActivity.java | 83 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 84 if (requestCode == PICK_CONTACT_REQUEST && resultCode == RESULT_OK) {
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
H A D | Notepadv2.java | 115 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { argument 116 super.onActivityResult(requestCode, resultCode, intent);
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
H A D | AddVoicemailActivity.java | 138 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 139 super.onActivityResult(requestCode, resultCode, data); 142 handleRecordingResult(resultCode, data); 168 private void handleRecordingResult(int resultCode, Intent data) { argument 169 if (resultCode != RESULT_OK) { 170 handleError(new Exception("Failed to do recording. Error Code: " + resultCode));
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
H A D | InstallApk.java | 75 public void onActivityResult(int requestCode, int resultCode, Intent intent) { argument 77 if (resultCode == Activity.RESULT_OK) { 79 } else if (resultCode == Activity.RESULT_CANCELED) { 85 if (resultCode == Activity.RESULT_OK) { 87 } else if (resultCode == Activity.RESULT_CANCELED) {
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
H A D | Notepadv3.java | 119 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { argument 120 super.onActivityResult(requestCode, resultCode, intent);
|
/development/apps/Development/src/com/android/development/ |
H A 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/BluetoothChat/src/com/example/android/BluetoothChat/ |
H A D | BluetoothChat.java | 290 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 291 if(D) Log.d(TAG, "onActivityResult " + resultCode); 295 if (resultCode == Activity.RESULT_OK) { 301 if (resultCode == Activity.RESULT_OK) { 307 if (resultCode == Activity.RESULT_OK) {
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
H A D | MyRssReader3.java | 134 protected void onActivityResult(int requestCode, int resultCode, Intent data){ argument 135 if(resultCode == RESULT_OK){
|
H A D | MyRssReader4.java | 148 protected void onActivityResult(int requestCode, int resultCode, Intent data){ argument 149 if(resultCode == RESULT_OK){
|
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/ |
H A D | StorageClientFragment.java | 88 public void onActivityResult(int requestCode, int resultCode, Intent resultData) { argument 95 if (requestCode == READ_REQUEST_CODE && resultCode == Activity.RESULT_OK) {
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
H A D | Notepadv2.java | 127 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { argument 128 super.onActivityResult(requestCode, resultCode, intent);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
H A D | Notepadv3.java | 127 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { argument 128 super.onActivityResult(requestCode, resultCode, intent);
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
H A D | BluetoothChatFragment.java | 328 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 332 if (resultCode == Activity.RESULT_OK) { 338 if (resultCode == Activity.RESULT_OK) { 344 if (resultCode == Activity.RESULT_OK) {
|
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/ |
H A D | MediaProjectionDemo.java | 103 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 108 if (resultCode != RESULT_OK) { 113 mMediaProjection = mProjectionManager.getMediaProjection(resultCode, data);
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
H A D | KeyChainDemoActivity.java | 241 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 243 switch (resultCode) { 248 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
H A D | DeviceScanActivity.java | 131 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 133 if (requestCode == REQUEST_ENABLE_BT && resultCode == Activity.RESULT_CANCELED) { 137 super.onActivityResult(requestCode, resultCode, data);
|