/frameworks/base/services/java/com/android/server/am/ |
ActivityResult.java | 30 int requestCode, int resultCode, Intent data) { 31 super(resultWho, requestCode, resultCode, data);
|
PendingIntentRecord.java | 47 final int requestCode; 63 requestCode = _r; 116 if (requestCode != other.requestCode) { 188 IBinder resultTo, String resultWho, int requestCode, 233 resultTo, resultWho, requestCode, false); 242 key.who, key.requestCode, code, finalIntent); 315 if (key.requestCode != 0 || key.requestResolvedType != null) { 316 pw.print(prefix); pw.print("requestCode="); pw.print(key.requestCode); [all...] |
/cts/tests/src/android/app/cts/ |
ActivityManagerMemoryClassLaunchActivity.java | 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 57 super.onActivityResult(requestCode, resultCode, data); 58 if (requestCode == 1337) { 63 throw new IllegalStateException("Request code: " + requestCode);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
KeyboardActionListener.java | 78 public boolean onCustomRequest(int requestCode); 92 public boolean onCustomRequest(int requestCode) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
AbstractTestListActivity.java | 44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 45 super.onActivityResult(requestCode, resultCode, data); 46 switch (requestCode) { 52 throw new IllegalArgumentException("Unknown request code: " + requestCode);
|
/frameworks/base/core/java/android/app/ |
ActivityGroup.java | 111 void dispatchActivityResult(String who, int requestCode, int resultCode, 117 TAG, "Dispatching result: who=" + who + ", reqCode=" + requestCode 122 act.onActivityResult(requestCode, resultCode, data); 126 super.dispatchActivityResult(who, requestCode, resultCode, data);
|
ResultInfo.java | 36 public ResultInfo(String resultWho, int requestCode, int resultCode, 39 mRequestCode = requestCode;
|
PendingIntent.java | 176 * @param requestCode Private request code for the sender (currently 189 public static PendingIntent getActivity(Context context, int requestCode, 199 null, null, requestCode, new Intent[] { intent }, 235 * @param requestCode Private request code for the sender (currently 248 public static PendingIntent getActivities(Context context, int requestCode, 260 null, null, requestCode, intents, resolvedTypes, flags); 273 * @param requestCode Private request code for the sender (currently 286 public static PendingIntent getBroadcast(Context context, int requestCode, 296 null, null, requestCode, new Intent[] { intent }, 311 * @param requestCode Private request code for the sender (currentl [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
Wallpaper.java | 66 protected void onActivityResult(int requestCode, int resultCode, 68 if ((requestCode == PHOTO_PICKED || requestCode == CROP_DONE)) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetConfigure.java | 84 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 92 if (requestCode == REQUEST_WIDGET_TYPE) { 94 } else if (requestCode == REQUEST_CHOOSE_ALBUM) { 96 } else if (requestCode == REQUEST_GET_PHOTO) { 98 } else if (requestCode == REQUEST_CROP_IMAGE) { 101 throw new AssertionError("unknown request: " + requestCode);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
RedirectMain.java | 61 protected void onActivityResult(int requestCode, int resultCode, 63 if (requestCode == INIT_TEXT_REQUEST) { 76 } else if (requestCode == NEW_TEXT_REQUEST) {
|
ReceiveResult.java | 102 * @param requestCode The original request code as given to 108 protected void onActivityResult(int requestCode, int resultCode, 110 // You can use the requestCode to select between multiple child 113 if (requestCode == GET_CODE) { 139 // Definition of the one requestCode we use for receiving resuls.
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
LaunchingPreferences.java | 85 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 86 super.onActivityResult(requestCode, resultCode, data); 90 if (requestCode == REQUEST_CODE_PREFERENCES) {
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsSearchManager.java | 46 int requestCode, ContactsRequest originalRequest) { 48 buildIntent(context, initialQuery, originalRequest), requestCode);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
ScreenLockTestActivity.java | 80 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 81 super.onActivityResult(requestCode, resultCode, data); 82 switch (requestCode) {
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SubActivityScreen.java | 108 protected void onActivityResult(int requestCode, int resultCode, 111 // + " onActivityResult: req=" + requestCode 117 if (requestCode == 1) { 145 "Incorrect request code returned: " + requestCode));
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ActivityState.java | 43 public int requestCode; 83 protected void onStateResult(int requestCode, int resultCode, Intent data) { 124 onStateResult(entry.requestCode, entry.resultCode, entry.resultData);
|
/packages/apps/Settings/src/com/android/settings/ |
MediaFormat.java | 82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 83 super.onActivityResult(requestCode, resultCode, data); 85 if (requestCode != KEYGUARD_REQUEST) {
|
/frameworks/base/test-runner/src/android/test/ |
ActivityUnitTestCase.java | 69 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li> 264 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li> 310 public void startActivityFromChild(Activity child, Intent intent, int requestCode) { 312 mStartedActivityRequest = requestCode; 330 * <li>{@link android.app.Activity#finishActivity(int requestCode)}</li> 334 public void finishActivityFromChild(Activity child, int requestCode) { 336 mFinishedActivityRequest = requestCode;
|
/cts/tests/src/android/media/cts/ |
AudioManagerStub.java | 84 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 85 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
BusinessCardActivity.java | 83 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 84 if (requestCode == PICK_CONTACT_REQUEST && resultCode == RESULT_OK) {
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
Notepadv2.java | 115 protected void onActivityResult(int requestCode, int resultCode, Intent intent) { 116 super.onActivityResult(requestCode, resultCode, intent);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SimpleModel.java | 97 public void onActivityResult(int requestCode, int resultCode, Intent data) { 99 if (requestCode == FIND_A3D_MODEL) {
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
AppWidgetHostActivity.java | 83 void discoverAppWidget(int requestCode) { 86 startActivityForResult(intent, requestCode); 89 void configureAppWidget(int requestCode, int appWidgetId, ComponentName configure) { 96 startActivityForResult(intent, requestCode); 147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 148 switch (requestCode) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentActivity.java | 132 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 133 int index = requestCode>>16; 138 + Integer.toHexString(requestCode)); 144 + Integer.toHexString(requestCode)); 146 frag.onActivityResult(requestCode&0xffff, resultCode, data); 150 super.onActivityResult(requestCode, resultCode, data); 656 * This imposes a restriction that requestCode be <= 0xffff. 659 public void startActivityForResult(Intent intent, int requestCode) { 660 if (requestCode != -1 && (requestCode&0xffff0000) != 0) [all...] |