Home
last modified time | relevance | path

Searched refs:requestCode (Results 1 – 25 of 87) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetConfigure.java84 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
92 if (requestCode == REQUEST_WIDGET_TYPE) { in onActivityResult()
94 } else if (requestCode == REQUEST_CHOOSE_ALBUM) { in onActivityResult()
96 } else if (requestCode == REQUEST_GET_PHOTO) { in onActivityResult()
98 } else if (requestCode == REQUEST_CROP_IMAGE) { in onActivityResult()
101 throw new AssertionError("unknown request: " + requestCode); in onActivityResult()
/packages/apps/Gallery/src/com/android/camera/
DWallpaper.java66 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
68 if ((requestCode == PHOTO_PICKED || requestCode == CROP_DONE)) { in onActivityResult()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardActionListener.java78 public boolean onCustomRequest(int requestCode); in onCustomRequest() argument
92 public boolean onCustomRequest(int requestCode) { in onCustomRequest() argument
/packages/apps/Settings/src/com/android/settings/
DMediaFormat.java82 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
83 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
85 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
DSettingsPreferenceFragment.java235 Fragment caller, String fragmentClass, int requestCode, Bundle extras) { in startFragment() argument
239 R.string.lock_settings_picker_title, null, caller, requestCode); in startFragment()
243 + "given Fragment (name: " + fragmentClass + ", requestCode: " + requestCode in startFragment()
DCryptKeeperSettings.java175 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
176 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
178 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
DMasterClear.java80 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
81 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
83 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
DChooseLockGeneric.java142 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
143 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
144 if (requestCode == CONFIRM_EXISTING_REQUEST && resultCode == Activity.RESULT_OK) { in onActivityResult()
147 } else if(requestCode == FALLBACK_REQUEST) { in onActivityResult()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DStateManager.java76 int requestCode, Bundle data) { in startStateForResult() argument
77 Log.v(TAG, "startStateForResult " + klass + ", " + requestCode); in startStateForResult()
86 state.mResult.requestCode = requestCode; in startStateForResult()
128 public void notifyActivityResult(int requestCode, int resultCode, Intent data) { in notifyActivityResult() argument
129 getTopState().onStateResult(requestCode, resultCode, data); in notifyActivityResult()
DActivityState.java43 public int requestCode; field in ActivityState.ResultEntry
83 protected void onStateResult(int requestCode, int resultCode, Intent data) { in onStateResult() argument
124 onStateResult(entry.requestCode, entry.resultCode, entry.resultData); in resume()
DWallpaper.java103 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
109 mState = requestCode; in onActivityResult()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageUtils.java435 public static void selectAudio(Context context, int requestCode) { in selectAudio() argument
443 ((Activity) context).startActivityForResult(intent, requestCode); in selectAudio()
447 public static void recordSound(Context context, int requestCode, long sizeLimit) { in recordSound() argument
455 ((Activity) context).startActivityForResult(intent, requestCode); in recordSound()
459 public static void recordVideo(Context context, int requestCode, long sizeLimit) { in recordVideo() argument
468 ((Activity) context).startActivityForResult(intent, requestCode); in recordVideo()
477 public static void selectVideo(Context context, int requestCode) { in selectVideo() argument
478 selectMediaByType(context, requestCode, ContentType.VIDEO_UNSPECIFIED, true); in selectVideo()
481 public static void selectImage(Context context, int requestCode) { in selectImage() argument
482 selectMediaByType(context, requestCode, ContentType.IMAGE_UNSPECIFIED, false); in selectImage()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/
DQuickContactTestsActivity.java85 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
86 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
88 switch (requestCode) { in onActivityResult()
/packages/apps/Contacts/src/com/android/contacts/
DContactsSearchManager.java46 int requestCode, ContactsRequest originalRequest) { in startSearchForResult() argument
48 buildIntent(context, initialQuery, originalRequest), requestCode); in startSearchForResult() local
/packages/apps/Mms/src/com/android/mms/transaction/
DSmsSingleRecipientSender.java98 int requestCode = 0; in sendMessage() local
103 requestCode = 1; in sendMessage()
109 sentIntents.add(PendingIntent.getBroadcast(mContext, requestCode, intent, 0)); in sendMessage()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperActivity.java55 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
56 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
58 if (requestCode == REQUEST_PREVIEW) { in onActivityResult()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertFile.java70 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
71 if (requestCode == REQUEST_INSTALL_CODE) { in onActivityResult()
77 Log.w(TAG, "unknown request code: " + requestCode); in onActivityResult()
/packages/apps/Settings/tests/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java112 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
113 if (requestCode != 1) { in onActivityResult()
114 Log.e(TAG, "Unexpected onActivityResult " + requestCode + " " + resultCode); in onActivityResult()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DOverlayTitleEditor.java129 protected void onActivityResult(int requestCode, int resultCode, Intent extras) { in onActivityResult() argument
133 switch (requestCode) { in onActivityResult()
142 Log.w(LOG_TAG, "Invalid request code received: " + requestCode); in onActivityResult()
/packages/apps/Phone/tests/src/com/android/phone/tests/
DOtaspTestActivity.java136 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
137 Log.i(LOG_TAG, "onActivityResult: request " + requestCode in onActivityResult()
144 if (requestCode == PERFORM_CDMA_PROVISIONING_REQUEST_CODE) { in onActivityResult()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java179 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
180 if (requestCode != REQUEST_CODE_START_BT) { in onActivityResult()
181 Log.e(TAG, "Unexpected onActivityResult " + requestCode + ' ' + resultCode); in onActivityResult()
/packages/apps/Contacts/src/com/android/contacts/activities/
DJoinContactActivity.java136 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
137 if (requestCode == ContactEntryListFragment.ACTIVITY_REQUEST_CODE_PICKER in onActivityResult()
/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java123 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
124 switch (requestCode) { in onActivityResult()
/packages/apps/Phone/src/com/android/phone/
DDeleteFdnContactScreen.java68 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument
72 switch (requestCode) { in onActivityResult()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupNames.java288 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
289 switch (requestCode) { in onActivityResult()
293 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()

1234