/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PermissionHelper.java | 24 int requestCode) { 26 PermissionHelper23.requestPermissions(fragment, permissions, requestCode); 31 String[] permissions, int requestCode) { 32 fragment.requestPermissions(permissions, requestCode); 23 requestPermissions(android.app.Fragment fragment, String[] permissions, int requestCode) argument 30 requestPermissions(android.support.v4.app.Fragment fragment, String[] permissions, int requestCode) argument
|
H A D | SearchFragment.java | 59 * 0 will be used as requestCode in requestPermissions() call. 234 public void onRequestPermissionsResult(int requestCode, String[] permissions, argument 236 if (requestCode == AUDIO_PERMISSION_REQUEST_CODE && permissions.length > 0) {
|
H A D | SearchSupportFragment.java | 61 * 0 will be used as requestCode in requestPermissions() call. 236 public void onRequestPermissionsResult(int requestCode, String[] permissions, argument 238 if (requestCode == AUDIO_PERMISSION_REQUEST_CODE && permissions.length > 0) {
|
/frameworks/support/v4/api23/android/support/v4/app/ |
H A D | ActivityCompat23.java | 23 public void validateRequestPermissionsRequestCode(int requestCode); argument 27 int requestCode) { 30 .validateRequestPermissionsRequestCode(requestCode); 32 activity.requestPermissions(permissions, requestCode); 26 requestPermissions(Activity activity, String[] permissions, int requestCode) argument
|
/frameworks/support/v4/eclair/android/support/v4/app/ |
H A D | ActivityCompatEclair.java | 27 int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) 29 activity.startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask, 26 startIntentSenderForResult(Activity activity, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument
|
H A D | BaseFragmentActivityEclair.java | 31 // can conditionally check whether the requestCode collides with our reserved ID space for the 38 public void startIntentSenderForResult(IntentSender intent, int requestCode, argument 44 if (requestCode != -1) { 45 checkForValidRequestCode(requestCode); 48 super.startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask, flagsValues, 62 static void checkForValidRequestCode(int requestCode) { argument 63 if ((requestCode & 0xffff0000) != 0) { 64 throw new IllegalArgumentException("Can only use lower 16 bits for requestCode");
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
H A D | TaskStackBuilderHoneycomb.java | 27 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, argument 29 return PendingIntent.getActivities(context, requestCode, intents, flags);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActivityCompat.java | 62 * @param requestCode The request code passed in {@link #requestPermissions( 71 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, argument 152 * @param requestCode If >= 0, this code will be returned in 160 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, argument 163 ActivityCompatJB.startActivityForResult(activity, intent, requestCode, options); 165 activity.startActivityForResult(intent, requestCode); 181 * @param requestCode If >= 0, this code will be returned in 196 int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, 199 ActivityCompatJB.startIntentSenderForResult(activity, intent, requestCode, fillInIntent, 202 ActivityCompatEclair.startIntentSenderForResult(activity, intent, requestCode, 195 startIntentSenderForResult(Activity activity, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 358 requestPermissions(final @NonNull Activity activity, final @NonNull String[] permissions, final int requestCode) argument [all...] |
H A D | Fragment.java | 595 * @param requestCode Optional request code, for convenience if you 598 public void setTargetFragment(Fragment fragment, int requestCode) { argument 600 mTargetRequestCode = requestCode; 935 public void startActivityForResult(Intent intent, int requestCode) { argument 936 startActivityForResult(intent, requestCode, null); 943 public void startActivityForResult(Intent intent, int requestCode, @Nullable Bundle options) { argument 947 mHost.onStartActivityFromFragment(this /*fragment*/, intent, requestCode, options); 954 public void startIntentSenderForResult(IntentSender intent, int requestCode, argument 960 mHost.onStartIntentSenderFromFragment(this, intent, requestCode, fillInIntent, flagsMask, 970 * @param requestCode Th 978 onActivityResult(int requestCode, int resultCode, Intent data) argument 1054 requestPermissions(@onNull String[] permissions, int requestCode) argument 1078 onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) argument [all...] |
H A D | FragmentActivity.java | 123 // which are encoded into the upper 16 bits of the requestCode for 149 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 151 int requestIndex = requestCode>>16; 165 targetFragment.onActivityResult(requestCode & 0xffff, resultCode, data); 170 super.onActivityResult(requestCode, resultCode, data); 334 Log.w(TAG, "Invalid requestCode mapping in savedInstanceState."); 860 * This imposes a restriction that requestCode be <= 0xffff. 863 public void startActivityForResult(Intent intent, int requestCode) { argument 867 if (requestCode != -1) { 868 checkForValidRequestCode(requestCode); 875 validateRequestPermissionsRequestCode(int requestCode) argument 906 onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) argument 930 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument 938 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 958 startIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 1002 requestPermissionsFromFragment(Fragment fragment, String[] permissions, int requestCode) argument 1050 onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument 1055 onStartActivityFromFragment( Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 1061 onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 1069 onRequestPermissionsFromFragment(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument [all...] |
H A D | FragmentHostCallback.java | 119 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { argument 120 onStartActivityFromFragment(fragment, intent, requestCode, null); 128 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { 129 if (requestCode != -1) { 131 "Starting activity with a requestCode requires a FragmentActivity host"); 141 int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, 143 if (requestCode != -1) { 145 "Starting intent sender with a requestCode requires a FragmentActivity host"); 147 ActivityCompat.startIntentSenderForResult(mActivity, intent, requestCode, fillInIntent, 156 @NonNull String[] permissions, int requestCode) { 127 onStartActivityFromFragment( Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 140 onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, @Nullable Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 155 onRequestPermissionsFromFragment(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument [all...] |
H A D | TaskStackBuilder.java | 77 PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument 82 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument 86 return PendingIntent.getActivity(context, requestCode, topIntent, flags); 91 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument 96 return TaskStackBuilderHoneycomb.getActivitiesPendingIntent(context, requestCode, 102 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument 107 return TaskStackBuilderJellybean.getActivitiesPendingIntent(context, requestCode, 338 * @param requestCode Private request code for the sender 346 public PendingIntent getPendingIntent(int requestCode, int flags) { argument 347 return getPendingIntent(requestCode, flag 363 getPendingIntent(int requestCode, int flags, Bundle options) argument [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | ActivityCompatJB.java | 30 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, Bundle options) { argument 31 activity.startActivityForResult(intent, requestCode, options); 35 int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, 37 activity.startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask, 34 startIntentSenderForResult(Activity activity, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument
|
H A D | BaseFragmentActivityJB.java | 32 // can conditionally check whether the requestCode collides with our reserved ID space for the 39 public void startActivityForResult(Intent intent, int requestCode, argument 44 if (requestCode != -1) { 45 checkForValidRequestCode(requestCode); 48 super.startActivityForResult(intent, requestCode, options); 52 public void startIntentSenderForResult(IntentSender intent, int requestCode, argument 58 if (requestCode != -1) { 59 checkForValidRequestCode(requestCode); 62 super.startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask, flagsValues,
|
H A D | TaskStackBuilderJellybean.java | 26 public static PendingIntent getActivitiesPendingIntent(Context context, int requestCode, argument 28 return PendingIntent.getActivities(context, requestCode, intents, flags, options);
|
/frameworks/support/v4/tests/java/android/support/v4/app/ |
H A D | FragmentLifecycleTest.java | 625 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { argument 626 mActivity.startActivityFromFragment(fragment, intent, requestCode); 631 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { 632 mActivity.startActivityFromFragment(fragment, intent, requestCode, options); 637 @NonNull String[] permissions, int requestCode) { 630 onStartActivityFromFragment( Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) argument 636 onRequestPermissionsFromFragment(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument
|
H A D | FragmentReceiveResultTest.java | 117 private void startActivityForResult(final int requestCode, final int resultCode, argument 126 mFragment.startActivityForResult(intent, requestCode); 132 private void startIntentSenderForResult(final int requestCode, final int resultCode, argument 142 requestCode, intent, 0); 146 requestCode, null, 0, 0, 0, null); 162 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 164 mRequestCode = requestCode;
|
/frameworks/support/v4/tests/java/android/support/v4/app/test/ |
H A D | FragmentTestActivity.java | 255 public void onActivityResult(int requestCode, int resultCode, Intent data) { argument 257 >requestCode;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | IPControls.java | 272 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 273 if (requestCode == 0) {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | IPControlsJB.java | 273 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 274 if (requestCode == 0) {
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
H A D | BlasControls.java | 166 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 167 if (requestCode == 0) {
|
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
H A D | ContentRecommendation.java | 909 * @param requestCode The private request code to be used when creating the 916 int requestCode, @Nullable Bundle options) { 926 mBuilderContentIntentData.mRequestCode = requestCode; 945 * @param requestCode The private request code to be used when creating the 952 int requestCode, @Nullable Bundle options) { 963 mBuilderDismissIntentData.mRequestCode = requestCode; 915 setContentIntentData(@ntentType int intentType, Intent intent, int requestCode, @Nullable Bundle options) argument 951 setDismissIntentData(@ntentType int intentType, @Nullable Intent intent, int requestCode, @Nullable Bundle options) argument
|
/frameworks/support/tests/java/android/support/tests/ |
H A D | GrantActivity.java | 39 protected void onActivityResult(int requestCode, int resultCode, Intent data) { argument 40 if (requestCode == 12 && resultCode == RESULT_OK) {
|
/frameworks/support/v13/api23/android/support/v13/app/ |
H A D | FragmentCompat23.java | 23 int requestCode) { 24 fragment.requestPermissions(permissions, requestCode); 22 requestPermissions(Fragment fragment, String[] permissions, int requestCode) argument
|
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentCompat.java | 38 void requestPermissions(Fragment fragment, String[] permissions, int requestCode); argument 48 final int requestCode) { 70 requestCode, permissions, grantResults); 95 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) { argument 96 FragmentCompat23.requestPermissions(fragment, permissions, requestCode); 137 * @param requestCode The request code passed in {@link #requestPermissions( 146 public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, argument 209 * @param requestCode Application specific request code to match with a result 218 @NonNull String[] permissions, int requestCode) { 219 IMPL.requestPermissions(fragment, permissions, requestCode); 47 requestPermissions(final Fragment fragment, final String[] permissions, final int requestCode) argument 217 requestPermissions(@onNull Fragment fragment, @NonNull String[] permissions, int requestCode) argument [all...] |