/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
D | WearPermissionRequestActivity.java | 53 setResult(Activity.RESULT_OK); in onClickApprovePermissionRequest() 59 setResult(Activity.RESULT_CANCELED); in onClickDenyPermissionRequest()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | SendResult.java | 65 setResult(RESULT_OK, (new Intent()).setAction("Corky!")); 76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
|
D | RedirectGetter.java | 81 setResult(RESULT_OK);
|
D | LauncherShortcuts.java | 139 setResult(RESULT_OK, intent); in setupShortcut()
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
D | CustomLocaleReceiver.java | 49 setResult(Activity.RESULT_CANCELED, null, null); in onReceive() 76 setResult(Activity.RESULT_OK, locale, null); in onReceive()
|
D | NewLocaleDialog.java | 69 setResult(RESULT_OK, data); in onClick()
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
D | CreateGestureActivity.java | 91 setResult(RESULT_OK); in addGesture() 97 setResult(RESULT_CANCELED); in addGesture() 106 setResult(RESULT_CANCELED); in cancelGesture()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | AddRssItem.java | 52 setResult(RESULT_OK, res); 55 setResult(RESULT_CANCELED, (new Intent()).setAction("Canceled" + v.getId()));
|
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
D | RequestPermissionOnPhoneActivity.java | 36 setResult(RESULT_OK); in onClickPermissionPhoneStorage()
|
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
D | AddFileActivity.java | 120 setResult(MainActivityFragment.ADD_FILE_RESULT_ERROR); in onResume() 128 setResult(MainActivityFragment.ADD_FILE_RESULT_ERROR); in onResume() 250 setResult(MainActivityFragment.ADD_FILE_RESULT_ERROR); in createFileWithRandomDataAndFinishActivity() 270 setResult(MainActivityFragment.ADD_FILE_RESULT_SUCCESS); in createFileWithRandomDataAndFinishActivity() 275 setResult(MainActivityFragment.ADD_FILE_RESULT_ERROR); in createFileWithRandomDataAndFinishActivity()
|
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
D | ExampleAppWidgetConfigure.java | 57 setResult(RESULT_CANCELED); in onCreate() 101 setResult(RESULT_OK, resultValue);
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
D | SpeedPickerActivity.java | 85 setResult(RESULT_OK, resultIntent); in onClick()
|
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
D | CustomRestrictionsFragment.java | 174 getActivity().setResult(Activity.RESULT_OK, intent); in onActivityCreated() 199 getActivity().setResult(Activity.RESULT_OK, intent); in onPreferenceChange()
|
D | GetRestrictionsReceiver.java | 121 result.setResult(Activity.RESULT_OK, null, extras); in createRestrictions() 159 result.setResult(Activity.RESULT_OK, null, extras); in createRestrictions()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | DeviceListActivity.java | 76 setResult(Activity.RESULT_CANCELED); in onCreate() 182 setResult(Activity.RESULT_OK, intent);
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | DeviceListActivity.java | 68 setResult(Activity.RESULT_CANCELED); in onCreate() 170 setResult(Activity.RESULT_OK, intent);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ProcessText.java | 48 setResult(RESULT_OK, intent); in finish()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NoteEditor.java | 195 setResult(RESULT_OK, (new Intent()).setAction(mUri.toString())); in onCreate() 291 setResult(RESULT_CANCELED); in onStop() 537 setResult(RESULT_CANCELED); in cancelNote()
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
D | SelectContactActivity.java | 93 setResult(RESULT_OK, data);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
D | AuthenticatorActivity.java | 178 setResult(RESULT_OK, intent); in finishConfirmCredentials() 206 setResult(RESULT_OK, intent); in finishLogin()
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
D | CheckVoiceData.java | 88 setResult(result, returnData); in onCreate()
|
/development/samples/Home/src/com/example/android/home/ |
D | Wallpaper.java | 100 setResult(RESULT_OK); in selectWallpaper()
|
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/ |
D | MainActivity.java | 92 setResult(RESULT_OK); in onFinishActivity()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Main.java | 141 setResult(Activity.RESULT_CANCELED); in addWebSite() 158 setResult(Activity.RESULT_OK, in addUriAsync()
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/ |
D | PickerActivity.java | 105 setResult(Activity.RESULT_OK, result); in onListItemClicked()
|