Home
last modified time | relevance | path

Searched refs:setResult (Results 1 – 25 of 28) sorted by relevance

12

/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DWearPermissionRequestActivity.java53 setResult(Activity.RESULT_OK); in onClickApprovePermissionRequest()
59 setResult(Activity.RESULT_CANCELED); in onClickDenyPermissionRequest()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSendResult.java65 setResult(RESULT_OK, (new Intent()).setAction("Corky!"));
76 setResult(RESULT_OK, (new Intent()).setAction("Violet!"));
DRedirectGetter.java81 setResult(RESULT_OK);
DLauncherShortcuts.java139 setResult(RESULT_OK, intent); in setupShortcut()
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleReceiver.java49 setResult(Activity.RESULT_CANCELED, null, null); in onReceive()
76 setResult(Activity.RESULT_OK, locale, null); in onReceive()
DNewLocaleDialog.java69 setResult(RESULT_OK, data); in onClick()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DCreateGestureActivity.java91 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/
DAddRssItem.java52 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/
DRequestPermissionOnPhoneActivity.java36 setResult(RESULT_OK); in onClickPermissionPhoneStorage()
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DAddFileActivity.java120 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/
DExampleAppWidgetConfigure.java57 setResult(RESULT_CANCELED); in onCreate()
101 setResult(RESULT_OK, resultValue);
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DAuthActivity.java83 setResult(RESULT_OK, replyIntent); in onYes()
88 setResult(RESULT_CANCELED); in onNo()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DSpeedPickerActivity.java85 setResult(RESULT_OK, resultIntent); in onClick()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsFragment.java174 getActivity().setResult(Activity.RESULT_OK, intent); in onActivityCreated()
199 getActivity().setResult(Activity.RESULT_OK, intent); in onPreferenceChange()
DGetRestrictionsReceiver.java121 result.setResult(Activity.RESULT_OK, null, extras); in createRestrictions()
159 result.setResult(Activity.RESULT_OK, null, extras); in createRestrictions()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DDeviceListActivity.java68 setResult(Activity.RESULT_CANCELED); in onCreate()
170 setResult(Activity.RESULT_OK, intent);
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DDeviceListActivity.java76 setResult(Activity.RESULT_CANCELED); in onCreate()
182 setResult(Activity.RESULT_OK, intent);
/development/samples/ApiDemos/src/com/example/android/apis/content/
DProcessText.java48 setResult(RESULT_OK, intent); in finish()
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java195 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/
DSelectContactActivity.java93 setResult(RESULT_OK, data);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java178 setResult(RESULT_OK, intent); in finishConfirmCredentials()
206 setResult(RESULT_OK, intent); in finishLogin()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DCheckVoiceData.java88 setResult(result, returnData); in onCreate()
/development/samples/Home/src/com/example/android/home/
DWallpaper.java100 setResult(RESULT_OK); in selectWallpaper()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DMainActivity.java92 setResult(RESULT_OK); in onFinishActivity()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMain.java141 setResult(Activity.RESULT_CANCELED); in addWebSite()
158 setResult(Activity.RESULT_OK, in addUriAsync()

12